[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #8955 [Translations]: Add more Tails resources to Transifex (desktop files)
#8955: Add more Tails resources to Transifex (desktop files)
--------------------------+-------------------------------------------------
Reporter: WinterFairy | Owner: runa
Type: task | Status: new
Priority: normal | Milestone:
Component: Translations | Version:
Keywords: | Parent:
Points: | Actualpoints:
--------------------------+-------------------------------------------------
Comment(by lunar):
GNOME intltool can manage .desktop file translations. The switch can be
done by running:
{{{
intltool-prepare
cd po
mv fr.po fr_FR.po
intltool-update -x --pot --gettext-package=tails
for lang in *.po; do intltool-update --dist --gettext-package=tails
${lang%.po}; done
}}}
Updates to .desktop files are then propaged by running something like:
{{{
grep '[^ #]*\.desktop\.in$' po/POTFILES.in | while read file; do
intltool-merge --desktop --utf8 po "$file" "${file%.in}"
done
}}}
Hope that helps.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8955#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs