Git commit fe1e8a1d3e2f485bcb37df19fff1871872e97fd1 by Andrew Shark.
Committed on 25/03/2024 at 14:25.
Pushed by meven into branch 'master'.

Make the Compress menu items text consistent

The items of Compress submenu were:
- Here as "Archive.tar.gz"
- Here as "Archive.zip"
- Compress to...

Make them all be consistent, and be:
- Compress to "Archive.tar.gz"
- Compress to "Archive.zip"
- Compress to...

M  +1    -1    app/compressfileitemaction.cpp
M  +1    -1    doc/index.docbook

https://invent.kde.org/utilities/ark/-/commit/fe1e8a1d3e2f485bcb37df19fff1871872e97fd1

diff --git a/app/compressfileitemaction.cpp b/app/compressfileitemaction.cpp
index 06bb938b3..850db43ab 100644
--- a/app/compressfileitemaction.cpp
+++ b/app/compressfileitemaction.cpp
@@ -84,7 +84,7 @@ QAction *CompressFileItemAction::createAction(const QIcon 
&icon, QWidget *parent
             fileName = fileName.left(10) + QStringLiteral("…") + 
fileName.right(10);
         }
 
-        name = i18nc("@action:inmenu Part of Compress submenu in Dolphin 
context menu, %1 filename", "Here as \"%1\"", fileName);
+        name = i18nc("@action:inmenu Part of Compress submenu in Dolphin 
context menu, %1 filename", "Compress to \"%1\"", fileName);
     }
 
     QAction *action = new QAction(icon, name, parent);
diff --git a/doc/index.docbook b/doc/index.docbook
index 709a284ba..18fec9a21 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -412,7 +412,7 @@ subfolder in the folder with the archive, extracts the 
folders and files into it
 
 <itemizedlist>
 <listitem>
-<para><guimenuitem>Here as "Archive.tar.gz"</guimenuitem> and 
<guimenuitem>Here as "Archive.zip"</guimenuitem> creates these archive types in 
the current folder.</para>
+<para><guimenuitem>Compress to "Archive.tar.gz"</guimenuitem> and 
<guimenuitem>Compress to "Archive.zip"</guimenuitem> creates these archive 
types in the current folder.</para>
 </listitem>
 <listitem>
 <para><guimenuitem>Compress to...</guimenuitem> opens a dialog where you can 
select folder, name and archive type.</para>

Reply via email to