Skip to content

Commit

Permalink
technical debt
Browse files Browse the repository at this point in the history
  • Loading branch information
e154 committed Jan 23, 2024
1 parent 1b50d63 commit 4063ae7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions static_source/admin/src/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,8 @@ export default {
width: 'Width',
weight: 'Weight',
editor: {
keystrokeCapture: 'Keystroke Capture',
addNewButton: 'Add New Button',
name: 'Name',
size: 'Size',
color: 'Color',
Expand Down
2 changes: 2 additions & 0 deletions static_source/admin/src/locales/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,8 @@ export default {
width: "Ширина",
weight: "Вес",
editor: {
keystrokeCapture: 'Захват клавиатуры',
addNewButton: 'Добавить кнопку',
name: 'Название',
size: 'Размеры',
color: 'Цвета',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ const getActionList = (entity?: ApiEntity) => {
<ElRow class="mb-20px">
<ElCol>
<el-button class="button-new-tag ml-1" size="small" @click="saveNewButton(index)">
+ New Button
<Icon icon="ep:plus" class="mr-5px"/>
{{ t('dashboard.editor.addNewButton') }}
</el-button>
</ElCol>
</ElRow>
Expand Down
2 changes: 1 addition & 1 deletion static_source/admin/src/views/Dashboard/editor/TabCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ const sortCardDown = (card: Card, index: number) => {

<ElRow v-if="core.activeCard >= 0" class="mb-20px">
<ElCol>
<ElDivider content-position="left">{{ $t('dashboard.editor.image') }}</ElDivider>
<ElDivider content-position="left">{{ $t('dashboard.editor.keystrokeCapture') }}</ElDivider>
</ElCol>
<ElCol>
<KeystrokeCapture :card="activeCard" :core="core"/>
Expand Down

0 comments on commit 4063ae7

Please sign in to comment.