mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-29 00:37:12 -04:00
fixed test_load_strings_loads_other_languages, because french strings were updated
This commit is contained in:
parent
8c9bcdad6d
commit
e4f0e5e8b3
1 changed files with 2 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
"""
|
"""
|
||||||
OnionShare | https://onionshare.org/
|
OnionShare | https://onionshare.org/
|
||||||
|
|
||||||
|
@ -34,6 +35,5 @@ def test_load_strings_loads_other_languages():
|
||||||
"load_strings() loads other languages in different locales"
|
"load_strings() loads other languages in different locales"
|
||||||
locale.getdefaultlocale = lambda: ('fr_FR', 'UTF-8')
|
locale.getdefaultlocale = lambda: ('fr_FR', 'UTF-8')
|
||||||
strings.load_strings("fr")
|
strings.load_strings("fr")
|
||||||
assert strings._('calculating_sha1') == "Calculer un hachage SHA-1."
|
assert strings._('calculating_sha1') == "Calculer une somme de contrôle SHA-1."
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue