mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2024-11-22 08:07:30 +00:00
Tweaks to submitted language files
This commit is contained in:
parent
47905b823a
commit
e5c0c7707c
@ -7,7 +7,7 @@ class Lang {
|
||||
|
||||
this.backing.set("base", require("./base"))
|
||||
|
||||
for (const code of ["en", "en-us", "es", "fa", "fr", "gl", "it", "ru", "bg"]) {
|
||||
for (const code of ["bg", "en", "en-us", "es", "fa", "fr", "gl", "it", "ru"]) {
|
||||
// Assign lang
|
||||
const data = require(`./${code}`)
|
||||
this.backing.set(code, data)
|
||||
|
@ -46,6 +46,7 @@ html
|
||||
|
||||
+fieldset("Features")
|
||||
+select("language", "Language", false, [
|
||||
{value: "bg", text: "Български"},
|
||||
{value: "en", text: "English (International)"},
|
||||
{value: "en-us", text: "English (US)"},
|
||||
{value: "es", text: "Español"},
|
||||
@ -53,8 +54,7 @@ html
|
||||
{value: "fr", text: "Français"},
|
||||
{value: "gl", text: "Galego"},
|
||||
{value: "it", text: "Italiano"},
|
||||
{value: "ru", text: "Русский"},
|
||||
{value: "bg", text: "Български"}
|
||||
{value: "ru", text: "Русский"}
|
||||
])
|
||||
|
||||
+select("save_data", "Save data", true, [
|
||||
|
Loading…
Reference in New Issue
Block a user