@@ -6,17 +6,19 @@
|
||||
@change-selection="onChangeSelection"
|
||||
/>
|
||||
<footer>
|
||||
<button class="upload" title="%i18n:@upload%" @click="upload"><fa icon="upload"/></button>
|
||||
<button class="cancel" @click="close">%i18n:@cancel%</button>
|
||||
<button class="ok" @click="ok">%i18n:@ok%</button>
|
||||
<button class="upload" :title="$t('upload')" @click="upload"><fa icon="upload"/></button>
|
||||
<button class="cancel" @click="close">{{ $t('cancel') }}</button>
|
||||
<button class="ok" @click="ok">{{ $t('ok') }}</button>
|
||||
</footer>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import Vue from 'vue';
|
||||
import i18n from '../../../i18n';
|
||||
|
||||
export default Vue.extend({
|
||||
i18n: i18n('desktop/views/pages/selectdrive.vue'),
|
||||
data() {
|
||||
return {
|
||||
files: []
|
||||
@@ -29,7 +31,7 @@ export default Vue.extend({
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
document.title = '%i18n:@title%';
|
||||
document.title = this.$t('title');
|
||||
},
|
||||
methods: {
|
||||
onSelected(file) {
|
||||
|
||||
Reference in New Issue
Block a user