From 46cb9637b23c3248074a402bad3e6ed3aac3a237 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Wed, 26 Jul 2017 05:43:08 +0200 Subject: [PATCH] [fix] missing m18n import --- bin/yunohost | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/yunohost b/bin/yunohost index 0bf2c004c..1522b7118 100755 --- a/bin/yunohost +++ b/bin/yunohost @@ -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())