aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorddtddt <ddtddt@piwigo.org>2010-11-01 17:11:59 +0000
committerddtddt <ddtddt@piwigo.org>2010-11-01 17:11:59 +0000
commit99a27168a1d5eef715bf81a2a0a835cb26db2a39 (patch)
tree667c8ea7e8c47d3d3709733e855ffe1c1e9ad91b
parent192c06ea4743a03ac81dd7c77c53f0c61d214fe8 (diff)
[branche 2.1] LocalFilesEditor - add CN thanks to winson
git-svn-id: http://piwigo.org/svn/branches/2.1@7543 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--plugins/LocalFilesEditor/language/zh_CN/description.txt1
-rw-r--r--plugins/LocalFilesEditor/language/zh_CN/index.php30
-rw-r--r--plugins/LocalFilesEditor/language/zh_CN/plugin.lang.php56
3 files changed, 87 insertions, 0 deletions
diff --git a/plugins/LocalFilesEditor/language/zh_CN/description.txt b/plugins/LocalFilesEditor/language/zh_CN/description.txt
new file mode 100644
index 000000000..a6835cd52
--- /dev/null
+++ b/plugins/LocalFilesEditor/language/zh_CN/description.txt
@@ -0,0 +1 @@
+通过管理员面板修改本地文件 \ No newline at end of file
diff --git a/plugins/LocalFilesEditor/language/zh_CN/index.php b/plugins/LocalFilesEditor/language/zh_CN/index.php
new file mode 100644
index 000000000..17747c927
--- /dev/null
+++ b/plugins/LocalFilesEditor/language/zh_CN/index.php
@@ -0,0 +1,30 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based picture gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2010 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/LocalFilesEditor/language/zh_CN/plugin.lang.php b/plugins/LocalFilesEditor/language/zh_CN/plugin.lang.php
new file mode 100644
index 000000000..74c852c21
--- /dev/null
+++ b/plugins/LocalFilesEditor/language/zh_CN/plugin.lang.php
@@ -0,0 +1,56 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based picture gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2010 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+
+$lang['locfiledit_onglet_localconf'] = '本地配置';
+$lang['locfiledit_onglet_css'] = 'CSS';
+$lang['locfiledit_onglet_tpl'] = '模板';
+$lang['locfiledit_onglet_lang'] = '语言';
+$lang['locfiledit_onglet_plug'] = '个人插件';
+$lang['locfiledit_cant_save'] = '当前文件不可写入。请检查 "include/" 是否可写 (chmod).';
+$lang['locfiledit_newfile'] = '文件不存在,LocalFiles 编辑器将创建它';
+$lang['locfiledit_save_config'] = '文件已成功写入.';
+$lang['locfiledit_show_default'] = '显示相关文件: ';
+$lang['locfiledit_save_bak'] = '备份将被创建和保存.';
+$lang['locfiledit_saved_bak'] = '备份文件已创建 (%s)';
+$lang['locfiledit_save_file'] = '保存文件';
+$lang['locfiledit_choose_file'] = '选择要编辑的文件';
+$lang['locfiledit_edit'] = '编辑';
+$lang['locfiledit_restore'] = '恢复备份文件';
+$lang['locfiledit_restore_confirm'] = '请确认? 恢复在下一次保存前将不会生效.';
+$lang['locfiledit_bak_loaded1'] = '备份文件已加载.';
+$lang['locfiledit_bak_loaded2'] = '您必须保存文件以便将其恢复.';
+$lang['locfiledit_syntax_error'] = '语法错误! 文件不能被保存.';
+$lang['locfiledit_enable_editarea'] = '启用编辑区域';
+$lang['locfiledit_disable_editarea'] = '禁用编辑区域';
+$lang['locfiledit_new_tpl'] = '创建新文件';
+$lang['locfiledit_new_filename'] = '文件名';
+$lang['locfiledit_model'] = '模块';
+$lang['locfiledit_empty_page'] = '空页面';
+$lang['locfiledit_parent_directory'] = '父目录';
+$lang['locfiledit_filename_error'] = '被禁用的文件名.';
+$lang['locfiledit_file_already_exists'] = '文件已存在.';
+$lang['locfiledit_model_error'] = '您必须选择一个模块.';
+$lang['locfiledit_empty_filename'] = '您必须填写文件名.';
+$lang['locfiledit_webmaster_only'] = '只有网站管理员才能创建或者修改本地文件.';
+
+?> \ No newline at end of file