mirror of
https://github.com/Jonnyan404/memos-bber.git
synced 2026-04-25 03:58:37 +09:00
Add German, French, and Spanish localization
Add DE/FR/ES support across Chrome, Edge and Firefox builds: new _locales message files for de, fr, es. Include dayjs locale bundles (de.js, fr.js, es.js) and load them in popup.html. Update i18n.js to register new languages and labels, update oper.js to apply the corresponding dayjs locale (including auto-detection), add language buttons to the popup UI, bump manifest version, and record the change in change.log.
This commit is contained in:
@@ -25,6 +25,9 @@
|
||||
<div id="langMenu" class="lang-menu hidden" role="menu" aria-labelledby="langToggle">
|
||||
<button id="langOptionAuto" class="lang-menu-item" type="button" data-lang="auto" role="menuitemradio" aria-checked="false"></button>
|
||||
<button id="langOptionEn" class="lang-menu-item" type="button" data-lang="en" role="menuitemradio" aria-checked="false"></button>
|
||||
<button id="langOptionDe" class="lang-menu-item" type="button" data-lang="de" role="menuitemradio" aria-checked="false"></button>
|
||||
<button id="langOptionFr" class="lang-menu-item" type="button" data-lang="fr" role="menuitemradio" aria-checked="false"></button>
|
||||
<button id="langOptionEs" class="lang-menu-item" type="button" data-lang="es" role="menuitemradio" aria-checked="false"></button>
|
||||
<button id="langOptionZhCN" class="lang-menu-item" type="button" data-lang="zh_CN" role="menuitemradio" aria-checked="false"></button>
|
||||
<button id="langOptionJa" class="lang-menu-item" type="button" data-lang="ja" role="menuitemradio" aria-checked="false"></button>
|
||||
<button id="langOptionKo" class="lang-menu-item" type="button" data-lang="ko" role="menuitemradio" aria-checked="false"></button>
|
||||
@@ -180,6 +183,9 @@
|
||||
<script src="../js/jquery.min.js"></script>
|
||||
<script src="../js/message.js"></script>
|
||||
<script src="../js/dayjs.min.js"></script>
|
||||
<script src="../js/de.js"></script>
|
||||
<script src="../js/fr.js"></script>
|
||||
<script src="../js/es.js"></script>
|
||||
<script src="../js/zh-cn.js"></script>
|
||||
<script src="../js/ja.js"></script>
|
||||
<script src="../js/ko.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user