[games/skladnik] /: Use ellipsis character in UI strings instead of 3 periods

Friedrich W. H. Kossebau null at kde.org
Thu May 2 00:49:05 BST 2024


Git commit f12acbc4be6bc423bcd987dd684b86a5d08494e2 by Friedrich W. H. Kossebau.
Committed on 01/05/2024 at 23:37.
Pushed by kossebau into branch 'master'.

Use ellipsis character in UI strings instead of 3 periods

M  +2    -2    doc/index.docbook
M  +1    -1    src/MainWindow.cpp

https://invent.kde.org/games/skladnik/-/commit/f12acbc4be6bc423bcd987dd684b86a5d08494e2

diff --git a/doc/index.docbook b/doc/index.docbook
index 88cc876..920aa88 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -136,7 +136,7 @@ can of course also restart the level from the very beginning.
 <para>
 &skladnik; has the ability to load external sokoban levels from text
 files.  You can load levels using the <menuchoice><guimenu>Game</guimenu>
-<guimenuitem>Load Levels...</guimenuitem></menuchoice> menu item, or by
+<guimenuitem>Load Levels…</guimenuitem></menuchoice> menu item, or by
 specifying the level file &URL; as a command line argument when starting
 &skladnik; from a shell.
 </para>
@@ -197,7 +197,7 @@ As an example, below is a text representation of the first level in the
 <varlistentry>
 <term><menuchoice>
 <guimenu>Game</guimenu>
-<guimenuitem>Load Levels...</guimenuitem>
+<guimenuitem>Load Levels…</guimenuitem>
 </menuchoice></term>
 <listitem>
 <para><action>Load an external level.</action> See the section <link
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp
index 5feae56..622cb2e 100644
--- a/src/MainWindow.cpp
+++ b/src/MainWindow.cpp
@@ -94,7 +94,7 @@ void MainWindow::setupActions()
 
     QAction *qact = ac->addAction(QStringLiteral("load_levels"), this, &MainWindow::loadLevels);
     qact->setIcon(QIcon::fromTheme(QStringLiteral("document-open")));
-    qact->setText(i18n("&Load Levels..."));
+    qact->setText(i18nc("@action", "Load Levels…"));
 
     QAction *nextLevel = ac->addAction(QStringLiteral("next_level"), playField_, &PlayField::nextLevel);
     nextLevel->setIcon(QIcon::fromTheme(QStringLiteral("go-next")));



More information about the kde-doc-english mailing list