slitaz-tools rev 525

modify desktopbox to add i18n support
author fireflyoo <lufeng369@gmail.com>
date Wed Dec 15 20:01:59 2010 +0800 (2010-12-15)
parents a83d55f9e42d
children fb6a1c0c820e
files messages/zh_CN/desktopbox.msg po/subox/zh_CN.po tinyutils/desktopbox
line diff
     1.1 --- a/messages/zh_CN/desktopbox.msg	Mon Dec 13 22:11:17 2010 +0000
     1.2 +++ b/messages/zh_CN/desktopbox.msg	Wed Dec 15 20:01:59 2010 +0800
     1.3 @@ -1,6 +1,6 @@
     1.4  # SliTaz desktopbox messages.
     1.5  
     1.6 -CHARS_SIZE="64"
     1.7 +CHARS_SIZE="32"
     1.8  NEW_FOLDER_LABEL="在桌面新建文件夹:"
     1.9  FOLDER_ENTRY_MSG="目录名"
    1.10  NEW_FILE_LABEL="在桌面新建文件:"
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/po/subox/zh_CN.po	Wed Dec 15 20:01:59 2010 +0800
     2.3 @@ -0,0 +1,38 @@
     2.4 +# Chinese translations for subox package.
     2.5 +# Copyright (C) 2010 THE subox'S COPYRIGHT HOLDER
     2.6 +# This file is distributed under the same license as the subox package.
     2.7 +# Linux User <lufeng369@gmail.com>, 2010.
     2.8 +#
     2.9 +msgid ""
    2.10 +msgstr ""
    2.11 +"Project-Id-Version: subox\n"
    2.12 +"Report-Msgid-Bugs-To: \n"
    2.13 +"POT-Creation-Date: 2010-10-22 23:40+0200\n"
    2.14 +"PO-Revision-Date: 2010-12-15 19:55+0800\n"
    2.15 +"Last-Translator: fireflyoo <lufeng369@gmail.com>\n"
    2.16 +"Language-Team: Chinese (simplified) <translation-team-zh-cn@lists."
    2.17 +"sourceforge.net>\n"
    2.18 +"MIME-Version: 1.0\n"
    2.19 +"Content-Type: text/plain; charset=UTF-8\n"
    2.20 +"Content-Transfer-Encoding: 8bit\n"
    2.21 +"Language: zh_CN\n"
    2.22 +
    2.23 +#: tinyutils/subox:39
    2.24 +msgid "Error: wrong password!"
    2.25 +msgstr "密码输入错误"
    2.26 +
    2.27 +#: tinyutils/subox:60
    2.28 +msgid ""
    2.29 +"\n"
    2.30 +"Please enter root password (default root) to execute :"
    2.31 +msgstr ""
    2.32 +"\n"
    2.33 +"请输入根用户密码 :"
    2.34 +
    2.35 +#: tinyutils/subox:69
    2.36 +msgid "<b>Admin password :</b>"
    2.37 +msgstr "<b>管理员密码 :</b>"
    2.38 +
    2.39 +#: tinyutils/subox:88
    2.40 +msgid "Autosave password"
    2.41 +msgstr "保存密码"
     3.1 --- a/tinyutils/desktopbox	Mon Dec 13 22:11:17 2010 +0000
     3.2 +++ b/tinyutils/desktopbox	Wed Dec 15 20:01:59 2010 +0800
     3.3 @@ -22,6 +22,8 @@
     3.4  case $LANG in
     3.5  	fr*)
     3.6  		. $MESSAGES/fr/desktopbox.msg ;;
     3.7 +	zh_CN*)
     3.8 +		. $MESSAGES/zh_CN/desktopbox.msg ;;
     3.9  	*)
    3.10  		. $MESSAGES/en/desktopbox.msg ;;
    3.11  esac