mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2024-11-22 16:17:29 +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"))
|
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
|
// Assign lang
|
||||||
const data = require(`./${code}`)
|
const data = require(`./${code}`)
|
||||||
this.backing.set(code, data)
|
this.backing.set(code, data)
|
||||||
|
@ -46,6 +46,7 @@ html
|
|||||||
|
|
||||||
+fieldset("Features")
|
+fieldset("Features")
|
||||||
+select("language", "Language", false, [
|
+select("language", "Language", false, [
|
||||||
|
{value: "bg", text: "Български"},
|
||||||
{value: "en", text: "English (International)"},
|
{value: "en", text: "English (International)"},
|
||||||
{value: "en-us", text: "English (US)"},
|
{value: "en-us", text: "English (US)"},
|
||||||
{value: "es", text: "Español"},
|
{value: "es", text: "Español"},
|
||||||
@ -53,8 +54,7 @@ html
|
|||||||
{value: "fr", text: "Français"},
|
{value: "fr", text: "Français"},
|
||||||
{value: "gl", text: "Galego"},
|
{value: "gl", text: "Galego"},
|
||||||
{value: "it", text: "Italiano"},
|
{value: "it", text: "Italiano"},
|
||||||
{value: "ru", text: "Русский"},
|
{value: "ru", text: "Русский"}
|
||||||
{value: "bg", text: "Български"}
|
|
||||||
])
|
])
|
||||||
|
|
||||||
+select("save_data", "Save data", true, [
|
+select("save_data", "Save data", true, [
|
||||||
|
Loading…
Reference in New Issue
Block a user