mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-14 22:33:53 +00:00
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] (cherry picked from commit ec7bd83721ccd3cc05e696a1a0a6a56c06fa6a5a)
This commit is contained in:
parent
1dd8c60fc8
commit
1ad78a0442
@ -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…
x
Reference in New Issue
Block a user