summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-03-18 13:13:18 +0000
committerCarl Hetherington <cth@carlh.net>2016-03-18 13:13:18 +0000
commitd9d3bbbba5b0be7d0818d573463d96805a377310 (patch)
treed98d68489cbf793edf7f4eb2f77707c50dc81796 /platform
parent920cc20f2edb3d3558c899fe4c00356d5531d9e2 (diff)
Add first part of pt_BR translation from Thiago Andre.
This might break pt_* translations on Windows as I'm not sure if I've got the install directory right.
Diffstat (limited to 'platform')
-rw-r--r--platform/osx/make_dmg.sh2
-rw-r--r--platform/windows/wscript6
2 files changed, 6 insertions, 2 deletions
diff --git a/platform/osx/make_dmg.sh b/platform/osx/make_dmg.sh
index a60bd5987..5eb6403d7 100644
--- a/platform/osx/make_dmg.sh
+++ b/platform/osx/make_dmg.sh
@@ -196,7 +196,7 @@ cp $ROOT/32/src/dcpomatic/graphics/splash.png "$WORK/$resources"
cp $ROOT/32/src/dcpomatic/graphics/dcpomatic2_server_small.png "$WORK/$resources"
# i18n: DCP-o-matic .mo files
-for lang in de_DE es_ES fr_FR it_IT sv_SE nl_NL ru_RU pl_PL da_DK pt_PT sk_SK cs_CZ uk_UA; do
+for lang in de_DE es_ES fr_FR it_IT sv_SE nl_NL ru_RU pl_PL da_DK pt_PT pt_BR sk_SK cs_CZ uk_UA; do
mkdir -p "$WORK/$resources/$lang/LC_MESSAGES"
cp $ROOT/32/src/dcpomatic/build/src/lib/mo/$lang/*.mo "$WORK/$resources/$lang/LC_MESSAGES"
cp $ROOT/32/src/dcpomatic/build/src/wx/mo/$lang/*.mo "$WORK/$resources/$lang/LC_MESSAGES"
diff --git a/platform/windows/wscript b/platform/windows/wscript
index 46f55a08a..870b64d11 100644
--- a/platform/windows/wscript
+++ b/platform/windows/wscript
@@ -209,10 +209,14 @@ File "%binaries%/src/lib/mo/da_DK/libdcpomatic2.mo"
File "%binaries%/src/wx/mo/da_DK/libdcpomatic2-wx.mo"
File "%binaries%/src/tools/mo/da_DK/dcpomatic2.mo"
File "%static_deps%/share/locale/da/LC_MESSAGES/wxstd.mo"
-SetOutPath "$INSTDIR\\locale\\pt\\LC_MESSAGES"
+SetOutPath "$INSTDIR\\locale\\pt_PT\\LC_MESSAGES"
File "%binaries%/src/lib/mo/pt_PT/libdcpomatic2.mo"
File "%binaries%/src/wx/mo/pt_PT/libdcpomatic2-wx.mo"
File "%binaries%/src/tools/mo/pt_PT/dcpomatic2.mo"
+SetOutPath "$INSTDIR\\locale\\pt_BR\\LC_MESSAGES"
+File "%binaries%/src/lib/mo/pt_BR/libdcpomatic2.mo"
+File "%binaries%/src/wx/mo/pt_BR/libdcpomatic2-wx.mo"
+File "%binaries%/src/tools/mo/pt_BR/dcpomatic2.mo"
SetOutPath "$INSTDIR\\locale\\sk\\LC_MESSAGES"
File "%binaries%/src/lib/mo/sk_SK/libdcpomatic2.mo"
File "%binaries%/src/wx/mo/sk_SK/libdcpomatic2-wx.mo"