Stats page bug fixes (#29)

* Added <atom-sep> to subtype_separators to better accomodate multi-wordsubtypes.
* Fixed the colorless value in Color Category not being localized and not linking relevant cards when clicking on it's histogram bar.
* Fixed the global_variable_average_opening_hand_statistic function being extremely slow and potentially crashing large sets.
* Added is_tokenish method that checks if something is a token, an emblem, a designation, a rulestip, a counter or a checklist.
* Fixed a bug on some setups, where strings could be too long and would cause the display tab of the preferences menu to collapse on itself.
* fix some untranslated strings

---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
This commit is contained in:
GenevensiS
2024-01-15 14:10:57 +01:00
committed by GitHub
parent 0960b3d694
commit 666632a4e9
17 changed files with 243 additions and 175 deletions

View File

@@ -241,11 +241,13 @@ help:
number of packs: 要生成的 %ss 数量 number of packs: 要生成的 %ss 数量
# Preferences # Preferences
app language: app language:
注意: 你必须重新启动MSE才能使语言修改生效 注意: 你必须重新启动MSE
zoom export: 才能使语言修改生效
(当关闭该项的时候,卡牌会按照以下规则导出: zoom export:
100%大小,不旋转) (当关闭该项的时候,
卡牌会按照以下规则导出:
100%大小,不旋转)
# apprentice export # apprentice export
set code: 套牌代码是一个双字节代码它能被Apprentice识别成一幅套牌 set code: 套牌代码是一个双字节代码它能被Apprentice识别成一幅套牌

View File

@@ -239,11 +239,13 @@ help:
number of packs: 要產生的 %ss 數量 number of packs: 要產生的 %ss 數量
# Preferences # Preferences
app language: app language:
注意: 你必須重新啟動MSE才能使語言修改生效 注意: 你必須重新啟動MSE
zoom export: 才能使語言修改生效
(當關閉該項的時候,卡牌會按照以下規則導出: zoom export:
100%大小,不旋轉) (當關閉該項的時候,
卡牌會按照以下規則導出:
100%大小,不旋轉)
# apprentice export # apprentice export
set code: 套牌代碼是一個雙位元組代碼它能被Apprentice識別成一幅套牌 set code: 套牌代碼是一個雙位元組代碼它能被Apprentice識別成一幅套牌

View File

@@ -239,11 +239,14 @@ help:
number of packs: Antallet af %ss genereret number of packs: Antallet af %ss genereret
# Preferences # Preferences
app language: app language:
Note: Du skal genstarte MSE for at ændringerne skal træde i kraft Note: Du skal genstarte
zoom export: MSE for at ændringerne
(Når slukket er kortene eksporteret skal træde i kraft
og kopieret i 100% størrelse og uden rotation) zoom export:
(Når slukket er kortene
eksporteret og kopieret i 100%
størrelse og uden rotation)
# apprentice export # apprentice export
set code: En sætkode er to bogstaver, som Apprentice bruger til at skelne imellem sættene set code: En sætkode er to bogstaver, som Apprentice bruger til at skelne imellem sættene
@@ -626,7 +629,9 @@ button:
high quality: &Opløsning i høj kvalitet high quality: &Opløsning i høj kvalitet
show lines: Vis &linier omkring felter show lines: Vis &linier omkring felter
show editing hints: Vis bokse og hints for &redigering show editing hints: Vis bokse og hints for &redigering
zoom export: Brug zoom og rotationsfunktioner under e&ksport zoom export:
Brug zoom og rotationsfunktioner
under e&ksport
spellcheck enabled: Vis stavefejl på kort spellcheck enabled: Vis stavefejl på kort
check now: Tjek &Nu! check now: Tjek &Nu!
always: Altid always: Altid

View File

@@ -239,11 +239,12 @@ help:
number of packs: Die Anzahl der zu generierenden %ss number of packs: Die Anzahl der zu generierenden %ss
# Preferences # Preferences
app language: app language:
Bitte starten Sie MSE neu, damit die Änderungen wirksam werden. Bitte starten Sie MSE neu,
zoom export: damit die Änderungen wirksam werden.
zoom export:
(Wenn ausgeschaltet, werden die (Wenn ausgeschaltet, werden die
Karten normal exportiert) Karten normal exportiert)
# apprentice export # apprentice export
set code: Der zweiteilige Code wird vom Rohling genutzt, um auf eine Edition zu verweisen. set code: Der zweiteilige Code wird vom Rohling genutzt, um auf eine Edition zu verweisen.
@@ -626,7 +627,9 @@ button:
high quality: &High-quality-Rendern high quality: &High-quality-Rendern
show lines: Hilfslinien anzeigen show lines: Hilfslinien anzeigen
show editing hints: Zeigt Hilfen beim B&earbeiten an show editing hints: Zeigt Hilfen beim B&earbeiten an
zoom export: Zoom- und Dreheinstellungen beim Export verwenden zoom export:
Zoom- und Dreheinstellungen
beim Export verwenden
spellcheck enabled: Rechtschreibfehler auf Karten anzeigen spellcheck enabled: Rechtschreibfehler auf Karten anzeigen
check now: &Jetzt überprüfen check now: &Jetzt überprüfen
always: Immer (empfohlen) always: Immer (empfohlen)

View File

@@ -239,11 +239,13 @@ help:
number of packs: The number of %ss to generate number of packs: The number of %ss to generate
# Preferences # Preferences
app language: app language:
Note: You must restart MSE for the changes to take effect. Note: You must restart MSE
zoom export: for the changes to take effect.
(When off, the cards are exported zoom export:
and copied at 100% size and normal rotation) (When off, the cards are
exported and copied at 100%
size and normal rotation)
# apprentice export # apprentice export
set code: A set code is a two character code that is used by Apprentice to refer to a set. set code: A set code is a two character code that is used by Apprentice to refer to a set.
@@ -626,7 +628,9 @@ button:
high quality: &High quality rendering high quality: &High quality rendering
show lines: Show &lines around fields show lines: Show &lines around fields
show editing hints: Show boxes and hints for &editing show editing hints: Show boxes and hints for &editing
zoom export: Use Viewer zoom and rotation settings when e&xporting zoom export:
Use Viewer zoom and rotation
settings when e&xporting
spellcheck enabled: Show &spelling errors on cards spellcheck enabled: Show &spelling errors on cards
check now: Check &Now check now: Check &Now
always: Always always: Always

View File

@@ -239,10 +239,13 @@ help:
number of packs: Número de %ss a generar number of packs: Número de %ss a generar
# Preferences # Preferences
app language: app language:
Note: Debes reiniciar MSE para que los cambios hagan efecto. Note: Debes reiniciar MSE
zoom export: para que los cambios hagan efecto.
(Cuando está desactivado, las cartas se exportan en una orientación normal) zoom export:
(Cuando está desactivado,
las cartas se exportan en
una orientación normal)
# apprentice export # apprentice export
set code: Un código de Set es un código de dos caracteres que usa el Apprentice para referirse a un Set. set code: Un código de Set es un código de dos caracteres que usa el Apprentice para referirse a un Set.
@@ -627,7 +630,9 @@ button:
high quality: &Renderización de alta calidad high quality: &Renderización de alta calidad
show lines: Mostrar &líneas alrededor de los campos show lines: Mostrar &líneas alrededor de los campos
show editing hints: Mostrar cajas y pistas para &editar show editing hints: Mostrar cajas y pistas para &editar
zoom export: Usar las configuraciones rotación cuando se e&xporte zoom export:
Usar las configuraciones
rotación cuando se e&xporte
spellcheck enabled: Mostrar errores de &ortografía en las cartas spellcheck enabled: Mostrar errores de &ortografía en las cartas
check now: Buscar &ahora check now: Buscar &ahora
always: Siempre always: Siempre

View File

@@ -239,11 +239,13 @@ help:
number of packs: Le nombre de %ss à générer number of packs: Le nombre de %ss à générer
# Preferences # Preferences
app language: app language:
Note: Vous devez redémarrer MSE pour que le changement prenne effet. Note: Vous devez redémarrer MSE
zoom export: pour que le changement prenne effet.
(Quand l'option est décochée, les cartes sont exportées zoom export:
à 100% de leur taille et dans leur rotation normale.) (Quand l'option est décochée, les
cartes sont exportées à 100% de leur
taille et dans leur rotation normale.)
# apprentice export # apprentice export
set code: Un Set Code est un code à 2 caractères utilisé par le logiciel pour référencer le Set set code: Un Set Code est un code à 2 caractères utilisé par le logiciel pour référencer le Set
@@ -627,7 +629,9 @@ button:
high quality: Rendu haute qualité high quality: Rendu haute qualité
show lines: Afficher les lignes autour des champs show lines: Afficher les lignes autour des champs
show editing hints: Afficher les étiquettes et les conseils pour l'edition show editing hints: Afficher les étiquettes et les conseils pour l'edition
zoom export: Utiliser les paramètres de zoom et de rotation lors de l'exportation zoom export:
Utiliser les paramètres de zoom et
de rotation lors de l'exportation
spellcheck enabled: Afficher les fautes d'orthographe sur les cartes spellcheck enabled: Afficher les fautes d'orthographe sur les cartes
check now: &Vérifier maintenant check now: &Vérifier maintenant
always: Toujours always: Toujours

View File

@@ -239,11 +239,13 @@ help:
number of packs: Il numero di %ss per generare number of packs: Il numero di %ss per generare
# Preferences # Preferences
app language: app language:
Nota: Devi riavviare MSE perchè le modifiche abbiano effetto. Nota: Devi riavviare MSE perchè
zoom export: le modifiche abbiano effetto.
(Se disattivato, le carte sono esportate e copiate zoom export:
al 100% della grandezza e con orientamento normale) (Se disattivato, le carte sono
esportate e copiate al 100% della
grandezza e con orientamento normale)
# apprentice export # apprentice export
set code: Un set code è un codice di due caratteri usato da Apprentice come riferimento ad un set. set code: Un set code è un codice di due caratteri usato da Apprentice come riferimento ad un set.
@@ -626,7 +628,9 @@ button:
high quality: Rendering ad alta qualità (&H) high quality: Rendering ad alta qualità (&H)
show lines: Mostra &linee attorno ai campi show lines: Mostra &linee attorno ai campi
show editing hints: Mostra suggerimenti per le &modifiche show editing hints: Mostra suggerimenti per le &modifiche
zoom export: usa le impostazioni di zoom e rotazione quando e&sporti zoom export:
usa le impostazioni di zoom
e rotazione quando e&sporti
spellcheck enabled: Mostra gli errori di ortografia sulle carte spellcheck enabled: Mostra gli errori di ortografia sulle carte
check now: Controlla ora (&N) check now: Controlla ora (&N)
always: Sempre always: Sempre

View File

@@ -239,9 +239,10 @@ help:
number of packs: 生成する %ss の数 number of packs: 生成する %ss の数
# Preferences # Preferences
app language: app language:
注: 変更を適用するためにはMagic Set Editorを再起動する必要があります。 注: 変更を適用するためにはMagic Set Editor
zoom export: を再起動する必要があります。
zoom export:
(このチェック・ボックスがオフの場合、 (このチェック・ボックスがオフの場合、
エクスポートされる画像に回転やズームは適用されません) エクスポートされる画像に回転やズームは適用されません)

View File

@@ -241,10 +241,12 @@ help:
number of packs: The number of %ss to generate number of packs: The number of %ss to generate
# Preferences # Preferences
app language: app language:
참고: 변경 사항을 적용하려면 MSE를 다시 시작해야 합니다. 참고: 변경 사항을 적용하려면
zoom export: MSE를 다시 시작해야 합니다.
끄면 카드가 100% 크기 및 일반 회전으로 내보내지고 복사됩니다. zoom export:
끄면 카드가 100% 크기 및 일반
회전으로 내보내지고 복사됩니다.
# apprentice export # apprentice export
set code: 세트 코드는 Apprentice이 세트를 참조하는 데 사용하는 두 문자 코드입니다. set code: 세트 코드는 Apprentice이 세트를 참조하는 데 사용하는 두 문자 코드입니다.
@@ -627,7 +629,9 @@ button:
high quality: 고품질 렌더링 high quality: 고품질 렌더링
show lines: 필드 주위에 선 표시 show lines: 필드 주위에 선 표시
show editing hints: 편집에 대한 힌트 표시 show editing hints: 편집에 대한 힌트 표시
zoom export: 이미지를 내보낼 때 확대/축소 및 회전 옵션 사용 zoom export:
이미지를 내보낼 때 확대/축소
및 회전 옵션 사용
spellcheck enabled: 철자 오류 표시 spellcheck enabled: 철자 오류 표시
check now: 지금 확인하세요 check now: 지금 확인하세요
always: 언제나 always: 언제나

View File

@@ -725,7 +725,7 @@ languages := [
pt_separator : "/" pt_separator : "/"
supertype_separator : " " supertype_separator : " "
type_separator : " — " type_separator : " — "
subtype_separator : " " subtype_separator : "<atom-sep> </atom-sep>"
keyword_types : ["old","core","expert","pseudo","action","custom"] keyword_types : ["old","core","expert","pseudo","action","custom"]
is_artifact : match@(match: "(?i)Artifact") is_artifact : match@(match: "(?i)Artifact")
@@ -1461,7 +1461,7 @@ languages := [
supertype_separator : " " supertype_separator : " "
type_separator : " — " type_separator : " — "
super_spacer : true super_spacer : true
subtype_separator : " " subtype_separator : "<atom-sep> </atom-sep>"
keyword_types : ["viejo","núcleo","experto","seudo","acción","personalizado"] keyword_types : ["viejo","núcleo","experto","seudo","acción","personalizado"]
is_artifact : match@(match: "(?i)Artefacto") is_artifact : match@(match: "(?i)Artefacto")
@@ -2874,7 +2874,7 @@ languages := [
supertype_separator : " " supertype_separator : " "
type_separator : " — " type_separator : " — "
super_spacer : true super_spacer : true
subtype_separator : " " subtype_separator : "<atom-sep> </atom-sep>"
keyword_types : ["vecchio","nucleo","esperto","pseudo","azione","personalizzato"] keyword_types : ["vecchio","nucleo","esperto","pseudo","azione","personalizzato"]
is_artifact : match@(match: "(?i)Artefatto") is_artifact : match@(match: "(?i)Artefatto")
@@ -3579,7 +3579,7 @@ languages := [
pt_separator : "/" pt_separator : "/"
supertype_separator : "" supertype_separator : ""
type_separator : " — " type_separator : " — "
subtype_separator : "" subtype_separator : "<atom-sep>・</atom-sep>"
keyword_types : ["古い","中核","習熟","疑似","アクション","パーソナライズされた"] keyword_types : ["古い","中核","習熟","疑似","アクション","パーソナライズされた"]
is_artifact : match@(match: "(?i)アーティファクト") is_artifact : match@(match: "(?i)アーティファクト")
@@ -4356,7 +4356,7 @@ languages := [
supertype_separator : " " supertype_separator : " "
type_separator : " — " type_separator : " — "
super_spacer : true super_spacer : true
subtype_separator : " " subtype_separator : "<atom-sep> </atom-sep>"
keyword_types : ["늙은","핵심","숙련된","가짜","행동","맞춤형"] keyword_types : ["늙은","핵심","숙련된","가짜","행동","맞춤형"]
is_artifact : match@(match: "(?i)마법물체") is_artifact : match@(match: "(?i)마법물체")
@@ -5026,7 +5026,7 @@ languages := [
supertype_separator : " " supertype_separator : " "
type_separator : " — " type_separator : " — "
super_spacer : true super_spacer : true
subtype_separator : " " subtype_separator : "<atom-sep> </atom-sep>"
keyword_types : ["velho","núcleo","perito","pseudo","ação","personalizado"] keyword_types : ["velho","núcleo","perito","pseudo","ação","personalizado"]
is_artifact : match@(match: "(?i)Artefato") is_artifact : match@(match: "(?i)Artefato")
@@ -5735,7 +5735,7 @@ languages := [
supertype_separator : " " supertype_separator : " "
type_separator : " — " type_separator : " — "
super_spacer : true super_spacer : true
subtype_separator : " " subtype_separator : "<atom-sep> </atom-sep>"
keyword_types : ["старый","ядро","экспертный","псевдо","действие","персонализированный"] keyword_types : ["старый","ядро","экспертный","псевдо","действие","персонализированный"]
is_artifact : match@(match: "(?i)Артефакт") is_artifact : match@(match: "(?i)Артефакт")
@@ -7805,7 +7805,7 @@ languages := [
pt_separator : "/" pt_separator : "/"
supertype_separator : " " supertype_separator : " "
type_separator : " — " type_separator : " — "
subtype_separator : " " subtype_separator : "<atom-sep> </atom-sep>"
keyword_types : ["old","core","expert","pseudo","action","custom"] keyword_types : ["old","core","expert","pseudo","action","custom"]
], ],
"English (Canadian)": [ "English (Canadian)": [
@@ -7814,7 +7814,7 @@ languages := [
pt_separator : "/" pt_separator : "/"
supertype_separator : " " supertype_separator : " "
type_separator : " — " type_separator : " — "
subtype_separator : " " subtype_separator : "<atom-sep> </atom-sep>"
keyword_types : ["old","core","expert","pseudo","action","custom"] keyword_types : ["old","core","expert","pseudo","action","custom"]
] ]
] ]

View File

@@ -1106,10 +1106,9 @@ super_type_filter := {
"<{tag}>{input}</{tag}>" "<{tag}>{input}</{tag}>"
} }
break_subtypes := split_text@(match: " +|<atom-sep>[^<]*</atom-sep>", include_empty:false) break_subtypes := split_text@(match: "<atom-sep>[^<]*</atom-sep>|</?word-list-[^>]*>", include_empty:false) # splitting at word-list tags is for backwards compatibility, when atom-sep was not yet inserted everywhere.
break_supertypes := split_text@(match: "<atom-sep>[^<]*</atom-sep>", include_empty:false) break_supertypes := split_text@(match: "<atom-sep>[^<]*</atom-sep>", include_empty:false)
sub_type_filter := { sub_type_filter := {
input := remove_tag(tag: "<word-list-")
input := remove_tag(tag: "<soft") input := remove_tag(tag: "<soft")
# What word list to use? # What word list to use?
list_type_rest := if lang_setting("is_creature")(type) or lang_setting("is_kindred")(type) then "class-"+lang_setting("code") list_type_rest := if lang_setting("is_creature")(type) or lang_setting("is_kindred")(type) then "class-"+lang_setting("code")
@@ -1130,9 +1129,11 @@ sub_type_filter := {
); );
# wrap wordlist tag around each part # wrap wordlist tag around each part
parts := break_subtypes() parts := break_subtypes()
(for each i:part in parts do checked_first := false
if i == 0 then (for each part in parts do
"<word-list-{list_type_first}>{part}</word-list-{list_type_first}>" if trim(part) == "" then ""
else if not checked_first then
(checked_first := true; "<word-list-{list_type_first}>{part}</word-list-{list_type_first}>")
else else
languages[lang_name()].subtype_separator + "<word-list-{list_type_rest}>{part}</word-list-{list_type_rest}>" languages[lang_name()].subtype_separator + "<word-list-{list_type_rest}>{part}</word-list-{list_type_rest}>"
) + ) +

View File

@@ -238,7 +238,7 @@ face_color_category_statistic :=
else if black then all_en_space_statistic(lang_setting("black")) else if black then all_en_space_statistic(lang_setting("black"))
else if red then all_en_space_statistic(lang_setting("red")) else if red then all_en_space_statistic(lang_setting("red"))
else if green then all_en_space_statistic(lang_setting("green")) else if green then all_en_space_statistic(lang_setting("green"))
else input else all_en_space_statistic(lang_setting("colorless"))
} }
# Omniverse colors # Omniverse colors
@@ -597,13 +597,9 @@ average_opening_hand_statistic :=
} }
global_variable_average_opening_hand_statistic := global_variable_average_opening_hand_statistic :=
{ {
set_count := length(set.cards)-1 if length(set.cards) < 1 then "" else (
if set_count < 0 then "" else (
cards := for x from 0 to set_count do (if trim_from_draw_statistic(card: set.cards[x]) then [] else [set.cards[x]])
card_count := length(cards)-1
card_count_real := to_number(card_count+1)
if card_count < 6 then lang_setting("message_drops_no_cards") else (
card_count := 0
lands := 0 lands := 0
manaartifacts := 0 manaartifacts := 0
nonmanaartifacts := 0 nonmanaartifacts := 0
@@ -614,19 +610,36 @@ global_variable_average_opening_hand_statistic :=
sorceries := 0 sorceries := 0
instants := 0 instants := 0
for x from 0 to card_count do is_land := lang_setting("is_land")
is_artifact := lang_setting("is_artifact")
is_enchantment := lang_setting("is_enchantment")
is_planeswalker := lang_setting("is_planeswalker")
is_battle := lang_setting("is_battle")
is_creature := lang_setting("is_creature")
is_sorcery := lang_setting("is_sorcery")
is_instant := lang_setting("is_instant")
for each c in set.cards do
( (
c := cards[x] if not trim_from_draw_statistic(card:c) then
if has_type_statistic(card:c, "land") then lands := lands + 1 (
if has_type_statistic(card:c, "artifact") then (if mana_production_list_statistic(card: c, check_type: "nonland") == "" then (nonmanaartifacts := nonmanaartifacts + 1) else (manaartifacts := manaartifacts + 1)) type := c.type + (if check_2_statistic(card:c) then " " + c.type_2 else "")
if has_type_statistic(card:c, "enchantment") then enchantments := enchantments + 1 card_count := card_count + 1
if has_type_statistic(card:c, "planeswalker") then planeswalkers := planeswalkers + 1 if is_land(type) then lands := lands + 1
if has_type_statistic(card:c, "battle") then battles := battles + 1 if is_artifact(type) then (if mana_production_list_statistic(card: c, check_type: "nonland") == "" then (nonmanaartifacts := nonmanaartifacts + 1) else (manaartifacts := manaartifacts + 1))
if has_type_statistic(card:c, "creature") then creatures := creatures + 1 if is_enchantment(type) then enchantments := enchantments + 1
if has_type_statistic(card:c, "sorcery") then sorceries := sorceries + 1 if is_planeswalker(type) then planeswalkers := planeswalkers + 1
if has_type_statistic(card:c, "instant") then instants := instants + 1 if is_battle(type) then battles := battles + 1
if is_creature(type) then creatures := creatures + 1
if is_sorcery(type) then sorceries := sorceries + 1
if is_instant(type) then instants := instants + 1
)
""
) )
if card_count < 6 then lang_setting("message_drops_no_cards") else (
card_count_real := to_number(card_count)
lands_average := format_average_statistic(7.0 * to_number(lands) / card_count_real) lands_average := format_average_statistic(7.0 * to_number(lands) / card_count_real)
manaartifacts_average := format_average_statistic(7.0 * to_number(manaartifacts) / card_count_real) manaartifacts_average := format_average_statistic(7.0 * to_number(manaartifacts) / card_count_real)
nonmanaartifacts_average := format_average_statistic(7.0 * to_number(nonmanaartifacts) / card_count_real) nonmanaartifacts_average := format_average_statistic(7.0 * to_number(nonmanaartifacts) / card_count_real)
@@ -659,10 +672,20 @@ format_average_statistic :=
# Rarities. # Rarities.
rarity_statistic := rarity_statistic :=
{ {
if card.shape == "Token" or card.shape == "token" or lang_setting("is_token")(card.super_type) then all_en_space_statistic(lang_setting("token")) if is_tokenish_statistics(card.shape) or lang_setting("is_token")(card.super_type) then all_en_space_statistic(lang_setting("token"))
else if lang_setting("is_land")(card.super_type) and lang_setting("is_basic")(card.super_type) then all_en_space_statistic(lang_setting("basic_land")) else if lang_setting("is_land")(card.super_type) and lang_setting("is_basic")(card.super_type) then all_en_space_statistic(lang_setting("basic_land"))
else all_en_space_statistic(lang_setting(replace_space_statistic(card.rarity))) else all_en_space_statistic(lang_setting(replace_space_statistic(card.rarity)))
} }
is_tokenish_statistics :=
{
input := to_lower(input)
contains(input, match: "token")
or contains(input, match: "emblem")
or contains(input, match: "designation")
or contains(input, match: "rulestip")
or contains(input, match: "counter")
or contains(input, match: "checklist")
}
# Watermarks # Watermarks
watermark_statistic := watermark_statistic :=
@@ -1078,7 +1101,7 @@ en_space_statistic := replace@(match: " ", replace: " ", in_context:"[^>]<matc
all_en_space_statistic := replace@(match: " ", replace: " ") all_en_space_statistic := replace@(match: " ", replace: " ")
clean_subtypes_statistic := replace_squote_statistic + clean_subtypes_statistic := replace_squote_statistic +
en_space_statistic en_space_statistic
# semicolor separated lists of all localized canon subtypes # semicolor separated lists of all localized canon subtypes
land_subtypes_statistic := { land_subtypes_statistic := {
basics := lang_setting("word_lists_basic") basics := lang_setting("word_lists_basic")
@@ -1536,22 +1559,19 @@ trim_from_statistic :=
{ {
if set.trim_statistics then if set.trim_statistics then
( (
card.shape == "token" is_tokenish_statistics(card.shape)
or card.shape == "emblem"
or card.rarity == "special" or card.rarity == "special"
or card.rarity == "masterpiece" or card.rarity == "masterpiece"
or lang_setting("is_nonstandard")(card.type) or lang_setting("is_nonstandard")(card.type)
) )
else false else false
} }
trim_from_draw_statistic := trim_from_draw_statistic :=
{ {
contains(card.notes, match: "commander") contains(card.notes, match: "commander")
or contains(card.notes, match: "Commander") or contains(card.notes, match: "Commander")
or (set.trim_statistics and (card.rarity == "special" or card.rarity == "masterpiece")) or (set.trim_statistics and (card.rarity == "special" or card.rarity == "masterpiece"))
or card.shape == "token" or is_tokenish_statistics(card.shape)
or card.shape == "emblem"
or lang_setting("is_nonstandard")(card.type) or lang_setting("is_nonstandard")(card.type)
or filter_from_statistic(card: card) == lang_setting("message_filter_filtered") or filter_from_statistic(card: card) == lang_setting("message_filter_filtered")
} }

View File

@@ -576,7 +576,7 @@ word list:
is prefix: true is prefix: true
line below: true line below: true
word: word:
name: Nonstandard name: 非標準
word: 策略 word: 策略
word: ダンジョン word: ダンジョン
word: エリート・クリーチャー word: エリート・クリーチャー
@@ -770,7 +770,7 @@ word list:
script: all_races() script: all_races()
line below: true line below: true
word: word:
name: All Races name: Alle Arten
word: word:
name: A name: A
word: word:
@@ -885,7 +885,7 @@ word list:
script: all_classes() script: all_classes()
line below: true line below: true
word: word:
name: All Classes name: Alle Klassen
word: word:
name: A-B name: A-B
word: word:
@@ -914,23 +914,23 @@ word list:
script: all_sub_types(setting:"is_plane") script: all_sub_types(setting:"is_plane")
line below: true line below: true
word: word:
name: Standard Planes name: Standardwelt
word: word:
script: lang_setting("word_lists_plane").0 script: lang_setting("word_lists_plane").0
word: word:
name: Planechase Planes name: Planechase Welt
word: word:
script: lang_setting("word_lists_plane").1 script: lang_setting("word_lists_plane").1
word: word:
name: Other Modern Planes name: Andere moderne Welt
word: word:
script: lang_setting("word_lists_plane").2 script: lang_setting("word_lists_plane").2
word: word:
name: Very Old Planes name: Sehr alte Welt
word: word:
script: lang_setting("word_lists_plane").3 script: lang_setting("word_lists_plane").3
word: word:
name: Dr Who Planes name: Dr Who Welt
word: word:
script: lang_setting("word_lists_plane").4 script: lang_setting("word_lists_plane").4
@@ -1118,7 +1118,7 @@ word list:
script: all_races() script: all_races()
line below: true line below: true
word: word:
name: All Races name: Todas las especies
word: word:
name: A name: A
word: word:
@@ -1235,7 +1235,7 @@ word list:
script: all_classes() script: all_classes()
line below: true line below: true
word: word:
name: All Classes name: Todas las clases
word: word:
name: A-B name: A-B
word: word:
@@ -1264,19 +1264,19 @@ word list:
script: all_sub_types(setting:"is_plane") script: all_sub_types(setting:"is_plane")
line below: true line below: true
word: word:
name: Standard Planes name: Plano estándar
word: word:
script: lang_setting("word_lists_plane").0 script: lang_setting("word_lists_plane").0
word: word:
name: Planechase Planes name: Plano Planechase
word: word:
script: lang_setting("word_lists_plane").1 script: lang_setting("word_lists_plane").1
word: word:
name: Other Modern Planes name: Otro plano moderno
word: word:
script: lang_setting("word_lists_plane").2 script: lang_setting("word_lists_plane").2
word: word:
name: Very Old Planes name: Plano muy antiguo
word: word:
script: lang_setting("word_lists_plane").3 script: lang_setting("word_lists_plane").3
word: word:
@@ -1294,7 +1294,7 @@ word list:
script: all_races() script: all_races()
line below: true line below: true
word: word:
name: All Races name: Toutes les espèces
word: word:
name: A name: A
word: word:
@@ -1403,7 +1403,7 @@ word list:
script: all_classes() script: all_classes()
line below: true line below: true
word: word:
name: All Classes name: Tous les cours
word: word:
name: A-B name: A-B
word: word:
@@ -1432,19 +1432,19 @@ word list:
script: all_sub_types(setting:"is_plane") script: all_sub_types(setting:"is_plane")
line below: true line below: true
word: word:
name: Standard Planes name: Plan standards
word: word:
script: lang_setting("word_lists_plane").0 script: lang_setting("word_lists_plane").0
word: word:
name: Planechase Planes name: Plan Planechase
word: word:
script: lang_setting("word_lists_plane").1 script: lang_setting("word_lists_plane").1
word: word:
name: Other Modern Planes name: Autres plans modernes
word: word:
script: lang_setting("word_lists_plane").2 script: lang_setting("word_lists_plane").2
word: word:
name: Very Old Planes name: Très vieux plans
word: word:
script: lang_setting("word_lists_plane").3 script: lang_setting("word_lists_plane").3
word: word:
@@ -1462,7 +1462,7 @@ word list:
script: all_races() script: all_races()
line below: true line below: true
word: word:
name: All Races name: Tutte le specie
word: word:
name: A name: A
word: word:
@@ -1579,7 +1579,7 @@ word list:
script: all_classes() script: all_classes()
line below: true line below: true
word: word:
name: All Classes name: Tutte le classi
word: word:
name: A-C name: A-C
word: word:
@@ -1608,23 +1608,23 @@ word list:
script: all_sub_types(setting:"is_plane") script: all_sub_types(setting:"is_plane")
line below: true line below: true
word: word:
name: Standard Planes name: Piano standard
word: word:
script: lang_setting("word_lists_plane").0 script: lang_setting("word_lists_plane").0
word: word:
name: Planechase Planes name: Piano Planechase
word: word:
script: lang_setting("word_lists_plane").1 script: lang_setting("word_lists_plane").1
word: word:
name: Other Modern Planes name: Altri piano moderni
word: word:
script: lang_setting("word_lists_plane").2 script: lang_setting("word_lists_plane").2
word: word:
name: Very Old Planes name: Piano molto vecchi
word: word:
script: lang_setting("word_lists_plane").3 script: lang_setting("word_lists_plane").3
word: word:
name: Dr Who Planes name: Dr Who Piano
word: word:
script: lang_setting("word_lists_plane").4 script: lang_setting("word_lists_plane").4
@@ -1638,7 +1638,7 @@ word list:
script: all_races() script: all_races()
line below: true line below: true
word: word:
name: All Races name: 全種
word: word:
name: あ name: あ
word: word:
@@ -1825,7 +1825,7 @@ word list:
script: all_classes() script: all_classes()
line below: true line below: true
word: word:
name: All Classes name: すべてのクラス
word: word:
name: あ name: あ
word: word:
@@ -1964,23 +1964,23 @@ word list:
script: all_sub_types(setting:"is_plane") script: all_sub_types(setting:"is_plane")
line below: true line below: true
word: word:
name: Standard Planes name: 標準次元
word: word:
script: lang_setting("word_lists_plane").0 script: lang_setting("word_lists_plane").0
word: word:
name: Planechase Planes name: Planechase 次元
word: word:
script: lang_setting("word_lists_plane").1 script: lang_setting("word_lists_plane").1
word: word:
name: Other Modern Planes name: その他のモダン次元
word: word:
script: lang_setting("word_lists_plane").2 script: lang_setting("word_lists_plane").2
word: word:
name: Very Old Planes name: とても古い次元
word: word:
script: lang_setting("word_lists_plane").3 script: lang_setting("word_lists_plane").3
word: word:
name: Dr Who Planes name: Dr Who 次元
word: word:
script: lang_setting("word_lists_plane").4 script: lang_setting("word_lists_plane").4
@@ -1994,7 +1994,7 @@ word list:
script: all_races() script: all_races()
line below: true line below: true
word: word:
name: All Races name: 모든 종
word: word:
name: ᄀ name: ᄀ
word: word:
@@ -2087,7 +2087,7 @@ word list:
script: all_classes() script: all_classes()
line below: true line below: true
word: word:
name: All Classes name: 모든 수업
word: word:
name: ᄀ-ᄃ name: ᄀ-ᄃ
word: word:
@@ -2112,23 +2112,23 @@ word list:
script: all_sub_types(setting:"is_plane") script: all_sub_types(setting:"is_plane")
line below: true line below: true
word: word:
name: Standard Planes name: 표준치수
word: word:
script: lang_setting("word_lists_plane").0 script: lang_setting("word_lists_plane").0
word: word:
name: Planechase Planes name: Planechase 치수
word: word:
script: lang_setting("word_lists_plane").1 script: lang_setting("word_lists_plane").1
word: word:
name: Other Modern Planes name: 기타 현대식 치수
word: word:
script: lang_setting("word_lists_plane").2 script: lang_setting("word_lists_plane").2
word: word:
name: Very Old Planes name: 아주 오래된 치수
word: word:
script: lang_setting("word_lists_plane").3 script: lang_setting("word_lists_plane").3
word: word:
name: Dr Who Planes name: Dr Who 치수
word: word:
script: lang_setting("word_lists_plane").4 script: lang_setting("word_lists_plane").4
@@ -2142,7 +2142,7 @@ word list:
script: all_races() script: all_races()
line below: true line below: true
word: word:
name: All Races name: Todas as espécies
word: word:
name: A name: A
word: word:
@@ -2257,7 +2257,7 @@ word list:
script: all_classes() script: all_classes()
line below: true line below: true
word: word:
name: All Classes name: Todas as aulas
word: word:
name: A-B name: A-B
word: word:
@@ -2286,23 +2286,23 @@ word list:
script: all_sub_types(setting:"is_plane") script: all_sub_types(setting:"is_plane")
line below: true line below: true
word: word:
name: Standard Planes name: Plano padrão
word: word:
script: lang_setting("word_lists_plane").0 script: lang_setting("word_lists_plane").0
word: word:
name: Planechase Planes name: Planechase plano
word: word:
script: lang_setting("word_lists_plane").1 script: lang_setting("word_lists_plane").1
word: word:
name: Other Modern Planes name: Outros plano modernos
word: word:
script: lang_setting("word_lists_plane").2 script: lang_setting("word_lists_plane").2
word: word:
name: Very Old Planes name: Plano muito antigos
word: word:
script: lang_setting("word_lists_plane").3 script: lang_setting("word_lists_plane").3
word: word:
name: Dr Who Planes name: Dr Who plano
word: word:
script: lang_setting("word_lists_plane").4 script: lang_setting("word_lists_plane").4
@@ -2316,7 +2316,7 @@ word list:
script: all_races() script: all_races()
line below: true line below: true
word: word:
name: All Races name: Все виды
word: word:
name: А name: А
word: word:
@@ -2435,7 +2435,7 @@ word list:
script: all_classes() script: all_classes()
line below: true line below: true
word: word:
name: All Classes name: Все классы
word: word:
name: А name: А
word: word:
@@ -2460,23 +2460,23 @@ word list:
script: all_sub_types(setting:"is_plane") script: all_sub_types(setting:"is_plane")
line below: true line below: true
word: word:
name: Standard Planes name: Стандарт мир
word: word:
script: lang_setting("word_lists_plane").0 script: lang_setting("word_lists_plane").0
word: word:
name: Planechase Planes name: Planechase мир
word: word:
script: lang_setting("word_lists_plane").1 script: lang_setting("word_lists_plane").1
word: word:
name: Other Modern Planes name: Другое современное мир
word: word:
script: lang_setting("word_lists_plane").2 script: lang_setting("word_lists_plane").2
word: word:
name: Very Old Planes name: Очень старый мир
word: word:
script: lang_setting("word_lists_plane").3 script: lang_setting("word_lists_plane").3
word: word:
name: Dr Who Planes name: Dr Who мир
word: word:
script: lang_setting("word_lists_plane").4 script: lang_setting("word_lists_plane").4
@@ -2490,7 +2490,7 @@ word list:
script: all_races() script: all_races()
line below: true line below: true
word: word:
name: All Races name: 所有物种
word: word:
name: 三-凡 name: 三-凡
word: word:
@@ -2551,7 +2551,7 @@ word list:
script: all_classes() script: all_classes()
line below: true line below: true
word: word:
name: All Classes name: 所有职业
word: word:
name: 伙-孽 name: 伙-孽
word: word:
@@ -2576,23 +2576,23 @@ word list:
script: all_sub_types(setting:"is_plane") script: all_sub_types(setting:"is_plane")
line below: true line below: true
word: word:
name: Standard Planes name: 标准次元
word: word:
script: lang_setting("word_lists_plane").0 script: lang_setting("word_lists_plane").0
word: word:
name: Planechase Planes name: Planechase 次元
word: word:
script: lang_setting("word_lists_plane").1 script: lang_setting("word_lists_plane").1
word: word:
name: Other Modern Planes name: 其他现代次元
word: word:
script: lang_setting("word_lists_plane").2 script: lang_setting("word_lists_plane").2
word: word:
name: Very Old Planes name: 很旧次元
word: word:
script: lang_setting("word_lists_plane").3 script: lang_setting("word_lists_plane").3
word: word:
name: Dr Who Planes name: Dr Who 次元
word: word:
script: lang_setting("word_lists_plane").4 script: lang_setting("word_lists_plane").4
@@ -2606,7 +2606,7 @@ word list:
script: all_races() script: all_races()
line below: true line below: true
word: word:
name: All Races name: 所有物種
word: word:
name: 三-分 name: 三-分
word: word:
@@ -2667,7 +2667,7 @@ word list:
script: all_classes() script: all_classes()
line below: true line below: true
word: word:
name: All Classes name: 所有職業
word: word:
name: 伙-平 name: 伙-平
word: word:
@@ -2692,23 +2692,23 @@ word list:
script: all_sub_types(setting:"is_plane") script: all_sub_types(setting:"is_plane")
line below: true line below: true
word: word:
name: Standard Planes name: 標準次元
word: word:
script: lang_setting("word_lists_plane").0 script: lang_setting("word_lists_plane").0
word: word:
name: Planechase Planes name: Planechase 次元
word: word:
script: lang_setting("word_lists_plane").1 script: lang_setting("word_lists_plane").1
word: word:
name: Other Modern Planes name: 其他現代化次元
word: word:
script: lang_setting("word_lists_plane").2 script: lang_setting("word_lists_plane").2
word: word:
name: Very Old Planes name: 很舊次元
word: word:
script: lang_setting("word_lists_plane").3 script: lang_setting("word_lists_plane").3
word: word:
name: Dr Who Planes name: Dr Who 次元
word: word:
script: lang_setting("word_lists_plane").4 script: lang_setting("word_lists_plane").4

View File

@@ -270,11 +270,13 @@ help:
number of packs: Ilość %s do wygenerowania number of packs: Ilość %s do wygenerowania
# Preferences # Preferences
app language: app language:
Uwaga: musisz zrestartować program, aby wprowadzić zmiany w życie. Uwaga: musisz zrestartować program,
zoom export: aby wprowadzić zmiany w życie.
(Kiedy ta opcja jest wyłączona, karty są zoom export:
eksportowane i kopiowane w normalnym rozmiarze i obróceniu) (Kiedy ta opcja jest wyłączona,
karty są eksportowane i kopiowane
w normalnym rozmiarze i obróceniu)
# apprentice export # apprentice export
set code: Kod zestawu to dwuliterowy skrót, którego Apprentice używa by odwoływać się do zestawu. set code: Kod zestawu to dwuliterowy skrót, którego Apprentice używa by odwoływać się do zestawu.
@@ -681,7 +683,9 @@ button:
high quality: &Rysowanie wysokiej jakości... high quality: &Rysowanie wysokiej jakości...
show lines: Pokazuj &linie wokól pól show lines: Pokazuj &linie wokól pól
show editing hints: Pokazuj ramki i podpowiedzi do &edytowania show editing hints: Pokazuj ramki i podpowiedzi do &edytowania
zoom export: Używaj ustawień przybliżenia i obrócenia przy eskportowaniu zoom export:
Używaj ustawień przybliżenia
i obrócenia przy eskportowaniu
#TODO: Localize #TODO: Localize
spellcheck enabled: Show &spelling errors on cards spellcheck enabled: Show &spelling errors on cards
check now: Sprawdź &teraz check now: Sprawdź &teraz

View File

@@ -239,11 +239,14 @@ help:
number of packs: O número de %ss para ser gerado number of packs: O número de %ss para ser gerado
# Preferences # Preferences
app language: app language:
Nota: Você precisa reiniciar o MSE para que suas alterações tenhão efeito. Nota: Você precisa reiniciar
zoom export: o MSE para que suas alterações
(Se desmarcado, os cards são exportados tenhão efeito.
e copiados 100% no tamanho e rotação normal) zoom export:
(Se desmarcado, os cards são
exportados e copiados 100%
no tamanho e rotação normal)
# apprentice export # apprentice export
set code: Um conjunto de códigos de dois caracteres, que é utilizado pelo Apprendice para se referir a uma Edição. set code: Um conjunto de códigos de dois caracteres, que é utilizado pelo Apprendice para se referir a uma Edição.
@@ -625,7 +628,9 @@ button:
high quality: &Alta qualidade high quality: &Alta qualidade
show lines: Mostrar &linhas alongo dos campos show lines: Mostrar &linhas alongo dos campos
show editing hints: Mostrar caixas e sugestões para serem &editadas show editing hints: Mostrar caixas e sugestões para serem &editadas
zoom export: Use zoom e ferramentas giratórias quando você for e&xportar zoom export:
Use zoom e ferramentas giratórias
quando você for e&xportar
spellcheck enabled: Mostra erro&s de ortografia nos cards spellcheck enabled: Mostra erro&s de ortografia nos cards
check now: Proucurar Agor&a check now: Proucurar Agor&a
always: Futuramente always: Futuramente

View File

@@ -253,10 +253,12 @@ help:
# Preferences # Preferences
app language: app language:
Примечание: необходимо перезапустить MSE, чтобы изменения вступили в силу. Примечание: необходимо перезапустить MSE,
чтобы изменения вступили в силу.
zoom export: zoom export:
(Если включено, то карты экспортируются (Если включено, то карты
и копируются со 100% размером и номальным вращением) экспортируются и копируются со 100%
размером и номальным вращением)
# apprentice export # apprentice export
set code: Код набора - это двухсимвольный код, который Apprentice использует для обозначения набора set code: Код набора - это двухсимвольный код, который Apprentice использует для обозначения набора
@@ -662,7 +664,9 @@ button:
high quality: Отрисовывать в высоком качестве high quality: Отрисовывать в высоком качестве
show lines: Показывать границы полей show lines: Показывать границы полей
show editing hints: Показывать подсказки для редактирования show editing hints: Показывать подсказки для редактирования
zoom export: Применять масштабирование при поворотах, экспорте, импорте zoom export:
Применять масштабирование при
поворотах, экспорте, импорте
spellcheck enabled: Показать орфографические ошибки в картах spellcheck enabled: Показать орфографические ошибки в картах
check now: Проверить сейчас check now: Проверить сейчас
always: Всегда always: Всегда