From bfd0057a13b43779012b8c56da2c7865717f5817 Mon Sep 17 00:00:00 2001 From: Hongliang Yuan Date: Tue, 27 Jan 2015 12:59:30 +0800 Subject: [PATCH 1/2] Add zh-CN message translation. --- messages/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/messages/config.php b/messages/config.php index d980689..582275e 100644 --- a/messages/config.php +++ b/messages/config.php @@ -7,7 +7,7 @@ 'messagePath' => __DIR__, // array, required, list of language codes that the extracted messages // should be translated to. For example, ['zh-CN', 'de']. - 'languages' => ['en','de','ru','pt-PT'], + 'languages' => ['en','de','ru','pt-PT', 'zh-CN'], // string, the name of the function for translating messages. // Defaults to 'Yii::t'. This is used as a mark to find the messages to be // translated. You may use a string for single function name or an array for From f0255831ee86583334cf25b2493b49d0108b9498 Mon Sep 17 00:00:00 2001 From: Hongliang Yuan Date: Tue, 27 Jan 2015 13:03:21 +0800 Subject: [PATCH 2/2] Add zh-CN message translation. --- messages/kvexport.php | 50 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 messages/kvexport.php diff --git a/messages/kvexport.php b/messages/kvexport.php new file mode 100644 index 0000000..b597b4d --- /dev/null +++ b/messages/kvexport.php @@ -0,0 +1,50 @@ + '', + 'Column' => '列', + 'Comma Separated Values' => '', + 'Disable any popup blockers in your browser to ensure proper download.' => '请禁用浏览器弹出窗拦截器以确保正常下载。', + 'Excel 2007+' => '', + 'Excel 95 +' => '', + 'Export data in selected format' => '以选定格式导出数据', + 'Generating the export file. Please wait...' => '正在生成导出文件,请稍后...', + 'Grid export generated by Krajee ExportMenu widget (yii2-export)' => '表格数据由Krajee的ExportMenu组件(yii2-export)生成导出', + 'HTML' => '', + 'Hyper Text Markup Language' => '', + 'Microsoft Excel 2007+ (xlsx)' => '', + 'Microsoft Excel 95+ (xls)' => '', + 'Ok to proceed?' => '确定继续?', + 'PDF' => '', + 'Portable Document Format' => '', + 'Request submitted! You may safely close this dialog after saving your downloaded file.' => '请求已提交!你可以在下载完文件后安全地关闭本对话框。', + 'Select Columns' => '选择列', + 'Select columns to export' => '选择导出列', + 'Tab Delimited Text' => 'Tab分隔的文本', + 'Text' => '', + 'The CSV export file will be generated for download.' => 'CSV文件即将生成下载。', + 'The EXCEL 2007+ (xlsx) export file will be generated for download.' => 'EXCEL 2007+ (xlsx)文件即将生成下载。', + 'The EXCEL 95+ (xls) export file will be generated for download.' => 'EXCEL 95+ (xls)文件即将生成下载。', + 'The HTML export file will be generated for download.' => 'HTML文件即将生成下载。', + 'The PDF export file will be generated for download.' => 'PDF文件即将生成下载。', + 'The TEXT export file will be generated for download.' => 'TEXT文件即将生成下载。', + 'grid-export' => '表格导出', + 'Toggle All' => '反选所有', +]; +