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

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