!25 Update ts file and add today translation
From: @tanyulong2021 Reviewed-by: @peijiankang Signed-off-by: @peijiankang
This commit is contained in:
commit
6976ae4183
29
0009-Update-ts-file-and-add-today-translation.patch
Normal file
29
0009-Update-ts-file-and-add-today-translation.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From a7142ce48feb6b4f865fe93bf25376971f0d0546 Mon Sep 17 00:00:00 2001
|
||||||
|
From: tanyulong2021 <tanyulong@kylinos.cn>
|
||||||
|
Date: Wed, 13 Jul 2022 14:58:18 +0800
|
||||||
|
Subject: [PATCH] Update ts file and add today translation
|
||||||
|
|
||||||
|
---
|
||||||
|
translations/indicator-china-weather_zh_CN.ts | 8 ++++++++
|
||||||
|
1 file changed, 8 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/translations/indicator-china-weather_zh_CN.ts b/translations/indicator-china-weather_zh_CN.ts
|
||||||
|
index e656456..a525289 100644
|
||||||
|
--- a/translations/indicator-china-weather_zh_CN.ts
|
||||||
|
+++ b/translations/indicator-china-weather_zh_CN.ts
|
||||||
|
@@ -184,4 +184,12 @@
|
||||||
|
<translation>支持:support@kylinos.cn</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
+<context>
|
||||||
|
+ <name>Information</name>
|
||||||
|
+ <message>
|
||||||
|
+ <location filename="../src/informationwidget.cpp" line="233"/>
|
||||||
|
+ <source>Today</source>
|
||||||
|
+ <translation>今天</translation>
|
||||||
|
+ </message>
|
||||||
|
+</context>
|
||||||
|
</TS>
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
@ -1,7 +1,7 @@
|
|||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
Name: indicator-china-weather
|
Name: indicator-china-weather
|
||||||
Version: 3.1.0
|
Version: 3.1.0
|
||||||
Release: 15
|
Release: 16
|
||||||
Summary: The weather data are from the heweather API s6 version.
|
Summary: The weather data are from the heweather API s6 version.
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
URL: https://github.com/UbuntuKylin/indicator-china-weather
|
URL: https://github.com/UbuntuKylin/indicator-china-weather
|
||||||
@ -30,6 +30,7 @@ patch5: 0005-Increase-the-drag-bar-of-forecast-part.patch
|
|||||||
patch6: 0006-Hide-tray-icon-in-case-of-network-exception.patch
|
patch6: 0006-Hide-tray-icon-in-case-of-network-exception.patch
|
||||||
patch7: 0007-Repair-menu-button-hover-style-exception.patch
|
patch7: 0007-Repair-menu-button-hover-style-exception.patch
|
||||||
patch8: 0008-Solve-the-problem-of-button-backlighting.patch
|
patch8: 0008-Solve-the-problem-of-button-backlighting.patch
|
||||||
|
patch9: 0009-Update-ts-file-and-add-today-translation.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Indicator that displays China weather information
|
Indicator that displays China weather information
|
||||||
@ -48,6 +49,7 @@ patch8: 0008-Solve-the-problem-of-button-backlighting.patch
|
|||||||
%patch6 -p1
|
%patch6 -p1
|
||||||
%patch7 -p1
|
%patch7 -p1
|
||||||
%patch8 -p1
|
%patch8 -p1
|
||||||
|
%patch9 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{qmake_qt5} %{_qt5_qmake_flags} CONFIG+=enable-by-default indicator-china-weather.pro
|
%{qmake_qt5} %{_qt5_qmake_flags} CONFIG+=enable-by-default indicator-china-weather.pro
|
||||||
@ -79,6 +81,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/man/man1/indicator-china-weather.1.gz
|
%{_datadir}/man/man1/indicator-china-weather.1.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 13 2022 tanyulong <tanyulong@kylinos.cn> - 3.1.0-16
|
||||||
|
- Update ts file and add today translation
|
||||||
|
|
||||||
* Mon Jul 11 2022 peijiankang <peijiankang@kylinos.cn> - 3.1.0-15
|
* Mon Jul 11 2022 peijiankang <peijiankang@kylinos.cn> - 3.1.0-15
|
||||||
- 解决按钮反白的问题
|
- 解决按钮反白的问题
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user