Open afranke opened 4 years ago
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.
ngettext
gettext
More info is available at https://wiki.gnome.org/TranslationProject/DevGuidelines/Plurals
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 regulargettext
+ conditions. Not all languages have the same plural rules as English (which just has one vs many) andngettext
takes care of that for you.More info is available at https://wiki.gnome.org/TranslationProject/DevGuidelines/Plurals