1
0
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:
Cadence Ember 2020-11-06 03:04:07 +13:00
parent 47905b823a
commit e5c0c7707c
No known key found for this signature in database
GPG Key ID: BC1C2C61CF521B17
3 changed files with 4 additions and 4 deletions

View File

@ -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)

View File

@ -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, [