summaryrefslogtreecommitdiffstats
path: root/macos.c
diff options
context:
space:
mode:
authorGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2012-10-16 21:21:11 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-10-16 13:11:12 -0700
commit0d89d511bbebd76c9c59da3a2fdd2fd99e72e184 (patch)
tree937f9a2fe29e50178522259cb98df3774a7a3574 /macos.c
parent8bda0c5047dc93c6ea0774aa7399c9ce9c5685eb (diff)
downloadsubsurface-0d89d511bbebd76c9c59da3a2fdd2fd99e72e184.tar.gz
Adjust locale path for install-macosx target
gtk-mac-bundler uses Contents/Resources/share/locale, and the install-macosx target should do the same. Also quiet down the make process a bit Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'macos.c')
-rw-r--r--macos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macos.c b/macos.c
index 3d9c9b5cd..bb10baa3c 100644
--- a/macos.c
+++ b/macos.c
@@ -107,7 +107,7 @@ const char *subsurface_default_filename()
const char *subsurface_gettext_domainpath()
{
CFBundleRef mainBundle = CFBundleGetMainBundle();
- CFURLRef localeURL = CFBundleCopyResourceURL(mainBundle, CFSTR("locale"), CFSTR(""), NULL);
+ CFURLRef localeURL = CFBundleCopyResourceURL(mainBundle, CFSTR("share/locale"), CFSTR(""), NULL);
if (localeURL) {
CFStringRef localePath = CFURLCopyFileSystemPath(localeURL, kCFURLPOSIXPathStyle);
CFStringEncoding encodingMethod = CFStringGetSystemEncoding();