[PATCH]anaconda: translate the tips about expected capacity into Chinese

category: bugfix
bugzilla: https://gitee.com/src-openeuler/anaconda/issues/I660YD?from=project-issue

Signed-off-by: Guangzhong Yao <yaoguangzhong@xfusion.com>
This commit is contained in:
yaoguangzhong 2022-12-13 17:24:26 +08:00
parent 7faa16bf38
commit a12e79d3f9
2 changed files with 63 additions and 1 deletions

View File

@ -4,7 +4,7 @@
%endif
Name: anaconda
Version: 33.19
Release: 37
Release: 38
Summary: Graphical system installer
License: GPLv2+ and MIT
URL: http://fedoraproject.org/wiki/Anaconda
@ -131,6 +131,7 @@ Patch6079: backport-dracut-handle-compressed-kernel-modules.patch
Patch6080: backport-network-use-separate-main-conext-for-NM-client-in-threads.patch
Patch9028: bugfix-translate-the-prompt-information-of-hostname-.patch
Patch9029: bugfix-translate-the-tips-about-expected-capacity-into-Chin.patch
%define dbusver 1.2.3
%define dnfver 3.6.0
@ -344,6 +345,12 @@ update-desktop-database &> /dev/null || :
%{_datadir}/gtk-doc
%changelog
* Wed Dec 14 2022 yaoguangzhong <yaoguangzhong@xfusion.com> - 33.19-38
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:translate the tips about expected capacity into Chinese
* Tue Dec 13 2022 yaoguangzhong <yaoguangzhong@xfusion.com> - 33.19-37
- Type:bugfix
- ID:NA

View File

@ -0,0 +1,55 @@
From a51887f5a1d5473784ad5494e39ddc6f55324a2e Mon Sep 17 00:00:00 2001
From: yaoguangzhong <yaoguangzhong@xfusion.com>
Date: Tue, 13 Dec 2022 17:10:53 +0800
Subject: [PATCH] translate the tips about expected capacity into Chinese
---
po/zh_CN.po | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/po/zh_CN.po b/po/zh_CN.po
index 92b9084..a208c70 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -268,6 +268,25 @@ msgid ""
"disk below."
msgstr "请为 %(container_type)s 起个名字然后从下方至少选择一个磁盘。"
+#: pyanaconda/ui/gui/spokes/lib/custom_storage_helpers.py:53
+msgid ""
+"Specify the Desired Capacity in whole or decimal numbers, with an appropriate unit.\n\n"
+"Spaces separating digit groups are not allowed. Units consist of a decimal or binary "
+"prefix, and optionally the letter B. Letter case does not matter for units. The default "
+"unit used when units are left out is MiB.\n\n"
+"Examples of valid input:\n"
+"'100 GiB' = 100 gibibytes\n"
+"'512m' = 512 megabytes\n"
+"'123456789' = 123 terabytes and a bit less than a half\n"
+msgstr ""
+"以整数或十进制数字指定所需容量,并使用适当的单位。\n\n"
+"不允许使用空格分隔数字组。 单位由十进制或二进制前缀和可选的字母 B 组成。"
+"字母大小写与单位无关。默认省略单位时使用的单位是 MiB。\n\n"
+"有效输入示例:\n"
+"'100 GiB'=100 GB\n"
+"'512 MiB'=512 MB\n"
+"'123456789 MiB' = 123 TB 不到一半\n"
+
#: pyanaconda/ui/gui/spokes/lib/custom_storage_helpers.py:57
#: pyanaconda/ui/gui/spokes/lib/custom_storage_helpers.py:60
msgid "Volume Group"
@@ -978,6 +997,12 @@ msgid ""
msgstr ""
"检查存储配置时出现警告。<a href=\"\">点击查看详情</a>或再次按完成按钮继续。"
+#: pyanaconda/ui/gui/spokes/custom_storage.py:1574
+msgid ""
+"Invalid input. Specify the Desired Capacity in whole or decimal numbers, "
+"with an appropriate unit."
+msgstr "输入无效。以整数或小数形式指定所需容量,并使用适当的单位。"
+
#: pyanaconda/ui/gui/spokes/blivet_gui.py:318
#: pyanaconda/ui/gui/spokes/custom_storage.py:1770
msgid ""
--
2.27.0