Add ContentType to po files to use find_lang 98/98498/1
authorKyungwook Tak <k.tak@samsung.com>
Tue, 15 Nov 2016 07:35:32 +0000 (16:35 +0900)
committerKyungwook Tak <k.tak@samsung.com>
Tue, 15 Nov 2016 08:47:55 +0000 (17:47 +0900)
language files which are not managed by %find_lang macro occurs rpm spec
warning. And without ContenType:utf-8 definition in po file header,
msgfmt prints warning message.
Refer: http://pology.nedohodnik.net/doc/user/en_US/ch-poformat.html

Change-Id: I9fd0a890c4061a18b26c680e47519b4826449aa8
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
38 files changed:
packaging/csr-framework.spec
src/framework/ui/res/po/as.po
src/framework/ui/res/po/az.po
src/framework/ui/res/po/be_BY.po
src/framework/ui/res/po/bn.po
src/framework/ui/res/po/bn_BD.po
src/framework/ui/res/po/en.po
src/framework/ui/res/po/en_US.po
src/framework/ui/res/po/gu.po
src/framework/ui/res/po/hi.po
src/framework/ui/res/po/hy.po
src/framework/ui/res/po/id.po
src/framework/ui/res/po/jv.po
src/framework/ui/res/po/ka.po
src/framework/ui/res/po/kk.po
src/framework/ui/res/po/kn.po
src/framework/ui/res/po/ko_KR.po
src/framework/ui/res/po/ky_KG.po
src/framework/ui/res/po/ml.po
src/framework/ui/res/po/mn_MN.po
src/framework/ui/res/po/mr.po
src/framework/ui/res/po/ms.po
src/framework/ui/res/po/ne.po
src/framework/ui/res/po/or.po
src/framework/ui/res/po/pa.po
src/framework/ui/res/po/ru_RU.po
src/framework/ui/res/po/si.po
src/framework/ui/res/po/su_ID.po
src/framework/ui/res/po/ta.po
src/framework/ui/res/po/te.po
src/framework/ui/res/po/tg_TJ.po
src/framework/ui/res/po/tk_TM.po
src/framework/ui/res/po/uk.po
src/framework/ui/res/po/ur.po
src/framework/ui/res/po/uz.po
src/framework/ui/res/po/xh.po
src/framework/ui/res/po/zh_CN.po
src/framework/ui/res/po/zu.po

index 3b41e97..5bd4054 100644 (file)
@@ -212,6 +212,8 @@ cp data/scripts/%{service_name}-upgrade.sh %{buildroot}%{upgrade_script_dir}
 mkdir -p %{buildroot}%{engine_dir}
 mkdir -p %{buildroot}%{engine_rw_working_dir}
 
+%find_lang %{service_name}
+
 %post
 rm -f %{rw_db_dir}/.%{service_name}.db*
 
@@ -258,7 +260,7 @@ fi
 %post -n %{name}-test
 chsmack -a "_" %{test_dir}/test_dir/dir1
 
-%files
+%files -f %{service_name}.lang
 %defattr(-,root,root,-)
 %manifest %{service_name}.manifest
 %license LICENSE
@@ -275,7 +277,6 @@ chsmack -a "_" %{test_dir}/test_dir/dir1
 %{popup_unitdir}/%{service_name}-popup.socket
 %{popup_unitdir}/sockets.target.wants/%{service_name}-popup.socket
 %{popup_unitdir}/%{service_name}-popup.service
-%{ro_data_dir}/locale/*
 %{ro_res_dir}/default-icon.png
 
 %dir %{ro_data_dir}/%{service_name}
index 2ec700e..9bcc88f 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "খোলক"
 
index 4afd434..80dc79d 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "Aç"
 
index 8b13c34..72c7bb5 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "Адкрыць"
 
index 200f539..348c239 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "খোলা"
 
index f73ed2b..de3bd5d 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "খোলা"
 
index c3cf64d..0400927 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "Open"
 
index b58284d..9dd7b15 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "Open"
 
index 93f4e9c..81d1539 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "ખોલો"
 
index d57257b..8628406 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "खोलें"
 
index 7770088..bfe5645 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "Բացել"
 
index 47f7503..484285a 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "Buka"
 
index be3c183..58b35a6 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "Bukak"
 
index 8dac323..1f33996 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "გახსნა"
 
index b0221de..fcbca3c 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "Ашу"
 
index 6a600e6..2093569 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "ತೆರೆಯಿರಿ"
 
index bfc4a4a..fc43560 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "열기"
 
index 10a1f83..7968247 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "Ачуу"
 
index a980511..b7f637c 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "ഓപ്പണ്‍"
 
index 9e0a6c1..60ae398 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "Нээх"
 
index fa75e3b..98f0bb5 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "उघडा"
 
index b4b5e8f..cedabfa 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "Buka"
 
index c77bd89..4fa950c 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "खोल्नुहोस्"
 
index f747f9f..cba3a1d 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "ଖୋଲନ୍ତୁ"
 
index 8091349..700e39d 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "ਖੋਲ੍ਹੋ"
 
index c6bbf13..242694f 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "Открыть"
 
index a3cf537..463f1ec 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "විවෘත කරන්න"
 
index 7a480c3..6b33e9f 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "Buka"
 
index 92555ff..39f581a 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "திறக்கவும்"
 
index 94d4496..d3dd097 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "తెరువు"
 
index 037a1e4..1193aba 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "Кушодан"
 
index 7a10c47..778b9e7 100755 (executable)
@@ -1,3 +1,8 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "Aç"
 
index fd8403a..0565cf0 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "Відкрити"
 
index a11a900..70abf39 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "کھولیں"
 
index e1e127f..1c6bd2d 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "Ochish"
 
index 3e0d1b0..acb7533 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "Open"
 
index 23631be..0f7a5fe 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "打开"
 
index 7826ca2..7e8c078 100755 (executable)
@@ -1,3 +1,7 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+
 msgid "IDS_ST_BUTTON_OPEN"
 msgstr "Open"