add french support for git status

This commit is contained in:
Hristo
2024-01-30 18:15:19 +02:00
parent ac6716f58b
commit c8725f96be

View File

@@ -150,7 +150,7 @@ def check_git_update(script_dir):
except subprocess.CalledProcessError as e: except subprocess.CalledProcessError as e:
print("Error updating git repository:", e.output) print("Error updating git repository:", e.output)
if any(s in git_update for s in ('Your branch is up to date', 'Your branch is up-to-date')): if any(s in git_update for s in ('Your branch is up to date', 'Your branch is up-to-date', 'Votre branche est à jour')):
git_update = 'off' git_update = 'off'
else: else:
git_update = 'on' git_update = 'on'