aliases are normalized and used in normalized state, but nonnormalized aliases contain everything

This commit is contained in:
Filipriec
2026-08-25 10:22:27 +02:00
parent 2e1b213137
commit e6840f6d9b
19 changed files with 198 additions and 34 deletions

View File

@@ -853,6 +853,8 @@ error-identifier-underscore = { $label } nesmí začínat podtržítkem.
error-identifier-number = { $label } nesmí začínat číslicí.
error-identifier-too-long = { $label } nesmí být delší než { $limit } znaků.
error-identifier-charset = { $label } může obsahovat jen malá písmena, číslice a podtržítko.
error-alias-charset = { $label } musí obsahovat písmeno, číslo, interpunkci nebo symbol mimo emoji a nesmí obsahovat řídicí znaky.
error-alias-too-long = { $label } nesmí být delší než { $limit } bajtů UTF-8.
error-identifier-reserved = { $label } používá vyhrazený název.
# --- Přidat validaci ----------------------------------------------------------------

View File

@@ -838,6 +838,8 @@ error-identifier-underscore = { $label } cannot start with an underscore.
error-identifier-number = { $label } cannot start with a number.
error-identifier-too-long = { $label } cannot be longer than { $limit } characters.
error-identifier-charset = { $label } may only use lowercase letters, digits and underscores.
error-alias-charset = { $label } must contain a letter, number, punctuation mark or non-emoji symbol, and cannot contain control characters.
error-alias-too-long = { $label } cannot be longer than { $limit } UTF-8 bytes.
error-identifier-reserved = { $label } uses a reserved name.
# --- Add validation --------------------------------------------------------

View File

@@ -851,6 +851,8 @@ error-identifier-underscore = { $label } nesmie začínať podčiarkovníkom.
error-identifier-number = { $label } nesmie začínať číslom.
error-identifier-too-long = { $label } nesmie byť dlhšie ako { $limit } znakov.
error-identifier-charset = { $label } môže obsahovať len malé písmená, číslice a podčiarkovník.
error-alias-charset = { $label } musí obsahovať písmeno, číslo, interpunkciu alebo symbol mimo emoji a nesmie obsahovať riadiace znaky.
error-alias-too-long = { $label } nesmie byť dlhšie ako { $limit } bajtov UTF-8.
error-identifier-reserved = { $label } používa vyhradený názov.
# --- Pridať validáciu ----------------------------------------------------------