Localization Update (#23)
Improved localization support across MSE. Unless otherwise noted, updates apply to Chinese, French, German, Italian, Japanese, Korean, Portuguese, Russian, and Spanish Locales have been updated, including the Dutch and Polish locales. These may still want to be improved by native speakers but are no longer full of untranslated English strings. Type line word lists are now localized, and will change with the Set tab language option rather than needing files to be edited. Chinese types are sorted by Unicode, Japanese types are sorted by gojūon, the rest are alphabetized in their own language. Card type and super types have also been reordered accordingly. Added spellcheck dictionaries for most languages. Chinese and Japanese have instead had their spellchecking disabled so they don't have their entire cards underlined. Updated the Beleren, MPlantin, and Relay fonts to support Cyrillic characters. Number maps have been added to assist with localized keywords. Localized keyword files have been added up to Lost Caverns of Ixalan. To use these, rename the magic.mse-game/keywords file to "keywords_en", then rename the keyword file of your choice to "keywords". Craft has a simplified reminder text for most languages. The craft_code function in magic.mse-game/scripts provides a template for using the more comprehensive version English uses, with German having access to it as well so far. Localized auto-frames for M15 Adventures, M15 Sagas, Mainframe Tokens, M15 Mainframe, Mainframe DFC, and GenevensiS frames Added Totem armor -> Umbra armor to auto errata script, and updated it to allow for localized replacements Did about as much stats page localization as we can get away with. French has been completed, other languages will need the stats names and help trace done by someone who actually knows the language. --------- Co-authored-by: cajun <kajunkittyavenger@gmail.com>
This commit is contained in:
@@ -68,17 +68,20 @@ init script:
|
||||
is_promo := { styling.promo }
|
||||
########## Frame styling
|
||||
card_shape := { "token" }
|
||||
is_clear := { styling.use_clear_frames }
|
||||
is_unsorted := {styling.remove_from_autocount}
|
||||
is_m20 := {contains(styling.frames, match: "M20")}
|
||||
is_snow := {contains(styling.frames, match: "snow") and not is_m20()}
|
||||
is_tall := {contains(styling.frames, match: "tall")}
|
||||
is_textless := {card.rule_text == "" and remove_tags(card.flavor_text) == ""}
|
||||
is_clear := {contains(styling.frames, match: "clear")}
|
||||
mtgo_abil := {contains(styling.frames, match: "MTGO Ability") and not is_m20()}
|
||||
is_legend := {(contains(styling.frames, match: "legend") or (set.auto_legends and contains(card.super_type, match:"Legendary")))}
|
||||
is_nyx := {contains(styling.frames, match: "nyx") and not is_clear() and not is_m20()}
|
||||
is_vehicle := {contains(styling.frames, match: "vehicle") and not is_m20()}
|
||||
is_legend := { auto_legend() or contains(styling.frames, match:"legendary") }
|
||||
is_vehicle := { (auto_vehicle() or contains(styling.frames, match:"vehicle")) and not is_m20() }
|
||||
is_nyx := { (auto_nyx() or contains(styling.frames, match:"nyx")) and not is_m20() and not is_clear() }
|
||||
is_snow := { (auto_snow() or contains(styling.frames, match:"snow")) and not is_m20() }
|
||||
auto_legend := { set.auto_legends and lang_setting("is_legendary")(card.super_type) }
|
||||
auto_vehicle := { contains(styling.auto_frames, match:"vehicle") and lang_setting("is_vehicle")(card.sub_type) }
|
||||
auto_nyx := { contains(styling.auto_frames, match:"nyx") and lang_setting("is_nyx")(card.super_type) }
|
||||
auto_snow := { contains(styling.auto_frames, match:"snow") and lang_setting("is_snow")(card.super_type) }
|
||||
is_copy := {contains(styling.frames, match: "copy")}
|
||||
text_shape := {
|
||||
if is_m20() and is_tall() then "9"
|
||||
@@ -133,6 +136,14 @@ styling field:
|
||||
choice: vehicle
|
||||
choice: nyx
|
||||
choice: snow
|
||||
styling field:
|
||||
type: multiple choice
|
||||
name: auto frames
|
||||
description: Automatically applies frames for multi-typed enchantments, snow, or Vehicles.
|
||||
choice: nyx
|
||||
choice: vehicle
|
||||
choice: snow
|
||||
initial: nyx, vehicle, snow
|
||||
styling field:
|
||||
type: multiple choice
|
||||
name: other options
|
||||
@@ -238,6 +249,9 @@ styling style:
|
||||
frames:
|
||||
render style: checklist
|
||||
direction: vertical
|
||||
auto frames:
|
||||
render style: checklist
|
||||
direction: vertical
|
||||
other options:
|
||||
render style: checklist
|
||||
direction: vertical
|
||||
|
||||
Reference in New Issue
Block a user