!9 Add Tibetan translation

From: @tanyulong2021
Reviewed-by: @pei-jiankang
Signed-off-by: @pei-jiankang
This commit is contained in:
openeuler-ci-bot 2021-11-05 08:38:07 +00:00 committed by Gitee
commit 17fce11c0f
2 changed files with 62 additions and 1 deletions

View File

@ -0,0 +1,55 @@
From 0d774a458101049c91e5dba31ac9ffa2af361d35 Mon Sep 17 00:00:00 2001
From: tanyulong <tanyulong@kylinos.cn>
Date: Mon, 1 Nov 2021 14:57:25 +0800
Subject: [PATCH] Add Tibetan translation
---
po/bo_CN.po | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
create mode 100644 po/bo_CN.po
diff --git a/po/bo_CN.po b/po/bo_CN.po
new file mode 100644
index 0000000..d6f1df4
--- /dev/null
+++ b/po/bo_CN.po
@@ -0,0 +1,36 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Translators:
+# liushuyu011 <liushuyu011@gmail.com>, 2016
+# Wylmer Wang, 2013
+# Mingcong Bai <jeffbai@aosc.xyz>, 2015
+msgid ""
+msgstr ""
+"Project-Id-Version: UKUI Desktop Environment\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2019-11-21 19:39+0800\n"
+"PO-Revision-Date: 2017-10-07 11:02+0000\n"
+"Last-Translator: monsta <monsta@inbox.ru>\n"
+"Language-Team: Chinese (China) (http://www.transifex.com/mate/UKUI/language/"
+"zh_CN/)\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+ #: ../data/ukui-power-preferences.desktop.in.in.h:1
+msgid "Power Management"
+msgstr "གློག་ཁུངས་དོ་དམ།"
+
+#: ../data/ukui-power-preferences.desktop.in.in.h:2
+msgid "Configure power management"
+msgstr "གློག་ཁུངས་དོ་དམ་སྡེབ་སྒྲིག"
+
+
+#: ../data/ukui-power-statistics.desktop.in.in.h:2
+msgid "Observe power management"
+msgstr "གློག་ཁུངས་དོ་དམ་ལྟ་འཛིན།"
+
--
2.30.0

View File

@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: ukui-power-manager
Version: 2.0.3
Release: 3
Release: 4
Summary: power management tool for the UKUI desktop
License: GPL-2+ LGPL-2+ GFDL-1.1+
URL: http://www.ukui.org
@ -9,6 +9,7 @@ Source0: %{name}-%{version}.tar.gz
patch0: 0001-fix-Log-print-error-correction.patch
patch1: 0001-Add-gitattributes-file.patch
patch2: 0002-Add-Tibetan-translation.patch
BuildRequires: qt5-qtbase-devel,intltool,libcanberra-devel,dbus-glib-devel,libgcrypt-devel,glib2-devel,gtk3-devel,libnotify-devel,libtool, libtool-ltdl,upower-devel,libwnck3-devel,libX11-devel,libXext-devel,perl-XML-Parser,libXrandr-devel,pkg-config,xmlto,yelp-tools,qt5-qtcharts-devel,qt5-qtx11extras-devel,gsettings-qt-devel, gnome-keyring, libgnome-keyring-devel
BuildRequires:mate-common >= 1.18
@ -47,6 +48,8 @@ This package contains the architecture independent files.
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
./autogen.sh --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 -enable-introspection --enable-compile-warnings=yes --enable-egl-device --enable-wayland --enable-native-backend
%build
@ -412,6 +415,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/help/zh_CN/ukui-power-manager/legal.xml
%changelog
* Mon Nov 1 2021 tanyulong <tanyulong@kylinos.cn> - 2.0.3-4
- Add Tibetan translation
* Mon Nov 1 2021 tanyulong <tanyulong@kylinos.cn> - 2.0.3-3
- Add .gitattributes file