Open kylecorry31 opened 6 years ago
You should probably update the others locales (es, fr, pt), because they will be used as a template for new ones. For example, I just copied the fr one, because I did not know how to extract the translations from the source files. Therefore, I did not include the settings translations at first.
Or add a guide on how to add a new locale and use the newest messages:
Extract translations into messages.pot
cd src
xgettext -k_ -kN_ -o messages.pot *.js
Create a new locale for example sv_SE
cp -R locale/fr locale/sv_SE
Update the messages in the locale
msgmerge -U locale/sv_SE/LC_MESSAGES/gnome-shell-extension-do-not-disturb.po messages.pot
Agreed, I will work on this
Add a .po file at /locale/{language code}/LC_MESSAGES/gnome-shell-extension-do-not-disturb.po with the translations.
Translations needed for: