/usr/share/lua/5.1/luassert/languages/ja.lua is in lua-luassert 1.7.10-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | local s = require('say')
s:set_namespace('ja')
s:set("assertion.same.positive", "オブジェクトの内容が同一であることが期待されています。\n実際の値:\n%s\n期待されている値:\n%s")
s:set("assertion.same.negative", "オブジェクトの内容が同一でないことが期待されています。\n実際の値:\n%s\n期待されていない値:\n%s")
s:set("assertion.equals.positive", "オブジェクトが同一であることが期待されています。\n実際の値:\n%s\n期待されている値:\n%s")
s:set("assertion.equals.negative", "オブジェクトが同一でないことが期待されています。\n実際の値:\n%s\n期待されていない値:\n%s")
s:set("assertion.unique.positive", "オブジェクトがユニークであることが期待されています。:\n%s")
s:set("assertion.unique.negative", "オブジェクトがユニークでないことが期待されています。:\n%s")
s:set("assertion.error.positive", "エラーが発生することが期待されています。")
s:set("assertion.error.negative", "エラーが発生しないことが期待されています。")
s:set("assertion.truthy.positive", "真であることが期待されていますが、値は:\n%s")
s:set("assertion.truthy.negative", "真でないことが期待されていますが、値は:\n%s")
s:set("assertion.falsy.positive", "偽であることが期待されていますが、値は:\n%s")
s:set("assertion.falsy.negative", "偽でないことが期待されていますが、値は:\n%s")
s:set("assertion.called.positive", "回呼ばれることを期待されていますが、実際には%s回呼ばれています。")
s:set("assertion.called.negative", "回呼ばれることを期待されていますが、実際には%s回呼ばれています。")
s:set("assertion.called_with.positive", "関数が期待されている引数で呼ばれていません")
s:set("assertion.called_with.negative", "関数が期待されている引数で呼ばれています")
s:set("assertion.returned_arguments.positive", "期待されている返り値の数は%sですが、実際の返り値の数は%sです。")
s:set("assertion.returned_arguments.negative", "期待されていない返り値の数は%sですが、実際の返り値の数は%sです。")
-- errors
s:set("assertion.internal.argtolittle", "関数には最低%s個の引数が必要ですが、実際の引数の数は: %s")
s:set("assertion.internal.badargtype", "bad argument #%s: 関数には%s個の引数が必要ですが、実際に引数の数は: %s")
|