[Gpg4win-commits] r759 - in trunk: . po src
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Mar 25 14:19:24 CET 2008
Author: werner
Date: 2008-03-25 14:19:23 +0100 (Tue, 25 Mar 2008)
New Revision: 759
Modified:
trunk/ChangeLog
trunk/po/ar.po
trunk/po/de.po
trunk/po/es.po
trunk/po/fr.po
trunk/po/ru.po
trunk/src/inst-gnupg.nsi
trunk/src/inst-gnupg2.nsi
Log:
Write the language code into the Registry.
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-03-25 11:57:29 UTC (rev 758)
+++ trunk/ChangeLog 2008-03-25 13:19:23 UTC (rev 759)
@@ -1,3 +1,8 @@
+2008-03-25 Werner Koch <wk at g10code.com>
+
+ * src/inst-gnupg.nsi: Write the language code for use by gettext
+ into the Registry.
+
2008-03-25 Marcus Brinkmann <marcus at g10code.de>
* packages/packages.current: Update libassuan.
Modified: trunk/po/ar.po
===================================================================
--- trunk/po/ar.po 2008-03-25 11:57:29 UTC (rev 758)
+++ trunk/po/ar.po 2008-03-25 13:19:23 UTC (rev 759)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: Gpg4Win\n"
"Report-Msgid-Bugs-To: gpg4win-devel at wald.intevation.org\n"
-"POT-Creation-Date: 2008-03-21 15:32+0100\n"
+"POT-Creation-Date: 2008-03-25 12:42+0100\n"
"PO-Revision-Date: 2008-03-11 23:52+0200\n"
"Last-Translator: Ahmad Gharbeia <ahmad at gharbeia.org>\n"
"Language-Team: Arabic <doc at arabeyes.org>\n"
Modified: trunk/po/de.po
===================================================================
--- trunk/po/de.po 2008-03-25 11:57:29 UTC (rev 758)
+++ trunk/po/de.po 2008-03-25 13:19:23 UTC (rev 759)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: gpg4win 1.1.1-svn417\n"
"Report-Msgid-Bugs-To: gpg4win-devel at wald.intevation.org\n"
-"POT-Creation-Date: 2008-03-21 15:32+0100\n"
+"POT-Creation-Date: 2008-03-25 12:42+0100\n"
"PO-Revision-Date: 2008-02-28 11:40+0100\n"
"Last-Translator: Marcus Brinkmann <mb at g10code.com>\n"
"Language-Team: German <translation-team-de at lists.sourceforge.net>\n"
Modified: trunk/po/es.po
===================================================================
--- trunk/po/es.po 2008-03-25 11:57:29 UTC (rev 758)
+++ trunk/po/es.po 2008-03-25 13:19:23 UTC (rev 759)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: gpg4win 1.1.1-svn417\n"
"Report-Msgid-Bugs-To: gpg4win-devel at wald.intevation.org\n"
-"POT-Creation-Date: 2008-03-21 15:32+0100\n"
+"POT-Creation-Date: 2008-03-25 12:42+0100\n"
"PO-Revision-Date: 2008-01-30 17:07+0100\n"
"Last-Translator: Diego Escalante Urrelo <diegoe at gnome.org>\n"
"Language-Team: Spanish <diegoe at gnome.org>\n"
Modified: trunk/po/fr.po
===================================================================
--- trunk/po/fr.po 2008-03-25 11:57:29 UTC (rev 758)
+++ trunk/po/fr.po 2008-03-25 13:19:23 UTC (rev 759)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: ngoinabox\n"
"Report-Msgid-Bugs-To: gpg4win-devel at wald.intevation.org\n"
-"POT-Creation-Date: 2008-03-21 15:32+0100\n"
+"POT-Creation-Date: 2008-03-25 12:42+0100\n"
"PO-Revision-Date: 2008-03-10 16:46+0100\n"
"Last-Translator: Fabian Rodriguez <magicfab at member.fsf.org>\n"
"Language-Team: FRENCH <aep.lists at it46.se>\n"
Modified: trunk/po/ru.po
===================================================================
--- trunk/po/ru.po 2008-03-25 11:57:29 UTC (rev 758)
+++ trunk/po/ru.po 2008-03-25 13:19:23 UTC (rev 759)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: Gpg4Win Installer\n"
"Report-Msgid-Bugs-To: gpg4win-devel at wald.intevation.org\n"
-"POT-Creation-Date: 2008-03-21 15:32+0100\n"
+"POT-Creation-Date: 2008-03-25 12:42+0100\n"
"PO-Revision-Date: 2008-03-20 23:50+0300\n"
"Last-Translator: Sergei Smirnov <moscow at hro.org>\n"
"Language-Team: Human Rights Network <moscow at hro.org>\n"
Modified: trunk/src/inst-gnupg.nsi
===================================================================
--- trunk/src/inst-gnupg.nsi 2008-03-25 11:57:29 UTC (rev 758)
+++ trunk/src/inst-gnupg.nsi 2008-03-25 13:19:23 UTC (rev 759)
@@ -81,6 +81,16 @@
WriteRegStr HKLM "Software\GNU\GnuPG" "Install Directory" $INSTDIR
+ # To allow setting the language on a per user base we can't use the
+ # the installer language but need to resort to a Registry entry. We
+ # put the language into HKLM so that the user can override it using
+ # a HKCU entry or the LANGUAGE envvar. Probably Windows has a
+ # scheme to do this using a Windows specific API but that was not
+ # known at the time we invented our simple-gettext scheme for a
+ # command line utility. A GUI frontend may want to synchronize the
+ # HKCU entry with whatever Windows uses for the local language.
+ WriteRegStr HKLM "Software\GNU\GnuPG" "Lang" "$(T_LangCode)"
+
# This old key is required for GPGee. Please do not use in new
# applications.
# Note: We don't use it anymore so that gpgme decides what gpg to use
Modified: trunk/src/inst-gnupg2.nsi
===================================================================
--- trunk/src/inst-gnupg2.nsi 2008-03-25 11:57:29 UTC (rev 758)
+++ trunk/src/inst-gnupg2.nsi 2008-03-25 13:19:23 UTC (rev 759)
@@ -76,7 +76,8 @@
# Install the language files for gpg. Note that the PO files are
# required to be UTF-8 encoded and that the post-install macro in
- # Makefile.am needs to build them.
+ # Makefile.am needs to build them. The language used is selected by
+ # using a Registry entry; see ints-gnupg.nsi.
SetOutPath "$INSTDIR\gnupg2.nls"
File /nonfatal "${prefix}/share/gnupg/*.mo"
More information about the Gpg4win-commits
mailing list