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:
@@ -193,12 +193,17 @@ init script:
|
||||
un_png := replace@(match:".png", replace: "")
|
||||
a_saga := {true}
|
||||
saga_reminder := { if styling.alternate_reminder != "" then styling.alternate_reminder else if is_class() then "Gain the next level as a sorcery to add its ability." else "As this Saga enters and after your draw step, add a lore counter. Sacrifice after III." }
|
||||
is_nyx := {contains(styling.other_options, match:"nyx")}
|
||||
is_snow := {contains(styling.other_options, match:"snow")}
|
||||
is_vehicle := {contains(styling.other_options, match:"vehicle")}
|
||||
is_class := {contains(styling.other_options, match:"class") or contains(card.sub_type, match:"Class")}
|
||||
is_class := {contains(styling.other_options, match:"class") or lang_setting("is_class")(card.sub_type)}
|
||||
un_marked := {is_class() or contains(styling.other_options, match:"remove bookmark")}
|
||||
is_legend := {set.auto_legends and contains(card.super_type, match:"Legendary") }
|
||||
is_legend := { auto_legend() }
|
||||
is_vehicle := { auto_vehicle() or contains(styling.other_options, match:"vehicle") }
|
||||
is_nyx := { auto_nyx() or contains(styling.other_options, match:"nyx") }
|
||||
is_snow := { auto_snow() or contains(styling.other_options, match:"snow") }
|
||||
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) }
|
||||
|
||||
nyx_background := { color_background(type:"nyx", base_hybrid:card_hybrid) }
|
||||
snow_background := { color_background(type:"snowtexture", base_hybrid:card_hybrid) }
|
||||
bookmark_background := { color_background(type:"mark", base_hybrid:card_hybrid) }
|
||||
@@ -275,6 +280,14 @@ styling field:
|
||||
type: text
|
||||
name: custom chapter name
|
||||
description: Set how this symbol will be called in text exports (ie I, II...). Default is C.
|
||||
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
|
||||
@@ -406,6 +419,9 @@ styling style:
|
||||
choice images:
|
||||
no: { symbol_variation(symbol: set.symbol, variation: "common") }
|
||||
yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") }
|
||||
auto frames:
|
||||
render style: checklist
|
||||
direction: vertical
|
||||
other options:
|
||||
render style: checklist
|
||||
direction: vertical
|
||||
|
||||
Reference in New Issue
Block a user