[Kimchi-devel] [Wok][PATCH] Make tab name translatable and include ui/pages/tabs/* in POTFILES.in

pkulkark at linux.vnet.ibm.com pkulkark at linux.vnet.ibm.com
Mon May 9 06:27:18 UTC 2016


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

This patch makes the tab name
translatable and adds the path
ui/pages/tabs/* in POTFILES.in

Signed-off-by: Pooja Kulkarni <pkulkark at linux.vnet.ibm.com>
---
 po/POTFILES.in          | 1 +
 ui/pages/i18n.json.tmpl | 1 +
 2 files changed, 2 insertions(+)

diff --git a/po/POTFILES.in b/po/POTFILES.in
index aae0ca9..c0f0eb0 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,3 +1,4 @@
 # List of source files which contain translatable strings.
 src/wok/i18n.py
 ui/pages/*.tmpl
+ui/pages/tabs/*.tmpl
diff --git a/ui/pages/i18n.json.tmpl b/ui/pages/i18n.json.tmpl
index c3c5b69..240be65 100644
--- a/ui/pages/i18n.json.tmpl
+++ b/ui/pages/i18n.json.tmpl
@@ -24,6 +24,7 @@
 #silent _ = t.gettext
 #silent _t = t.gettext
 {
+    "Settings": "$_("Settings")",
     "WOKAPI6007E": "$_("Can not contact the host system. Verify the host system is up and that you have network connectivity to it. HTTP request response %1. ")",
 
     "WOKAPI6003M": "$_("Cancel")",
-- 
2.1.0




More information about the Kimchi-devel mailing list