linuxmint / nemo-extensions

A set of extensions for Nemo
410 stars 150 forks source link

[nemo-compare] _ is not defined #525

Closed olivierberten closed 3 months ago

olivierberten commented 3 months ago
Traceback (most recent call last):
  File "/usr/share/nemo-python/extensions/nemo-compare.py", line 168, in get_name_and_desc
    description = _("Allows file comparison from the context menu")
                  ^
NameError: name '_' is not defined
leigh123linux commented 3 months ago

Fixed https://github.com/linuxmint/nemo-extensions/commit/c1823b648da14e8cae664b59d914e1f64ebe3327

olivierberten commented 3 months ago

Then you could remove all the _ = gettext.gettext 😉