feat: add translations for offline overlay
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
kolaente 2021-11-10 19:50:29 +01:00
parent f0b2d7c59d
commit 856a64748a
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 6 additions and 2 deletions

View File

@ -1,8 +1,8 @@
<template>
<div class="app offline" v-if="!online">
<div class="offline-message">
<h1>You are offline.</h1>
<p>Please check your network connection and try again.</p>
<h1>{{ $t('offline.title') }}</h1>
<p>{{ $t('offline.text') }}</p>
</div>
</div>
<template v-else-if="ready">

View File

@ -22,6 +22,10 @@
"checkApiUrl": "Please check if the api url is correct.",
"noApiUrlConfigured": "No API url was configured. Please set one below:"
},
"offline": {
"title": "You are offline.",
"text": "Please check your network connection and try again."
},
"user": {
"auth": {
"username": "Username",