1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
local s = require('say')
s:set_namespace('ua')
-- '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 тестів!',
'Ой йо..',
'Вороги поламали наші тести!'
},
success_messages = {
'Слава Україні! Героям Слава!',
'Тестування успішно пройдено!',
'Всі баги знищено!'
}
}
|