Skip to content

Commit 5cd9643

Browse files
committed
nemo-emblems: Fix l10n for plugin description
1 parent 0a4246b commit 5cd9643

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

nemo-emblems/nemo-extension/nemo-emblems.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
gettext.textdomain(APP)
2020
_ = gettext.gettext
2121

22+
PLUGIN_DESCRIPTION = _("Change a folder or file emblem")
23+
2224
METADATA_EMBLEMS = 'metadata::emblems'
2325

2426
GUI = """
@@ -163,5 +165,4 @@ def on_button_toggled(self, button, emblem_name):
163165
subprocess.call(["touch", self.filename])
164166

165167
def get_name_and_desc(self):
166-
description = _("Change a folder or file emblem")
167-
return [(f"nemo-emblems:::{description}")]
168+
return [(f"nemo-emblems:::{PLUGIN_DESCRIPTION}")]

0 commit comments

Comments
 (0)