Alecaddd / sequeler

SQL Client built in Vala
GNU General Public License v3.0
801 stars 66 forks source link

Change string concatenation and plurals to facilitate localization #366

Open pervoj opened 2 years ago

pervoj commented 2 years ago

Strings of the type:

and similar should rather be written using the ngettext method. This removes the hassle of figuring out whether to use singular or plural.

Strings of the type:

and similar strings containing a space should be constructed using wildcards like %s (Unable to Import Library %s). Many languages have a different word order than English. In addition, this last two strings should be written again using ngettext.

The error message in the src/Partials/TreeBuilder.vala file on line 132 should be constructed in the same way.

Thank you in advance.