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

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