diff options
author | Henrik Brautaset Aronsen <subsurface@henrik.synth.no> | 2012-10-15 14:44:01 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-10-15 09:36:30 -0700 |
commit | ef039c9d32e998af3ceab21673a51169f6e4f1ed (patch) | |
tree | eafa830236c22de20faa1fd050c26a3d5a47825b /linux.c | |
parent | 5c432d3c8afdb7b98ef385b5bde04bc5aea1c5cf (diff) | |
download | subsurface-ef039c9d32e998af3ceab21673a51169f6e4f1ed.tar.gz |
Support for gettext in MacOSX application bundle
The MacOSX applications bundle needs to be told where to bind the
text domain from.
Also copy the gettext .mo files in the install-macosx target.
[Dirk Hohndel: minor change in main(): move the path declaration to
the beginning of the function]
Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'linux.c')
-rw-r--r-- | linux.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -84,6 +84,11 @@ const char *subsurface_default_filename() } } +const char *subsurface_gettext_domainpath() +{ + return "./locale"; +} + void subsurface_ui_setup(GtkSettings *settings, GtkWidget *menubar, GtkWidget *vbox, GtkUIManager *ui_manager) { |