Skip to content

Commit

Permalink
ui(i18n): translate toolbar name
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Apr 30, 2024
1 parent 0d4186f commit f762f78
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion qtribu/plugin_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def initGui(self):
self.iface.registerOptionsWidgetFactory(self.options_factory)

# toolbar
self.toolbar = self.iface.addToolBar("ToolbarGeotribu")
self.toolbar = self.iface.addToolBar(self.tr("Geotribu toolbar"))

# -- Forms
self.form_article = None
Expand Down
5 changes: 5 additions & 0 deletions qtribu/resources/i18n/qtribu_fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,11 @@
<source>Submit an article</source>
<translation>Proposer un article</translation>
</message>
<message>
<location filename="../../plugin_main.py" line="83"/>
<source>Geotribu toolbar</source>
<translation>Barre d&apos;outils du plugin Geotribu</translation>
</message>
</context>
<context>
<name>RdpNewsForm</name>
Expand Down

0 comments on commit f762f78

Please sign in to comment.