mirror of
https://github.com/Elvanos/fantasia-archive.git
synced 2024-05-04 04:13:34 +12:00
First translation-working version
Tweak to eslint config to support translation better
This commit is contained in:
parent
808ddaafc1
commit
459163fd53
|
@ -101,6 +101,10 @@ module.exports = {
|
|||
'no-unused-vars': 'off',
|
||||
|
||||
// allow debugger during development only
|
||||
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
|
||||
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
||||
|
||||
// CUSTOM RULES
|
||||
'object-shorthand': 'off',
|
||||
'quote-props': 'off'
|
||||
}
|
||||
}
|
||||
|
|
6
src/i18n/de/index.ts
Normal file
6
src/i18n/de/index.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
// This is just an example,
|
||||
// so you can safely delete all default props below
|
||||
|
||||
export default {
|
||||
appName: 'FA - but in german!'
|
||||
}
|
|
@ -2,6 +2,5 @@
|
|||
// so you can safely delete all default props below
|
||||
|
||||
export default {
|
||||
failed: 'Action failed',
|
||||
success: 'Action was successful'
|
||||
appName: 'FA - but in english!'
|
||||
}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
import de from './de'
|
||||
import enUS from './en-US'
|
||||
|
||||
export default {
|
||||
'en-US': enUS
|
||||
'en-US': enUS,
|
||||
'de': de
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
/>
|
||||
|
||||
<q-toolbar-title>
|
||||
Quasar App
|
||||
{{ $t('appName') }}
|
||||
</q-toolbar-title>
|
||||
|
||||
<div>Quasar v{{ $q.version }}</div>
|
||||
|
|
Loading…
Reference in a new issue