Skip to content

Commit

Permalink
Manual translate after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
xry111 committed Jan 23, 2024
1 parent 1a47c2e commit 6ad8fc6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 37 deletions.
1 change: 1 addition & 0 deletions zh_CN/chapter01/changelog.po
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ msgstr "2024 年 1 月 22 日"
msgid ""
"[xry111] - Patch OpenSSL-3.2.0 to fix various runtime issues on LoongArch."
msgstr ""
"[xry111] — 修补 OpenSSL-3.2.0 以修复 LoongArch 平台上的若干运行时问题。"

#. type: Content of: <sect1><itemizedlist><listitem><para>
#: lfs-en/chapter01/changelog.xml
Expand Down
11 changes: 5 additions & 6 deletions zh_CN/chapter03/patches.po
Original file line number Diff line number Diff line change
Expand Up @@ -118,25 +118,24 @@ msgstr "MD5 校验和:<literal>&kbd-backspace-patch-md5;</literal>"

#. type: Content of: <sect1><variablelist><varlistentry><term>
#: lfs-en/chapter03/patches.xml
#, fuzzy
#| msgid "Glibc FHS Patch - <token>&glibc-fhs-patch-size;</token>:"
msgid ""
"OpenSSL LoongArch Fix Patch - <token>&openssl-loongarch-patch-size;</token>:"
msgstr "Glibc FHS 补丁 - <token>&glibc-fhs-patch-size;</token>:"
msgstr ""
"OpenSSL LoongArch 修复补丁 - <token>&openssl-loongarch-patch-size;</token>:"

#. type: Content of: <sect1><variablelist><varlistentry><listitem><para>
#: lfs-en/chapter03/patches.xml
msgid ""
"Download: <ulink url=\"https://linuxfromscratch.org/~xry111/lfs/patches/"
"&openssl-loongarch-patch;\"/>"
msgstr ""
"下载地址:<ulink url=\"https://linuxfromscratch.org/~xry111/lfs/patches/"
"&openssl-loongarch-patch;\"/>"

#. type: Content of: <sect1><variablelist><varlistentry><listitem><para>
#: lfs-en/chapter03/patches.xml
#, fuzzy
#| msgid "MD5 sum: <literal>&openssl-md5;</literal>"
msgid "MD5 sum: <literal>&openssl-loongarch-patch-md5;</literal>"
msgstr "MD5 校验和:<literal>&openssl-md5;</literal>"
msgstr "MD5 校验和:<literal>&openssl-loongarch-patch-md5;</literal>"

#. type: Content of: <sect1><variablelist><varlistentry><term>
#: lfs-en/chapter03/patches.xml
Expand Down
7 changes: 3 additions & 4 deletions zh_CN/chapter08/openssl.po
Original file line number Diff line number Diff line change
Expand Up @@ -514,14 +514,13 @@ msgstr "安装 OpenSSL"
#. type: Content of: <sect1><sect2><para>
#: lfs-en/chapter08/openssl.xml
msgid "First apply a patch to fix various runtime issues on LoongArch:"
msgstr ""
msgstr "首先应用补丁,以修复 LoongArch 平台上的若干运行时问题:"

#. type: Content of: <sect1><sect2><screen>
#: lfs-en/chapter08/openssl.xml
#, fuzzy, no-wrap
#| msgid "<userinput remap=\"pre\">patch -Np1 -i ../&bzip2-docs-patch;</userinput>"
#, no-wrap
msgid "<userinput remap=\"pre\">patch -Np1 -i ../&openssl-loongarch-patch;</userinput>"
msgstr "<userinput remap=\"pre\">patch -Np1 -i ../&bzip2-docs-patch;</userinput>"
msgstr "<userinput remap=\"pre\">patch -Np1 -i ../&openssl-loongarch-patch;</userinput>"

#. type: Content of: <sect1><sect2><para>
#: lfs-en/chapter08/openssl.xml
Expand Down
29 changes: 2 additions & 27 deletions zh_CN/chapter08/systemd.po
Original file line number Diff line number Diff line change
Expand Up @@ -479,32 +479,7 @@ msgstr "准备安装 systemd:"

#. type: Content of: <sect1><sect2><screen>
#: lfs-en/chapter08/systemd.xml
#, fuzzy, no-wrap
#| msgid ""
#| "<userinput remap=\"configure\">mkdir -p build\n"
#| "cd build\n"
#| "\n"
#| "CFLAGS+=\" -Wno-format-overflow\" \\\n"
#| "meson setup \\\n"
#| " --prefix=/usr \\\n"
#| " --buildtype=release \\\n"
#| " -Ddefault-dnssec=no \\\n"
#| " -Dfirstboot=false \\\n"
#| " -Dinstall-tests=false \\\n"
#| " -Dldconfig=false \\\n"
#| " -Dsysusers=false \\\n"
#| " -Drpmmacrosdir=no \\\n"
#| " -Dhomed=disabled \\\n"
#| " -Duserdb=false \\\n"
#| " -Dman=false \\\n"
#| " -Dmode=release \\\n"
#| " -Dpamconfdir=no \\\n"
#| " -Ddev-kvm-mode=0660 \\\n"
#| " -Dnobody-group=nogroup \\\n"
#| " -Dsysupdate=disabled \\\n"
#| " -Dukify=disabled \\\n"
#| " -Ddocdir=/usr/share/doc/systemd-&systemd-version; \\\n"
#| " ..</userinput>"
#, no-wrap
msgid ""
"<userinput remap=\"configure\">mkdir -p build\n"
"cd build\n"
Expand Down Expand Up @@ -546,7 +521,7 @@ msgstr ""
" -Drpmmacrosdir=no \\\n"
" -Dhomed=disabled \\\n"
" -Duserdb=false \\\n"
" -Dman=false \\\n"
" -Dman=disabled \\\n"
" -Dmode=release \\\n"
" -Dpamconfdir=no \\\n"
" -Ddev-kvm-mode=0660 \\\n"
Expand Down

0 comments on commit 6ad8fc6

Please sign in to comment.