Commit 5ff2ddd9 authored by Alexander's avatar Alexander
Browse files

[stickers] Fix translations

parent c68bc2f8
Pipeline #6889 passed with stage
in 2 minutes and 11 seconds
......@@ -122,9 +122,9 @@ class StickersConfigDialog(GajimPluginConfigDialog):
def _create_sticker_pack_row(self, pack):
item = get_builder(self.plugin.local_file_path('gtk/config_stickers_listitem.ui'))
item.get_object('header').set_markup(f'<b>{pack.name}</b>')
item.get_object('header').set_markup(_('<b>%s</b>') % pack.name)
item.get_object('summary').set_text(pack.summary)
item.get_object('amount').set_text(f'{pack.amount} stickers')
item.get_object('amount').set_text(_('%s stickers') % pack.amount)
item.get_object('delete_button').connect('clicked', lambda x: self._on_delete_button_clicked(pack.id_))
return item.get_object('sticker_pack_list_item')
......@@ -17,7 +17,6 @@
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">label</property>
</object>
<packing>
<property name="left-attach">0</property>
......@@ -29,7 +28,6 @@
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">label</property>
</object>
<packing>
<property name="left-attach">0</property>
......@@ -41,7 +39,6 @@
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">label</property>
</object>
<packing>
<property name="left-attach">0</property>
......
......@@ -15,7 +15,6 @@
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">label</property>
</object>
<packing>
<property name="left-attach">0</property>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment