tools/check-string-maxlength.py: include limits from Android sources

This commit is contained in:
Hans-Christoph Steiner 2019-11-21 13:45:37 +01:00
parent 69e85ed202
commit 984fe6ad2b
No known key found for this signature in database
GPG Key ID: 3E177817BA1B9BFA

View File

@ -8,8 +8,10 @@ import sys
from xml.etree import ElementTree from xml.etree import ElementTree
maxlengths = { maxlengths = {
"menu_install": 20, "menu_install": 15,
"menu_uninstall": 20, "menu_uninstall": 15,
"installing": 50,
"uninstalling": 50,
"nearby_splash__find_people_button": 30, "nearby_splash__find_people_button": 30,
"nearby_splash__request_permission": 30, "nearby_splash__request_permission": 30,
"swap": 25, "swap": 25,