[geany/geany-osx] cf19f7: Test presence of ~/.config/geany/use_locale to check whether use localizations
Jiří Techet
git-noreply at xxxxx
Tue Nov 3 23:35:46 UTC 2015
Branch: refs/heads/master
Author: Jiří Techet <techet at gmail.com>
Committer: Jiří Techet <techet at gmail.com>
Date: Tue, 03 Nov 2015 23:35:46 UTC
Commit: cf19f75b2608ab9c1c183e94e4ce43f90d7e9e63
https://github.com/geany/geany-osx/commit/cf19f75b2608ab9c1c183e94e4ce43f90d7e9e63
Log Message:
-----------
Test presence of ~/.config/geany/use_locale to check whether use localizations
In addition, add localizations to the bundle
Modified Paths:
--------------
geany.bundle
launcher.sh
Modified: geany.bundle
2 lines changed, 0 insertions(+), 2 deletions(-)
===================================================================
@@ -111,7 +111,6 @@
want to copy in to the bundle. The "dest" attribute is
optional, as usual. Bundler will find all translations of that
library/program under the indicated directory and copy them.-->
- <!--
<translations name="vte-0.0">
${prefix}/share/locale
</translations>
@@ -124,7 +123,6 @@
<translations name="geany-plugins">
${prefix}/share/locale
</translations>
- -->
<!-- Data to copy in, usually Glade/UI files, images, sounds files
Modified: launcher.sh
5 lines changed, 2 insertions(+), 3 deletions(-)
===================================================================
@@ -55,8 +55,7 @@ export GDK_PIXBUF_MODULE_FILE="$bundle_lib/gdk-pixbuf-2.0/2.10.0/loaders.cache"
export PANGO_LIBDIR="$bundle_lib"
export PANGO_SYSCONFDIR="$bundle_etc"
-test_locale="no"
-if test "x$test_locale" == "xyes"; then
+if test -e ~/.config/geany/use_locale; then
APP=$name
I18NDIR="$bundle_data/locale"
@@ -174,7 +173,7 @@ export LC_ALL=$LC_MESSAGES
unset APPLELOCALE FILES LOC
-#test_locale != yes
+#~/.config/geany/use_locale doesn't exist
else
export LANG="en_US"
export LC_MESSAGES="en_US"
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list