aboutsummaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
Diffstat (limited to 'release')
-rw-r--r--release/makemacapp.in6
-rw-r--r--release/tigervnc.iss.in8
2 files changed, 14 insertions, 0 deletions
diff --git a/release/makemacapp.in b/release/makemacapp.in
index 2bfd869e..0c3f9626 100644
--- a/release/makemacapp.in
+++ b/release/makemacapp.in
@@ -67,6 +67,12 @@ fi
install -m 644 $SRCDIR/release/tigervnc.icns "$APPROOT/Contents/Resources/"
install -m 644 release/Info.plist "$APPROOT/Contents/"
+for lang in `cat "$SRCDIR/po/LINGUAS"`; do
+ mkdir -p "$APPROOT/Contents/Resources/locale/$lang/LC_MESSAGES"
+ install -m 644 po/$lang.mo \
+ "$APPROOT/Contents/Resources/locale/$lang/LC_MESSAGES/tigervnc.mo"
+done
+
install -m 644 $SRCDIR/LICENCE.TXT $TMPDIR/dmg/
install -m 644 $SRCDIR/README.rst $TMPDIR/dmg/
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";
a id='n172' href='#n172'>172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238