From bde5dc98ad96546b59e91f5a6e552bf80cbf48e4 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Thu, 24 Aug 2023 14:42:12 +0200 Subject: translations and error handling --- db/i18n.php | 38 ++++++++++++++++++++++++++++++-------- 1 file changed, 30 insertions(+), 8 deletions(-) (limited to 'db/i18n.php') diff --git a/db/i18n.php b/db/i18n.php index af6fec8..0942802 100644 --- a/db/i18n.php +++ b/db/i18n.php @@ -1,11 +1,11 @@ $translations) { + file_put_contents(__DIR__ . "/_generated/i18n/$locale.json", json_encode($translations)); } -- cgit v1.2.3