aboutsummaryrefslogtreecommitdiffstats
path: root/windows.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2012-10-16 04:04:37 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-10-16 04:08:33 -0700
commita9f3655d1af0c3af3276c4526e85e99cb50c4015 (patch)
tree3e3b26419e40e01f2eee8ef98495aaada05c780b /windows.c
parent5bf6723d2617e80dac58d3b232e28ed594f02dba (diff)
downloadsubsurface-a9f3655d1af0c3af3276c4526e85e99cb50c4015.tar.gz
Improved packaging for Windows
This commit adds an install-cross-windows target to the Makefile that creates a staging directory for us under packaging/windows that contains the required .mo files. This currently fails for the Norwegian translation because of the no_NO.UTF-8 vs nb issue - right now we just use the first component of our own localization filename to find the matching Windows localization and that fails. The subsurface.nsi file is updated accordingly and this now appears to create working installers with sane paths for the localization files. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'windows.c')
-rw-r--r--windows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/windows.c b/windows.c
index 6ee763245..4aa05a22b 100644
--- a/windows.c
+++ b/windows.c
@@ -156,7 +156,7 @@ const char *subsurface_gettext_domainpath()
char buffer[80];
snprintf(buffer, sizeof(buffer), "LANGUAGE=%s.UTF-8", g_win32_getlocale());
putenv(buffer);
- return "./locale";
+ return "./share/locale";
}
void subsurface_ui_setup(GtkSettings *settings, GtkWidget *menubar,