localization support

This commit is contained in:
Wingy 2021-12-03 11:13:43 -05:00
parent f99d6f88c3
commit d91128274b
29 changed files with 396 additions and 194 deletions

View file

@ -1,20 +1,20 @@
extends layout.pug
block content
h2 Admin User
h2= lang('SETUP_ADMIN_USER')
form(action=`${_CC.config.base}setup`, method='POST')
.field
label.label Username
label.label= lang('SETUP_USERNAME')
.control.has-icons-left
input.input(type='text', name='adminUsername', placeholder='john')
input.input(type='text', name='adminUsername', placeholder=lang('SETUP_USERNAME_PLACEHOLDER'))
span.icon.is-small.is-left
i.fas.fa-user
.field
label.label Password
label.label= lang('SETUP_PASSWORD')
.control.has-icons-left
input.input(type='password', name='adminPassword', placeholder='pa$$word!')
input.input(type='password', name='adminPassword', placeholder=lang('SETUP_PASSWORD_PLACEHOLDER'))
span.icon.is-small.is-left
i.fas.fa-lock
.field
.control
input.button.is-primary(type='submit' value='Set up!')
input.button.is-primary(type='submit' value=lang('SETUP_BUTTON'))