gnome-shell-extension-do-not-disturb icon indicating copy to clipboard operation
gnome-shell-extension-do-not-disturb copied to clipboard

Add more translations

Open kylecorry31 opened this issue 6 years ago • 0 comments

Copied from previous upstream:

kylecorry31: "Add a .po file at /locale/{language code}/LC_MESSAGES/gnome-shell-extension-do-not-disturb.po with the translations.

Translations needed for:

Do not disturb label Settings"

mikebarkmin: "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

"

kylecorry31 avatar Apr 19 '19 17:04 kylecorry31