Module:Lang/configuration:修订间差异

删除的内容 添加的内容
IdleTap-bot​(留言 | 贡献)
导入自求闻百科
 
CaelLab-import​(留言 | 贡献)
导入自中文维基百科
 
第34行:
 
['template'] = true, -- supplied by external templates to provide template name for error messaging ({{nihongo}}, etc)
 
['noerror'] = true,
},
 
['params_lang_t'] = { -- unique to {{lang}}
[1] = true, -- alias of |code=
第111行 ⟶ 第113行:
['lang_err_cat'] = 'Lang和lang-xx模板错误',
['undefined'] = '未定义',
['empty'] = '空/未定义',
}
 
 
--[[--------------------------< V A L I D A T E _ I T A L I C _ T >--------------------------------------------
第126行 ⟶ 第129行:
 
local validate_italic_t = {
['multi_italic'] = '只能应指定 &#124;italic=、&#124;italics= 或 &#124;i= 中的一个',
}
 
 
--[[--------------------------< V A L I D A T E _ T E X T _ T >------------------------------------------------
第136行 ⟶ 第139行:
['no_text'] = '无文本',
['malformed_markup'] = '文本有格式不正确的标记',
['italic_markup'] = '模板中指定了斜体,但是文本有斜体标记',
}
 
第144行 ⟶ 第147行:
 
local text_script_match_test_t = {
['latn_txt_mismatch'] = '指定的書寫系統標籤非拉丁字母,但文本/非為拉丁字母子标签不匹配。',
['latn_scr_mismatch'] = '非指定的書寫系統標籤是拉丁字母,但文本(pos第 $1: 個字元「$2)/2」不是拉丁字母子标签不匹配。', -- $1 identifies offending character's position; $2 is the character
}
 
第153行 ⟶ 第156行:
 
local lang_t = {
['conflict_n_param'] = '冲突:參數 {{{$1}}} 和 &#124;$2= 衝突,會優先使用 {{{$1}}}。', -- $1 is positional param number, $2 is named param; shared with _lang_xx()
['conflict_n_param_types'] = {
['code'] = 'code',
第159行 ⟶ 第162行:
['translit'] = 'translit',
},
['invalid_proto'] = '无效參數 &#124;proto=: 的傳入值 $1 無效', -- _lang_xx also emits this message
}
 
 
--[[--------------------------< L A N G _ X X _ T >------------------------------------------------------------
]]
 
local lang_xx_t = {
['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= 衝突,會優先使用 &#124;translation= 。',
['conflict_link'] = '冲突:參數 &#124;links= 和 &#124;link= 衝突,會優先使用 &#124;link= 。',
['invalid_xlit_std'] = '无效的參數 translit-std 無效',
['romanization'] = '羅馬化',
['translit_nonlatn'] = '转写文本非拉丁字母(pos轉寫第 $1: 個字元「$2)2」不是拉丁字母。', -- _transl() also emits this message; $1 identifies offending character's position; $2 is the character
['xlit_of_latn'] = '拉丁字母转写轉寫',
}
 
第190行 ⟶ 第193行:
 
local transl_t = {
['unrecog_xlit_std'] = '无法识别的转译标准: $1', -- $1 is |translit_std- parameter value
['no_text'] = '无缺少文本',
['missing_lang_scr'] = '缺少语言//字母代码',
['unrecog_lang_scr'] = '无法识别的语言//字母代码: $1', -- $1 is the language/script code
}
 
第201行 ⟶ 第204行:
 
local get_ietf_parts_t = {
['maint_promo_cat'] = 'Lang和lang-xx代码已升级格为ISO 639-1|$1', -- $1 is ISO 639-2/3 subtag
['maint_promo_msg'] = '語言代码: $1 已升级格为代码: $2', -- $1 is ISO 639-2/3 subtag, $2 is synonymous ISO 639-1 subtag
 
['missing_lang_tag'] = '缺少语言标签', -- also used in _langx()
['redundant_scr'] = '冗余字母标签餘的書寫系統標籤',
['redundant_reg'] = '冗余区餘的區域标签標籤',
['redundant_var'] = '冗余变体标签餘的變體標籤',
['unrecog_tag'] = '语無法辨識語言标签:標籤 $1 无法识别', -- $1 is the whole language tag
['unrecog_code'] = '语言無法辨識代码:碼 $1 无法识别', -- $1 is code
['unrecog_reg_code'] = '对于無法辨識代码:碼 $2,地区:2 所指定的區域 $1 无法识别。', -- $1 is region, $2 is code
['unrecog_scr_code'] = '对于無法辨識代码:碼 $2,字母:2 所指定的書寫系統 $1 无法识别。', -- $1 is script, $2 is code
['script_code'] = '代码:碼 $2 不支持字母:無法和書寫系統 $1 一起使用', -- $1 is script, $2 is code
['unrecog_var'] = '变体:無法辨識變體 $1 无法识别', -- $1 is variant
['unrecog_var_code'] = '对于無法辨識代码:碼 $2,变体:2 所指定的變體 $1 无法识别。', -- $1 is variant, $2 is code
['unrecog_var_code_scr'] = '对于無法辨識代码-字母对:碼—書寫系統配對 $2-$3,变体:3 所指定的變體 $1 无法识别。', -- $1 is variant, $2 is code, $3 is script
['unrecog_var_code_reg'] = '对于無法辨識代码-区碼—區域对:配對 $2-$3,变体:3 所指定的變體 $1 无法识别。', -- $1 is variant, $2 is code, $3 is region
['unrecog_pri'] = '無法辨識私有标签:標籤 $1 无法识别', -- $1 is private tag
}
 
第225行 ⟶ 第228行:
 
local language_name_get_t = {
['deprecated_cat'] = 'Lang和lang-xx使用已弃用的ISO 639代码|$1', -- $1 is deprecated ISO 639 subtag
['deprecated_msg'] = '代码: $1 已弃用', -- $1 is deprecated ISO 639 subtag
}
 
第257行 ⟶ 第260行:
['explicit_cat'] = '明確引用', -- for explicitly citing this wiki's language
['cat_postfix'] = '的條目', -- postfix for individual languages
['cat_nonezh'] = '非中文內容',
}
 
 
--[[--------------------------< M A K E _ T R A N S L I T _ T >------------------------------------------------