]> git.lyx.org Git - lyx.git/commitdiff
Change Doc Settings "Edit" PB to "Edit Externally"
authorScott Kostyshak <skostysh@lyx.org>
Sat, 10 Dec 2022 14:55:15 +0000 (09:55 -0500)
committerScott Kostyshak <skostysh@lyx.org>
Sat, 10 Dec 2022 15:02:48 +0000 (10:02 -0500)
"Edit" by itself is not clear if the user doesn't already know what
it does.

This affects both the local layout tab and the LaTeX preamble tab.

Brief ML discussion here:

  https://www.mail-archive.com/search?l=mid&q=20221202193312.myfnuhuz6xcil6qt%40gary

src/frontends/qt/GuiDocument.cpp
src/frontends/qt/ui/LocalLayoutUi.ui
src/frontends/qt/ui/PreambleUi.ui

index d1937a1adeb32fe39399f22a324a71e91108970e..4bfda55f468d76f839759c6a1206dde438eb37d6 100644 (file)
@@ -575,7 +575,7 @@ void PreambleModule::editExternal() {
                docstring const s = tempfilename.fileContents("UTF-8");
                preambleTE->document()->setPlainText(toqstr(s));
                tempfile_.reset();
-               editPB->setText(qt_("&Edit"));
+               editPB->setText(qt_("&Edit Externally"));
                changed();
                return;
        }
@@ -751,7 +751,7 @@ void LocalLayout::editExternal() {
                docstring const s = tempfilename.fileContents("UTF-8");
                locallayoutTE->document()->setPlainText(toqstr(s));
                tempfile_.reset();
-               editPB->setText(qt_("&Edit"));
+               editPB->setText(qt_("&Edit Externally"));
                changed();
                return;
        }
index fc753b7c15611d375c6e1bd5075f3ede7c9d2d47..1a3e17809eb31a4b141bd264b85e5187c552a22b 100644 (file)
@@ -74,7 +74,7 @@
         <string>Editor for Latex (plain) format will be used</string>
        </property>
        <property name="text">
-        <string>&amp;Edit</string>
+        <string>&amp;Edit Externally</string>
        </property>
       </widget>
      </item>
index 8a7015c6dd3238d23746bae68e07107ff82b006e..fd66051ce849ee6d90d618d694113bd98a405be8 100644 (file)
@@ -45,7 +45,7 @@
       <string>Editor for Latex (plain) format will be used</string>
      </property>
      <property name="text">
-      <string>&amp;Edit</string>
+      <string>&amp;Edit Externally</string>
      </property>
     </widget>
    </item>