mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] missing m18n import
This commit is contained in:
parent
baf0d098f5
commit
46cb9637b2
1 changed files with 2 additions and 0 deletions
|
@ -202,6 +202,8 @@ if __name__ == '__main__':
|
|||
if not os.path.isfile('/etc/yunohost/installed') and \
|
||||
(len(args) < 2 or (args[0] +' '+ args[1] != 'tools postinstall' and \
|
||||
args[0] +' '+ args[1] != 'backup restore')):
|
||||
|
||||
from moulinette import m18n
|
||||
# Init i18n
|
||||
m18n.load_namespace('yunohost')
|
||||
m18n.set_locale(get_locale())
|
||||
|
|
Loading…
Add table
Reference in a new issue