[Kimchi-devel] [PATCH] [Wok] Externalised 'Actions' to i18n and updated .pot and *.po files

pkulkark at linux.vnet.ibm.com pkulkark at linux.vnet.ibm.com
Thu May 19 16:06:22 UTC 2016


From: Pooja Kulkarni <pkulkark at linux.vnet.ibm.com>

This patch externalised the 'Actions'
button to i18n file and updated .pot
and *.po files using update-po.

Signed-off-by: Pooja Kulkarni <pkulkark at linux.vnet.ibm.com>
---
 po/de_DE.po             | 19 ++++++++++++++++++-
 po/en_US.po             | 19 ++++++++++++++++++-
 po/es_ES.po             | 19 ++++++++++++++++++-
 po/fr_FR.po             | 19 ++++++++++++++++++-
 po/it_IT.po             | 19 ++++++++++++++++++-
 po/ja_JP.po             | 19 ++++++++++++++++++-
 po/ko_KR.po             | 19 ++++++++++++++++++-
 po/pt_BR.po             | 20 ++++++++++++++++++--
 po/ru_RU.po             | 19 ++++++++++++++++++-
 po/wok.pot              | 19 ++++++++++++++++++-
 po/zh_CN.po             | 20 ++++++++++++++++++--
 po/zh_TW.po             | 19 ++++++++++++++++++-
 ui/js/src/wok.list.js   |  2 +-
 ui/pages/i18n.json.tmpl |  3 ++-
 14 files changed, 219 insertions(+), 16 deletions(-)

diff --git a/po/de_DE.po b/po/de_DE.po
index 72ff6be..0fb869d 100644
--- a/po/de_DE.po
+++ b/po/de_DE.po
@@ -5,7 +5,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: kimchi 0.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2016-05-11 08:43+0200\n"
+"POT-Creation-Date: 2016-05-19 21:30+0530\n"
 "PO-Revision-Date: 2013-07-11 17:32-0400\n"
 "Last-Translator: Crístian Viana <vianac at linux.vnet.ibm.com>\n"
 "Language-Team: English\n"
@@ -108,6 +108,20 @@ msgstr ""
 msgid "Invalid data unit '%(unit)s'"
 msgstr ""
 
+msgid "Request made on collection"
+msgstr ""
+
+msgid "Request made on resource"
+msgstr ""
+
+#, python-format
+msgid "User '%(username)s' logged in"
+msgstr ""
+
+#, python-format
+msgid "User '%(username)s' logged out"
+msgstr ""
+
 msgid "ERROR CODE"
 msgstr "FEHLERCODE"
 
@@ -184,6 +198,9 @@ msgstr ""
 msgid "No results found!"
 msgstr ""
 
+msgid "Actions"
+msgstr ""
+
 msgid "The username or password you entered is incorrect. Please try again."
 msgstr ""
 "Der Benutzername oder das Kennwort, den bzw. das Sie eingegeben haben, ist "
diff --git a/po/en_US.po b/po/en_US.po
index afee270..73d7056 100644
--- a/po/en_US.po
+++ b/po/en_US.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: kimchi 0.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2016-05-11 08:43+0200\n"
+"POT-Creation-Date: 2016-05-19 21:30+0530\n"
 "PO-Revision-Date: 2013-07-11 17:32-0400\n"
 "Last-Translator: Crístian Viana <vianac at linux.vnet.ibm.com>\n"
 "Language-Team: English\n"
@@ -104,6 +104,20 @@ msgstr ""
 msgid "Invalid data unit '%(unit)s'"
 msgstr ""
 
+msgid "Request made on collection"
+msgstr ""
+
+msgid "Request made on resource"
+msgstr ""
+
+#, python-format
+msgid "User '%(username)s' logged in"
+msgstr ""
+
+#, python-format
+msgid "User '%(username)s' logged out"
+msgstr ""
+
 msgid "ERROR CODE"
 msgstr ""
 
@@ -178,6 +192,9 @@ msgstr ""
 msgid "No results found!"
 msgstr ""
 
+msgid "Actions"
+msgstr ""
+
 msgid "The username or password you entered is incorrect. Please try again."
 msgstr ""
 
diff --git a/po/es_ES.po b/po/es_ES.po
index 0f7f244..8acb513 100644
--- a/po/es_ES.po
+++ b/po/es_ES.po
@@ -5,7 +5,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: kimchi 0.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2016-05-11 08:43+0200\n"
+"POT-Creation-Date: 2016-05-19 21:30+0530\n"
 "PO-Revision-Date: 2013-07-11 17:32-0400\n"
 "Last-Translator: Crístian Viana <vianac at linux.vnet.ibm.com>\n"
 "Language-Team: English\n"
@@ -107,6 +107,20 @@ msgstr ""
 msgid "Invalid data unit '%(unit)s'"
 msgstr ""
 
+msgid "Request made on collection"
+msgstr ""
+
+msgid "Request made on resource"
+msgstr ""
+
+#, python-format
+msgid "User '%(username)s' logged in"
+msgstr ""
+
+#, python-format
+msgid "User '%(username)s' logged out"
+msgstr ""
+
 msgid "ERROR CODE"
 msgstr "CÓDIGO DE ERROR"
 
@@ -184,6 +198,9 @@ msgstr ""
 msgid "No results found!"
 msgstr ""
 
+msgid "Actions"
+msgstr ""
+
 msgid "The username or password you entered is incorrect. Please try again."
 msgstr ""
 "El nombre de usuario o contraseña que ha especificado es incorrecto. Por "
diff --git a/po/fr_FR.po b/po/fr_FR.po
index 9dd1e3c..9cc473a 100644
--- a/po/fr_FR.po
+++ b/po/fr_FR.po
@@ -5,7 +5,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: kimchi 0.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2016-05-11 08:43+0200\n"
+"POT-Creation-Date: 2016-05-19 21:30+0530\n"
 "PO-Revision-Date: 2014-08-27 21:30+0000\n"
 "Last-Translator: BobSynfig\n"
 "Language-Team: French (http://www.transifex.com/projects/p/kimchi/language/"
@@ -110,6 +110,20 @@ msgstr ""
 msgid "Invalid data unit '%(unit)s'"
 msgstr ""
 
+msgid "Request made on collection"
+msgstr ""
+
+msgid "Request made on resource"
+msgstr ""
+
+#, python-format
+msgid "User '%(username)s' logged in"
+msgstr ""
+
+#, python-format
+msgid "User '%(username)s' logged out"
+msgstr ""
+
 msgid "ERROR CODE"
 msgstr "ERROR CODE"
 
@@ -187,6 +201,9 @@ msgstr ""
 msgid "No results found!"
 msgstr ""
 
+msgid "Actions"
+msgstr ""
+
 msgid "The username or password you entered is incorrect. Please try again."
 msgstr ""
 "Le nom d'utilisateur ou le mot de passe que vous avez entré est incorrect. "
diff --git a/po/it_IT.po b/po/it_IT.po
index 756afa1..ef3729d 100644
--- a/po/it_IT.po
+++ b/po/it_IT.po
@@ -5,7 +5,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: kimchi 0.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2016-05-11 08:43+0200\n"
+"POT-Creation-Date: 2016-05-19 21:30+0530\n"
 "PO-Revision-Date: 2013-07-11 17:32-0400\n"
 "Last-Translator: Crístian Viana <vianac at linux.vnet.ibm.com>\n"
 "Language-Team: English\n"
@@ -107,6 +107,20 @@ msgstr ""
 msgid "Invalid data unit '%(unit)s'"
 msgstr ""
 
+msgid "Request made on collection"
+msgstr ""
+
+msgid "Request made on resource"
+msgstr ""
+
+#, python-format
+msgid "User '%(username)s' logged in"
+msgstr ""
+
+#, python-format
+msgid "User '%(username)s' logged out"
+msgstr ""
+
 msgid "ERROR CODE"
 msgstr "CODICE DI ERRORE"
 
@@ -184,6 +198,9 @@ msgstr ""
 msgid "No results found!"
 msgstr ""
 
+msgid "Actions"
+msgstr ""
+
 msgid "The username or password you entered is incorrect. Please try again."
 msgstr ""
 "Il nome utente o la password immessi non sono corretti. Ripetere "
diff --git a/po/ja_JP.po b/po/ja_JP.po
index 26267ea..dc8926f 100644
--- a/po/ja_JP.po
+++ b/po/ja_JP.po
@@ -5,7 +5,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: kimchi 0.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2016-05-11 08:43+0200\n"
+"POT-Creation-Date: 2016-05-19 21:30+0530\n"
 "PO-Revision-Date: 2013-07-11 17:32-0400\n"
 "Last-Translator: Crístian Viana <vianac at linux.vnet.ibm.com>\n"
 "Language-Team: English\n"
@@ -106,6 +106,20 @@ msgstr ""
 msgid "Invalid data unit '%(unit)s'"
 msgstr ""
 
+msgid "Request made on collection"
+msgstr ""
+
+msgid "Request made on resource"
+msgstr ""
+
+#, python-format
+msgid "User '%(username)s' logged in"
+msgstr ""
+
+#, python-format
+msgid "User '%(username)s' logged out"
+msgstr ""
+
 msgid "ERROR CODE"
 msgstr "エラー・コード"
 
@@ -182,6 +196,9 @@ msgstr ""
 msgid "No results found!"
 msgstr ""
 
+msgid "Actions"
+msgstr ""
+
 msgid "The username or password you entered is incorrect. Please try again."
 msgstr "入力したユーザー名またはパスワードが誤っています。やり直してください。"
 
diff --git a/po/ko_KR.po b/po/ko_KR.po
index 6d03ee6..84b4750 100644
--- a/po/ko_KR.po
+++ b/po/ko_KR.po
@@ -5,7 +5,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: kimchi 0.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2016-05-11 08:43+0200\n"
+"POT-Creation-Date: 2016-05-19 21:30+0530\n"
 "PO-Revision-Date: 2013-07-11 17:32-0400\n"
 "Last-Translator: Crístian Viana <vianac at linux.vnet.ibm.com>\n"
 "Language-Team: English\n"
@@ -103,6 +103,20 @@ msgstr ""
 msgid "Invalid data unit '%(unit)s'"
 msgstr ""
 
+msgid "Request made on collection"
+msgstr ""
+
+msgid "Request made on resource"
+msgstr ""
+
+#, python-format
+msgid "User '%(username)s' logged in"
+msgstr ""
+
+#, python-format
+msgid "User '%(username)s' logged out"
+msgstr ""
+
 msgid "ERROR CODE"
 msgstr "오류 코드"
 
@@ -179,6 +193,9 @@ msgstr ""
 msgid "No results found!"
 msgstr ""
 
+msgid "Actions"
+msgstr ""
+
 msgid "The username or password you entered is incorrect. Please try again."
 msgstr ""
 "입력한 사용자 이름 또는 비밀번호가 올바르지 않습니다. 다시 시도하십시오."
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 1f05ae5..a4ae451 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -20,7 +20,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: kimchi 1.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2016-05-11 08:43+0200\n"
+"POT-Creation-Date: 2016-05-19 21:30+0530\n"
 "PO-Revision-Date: 2015-03-23 12:57+0000\n"
 "Last-Translator: Crístian Deives dos Santos Viana <cristiandeives at gmail."
 "com>\n"
@@ -123,6 +123,20 @@ msgstr "Valor inválido '%(value)s'"
 msgid "Invalid data unit '%(unit)s'"
 msgstr "Unidade inválida '%(unit)s'"
 
+msgid "Request made on collection"
+msgstr ""
+
+msgid "Request made on resource"
+msgstr ""
+
+#, python-format
+msgid "User '%(username)s' logged in"
+msgstr ""
+
+#, python-format
+msgid "User '%(username)s' logged out"
+msgstr ""
+
 msgid "ERROR CODE"
 msgstr "CÓDIGO DE ERRO"
 
@@ -200,6 +214,9 @@ msgstr ""
 msgid "No results found!"
 msgstr ""
 
+msgid "Actions"
+msgstr ""
+
 msgid "The username or password you entered is incorrect. Please try again."
 msgstr ""
 "O usuário ou senha inseridos estão incorretos. Por favor, tente novamente."
@@ -273,6 +290,5 @@ msgstr ""
 msgid "Request Type"
 msgstr ""
 
-
 msgid "Search"
 msgstr ""
diff --git a/po/ru_RU.po b/po/ru_RU.po
index bb20787..0e81ba4 100644
--- a/po/ru_RU.po
+++ b/po/ru_RU.po
@@ -5,7 +5,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: kimchi 0.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2016-05-11 08:43+0200\n"
+"POT-Creation-Date: 2016-05-19 21:30+0530\n"
 "PO-Revision-Date: 2014-08-28 17:32+0000\n"
 "Last-Translator: Aline Manera <aline.manera at gmail.com>\n"
 "Language-Team: Russian (http://www.transifex.com/projects/p/kimchi/language/"
@@ -104,6 +104,20 @@ msgstr ""
 msgid "Invalid data unit '%(unit)s'"
 msgstr ""
 
+msgid "Request made on collection"
+msgstr ""
+
+msgid "Request made on resource"
+msgstr ""
+
+#, python-format
+msgid "User '%(username)s' logged in"
+msgstr ""
+
+#, python-format
+msgid "User '%(username)s' logged out"
+msgstr ""
+
 msgid "ERROR CODE"
 msgstr "Код ошибки"
 
@@ -180,6 +194,9 @@ msgstr ""
 msgid "No results found!"
 msgstr ""
 
+msgid "Actions"
+msgstr ""
+
 msgid "The username or password you entered is incorrect. Please try again."
 msgstr "Указано неверное имя пользователя или пароль. Введите еще раз."
 
diff --git a/po/wok.pot b/po/wok.pot
index 657c663..01b8a28 100755
--- a/po/wok.pot
+++ b/po/wok.pot
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2016-05-11 08:43+0200\n"
+"POT-Creation-Date: 2016-05-19 21:30+0530\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -104,6 +104,20 @@ msgstr ""
 msgid "Invalid data unit '%(unit)s'"
 msgstr ""
 
+msgid "Request made on collection"
+msgstr ""
+
+msgid "Request made on resource"
+msgstr ""
+
+#, python-format
+msgid "User '%(username)s' logged in"
+msgstr ""
+
+#, python-format
+msgid "User '%(username)s' logged out"
+msgstr ""
+
 msgid "ERROR CODE"
 msgstr ""
 
@@ -178,6 +192,9 @@ msgstr ""
 msgid "No results found!"
 msgstr ""
 
+msgid "Actions"
+msgstr ""
+
 msgid "The username or password you entered is incorrect. Please try again."
 msgstr ""
 
diff --git a/po/zh_CN.po b/po/zh_CN.po
index f1b1f0f..0a66eec 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -20,7 +20,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: kimchi 0.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2016-05-11 08:43+0200\n"
+"POT-Creation-Date: 2016-05-19 21:30+0530\n"
 "PO-Revision-Date: 2013-06-27 10:48+0000\n"
 "Last-Translator: ShaoHe Feng <shaohef at linux.vnet.ibm.com>\n"
 "Language-Team: ShaoHe Feng <shaohef at linux.vnet.ibm.com>\n"
@@ -120,6 +120,20 @@ msgstr ""
 msgid "Invalid data unit '%(unit)s'"
 msgstr ""
 
+msgid "Request made on collection"
+msgstr ""
+
+msgid "Request made on resource"
+msgstr ""
+
+#, python-format
+msgid "User '%(username)s' logged in"
+msgstr ""
+
+#, python-format
+msgid "User '%(username)s' logged out"
+msgstr ""
+
 msgid "ERROR CODE"
 msgstr "错误码"
 
@@ -195,6 +209,9 @@ msgstr ""
 msgid "No results found!"
 msgstr ""
 
+msgid "Actions"
+msgstr ""
+
 msgid "The username or password you entered is incorrect. Please try again."
 msgstr "用户名或密码错误,请重新输入。"
 
@@ -267,6 +284,5 @@ msgstr ""
 msgid "Request Type"
 msgstr ""
 
-
 msgid "Search"
 msgstr ""
diff --git a/po/zh_TW.po b/po/zh_TW.po
index 28b4461..fd83384 100644
--- a/po/zh_TW.po
+++ b/po/zh_TW.po
@@ -5,7 +5,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: kimchi 0.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2016-05-11 08:43+0200\n"
+"POT-Creation-Date: 2016-05-19 21:30+0530\n"
 "PO-Revision-Date: 2013-07-11 17:32-0400\n"
 "Last-Translator: Crístian Viana <vianac at linux.vnet.ibm.com>\n"
 "Language-Team: English\n"
@@ -103,6 +103,20 @@ msgstr ""
 msgid "Invalid data unit '%(unit)s'"
 msgstr ""
 
+msgid "Request made on collection"
+msgstr ""
+
+msgid "Request made on resource"
+msgstr ""
+
+#, python-format
+msgid "User '%(username)s' logged in"
+msgstr ""
+
+#, python-format
+msgid "User '%(username)s' logged out"
+msgstr ""
+
 msgid "ERROR CODE"
 msgstr "錯誤碼"
 
@@ -179,6 +193,9 @@ msgstr ""
 msgid "No results found!"
 msgstr ""
 
+msgid "Actions"
+msgstr ""
+
 msgid "The username or password you entered is incorrect. Please try again."
 msgstr "您輸入的使用者名稱或密碼不正確。請重試。"
 
diff --git a/ui/js/src/wok.list.js b/ui/js/src/wok.list.js
index 3b3055e..d17a3e7 100644
--- a/ui/js/src/wok.list.js
+++ b/ui/js/src/wok.list.js
@@ -43,7 +43,7 @@ wok.widget.List.prototype = (function() {
                     '<div id="{id}-action-group" class="wok-list-action-button-container">',
                         '<div class="dropdown mobile-action">',
                             '<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown" aria-expanded="false">',
-                                '<span class="mobile-action-label">Actions</span>', // TODO: Replace with i18n string
+                                '<span class="mobile-action-label">'+i18n['WOKSETT0012M']+'</span>',
                             '</button>',
                             '<ul class="dropdown-menu" role="menu">',
                             '</ul>',
diff --git a/ui/pages/i18n.json.tmpl b/ui/pages/i18n.json.tmpl
index 8743d4d..ca7ae4c 100644
--- a/ui/pages/i18n.json.tmpl
+++ b/ui/pages/i18n.json.tmpl
@@ -48,5 +48,6 @@
     "WOKSETT0008M": "$_("Filter")",
     "WOKSETT0009M": "$_("Showing {{ctx.start}} to {{ctx.end}} of {{ctx.total}} entries")",
     "WOKSETT0010M": "$_("No results found!")",
-    "WOKSETT0011M": "$_("Loading...")"
+    "WOKSETT0011M": "$_("Loading...")",
+    "WOKSETT0012M": "$_("Actions")"
 }
-- 
2.1.0




More information about the Kimchi-devel mailing list