fix some translations

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej committed 2021-04-10 00:03:09 +02:00
1 parent 84130f2891
commit f7a3488d32
4 files changed
+28 -20

No files matched your search

@@ -99,7 +99,9 @@
:sort-desc.sync="sortDesc"
:items-per-page.sync="countPerPage"
:footer-props="{
itemsPerPageText: $t('Settings.ConfigFilesPanel.Files')
itemsPerPageText: $t('Settings.ConfigFilesPanel.Files'),
itemsPerPageAllText: $t('Settings.ConfigFilesPanel.AllFiles'),
itemsPerPageOptions: [10,25,50,100,-1]
}"
mobile-breakpoint="0"
item-key="name">
+9 -4
View File
@@ -61,14 +61,15 @@
"RefreshCurrentDirectory": "Refresh current Directory",
"SetupCurrentList": "Setup current list",
"HiddenFiles": "Hidden files",
"PrintedFiles": "Printed files",
"FreeDisk": "Free disk",
"Used": "Used: ",
"Free": "Free: ",
"Total": "Total: ",
"Used": "Used",
"Free": "Free",
"Total": "Total",
"Files": "Files",
"AllFiles": "All",
"Search": "Search",
"Empty": "Empty",
"blabla": "bla bla",
"DropFilesToAddGcode": "Drop files to add gcode.",
"PrintStart": "Print start",
"Preheat": "Preheat",
@@ -110,8 +111,11 @@
},
"Heightmap": {
"Heightmap": "Heightmap",
"TitleHomeAll": "Home all",
"Clear": "clear",
"TitleClear": "Clear bed mesh",
"Calibrate": "calibrate",
"TitleCalibrate": "Calibrate new bed mesh",
"NoBedMeshHasBeenLoadedYet": "No bed_mesh has been loaded yet.",
"Probed": "Probed",
"Mesh": "Mesh",
@@ -300,6 +304,7 @@
"HiddenFiles": "Hidden files",
"CurrentPath": "Current path",
"Files": "Files",
"AllFiles": "All",
"Empty": "Empty",
"EditFile": "Edit file",
"Download": "Download",
+10 -9
View File
@@ -67,7 +67,7 @@
<v-checkbox class="mt-0" hide-details v-model="showHiddenFiles" :label="$t('Files.HiddenFiles')"></v-checkbox>
</v-list-item>
<v-list-item class="minHeight36">
<v-checkbox class="mt-0" hide-details v-model="showPrintedFiles" label="Printed files"></v-checkbox>
<v-checkbox class="mt-0" hide-details v-model="showPrintedFiles" :label="$t('Files.PrintedFiles')"></v-checkbox>
</v-list-item>
<v-divider></v-divider>
<v-list-item class="minHeight36" v-for="header of configHeaders" v-bind:key="header.key">
@@ -78,16 +78,16 @@
</v-item-group>
</v-card-title>
<v-card-subtitle>
{{ $t("Files.CurrentPath") }} {{ this.currentPath !== 'gcodes' ? "/"+this.currentPath.substring(7) : "/" }}<br />
{{ $t("Files.CurrentPath") }}: {{ this.currentPath !== 'gcodes' ? "/"+this.currentPath.substring(7) : "/" }}<br />
<div v-if="this.disk_usage !== null">
<v-tooltip top>
<template v-slot:activator="{ on, attrs }">
<span v-bind="attrs" v-on="on">{{ $t('Files.FreeDisk') + formatFilesize(disk_usage.free) }}</span>
<span v-bind="attrs" v-on="on">{{ $t('Files.FreeDisk') }}: {{ formatFilesize(disk_usage.free) }}</span>
</template>
<span>
{{ $t('Files.Used') + formatFilesize(this.disk_usage.used) }}<br />
{{ $t('Files.Free') + formatFilesize(this.disk_usage.free) }}<br />
{{ $t('Files.Total') + formatFilesize(this.disk_usage.total) }}
{{ $t('Files.Used') }}: {{ formatFilesize(this.disk_usage.used) }}<br />
{{ $t('Files.Free') }}: {{ formatFilesize(this.disk_usage.free) }}<br />
{{ $t('Files.Total') }}: {{ formatFilesize(this.disk_usage.total) }}
</span>
</v-tooltip>
</div>
@@ -111,7 +111,9 @@
:sort-desc.sync="sortDesc"
:items-per-page.sync="countPerPage"
:footer-props="{
itemsPerPageText: $t('Files.Files')
itemsPerPageText: $t('Files.Files'),
itemsPerPageAllText: $t('Files.AllFiles'),
itemsPerPageOptions: [10,25,50,100,-1]
}"
item-key="name"
:search="search"
@@ -199,7 +201,6 @@
<td class="text-no-wrap text-right" v-if="headers.find(header => header.value === 'slicer').visible">{{ item.slicer ? item.slicer : '--' }}<br /><small v-if="item.slicer_version">{{ item.slicer_version}}</small></td>
</tr>
</template>
<v-data-footer>{{ $t('Files.blabla')}}</v-data-footer>
</v-data-table>
<div class="dragzone" :style="'visibility: '+dropzone.visibility+'; opacity: '+dropzone.hidden">
<div class="textnode">{{ $t('Files.DropFilesToAddGcode')}}</div>
@@ -208,7 +209,7 @@
<v-menu v-model="contextMenu.shown" :position-x="contextMenu.x" :position-y="contextMenu.y" absolute offset-y>
<v-list>
<v-list-item @click="clickRow(contextMenu.item, true)" :disabled="is_printing" v-if="!contextMenu.item.isDirectory">
<v-icon class="mr-1">mdi-play</v-icon> Print start
<v-icon class="mr-1">mdi-play</v-icon> {{ $t('Files.PrintStart')}}
</v-list-item>
<v-list-item
@click="preheat"
+6 -6
View File
@@ -26,16 +26,16 @@
class=" d-sm-none"
@click="openRenameProfile()">{{ this.bed_mesh && this.bed_mesh.profile_name ? this.bed_mesh.profile_name : "" }}</v-btn>
<v-item-group class="v-btn-toggle d-none d-sm-flex" name="controllers">
<v-btn small class="px-2 minwidth-0" color="primary" @click="homePrinter" :loading="loadings.includes('homeAll')" title="Home All"><v-icon small>mdi-home</v-icon></v-btn>
<v-btn small class="px-2 minwidth-0" color="primary" @click="clearBedMesh" :loading="loadings.includes('bedMeshClear')" v-if="this.bed_mesh && this.bed_mesh.profile_name" title="Clear bed mesh">{{ $t('Heightmap.Clear') }}</v-btn>
<v-btn small class="px-2 minwidth-0" color="primary" @click="calibrateDialog = true" :loading="loadings.includes('bedMeshCalibrate')" :disabled="is_printing" title="Calibrate new bed mesh">{{ $t('Heightmap.Calibrate') }}</v-btn>
<v-btn small class="px-2 minwidth-0" color="primary" @click="homePrinter" :loading="loadings.includes('homeAll')" :title="$t('Heightmap.TitleHomeAll')"><v-icon small>mdi-home</v-icon></v-btn>
<v-btn small class="px-2 minwidth-0" color="primary" @click="clearBedMesh" :loading="loadings.includes('bedMeshClear')" v-if="this.bed_mesh && this.bed_mesh.profile_name" :title="$t('Heightmap.Clear')">{{ $t('Heightmap.Clear') }}</v-btn>
<v-btn small class="px-2 minwidth-0" color="primary" @click="calibrateDialog = true" :loading="loadings.includes('bedMeshCalibrate')" :disabled="is_printing" :title="$t('Heightmap.TitleCalibrate')">{{ $t('Heightmap.Calibrate') }}</v-btn>
</v-item-group>
</v-toolbar>
<v-card-text class="d-sm-none text-center pb-0">
<v-item-group class="v-btn-toggle" name="controllers">
<v-btn small class="px-2 minwidth-0" color="primary" @click="homePrinter" :loading="loadings.includes('homeAll')" title="Home All"><v-icon small>mdi-home</v-icon></v-btn>
<v-btn small class="px-2 minwidth-0" color="primary" @click="clearBedMesh" :loading="loadings.includes('bedMeshClear')" v-if="this.bed_mesh && this.bed_mesh.profile_name" title="Clear bed mesh">{{ $t('Heightmap.Clear') }}</v-btn>
<v-btn small class="px-2 minwidth-0" color="primary" @click="calibrateDialog = true" :loading="loadings.includes('bedMeshCalibrate')" :disabled="is_printing" title="Calibrate new bed mesh">{{ $t('Heightmap.Calibrate') }}</v-btn>
<v-btn small class="px-2 minwidth-0" color="primary" @click="homePrinter" :loading="loadings.includes('homeAll')" :title="$t('Heightmap.TitleHomeAll')"><v-icon small>mdi-home</v-icon></v-btn>
<v-btn small class="px-2 minwidth-0" color="primary" @click="clearBedMesh" :loading="loadings.includes('bedMeshClear')" v-if="this.bed_mesh && this.bed_mesh.profile_name" :title="$t('Heightmap.TitleClear')">{{ $t('Heightmap.Clear') }}</v-btn>
<v-btn small class="px-2 minwidth-0" color="primary" @click="calibrateDialog = true" :loading="loadings.includes('bedMeshCalibrate')" :disabled="is_printing" :title="$t('Heightmap.TitleCalibrate')">{{ $t('Heightmap.Calibrate') }}</v-btn>
</v-item-group>
</v-card-text>
<v-card-text v-if="!(this.bed_mesh && this.bed_mesh.profile_name)">