flattool / warehouse

A versatile toolbox for viewing flatpak info, managing user data, and batch managing installed flatpaks
GNU General Public License v3.0
308 stars 30 forks source link

Feature request: Stop using hardcoded plural forms #150

Open turtlegarden opened 3 weeks ago

turtlegarden commented 3 weeks ago

Describe the feature idea in detail

The app currently uses hardcoded singular and plural forms. This is not how all languages work: in stead, the app should use the ngettext function to get the correct form for the number that will be put into the template. This change does not require much work, and although it will void some translations, it will be worth it, especially for all languages which have more or less than 2 singular/plural forms. (And the translations were already basically voided by the last update anyway :P)

turtlegarden commented 3 weeks ago

This would, however, require going through all strings in the project and see if there are any hardcoded plurals at all. That may take some time!