mirror of
https://github.com/immich-app/immich.git
synced 2025-06-27 21:40:03 +02:00
feat(mobile) added french translations (#343)
This commit is contained in:
parent
72c334e5e0
commit
20b94ef0bb
5 changed files with 125 additions and 1 deletions
mobile/scripts
|
@ -15,5 +15,17 @@ def main():
|
|||
print(f"Outdated Key! {k}")
|
||||
return 1
|
||||
|
||||
print("CHECK FRENCH TRANSLATIONS")
|
||||
with open('assets/i18n/fr-FR.json', 'r') as f:
|
||||
data = json.load(f)
|
||||
|
||||
for k in data.keys():
|
||||
print(k)
|
||||
sp = subprocess.run(['sh', '-c', f'grep -r --include="./assets/i18n/en-US.json" "{k}"'])
|
||||
|
||||
if sp.returncode != 0:
|
||||
print(f"Outdated Key! {k}")
|
||||
return 1
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
Loading…
Add table
Add a link
Reference in a new issue