From 8b4f813d278a2bd83df606af7765970a90250a3c Mon Sep 17 00:00:00 2001 From: "gregory.hainaut@gmail.com" Date: Sun, 5 Jun 2011 20:02:54 +0000 Subject: [PATCH] i18n: update the keyword metadata too... git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4715 96395faa-99c1-11dd-bbfe-3dabce05a288 --- generate_pot.sh | 4 ++-- locales/templates/pcsx2_Iconized.pot | 4 ++-- locales/templates/pcsx2_Main.pot | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/generate_pot.sh b/generate_pot.sh index 268bf52adb..eb7e742674 100644 --- a/generate_pot.sh +++ b/generate_pot.sh @@ -87,8 +87,8 @@ sed --in-place $ICO_POT --expression=s/charset=CHARSET/charset=UTF-8/ # "X-Poedit-SearchPath-1: common\n" # Normally "...Content-Transfer-Encoding..." is the end of the header. Use it as anchor to place poedit metadata after COMMON_META="\"X-Poedit-SourceCharset: utf-8\\\n\"\n\"X-Poedit-Basepath: trunk\\\\\\\\\\\n\"\n\"X-Poedit-SearchPath-0: pcsx2\\\n\"\n\"X-Poedit-SearchPath-1: common\\\n\"" -sed --in-place $MAIN_POT --expression=s/'\"Content-Transfer-Encoding: 8bit\\n\"'/"\"Content-Transfer-Encoding: 8bit\\\n\"\n\"X-Poedit-KeywordsList: ${MAIN_KEY1};${MAIN_KEY2}\\\n\"\n${COMMON_META}"/ -sed --in-place $ICO_POT --expression=s/'\"Content-Transfer-Encoding: 8bit\\n\"'/"\"Content-Transfer-Encoding: 8bit\\\n\"\n\"X-Poedit-KeywordsList: ${ICO_KEY1}\\\n\"\n${COMMON_META}"/ +sed --in-place $MAIN_POT --expression=s/'\"Content-Transfer-Encoding: 8bit\\n\"'/"\"Content-Transfer-Encoding: 8bit\\\n\"\n\"X-Poedit-KeywordsList: ${MAIN_KEY1};${MAIN_KEY2};${DEV_KEY1};${DEV_KEY2};${TER_KEY1};${TER_KEY2}\\\n\"\n${COMMON_META}"/ +sed --in-place $ICO_POT --expression=s/'\"Content-Transfer-Encoding: 8bit\\n\"'/"\"Content-Transfer-Encoding: 8bit\\\n\"\n\"X-Poedit-KeywordsList: ${ICO_KEY1};${TER_KEY3}\\\n\"\n${COMMON_META}"/ ###################################################################### # Automatically align the .po to the new pot file diff --git a/locales/templates/pcsx2_Iconized.pot b/locales/templates/pcsx2_Iconized.pot index ece8c30bf2..6b8f5c2dd1 100644 --- a/locales/templates/pcsx2_Iconized.pot +++ b/locales/templates/pcsx2_Iconized.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PCSX2 0.9.9\n" "Report-Msgid-Bugs-To: http://code.google.com/p/pcsx2/\n" -"POT-Creation-Date: 2011-06-05 21:49+0200\n" +"POT-Creation-Date: 2011-06-05 22:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -16,7 +16,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Poedit-KeywordsList: pxE\n" +"X-Poedit-KeywordsList: pxE;pxEt\n" "X-Poedit-SourceCharset: utf-8\n" "X-Poedit-Basepath: trunk\\\n" "X-Poedit-SearchPath-0: pcsx2\n" diff --git a/locales/templates/pcsx2_Main.pot b/locales/templates/pcsx2_Main.pot index 75d8c1e3d3..4bf50ac31c 100644 --- a/locales/templates/pcsx2_Main.pot +++ b/locales/templates/pcsx2_Main.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PCSX2 0.9.9\n" "Report-Msgid-Bugs-To: http://code.google.com/p/pcsx2/\n" -"POT-Creation-Date: 2011-06-05 21:49+0200\n" +"POT-Creation-Date: 2011-06-05 22:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -16,7 +16,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Poedit-KeywordsList: _;pxL\n" +"X-Poedit-KeywordsList: _;pxL;_d;pxDt;_t;pxLt\n" "X-Poedit-SourceCharset: utf-8\n" "X-Poedit-Basepath: trunk\\\n" "X-Poedit-SearchPath-0: pcsx2\n"