修改救援模式中文乱码问题
Signed-off-by: ut001695 <zhangkea@uniontech.com>
This commit is contained in:
parent
96f7dfc7d2
commit
50c0235ea7
56
modify-rescuemode-chinese-error.patch
Normal file
56
modify-rescuemode-chinese-error.patch
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
From 5b81afefaba928dfb2f6686ed90e4512fff19357 Mon Sep 17 00:00:00 2001
|
||||||
|
From: ut001695 <zhangkea@uniontech.com>
|
||||||
|
Date: Fri, 6 Nov 2020 16:28:05 +0800
|
||||||
|
Subject: [PATCH] 1
|
||||||
|
|
||||||
|
---
|
||||||
|
po/util-linux.pot | 8 ++++----
|
||||||
|
po/zh_CN.po | 12 ++++++------
|
||||||
|
2 files changed, 10 insertions(+), 10 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/po/util-linux.pot b/po/util-linux.pot
|
||||||
|
index fe84f6e..ebbc162 100644
|
||||||
|
--- a/po/util-linux.pot
|
||||||
|
+++ b/po/util-linux.pot
|
||||||
|
@@ -7622,10 +7622,10 @@ msgstr ""
|
||||||
|
|
||||||
|
#: login-utils/login.c:801 login-utils/sulogin.c:1013
|
||||||
|
#, c-format
|
||||||
|
-msgid ""
|
||||||
|
-"Login incorrect\n"
|
||||||
|
-"\n"
|
||||||
|
-msgstr ""
|
||||||
|
+#msgid ""
|
||||||
|
+#"Login incorrect\n"
|
||||||
|
+#"\n"
|
||||||
|
+#msgstr ""
|
||||||
|
|
||||||
|
#: login-utils/login.c:816
|
||||||
|
#, c-format
|
||||||
|
diff --git a/po/zh_CN.po b/po/zh_CN.po
|
||||||
|
index 9da9f78..2f6e31b 100644
|
||||||
|
--- a/po/zh_CN.po
|
||||||
|
+++ b/po/zh_CN.po
|
||||||
|
@@ -7624,12 +7624,12 @@ msgstr "FAILED LOGIN %u FROM %s FOR %s, %s"
|
||||||
|
|
||||||
|
#: login-utils/login.c:801 login-utils/sulogin.c:1013
|
||||||
|
#, c-format
|
||||||
|
-msgid ""
|
||||||
|
-"Login incorrect\n"
|
||||||
|
-"\n"
|
||||||
|
-msgstr ""
|
||||||
|
-"登录不正确\n"
|
||||||
|
-"\n"
|
||||||
|
+#msgid ""
|
||||||
|
+#"Login incorrect\n"
|
||||||
|
+#"\n"
|
||||||
|
+#msgstr ""
|
||||||
|
+#"登录不正确\n"
|
||||||
|
+#"\n"
|
||||||
|
|
||||||
|
#: login-utils/login.c:816
|
||||||
|
#, c-format
|
||||||
|
--
|
||||||
|
2.23.0
|
||||||
|
|
||||||
|
|
||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: util-linux
|
Name: util-linux
|
||||||
Version: 2.35.2
|
Version: 2.35.2
|
||||||
Release: 8
|
Release: 9
|
||||||
Summary: A random collection of Linux utilities
|
Summary: A random collection of Linux utilities
|
||||||
License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain
|
License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain
|
||||||
URL: https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git
|
URL: https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git
|
||||||
@ -60,7 +60,7 @@ Patch21: backpaort-update-fdisk-outputs-due-to-sizes-rounding-change.patc
|
|||||||
Patch6000: backport-CVE-2021-37600.patch
|
Patch6000: backport-CVE-2021-37600.patch
|
||||||
|
|
||||||
Patch9000: Add-check-to-resolve-uname26-version-test-failed.patch
|
Patch9000: Add-check-to-resolve-uname26-version-test-failed.patch
|
||||||
|
Patch9001: modify-rescuemode-chinese-error.patch
|
||||||
%description
|
%description
|
||||||
The util-linux package contains a random collection of files that
|
The util-linux package contains a random collection of files that
|
||||||
implements some low-level basic linux utilities.
|
implements some low-level basic linux utilities.
|
||||||
@ -407,6 +407,12 @@ fi
|
|||||||
%{_mandir}/man8/{swapoff.8*,swapon.8*,switch_root.8*,umount.8*,wdctl.8.gz,wipefs.8*,zramctl.8*}
|
%{_mandir}/man8/{swapoff.8*,swapon.8*,switch_root.8*,umount.8*,wdctl.8.gz,wipefs.8*,zramctl.8*}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 20 2021 zhangke <zhangkea@uniontech.com> - 2.35.2-9
|
||||||
|
- Type:enhancement
|
||||||
|
- Id:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:modify rescuemode chinese error
|
||||||
|
|
||||||
* Tue Aug 10 2021 shixuantong<shixuantong@huawei.com> - 2.35.2-8
|
* Tue Aug 10 2021 shixuantong<shixuantong@huawei.com> - 2.35.2-8
|
||||||
- Type:CVE
|
- Type:CVE
|
||||||
- ID:CVE-2021-37600
|
- ID:CVE-2021-37600
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user