[Xfce4-commits] <thunar:master> l10n: Updated Chinese (China) (zh_CN) translation to 86%

Transifex noreply at xfce.org
Sat Apr 30 15:28:01 CEST 2011


Updating branch refs/heads/master
         to 79530b0a369270e629f4143c5a16fd6aa1e58eea (commit)
       from 3a4e9c35d6c70414208038e922b8a9521be0d396 (commit)

commit 79530b0a369270e629f4143c5a16fd6aa1e58eea
Author: Chipong Luo <chipong_l at yahoo.com>
Date:   Sat Apr 30 14:30:16 2011 +0200

    l10n: Updated Chinese (China) (zh_CN) translation to 86%
    
    New status: 252 messages complete with 2 fuzzies and 39 untranslated.
    
    Transmitted-via: Transifex (translations.xfce.org).

 docs/manual/po/zh_CN.po |   24 ++++++++++++++++++++----
 1 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/docs/manual/po/zh_CN.po b/docs/manual/po/zh_CN.po
index 21c2f23..6d11ecd 100644
--- a/docs/manual/po/zh_CN.po
+++ b/docs/manual/po/zh_CN.po
@@ -895,10 +895,10 @@ msgstr ""
 
 #: Thunar.xml1145(para)
 msgid "This example demonstrates how to write and install a new thumbnailer for <filename>.eps</filename> files, which uses the <command>convert</command> utility that ships as part of ImageMagick. First, we start with a simple script that invokes <command>convert</command> to generate a thumbnail at the requested size."
-msgstr ""
+msgstr "<command>convert</command> 是 ImageMagick 的一个工具,下面的示例说明了如何为 <filename>.eps</filename> 文件编写和安装新的缩略图生成器。首先,我们启动一个简单的调用 <command>convert</command> 命令的脚本,然后按所需大小生成一个缩略图。"
 
 #: Thunar.xml1151(programlisting)
-#, no-wrap
+#, no-wrap, fuzzy
 msgid ""
 "\n"
 "#!/bin/sh\n"
@@ -916,10 +916,25 @@ msgid ""
 "# invoke convert (ImageMagick)\n"
 "exec convert \"eps:$ifile\" -scale \"$sizex$size\" \"png:$ofile\""
 msgstr ""
+"\n"
+"#!/bin/sh\n"
+"#\n"
+"# eps-thumbnailer - Example thumbnailer script for EPS files.\n"
+"#\n"
+"# Usage: esp-thumbnailer eps-file png-file size\n"
+"#\n"
+"\n"
+"# command line parameters\n"
+"ifile=$1\n"
+"ofile=$2\n"
+"size=$3\n"
+"\n"
+"# invoke convert (ImageMagick)\n"
+"exec convert \"eps:$ifile\" -scale \"$sizex$size\" \"png:$ofile\""
 
 #: Thunar.xml1167(para)
 msgid "Save this script above to a file <filename>eps-thumbnailer</filename>, make sure the file is executable and install it to <filename role=\"directory\">/usr/local/bin</filename>."
-msgstr ""
+msgstr "将以上脚本存入一个文件 <filename>eps-thumbnailer</filename> 中,此文件必须是可执行文件且安装在 <filename role=\"directory\">/usr/local/bin</filename> 中。"
 
 #: Thunar.xml1172(screen)
 #, no-wrap
@@ -975,8 +990,9 @@ msgstr ""
 "$ sudo install eps-thumbnailer.desktop /usr/local/share/thumbnailers/eps-thumbnailer.desktop"
 
 #: Thunar.xml1199(para)
+#, fuzzy
 msgid "The <filename>eps-thumbnailer.desktop</filename> file uses the special key <literal>TryExec</literal>, which, if specified, names a command that must be present on the system for the thumbnailer to be useful. In this case, our script is useless if the <command>convert</command> utility is not present."
-msgstr ""
+msgstr "<filename>eps-thumbnailer.desktop</filename> 文件使用特殊的 <literal>TryExec</literal> 键,指定后,系统中必须有缩略图生成器所需的命令,给此命令命名是有用的。这样,如果没有 <command>convert</command> 工具,我们的脚本是无效的。"
 
 #: Thunar.xml1205(para)
 msgid "The last step is to regenerate the thumbnailer cache, so Thunar will pick up our thumbnailer. The thumbnailer cache is located at <filename>$XDG_CACHE_HOME/Thunar/thumbnailers.cache</filename> (unless overridden by your or your system administrator, the <varname>$XDG_CACHE_HOME</varname> points to the folder <filename role=\"directory\">~/.cache/</filename>). The thumbnailers cache is regenerated periodically by Thunar, but you can force to regenerate it by invoking the <filename>thunar-vfs-update-thumbnailers-cache-1</filename> utility, that ships as part of Thunar. This utility is usually installed in the <filename role=\"directory\">libexec</filename> subfolder of your installation prefix (<filename role=\"directory\">sbin</filename> on Debian/Ubuntu). So for example, if Thunar is installed in <filename role=\"directory\">/usr</filename>, invoke the utility as follows:"



More information about the Xfce4-commits mailing list