Skip to content

Commit a2eabc9

Browse files
authored
Merge pull request #857 from Gliese852/fix-some-translations
Fix things regarding translations
2 parents e87a99b + a7bd731 commit a2eabc9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

howdy-gtk/src/main.glade

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
</child>
138138
<child>
139139
<object class="GtkButton" id="addbutton">
140-
<property name="label">Add</property>
140+
<property name="label" translatable="yes">Add</property>
141141
<property name="visible">True</property>
142142
<property name="can_focus">True</property>
143143
<property name="receives_default">True</property>
@@ -155,7 +155,7 @@
155155
</child>
156156
<child>
157157
<object class="GtkButton" id="deletebutton">
158-
<property name="label">Delete</property>
158+
<property name="label" translatable="yes">Delete</property>
159159
<property name="visible">True</property>
160160
<property name="can_focus">True</property>
161161
<property name="receives_default">True</property>

howdy/src/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@
3434

3535
# Add an argument for the command
3636
parser.add_argument(
37-
_("command"),
37+
"command",
3838
help=_("The command option to execute, can be one of the following: add, clear, config, disable, list, remove, snapshot, set, test or version."),
3939
metavar="command",
4040
choices=["add", "clear", "config", "disable", "list", "remove", "set", "snapshot", "test", "version"])
4141

4242
# Add an argument for the extra arguments of disable and remove
4343
parser.add_argument(
44-
_("arguments"),
44+
"arguments",
4545
help=_("Optional arguments for the add, disable, remove and set commands."),
4646
nargs="*")
4747

0 commit comments

Comments
 (0)