mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
|
|
|
|
# Language specific strings
|
|
languages := [
|
|
English: [
|
|
code : "en",
|
|
spellcheck_code : "en_us",
|
|
pt_separator : "/",
|
|
type_separator : " — ",
|
|
subtype_separator : " ",
|
|
is_creature : match@(match: "(?i)Creature")
|
|
is_tribal : match@(match: "(?i)Tribal")
|
|
is_artifact : match@(match: "(?i)Artifact")
|
|
is_land : match@(match: "(?i)Land")
|
|
is_enchantment : match@(match: "(?i)Enchantment")
|
|
is_spell : match@(match: "(?i)Instant|Sorcery")
|
|
is_planeswalker : match@(match: "(?i)Planeswalker")
|
|
],
|
|
|
|
Français: [
|
|
code : "fr",
|
|
spellcheck_code : "", # TODO: get dictionary
|
|
pt_separator : "/",
|
|
type_separator : " : "
|
|
subtype_separator : "<atom-sep> et </atom-sep>",
|
|
is_creature : match@(match: "(?i)Creature|Créature")
|
|
is_tribal : match@(match: "(?i)Tribal")
|
|
is_artifact : match@(match: "(?i)Artifact")
|
|
is_land : match@(match: "(?i)Land")
|
|
is_enchantment : match@(match: "(?i)Enchantment")
|
|
is_spell : match@(match: "(?i)Instant|Sorcery")
|
|
is_planeswalker : match@(match: "(?i)Planeswalker")
|
|
]
|
|
]
|
|
|
|
# The selected language
|
|
language := { languages[set.card_language] or else language.English }
|