dungeon fix, update stamp support
This commit is contained in:
@@ -18,6 +18,38 @@ languages := [
|
||||
is_plane : match@(match: "(?i)Plane(?!swalker)")
|
||||
word_list : "word_list"
|
||||
],
|
||||
"English (British)": [
|
||||
code : "en",
|
||||
spellcheck_code : "en_GB",
|
||||
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|Emblem")
|
||||
is_plane : match@(match: "(?i)Plane(?!swalker)")
|
||||
word_list : "word_list"
|
||||
],
|
||||
"English (Canadian)": [
|
||||
code : "en",
|
||||
spellcheck_code : "en_CA",
|
||||
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|Emblem")
|
||||
is_plane : match@(match: "(?i)Plane(?!swalker)")
|
||||
word_list : "word_list"
|
||||
],
|
||||
Russian: [
|
||||
code : "ru",
|
||||
spellcheck_code : "ru_RU",
|
||||
@@ -86,6 +118,11 @@ languages := [
|
||||
|
||||
# The selected language
|
||||
language := { languages[set.card_language] or else languages.English }
|
||||
lang_name := {
|
||||
if languages[set.card_language].code or else false != false then
|
||||
set.card_language
|
||||
else "English"
|
||||
}
|
||||
spanish_number := {
|
||||
input := remove_tags(input)
|
||||
espanol_ones_array := ["cero", "uno", "dos", "tres", "cuatro", "cinco", "seis", "siete", "ocho", "nueve", "diez", "once", "doce", "trece", "catorce", "quince"]
|
||||
|
||||
Reference in New Issue
Block a user