mirror of
https://github.com/Luzifer/share.git
synced 2024-12-20 10:31:16 +00:00
Lint: Fix linter errors
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
6344610c18
commit
fd98147757
2 changed files with 8 additions and 8 deletions
|
@ -129,7 +129,7 @@ export default defineComponent({
|
||||||
return {
|
return {
|
||||||
error: null,
|
error: null,
|
||||||
fileName: '',
|
fileName: '',
|
||||||
fileType: null,
|
fileType: '',
|
||||||
loading: true,
|
loading: true,
|
||||||
path: '',
|
path: '',
|
||||||
text: '',
|
text: '',
|
||||||
|
|
|
@ -9,22 +9,22 @@ import { createI18n } from 'vue-i18n'
|
||||||
import ContentDisplay from './display.vue'
|
import ContentDisplay from './display.vue'
|
||||||
|
|
||||||
const messages = {
|
const messages = {
|
||||||
en: {
|
|
||||||
fileNotFound: 'The requested file has not been found.',
|
|
||||||
genericError: 'Something went wrong (Status {status})',
|
|
||||||
loading: 'Loading file details...',
|
|
||||||
notPermitted: 'Access to this file was denied.',
|
|
||||||
},
|
|
||||||
de: {
|
de: {
|
||||||
fileNotFound: 'Die angegebene Datei wurde nicht gefunden.',
|
fileNotFound: 'Die angegebene Datei wurde nicht gefunden.',
|
||||||
genericError: 'Irgendwas lief schief... (Status {status})',
|
genericError: 'Irgendwas lief schief... (Status {status})',
|
||||||
loading: 'Lade Datei-Informationen...',
|
loading: 'Lade Datei-Informationen...',
|
||||||
notPermitted: 'Der Zugriff auf diese Datei wurde verweigert.',
|
notPermitted: 'Der Zugriff auf diese Datei wurde verweigert.',
|
||||||
},
|
},
|
||||||
|
en: {
|
||||||
|
fileNotFound: 'The requested file has not been found.',
|
||||||
|
genericError: 'Something went wrong (Status {status})',
|
||||||
|
loading: 'Loading file details...',
|
||||||
|
notPermitted: 'Access to this file was denied.',
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
const app = createApp({
|
const app = createApp({
|
||||||
name: 'Share',
|
name: 'ShareApp',
|
||||||
render() {
|
render() {
|
||||||
return h(ContentDisplay)
|
return h(ContentDisplay)
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue