Re: String freeze break request for gnome-panel
- From: Vincent Untz <vuntz gnome org>
- To: release-team gnome org, gnome-i18n gnome org
- Subject: Re: String freeze break request for gnome-panel
- Date: Thu, 31 Mar 2011 16:52:08 +0200
Le jeudi 31 mars 2011, à 10:42 -0400, Matthias Clasen a écrit :
> Here is the command I just used to pull existing translations from the shell.
> Maybe you can do the equivalent for those strings.
>
> for l in `cat ~/gnome-3.0/checkoutroot/gnome-shell/po/LINGUAS`; do
> export LANGUAGE=$l; text=`gettext 'gnome-shell' 'firmware missing'`;
> ^Cho -e "\nmsgid \"Firmware missing\"\nmsgstr \"$text\"\n" >> $l.po;
> done
I'm using this:
for i in *.po; do
if test -f /gnome/sources/current/gnome-shell/po/$i; then
msggrep --msgid -F -e 'Available' -e 'Busy' -e "Switch User" -e "My Account" /gnome/sources/current/gnome-shell/po/$i > /tmp/$i
msgcat --use-first $i /tmp/$i > $i.new
mv $i.new $i
fi
done
Seems to work well. I'll wait for approval for the freeze break, though,
to make sure I get as many translations from gnome-shell as possible.
Vincent
--
Les gens heureux ne sont pas pressés.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]