summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Humbert <trebmuh@tuxfamily.org>2020-08-20 18:15:57 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2020-08-30 15:59:30 +0200
commita02b7366438a9d00d8a5184123b1608daf41835a (patch)
tree8349fac010619970126ac77f243ceae0c244f6c5
parent781de78b46c0cf63e685a48b0e557808438d4bec (diff)
Add even more _(...) and translations of strings of the UI.
-rw-r--r--plugingui/locale/drumgizmo.pot36
-rw-r--r--plugingui/locale/fr.po40
-rw-r--r--plugingui/resamplingframecontent.cc6
-rw-r--r--plugingui/statusframecontent.cc16
4 files changed, 85 insertions, 13 deletions
diff --git a/plugingui/locale/drumgizmo.pot b/plugingui/locale/drumgizmo.pot
index 1c53d28..51af101 100644
--- a/plugingui/locale/drumgizmo.pot
+++ b/plugingui/locale/drumgizmo.pot
@@ -174,6 +174,18 @@ msgstr ""
msgid "Quality"
msgstr ""
+#: resamplingframecontent.cc:81
+msgid "Session samplerate: "
+msgstr ""
+
+#: resamplingframecontent.cc:82
+msgid "Drumkit samplerate: "
+msgstr ""
+
+#: resamplingframecontent.cc:83
+msgid "Resampling recommended: "
+msgstr ""
+
#: resamplingframecontent.cc:105
msgid "Yes"
msgstr ""
@@ -182,6 +194,30 @@ msgstr ""
msgid "No"
msgstr ""
+#: statusframecontent.cc:72
+msgid "Drumkit status: "
+msgstr ""
+
+#: statusframecontent.cc:74
+msgid "Drumkit name: "
+msgstr ""
+
+#: statusframecontent.cc:75
+msgid "Drumkit description: "
+msgstr ""
+
+#: statusframecontent.cc:77
+msgid "Session buffer size: "
+msgstr ""
+
+#: statusframecontent.cc:78
+msgid "Number of underruns: "
+msgstr ""
+
+#: statusframecontent.cc:79
+msgid "Messages:\n"
+msgstr ""
+
#: statusframecontent.cc:88
msgid "No Kit Loaded"
msgstr ""
diff --git a/plugingui/locale/fr.po b/plugingui/locale/fr.po
index 48c49ee..e17e721 100644
--- a/plugingui/locale/fr.po
+++ b/plugingui/locale/fr.po
@@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: drumgizmo 0.9.18.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-13 21:07+0200\n"
-"PO-Revision-Date: 2020-08-19 02:05+0200\n"
+"PO-Revision-Date: 2020-08-20 18:08+0200\n"
"Last-Translator: Olivier Humbert <trebmuh@tuxfamily.org>\n"
"Language-Team: none\n"
"Language: fr\n"
@@ -177,6 +177,18 @@ msgstr "sortie"
msgid "Quality"
msgstr "Qualité"
+#: resamplingframecontent.cc:81
+msgid "Session samplerate: "
+msgstr "Taux de la session : "
+
+#: resamplingframecontent.cc:82
+msgid "Drumkit samplerate: "
+msgstr "Taux du kit de batterie : "
+
+#: resamplingframecontent.cc:83
+msgid "Resampling recommended: "
+msgstr "Ré-échantillonnage recommandé : "
+
#: resamplingframecontent.cc:105
msgid "Yes"
msgstr "Oui"
@@ -185,9 +197,33 @@ msgstr "Oui"
msgid "No"
msgstr "Non"
+#: statusframecontent.cc:72
+msgid "Drumkit status: "
+msgstr "Status du kit de batterie : "
+
+#: statusframecontent.cc:74
+msgid "Drumkit name: "
+msgstr "Nom du kit de batterie : "
+
+#: statusframecontent.cc:75
+msgid "Drumkit description: "
+msgstr "Description du kit de batterie : "
+
+#: statusframecontent.cc:77
+msgid "Session buffer size: "
+msgstr "Taille du tampon de session : "
+
+#: statusframecontent.cc:78
+msgid "Number of underruns: "
+msgstr "Nombre de désynchros : "
+
+#: statusframecontent.cc:79
+msgid "Messages:\n"
+msgstr "Messages :\n"
+
#: statusframecontent.cc:88
msgid "No Kit Loaded"
-msgstr "Pas de kit chargé"
+msgstr "pas de kit chargé"
#: statusframecontent.cc:91 statusframecontent.cc:133
msgid "Loading..."
diff --git a/plugingui/resamplingframecontent.cc b/plugingui/resamplingframecontent.cc
index ef10f0b..035781f 100644
--- a/plugingui/resamplingframecontent.cc
+++ b/plugingui/resamplingframecontent.cc
@@ -78,9 +78,9 @@ void ResamplingframeContent::resize(std::size_t width, std::size_t height)
void ResamplingframeContent::updateContent()
{
text_field.setText(
- "Session samplerate: " + session_samplerate + "\n"
- "Drumkit samplerate: " + drumkit_samplerate + "\n"
- "Resampling recommended: " + resampling_recommended + "\n"
+ _("Session samplerate: ") + session_samplerate + "\n" +
+ _("Drumkit samplerate: ") + drumkit_samplerate + "\n" +
+ _("Resampling recommended: ") + resampling_recommended + "\n"
);
}
diff --git a/plugingui/statusframecontent.cc b/plugingui/statusframecontent.cc
index 9c2efc3..3152dfd 100644
--- a/plugingui/statusframecontent.cc
+++ b/plugingui/statusframecontent.cc
@@ -69,14 +69,14 @@ void StatusframeContent::resize(std::size_t width, std::size_t height)
void StatusframeContent::updateContent()
{
text_field.setText(
- "Drumkit status: " + drumkit_load_status + "\n"
- // "Midimap status: " + midimap_load_status + "\n"
- "Drumkit name: " + drumkit_name + "\n"
- "Drumkit description: " + drumkit_description + "\n"
- // "Drumkit version: " + drumkit_version + "\n"
- "Session buffer size: " + buffer_size + "\n"
- "Number of underruns: " + number_of_underruns + "\n" +
- "Messages:\n" + messages
+ _("Drumkit status: ") + drumkit_load_status + "\n" +
+ // _("Midimap status: ") + midimap_load_status + "\n" +
+ _("Drumkit name: ") + drumkit_name + "\n" +
+ _("Drumkit description: ") + drumkit_description + "\n" +
+ // _("Drumkit version: ") + drumkit_version + "\n" +
+ _("Session buffer size: ") + buffer_size + "\n" +
+ _("Number of underruns: ") + number_of_underruns + "\n" +
+ _("Messages:\n") + messages
);
}