From 0729762ffadf91d018eed50d5f03da01fb61ae35 Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Fri, 24 Feb 2023 10:07:35 +0800 Subject: [PATCH] * Modify default lang data. --- module/dev/view/langitem.html.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/dev/view/langitem.html.php b/module/dev/view/langitem.html.php index 31a97ec3d3..b0eb9445b9 100644 --- a/module/dev/view/langitem.html.php +++ b/module/dev/view/langitem.html.php @@ -68,13 +68,14 @@ $defaultValue = str_replace($commonKey, '', $defaultValue); $defaultValueBox = str_replace($commonKey, "{$commonLang}", $defaultValueBox); $originalLang = str_replace($commonKey, $commonLang, $originalLang); + if(!$isCurrentLang) $currentLangs[$langKey] = $originalLang; } } $defaultValueBox = str_replace($defaultValue, '%s', $defaultValueBox); ?>
" class="form-item flex"> -
" class="input-label h-full">
+
" class="input-label h-full">
" class="input-label h-full">