Skip to content

Commit

Permalink
style: change some i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
ZonaHex committed Dec 21, 2022
1 parent 2aaecc5 commit 1356098
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/assets/style/global.less
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ body {
background-color: var(--main-bg-color);
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
font-family: Roboto;
font-family: Roboto !important;
}

.pointer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ a-spin(style="width: 100%")
a-select(v-model="chartForm.chartType" :style="{ width: '320px' }")
a-option(v-for="item of chartTypeOptions" :key="item.key" :value="item.value" :label="item.value")
a-form-item.select-y(:label="$t('dataExplorer.yType')")
a-select(v-model="chartForm.ySelectedTypes" :style="{ width: '320px' }" :placeholder="$t('dataExplorer.select')" multiple :filter-option="false")
a-select(v-model="chartForm.ySelectedTypes" :style="{ width: '320px' }" :placeholder="$t('dataExplorer.selectY')" multiple :filter-option="false")
a-option(v-for="item of yOptions" :key="item.value" :value="item.value") {{ item.value }}
a-button.draw-button(type="primary" @click="drawChart") {{$t('dataExplorer.draw')}}
a-row
Expand Down
1 change: 1 addition & 0 deletions src/views/dashboard/data-explorer/locale/en-US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export default {
'dataExplorer.chartType': 'Chart Type',
'dataExplorer.yType': 'Y Types',
'dataExplorer.select': 'Select {records} row | Select {records} rows',
'dataExplorer.selectY': 'Please select...',
'dataExplorer.draw': 'Draw',
'dataExplorer.error': 'Error',
'dataExplorer.affected': 'Affected {record} row | Affected {record} rows',
Expand Down

0 comments on commit 1356098

Please sign in to comment.