A collection of templates for HSE documents.
To create a template, create a file somewhere in public/templates
and
add an entry in src/templates.json
. You may specify a license, a
language and some tags.
If you want to see the project translated in your language, let's say,
Esperanto, create src/locales/eo.json
and put the translation strings
in it. Use another translation file as a base.
Edit all the translation files and add your locale in the locale section
:
"locales": {
"en": "English",
"ru": "Russian"
},
To finish, add the entry in the menu: edit src/components/LocaleSelector.vue
and add ru
to the list of supported locales:
data () {
return {
locales: ['en', 'ru'],
}
},
npm install
npm run serve
npm run build
npm run test
npm run lint