Always big text for description
This commit is contained in:
@@ -180,10 +180,7 @@ def get_letter_counts(defs: dict, lang: dict, build_version: str) -> Dict:
|
|||||||
for mod in defs["menuOptions"]:
|
for mod in defs["menuOptions"]:
|
||||||
eid = mod["id"]
|
eid = mod["id"]
|
||||||
msg = obj[eid]["description"]
|
msg = obj[eid]["description"]
|
||||||
if test_is_small_font(msg):
|
big_font_messages.append(msg)
|
||||||
small_font_messages.append(msg)
|
|
||||||
else:
|
|
||||||
big_font_messages.append(msg)
|
|
||||||
|
|
||||||
obj = lang["messagesWarn"]
|
obj = lang["messagesWarn"]
|
||||||
for mod in defs["messagesWarn"]:
|
for mod in defs["messagesWarn"]:
|
||||||
@@ -226,10 +223,8 @@ def get_letter_counts(defs: dict, lang: dict, build_version: str) -> Dict:
|
|||||||
for mod in defs["menuGroups"]:
|
for mod in defs["menuGroups"]:
|
||||||
eid = mod["id"]
|
eid = mod["id"]
|
||||||
msg = obj[eid]["description"]
|
msg = obj[eid]["description"]
|
||||||
if test_is_small_font(msg):
|
big_font_messages.append(msg)
|
||||||
small_font_messages.append(msg)
|
|
||||||
else:
|
|
||||||
big_font_messages.append(msg)
|
|
||||||
constants = get_constants(build_version)
|
constants = get_constants(build_version)
|
||||||
for x in constants:
|
for x in constants:
|
||||||
msg = x[1]
|
msg = x[1]
|
||||||
|
|||||||
Reference in New Issue
Block a user