[PATCH]anaconda: translate the prompt information of hostname into Chinese

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

Signed-off-by: Guangzhong Yao <yaoguangzhong@xfusion.com>
This commit is contained in:
yaoguangzhong 2022-12-13 15:32:58 +08:00
parent 0ca07354d9
commit 7faa16bf38
2 changed files with 40 additions and 1 deletions

View File

@ -4,7 +4,7 @@
%endif
Name: anaconda
Version: 33.19
Release: 36
Release: 37
Summary: Graphical system installer
License: GPLv2+ and MIT
URL: http://fedoraproject.org/wiki/Anaconda
@ -130,6 +130,8 @@ Patch9027: bugfix-Solve-the-problem-that-the-circular-loading-progress-bar-do
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
%define dbusver 1.2.3
%define dnfver 3.6.0
%define dracutver 034-7
@ -342,6 +344,12 @@ update-desktop-database &> /dev/null || :
%{_datadir}/gtk-doc
%changelog
* Tue Dec 13 2022 yaoguangzhong <yaoguangzhong@xfusion.com> - 33.19-37
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:translate the prompt information of hostname into Chinese
* Mon Nov 21 2022 sunhai <sunhai10@huawei.com> - 33.19-36
- Type:bugfix
- ID:NA

View File

@ -0,0 +1,31 @@
From fd2b43a5599375277cbcdd9c62e8afdd7b2677ac Mon Sep 17 00:00:00 2001
From: yaoguangzhong <yaoguangzhong@xfusion.com>
Date: Tue, 13 Dec 2022 15:20:30 +0800
Subject: [PATCH] bugfix: translate the prompt information of hostname into
Chinese
---
po/zh_CN.po | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/po/zh_CN.po b/po/zh_CN.po
index df9e015..92b9084 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -2366,10 +2366,10 @@ msgstr "本地主机名绝不能以句号\".\"结尾。"
msgid ""
"Host names can only contain the characters 'a-z', 'A-Z', '0-9', '-', or '.', "
"parts between periods must contain something being 63 or fewer "
-"characters and cannot start or end with '-'."
+"characters and cannot start or end with '.' and '-'."
msgstr ""
-"主机名只能包含 'a-z', 'A-Z', '0-9', '-'(英文减号), 或者 '.'(英文点号),其"
-"中两个点号中不能为空必须少于64个字符且不能以'-'开头或结尾。"
+"主机名只能包含字符'a-z', 'A-Z', '0-9', '-'(英文减号), 或者 '.'(英文点号),"
+"句点之间的部分必须包含63个或更少的字符并且不能以“.”和“-”开头或结尾。"
#: pyanaconda/network.py:465
msgid "Status not available"
--
2.27.0