mirror of
https://github.com/WebTools-NG/WebTools-NG
synced 2025-02-17 03:48:25 +00:00
Fixed #83 on the language page
This commit is contained in:
parent
9eac0cd750
commit
c62cb40b19
2 changed files with 40 additions and 2 deletions
|
@ -10,7 +10,20 @@
|
|||
"Language":{
|
||||
"Description":"@:Common.Language.Name allows you to change language of the app",
|
||||
"Name":"Language",
|
||||
"btnForce":"Force download"
|
||||
"btnForce":"Force download",
|
||||
"LangMissing": "My language is missing from above",
|
||||
"LangMissing1": "if your project is missing in above list, it means that nobody sadly translated it.",
|
||||
"LangMissing2": "If so, we urge you to not only help us, but also your fellow countrymen using Plex.",
|
||||
"LangMissing3": "Please visit the link below to sign up as a translator!",
|
||||
"LangMissing4": "Doing so, will also list you in the about page ;)",
|
||||
"LangSpelling": "I found a bad translation",
|
||||
"LangSpelling1": "If so, we urge you to join the translation site as well.",
|
||||
"LangProcent": "What does the number after the language means?",
|
||||
"LangProcent1": "The number indicates how much of your language that is translated",
|
||||
"LangProcent2": "If not on 100%, then we need your help",
|
||||
"LangForce": "What does the '@:Common.Language.btnForce' button do?",
|
||||
"LangForce1": "It updates your translations with the newest version avail",
|
||||
"Join": "Become a Translator"
|
||||
},
|
||||
"Login":{
|
||||
"SignIn":"Sign in with plex.tv",
|
||||
|
|
|
@ -10,7 +10,28 @@
|
|||
<span class="icon is-medium is-left">
|
||||
<i class="fas fa-globe"></i>
|
||||
</span>
|
||||
<button id="btnDownload" v-on:click="forcedownload">{{ $t("Common.Language.btnForce") }}</button>
|
||||
<b-button id="btnDownload" variant="success" v-on:click="forcedownload">{{ $t("Common.Language.btnForce") }}</b-button>
|
||||
</div>
|
||||
<br/>
|
||||
<div id="poe">
|
||||
<dl>
|
||||
<dt>{{ $t("Common.Language.LangMissing") }}:</dt>
|
||||
<dd>* {{ $t("Common.Language.LangMissing1") }}</dd>
|
||||
<dd>* {{ $t("Common.Language.LangMissing2") }}</dd>
|
||||
<dd>* {{ $t("Common.Language.LangMissing3") }}</dd>
|
||||
<dd>* {{ $t("Common.Language.LangMissing4") }}</dd>
|
||||
<dt>{{ $t("Common.Language.LangSpelling") }}:</dt>
|
||||
<dd>* {{ $t("Common.Language.LangSpelling1") }}</dd>
|
||||
<dt>{{ $t("Common.Language.LangProcent") }}</dt>
|
||||
<dd>* {{ $t("Common.Language.LangProcent1") }}</dd>
|
||||
<dd>* {{ $t("Common.Language.LangProcent2") }}</dd>
|
||||
<dt>{{ $t("Common.Language.LangForce") }}</dt>
|
||||
<dd>* {{ $t("Common.Language.LangForce1") }}</dd>
|
||||
</dl>
|
||||
</div>
|
||||
<div>
|
||||
joinPOE
|
||||
<b-button variant="success" v-on:click="joinPOE">{{ $t("Common.Language.Join") }}</b-button>
|
||||
</div>
|
||||
</section>
|
||||
</template>
|
||||
|
@ -18,6 +39,7 @@
|
|||
<script>
|
||||
// User Config
|
||||
import i18n from '../i18n';
|
||||
import { shell } from 'electron';
|
||||
const log = require('electron-log');
|
||||
|
||||
export default {
|
||||
|
@ -35,6 +57,9 @@ export default {
|
|||
forcedownload() {
|
||||
this.$store.dispatch("updateAndSetLang", { "langCode": i18n.locale, "forceDownload": true});
|
||||
},
|
||||
joinPOE() {
|
||||
shell.openExternal("https://poeditor.com/join/project/yFjdfkDfup")
|
||||
},
|
||||
getOnlineLangs() {
|
||||
var onlineLangs = this.$store.getters.getLanguages
|
||||
for (var i=0; i<onlineLangs.length; i++) {
|
||||
|
|
Loading…
Add table
Reference in a new issue