diff options
author | Pierre Ossman <ossman@cendio.se> | 2021-08-27 11:15:54 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2021-08-27 14:49:10 +0200 |
commit | 810b35ae90059b9a3d79e98bcef9cf15b891a62c (patch) | |
tree | 9cd564e5e2e68c8afb105da45895880bacb22d2b /release/tigervnc.iss.in | |
parent | e7f8370ffc7371fc1fb175896c7952d99be95312 (diff) | |
download | tigervnc-810b35ae90059b9a3d79e98bcef9cf15b891a62c.tar.gz tigervnc-810b35ae90059b9a3d79e98bcef9cf15b891a62c.zip |
Include translations in macOS and Windows builds
Diffstat (limited to 'release/tigervnc.iss.in')
-rw-r--r-- | release/tigervnc.iss.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/release/tigervnc.iss.in b/release/tigervnc.iss.in index a7b9b701..bad0290b 100644 --- a/release/tigervnc.iss.in +++ b/release/tigervnc.iss.in @@ -23,6 +23,14 @@ Source: "@CMAKE_BINARY_DIR@\vncviewer\vncviewer.exe"; DestDir: "{app}"; Flags: i Source: "@CMAKE_SOURCE_DIR@\README.rst"; DestDir: "{app}"; Flags: ignoreversion Source: "@CMAKE_SOURCE_DIR@\LICENCE.TXT"; DestDir: "{app}"; Flags: ignoreversion +#define LINGUAS +#define Lang +#sub AddLanguage + #define Lang = FileRead(LINGUAS) + Source: "@CMAKE_BINARY_DIR@\po\{#Lang}.mo"; DestDir: "{app}\locale\{#Lang}\LC_MESSAGES"; DestName: "tigervnc.mo"; Flags: ignoreversion +#endsub +#for {LINGUAS = FileOpen("@CMAKE_SOURCE_DIR@\po\LINGUAS"); !FileEof(LINGUAS); ""} AddLanguage + [Icons] Name: "{group}\TigerVNC Viewer"; FileName: "{app}\vncviewer.exe"; Name: "{group}\Listening TigerVNC Viewer"; FileName: "{app}\vncviewer.exe"; Parameters: "-listen"; |