From 581398ea13978e393ad68817e1dc12de667f7138 Mon Sep 17 00:00:00 2001 From: Kyungwook Tak Date: Tue, 15 Nov 2016 16:35:32 +0900 Subject: [PATCH] Add ContentType to po files to use find_lang 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 --- packaging/csr-framework.spec | 5 +++-- src/framework/ui/res/po/as.po | 4 ++++ src/framework/ui/res/po/az.po | 4 ++++ src/framework/ui/res/po/be_BY.po | 4 ++++ src/framework/ui/res/po/bn.po | 4 ++++ src/framework/ui/res/po/bn_BD.po | 4 ++++ src/framework/ui/res/po/en.po | 4 ++++ src/framework/ui/res/po/en_US.po | 4 ++++ src/framework/ui/res/po/gu.po | 4 ++++ src/framework/ui/res/po/hi.po | 4 ++++ src/framework/ui/res/po/hy.po | 4 ++++ src/framework/ui/res/po/id.po | 4 ++++ src/framework/ui/res/po/jv.po | 4 ++++ src/framework/ui/res/po/ka.po | 4 ++++ src/framework/ui/res/po/kk.po | 4 ++++ src/framework/ui/res/po/kn.po | 4 ++++ src/framework/ui/res/po/ko_KR.po | 4 ++++ src/framework/ui/res/po/ky_KG.po | 4 ++++ src/framework/ui/res/po/ml.po | 4 ++++ src/framework/ui/res/po/mn_MN.po | 4 ++++ src/framework/ui/res/po/mr.po | 4 ++++ src/framework/ui/res/po/ms.po | 4 ++++ src/framework/ui/res/po/ne.po | 4 ++++ src/framework/ui/res/po/or.po | 4 ++++ src/framework/ui/res/po/pa.po | 4 ++++ src/framework/ui/res/po/ru_RU.po | 4 ++++ src/framework/ui/res/po/si.po | 4 ++++ src/framework/ui/res/po/su_ID.po | 4 ++++ src/framework/ui/res/po/ta.po | 4 ++++ src/framework/ui/res/po/te.po | 4 ++++ src/framework/ui/res/po/tg_TJ.po | 4 ++++ src/framework/ui/res/po/tk_TM.po | 5 +++++ src/framework/ui/res/po/uk.po | 4 ++++ src/framework/ui/res/po/ur.po | 4 ++++ src/framework/ui/res/po/uz.po | 4 ++++ src/framework/ui/res/po/xh.po | 4 ++++ src/framework/ui/res/po/zh_CN.po | 4 ++++ src/framework/ui/res/po/zu.po | 4 ++++ 38 files changed, 152 insertions(+), 2 deletions(-) diff --git a/packaging/csr-framework.spec b/packaging/csr-framework.spec index 3b41e97..5bd4054 100644 --- a/packaging/csr-framework.spec +++ b/packaging/csr-framework.spec @@ -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} diff --git a/src/framework/ui/res/po/as.po b/src/framework/ui/res/po/as.po index 2ec700e..9bcc88f 100755 --- a/src/framework/ui/res/po/as.po +++ b/src/framework/ui/res/po/as.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "খোলক" diff --git a/src/framework/ui/res/po/az.po b/src/framework/ui/res/po/az.po index 4afd434..80dc79d 100755 --- a/src/framework/ui/res/po/az.po +++ b/src/framework/ui/res/po/az.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "Aç" diff --git a/src/framework/ui/res/po/be_BY.po b/src/framework/ui/res/po/be_BY.po index 8b13c34..72c7bb5 100755 --- a/src/framework/ui/res/po/be_BY.po +++ b/src/framework/ui/res/po/be_BY.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "Адкрыць" diff --git a/src/framework/ui/res/po/bn.po b/src/framework/ui/res/po/bn.po index 200f539..348c239 100755 --- a/src/framework/ui/res/po/bn.po +++ b/src/framework/ui/res/po/bn.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "খোলা" diff --git a/src/framework/ui/res/po/bn_BD.po b/src/framework/ui/res/po/bn_BD.po index f73ed2b..de3bd5d 100755 --- a/src/framework/ui/res/po/bn_BD.po +++ b/src/framework/ui/res/po/bn_BD.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "খোলা" diff --git a/src/framework/ui/res/po/en.po b/src/framework/ui/res/po/en.po index c3cf64d..0400927 100755 --- a/src/framework/ui/res/po/en.po +++ b/src/framework/ui/res/po/en.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "Open" diff --git a/src/framework/ui/res/po/en_US.po b/src/framework/ui/res/po/en_US.po index b58284d..9dd7b15 100755 --- a/src/framework/ui/res/po/en_US.po +++ b/src/framework/ui/res/po/en_US.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "Open" diff --git a/src/framework/ui/res/po/gu.po b/src/framework/ui/res/po/gu.po index 93f4e9c..81d1539 100755 --- a/src/framework/ui/res/po/gu.po +++ b/src/framework/ui/res/po/gu.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "ખોલો" diff --git a/src/framework/ui/res/po/hi.po b/src/framework/ui/res/po/hi.po index d57257b..8628406 100755 --- a/src/framework/ui/res/po/hi.po +++ b/src/framework/ui/res/po/hi.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "खोलें" diff --git a/src/framework/ui/res/po/hy.po b/src/framework/ui/res/po/hy.po index 7770088..bfe5645 100755 --- a/src/framework/ui/res/po/hy.po +++ b/src/framework/ui/res/po/hy.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "Բացել" diff --git a/src/framework/ui/res/po/id.po b/src/framework/ui/res/po/id.po index 47f7503..484285a 100755 --- a/src/framework/ui/res/po/id.po +++ b/src/framework/ui/res/po/id.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "Buka" diff --git a/src/framework/ui/res/po/jv.po b/src/framework/ui/res/po/jv.po index be3c183..58b35a6 100755 --- a/src/framework/ui/res/po/jv.po +++ b/src/framework/ui/res/po/jv.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "Bukak" diff --git a/src/framework/ui/res/po/ka.po b/src/framework/ui/res/po/ka.po index 8dac323..1f33996 100755 --- a/src/framework/ui/res/po/ka.po +++ b/src/framework/ui/res/po/ka.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "გახსნა" diff --git a/src/framework/ui/res/po/kk.po b/src/framework/ui/res/po/kk.po index b0221de..fcbca3c 100755 --- a/src/framework/ui/res/po/kk.po +++ b/src/framework/ui/res/po/kk.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "Ашу" diff --git a/src/framework/ui/res/po/kn.po b/src/framework/ui/res/po/kn.po index 6a600e6..2093569 100755 --- a/src/framework/ui/res/po/kn.po +++ b/src/framework/ui/res/po/kn.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "ತೆರೆಯಿರಿ" diff --git a/src/framework/ui/res/po/ko_KR.po b/src/framework/ui/res/po/ko_KR.po index bfc4a4a..fc43560 100755 --- a/src/framework/ui/res/po/ko_KR.po +++ b/src/framework/ui/res/po/ko_KR.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "열기" diff --git a/src/framework/ui/res/po/ky_KG.po b/src/framework/ui/res/po/ky_KG.po index 10a1f83..7968247 100755 --- a/src/framework/ui/res/po/ky_KG.po +++ b/src/framework/ui/res/po/ky_KG.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "Ачуу" diff --git a/src/framework/ui/res/po/ml.po b/src/framework/ui/res/po/ml.po index a980511..b7f637c 100755 --- a/src/framework/ui/res/po/ml.po +++ b/src/framework/ui/res/po/ml.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "ഓപ്പണ്‍" diff --git a/src/framework/ui/res/po/mn_MN.po b/src/framework/ui/res/po/mn_MN.po index 9e0a6c1..60ae398 100755 --- a/src/framework/ui/res/po/mn_MN.po +++ b/src/framework/ui/res/po/mn_MN.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "Нээх" diff --git a/src/framework/ui/res/po/mr.po b/src/framework/ui/res/po/mr.po index fa75e3b..98f0bb5 100755 --- a/src/framework/ui/res/po/mr.po +++ b/src/framework/ui/res/po/mr.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "उघडा" diff --git a/src/framework/ui/res/po/ms.po b/src/framework/ui/res/po/ms.po index b4b5e8f..cedabfa 100755 --- a/src/framework/ui/res/po/ms.po +++ b/src/framework/ui/res/po/ms.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "Buka" diff --git a/src/framework/ui/res/po/ne.po b/src/framework/ui/res/po/ne.po index c77bd89..4fa950c 100755 --- a/src/framework/ui/res/po/ne.po +++ b/src/framework/ui/res/po/ne.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "खोल्नुहोस्" diff --git a/src/framework/ui/res/po/or.po b/src/framework/ui/res/po/or.po index f747f9f..cba3a1d 100755 --- a/src/framework/ui/res/po/or.po +++ b/src/framework/ui/res/po/or.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "ଖୋଲନ୍ତୁ" diff --git a/src/framework/ui/res/po/pa.po b/src/framework/ui/res/po/pa.po index 8091349..700e39d 100755 --- a/src/framework/ui/res/po/pa.po +++ b/src/framework/ui/res/po/pa.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "ਖੋਲ੍ਹੋ" diff --git a/src/framework/ui/res/po/ru_RU.po b/src/framework/ui/res/po/ru_RU.po index c6bbf13..242694f 100755 --- a/src/framework/ui/res/po/ru_RU.po +++ b/src/framework/ui/res/po/ru_RU.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "Открыть" diff --git a/src/framework/ui/res/po/si.po b/src/framework/ui/res/po/si.po index a3cf537..463f1ec 100755 --- a/src/framework/ui/res/po/si.po +++ b/src/framework/ui/res/po/si.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "විවෘත කරන්න" diff --git a/src/framework/ui/res/po/su_ID.po b/src/framework/ui/res/po/su_ID.po index 7a480c3..6b33e9f 100755 --- a/src/framework/ui/res/po/su_ID.po +++ b/src/framework/ui/res/po/su_ID.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "Buka" diff --git a/src/framework/ui/res/po/ta.po b/src/framework/ui/res/po/ta.po index 92555ff..39f581a 100755 --- a/src/framework/ui/res/po/ta.po +++ b/src/framework/ui/res/po/ta.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "திறக்கவும்" diff --git a/src/framework/ui/res/po/te.po b/src/framework/ui/res/po/te.po index 94d4496..d3dd097 100755 --- a/src/framework/ui/res/po/te.po +++ b/src/framework/ui/res/po/te.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "తెరువు" diff --git a/src/framework/ui/res/po/tg_TJ.po b/src/framework/ui/res/po/tg_TJ.po index 037a1e4..1193aba 100755 --- a/src/framework/ui/res/po/tg_TJ.po +++ b/src/framework/ui/res/po/tg_TJ.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "Кушодан" diff --git a/src/framework/ui/res/po/tk_TM.po b/src/framework/ui/res/po/tk_TM.po index 7a10c47..778b9e7 100755 --- a/src/framework/ui/res/po/tk_TM.po +++ b/src/framework/ui/res/po/tk_TM.po @@ -1,3 +1,8 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + + msgid "IDS_ST_BUTTON_OPEN" msgstr "Aç" diff --git a/src/framework/ui/res/po/uk.po b/src/framework/ui/res/po/uk.po index fd8403a..0565cf0 100755 --- a/src/framework/ui/res/po/uk.po +++ b/src/framework/ui/res/po/uk.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "Відкрити" diff --git a/src/framework/ui/res/po/ur.po b/src/framework/ui/res/po/ur.po index a11a900..70abf39 100755 --- a/src/framework/ui/res/po/ur.po +++ b/src/framework/ui/res/po/ur.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "کھولیں" diff --git a/src/framework/ui/res/po/uz.po b/src/framework/ui/res/po/uz.po index e1e127f..1c6bd2d 100755 --- a/src/framework/ui/res/po/uz.po +++ b/src/framework/ui/res/po/uz.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "Ochish" diff --git a/src/framework/ui/res/po/xh.po b/src/framework/ui/res/po/xh.po index 3e0d1b0..acb7533 100755 --- a/src/framework/ui/res/po/xh.po +++ b/src/framework/ui/res/po/xh.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "Open" diff --git a/src/framework/ui/res/po/zh_CN.po b/src/framework/ui/res/po/zh_CN.po index 23631be..0f7a5fe 100755 --- a/src/framework/ui/res/po/zh_CN.po +++ b/src/framework/ui/res/po/zh_CN.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "打开" diff --git a/src/framework/ui/res/po/zu.po b/src/framework/ui/res/po/zu.po index 7826ca2..7e8c078 100755 --- a/src/framework/ui/res/po/zu.po +++ b/src/framework/ui/res/po/zu.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + msgid "IDS_ST_BUTTON_OPEN" msgstr "Open" -- 2.7.4