Przeglądaj źródła

remove two useless files

Xℹ Ruoyao 5 lat temu
rodzic
commit
56d20d5d0e
3 zmienionych plików z 3 dodań i 154 usunięć
  1. 3 1
      Makefile
  2. 0 70
      zh_CN/chapter04/aboutlfs.po
  3. 0 83
      zh_CN/chapter04/creatingtoolsdir.po

+ 3 - 1
Makefile

@@ -1,7 +1,9 @@
 LFS_EN = /home/xry111/svn-repos/LFS-BOOK
 MLANG=zh_CN
 ALL_XML_FILES = $(shell find $(LFS_EN) -type f -name '*.xml')
-EXCLUDE_FILES = $(LFS_EN)/chapter01/livecd.xml
+EXCLUDE_FILES = $(LFS_EN)/chapter01/livecd.xml \
+				$(LFS_EN)/chapter04/creatingtoolsdir.xml \
+				$(LFS_EN)/chapter04/aboutlfs.xml
 XML_FILES = $(filter-out $(EXCLUDE_FILES), $(ALL_XML_FILES))
 PO_FILES = $(patsubst $(LFS_EN)/%.xml, $(MLANG)/%.po, $(XML_FILES))
 

+ 0 - 70
zh_CN/chapter04/aboutlfs.po

@@ -1,70 +0,0 @@
-# SOME DESCRIPTIVE TITLE
-# Copyright (C) YEAR Free Software Foundation, Inc.
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2020-06-17 12:44+0800\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. type: Content of: <sect1><title>
-#: /home/xry111/svn-repos/LFS-BOOK/chapter04/aboutlfs.xml:11
-msgid "About $LFS"
-msgstr ""
-
-#. type: Content of: <sect1><para>
-#: /home/xry111/svn-repos/LFS-BOOK/chapter04/aboutlfs.xml:13
-msgid ""
-"Throughout this book, the environment variable <envar>LFS</envar> will be "
-"used. It is paramount that this variable is always defined.  It should be "
-"set to the mount point chosen for the LFS partition.  Check that the "
-"<envar>LFS</envar> variable is set up properly with:"
-msgstr ""
-
-#. type: Content of: <sect1><screen>
-#: /home/xry111/svn-repos/LFS-BOOK/chapter04/aboutlfs.xml:18
-#, no-wrap
-msgid "<userinput>echo $LFS</userinput>"
-msgstr ""
-
-#. type: Content of: <sect1><para>
-#: /home/xry111/svn-repos/LFS-BOOK/chapter04/aboutlfs.xml:20
-msgid ""
-"Make sure the output shows the path to the LFS partition's mount point, "
-"which is <filename class=\"directory\">/mnt/lfs</filename> if the provided "
-"example was followed. If the output is incorrect, the variable can be set "
-"with:"
-msgstr ""
-
-#. type: Content of: <sect1><screen>
-#: /home/xry111/svn-repos/LFS-BOOK/chapter04/aboutlfs.xml:25
-#, no-wrap
-msgid "<userinput>export LFS=/mnt/lfs</userinput>"
-msgstr ""
-
-#. type: Content of: <sect1><para>
-#: /home/xry111/svn-repos/LFS-BOOK/chapter04/aboutlfs.xml:27
-msgid ""
-"Having this variable set is beneficial in that commands such as "
-"<command>mkdir $LFS/tools</command> can be typed literally. The shell will "
-"automatically replace <quote>$LFS</quote> with <quote>/mnt/lfs</quote> (or "
-"whatever the variable was set to) when it processes the command line."
-msgstr ""
-
-#. type: Content of: <sect1><para>
-#: /home/xry111/svn-repos/LFS-BOOK/chapter04/aboutlfs.xml:33
-msgid ""
-"Do not forget to check that <envar>$LFS</envar> is set whenever you leave "
-"and reenter the current working environment (as when doing a "
-"<command>su</command> to <systemitem class=\"username\">root</systemitem> or "
-"another user)."
-msgstr ""

+ 0 - 83
zh_CN/chapter04/creatingtoolsdir.po

@@ -1,83 +0,0 @@
-# SOME DESCRIPTIVE TITLE
-# Copyright (C) YEAR Free Software Foundation, Inc.
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2020-06-17 12:44+0800\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. type: Content of: <sect1><title>
-#: /home/xry111/svn-repos/LFS-BOOK/chapter04/creatingtoolsdir.xml:11
-msgid "Creating the $LFS/tools Directory"
-msgstr ""
-
-#. type: Content of: <sect1><para>
-#: /home/xry111/svn-repos/LFS-BOOK/chapter04/creatingtoolsdir.xml:13
-msgid ""
-"All programs compiled in <xref linkend=\"chapter-temporary-tools\"/> will be "
-"installed under <filename class=\"directory\">$LFS/tools</filename> to keep "
-"them separate from the programs compiled in <xref "
-"linkend=\"chapter-building-system\"/>. The programs compiled here are "
-"temporary tools and will not be a part of the final LFS system. By keeping "
-"these programs in a separate directory, they can easily be discarded later "
-"after their use. This also prevents these programs from ending up in the "
-"host production directories (easy to do by accident in <xref "
-"linkend=\"chapter-temporary-tools\"/>)."
-msgstr ""
-
-#. type: Content of: <sect1><para>
-#: /home/xry111/svn-repos/LFS-BOOK/chapter04/creatingtoolsdir.xml:23
-msgid ""
-"Create the required directory by running the following as <systemitem "
-"class=\"username\">root</systemitem>:"
-msgstr ""
-
-#. type: Content of: <sect1><screen>
-#: /home/xry111/svn-repos/LFS-BOOK/chapter04/creatingtoolsdir.xml:26
-#, no-wrap
-msgid "<userinput>mkdir -v $LFS/tools</userinput>"
-msgstr ""
-
-#. type: Content of: <sect1><para>
-#: /home/xry111/svn-repos/LFS-BOOK/chapter04/creatingtoolsdir.xml:28
-msgid ""
-"The next step is to create a <filename class=\"symlink\">/tools</filename> "
-"symlink on the host system. This will point to the newly-created directory "
-"on the LFS partition. Run this command as <systemitem "
-"class=\"username\">root</systemitem> as well:"
-msgstr ""
-
-#. type: Content of: <sect1><screen>
-#: /home/xry111/svn-repos/LFS-BOOK/chapter04/creatingtoolsdir.xml:33
-#, no-wrap
-msgid "<userinput>ln -sv $LFS/tools /</userinput>"
-msgstr ""
-
-#. type: Content of: <sect1><note><para>
-#: /home/xry111/svn-repos/LFS-BOOK/chapter04/creatingtoolsdir.xml:36
-msgid ""
-"The above command is correct. The <command>ln</command> command has a few "
-"syntactic variations, so be sure to check <command>info coreutils "
-"ln</command> and <filename>ln(1)</filename> before reporting what you may "
-"think is an error."
-msgstr ""
-
-#. type: Content of: <sect1><para>
-#: /home/xry111/svn-repos/LFS-BOOK/chapter04/creatingtoolsdir.xml:42
-msgid ""
-"The created symlink enables the toolchain to be compiled so that it always "
-"refers to <filename class=\"directory\">/tools</filename>, meaning that the "
-"compiler, assembler, and linker will work both in Chapter&nbsp;5 (when we "
-"are still using some tools from the host) and in the next (when we are "
-"<quote>chrooted</quote> to the LFS partition)."
-msgstr ""