From 1049b2d140db65d2d2930c1d9b4fdf2e50f40d3e Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 15 May 2014 11:08:09 -0700 Subject: [PATCH] Make the "Create a start menu icon" string translatable --- packages/win_installer/fragment_mainprogram.iss | 2 +- packages/win_installer/fragment_strings.iss | 1 + packages/win_installer/fragment_strings.iss.in | 1 + po/aegisub.pot | 5 +++++ po/make_pot.sh | 2 +- 5 files changed, 9 insertions(+), 2 deletions(-) diff --git a/packages/win_installer/fragment_mainprogram.iss b/packages/win_installer/fragment_mainprogram.iss index a725bf15c..8f527fdb4 100644 --- a/packages/win_installer/fragment_mainprogram.iss +++ b/packages/win_installer/fragment_mainprogram.iss @@ -33,7 +33,7 @@ ; [Tasks] -Name: "startmenuicon"; Description: "Create a start menu icon"; GroupDescription: "{cm:AdditionalIcons}" +Name: "startmenuicon"; Description: "{cm:StartMenuIcon}"; GroupDescription: "{cm:AdditionalIcons}" Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked [Files] diff --git a/packages/win_installer/fragment_strings.iss b/packages/win_installer/fragment_strings.iss index 9ec13db24..e953e673b 100644 --- a/packages/win_installer/fragment_strings.iss +++ b/packages/win_installer/fragment_strings.iss @@ -1,5 +1,6 @@ [CustomMessages] InstallRuntime=Installing runtime libraries... +StartMenuIcon=Create a start menu icon ; Replacement for License page, no need to bother the user with legal mumbo-jumbo [Messages] diff --git a/packages/win_installer/fragment_strings.iss.in b/packages/win_installer/fragment_strings.iss.in index 96d4658d4..5041bb850 100644 --- a/packages/win_installer/fragment_strings.iss.in +++ b/packages/win_installer/fragment_strings.iss.in @@ -1,5 +1,6 @@ [CustomMessages] _InstallRuntime=Installing runtime libraries... +_StartMenuIcon=Create a start menu icon ; Replacement for License page, no need to bother the user with legal mumbo-jumbo [Messages] diff --git a/po/aegisub.pot b/po/aegisub.pot index 8f6878a8b..8695def1b 100644 --- a/po/aegisub.pot +++ b/po/aegisub.pot @@ -6197,6 +6197,11 @@ msgid "Installing runtime libraries..." msgstr "" +#: packages/win_installer/fragment_strings.iss:1 +msgid "Create a start menu icon" +msgstr "" + + #: packages/win_installer/fragment_strings.iss:1 msgid "This will install Aegisub {#BUILD_GIT_VERSION_STRING} on your computer.%n%nAegisub is covered by the GNU General Public License version 2. This means you may use the application for any purpose without charge, but that no warranties of any kind are given either.%n%nSee the Aegisub website for information on obtaining the source code." msgstr "" diff --git a/po/make_pot.sh b/po/make_pot.sh index 95dc228c4..58e77b035 100755 --- a/po/make_pot.sh +++ b/po/make_pot.sh @@ -46,7 +46,7 @@ do | maybe_append done -grep '^[A-Za-z0-9]*=.*' ../packages/win_installer/fragment_strings.iss | while read line +grep '^_[A-Za-z0-9]*=.*' ../packages/win_installer/fragment_strings.iss.in | while read line do echo "$line" \ | sed 's/[^=]*=\(.*\)/packages\/win_installer\/fragment_strings.iss|1|"\1"/' \