[LyX/master] Split some UI strings for translations

Juergen Spitzmueller spitz at lyx.org
Mon Aug 24 04:58:28 UTC 2020


commit c160e21c48f2a288fb5cc2a9ddd7c12ff113c52f
Author: Yuriy Skalko <yuriy.skalko at gmail.com>
Date:   Sun Aug 23 23:50:11 2020 +0300

    Split some UI strings for translations
---
 src/TocBackend.cpp                      |    2 +-
 src/frontends/qt/GuiDocument.cpp        |    2 +-
 src/frontends/qt/GuiPrefs.cpp           |    2 +-
 src/frontends/qt/ui/PrefCompletionUi.ui |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/TocBackend.cpp b/src/TocBackend.cpp
index 43a2188..f1e6c2d 100644
--- a/src/TocBackend.cpp
+++ b/src/TocBackend.cpp
@@ -291,7 +291,7 @@ void TocBackend::resetOutlinerNames()
 	addName("brokenrefs", _("Broken References and Citations"));
 	// Customizable, but the corresponding insets have no layout definition
 	addName("child", _("Child Documents"));
-	addName("graphics", _("Graphics"));
+	addName("graphics", _("Graphics[[listof]]"));
 	addName("equation", _("Equations"));
 	addName("external", _("External Material"));
 	addName("math-macro", _("Math Macros"));
diff --git a/src/frontends/qt/GuiDocument.cpp b/src/frontends/qt/GuiDocument.cpp
index adca094..9b4b97d 100644
--- a/src/frontends/qt/GuiDocument.cpp
+++ b/src/frontends/qt/GuiDocument.cpp
@@ -1138,7 +1138,7 @@ GuiDocument::GuiDocument(GuiView & lv)
 	fontModule->fontsizeCO->addItem(qt_("11"));
 	fontModule->fontsizeCO->addItem(qt_("12"));
 
-	fontModule->fontencCO->addItem(qt_("Automatic"), QString("auto"));
+	fontModule->fontencCO->addItem(qt_("Automatic[[encoding]]"), QString("auto"));
 	fontModule->fontencCO->addItem(qt_("Class Default"), QString("default"));
 	fontModule->fontencCO->addItem(qt_("Custom"), QString("custom"));
 
diff --git a/src/frontends/qt/GuiPrefs.cpp b/src/frontends/qt/GuiPrefs.cpp
index c8d2191..1fe4447 100644
--- a/src/frontends/qt/GuiPrefs.cpp
+++ b/src/frontends/qt/GuiPrefs.cpp
@@ -317,7 +317,7 @@ static void setComboxFont(QComboBox * cb, string const & family,
 /////////////////////////////////////////////////////////////////////
 
 PrefOutput::PrefOutput(GuiPreferences * form)
-	: PrefModule(catOutput, N_("General"), form)
+	: PrefModule(catOutput, N_("General[[settings]]"), form)
 {
 	setupUi(this);
 
diff --git a/src/frontends/qt/ui/PrefCompletionUi.ui b/src/frontends/qt/ui/PrefCompletionUi.ui
index 45faee4..e755f15 100644
--- a/src/frontends/qt/ui/PrefCompletionUi.ui
+++ b/src/frontends/qt/ui/PrefCompletionUi.ui
@@ -116,7 +116,7 @@
    <item row="2" column="0">
     <widget class="QGroupBox" name="groupBox_4">
      <property name="title">
-      <string>General</string>
+      <string>General[[settings]]</string>
      </property>
      <property name="flat">
       <bool>true</bool>


More information about the lyx-cvs mailing list