Skip to content

Commit

Permalink
Improve wording in the case clash resolution dialog
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
  • Loading branch information
claucambra authored and mgallien committed Jan 11, 2023
1 parent 97337b2 commit 4d60f75
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/gui/caseclashfilenamedialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,15 @@ 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,
_ui->localVersionSize,
_ui->localVersionButton);

updateFileWidgetGroup(conflictTaggedPath,
tr("Open server version"),
tr("Open clashing file"),
_ui->remoteVersionFilename,
_ui->remoteVersionLink,
_ui->remoteVersionMtime,
Expand Down
12 changes: 6 additions & 6 deletions src/gui/caseclashfilenamedialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>553</width>
<width>451</width>
<height>349</height>
</rect>
</property>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -118,7 +118,7 @@
<item>
<widget class="QLabel" name="localVersionLink">
<property name="text">
<string>Open original version</string>
<string>Open existing file</string>
</property>
</widget>
</item>
Expand Down Expand Up @@ -162,7 +162,7 @@
<item>
<widget class="QLabel" name="label_5">
<property name="text">
<string>Server case clash file</string>
<string>Case clashing file</string>
</property>
</widget>
</item>
Expand Down Expand Up @@ -224,7 +224,7 @@
<item>
<widget class="QLabel" name="remoteVersionLink">
<property name="text">
<string>Open incoming conflict version</string>
<string>Open clashing file</string>
</property>
</widget>
</item>
Expand Down Expand Up @@ -265,7 +265,7 @@
<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>
Expand Down

0 comments on commit 4d60f75

Please sign in to comment.