dialect-app / dialect

A translation app for GNOME.
https://dialectapp.org/
GNU General Public License v3.0
597 stars 69 forks source link

Languages handing improvements #200

Closed rafaelmardojai closed 3 years ago

rafaelmardojai commented 3 years ago

TODO:

Fixes #197. Fixes #193.

mufeedali commented 3 years ago

This will fix #197 and #193 .

mufeedali commented 3 years ago

In the po repository, there is now a little language names puller script that takes localized language names from Google Translate. I'm keeping it there as a tool for future translators.

I actually messed up just a bit by pushing into main on po. Shouldn't really be a problem to anyone except the ones running on main.

I went with the approach in a8afdf6 because adding migration code would need a way to tell apart between older configuration and newer configuration, which we don't have. a8afdf6 also fixes a long standing bug with how the recent languages work, i.e. it now sets an exact limit of 4 recent languages to be saved.