mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-14 09:58:20 +01:00
Add ereader translations
This commit is contained in:
parent
77b030199e
commit
a96869f547
@ -34,7 +34,7 @@
|
||||
<span class="material-icons text-2xl">arrow_back</span>
|
||||
</button>
|
||||
|
||||
<p class="text-lg font-semibold ml-2">Table of Contents</p>
|
||||
<p class="text-lg font-semibold ml-2">{{ $strings.HeaderTableOfContents }}</p>
|
||||
</div>
|
||||
<div class="tocContent">
|
||||
<ul>
|
||||
@ -54,31 +54,31 @@
|
||||
<modals-modal v-model="showSettings" name="ereader-settings-modal" :width="500" :height="'unset'" :processing="false">
|
||||
<template #outer>
|
||||
<div class="absolute top-0 left-0 p-5 w-3/4 overflow-hidden">
|
||||
<p class="text-xl md:text-3xl text-white truncate">Ereader Settings</p>
|
||||
<p class="text-xl md:text-3xl text-white truncate">{{ $strings.HeaderEreaderSettings }}</p>
|
||||
</div>
|
||||
</template>
|
||||
<div class="p-2 md:p-8 w-full text-base py-2 rounded-lg bg-bg shadow-lg border border-black-300 relative overflow-x-hidden overflow-y-auto" style="max-height: 80vh">
|
||||
<div class="flex items-center mb-4">
|
||||
<div class="w-40">
|
||||
<p class="text-lg">Theme:</p>
|
||||
<p class="text-lg">{{ $strings.LabelTheme }}:</p>
|
||||
</div>
|
||||
<ui-toggle-btns v-model="ereaderSettings.theme" :items="themeItems" @input="settingsUpdated" />
|
||||
</div>
|
||||
<div class="flex items-center mb-4">
|
||||
<div class="w-40">
|
||||
<p class="text-lg">Font scale:</p>
|
||||
<p class="text-lg">{{ $strings.LabelFontScale }}:</p>
|
||||
</div>
|
||||
<ui-range-input v-model="ereaderSettings.fontScale" :min="5" :max="300" :step="5" @input="settingsUpdated" />
|
||||
</div>
|
||||
<div class="flex items-center mb-4">
|
||||
<div class="w-40">
|
||||
<p class="text-lg">Line spacing:</p>
|
||||
<p class="text-lg">{{ $strings.LabelLineSpacing }}:</p>
|
||||
</div>
|
||||
<ui-range-input v-model="ereaderSettings.lineSpacing" :min="100" :max="300" :step="5" @input="settingsUpdated" />
|
||||
</div>
|
||||
<div class="flex items-center">
|
||||
<div class="w-40">
|
||||
<p class="text-lg">Spread:</p>
|
||||
<p class="text-lg">{{ $strings.LabelLayout }}:</p>
|
||||
</div>
|
||||
<ui-toggle-btns v-model="ereaderSettings.spread" :items="spreadItems" @input="settingsUpdated" />
|
||||
</div>
|
||||
@ -99,27 +99,7 @@ export default {
|
||||
fontScale: 100,
|
||||
lineSpacing: 115,
|
||||
spread: 'auto'
|
||||
},
|
||||
themeItems: [
|
||||
{
|
||||
text: 'Dark',
|
||||
value: 'dark'
|
||||
},
|
||||
{
|
||||
text: 'Light',
|
||||
value: 'light'
|
||||
}
|
||||
],
|
||||
spreadItems: [
|
||||
{
|
||||
text: 'Single page',
|
||||
value: 'none'
|
||||
},
|
||||
{
|
||||
text: 'Split page',
|
||||
value: 'auto'
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
@ -138,6 +118,30 @@ export default {
|
||||
this.$store.commit('setShowEReader', val)
|
||||
}
|
||||
},
|
||||
spreadItems() {
|
||||
return [
|
||||
{
|
||||
text: this.$strings.LabelLayoutSinglePage,
|
||||
value: 'none'
|
||||
},
|
||||
{
|
||||
text: this.$strings.LabelLayoutSplitPage,
|
||||
value: 'auto'
|
||||
}
|
||||
]
|
||||
},
|
||||
themeItems() {
|
||||
return [
|
||||
{
|
||||
text: this.$strings.LabelThemeDark,
|
||||
value: 'dark'
|
||||
},
|
||||
{
|
||||
text: this.$strings.LabelThemeLight,
|
||||
value: 'light'
|
||||
}
|
||||
]
|
||||
},
|
||||
componentName() {
|
||||
if (this.ebookType === 'epub') return 'readers-epub-reader'
|
||||
else if (this.ebookType === 'mobi') return 'readers-mobi-reader'
|
||||
|
@ -51,7 +51,7 @@
|
||||
</div>
|
||||
</app-settings-content>
|
||||
|
||||
<app-settings-content :header-text="$strings.HeaderEReaderDevices" showAddButton :description="''" @clicked="addNewDeviceClick">
|
||||
<app-settings-content :header-text="$strings.HeaderEreaderDevices" showAddButton :description="''" @clicked="addNewDeviceClick">
|
||||
<table v-if="existingEReaderDevices.length" class="tracksTable my-4">
|
||||
<tr>
|
||||
<th class="text-left">{{ $strings.LabelName }}</th>
|
||||
|
@ -102,7 +102,7 @@
|
||||
"HeaderEmail": "Email",
|
||||
"HeaderEmailSettings": "Email Settings",
|
||||
"HeaderEpisodes": "Episoden",
|
||||
"HeaderEReaderDevices": "E-Reader Devices",
|
||||
"HeaderEreaderDevices": "Ereader Devices",
|
||||
"HeaderFiles": "Dateien",
|
||||
"HeaderFindChapters": "Kapitel suchen",
|
||||
"HeaderIgnoredFiles": "Ignorierte Dateien",
|
||||
|
@ -102,7 +102,8 @@
|
||||
"HeaderEmail": "Email",
|
||||
"HeaderEmailSettings": "Email Settings",
|
||||
"HeaderEpisodes": "Episodes",
|
||||
"HeaderEReaderDevices": "E-Reader Devices",
|
||||
"HeaderEreaderDevices": "Ereader Devices",
|
||||
"HeaderEreaderSettings": "Ereader Settings",
|
||||
"HeaderFiles": "Files",
|
||||
"HeaderFindChapters": "Find Chapters",
|
||||
"HeaderIgnoredFiles": "Ignored Files",
|
||||
@ -154,6 +155,7 @@
|
||||
"HeaderStatsRecentSessions": "Recent Sessions",
|
||||
"HeaderStatsTop10Authors": "Top 10 Authors",
|
||||
"HeaderStatsTop5Genres": "Top 5 Genres",
|
||||
"HeaderTableOfContents": "Table of Contents",
|
||||
"HeaderTools": "Tools",
|
||||
"HeaderUpdateAccount": "Update Account",
|
||||
"HeaderUpdateAuthor": "Update Author",
|
||||
@ -249,6 +251,7 @@
|
||||
"LabelFinished": "Finished",
|
||||
"LabelFolder": "Folder",
|
||||
"LabelFolders": "Folders",
|
||||
"LabelFontScale": "Font scale",
|
||||
"LabelFormat": "Format",
|
||||
"LabelGenre": "Genre",
|
||||
"LabelGenres": "Genres",
|
||||
@ -280,12 +283,16 @@
|
||||
"LabelLastSeen": "Last Seen",
|
||||
"LabelLastTime": "Last Time",
|
||||
"LabelLastUpdate": "Last Update",
|
||||
"LabelLayout": "Layout",
|
||||
"LabelLayoutSinglePage": "Single page",
|
||||
"LabelLayoutSplitPage": "Split page",
|
||||
"LabelLess": "Less",
|
||||
"LabelLibrariesAccessibleToUser": "Libraries Accessible to User",
|
||||
"LabelLibrary": "Library",
|
||||
"LabelLibraryItem": "Library Item",
|
||||
"LabelLibraryName": "Library Name",
|
||||
"LabelLimit": "Limit",
|
||||
"LabelLineSpacing": "Line spacing",
|
||||
"LabelListenAgain": "Listen Again",
|
||||
"LabelLogLevelDebug": "Debug",
|
||||
"LabelLogLevelInfo": "Info",
|
||||
@ -440,6 +447,9 @@
|
||||
"LabelTagsAccessibleToUser": "Tags Accessible to User",
|
||||
"LabelTagsNotAccessibleToUser": "Tags not Accessible to User",
|
||||
"LabelTasks": "Tasks Running",
|
||||
"LabelTheme": "Theme",
|
||||
"LabelThemeDark": "Dark",
|
||||
"LabelThemeLight": "Light",
|
||||
"LabelTimeBase": "Time Base",
|
||||
"LabelTimeListened": "Time Listened",
|
||||
"LabelTimeListenedToday": "Time Listened Today",
|
||||
|
@ -102,7 +102,7 @@
|
||||
"HeaderEmail": "Email",
|
||||
"HeaderEmailSettings": "Email Settings",
|
||||
"HeaderEpisodes": "Episodios",
|
||||
"HeaderEReaderDevices": "E-Reader Devices",
|
||||
"HeaderEreaderDevices": "Ereader Devices",
|
||||
"HeaderFiles": "Elemento",
|
||||
"HeaderFindChapters": "Buscar Capitulo",
|
||||
"HeaderIgnoredFiles": "Ignorar Elemento",
|
||||
|
@ -102,7 +102,7 @@
|
||||
"HeaderEmail": "E-mails",
|
||||
"HeaderEmailSettings": "Configuration des e-mails",
|
||||
"HeaderEpisodes": "Épisodes",
|
||||
"HeaderEReaderDevices": "Lecteurs d'e-books",
|
||||
"HeaderEreaderDevices": "Lecteurs d'e-books",
|
||||
"HeaderFiles": "Fichiers",
|
||||
"HeaderFindChapters": "Trouver les chapitres",
|
||||
"HeaderIgnoredFiles": "Fichiers Ignorés",
|
||||
|
@ -102,7 +102,7 @@
|
||||
"HeaderEmail": "Email",
|
||||
"HeaderEmailSettings": "Email Settings",
|
||||
"HeaderEpisodes": "Episodes",
|
||||
"HeaderEReaderDevices": "E-Reader Devices",
|
||||
"HeaderEreaderDevices": "Ereader Devices",
|
||||
"HeaderFiles": "Files",
|
||||
"HeaderFindChapters": "Find Chapters",
|
||||
"HeaderIgnoredFiles": "Ignored Files",
|
||||
|
@ -102,7 +102,7 @@
|
||||
"HeaderEmail": "Email",
|
||||
"HeaderEmailSettings": "Email Settings",
|
||||
"HeaderEpisodes": "Episodes",
|
||||
"HeaderEReaderDevices": "E-Reader Devices",
|
||||
"HeaderEreaderDevices": "Ereader Devices",
|
||||
"HeaderFiles": "Files",
|
||||
"HeaderFindChapters": "Find Chapters",
|
||||
"HeaderIgnoredFiles": "Ignored Files",
|
||||
|
@ -102,7 +102,7 @@
|
||||
"HeaderEmail": "Email",
|
||||
"HeaderEmailSettings": "Email Settings",
|
||||
"HeaderEpisodes": "Epizode",
|
||||
"HeaderEReaderDevices": "E-Reader Devices",
|
||||
"HeaderEreaderDevices": "Ereader Devices",
|
||||
"HeaderFiles": "Datoteke",
|
||||
"HeaderFindChapters": "Pronađi poglavlja",
|
||||
"HeaderIgnoredFiles": "Zanemarene datoteke",
|
||||
|
@ -102,7 +102,7 @@
|
||||
"HeaderEmail": "Email",
|
||||
"HeaderEmailSettings": "Email Settings",
|
||||
"HeaderEpisodes": "Episodi",
|
||||
"HeaderEReaderDevices": "E-Reader Devices",
|
||||
"HeaderEreaderDevices": "Ereader Devices",
|
||||
"HeaderFiles": "File",
|
||||
"HeaderFindChapters": "Trova Capitoli",
|
||||
"HeaderIgnoredFiles": "File Ignorati",
|
||||
|
@ -102,7 +102,7 @@
|
||||
"HeaderEmail": "Email",
|
||||
"HeaderEmailSettings": "Email Settings",
|
||||
"HeaderEpisodes": "Afleveringen",
|
||||
"HeaderEReaderDevices": "E-Reader Devices",
|
||||
"HeaderEreaderDevices": "Ereader Devices",
|
||||
"HeaderFiles": "Bestanden",
|
||||
"HeaderFindChapters": "Zoek hoofdstukken",
|
||||
"HeaderIgnoredFiles": "Genegeerde bestanden",
|
||||
|
@ -102,7 +102,7 @@
|
||||
"HeaderEmail": "Email",
|
||||
"HeaderEmailSettings": "Email Settings",
|
||||
"HeaderEpisodes": "Rozdziały",
|
||||
"HeaderEReaderDevices": "E-Reader Devices",
|
||||
"HeaderEreaderDevices": "Ereader Devices",
|
||||
"HeaderFiles": "Pliki",
|
||||
"HeaderFindChapters": "Wyszukaj rozdziały",
|
||||
"HeaderIgnoredFiles": "Zignoruj pliki",
|
||||
|
@ -102,7 +102,7 @@
|
||||
"HeaderEmail": "Email",
|
||||
"HeaderEmailSettings": "Настройки Email",
|
||||
"HeaderEpisodes": "Эпизоды",
|
||||
"HeaderEReaderDevices": "Устройства E-книга",
|
||||
"HeaderEreaderDevices": "Устройства E-книга",
|
||||
"HeaderFiles": "Файлы",
|
||||
"HeaderFindChapters": "Найти главы",
|
||||
"HeaderIgnoredFiles": "Игнорируемые Файлы",
|
||||
|
@ -102,7 +102,7 @@
|
||||
"HeaderEmail": "Email",
|
||||
"HeaderEmailSettings": "Email Settings",
|
||||
"HeaderEpisodes": "剧集",
|
||||
"HeaderEReaderDevices": "E-Reader Devices",
|
||||
"HeaderEreaderDevices": "Ereader Devices",
|
||||
"HeaderFiles": "文件",
|
||||
"HeaderFindChapters": "查找章节",
|
||||
"HeaderIgnoredFiles": "忽略的文件",
|
||||
|
Loading…
Reference in New Issue
Block a user