Update example label

This commit is contained in:
mfcar 2023-03-04 11:51:53 +00:00
parent d8b6e09bc0
commit 6aeed24296
No known key found for this signature in database
10 changed files with 22 additions and 4 deletions

View File

@ -68,16 +68,19 @@
</ui-tooltip> </ui-tooltip>
</div> </div>
<div class="flex items-end py-2"> <div class="flex-grow py-2">
<ui-dropdown :label="$strings.LabelSettingsDateFormat" v-model="newServerSettings.dateFormat" :items="dateFormats" small class="max-w-52" @input="(val) => updateSettingsKey('dateFormat', val)" /> <ui-dropdown :label="$strings.LabelSettingsDateFormat" v-model="newServerSettings.dateFormat" :items="dateFormats" small class="max-w-52" @input="(val) => updateSettingsKey('dateFormat', val)" />
<span class="ml-2 text-yellow-400">{{ dateExample }}</span> <p class="text-xs ml-1 text-warning text-opacity-60">{{ $strings.LabelExample }}: {{ dateExample }}</p>
<p class="text-xs ml-1 text-white text-opacity-60">{{ $strings.LabelCurrently }} {{ currentlyDate }}</p>
</div> </div>
<div class="flex items-end py-2"> <div class="flex-grow py-2">
<ui-dropdown :label="$strings.LabelSettingsTimeFormat" v-model="newServerSettings.timeFormat" :items="timeFormats" small class="max-w-52" @input="(val) => updateSettingsKey('timeFormat', val)" /> <ui-dropdown :label="$strings.LabelSettingsTimeFormat" v-model="newServerSettings.timeFormat" :items="timeFormats" small class="max-w-52" @input="(val) => updateSettingsKey('timeFormat', val)" />
<span class="ml-2 text-yellow-400">{{ timeExample }}</span> <p class="text-xs ml-1 text-warning text-opacity-60">{{ $strings.LabelExample }}: {{ timeExample }}</p>
<p class="text-xs ml-1 text-white text-opacity-60">{{ $strings.LabelCurrently }} {{ currentlyTime }}</p>
</div> </div>
<div class="py-2"> <div class="py-2">
<ui-dropdown :label="$strings.LabelLanguageDefaultServer" ref="langDropdown" v-model="newServerSettings.language" :items="$languageCodeOptions" small class="max-w-52" @input="updateServerLanguage" /> <ui-dropdown :label="$strings.LabelLanguageDefaultServer" ref="langDropdown" v-model="newServerSettings.language" :items="$languageCodeOptions" small class="max-w-52" @input="updateServerLanguage" />
</div> </div>
@ -303,6 +306,12 @@ export default {
timeFormats() { timeFormats() {
return this.$store.state.globals.timeFormats return this.$store.state.globals.timeFormats
}, },
currentlyDate() {
return this.$formatJsDate(new Date(), this.newServerSettings.dateFormat)
},
currentlyTime() {
return this.$formatJsTime(new Date(), this.newServerSettings.timeFormat)
},
dateExample() { dateExample() {
const date = new Date(2014, 2, 25); const date = new Date(2014, 2, 25);
return this.$formatJsDate(date, this.newServerSettings.dateFormat) return this.$formatJsDate(date, this.newServerSettings.dateFormat)

View File

@ -213,6 +213,7 @@
"LabelEpisode": "Episode", "LabelEpisode": "Episode",
"LabelEpisodeTitle": "Episodentitel", "LabelEpisodeTitle": "Episodentitel",
"LabelEpisodeType": "Episodentyp", "LabelEpisodeType": "Episodentyp",
"LabelExample": "Example",
"LabelExplicit": "Explizit (Altersbeschränkung)", "LabelExplicit": "Explizit (Altersbeschränkung)",
"LabelFeedURL": "Feed URL", "LabelFeedURL": "Feed URL",
"LabelFile": "Datei", "LabelFile": "Datei",

View File

@ -213,6 +213,7 @@
"LabelEpisode": "Episode", "LabelEpisode": "Episode",
"LabelEpisodeTitle": "Episode Title", "LabelEpisodeTitle": "Episode Title",
"LabelEpisodeType": "Episode Type", "LabelEpisodeType": "Episode Type",
"LabelExample": "Example",
"LabelExplicit": "Explicit", "LabelExplicit": "Explicit",
"LabelFeedURL": "Feed URL", "LabelFeedURL": "Feed URL",
"LabelFile": "File", "LabelFile": "File",

View File

@ -213,6 +213,7 @@
"LabelEpisode": "Episode", "LabelEpisode": "Episode",
"LabelEpisodeTitle": "Episode Title", "LabelEpisodeTitle": "Episode Title",
"LabelEpisodeType": "Episode Type", "LabelEpisodeType": "Episode Type",
"LabelExample": "Example",
"LabelExplicit": "Explicit", "LabelExplicit": "Explicit",
"LabelFeedURL": "Feed URL", "LabelFeedURL": "Feed URL",
"LabelFile": "File", "LabelFile": "File",

View File

@ -213,6 +213,7 @@
"LabelEpisode": "Épisode", "LabelEpisode": "Épisode",
"LabelEpisodeTitle": "Titre de l'épisode", "LabelEpisodeTitle": "Titre de l'épisode",
"LabelEpisodeType": "Type de l'épisode", "LabelEpisodeType": "Type de l'épisode",
"LabelExample": "Example",
"LabelExplicit": "Restriction", "LabelExplicit": "Restriction",
"LabelFeedURL": "URL deu flux", "LabelFeedURL": "URL deu flux",
"LabelFile": "Fichier", "LabelFile": "Fichier",

View File

@ -213,6 +213,7 @@
"LabelEpisode": "Epizoda", "LabelEpisode": "Epizoda",
"LabelEpisodeTitle": "Naslov epizode", "LabelEpisodeTitle": "Naslov epizode",
"LabelEpisodeType": "Vrsta epizode", "LabelEpisodeType": "Vrsta epizode",
"LabelExample": "Example",
"LabelExplicit": "Explicit", "LabelExplicit": "Explicit",
"LabelFeedURL": "Feed URL", "LabelFeedURL": "Feed URL",
"LabelFile": "Datoteka", "LabelFile": "Datoteka",

View File

@ -213,6 +213,7 @@
"LabelEpisode": "Episodio", "LabelEpisode": "Episodio",
"LabelEpisodeTitle": "Titolo Episodio", "LabelEpisodeTitle": "Titolo Episodio",
"LabelEpisodeType": "Tipo Episodio", "LabelEpisodeType": "Tipo Episodio",
"LabelExample": "Example",
"LabelExplicit": "Esplicito", "LabelExplicit": "Esplicito",
"LabelFeedURL": "Feed URL", "LabelFeedURL": "Feed URL",
"LabelFile": "File", "LabelFile": "File",

View File

@ -213,6 +213,7 @@
"LabelEpisode": "Odcinek", "LabelEpisode": "Odcinek",
"LabelEpisodeTitle": "Tytuł odcinka", "LabelEpisodeTitle": "Tytuł odcinka",
"LabelEpisodeType": "Typ odcinka", "LabelEpisodeType": "Typ odcinka",
"LabelExample": "Example",
"LabelExplicit": "Nieprzyzwoite", "LabelExplicit": "Nieprzyzwoite",
"LabelFeedURL": "URL kanału", "LabelFeedURL": "URL kanału",
"LabelFile": "Plik", "LabelFile": "Plik",

View File

@ -213,6 +213,7 @@
"LabelEpisode": "Эпизод", "LabelEpisode": "Эпизод",
"LabelEpisodeTitle": "Имя Эпизода", "LabelEpisodeTitle": "Имя Эпизода",
"LabelEpisodeType": "Тип Эпизода", "LabelEpisodeType": "Тип Эпизода",
"LabelExample": "Example",
"LabelExplicit": "Явный", "LabelExplicit": "Явный",
"LabelFeedURL": "URL Канала", "LabelFeedURL": "URL Канала",
"LabelFile": "Файл", "LabelFile": "Файл",

View File

@ -213,6 +213,7 @@
"LabelEpisode": "剧集", "LabelEpisode": "剧集",
"LabelEpisodeTitle": "剧集标题", "LabelEpisodeTitle": "剧集标题",
"LabelEpisodeType": "剧集类型", "LabelEpisodeType": "剧集类型",
"LabelExample": "Example",
"LabelExplicit": "信息准确", "LabelExplicit": "信息准确",
"LabelFeedURL": "源 URL", "LabelFeedURL": "源 URL",
"LabelFile": "文件", "LabelFile": "文件",