Skip to content

Commit

Permalink
Manual translation after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
xry111 committed Jan 30, 2025
1 parent 9a2e432 commit 76af7b4
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 89 deletions.
2 changes: 1 addition & 1 deletion lfs-en
Submodule lfs-en updated from f1e1be to b5a113
17 changes: 6 additions & 11 deletions zh_CN/chapter03/patches.po
Original file line number Diff line number Diff line change
Expand Up @@ -38,30 +38,25 @@ msgstr ""

#. type: Content of: <sect1><variablelist><varlistentry><term>
#: lfs-en/chapter03/patches.xml
#, fuzzy
#| msgid ""
#| "Coreutils Internationalization Fixes Patch - <token>&coreutils-i18n-patch-"
#| "size;</token>:"
msgid ""
"Binutils LoongArch Fix Patch - <token>&binutils-loongarch-patch-size;</"
"token>:"
msgstr "Coreutils 国际化修复补丁 - <token>&coreutils-i18n-patch-size;</token>:"
msgstr ""
"Binutils LoongArch 修复补丁 - <token>&binutils-loongarch-patch-size;</token>:"

#. type: Content of: <sect1><variablelist><varlistentry><listitem><para>
#: lfs-en/chapter03/patches.xml
#, fuzzy
#| msgid "Download: <ulink url=\"&patches-root;&coreutils-i18n-patch;\"/>"
msgid ""
"Download: <ulink url=\"&lfs-root;~xry111/lfs/patches/&binutils-loongarch-"
"patch;\"/>"
msgstr "下载地址:<ulink url=\"&patches-root;&coreutils-i18n-patch;\"/>"
msgstr ""
"下载地址:<ulink url=\"&lfs-root;~xry111/lfs/patches/&binutils-loongarch-"
"patch;\"/>"

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

#. type: Content of: <sect1><variablelist><varlistentry><term>
#: lfs-en/chapter03/patches.xml
Expand Down
5 changes: 2 additions & 3 deletions zh_CN/chapter04/addinguser.po
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,9 @@ msgstr ""

#. type: Content of: <sect1><screen>
#: lfs-en/chapter04/addinguser.xml
#, fuzzy, no-wrap
#| msgid "<userinput>chown -v lfs $LFS/{usr{,/*},lib,lib64,var,etc,bin,sbin,tools}</userinput>"
#, no-wrap
msgid "<userinput>chown -v &lfs-username; $LFS/{usr{,/*},lib,lib64,var,etc,bin,sbin,tools}</userinput>"
msgstr "<userinput>chown -v lfs $LFS/{usr{,/*},lib,lib64,var,etc,bin,sbin,tools}</userinput>"
msgstr "<userinput>chown -v &lfs-username; $LFS/{usr{,/*},lib,lib64,var,etc,bin,sbin,tools}</userinput>"

#. type: Content of: <sect1><note><para>
#: lfs-en/chapter04/addinguser.xml
Expand Down
5 changes: 2 additions & 3 deletions zh_CN/chapter07/changingowner.po
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ msgstr ""

#. type: Content of: <sect1><screen>
#: lfs-en/chapter07/changingowner.xml
#, fuzzy, no-wrap
#| msgid "<userinput>chown --from lfs -R root:root $LFS/{usr,lib,lib64,var,etc,bin,sbin,tools}</userinput>"
#, no-wrap
msgid "<userinput>chown --from &lfs-username; -R root:root $LFS/{usr,lib,lib64,var,etc,bin,sbin,tools}</userinput>"
msgstr "<userinput>chown --from lfs -R root:root $LFS/{usr,lib,lib64,var,etc,bin,sbin,tools}</userinput>"
msgstr "<userinput>chown --from &lfs-username; -R root:root $LFS/{usr,lib,lib64,var,etc,bin,sbin,tools}</userinput>"
7 changes: 3 additions & 4 deletions zh_CN/chapter08/binutils.po
Original file line number Diff line number Diff line change
Expand Up @@ -467,14 +467,13 @@ msgstr "<userinput remap=\"pre\">patch -Np1 -i ../&binutils-upstream-patch;</use
#: lfs-en/chapter08/binutils.xml
msgid ""
"Then fix some bugs which may cause some packages fail to build for LoongArch:"
msgstr ""
msgstr "然后修复一些导致某些软件包无法为 LoongArch 构建的问题:"

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

#. type: Content of: <sect1><sect2><screen>
#: lfs-en/chapter08/binutils.xml
Expand Down
28 changes: 10 additions & 18 deletions zh_CN/chapter08/glibc.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Linux From Scratch 11.0\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2025-01-30 19:19+0800\n"
"POT-Creation-Date: 2025-01-30 19:28+0800\n"
"PO-Revision-Date: 2021-08-21 11:33+0800\n"
"Last-Translator: Xi Ruoyao <[email protected]>\n"
"Language-Team: none\n"
Expand Down Expand Up @@ -1511,25 +1511,17 @@ msgstr ""

#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
#: lfs-en/chapter08/glibc.xml
#, fuzzy
#| msgid ""
#| "ld-linux-x86-64.so.2, ld-linux.so.2, libBrokenLocale.{a,so}, libanl."
#| "{a,so}, libc.{a,so}, libc_nonshared.a, libc_malloc_debug.so, libdl."
#| "{a,so.2}, libg.a, libm.{a,so}, libmcheck.a, libmemusage.so, libmvec."
#| "{a,so}, libnsl.so.1, libnss_compat.so, libnss_dns.so, libnss_files.so, "
#| "libnss_hesiod.so, libpcprofile.so, libpthread.{a,so.0}, libresolv.{a,so}, "
#| "librt.{a,so.1}, libthread_db.so, and libutil.{a,so.1}"
msgid ""
"ld-linux-x86-64.so.2, ld-linux.so.2, libBrokenLocale.{a,so}, libanl.{a,so}, "
"libc.{a,so}, libc_nonshared.a, libc_malloc_debug.so, libdl.{a,so.2}, libg.a, "
"libm.{a,so}, libmcheck.a, libmemusage.so, libmvec.{a,so}, libnsl.so.1, "
msgid ""
"ld-linux-loongarch64-lp64d.so.1, libBrokenLocale.{a,so}, libanl.{a,so}, libc."
"{a,so}, libc_nonshared.a, libc_malloc_debug.so, libdl.{a,so.2}, libg.a, libm."
"{a,so}, libmcheck.a, libmemusage.so, libmvec.{a,so}, libnsl.so.1, "
"libnss_compat.so, libnss_dns.so, libnss_files.so, libnss_hesiod.so, "
"libpcprofile.so, libpthread.{a,so.0}, libresolv.{a,so}, librt.{a,so.1}, "
"libthread_db.so, and libutil.a"
msgstr ""
"ld-linux-x86-64.so.2, ld-linux.so.2, libBrokenLocale.{a,so}, libanl.{a,so}, "
"libc.{a,so}, libc_nonshared.a, libc_malloc_debug.so, libdl.{a,so.2}, libg.a, "
"libm.{a,so}, libmcheck.a, libmemusage.so, libmvec.{a,so}, libnsl.so.1, "
"ld-linux-loongarch64-lp64d.so.1, libBrokenLocale.{a,so}, libanl.{a,so}, libc."
"{a,so}, libc_nonshared.a, libc_malloc_debug.so, libdl.{a,so.2}, libg.a, libm."
"{a,so}, libmcheck.a, libmemusage.so, libmvec.{a,so}, libnsl.so.1, "
"libnss_compat.so, libnss_dns.so, libnss_files.so, libnss_hesiod.so, "
"libpcprofile.so, libpthread.{a,so.0}, libresolv.{a,so}, librt.{a,so.1}, "
"libthread_db.so, 以及 libutil.{a,so.1}"
Expand Down Expand Up @@ -1881,8 +1873,8 @@ msgstr "zic"

#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
#: lfs-en/chapter08/glibc.xml
msgid "<filename class=\"libraryfile\">ld-*.so</filename>"
msgstr "<filename class=\"libraryfile\">ld-*.so</filename>"
msgid "<filename class=\"libraryfile\">ld-linux-loongarch-lp64d.so</filename>"
msgstr "<filename class=\"libraryfile\">ld-linux-loongarch-lp64d.so</filename>"

#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
#: lfs-en/chapter08/glibc.xml
Expand Down
45 changes: 6 additions & 39 deletions zh_CN/chapter10/grub.po
Original file line number Diff line number Diff line change
Expand Up @@ -343,24 +343,7 @@ msgstr "生成 <filename>/boot/grub/grub.cfg</filename>:"

#. type: Content of: <sect1><sect2><screen>
#: lfs-en/chapter10/grub.xml
#, fuzzy, no-wrap
#| msgid ""
#| "<userinput>cat &gt; /boot/grub/grub.cfg &lt;&lt; \"EOF\"\n"
#| "<literal># Begin /boot/grub/grub.cfg\n"
#| "set default=0\n"
#| "set timeout=5\n"
#| "\n"
#| "insmod part_gpt\n"
#| "insmod ext2\n"
#| "set root=(hd0,2)\n"
#| "\n"
#| "insmod efi_gop\n"
#| "insmod efi_uga\n"
#| "\n"
#| "menuentry \"GNU/Linux, Linux &linux-version;-lfs-&version;\" {\n"
#| " linux /boot/vmlinuz-&linux-version;-lfs-&version; root=/dev/sda2 ro\n"
#| "}</literal>\n"
#| "EOF</userinput>"
#, no-wrap
msgid ""
"<userinput>cat &gt; /boot/grub/grub.cfg &lt;&lt; \"EOF\"\n"
"<literal># Begin /boot/grub/grub.cfg\n"
Expand Down Expand Up @@ -389,7 +372,6 @@ msgstr ""
"set root=(hd0,2)\n"
"\n"
"insmod efi_gop\n"
"insmod efi_uga\n"
"\n"
"menuentry \"GNU/Linux, Linux &linux-version;-lfs-&version;\" {\n"
" linux /boot/vmlinuz-&linux-version;-lfs-&version; root=/dev/sda2 ro\n"
Expand All @@ -398,22 +380,6 @@ msgstr ""

#. type: Content of: <sect1><sect2><para>
#: lfs-en/chapter10/grub.xml
#, fuzzy
#| msgid ""
#| "The <command>insmod</command> commands load the <application>GRUB</"
#| "application> modules named <filename>part_gpt</filename> and "
#| "<filename>ext2</filename>. Despite the naming, <filename>ext2</filename> "
#| "actually supports <systemitem class='filesystem'>ext2</systemitem>, "
#| "<systemitem class='filesystem'>ext3</systemitem>, and <systemitem "
#| "class='filesystem'>ext4</systemitem> filesystems. The <command>grub-"
#| "install</command> command has embedded some modules into the main "
#| "<application>GRUB</application> image (installed into the MBR or the GRUB "
#| "BIOS partition) to access the other modules (in <filename "
#| "class='directory'>/boot/grub/i386-pc</filename>) without a chicken-or-egg "
#| "issue, so with a typical configuration these two modules are already "
#| "embedded and those two <command>insmod</command> commands will do "
#| "nothing. But they do no harm anyway, and they may be needed with some "
#| "rare configurations."
msgid ""
"The <command>insmod</command> commands load the <application>GRUB</"
"application> modules named <filename>part_gpt</filename> and <filename>ext2</"
Expand All @@ -436,10 +402,11 @@ msgstr ""
"systemitem>,以及 <systemitem class='filesystem'>ext4</systemitem> 文件系统。"
"<command>grub-install</command> 命令已经将一些模块嵌入 <application>GRUB</"
"application> 主映像 (它安装在 MBR 或 GRUB BIOS 分区中),以便在访问其他模块 "
"(这些模块在 <filename class='directory'>/boot/grub/i386-pc</filename> 中) 时"
"避免“先有鸡还是先有蛋”的问题。因此,在典型的系统配置中,这两个模块已经被嵌入"
"主映像,此时这两条 <command>insmod</command> 命令不会产生任何效果。但是无论如"
"何它们不会造成损害,而且在一些少见的系统配置中它们可能是必要的。"
"(这些模块在 <filename class='directory'>/boot/grub/loongarch64-efi</"
"filename> 中) 时避免“先有鸡还是先有蛋”的问题。因此,在典型的系统配置中,这两"
"个模块已经被嵌入主映像,此时这两条 <command>insmod</command> 命令不会产生任何"
"效果。但是无论如何它们不会造成损害,而且在一些少见的系统配置中它们可能是必要"
"的。"

#. type: Content of: <sect1><sect2><para>
#: lfs-en/chapter10/grub.xml
Expand Down
25 changes: 15 additions & 10 deletions zh_CN/prologue/standards.po
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,6 @@ msgstr ""

#. type: Content of: <sect1><itemizedlist><listitem><para>
#: lfs-en/prologue/standards.xml
#, fuzzy
#| msgid ""
#| "The LSB has four separate specifications: Core, Desktop, Runtime "
#| "Languages, and Imaging. Some parts of Core and Desktop specifications "
#| "are architecture specific. There are also two trial specifications: Gtk3 "
#| "and Graphics. LFS attempts to conform to the LSB specifications for the "
#| "IA32 (32-bit x86) or AMD64 (x86_64) architectures discussed in the "
#| "previous section."
msgid ""
"The LSB has four separate specifications: Core, Desktop, Languages, and "
"Imaging. Some parts of Core and Desktop specifications are architecture "
Expand All @@ -136,8 +128,9 @@ msgid ""
msgstr ""
"LSB 由四个独立的规范组成:Core、Desktop、Runtime Language 和 Imaging。Core "
"和 Desktop 规范中一些部分是架构相关的。另外,还有两个处于试用阶段的规范:"
"Gtk3 和 Graphics。LFS 试图遵循 LSB 对前一节讨论的 IA32 (32 位 x86) 和AMD64 "
"(x86_64) 架构的要求。"
"Gtk3 和 Graphics。LSB 没有为 LoongArch 编写架构相关的部分。且 LoongArch 平台"
"上 Glibc 特意忽略了 LSB Core 的架构无关部分要求的一些符号版本,因此我们无法满"
"足 LSB 的架构无关部分,但我们仍然将其作为参考。"

#. type: Content of: <sect1><itemizedlist><listitem><note><para>
#: lfs-en/prologue/standards.xml
Expand Down Expand Up @@ -275,6 +268,18 @@ msgid ""
"be provided as a symlink to <filename class='libraryfile'>libc.so.6</"
"filename>)"
msgstr ""
"<command>install_initd</command>, <filename class='libraryfile'>libc.so.6</"
"filename> (LFS Glibc 软件包提供该文件,但缺失 LSB 要求的符号版本), <filename "
"class='libraryfile'>libcrypt.so.1</filename> (可以通过 LFS Libxcrypt 软件包的"
"可选命令提供), <filename class='libraryfile'>libpthread.so.2</filename> (LFS "
"Glibc 软件包提供该文件,但缺失 LSB 要求的符号版本), <filename "
"class='libraryfile'>libncurses.so.5</filename> (可以通过 LFS Ncurses 软件包的"
"可选命令提供), <filename class='libraryfile'>libncursesw.so.5</filename> (但 "
"LFS Ncurses 软件包提供 <filename class='libraryfile'>libncursesw.so.6</"
"filename>), <filename class='libraryfile'>librt.so.1</filename> (LFS Glibc 软"
"件包提供该文件,但缺失 LSB 要求的符号版本), <filename "
"class='libraryfile'>libutil.so.1</filename> (可以提供为 <filename "
"class='libraryfile'>libc.so.6</filename> 的符号链接)"

#. type: Content of: <sect1><variablelist><varlistentry><listitem><para>
#: lfs-en/prologue/standards.xml
Expand Down

0 comments on commit 76af7b4

Please sign in to comment.