Module:Lang/configuration:修订间差异

Lhscogs​(留言 | 贡献)
小 导入1个版本
第34行: 第34行:


['template'] = true, -- supplied by external templates to provide template name for error messaging ({{nihongo}}, etc)
['template'] = true, -- supplied by external templates to provide template name for error messaging ({{nihongo}}, etc)
['noerror'] = true,
},
},
 
['params_lang_t'] = { -- unique to {{lang}}
['params_lang_t'] = { -- unique to {{lang}}
[1] = true, -- alias of |code=
[1] = true, -- alias of |code=
第111行: 第113行:
['lang_err_cat'] = 'Lang和lang-xx模板错误',
['lang_err_cat'] = 'Lang和lang-xx模板错误',
['undefined'] = '未定义',
['undefined'] = '未定义',
['empty'] = '空/未定义',
}
}
 


--[[--------------------------< V A L I D A T E _ I T A L I C _ T >--------------------------------------------
--[[--------------------------< V A L I D A T E _ I T A L I C _ T >--------------------------------------------
第126行: 第129行:


local validate_italic_t = {
local validate_italic_t = {
['multi_italic'] = '只能指定 &#124;italic=、&#124;italics= 或 &#124;i= 中的一个',
['multi_italic'] = '只应指定 &#124;italic=、&#124;italics= 或 &#124;i= 中的一个',
}
}
 


--[[--------------------------< V A L I D A T E _ T E X T _ T >------------------------------------------------
--[[--------------------------< V A L I D A T E _ T E X T _ T >------------------------------------------------
第136行: 第139行:
['no_text'] = '无文本',
['no_text'] = '无文本',
['malformed_markup'] = '文本有格式不正确的标记',
['malformed_markup'] = '文本有格式不正确的标记',
['italic_markup'] = '文本有斜体标记',
['italic_markup'] = '模板中指定了斜体,但是文本有斜体标记',
}
}


第153行: 第156行:


local lang_t = {
local lang_t = {
['conflict_n_param'] = '參數 {{{$1}}} 和 &#124;$2= 衝突', -- $1 is positional param number, $2 is named param; shared with _lang_xx()
['conflict_n_param'] = '參數 {{{$1}}} 和 &#124;$2= 衝突,會優先使用 {{{$1}}}。', -- $1 is positional param number, $2 is named param; shared with _lang_xx()
['conflict_n_param_types'] = {
['conflict_n_param_types'] = {
['code'] = 'code',
['code'] = 'code',
第161行: 第164行:
['invalid_proto'] = '參數 &#124;proto 的傳入值 $1 無效', -- _lang_xx also emits this message
['invalid_proto'] = '參數 &#124;proto 的傳入值 $1 無效', -- _lang_xx also emits this message
}
}
 
 
--[[--------------------------< L A N G _ X X _ T >------------------------------------------------------------
--[[--------------------------< L A N G _ X X _ T >------------------------------------------------------------
]]
]]


local lang_xx_t = {
local lang_xx_t = {
['conflict_n_lit'] = '參數 {{{$1}}} 和 &#124;lit= 或 &#124;translation= 衝突', -- $1 is positional parameter; can be either 3 ({{lang-??}}) or 4 ({{langx}})
['conflict_n_lit'] = '參數 {{{$1}}} 和 &#124;lit= 或 &#124;translation= 衝突,會優先使用 {{{$1}}}。', -- $1 is positional parameter; can be either 3 ({{lang-??}}) or 4 ({{langx}})
['conflict_lit'] = '參數 &#124;lit= 和 &#124;translation= 衝突',
['conflict_lit'] = '參數 &#124;lit= 和 &#124;translation= 衝突,會優先使用 &#124;translation= 。',
['conflict_link'] = '參數 &#124;links= 和 &#124;link= 衝突',
['conflict_link'] = '參數 &#124;links= 和 &#124;link= 衝突,會優先使用 &#124;link= 。',
['invalid_xlit_std'] = '參數 translit-std 無效',
['invalid_xlit_std'] = '參數 translit-std 無效',
['romanization'] = '羅馬化',
['romanization'] = '羅馬化',
第257行: 第260行:
['explicit_cat'] = '明確引用', -- for explicitly citing this wiki's language
['explicit_cat'] = '明確引用', -- for explicitly citing this wiki's language
['cat_postfix'] = '的條目', -- postfix for individual languages
['cat_postfix'] = '的條目', -- postfix for individual languages
     ['cat_nonezh'] = '非中文內容',
     ['cat_nonezh'] = '非中文內容',
}
}
 


--[[--------------------------< M A K E _ T R A N S L I T _ T >------------------------------------------------
--[[--------------------------< M A K E _ T R A N S L I T _ T >------------------------------------------------