msc: translate admin view

v0.6
rrr-marble 4 years ago
parent 787a2ab0d8
commit 65943bcbb5

@ -1,9 +1,9 @@
<template> <template>
<div> <div>
<h1 style="font-size: 3rem; margin: 1rem;">Active Schema</h1> <h1 style="font-size: 3rem; margin: 1rem;">Текущий формат</h1>
<h2 style="margin-left: 1rem;">(coordinated format)</h2> <h2 style="margin-left: 1rem;">(скоординированный)</h2>
<va-radio class="radio-switcher" v-for="(option, index) in viewOptions" :key="index" v-model="selectedOption" <va-radio class="radio-switcher" v-for="(option, index) in viewOptions" :key="index" v-model="selectedOption"
:option="option"></va-radio> :option="option" :label="viewLabels[index]"></va-radio>
<div class="va-table-responsive" v-if="selectedOption === 'table-view'"> <div class="va-table-responsive" v-if="selectedOption === 'table-view'">
<table class="va-table va-table--striped detail-table"> <table class="va-table va-table--striped detail-table">
<thead> <thead>
@ -54,6 +54,11 @@ export default defineComponent({
"list-view", "list-view",
"mosaic-view", "mosaic-view",
], ],
viewLabels: [
"Табличный вид",
"Списочный вид",
"Мозаичный вид",
],
selectedOption: "list-view" selectedOption: "list-view"
} }
}, },

@ -1,7 +1,8 @@
<template> <template>
<div> <div>
<navbar /> <navbar />
<h1>404 not found</h1> <h1>Такая страница не найдена</h1>
<p>Если вы считаете это ошибкой сообщите нам на webmaster@`${DOMAIN}`</p>
</div> </div>
</template> </template>
@ -15,4 +16,5 @@ export default {
<style lang="css"> <style lang="css">
</style> </style>

@ -1,8 +1,9 @@
<template> <template>
<div> <div>
<h1 style="font-size: 3rem; margin: 1rem;">Upload</h1> <h1 style="font-size: 3rem; margin: 1rem;">Загрузка</h1>
<div class="upload-dashboard"> <div class="upload-dashboard">
<va-file-upload dropzone type="single" @file-added="handleFile"></va-file-upload> <va-file-upload dropzone type="single" @file-added="handleFile" drop-zone-text="Перетащите файл сюда или"
upload-button-text="Выберите файл"></va-file-upload>
</div> </div>
<va-modal v-model="showModal" :message="result.message" :title="result.status" hide-default-actions /> <va-modal v-model="showModal" :message="result.message" :title="result.status" hide-default-actions />
</div> </div>

@ -26,18 +26,18 @@ export default {
return { return {
sidebarItems: [ sidebarItems: [
{ {
title: "Active Schema", title: "Текущий формат",
icon: "fact_check", icon: "fact_check",
active: true, active: true,
route: "active-schema", route: "active-schema",
}, },
{ {
title: "Review Data", title: "Проверка данных",
icon: "dashboard", icon: "dashboard",
route: "review-data" route: "review-data"
}, },
{ {
title: "Upload", title: "Загрузка",
icon: "file_upload", icon: "file_upload",
route: "upload", route: "upload",
}, },

Loading…
Cancel
Save