summaryrefslogtreecommitdiffstats
path: root/test/lua/busted/languages/zh.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/lua/busted/languages/zh.lua')
-rw-r--r--test/lua/busted/languages/zh.lua43
1 files changed, 43 insertions, 0 deletions
diff --git a/test/lua/busted/languages/zh.lua b/test/lua/busted/languages/zh.lua
new file mode 100644
index 000000000..21f97e5cb
--- /dev/null
+++ b/test/lua/busted/languages/zh.lua
@@ -0,0 +1,43 @@
+local s = require('say')
+
+s:set_namespace('zh')
+
+-- 'Pending: test.lua @ 12 \n description
+s:set('output.pending', '开发中')
+s:set('output.failure', '失败')
+s:set('output.success', '成功')
+
+s:set('output.pending_plural', '开发中')
+s:set('output.failure_plural', '失败')
+s:set('output.success_plural', '成功')
+
+s:set('output.pending_zero', '开发中')
+s:set('output.failure_zero', '失败')
+s:set('output.success_zero', '成功')
+
+s:set('output.pending_single', '开发中')
+s:set('output.failure_single', '失败')
+s:set('output.success_single', '成功')
+
+s:set('output.seconds', '秒')
+
+-- definitions following are not used within the 'say' namespace
+return {
+ failure_messages = {
+ '你一共提交了[%d]个测试用例',
+ '又出错了!',
+ '到底哪里不对呢?',
+ '出错了,又要加班了!',
+ '囧,出Bug了!',
+ '据说比尔盖兹也写了一堆Bug,别灰心!',
+ '又出错了,休息一下吧',
+ 'Bug好多,心情好坏!'
+ },
+ success_messages = {
+ '牛X,测试通过了!',
+ '测试通过了,感觉不错吧,兄弟!',
+ '哥们,干得漂亮!',
+ '终于通过了!干一杯先!',
+ '阿弥陀佛~,菩萨显灵了!',
+ }
+}