Skip to content

Commit

Permalink
fix: 提交国际化
Browse files Browse the repository at this point in the history
  • Loading branch information
lhzzforever committed Apr 1, 2024
1 parent ba80e31 commit 2f92dd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/dashboard-front/src/language/lang.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1394,6 +1394,7 @@ const lang: ILANG = {
'变量管理': ['VariableManage'],
'下架环境': ['Unpublish Stage'],
'版本列表': ['VersionList'],
'请输入网关名称': ['Please enter gateway name'],
'': [''],

// 变量的使用 $t('test', { vari1: 1, vari2: 2 })
Expand Down
2 changes: 1 addition & 1 deletion src/dashboard-front/src/views/resource/setting/edit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ import { createResources, getResourceDetailData, updateResources } from '@/http'
import { Message } from 'bkui-vue';
import { AngleUpFill, RightShape } from 'bkui-vue/lib/icon';
import { useSidebar } from '@/hooks';
const { initSidebarFormData, isSidebarClosed } = useSidebar();
const { initSidebarFormData, isSidebarClosed } = useSidebar();
const { t } = useI18n();
const router = useRouter();
const route = useRoute();
Expand Down

0 comments on commit 2f92dd7

Please sign in to comment.