(clean up.) |
m (Fixed typo (this wasn't fr, but en).) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 14: | Line 14: | ||
-- The "forms" argument for mw.language:convertPlural |
-- The "forms" argument for mw.language:convertPlural |
||
-- See https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.language:convertPlural |
-- See https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.language:convertPlural |
||
− | ['version_plural_forms'] = {' version', ' versions'} , |
+ | ['version_plural_forms'] = {'%s version', '%s versions'} , -- see string.format() |
-- The "separator" and "conjunction" arguments for mw.text.listToText |
-- The "separator" and "conjunction" arguments for mw.text.listToText |
||
-- See https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.text.listToText |
-- See https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.text.listToText |
||
Line 26: | Line 26: | ||
['text_3'] = 'Console old-gen', |
['text_3'] = 'Console old-gen', |
||
['text_j'] = 'Version Console japonaise', |
['text_j'] = 'Version Console japonaise', |
||
− | ['version_plural_forms'] = {' |
+ | ['version_plural_forms'] = {'version %s', 'versions %s'} , |
['list_conjunction'] = ' et ', |
['list_conjunction'] = ' et ', |
||
['eicons_error_text'] = 'Input EICONS invalide !', |
['eicons_error_text'] = 'Input EICONS invalide !', |
||
['eicons_error_cate'] = 'Modèle Eicons avec des plateformes invalides', |
['eicons_error_cate'] = 'Modèle Eicons avec des plateformes invalides', |
||
+ | }, |
||
+ | ['pl'] = { |
||
+ | ['text_1'] = 'PC', |
||
+ | ['text_2'] = 'konsolach', |
||
+ | ['text_3'] = 'konsolach starej generacji', |
||
+ | ['text_4'] = 'urządzeniach mobilnych', |
||
+ | ['text_j'] = 'Wersja na japońskich konsolach', |
||
+ | ['version_plural_forms'] = {'Edycje na %s', 'Edycje na %s'} , |
||
+ | ['list_conjunction'] = ' i ', |
||
}, |
}, |
||
['pt'] = { |
['pt'] = { |
||
Line 45: | Line 54: | ||
-- The "forms" argument for mw.language:convertPlural |
-- The "forms" argument for mw.language:convertPlural |
||
-- See https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.language:convertPlural |
-- See https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.language:convertPlural |
||
− | ['version_plural_forms'] = {'Versão para ', 'Versões para '} , |
+ | ['version_plural_forms'] = {'Versão para %s', 'Versões para %s'} , |
-- The "separator" and "conjunction" arguments for mw.text.listToText |
-- The "separator" and "conjunction" arguments for mw.text.listToText |
||
-- See https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.text.listToText |
-- See https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.text.listToText |
||
Line 67: | Line 76: | ||
-- The "forms" argument for mw.language:convertPlural |
-- The "forms" argument for mw.language:convertPlural |
||
-- See https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.language:convertPlural |
-- See https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.language:convertPlural |
||
− | ['version_plural_forms'] = {'', ''} , |
+ | ['version_plural_forms'] = {'%s', '%s'} , |
-- The "separator" and "conjunction" arguments for mw.text.listToText |
-- The "separator" and "conjunction" arguments for mw.text.listToText |
||
-- See https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.text.listToText |
-- See https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.text.listToText |
Revision as of 20:53, 11 October 2021
Documentation The documentation below is transcluded from Module:Exclusive/l10n/doc. (edit | history)
This module stores the localization information for Module:Exclusive.
return {
['en'] = {
-- eicons
-- used as "<A>, <B>, and <c> versions" format
['text_1'] = 'Desktop',
['text_2'] = 'Console',
['text_3'] = 'Old-gen console',
['text_4'] = 'Mobile',
['text_5'] = '3DS',
['text_6'] = 'Switch',
['text_7'] = 'tModLoader',
-- J will not appear with other versions.
['text_j'] = 'Japanese console version',
-- The "forms" argument for mw.language:convertPlural
-- See https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.language:convertPlural
['version_plural_forms'] = {'%s version', '%s versions'} , -- see string.format()
-- The "separator" and "conjunction" arguments for mw.text.listToText
-- See https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.text.listToText
['list_separator'] = ', ',
['list_conjunction'] = ', and ',
['eicons_error_text'] = 'Invalid EICONS input!',
['eicons_error_cate'] = 'Eicons template with invalid platforms', -- no platform or all platforms.
},
['fr'] = {
['text_1'] = 'Bureau',
['text_3'] = 'Console old-gen',
['text_j'] = 'Version Console japonaise',
['version_plural_forms'] = {'version %s', 'versions %s'} ,
['list_conjunction'] = ' et ',
['eicons_error_text'] = 'Input EICONS invalide !',
['eicons_error_cate'] = 'Modèle Eicons avec des plateformes invalides',
},
['pl'] = {
['text_1'] = 'PC',
['text_2'] = 'konsolach',
['text_3'] = 'konsolach starej generacji',
['text_4'] = 'urządzeniach mobilnych',
['text_j'] = 'Wersja na japońskich konsolach',
['version_plural_forms'] = {'Edycje na %s', 'Edycje na %s'} ,
['list_conjunction'] = ' i ',
},
['pt'] = {
-- eicons
-- used as "<A>, <B>, and <c> versions" format
['text_1'] = 'Computador',
['text_2'] = 'Console',
['text_3'] = 'Console old-gen',
['text_4'] = 'Celular',
['text_5'] = '3DS',
['text_6'] = 'Switch',
['text_7'] = 'tModLoader',
-- J will not appear with other versions.
['text_j'] = 'Versão para Console japonês',
-- The "forms" argument for mw.language:convertPlural
-- See https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.language:convertPlural
['version_plural_forms'] = {'Versão para %s', 'Versões para %s'} ,
-- The "separator" and "conjunction" arguments for mw.text.listToText
-- See https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.text.listToText
['list_separator'] = ', ',
['list_conjunction'] = ' e ',
['eicons_error_text'] = 'Valor inserido para EICONS inválido!',
['eicons_error_cate'] = 'Predefinição eicons com plataformas inválidas', -- no platform or all platforms.
},
['zh'] = {
-- eicons
-- used as "<A>, <B>, and <c> versions" format
['text_1'] = '电脑版',
['text_2'] = '主机版',
['text_3'] = '前代主机版',
['text_4'] = '移动版',
['text_5'] = '3DS版',
['text_6'] = 'Switch版',
['text_7'] = 'tModLoader支持版本',
-- J will not appear with other versions.
['text_j'] = '日本主机版',
-- The "forms" argument for mw.language:convertPlural
-- See https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.language:convertPlural
['version_plural_forms'] = {'%s', '%s'} ,
-- The "separator" and "conjunction" arguments for mw.text.listToText
-- See https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.text.listToText
['list_separator'] = '、',
['list_conjunction'] = '、和',
['eicons_error_text'] = 'Invalid EICONS input!',
['eicons_error_cate'] = 'Eicons template with invalid platforms', -- no platform or all platforms.
},
}