mirror of
https://github.com/facefusion/facefusion.git
synced 2026-08-07 09:38:39 +02:00
clean wording
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user