Improve wording in the case clash resolution dialog
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Wed, 14 Dec 2022 19:25:07 +0000 (20:25 +0100)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Wed, 25 Jan 2023 15:37:36 +0000 (16:37 +0100)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
src/gui/caseclashfilenamedialog.cpp
src/gui/caseclashfilenamedialog.ui

index 827e537e2cf7b5fdbc2567a35b3052645ce98563..fff17c0b8a480791ed68c97e627d5191646f5136 100644 (file)
@@ -100,7 +100,7 @@ CaseClashFilenameDialog::CaseClashFilenameDialog(AccountPtr account,
 
     const auto preexistingConflictingFile = caseClashConflictFile(_filePath);
     updateFileWidgetGroup(preexistingConflictingFile,
-                          tr("Open local version"),
+                          tr("Open existing file"),
                           _ui->localVersionFilename,
                           _ui->localVersionLink,
                           _ui->localVersionMtime,
@@ -108,7 +108,7 @@ CaseClashFilenameDialog::CaseClashFilenameDialog(AccountPtr account,
                           _ui->localVersionButton);
 
     updateFileWidgetGroup(conflictTaggedPath,
-                          tr("Open server version"),
+                          tr("Open clashing file"),
                           _ui->remoteVersionFilename,
                           _ui->remoteVersionLink,
                           _ui->remoteVersionMtime,
index 17eb96d7499cea13d85331b877f93aa42fc14f62..42d9a675447939eab943051e10d33b051822fd05 100644 (file)
@@ -6,7 +6,7 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>553</width>
+    <width>451</width>
     <height>349</height>
    </rect>
   </property>
@@ -50,7 +50,7 @@
        <item>
         <widget class="QLabel" name="label_2">
          <property name="text">
-          <string>Local case clash file</string>
+          <string>Existing file</string>
          </property>
         </widget>
        </item>
            <item>
             <widget class="QLabel" name="localVersionLink">
              <property name="text">
-              <string>Open original version</string>
+              <string>Open existing file</string>
              </property>
             </widget>
            </item>
        <item>
         <widget class="QLabel" name="label_5">
          <property name="text">
-          <string>Server case clash file</string>
+          <string>Case clashing file</string>
          </property>
         </widget>
        </item>
            <item>
             <widget class="QLabel" name="remoteVersionLink">
              <property name="text">
-              <string>Open incoming conflict version</string>
+              <string>Open clashing file</string>
              </property>
             </widget>
            </item>
    <item>
     <widget class="QLabel" name="label">
      <property name="text">
-      <string>Please enter a new name for the remote file:</string>
+      <string>Please enter a new name for the clashing file:</string>
      </property>
      <property name="alignment">
       <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>