diff --git a/facefusion/locales.py b/facefusion/locales.py index 941c6419..391de727 100644 --- a/facefusion/locales.py +++ b/facefusion/locales.py @@ -98,10 +98,6 @@ LOCALES : Locales =\ 'exclamation_mark': '!', 'help': { - 'install_dependency': 'choose the variant of {dependency} to install', - 'skip_conda': 'skip the conda environment check', - 'workflow_mode': 'choose the workflow mode', - 'workflow_strategy': 'process the temporary frames in memory or on disk', 'config_path': 'choose the config file to override defaults', 'temp_path': 'specify the directory for the temporary resources', 'jobs_path': 'specify the directory to store jobs', @@ -152,6 +148,8 @@ LOCALES : Locales =\ 'output_video_quality': 'specify the video quality which translates to the video compression', 'output_video_scale': 'specify the video scale based on the target video', 'output_video_fps': 'specify the video fps based on the target video', + 'workflow_mode': 'choose the workflow mode', + 'workflow_strategy': 'process the temporary frames in memory or on disk', 'processors': 'load a single or multiple processors (choices: {choices}, ...)', 'background-remover-model': 'choose the model responsible for removing the background', 'background-remover-color': 'apply red, green blue and alpha values of the background', diff --git a/tests/test_translator.py b/tests/test_translator.py index 3773cb9e..c81db2c8 100644 --- a/tests/test_translator.py +++ b/tests/test_translator.py @@ -9,6 +9,6 @@ def test_load() -> None: def test_get() -> None: - assert translator.get('conda_not_activated') == 'conda is not activated' - assert translator.get('help.skip_conda') == 'skip the conda environment check' + assert translator.get('python_not_supported').format(version = '3.12') == 'python version is not supported, upgrade to 3.12 or higher' + assert translator.get('help.run') == 'run the program' assert translator.get('invalid') is None