Skip to content

Commit 6a324ba

Browse files
jschoiRRdhslove
authored andcommitted
영문 표현방식 한글화 방식으로 변경(예 : '보기 ip' > 'ip 보기')
1 parent 7f8ca2b commit 6a324ba

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

ui/src/views/infra/DisasterRecoveryClusterVmTab.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@
108108
:current="options.page"
109109
:pageSize="options.pageSize"
110110
:total="itemCount"
111-
:showTotal="total => `${$t('label.showing')} ${Math.min(total, 1+((options.page-1)*options.pageSize))}-${Math.min(options.page*options.pageSize, total)} ${$t('label.of')} ${total} ${$t('label.items')}`"
111+
:showTotal="total => this.$localStorage.get('LOCALE') == 'ko_KR' ?
112+
`${$t('label.total')} ${total} ${$t('label.items')} ${$t('label.of')} ${Math.min(total, 1+((options.page-1)*options.pageSize))}-${Math.min(options.page*options.pageSize, total)} ${$t('label.showing')}` :
113+
`${$t('label.showing')} ${Math.min(total, 1+((options.page-1)*options.pageSize))}-${Math.min(options.page*options.pageSize, total)} ${$t('label.of')} ${total} ${$t('label.items')}`"
112114
:pagination="{showSizeChanger: true, total: total}"
113115
:pageSizeOptions="['10', '20', '40', '80', '100']"
114116
@change="handleTableChange"

ui/src/views/infra/network/IpRangesTabPublic.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@
5757
<router-link :to="{ name: 'publicip', query: { vlanid: record.id }}" target="_blank">
5858
<tooltip-button
5959
tooltipPlacement="bottom"
60-
:tooltip="$t('label.view') + ' ' + $t('label.public.ip.addresses')"
60+
:tooltip="this.$localStorage.get('LOCALE') == 'ko_KR' ?
61+
$t('label.public.ip.addresses') + ' ' + $t('label.view') :
62+
$t('label.view') + ' ' + $t('label.public.ip.addresses')"
6163
icon="environment-outlined"/>
6264
</router-link>
6365
<tooltip-button

ui/src/views/infra/zone/BgpPeersTab.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@
6363
<router-link :to="{ name: 'guestnetwork', query: { bgppeerid: record.id }}">
6464
<tooltip-button
6565
tooltipPlacement="bottom"
66-
:tooltip="$t('label.view') + ' ' + $t('label.networks')"
66+
:tooltip="this.$localStorage.get('LOCALE') == 'ko_KR' ?
67+
$t('label.networks') + ' ' + $t('label.view') :
68+
$t('label.view') + ' ' + $t('label.networks')"
6769
icon="environment-outlined"/>
6870
</router-link>
6971
<tooltip-button

ui/src/views/infra/zone/Ipv4GuestSubnetsTab.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@
5454
<router-link :to="{ name: 'ipv4subnets', query: { parentid: record.id }}">
5555
<tooltip-button
5656
tooltipPlacement="bottom"
57-
:tooltip="$t('label.view') + ' ' + $t('label.ipv4.subnets')"
57+
:tooltip="this.$localStorage.get('LOCALE') == 'ko_KR' ?
58+
$t('label.ipv4.subnets') + ' ' + $t('label.view') :
59+
$t('label.view') + ' ' + $t('label.ipv4.subnets')"
5860
icon="environment-outlined"/>
5961
</router-link>
6062
<tooltip-button

0 commit comments

Comments
 (0)