fix: translation is not mandatory

This commit is contained in:
egarette@silique.fr 2024-11-25 09:18:59 +01:00
parent a962758489
commit ea0076279c

View file

@ -19,6 +19,6 @@ along with Mtools. If not, see <http://www.gnu.org/licenses/>.
from gettext import translation
from pathlib import Path
t = translation("rougail_cli", str(Path(__file__).parent / "locale"))
t = translation("rougail_cli", str(Path(__file__).parent / "locale"), fallback=True)
_ = t.gettext