syncthing-gtk
syncthing-gtk copied to clipboard
Use ngettext
For cases such as https://github.com/syncthing/syncthing-gtk/blob/master/syncthing_gtk/editordialog.py#L432 where a string is used with a numeric value, you need to use ngettext
instead of regular gettext
+ conditions. Not all languages have the same plural rules as English (which just has one vs many) and ngettext
takes care of that for you.
More info is available at https://wiki.gnome.org/TranslationProject/DevGuidelines/Plurals