Fix the po stats script to recognise "es_419"
The failure mode caused it to overwrite the es_ES stats with the es_419 ones. Skipping the CI step, as this script is only run by the pot-update targets. [ci_skip]
This commit is contained in:
parent
bd871f3e24
commit
ec7bd83721
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ def write_percentage_wml(wml_file, percent):
|
|||
|
||||
|
||||
def get_wml_cfg(wml_dir, locale):
|
||||
match = re.match(r'([a-z]+)(_([A-Z]+))?(@([a-z]+))?', locale)
|
||||
match = re.match(r'([a-z]+)(_([A-Z0-9]+))?(@([a-z]+))?', locale)
|
||||
if not match:
|
||||
return None
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue