From: Carl Hetherington Date: Sun, 30 Mar 2014 19:08:18 +0000 (+0100) Subject: nl_NL translation from Theo Kooijmans X-Git-Tag: v2.0.48~551^2~273 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=8522a6a809f98b0325cb4016b078dab2d5649138 nl_NL translation from Theo Kooijmans --- diff --git a/platform/linux/dcpomatic.spec.in b/platform/linux/dcpomatic.spec.in index b2005c471..46a0d1ce4 100644 --- a/platform/linux/dcpomatic.spec.in +++ b/platform/linux/dcpomatic.spec.in @@ -44,6 +44,9 @@ digital projectors. %{_datadir}/locale/sv_SE/LC_MESSAGES/dcpomatic.mo %{_datadir}/locale/sv_SE/LC_MESSAGES/libdcpomatic-wx.mo %{_datadir}/locale/sv_SE/LC_MESSAGES/libdcpomatic.mo +%{_datadir}/locale/nl_NL/LC_MESSAGES/dcpomatic.mo +%{_datadir}/locale/nl_NL/LC_MESSAGES/libdcpomatic-wx.mo +%{_datadir}/locale/nl_NL/LC_MESSAGES/libdcpomatic.mo %prep rm -rf $RPM_BUILD_DIR/dcpomatic-@version@ diff --git a/platform/osx/make_dmg.sh b/platform/osx/make_dmg.sh index 3664ceba9..52a6a7101 100644 --- a/platform/osx/make_dmg.sh +++ b/platform/osx/make_dmg.sh @@ -109,7 +109,7 @@ cp icons/servers.png $WORK/$resources cp icons/tms.png $WORK/$resources # i18n: .mo files -for lang in de_DE es_ES fr_FR it_IT sv_SE; do +for lang in de_DE es_ES fr_FR it_IT sv_SE nl_NL; do mkdir $WORK/$resources/$lang cp build/src/lib/mo/$lang/*.mo $WORK/$resources/$lang cp build/src/wx/mo/$lang/*.mo $WORK/$resources/$lang diff --git a/platform/windows/wscript b/platform/windows/wscript index 7efa7d0ca..7fc317e47 100644 --- a/platform/windows/wscript +++ b/platform/windows/wscript @@ -147,6 +147,10 @@ SetOutPath "$INSTDIR\\locale\\de\\LC_MESSAGES" File "%binaries%/src/lib/mo/de_DE/libdcpomatic.mo" File "%binaries%/src/wx/mo/de_DE/libdcpomatic-wx.mo" File "%binaries%/src/tools/mo/de_DE/dcpomatic.mo" +SetOutPath "$INSTDIR\\locale\\nl\\LC_MESSAGES" +File "%binaries%/src/lib/mo/nl_NL/libdcpomatic.mo" +File "%binaries%/src/wx/mo/nl_NL/libdcpomatic-wx.mo" +File "%binaries%/src/tools/mo/nl_NL/dcpomatic.mo" WriteRegStr HKLM "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\DCP-o-matic" "DisplayName" "DCP-o-matic (remove only)" WriteRegStr HKLM "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\DCP-o-matic" "UninstallString" "$INSTDIR\\Uninstall.exe" diff --git a/src/wx/about_dialog.cc b/src/wx/about_dialog.cc index 344f6b092..acd610ade 100644 --- a/src/wx/about_dialog.cc +++ b/src/wx/about_dialog.cc @@ -99,6 +99,7 @@ AboutDialog::AboutDialog (wxWindow* parent) translated_by.Add (wxT ("Lilian Lefranc")); translated_by.Add (wxT ("Olivier Perriere")); translated_by.Add (wxT ("Markus Raab")); + translated_by.Add (wxT ("Theo Kooijmans")); add_section (_("Translated by"), translated_by); wxArrayString artwork_by; diff --git a/src/wx/config_dialog.cc b/src/wx/config_dialog.cc index 545ba80b8..baf455c3b 100644 --- a/src/wx/config_dialog.cc +++ b/src/wx/config_dialog.cc @@ -86,12 +86,13 @@ public: _set_language = new wxCheckBox (panel, wxID_ANY, _("Set language")); table->Add (_set_language, 1); _language = new wxChoice (panel, wxID_ANY); + _language->Append (wxT ("Deutsch")); _language->Append (wxT ("English")); + _language->Append (wxT ("Español")); _language->Append (wxT ("Français")); _language->Append (wxT ("Italiano")); - _language->Append (wxT ("Español")); + _language->Append (wxT ("Nederlands")); _language->Append (wxT ("Svenska")); - _language->Append (wxT ("Deutsch")); table->Add (_language); wxStaticText* restart = add_label_to_sizer (table, panel, _("(restart DCP-o-matic to see language changes)"), false); @@ -142,17 +143,19 @@ public: _set_language->SetValue (config->language ()); if (config->language().get_value_or ("") == "fr") { - _language->SetSelection (1); + _language->SetSelection (3); } else if (config->language().get_value_or ("") == "it") { - _language->SetSelection (2); + _language->SetSelection (4); } else if (config->language().get_value_or ("") == "es") { - _language->SetSelection (3); + _language->SetSelection (2); } else if (config->language().get_value_or ("") == "sv") { - _language->SetSelection (4); + _language->SetSelection (6); } else if (config->language().get_value_or ("") == "de") { + _language->SetSelection (0); + } else if (config->language().get_value_or ("") == "nl") { _language->SetSelection (5); } else { - _language->SetSelection (0); + _language->SetSelection (1); } setup_language_sensitivity (); @@ -204,22 +207,25 @@ private: { switch (_language->GetSelection ()) { case 0: - Config::instance()->set_language ("en"); + Config::instance()->set_language ("de"); break; case 1: - Config::instance()->set_language ("fr"); + Config::instance()->set_language ("en"); break; case 2: - Config::instance()->set_language ("it"); + Config::instance()->set_language ("es"); break; case 3: - Config::instance()->set_language ("es"); + Config::instance()->set_language ("fr"); break; case 4: - Config::instance()->set_language ("sv"); + Config::instance()->set_language ("it"); break; case 5: - Config::instance()->set_language ("de"); + Config::instance()->set_language ("nl"); + break; + case 6: + Config::instance()->set_language ("sv"); break; } }