Skip to content

Commit

Permalink
allow digits in translation ids
Browse files Browse the repository at this point in the history
  • Loading branch information
ximex committed Mar 5, 2018
1 parent 5487fa7 commit 882f18f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adm_program/system/string.php
Expand Up @@ -273,7 +273,7 @@ function admStrEndsWith($string, $end)
*/
function admIsTranslationStrId($string)
{
return (bool) preg_match('/^[A-Z]{3}_([A-Z]_?)*[A-Z]$/', $string);
return (bool) preg_match('/^[A-Z]{3}_([A-Z0-9]_?)*[A-Z0-9]$/', $string);
}

/**
Expand Down

0 comments on commit 882f18f

Please sign in to comment.