Skip to content

Commit 80fb5d3

Browse files
committed
data/ui: Reword "revert" to "discard" in confirmation dialog
This is partially because we're reusing this now for confirmation on encoding change, but also because it's actually a better description of what we want to confirm. We don't want to confirm whether the user wants to revert... we want to confirm whether they want to discard their current changes. That's the destructive part of the operation.
1 parent 9ecd1d6 commit 80fb5d3

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

data/ui/filediff.ui

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@
833833
<property name="type_hint">dialog</property>
834834
<property name="skip_taskbar_hint">True</property>
835835
<property name="message_type">question</property>
836-
<property name="text" translatable="yes">Revert unsaved changes to documents?</property>
836+
<property name="text" translatable="yes">Discard unsaved changes to documents?</property>
837837
<property name="secondary_text" translatable="yes">Changes made to the following documents will be permanently lost:</property>
838838
<child internal-child="vbox">
839839
<object class="GtkBox" id="dialog-vbox2">
@@ -863,12 +863,11 @@
863863
</child>
864864
<child>
865865
<object class="GtkButton" id="revert_button">
866-
<property name="label">gtk-revert-to-saved</property>
866+
<property name="label" translatable="yes">_Discard</property>
867867
<property name="visible">True</property>
868868
<property name="can_focus">True</property>
869869
<property name="receives_default">True</property>
870870
<property name="use_underline">True</property>
871-
<property name="use_stock">True</property>
872871
</object>
873872
<packing>
874873
<property name="expand">False</property>

0 commit comments

Comments
 (0)