[dia] Fix typos in helper program. Add eu, fi and gl installer locales.



commit 2d3096924cdc2983316c86eaedf45844d6e453e6
Author: Steffen Macke <sdteffen sdteffen de>
Date:   Wed May 6 21:45:27 2009 +0200

    Fix typos in helper program. Add eu, fi and gl installer locales.
---
 installer/win32/dia.nsi  |    6 ++++++
 installer/win32/gennsh.c |    8 ++++----
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/installer/win32/dia.nsi b/installer/win32/dia.nsi
index f5ce594..965f2dd 100644
--- a/installer/win32/dia.nsi
+++ b/installer/win32/dia.nsi
@@ -158,8 +158,11 @@ VIProductVersion "0.97.0.3"
   ;; in alphabetical order (at least the strings actually displayed
   ;; will be).
 
+  !insertmacro MUI_LANGUAGE "Basque"
   !insertmacro MUI_LANGUAGE "English"
   !insertmacro MUI_LANGUAGE "French"
+  !insertmacro MUI_LANGUAGE "Finnish"
+  !insertmacro MUI_LANGUAGE "Galician"
   !insertmacro MUI_LANGUAGE "German"
   !insertmacro MUI_LANGUAGE "Hungarian"
   !insertmacro MUI_LANGUAGE "Slovak"
@@ -173,9 +176,12 @@ VIProductVersion "0.97.0.3"
 
   !include "langmacros.nsh"
   
+  !insertmacro DIA_MACRO_INCLUDE_LANGFILE "BASQUE" "locale\eu.nsh"
   !insertmacro DIA_MACRO_INCLUDE_LANGFILE "ENGLISH" "locale\english.nsh"
   !insertmacro DIA_MACRO_INCLUDE_LANGFILE "FRENCH" "locale\french.nsh"
+  !insertmacro DIA_MACRO_INCLUDE_LANGFILE "GALICIAN" "locale\gl.nsh"
   !insertmacro DIA_MACRO_INCLUDE_LANGFILE "GERMAN" "locale\german.nsh"
+  !insertmacro DIA_MACRO_INCLUDE_LANGFILE "FINNISH" "locale\fi.nsh"
   !insertmacro DIA_MACRO_INCLUDE_LANGFILE "HUNGARIAN" "locale\hungarian.nsh"
   !insertmacro DIA_MACRO_INCLUDE_LANGFILE "SLOVAK" "locale\slovak.nsh"
   !insertmacro DIA_MACRO_INCLUDE_LANGFILE "SLOVENIAN" "locale\slovenian.nsh"
diff --git a/installer/win32/gennsh.c b/installer/win32/gennsh.c
index ccf77be..341f4e5 100644
--- a/installer/win32/gennsh.c
+++ b/installer/win32/gennsh.c
@@ -77,14 +77,14 @@ int main(int argc, char *argv[])
   printf("!define DIA_PROMPT_DIR_EXISTS \"%s\"\n", _("The installation directory you specified already exists. Any contents$\rwill be deleted. Would you like to continue?"));
 
   /* Installer message: Uninstall Section Prompts. Keep $\r */
-  printf("!define un.DIA_UNINSTALL_ERROR_1 \"%s\"", _("The uninstaller could not find registry entries for Dia.$\rIt is likely that another user installed this application."));
+  printf("!define un.DIA_UNINSTALL_ERROR_1 \"%s\"\n", _("The uninstaller could not find registry entries for Dia.$\rIt is likely that another user installed this application."));
 
   /* Installer message: Uninstall error message */
-  printf("!define un.DIA_UNINSTALL_ERROR_2 \"%s\"", _("You do not have permission to uninstall this application."));
+  printf("!define un.DIA_UNINSTALL_ERROR_2 \"%s\"\n", _("You do not have permission to uninstall this application."));
 
   /* Installer message: Uninstallation warning. Keep $INSTDIR */
-  printf("!define un.DIA_UNINSTALLATION_WARNING \"%s\"", _("This will completely delete $INSTDIR and all subdirectories. Continue?"));
+  printf("!define un.DIA_UNINSTALLATION_WARNING \"%s\"\n", _("This will completely delete $INSTDIR and all subdirectories. Continue?"));
 
   /* Installer message: Uninstallation warning. Keep $\PROFILE\.dia */
-  printf("!define un.DIA_DOTDIA_WARNING \"%s\"", _("This will completely delete $PROFILE\.dia and all subdirectories. Continue?"));
+  printf("!define un.DIA_DOTDIA_WARNING \"%s\"\n", _("This will completely delete $PROFILE\.dia and all subdirectories. Continue?"));
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]