fix(translations): Extract messages from .vue files (#8403)
This commit is contained in:
parent
5a5886405e
commit
e2bc9c479f
1 changed files with 2 additions and 2 deletions
|
|
@ -485,7 +485,7 @@ def get_all_messages_from_js_files(app_name=None):
|
|||
continue
|
||||
|
||||
for fname in files:
|
||||
if fname.endswith(".js") or fname.endswith(".html"):
|
||||
if fname.endswith(".js") or fname.endswith(".html") or fname.endswith('.vue'):
|
||||
messages.extend(get_messages_from_file(os.path.join(basepath, fname)))
|
||||
|
||||
return messages
|
||||
|
|
@ -755,4 +755,4 @@ def get_translations(source_name):
|
|||
filters = {
|
||||
'source_name': source_name
|
||||
}
|
||||
)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue