From 92f2eb8653e06dd07124ceb890a441b36ff04f86 Mon Sep 17 00:00:00 2001 From: bergware Date: Mon, 25 Dec 2023 08:02:03 +0100 Subject: [PATCH] Update update_1 --- emhttp/plugins/dynamix/nchan/update_1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emhttp/plugins/dynamix/nchan/update_1 b/emhttp/plugins/dynamix/nchan/update_1 index 2c69fa588..542d30511 100755 --- a/emhttp/plugins/dynamix/nchan/update_1 +++ b/emhttp/plugins/dynamix/nchan/update_1 @@ -38,9 +38,9 @@ function update_translation($locale) { if (!file_exists($store)) file_put_contents($store,serialize(parse_lang_file($text))); $language = unserialize(file_get_contents($store)); } - $text = "$docroot/languages/$locale/main.txt"; + $text = "$docroot/languages/$locale/dashboard.txt"; if (file_exists($text)) { - $store = "$docroot/languages/$locale/main.dot"; + $store = "$docroot/languages/$locale/dashboard.dot"; if (!file_exists($store)) file_put_contents($store,serialize(parse_lang_file($text))); $language = array_merge($language,unserialize(file_get_contents($store))); }