summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYunjin Lee <yunjin-.lee@samsung.com>2016-07-08 10:05:17 +0900
committerYunjin Lee <yunjin-.lee@samsung.com>2016-07-08 10:05:17 +0900
commit2a921d30fe527a194e4d7c0e79796b003abfef2f (patch)
tree53de541922699596d50516ec8b03fadf671aa76b
parent7260e8f1cc6c9eefa8c988e55962faeae21f4628 (diff)
downloadprivacy-setting-2a921d30fe527a194e4d7c0e79796b003abfef2f.tar.gz
privacy-setting-2a921d30fe527a194e4d7c0e79796b003abfef2f.tar.bz2
privacy-setting-2a921d30fe527a194e4d7c0e79796b003abfef2f.zip
Update language files and change menu title to support language translation
Change-Id: I85aa7a0d570c558ff3eb5000fae5c61cb5f8997e Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
-rwxr-xr-xpo/ar.po3
-rwxr-xr-xpo/az.po3
-rwxr-xr-xpo/bg.po3
-rwxr-xr-xpo/ca.po3
-rwxr-xr-xpo/cs.po3
-rwxr-xr-xpo/da.po3
-rwxr-xr-xpo/de.po3
-rwxr-xr-xpo/el_GR.po3
-rwxr-xr-xpo/en.po3
-rwxr-xr-xpo/en_PH.po3
-rwxr-xr-xpo/en_US.po3
-rwxr-xr-xpo/es_ES.po3
-rwxr-xr-xpo/es_US.po3
-rwxr-xr-xpo/et.po3
-rwxr-xr-xpo/eu.po3
-rwxr-xr-xpo/fi.po3
-rwxr-xr-xpo/fr.po3
-rwxr-xr-xpo/fr_CA.po3
-rwxr-xr-xpo/ga.po3
-rwxr-xr-xpo/gl.po3
-rwxr-xr-xpo/hi.po3
-rwxr-xr-xpo/hr.po3
-rwxr-xr-xpo/hu.po3
-rwxr-xr-xpo/hy.po3
-rwxr-xr-xpo/is.po3
-rwxr-xr-xpo/it_IT.po3
-rwxr-xr-xpo/ja_JP.po3
-rwxr-xr-xpo/ka.po3
-rwxr-xr-xpo/kk.po3
-rwxr-xr-xpo/ko_KR.po3
-rwxr-xr-xpo/lt.po3
-rwxr-xr-xpo/lv.po3
-rwxr-xr-xpo/mk.po3
-rwxr-xr-xpo/nb.po3
-rwxr-xr-xpo/nl.po3
-rwxr-xr-xpo/pl.po3
-rwxr-xr-xpo/pt_BR.po3
-rwxr-xr-xpo/pt_PT.po3
-rwxr-xr-xpo/ro.po3
-rwxr-xr-xpo/ru_RU.po3
-rwxr-xr-xpo/sk.po3
-rwxr-xr-xpo/sl.po3
-rwxr-xr-xpo/sr.po3
-rwxr-xr-xpo/sv.po3
-rwxr-xr-xpo/tr_TR.po3
-rwxr-xr-xpo/uk.po3
-rwxr-xr-xpo/uz.po3
-rwxr-xr-xpo/zh_CN.po3
-rwxr-xr-xpo/zh_HK.po3
-rwxr-xr-xpo/zh_TW.po3
-rwxr-xr-xui/include/privacy_view.h1
-rwxr-xr-xui/src/privacy_guard_list_view.c2
-rw-r--r--ui/src/privacy_list_view.c2
-rwxr-xr-xui/src/privacy_menu_view.c11
54 files changed, 159 insertions, 7 deletions
diff --git a/po/ar.po b/po/ar.po
index fb4017a..1888f94 100755
--- a/po/ar.po
+++ b/po/ar.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "الخصوصية والأمان"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "الأوقات"
+
diff --git a/po/az.po b/po/az.po
index 3d9ddd5..c38413d 100755
--- a/po/az.po
+++ b/po/az.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Məxfilik və təhlükəsizlik"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "dəfə"
+
diff --git a/po/bg.po b/po/bg.po
index f069f9f..2539bc7 100755
--- a/po/bg.po
+++ b/po/bg.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Поверителност и безопас."
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "пъти"
+
diff --git a/po/ca.po b/po/ca.po
index 6e51943..ebb8667 100755
--- a/po/ca.po
+++ b/po/ca.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Privadesa i seguretat"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "vegades"
+
diff --git a/po/cs.po b/po/cs.po
index 3378865..24f41e8 100755
--- a/po/cs.po
+++ b/po/cs.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Soukromí a bezpečnost"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "krát"
+
diff --git a/po/da.po b/po/da.po
index 84255bf..fb2e144 100755
--- a/po/da.po
+++ b/po/da.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Fortrolighed og sikkerhed"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "gange"
+
diff --git a/po/de.po b/po/de.po
index 366e1d5..f66cc75 100755
--- a/po/de.po
+++ b/po/de.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Datenschutz & Sicherheit"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "mal"
+
diff --git a/po/el_GR.po b/po/el_GR.po
index b698161..e85e252 100755
--- a/po/el_GR.po
+++ b/po/el_GR.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Απόρρητο και ασφάλεια"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "φορές"
+
diff --git a/po/en.po b/po/en.po
index c1a3ad9..7fa3652 100755
--- a/po/en.po
+++ b/po/en.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Privacy and safety"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "times"
+
diff --git a/po/en_PH.po b/po/en_PH.po
index c1a3ad9..7fa3652 100755
--- a/po/en_PH.po
+++ b/po/en_PH.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Privacy and safety"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "times"
+
diff --git a/po/en_US.po b/po/en_US.po
index c1a3ad9..7fa3652 100755
--- a/po/en_US.po
+++ b/po/en_US.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Privacy and safety"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "times"
+
diff --git a/po/es_ES.po b/po/es_ES.po
index d020c17..c129067 100755
--- a/po/es_ES.po
+++ b/po/es_ES.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Privacidad y seguridad"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "veces"
+
diff --git a/po/es_US.po b/po/es_US.po
index d020c17..c129067 100755
--- a/po/es_US.po
+++ b/po/es_US.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Privacidad y seguridad"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "veces"
+
diff --git a/po/et.po b/po/et.po
index 70181d2..ed4e33d 100755
--- a/po/et.po
+++ b/po/et.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Privaatsus ja turvalisus"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "korda"
+
diff --git a/po/eu.po b/po/eu.po
index 8a5606c..1e0a322 100755
--- a/po/eu.po
+++ b/po/eu.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Pribatut. eta segurtasuna"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "aldiz"
+
diff --git a/po/fi.po b/po/fi.po
index 599013f..57ad379 100755
--- a/po/fi.po
+++ b/po/fi.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Yksityisyys ja turvallisuus"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "kertaa"
+
diff --git a/po/fr.po b/po/fr.po
index 8effe9d..94da090 100755
--- a/po/fr.po
+++ b/po/fr.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Confidentialité/Protection"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "fois"
+
diff --git a/po/fr_CA.po b/po/fr_CA.po
index 3683aeb..5b25337 100755
--- a/po/fr_CA.po
+++ b/po/fr_CA.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Confidentialité/Sécurité"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "fois"
+
diff --git a/po/ga.po b/po/ga.po
index e994c7f..a9cd82c 100755
--- a/po/ga.po
+++ b/po/ga.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Príobháid is sábháilteacht"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "uaireanta"
+
diff --git a/po/gl.po b/po/gl.po
index bd92016..9427fd3 100755
--- a/po/gl.po
+++ b/po/gl.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Privacidade e seguridade"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "veces"
+
diff --git a/po/hi.po b/po/hi.po
index 893cc48..bc33149 100755
--- a/po/hi.po
+++ b/po/hi.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "गोपनीयता और सुरक्षा"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "बार"
+
diff --git a/po/hr.po b/po/hr.po
index 84d1677..b4737d1 100755
--- a/po/hr.po
+++ b/po/hr.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Privatnost i sigurnost"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "puta"
+
diff --git a/po/hu.po b/po/hu.po
index 5e1c295..84306ee 100755
--- a/po/hu.po
+++ b/po/hu.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Adatvédelem és biztonság"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "alkalommal"
+
diff --git a/po/hy.po b/po/hy.po
index 7ed8085..57b1963 100755
--- a/po/hy.po
+++ b/po/hy.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Գաղտնիություն և անվտանգ."
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "անգամ"
+
diff --git a/po/is.po b/po/is.po
index 6a2c1d0..b539a25 100755
--- a/po/is.po
+++ b/po/is.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Persónuvernd og öryggi"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "sinnum"
+
diff --git a/po/it_IT.po b/po/it_IT.po
index 73ab709..5552372 100755
--- a/po/it_IT.po
+++ b/po/it_IT.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Privacy ed emergenza"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "volte"
+
diff --git a/po/ja_JP.po b/po/ja_JP.po
index f247df6..748e00c 100755
--- a/po/ja_JP.po
+++ b/po/ja_JP.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "プライバシーと安全"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "回"
+
diff --git a/po/ka.po b/po/ka.po
index 0250e59..ef28088 100755
--- a/po/ka.po
+++ b/po/ka.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "კონფიდენციალურობა, დაცვა"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "დროები"
+
diff --git a/po/kk.po b/po/kk.po
index c347aab..7f6b847 100755
--- a/po/kk.po
+++ b/po/kk.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Құпия және қауіпсіз"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "рет"
+
diff --git a/po/ko_KR.po b/po/ko_KR.po
index 96cc9f3..10f6bb5 100755
--- a/po/ko_KR.po
+++ b/po/ko_KR.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "개인정보 보호 및 안전"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "회"
+
diff --git a/po/lt.po b/po/lt.po
index 999560c..936cd67 100755
--- a/po/lt.po
+++ b/po/lt.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Privatumas ir sauga"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "kartai"
+
diff --git a/po/lv.po b/po/lv.po
index 83488df..f723039 100755
--- a/po/lv.po
+++ b/po/lv.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Konfidenc. un drošība"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "reizes"
+
diff --git a/po/mk.po b/po/mk.po
index b2075ec..2749503 100755
--- a/po/mk.po
+++ b/po/mk.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Приватност и безбедност"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "пати"
+
diff --git a/po/nb.po b/po/nb.po
index 74a6663..148278e 100755
--- a/po/nb.po
+++ b/po/nb.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Personvern og sikkerhet"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "ganger"
+
diff --git a/po/nl.po b/po/nl.po
index 45a27a7..6a51740 100755
--- a/po/nl.po
+++ b/po/nl.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Privacy en veiligheid"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "keer"
+
diff --git a/po/pl.po b/po/pl.po
index f53ebbe..51c3ffa 100755
--- a/po/pl.po
+++ b/po/pl.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Prywatność"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "razy"
+
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 93a05f3..2d6f799 100755
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Privacidade e segurança"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "vezes"
+
diff --git a/po/pt_PT.po b/po/pt_PT.po
index 93a05f3..2d6f799 100755
--- a/po/pt_PT.po
+++ b/po/pt_PT.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Privacidade e segurança"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "vezes"
+
diff --git a/po/ro.po b/po/ro.po
index 9c72400..d15dbd2 100755
--- a/po/ro.po
+++ b/po/ro.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Confid. și siguranță"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "ori"
+
diff --git a/po/ru_RU.po b/po/ru_RU.po
index 2d9cd6f..de24347 100755
--- a/po/ru_RU.po
+++ b/po/ru_RU.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Конфиденц. и безопасность"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "раз."
+
diff --git a/po/sk.po b/po/sk.po
index 003e36d..1662327 100755
--- a/po/sk.po
+++ b/po/sk.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Súkromie a bezpečnosť"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "krát"
+
diff --git a/po/sl.po b/po/sl.po
index c96c77e..2427b18 100755
--- a/po/sl.po
+++ b/po/sl.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Zasebnost in varnost"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "krat"
+
diff --git a/po/sr.po b/po/sr.po
index cffed70..e38f9e8 100755
--- a/po/sr.po
+++ b/po/sr.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Privatnost i bezbednost"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "puta"
+
diff --git a/po/sv.po b/po/sv.po
index 47d7ed7..ed201b7 100755
--- a/po/sv.po
+++ b/po/sv.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Sekretess och säkerhet"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "gånger"
+
diff --git a/po/tr_TR.po b/po/tr_TR.po
index 38064c8..ffb4eff 100755
--- a/po/tr_TR.po
+++ b/po/tr_TR.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Gizlilik ve güvenlik"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "defa"
+
diff --git a/po/uk.po b/po/uk.po
index 824224a..3bf4cd9 100755
--- a/po/uk.po
+++ b/po/uk.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Конфіденційність і безпека"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "раз"
+
diff --git a/po/uz.po b/po/uz.po
index c419a1e..c328f4c 100755
--- a/po/uz.po
+++ b/po/uz.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "Maxfiylik va xavfsizlik"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "marta"
+
diff --git a/po/zh_CN.po b/po/zh_CN.po
index f6fd699..d560348 100755
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "隐私和安全"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "次"
+
diff --git a/po/zh_HK.po b/po/zh_HK.po
index 149a5ac..9b2faad 100755
--- a/po/zh_HK.po
+++ b/po/zh_HK.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "私隱與安全"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "時間"
+
diff --git a/po/zh_TW.po b/po/zh_TW.po
index c213c06..653936e 100755
--- a/po/zh_TW.po
+++ b/po/zh_TW.po
@@ -1,3 +1,6 @@
msgid "IDS_ST_HEADER_PRIVACY_AND_SAFETY_ABB"
msgstr "隱私與安全"
+msgid "IDS_CLD_OPT_TIMES_LC"
+msgstr "時間"
+
diff --git a/ui/include/privacy_view.h b/ui/include/privacy_view.h
index e252499..484d571 100755
--- a/ui/include/privacy_view.h
+++ b/ui/include/privacy_view.h
@@ -45,6 +45,7 @@ typedef struct item_data {
char *title;
char *pkgid;
char *privacy;
+ char *menu;
char *icon;
bool status;
} item_data_s;
diff --git a/ui/src/privacy_guard_list_view.c b/ui/src/privacy_guard_list_view.c
index 50e335e..2d5f87a 100755
--- a/ui/src/privacy_guard_list_view.c
+++ b/ui/src/privacy_guard_list_view.c
@@ -88,7 +88,7 @@ void create_privacy_guard_list_view(struct app_data_s *ad)
evas_object_show(genlist);
/* Change "Privacy Setting" to proper DID : use dgettext() */
- Elm_Object_Item *nf_it = elm_naviframe_item_push(ad->nf, PRIVACY_MENU_ACCESS, common_back_btn_add(ad), NULL, genlist, NULL);
+ Elm_Object_Item *nf_it = elm_naviframe_item_push(ad->nf, dgettext("privacy-setting", PRIVACY_MENU_ACCESS), common_back_btn_add(ad), NULL, genlist, NULL);
elm_object_item_domain_text_translatable_set(nf_it, PACKAGE, EINA_TRUE);
}
diff --git a/ui/src/privacy_list_view.c b/ui/src/privacy_list_view.c
index 2c986c3..1b57565 100644
--- a/ui/src/privacy_list_view.c
+++ b/ui/src/privacy_list_view.c
@@ -89,7 +89,7 @@ void create_privacy_list_view(struct app_data_s *ad)
evas_object_show(genlist);
/* Change "Privacy Setting" to proper DID : use dgettext() */
- Elm_Object_Item *nf_it = elm_naviframe_item_push(ad->nf, "Privacy Setting", common_back_btn_add(ad), NULL, genlist, NULL);
+ Elm_Object_Item *nf_it = elm_naviframe_item_push(ad->nf, dgettext("privacy-setting", PRIVACY_MENU_SETTING), common_back_btn_add(ad), NULL, genlist, NULL);
elm_object_item_domain_text_translatable_set(nf_it, PACKAGE, EINA_TRUE);
}
diff --git a/ui/src/privacy_menu_view.c b/ui/src/privacy_menu_view.c
index b550369..1fa5e84 100755
--- a/ui/src/privacy_menu_view.c
+++ b/ui/src/privacy_menu_view.c
@@ -59,7 +59,7 @@ static void menu_selected_cb(void *data, Evas_Object *obj, void *event_info)
/* Get selected privacy */
Elm_Object_Item *ei = event_info;
item_data_s *selected_id = elm_object_item_data_get(ei);
- LOGD("%s is selected, index = %d", selected_id->title, selected_id->index);
+ LOGD("%s is selected, index = %d", selected_id->menu, selected_id->index);
/* Unhighlight selected item */
elm_genlist_item_selected_set(ei, EINA_FALSE);
@@ -70,12 +70,12 @@ static void menu_selected_cb(void *data, Evas_Object *obj, void *event_info)
int ret = privilege_info_get_privacy_list(&(ad->privacy_list));
log_if(ret != PRVMGR_ERR_NONE, 1, "Failed to get privacy_list");
- if (strstr(selected_id->title, PRIVACY_MENU_SETTING) != NULL) {
+ if (strstr(selected_id->menu, PRIVACY_MENU_SETTING) != NULL) {
create_privacy_list_view(ad);
- } else if (strstr(selected_id->title, PRIVACY_MENU_ACCESS) != NULL) {/* privacy guard */
+ } else if (strstr(selected_id->menu, PRIVACY_MENU_ACCESS) != NULL) {/* privacy guard */
create_privacy_guard_list_view(ad);
} else {
- LOGE("selected_id->title = %s, no matching menu", selected_id->title);
+ LOGE("selected_id->title = %s, no matching menu", selected_id->menu);
}
}
@@ -101,7 +101,8 @@ void create_privacy_menu_view(struct app_data_s *ad)
for (i = 0; i < (int)g_list_length(privacy_menu_list); ++i) {
item_data_s *id = calloc(sizeof(item_data_s), 1);
id->index = i;
- id->title = (char*)g_list_nth_data(privacy_menu_list, i);
+ id->menu = (char*)g_list_nth_data(privacy_menu_list, i);
+ id->title = strdup(dgettext("privacy-setting", id->menu));
it = elm_genlist_item_append(genlist, itc, id, NULL, ELM_GENLIST_ITEM_NONE, menu_selected_cb, ad);
log_if(it == NULL, 1, "Error in elm_genlist_item_append");
}