Extract installer strings for translation
This commit is contained in:
parent
0a1660c03b
commit
d741c55725
7 changed files with 27 additions and 5 deletions
|
@ -37,6 +37,7 @@
|
|||
#endif
|
||||
|
||||
#include "fragment_setupbase.iss"
|
||||
#include "fragment_strings.iss"
|
||||
|
||||
[Setup]
|
||||
AppID={{24BC8B57-716C-444F-B46B-A3349B9164C5}
|
||||
|
|
|
@ -43,5 +43,5 @@
|
|||
DestDir: {tmp}; Source: src\vcredist_{#SUFFIX}.exe; Flags: nocompression deleteafterinstall
|
||||
|
||||
[Run]
|
||||
Filename: {tmp}\vcredist_{#SUFFIX}.exe; StatusMsg: Installing runtime libraries...; Parameters: "/q"
|
||||
Filename: {tmp}\vcredist_{#SUFFIX}.exe; StatusMsg: {cm:InstallRuntime}; Parameters: "/q"
|
||||
|
||||
|
|
|
@ -93,10 +93,6 @@ Name: "sr_RS_latin"; MessagesFile: "compiler:Languages\SerbianLatin.isl"
|
|||
Name: "zh_CN"; MessagesFile: "compiler:Languages\ChineseSimplified.isl"
|
||||
Name: "zh_TW"; MessagesFile: "compiler:Languages\ChineseTraditional.isl"
|
||||
|
||||
[Messages]
|
||||
; Replacement for License page, no need to bother the user with legal mumbo-jumbo
|
||||
WelcomeLabel2=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.
|
||||
|
||||
[Files]
|
||||
; small bitmaps (used by beautify code)
|
||||
DestDir: {tmp}; Flags: dontcopy; Source: welcome.bmp
|
||||
|
|
6
packages/win_installer/fragment_strings.iss
Normal file
6
packages/win_installer/fragment_strings.iss
Normal file
|
@ -0,0 +1,6 @@
|
|||
[CustomMessages]
|
||||
InstallRuntime=Installing runtime libraries...
|
||||
|
||||
; Replacement for License page, no need to bother the user with legal mumbo-jumbo
|
||||
[Messages]
|
||||
WelcomeLabel2=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.
|
6
packages/win_installer/fragment_strings.iss.in
Normal file
6
packages/win_installer/fragment_strings.iss.in
Normal file
|
@ -0,0 +1,6 @@
|
|||
[CustomMessages]
|
||||
_InstallRuntime=Installing runtime libraries...
|
||||
|
||||
; Replacement for License page, no need to bother the user with legal mumbo-jumbo
|
||||
[Messages]
|
||||
_WelcomeLabel2=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.
|
6
packages/win_installer/update_strings.sh
Executable file
6
packages/win_installer/update_strings.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
intltool-merge --quiet --keys-style ../../po fragment_strings.iss.in fragment_strings.iss
|
||||
|
||||
# None of the intltool formats quite match InnoSetup's, so munge one that's close
|
||||
sed -i '' 's/^\[\(.*\)\]\(.\)/\1.\2/' fragment_strings.iss
|
|
@ -45,3 +45,10 @@ do
|
|||
| sed 's/\([0-9]\+\):[^=]\+=\(.*\)$/aegisub.desktop|\1|"\2"/' \
|
||||
| maybe_append
|
||||
done
|
||||
|
||||
grep '^[A-Za-z0-9]*=.*' ../packages/win_installer/fragment_strings.iss | while read line
|
||||
do
|
||||
echo "$line" \
|
||||
| sed 's/[^=]*=\(.*\)/packages\/win_installer\/fragment_strings.iss|1|"\1"/' \
|
||||
| maybe_append
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue