From b4fe6b5dc4aefd5fd542a72fe72182fa2a134b6d Mon Sep 17 00:00:00 2001 From: yueyuankun Date: Tue, 10 Oct 2023 16:01:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E5=A4=84=E6=B1=89?= =?UTF-8?q?=E5=8C=96=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 0002-Fix-a-Chinese-translation.patch | 26 ++++++++++++++++++++++++++ fwupd.spec | 6 +++++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 0002-Fix-a-Chinese-translation.patch diff --git a/0002-Fix-a-Chinese-translation.patch b/0002-Fix-a-Chinese-translation.patch new file mode 100644 index 0000000..1989af2 --- /dev/null +++ b/0002-Fix-a-Chinese-translation.patch @@ -0,0 +1,26 @@ +From e1a3bf41aa41d5b066d26540d4bdec1459fe51db Mon Sep 17 00:00:00 2001 +From: yueyuankun +Date: Wed, 27 Sep 2023 19:42:17 +0800 +Subject: [PATCH] Modify zh_CN.po, fix a Chinese translation + +--- + po/zh_CN.po | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/po/zh_CN.po b/po/zh_CN.po +index ec53b7e..76483bb 100644 +--- a/po/zh_CN.po ++++ b/po/zh_CN.po +@@ -432,7 +432,7 @@ msgstr "加密固件数据" + + #. TRANSLATORS: command description + msgid "Erase all firmware update history" +-msgstr "清楚所有固件更新历史" ++msgstr "清除所有固件更新历史" + + #. TRANSLATORS: erasing contents of the flash chips + msgid "Erasing…" +-- +2.33.0 + + diff --git a/fwupd.spec b/fwupd.spec index 3e8eee2..8db539d 100644 --- a/fwupd.spec +++ b/fwupd.spec @@ -13,13 +13,14 @@ Name: fwupd Version: 1.5.8 -Release: 5 +Release: 6 Summary: Make updating firmware on Linux automatic, safe and reliable License: LGPLv2+ URL: https://github.com/fwupd/fwupd/releases Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz #refer: https://github.com/fwupd/fwupd/commit/e74d38bfd3097471fe60dbe843a68c16516a78da Patch0001: 0001-Fix-compiling-with-new-versions-of-efivar.patch +Patch0002: 0002-Fix-a-Chinese-translation.patch BuildRequires: gettext glib2-devel libxmlb-devel valgrind valgrind-devel libgcab1-devel BuildRequires: gpgme-devel libgudev1-devel libgusb-devel libsoup-devel polkit-devel sqlite-devel libxslt @@ -182,6 +183,9 @@ mkdir -pm 0700 %{buildroot}%{_localstatedir}/lib/%{name}/gnupg %{_datadir}/man/man1/* %changelog +* Tue Oct 10 2023 yueyuankun - 1.5.8-6 +- Fix a Chinese translation + * Thu Dec 01 2022 yaoxin - 1.5.8-5 - Resolve fwupd upgrade and downgrade error -- Gitee