mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-05 13:29:12 -04:00
Fix test_load_strings_loads_other_languages test
This commit is contained in:
parent
10f8e637a2
commit
d8246ded81
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class TestLoadStrings:
|
||||||
common_obj.settings = Settings(common_obj)
|
common_obj.settings = Settings(common_obj)
|
||||||
common_obj.settings.set('locale', 'fr')
|
common_obj.settings.set('locale', 'fr')
|
||||||
strings.load_strings(common_obj)
|
strings.load_strings(common_obj)
|
||||||
assert strings._('preparing_files') == "Préparation des fichiers à partager."
|
assert strings._('preparing_files') == "Compression des fichiers."
|
||||||
|
|
||||||
def test_load_invalid_locale(
|
def test_load_invalid_locale(
|
||||||
self, common_obj, locale_invalid, sys_onionshare_dev_mode):
|
self, common_obj, locale_invalid, sys_onionshare_dev_mode):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue