fix(i18n): align language selection and native labels

This commit is contained in:
AAA committed 2026-11-14 11:07:18 -04:00
1 parent 64e6281eae
commit 918cd4a252
11 files changed
+110 -20

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width:
<div class="controls"></div>
<script>
const controls = __PIIK_WINDOW_CONTROLS__;
let language = navigator.language.startsWith('zh') ? 'zh' : 'en';
let language = 'en';
let maximized = false;
for (const action of ['bookmarks', 'minimize', 'maximize', 'close']) {
const button = document.createElement('button');