From 2e1b150812cad93ca572d24933cacb477affea31 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 5 May 2010 03:12:37 +0000 Subject: [PATCH] add more translations --- apply-extra-translations | 23 +- extra-translations | 1566 +++++++++++++++++++++++--------------- gnome-terminal.spec | 5 +- 3 files changed, 974 insertions(+), 620 deletions(-) diff --git a/apply-extra-translations b/apply-extra-translations index d3bd463..bab31e8 100755 --- a/apply-extra-translations +++ b/apply-extra-translations @@ -17,28 +17,31 @@ fi mode=$1 dir=$2 translations=$3 -strings=("Find" "_Search for: " "_Match case" "Match _entire word only" "Match as _regular expression" "Search _backwards" "_Wrap around") +gedit_strings=("_Search" "_Find..." "Find Ne_xt" "Find Pre_vious" "Find" "_Search for: " "_Match case" "Match _entire word only" "Match as _regular expression" "Search _backwards" "_Wrap around") +our_strings=("_Search" "_Find..." "Find Ne_xt" "Find Pre_vious" "Find" "_Search for:" "_Match case" "Match _entire word only" "Match as _regular expression" "Search _backwards" "_Wrap around") if [ "$mode" = "--update" ]; then if ! rpm -q gedit >/dev/null ; then echo "Please install gedit" exit 1 fi - for i in `grep -v "^#" $dir/po/LINGUAS`; do - for s in "${strings[@]}"; do - msgstr=`env LANGUAGE="$i.UTF-8" gettext --domain=gedit "$s"` - echo "$i:$s:$msgstr" + for l in `grep -v "^#" $dir/po/LINGUAS`; do + for s in "${gedit_strings[@]}"; do + msgstr=`env LANGUAGE="$l.UTF-8" gettext --domain=gedit "$s"` + echo "$l@$s@$msgstr" done done >$translations elif [ "$mode" = "--apply" ]; then - for i in `grep -v "^#" $dir/po/LINGUAS`; do - for s in "${strings[@]}"; do - msgstr=`grep "^$i:$s:" $translations | cut -d: -f3` - cat >>$dir/po/$i.po <>$dir/po/$l.po < - 2.31.2-2 +- Add more translations for search UI + * Tue May 4 2010 Matthias Clasen - 2.31.2-1 - Update to 2.31.2 - Add translations for search UI