Skip to content

Commit

Permalink
Update LoongArch specific translations
Browse files Browse the repository at this point in the history
  • Loading branch information
xry111 committed Aug 10, 2023
1 parent ed8060a commit 6a2af49
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 25 deletions.
11 changes: 2 additions & 9 deletions zh_CN/chapter08/openssl.po
Original file line number Diff line number Diff line change
Expand Up @@ -520,14 +520,7 @@ msgstr "准备编译 OpenSSL:"

#. type: Content of: <sect1><sect2><screen>
#: lfs-en/chapter08/openssl.xml
#, fuzzy, no-wrap
#| msgid ""
#| "<userinput remap=\"configure\">./config --prefix=/usr \\\n"
#| " --openssldir=/etc/ssl \\\n"
#| " --libdir=lib \\\n"
#| " linux-generic64 \\\n"
#| " shared \\\n"
#| " zlib-dynamic</userinput>"
#, no-wrap
msgid ""
"<userinput remap=\"configure\">./config --prefix=/usr \\\n"
" --openssldir=/etc/ssl \\\n"
Expand All @@ -539,7 +532,7 @@ msgstr ""
"<userinput remap=\"configure\">./config --prefix=/usr \\\n"
" --openssldir=/etc/ssl \\\n"
" --libdir=lib \\\n"
" linux-generic64 \\\n"
" linux64-loongarch64 \\\n"
" shared \\\n"
" zlib-dynamic</userinput>"

Expand Down
18 changes: 2 additions & 16 deletions zh_CN/chapter10/grub.po
Original file line number Diff line number Diff line change
Expand Up @@ -378,22 +378,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 ext2\n"
#| "set root=(hd0,2)\n"
#| "\n"
#| "insmod all_video\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 All @@ -416,6 +401,7 @@ msgstr ""
"set default=0\n"
"set timeout=5\n"
"\n"
"insmod part_gpt\n"
"insmod ext2\n"
"set root=(hd0,2)\n"
"\n"
Expand Down
5 changes: 5 additions & 0 deletions zh_CN/chapter10/kernel.po
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,7 @@ msgid ""
"Fix an issue causing all kernel modules built with Binutils-2.41 or later "
"not loadable:"
msgstr ""
"修复导致以 Binutils-2.41 或更新版本构建的所有内核模块都无法加载的问题:"

#. type: Content of: <sect1><sect2><screen>
#: lfs-en/chapter10/kernel.xml
Expand All @@ -738,6 +739,10 @@ msgid ""
"KBUILD_CFLAGS_MODULE += -Wa,-mno-relax</literal>\n"
"EOF</userinput>"
msgstr ""
"<userinput remap=\"pre\">cat &gt;&gt; arch/loongarch/Makefile &lt;&lt; EOF\n"
"<literal>KBUILD_AFLAGS_MODULE += -Wa,-mno-relax\n"
"KBUILD_CFLAGS_MODULE += -Wa,-mno-relax</literal>\n"
"EOF</userinput>"

#. type: Content of: <sect1><sect2><para>
#: lfs-en/chapter10/kernel.xml
Expand Down

0 comments on commit 6a2af49

Please sign in to comment.