モジュール:Wikidata/i18n
表示
![](http://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
-- vim: set noexpandtab ft=lua ts=4 sw=4:
require('strict')
local r = {}
-- internationalisation
r.i18n =
{
["errors"] =
{
["property-not-found"] = "プロパティがありません",
["entity-not-found"] = "ウィキデータのエンティティがありません",
["unknown-claim-type"] = "不明な申し立ての種類です",
["unknown-entity-type"] = "不明なエンティティの種類です",
["qualifier-not-found"] = "修飾子がありません",
["site-not-found"] = "見つからないウィキメディア・プロジェクトです",
["unknown-datetime-format"] = "不明な日付時間形式です",
["local-article-not-found"] = "このウィキでまだ作成されていない記事です"
},
["datetime"] =
{
-- $1 is a placeholder for the actual number
[0] = "$1十億年", -- precision: billion years
[1] = "$100百万年", -- precision: hundred million years
[2] = "$10百万年", -- precision: ten million years
[3] = "$1百万年", -- precision: million years
[4] = "$100,000年", -- precision: hundred thousand years
[5] = "$10,000年", -- precision: ten thousand years
[6] = "$1千年紀", -- precision: millennium
[7] = "$1世紀", -- precision: century
[8] = "$1十年紀", -- precision: decade
-- the following use the format of #time parser function
[9] = "Y年", -- precision: year,
[10] = "Y年F", -- precision: month
[11] = "Y年Fj日", -- precision: day
[12] = "Y年Fj日ga", -- precision: hour
[13] = "Y年Fj日g:ia", -- precision: minute
[14] = "Y年Fj日g:i:sa", -- precision: second
["beforenow"] = "$1 BCE", -- how to format negative numbers for precisions 0 to 5
["afternow"] = "$1 CE", -- how to format positive numbers for precisions 0 to 5
["bc"] = '$1 "BCE"', -- how print negative years
["ad"] = "$1", -- how print positive years
-- the following are for function getDateValue() and getQualifierDateValue()
["default-format"] = "ymd", -- default value of the #3 (getDateValue) or
-- #4 (getQualifierDateValue) argument
["default-addon"] = "BC", -- default value of the #4 (getDateValue) or
-- #5 (getQualifierDateValue) argument
["prefix-addon"] = false, -- set to true for languages put "BC" in front of the
-- datetime string; or the addon will be suffixed
["addon-sep"] = " ", -- separator between datetime string and addon (or inverse)
["format"] = -- options of the 3rd argument
{
["mdy"] = "Y年Fj日", -- this is actually ymd but not mdy, just for backward-compatible
["my"] = "Y年F",
["y"] = "Y年",
["dmy"] = "Y年Fj日",
["ymd"] = "Y年Fj日",
["ym"] = "Y年F"
}
},
["monolingualtext"] = '<span lang="%language">%text</span>',
["warnDump"] = "[[Category:ウィキデータモジュールからのDumpファンクション呼び出し]]",
["ordinal"] =
{
[1] = "",
[2] = "",
[3] = "",
["default"] = ""
}
}
return r