ET Settings now pure BootStrap. translations upd.

This commit is contained in:
UKDTOM 2020-08-07 23:04:45 +02:00
parent 7d0b23eaba
commit fb27df5b3a
4 changed files with 22 additions and 128 deletions

View file

@ -1,83 +0,0 @@
{
"Common": {
"AppName": "WebTools-NG",
"Home": {
"About": "@:Common.AppName is a tool that enables the use of tool modules to help with Plex Server management.",
"Modules": "Tool Modules currently available are:",
"Name": "Home",
"Title": "Velkommen til @:Common.AppName"
},
"Language": {
"Description": "@:Common.Language.Name : Her kan du skifte sprog",
"Name": "Sprog"
},
"Login": {
"SignIn": "Login med plex.tv",
"UseCred": "Brug dine normale plex.tv login oplysninger",
"Note": "3.Part Auth er ikke muligt, som f.eks. Google mm.",
"Username": "Brugernavn",
"UsernamePrompt": "Skriv dit plex.tv brugernavn",
"Password": "Kodeord",
"PasswordPrompt": "Skriv dit plex.tv kodeord"
},
"SelServer": "Vælg Server",
"Menu": {
"File": {
"menuFile": "File",
"menuOpenLogDir": "Åben log bibliotek",
"menuQuit": "Afslut"
},
"Edit": {
"menuEdit": "Editer",
"menuUndo": "Fortryd",
"menuRedo": "Redo",
"menuCut": "Cut",
"menuCopy": "Kopier",
"menuPaste": "Sæt ind",
"menuDelete": "Slet",
"menuSelectAll": "Vælg alt"
},
"View": {
"menuView": "View",
"menuReload": "Reload",
"menuForceReload": "Force Reload",
"menuToggleDeveloperTools": "Toggle Developer Tools",
"menuActualSize": "Actual Size",
"menuZoomIn": "Zoom ind",
"menuZoomOut": "Zoom ud",
"menuToggleFullScreen": "Toggle Full Screen"
},
"Help": {
"menuHelp": "Hjælp",
"menuForum": "Forums",
"menuGithub": "Github",
"menuManual": "Manual"
}
}
},
"Modules": {
"ET": {
"Description": "@:Modules.ET.Name lader dig eksportere information vedrørende de medier du har i dine biblioteker",
"Name": "ExportTool",
"HSelectMedia": "Select Media Type",
"HSelectSelection": "Vælg media bibliotek",
"SelectSelection": "Vælg bibliotek",
"HExportMedia": "Eksporter medias",
"RadioMovies": "Film",
"RadioTVSeries": "TV Serier",
"RadioMusic": "Musik",
"RadioPhotos": "Billeder",
"RadioOtherVideos": "Andre videoer"
},
"About": {
"Description": "@Modules.About.Name",
"Name": "About us and credits",
"MainDevelopers": "Main Developers",
"Devdane22": "Tommy (aka dane22), et Plex forum medlem (ukdtom på GitHub)",
"DevCPSO": "Casper (aka CPSO), a soon to be Plex community member (CPSO on GitHub)",
"TranslationBetaTestersTitle": "Translations and Beta Testers",
"TranslationBetaTestersText": "Stor tak går til alle de folk, som har hjulpet med at oversætte og teste @:Common.AppName.",
"PlexPoCredits": "And Many Thanks To The authors/developers and staff at Plex. We are eternally grateful for your dedication, talent and hard work And our friends at POEditor.com, who provided a free translation site because we are an Open-Source project."
}
}
}

View file

@ -1,21 +0,0 @@
{
"Common": {
"AppName": "WebTools-NG1",
"Home": {
"About": "@:Common.AppName is a tool that enables the use of tool modules to help with Plex Server management.",
"Modules": "Tool Modules currently available are:",
"Name": "Home",
"Title": "Welcome to @:Common.AppName"
},
"Language": {
"Description": "@:Common.Language.Name allows you to change language of the app",
"Name": "Language"
}
},
"Modules": {
"ET": {
"Description": "@:Modules.ET.Name allows you to export some information about the medias in your libraries",
"Name": "ExportTool"
}
}
}

View file

@ -103,8 +103,13 @@
"Description": "Here you can define the settings for @:Modules.ET.Name",
"Browse": "Browse",
"SelectOutDir": "Select Output Directory",
"ArraySep": "Array Separator:",
"ColumnSep": "Column Separator:"
"ArraySep": "Delimiter, with multiple info in same field",
"ColumnSep": "Delimiter between fields in CSV file",
"TimeOut": "Timeout when requesting info from PMS in sec",
"OrgTitleNull": "Default Original Title to title, if empty",
"SortTitleNull": "Default Sort title to title, if empty",
"AutoXLSCol": "Autosize column (xlsx only)",
"AutoXLSRow": "Autosize row (xlsx only)"
}
},
"About": {

View file

@ -1,28 +1,21 @@
<template>
<section class="section">
<h1 class="title is-3">{{ $t("Modules.ET.Settings.Settings") }}</h1>
<h2 class="subtitle">{{ $t("Modules.ET.Settings.Description") }}</h2>
<br />
<div id="outDir">
<p>{{ $t("Modules.ET.Settings.SelectOutDir") }}</p>
<input id="outDirbox" name="outDirbox" v-model="outDirVal" :disabled=true v-bind:placeholder="$t('Modules.ET.Settings.SelectOutDir')">
<button v-on:click="browse">{{ $t("Modules.ET.Settings.Browse") }}</button>
<h2 class="subtitle">{{ $t("Modules.ET.Settings.Description") }}</h2>
<div>
<b-input-group id="outDir" :prepend="$t('Modules.ET.Settings.SelectOutDir')" class="mt-3">
<b-form-input id="outDirbox" name="outDirbox" v-model="outDirVal" :disabled=true v-bind:placeholder="$t('Modules.ET.Settings.SelectOutDir')" />
<b-input-group-append>
<b-button variant="info" v-on:click="browse">{{ $t("Modules.ET.Settings.Browse") }}</b-button>
</b-input-group-append>
</b-input-group>
</div>
<div class="form-row" id="row">
<div class="col" id="ArraySep">
<p>{{ $t("Modules.ET.Settings.ArraySep") }}</p>
<input id="ArraySep" name="ArraySep" type="text" class="form-control, col-md-auto" v-model="ArraySep" :disabled=false :maxlength=1 @change="setArraySep()">
</div>
<div class="col" id="ColumnSep">
<p>{{ $t("Modules.ET.Settings.ColumnSep") }}</p>
<input id="ColumnSep" name="ColumnSep" type="text" class="form-control, col-md-auto" v-model="ColumnSep" :disabled=false :maxlength=1 @change="setColumnSep()">
</div>
<div class="col" :hidden=true>
</div>
</div>
<b-input-group id="ArraySep" :prepend="$t('Modules.ET.Settings.ArraySep')" class="mt-3">
<b-form-input id="ArraySep" name="ArraySep" type="text" class="form-control" v-model="ArraySep" :disabled=false :maxlength=1 @change="setArraySep()"></b-form-input>
</b-input-group>
<b-input-group id="ColumnSep" :prepend="$t('Modules.ET.Settings.ColumnSep')" class="mt-3">
<b-form-input id="ColumnSep" name="ColumnSep" type="text" class="form-control" v-model="ColumnSep" :disabled=false :maxlength=1 @change="setColumnSep()"></b-form-input>
</b-input-group>
</section>
</template>
<script>
@ -62,7 +55,7 @@
</script>
<style scoped>
#outDirbox{
.outDirbox{
margin-right:10px;
}
#row{