tangning 1 year ago
parent
commit
2538c05b80

+ 12 - 3
src/locales/lang/json/en.json

@@ -461,7 +461,7 @@
             "num": "scene code",
             "createTime": "Shooting time",
             "amount": "Completion time of calculation",
-            "snCode": "SN",
+            "snCode": "SN",
             "sceneSize": "scene size",
             "userName": "Account",
             "title": "title",
@@ -537,7 +537,15 @@
             "passwordNew": "New password",
             "passwordNew1": "Please enter a new password",
             "setpassword": "Set password",
-            "confirmPassword": "Confirm password"
+            "confirmPassword": "Confirm password",
+            "userList": {
+                "userName": "User Name",
+                "id": "User ID",
+                "companyName": "company",
+                "nickName": "account",
+                "createTime": "Creation time"
+            },
+            "password": "Change Password"
         }
     },
     "common": {
@@ -592,7 +600,8 @@
         "userNick": "Please enter the employee name",
         "userCorrectNameNick": "Please enter the correct employee name",
         "warning": "Warning",
-        "reminder": "Warm reminder"
+        "reminder": "Warm reminder",
+        "see": "see"
     },
     "component": {
         "app": {

+ 16 - 12
src/locales/lang/json/ja.json

@@ -122,7 +122,10 @@
         "unNormal": "異常な",
         "see": "確認",
         "EditorNot": "編集をキャンセルしますか",
-        "addRoleName": "キャラクターを作成"
+        "addRoleName": "キャラクターを作成",
+        "submitState": "コミット成功",
+        "tips": "ヒント",
+        "editRoleName": "ロールの編集"
     },
     "component": {
         "app": {
@@ -190,7 +193,7 @@
             "settingSelectColumnShow": "選択",
             "settingFixedLeft": "左に固定",
             "settingFixedRight": "右に固定",
-            "settingFullScreen": "Full Screen",
+            "settingFullScreen": "全画面表示",
             "index": "順序",
             "total": "合計 {total}個のデータ"
         },
@@ -206,38 +209,38 @@
         "tree": {
             "selectAll": "Select All",
             "unSelectAll": "選択をキャンセル",
-            "expandAll": "Expand All",
+            "expandAll": "すべて展開",
             "unExpandAll": "Collapse all",
-            "checkStrictly": "Hierarchical association",
-            "checkUnStrictly": "Hierarchical independence"
+            "checkStrictly": "階層的関連付け",
+            "checkUnStrictly": "階層的な独立性"
         },
         "upload": {
             "save": "保存",
             "upload": "アップロード",
             "imgUpload": "写真をアップロード",
             "uploaded": "アップロード画像を確認する",
-            "operating": "Operating",
+            "operating": "操作",
             "del": "削除",
             "download": "ダウンロード",
             "saveWarn": "Please wait for the file to upload and save!",
             "saveError": "There is no file successfully uploaded and cannot be saved!",
             "preview": "Preview",
-            "choose": "Select the file",
+            "choose": "選択",
             "accept": "Support {0} format",
             "acceptUpload": "アップロードできるのは{0}形式のファイルのみです",
             "maxSize": "1つのファイルが{0} MBを超えることはできません",
             "maxSizeMultiple": "アップロードできるのは{0}形式のファイルのみです",
-            "maxNumber": "Only upload up to {0} files",
+            "maxNumber": "アップロードできるファイルは最大{0}個までです",
             "legend": "Legend",
             "fileName": "ファイル名",
             "fileSize": "ファイルサイズ",
             "fileStatue": "File status",
-            "startUpload": "Start upload",
+            "startUpload": "アップロードを開始",
             "uploadSuccess": "アップロードに成功しました",
             "uploadError": "アップロードに失敗しました",
             "uploading": "アップロード中",
-            "uploadWait": "Please wait for the file upload to finish",
-            "reUploadFailed": "Re-upload failed files"
+            "uploadWait": "ファイルのアップロードが完了するまでお待ちください",
+            "reUploadFailed": "失敗したファイルを再アップロード"
         },
         "verify": {
             "error": "verification failed!",
@@ -340,7 +343,8 @@
             "triggerHover": "ホバーをトリガー",
             "triggerClick": "クリック",
             "mixSidebarFixed": "展開メニューを修正",
-            "setRoles": "権限を設定"
+            "setRoles": "権限を設定",
+            "menuDistribution": "メニュー割り当て"
         }
     },
     "sys": {

+ 0 - 3
src/views/config/setconfigModal.vue

@@ -49,7 +49,6 @@
           field: 'serial',
           component: 'Input',
           label: t('routes.config.serial'),
-          labelWidth: 100,
           required: true,
           componentProps: {
             maxLength: 100,
@@ -60,7 +59,6 @@
           field: 'account',
           component: 'Input',
           label: t('routes.config.account'),
-          labelWidth: 100,
           required: true,
           componentProps: {
             maxLength: 100,
@@ -71,7 +69,6 @@
           field: 'password',
           component: 'Input',
           label: t('routes.config.password'),
-          labelWidth: 100,
           required: true,
           componentProps: {
             maxLength: 100,

+ 3 - 3
src/views/scene/list.vue

@@ -105,7 +105,7 @@
       [Tabs.TabPane.name]: Tabs.TabPane,
     },
     setup() {
-      const { t } = useI18n();
+      const { t, locale } = useI18n();
       const { createMessage, createConfirm } = useMessage();
       const permissionStore = usePermissionStore();
       const { getCheckPerm } = permissionStore;
@@ -251,7 +251,7 @@
           {
             label: t('routes.scene.num'),
             field: 'num',
-            labelWidth: 60,
+            labelWidth: locale.value != 'zh' ? 100 : 60,
             component: 'Input',
             componentProps: {
               maxLength: 100,
@@ -264,8 +264,8 @@
           {
             field: 'snCode',
             label: t('routes.scene.snCode'),
+            labelWidth: locale.value != 'zh' ? 100 : 60,
             component: 'Input',
-            labelWidth: 50,
             componentProps: {
               maxLength: 100,
             },