You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
d9edb7c063
This commit both adds brazilian portuguese translation and improves the code syntax to match the standard.
15 lines
427 B
JavaScript
15 lines
427 B
JavaScript
import { lang } from '../lang/index.js'
|
|
|
|
const lang_list = document.getElementById('lang_modal_list')
|
|
const key_list = Object.keys(lang)
|
|
let index = 0
|
|
|
|
for (const lang_key of key_list) {
|
|
index += 1
|
|
|
|
const value = lang[lang_key]
|
|
lang_list.innerHTML += `
|
|
<div class="${index === key_list.length ? '' : 'spliter'}" style="padding-top: 25px; padding-bottom: 25px; font-size: 1.3em;">
|
|
${value.langName}
|
|
</div>`
|
|
} |