summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-13 15:06:36 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-13 15:06:36 +0100
commita57a940ab09579f37208df382dab03368a921cc8 (patch)
treeeb237d2d0f90397b85f8877495e692da2f72a616
parent15b1cc84d59af6dc2cb062d3ea557e4635768fa8 (diff)
Add program support for ru_RU and fix a couple of translations using the |.
-rw-r--r--ChangeLog2
-rw-r--r--src/wx/config_dialog.cc6
-rw-r--r--src/wx/po/ru_RU.po6
3 files changed, 11 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index b7234bc79..9ed5bee2d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2015-06-13 Carl Hetherington <cth@carlh.net>
+ * Make ru_RU translation actually work.
+
* Update progress bar (sort-of) when finding subtitles (#603).
* Make sure audio mapping view is scrollable when necessary (#597).
diff --git a/src/wx/config_dialog.cc b/src/wx/config_dialog.cc
index 96c801e30..042b7a8fd 100644
--- a/src/wx/config_dialog.cc
+++ b/src/wx/config_dialog.cc
@@ -160,6 +160,7 @@ private:
_language->Append (wxT ("Italiano"));
_language->Append (wxT ("Nederlands"));
_language->Append (wxT ("Svenska"));
+ _language->Append (wxT ("русский"));
table->Add (_language);
wxStaticText* restart = add_label_to_sizer (table, _panel, _("(restart DCP-o-matic to see language changes)"), false);
@@ -209,6 +210,8 @@ private:
_language->SetSelection (0);
} else if (config->language().get_value_or ("") == "nl") {
_language->SetSelection (5);
+ } else if (config->language().get_value_or ("") == "ru") {
+ _language->SetSelection (7);
} else {
_language->SetSelection (1);
}
@@ -259,6 +262,9 @@ private:
case 6:
Config::instance()->set_language ("sv");
break;
+ case 7:
+ Config::instance()->set_language ("ru");
+ break;
}
}
diff --git a/src/wx/po/ru_RU.po b/src/wx/po/ru_RU.po
index c60d7bd7b..aed55a3ac 100644
--- a/src/wx/po/ru_RU.po
+++ b/src/wx/po/ru_RU.po
@@ -334,7 +334,7 @@ msgstr "Преобразование цвета"
#: src/wx/config_dialog.cc:1153
msgid "Config|Timing"
-msgstr "Конфигурация | Тайминг"
+msgstr "Тайминг"
#: src/wx/report_problem_dialog.cc:64
msgid "Contact email"
@@ -728,7 +728,7 @@ msgstr "Тип KDM"
#: src/wx/kdm_dialog.cc:99
msgid "KDM|Timing"
-msgstr "KDM | Тайминг"
+msgstr "Тайминг"
#: src/wx/timeline_dialog.cc:42
msgid "Keep video in sequence"
@@ -1270,7 +1270,7 @@ msgstr "Линейка..."
#: src/wx/timing_panel.cc:37
msgid "Timing|Timing"
-msgstr "Тайминг | Тайминг"
+msgstr "Тайминг"
#: src/wx/video_panel.cc:118
msgid "Top"