From 21c2cb381a8a883fae1db34b00c0da7fe90f36e1 Mon Sep 17 00:00:00 2001 From: wangyucheng Date: Mon, 10 Apr 2023 10:35:02 +0800 Subject: [PATCH] fix(translation) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加多语种翻译 --- 0001-fix-translate-add-some-translation.patch | 291 ++++++++++++++++++ kiran-calendar.spec | 13 +- 2 files changed, 302 insertions(+), 2 deletions(-) create mode 100644 0001-fix-translate-add-some-translation.patch diff --git a/0001-fix-translate-add-some-translation.patch b/0001-fix-translate-add-some-translation.patch new file mode 100644 index 0000000..fe25058 --- /dev/null +++ b/0001-fix-translate-add-some-translation.patch @@ -0,0 +1,291 @@ +From 3a2998ac266cc0c80a6ba9c05f5eb1e2d4b800c3 Mon Sep 17 00:00:00 2001 +From: wangyucheng +Date: Thu, 23 Mar 2023 15:48:10 +0800 +Subject: [PATCH] fix(translate):add some translation +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +- 添加一些翻译 + +Relates #67661 +--- + po/LINGUAS | 5 +++++ + po/bo_CN.po | 44 ++++++++++++++++++++++++++++++++++++++++++++ + po/kk_KG.po | 44 ++++++++++++++++++++++++++++++++++++++++++++ + po/kk_KZ.po | 44 ++++++++++++++++++++++++++++++++++++++++++++ + po/mn_MN.po | 44 ++++++++++++++++++++++++++++++++++++++++++++ + po/ug_CN.po | 44 ++++++++++++++++++++++++++++++++++++++++++++ + 6 files changed, 225 insertions(+) + create mode 100644 po/bo_CN.po + create mode 100644 po/kk_KG.po + create mode 100644 po/kk_KZ.po + create mode 100644 po/mn_MN.po + create mode 100644 po/ug_CN.po + +diff --git a/po/LINGUAS b/po/LINGUAS +index a1e2e89..b4222e1 100644 +--- a/po/LINGUAS ++++ b/po/LINGUAS +@@ -1,3 +1,8 @@ + # please keep this list sorted alphabetically + # + zh_CN ++bo_CN ++kk_KG ++kk_KZ ++mn_MN ++ug_CN +diff --git a/po/bo_CN.po b/po/bo_CN.po +new file mode 100644 +index 0000000..1786159 +--- /dev/null ++++ b/po/bo_CN.po +@@ -0,0 +1,44 @@ ++# kiran-calendar package simplified Chinese translation file. ++# Copyright (C) 2020 wangxiaoqing . ++# This file is distributed under the same license as the kiran-calendar package. ++# wangxiaoqing , 2020. ++# ++msgid "" ++msgstr "" ++"Project-Id-Version: kiran-calendar\n" ++"Report-Msgid-Bugs-To: \n" ++"POT-Creation-Date: 2020-06-28 07:47+0800\n" ++"PO-Revision-Date: 2020-06-28 19:05+0700\n" ++"Last-Translator: wangxiaoqing \n" ++"Language-Team: wangxiaoqing \n" ++"Language: \n" ++"MIME-Version: 1.0\n" ++"Content-Type: text/plain; charset=UTF-8\n" ++"Content-Transfer-Encoding: 8bit\n" ++"Plural-Forms: nplurals=2; plural=(n != 1);\n" ++"X-Poedit-Country: CHINA\n" ++"X-Poedit-Language: Chinese\n" ++ ++#: src/kiran-calendar.c:658 ++#, c-format ++msgid "%d - %d" ++msgstr "%d - %d " ++ ++#: src/kiran-calendar.c:1105 ++msgid "Today" ++msgstr "དེ་རིང། " ++ ++msgid "_About" ++msgstr "མི་མང་འཚོགས་པའི་ཧ་ལམ། " ++ ++msgid "Clock" ++msgstr "དུས་སྒྲོག་ཆུ་ཚོད་འཁོར་ལོ། " ++ ++msgid "About Clock" ++msgstr "སྐོར་དུས་སྒྲོག་ཆུ་ཚོད་འཁོར་ལོ། " ++ ++msgid "The Clock displays the current time and date" ++msgstr "དུས་སྒྲོག་ཆུ་ཚོད་འཁོར་ལོ་མངོན་པའི་མིག་སྔ་འི་དུས་ཚོད་དང་དུས་ཚོད། " ++ ++msgid "Copyright ©2020 KylinSec. All rights reserved." ++msgstr "པར་དབང་ལ་©2020གྱི་ལིང་། སོར་ཉར་ཡོད། " +diff --git a/po/kk_KG.po b/po/kk_KG.po +new file mode 100644 +index 0000000..9a097ce +--- /dev/null ++++ b/po/kk_KG.po +@@ -0,0 +1,44 @@ ++# kiran-calendar package simplified Chinese translation file. ++# Copyright (C) 2020 wangxiaoqing . ++# This file is distributed under the same license as the kiran-calendar package. ++# wangxiaoqing , 2020. ++# ++msgid "" ++msgstr "" ++"Project-Id-Version: kiran-calendar\n" ++"Report-Msgid-Bugs-To: \n" ++"POT-Creation-Date: 2020-06-28 07:47+0800\n" ++"PO-Revision-Date: 2020-06-28 19:05+0700\n" ++"Last-Translator: wangxiaoqing \n" ++"Language-Team: wangxiaoqing \n" ++"Language: \n" ++"MIME-Version: 1.0\n" ++"Content-Type: text/plain; charset=UTF-8\n" ++"Content-Transfer-Encoding: 8bit\n" ++"Plural-Forms: nplurals=2; plural=(n != 1);\n" ++"X-Poedit-Country: CHINA\n" ++"X-Poedit-Language: Chinese\n" ++ ++#: src/kiran-calendar.c:658 ++#, c-format ++msgid "%d - %d" ++msgstr "%d - %d" ++ ++#: src/kiran-calendar.c:1105 ++msgid "Today" ++msgstr "Бүгүн" ++ ++msgid "_About" ++msgstr "Stock label" ++ ++msgid "Clock" ++msgstr "Саат" ++ ++msgid "About Clock" ++msgstr "Саат жөнүндө" ++ ++msgid "The Clock displays the current time and date" ++msgstr "Саат азыркы убакытты жана датаны көрсөтөт" ++ ++msgid "Copyright ©2020 KylinSec. All rights reserved." ++msgstr "Автордук укуктар ©2020 KylinSec Бардык укуктар резервирован." +diff --git a/po/kk_KZ.po b/po/kk_KZ.po +new file mode 100644 +index 0000000..18f1ef8 +--- /dev/null ++++ b/po/kk_KZ.po +@@ -0,0 +1,44 @@ ++# kiran-calendar package simplified Chinese translation file. ++# Copyright (C) 2020 wangxiaoqing . ++# This file is distributed under the same license as the kiran-calendar package. ++# wangxiaoqing , 2020. ++# ++msgid "" ++msgstr "" ++"Project-Id-Version: kiran-calendar\n" ++"Report-Msgid-Bugs-To: \n" ++"POT-Creation-Date: 2020-06-28 07:47+0800\n" ++"PO-Revision-Date: 2020-06-28 19:05+0700\n" ++"Last-Translator: wangxiaoqing \n" ++"Language-Team: wangxiaoqing \n" ++"Language: \n" ++"MIME-Version: 1.0\n" ++"Content-Type: text/plain; charset=UTF-8\n" ++"Content-Transfer-Encoding: 8bit\n" ++"Plural-Forms: nplurals=2; plural=(n != 1);\n" ++"X-Poedit-Country: CHINA\n" ++"X-Poedit-Language: Chinese\n" ++ ++#: src/kiran-calendar.c:658 ++#, c-format ++msgid "%d - %d" ++msgstr "%д-% д" ++ ++#: src/kiran-calendar.c:1105 ++msgid "Today" ++msgstr "Бүгін" ++ ++msgid "_About" ++msgstr "_Білік" ++ ++msgid "Clock" ++msgstr "Сағат" ++ ++msgid "About Clock" ++msgstr "Сағат туралы" ++ ++msgid "The Clock displays the current time and date" ++msgstr "Сағат ағымдағы уақыт пен күнді көрсетеді" ++ ++msgid "Copyright ©2020 KylinSec. All rights reserved." ++msgstr "Авторлық құқық © 2020 KylinSec. Барлық құқықтар сақталған." +diff --git a/po/mn_MN.po b/po/mn_MN.po +new file mode 100644 +index 0000000..d142925 +--- /dev/null ++++ b/po/mn_MN.po +@@ -0,0 +1,44 @@ ++# kiran-calendar package simplified Chinese translation file. ++# Copyright (C) 2020 wangxiaoqing . ++# This file is distributed under the same license as the kiran-calendar package. ++# wangxiaoqing , 2020. ++# ++msgid "" ++msgstr "" ++"Project-Id-Version: kiran-calendar\n" ++"Report-Msgid-Bugs-To: \n" ++"POT-Creation-Date: 2020-06-28 07:47+0800\n" ++"PO-Revision-Date: 2020-06-28 19:05+0700\n" ++"Last-Translator: wangxiaoqing \n" ++"Language-Team: wangxiaoqing \n" ++"Language: \n" ++"MIME-Version: 1.0\n" ++"Content-Type: text/plain; charset=UTF-8\n" ++"Content-Transfer-Encoding: 8bit\n" ++"Plural-Forms: nplurals=2; plural=(n != 1);\n" ++"X-Poedit-Country: CHINA\n" ++"X-Poedit-Language: Chinese\n" ++ ++#: src/kiran-calendar.c:658 ++#, c-format ++msgid "%d - %d" ++msgstr "%d - %d" ++ ++#: src/kiran-calendar.c:1105 ++msgid "Today" ++msgstr "Өнөөдөр" ++ ++msgid "_About" ++msgstr "Ойролцоогоор" ++ ++msgid "Clock" ++msgstr "Цаг" ++ ++msgid "About Clock" ++msgstr "Цагны тухай" ++ ++msgid "The Clock displays the current time and date" ++msgstr "Цаг нь одоогийн цаг, өдрийг харуулдаг" ++ ++msgid "Copyright ©2020 KylinSec. All rights reserved." ++msgstr "Зохиогчийн эрх ©2020 KylinSec. Бүх эрх хадгалагдсан." +diff --git a/po/ug_CN.po b/po/ug_CN.po +new file mode 100644 +index 0000000..89c17ff +--- /dev/null ++++ b/po/ug_CN.po +@@ -0,0 +1,44 @@ ++# kiran-calendar package simplified Chinese translation file. ++# Copyright (C) 2020 wangxiaoqing . ++# This file is distributed under the same license as the kiran-calendar package. ++# wangxiaoqing , 2020. ++# ++msgid "" ++msgstr "" ++"Project-Id-Version: kiran-calendar\n" ++"Report-Msgid-Bugs-To: \n" ++"POT-Creation-Date: 2020-06-28 07:47+0800\n" ++"PO-Revision-Date: 2020-06-28 19:05+0700\n" ++"Last-Translator: wangxiaoqing \n" ++"Language-Team: wangxiaoqing \n" ++"Language: \n" ++"MIME-Version: 1.0\n" ++"Content-Type: text/plain; charset=UTF-8\n" ++"Content-Transfer-Encoding: 8bit\n" ++"Plural-Forms: nplurals=2; plural=(n != 1);\n" ++"X-Poedit-Country: CHINA\n" ++"X-Poedit-Language: Chinese\n" ++ ++#: src/kiran-calendar.c:658 ++#, c-format ++msgid "%d - %d" ++msgstr "%d-% d" ++ ++#: src/kiran-calendar.c:1105 ++msgid "Today" ++msgstr "بۈگۈن" ++ ++msgid "_About" ++msgstr "_ ھەققىدە" ++ ++msgid "Clock" ++msgstr "سائەت" ++ ++msgid "About Clock" ++msgstr "سائەت ھەققىدە" ++ ++msgid "The Clock displays the current time and date" ++msgstr "سائەت نۆۋەتتىكى ۋاقىت ۋە ۋاقىتنى كۆرسىتىدۇ" ++ ++msgid "Copyright ©2020 KylinSec. All rights reserved." ++msgstr "نەشر ھوقۇقى © 2020 KylinSec. بارلىق ھوقۇقلار قوغدىلىدۇ." +-- +2.33.0 + diff --git a/kiran-calendar.spec b/kiran-calendar.spec index 874e19d..9f67097 100644 --- a/kiran-calendar.spec +++ b/kiran-calendar.spec @@ -4,11 +4,12 @@ Version: 2.3.0 %define _libver 3_0 -Release: 1 +Release: 2 License: GPL-3.0-only Group: System/I18n/Chinese Url: http://liblunar.googlecode.com/ Source: https://liblunar.googlecode.com/files/%{name}-%{version}.tar.gz +Patch1: 0001-fix-translate-add-some-translation.patch BuildRequires: gobject-introspection-devel intltool @@ -30,7 +31,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build Kiran Desktop Calendar Which Provides Chinese Lunar calendar %prep -%autosetup -S git +%autosetup -S git -p1 %build %meson -Dkiran_desktop=true @@ -55,11 +56,19 @@ Kiran Desktop Calendar Which Provides Chinese Lunar calendar %{_datadir}/dbus-1/services/org.kiran.panel.applet.KiranClockAppletFactory.service %{_datadir}/kiran-calendar %{_datadir}/locale/zh_CN/LC_MESSAGES/kiran-calendar.mo +%{_datadir}/locale/bo_CN/LC_MESSAGES/kiran-calendar.mo +%{_datadir}/locale/kk_KG/LC_MESSAGES/kiran-calendar.mo +%{_datadir}/locale/kk_KZ/LC_MESSAGES/kiran-calendar.mo +%{_datadir}/locale/mn_MN/LC_MESSAGES/kiran-calendar.mo +%{_datadir}/locale/ug_CN/LC_MESSAGES/kiran-calendar.mo %{_datadir}/kiran-panel/applets/org.mate.panel.KiranClockApplet.mate-panel-applet %{_datadir}/glib-2.0/schemas/com.kylinsec.kiran.calendar.gschema.xml %changelog +* Mon Apr 10 2023 wangyucheng - 2.3.0-2 +- KYOS-T: add some translation + * Wed Aug 24 2022 wangxiaoqing 2.3.0-1 - update to 2.3.0