Parcourir la source

fix: improve translate of datepicker in ms_MY

pointhalo il y a 1 an
Parent
commit
471280bf00

+ 1 - 1
packages/semi-ui/locale/source/id_ID.ts

@@ -100,7 +100,7 @@ const local: Locale = {
     },
     Table: {
         emptyText: 'Tidak ada Hasil',
-        pageText: 'Tampilkan halaman ${currentStart} sampai ${currentEnd} dari ${total}',
+        pageText: 'Menampilkan ${currentStart}-${currentEnd} dari ${total}',
         descend: 'Klik untuk menurun',
         ascend: 'Klik untuk menaik',
         cancelSort: 'Batalkan penyortiran',

+ 1 - 1
packages/semi-ui/locale/source/ja_JP.ts

@@ -101,7 +101,7 @@ const local: Locale = {
     },
     Table: {
         emptyText: 'データがありません',
-        pageText: '第 ${currentStart} 条から第 ${currentEnd} 条まで表示します。計 ${total} 条',
+        pageText: '{total}件のうち、{currentStart}~{currentEnd}件目を表示しています',
         descend: 'クリックして降順',
         ascend: 'クリックして昇順',
         cancelSort: 'ソートのキャンセル',

+ 7 - 7
packages/semi-ui/locale/source/ms_MY.ts

@@ -78,13 +78,13 @@ const local: Locale = {
             12: 'Disember',
         },
         weeks: {
-            Mon: 'Isnin',
-            Tue: 'Selasa',
-            Wed: 'Rabu',
-            Thu: 'Khamis',
-            Fri: 'Jumaat',
-            Sat: 'Sabtu',
-            Sun: 'Ahad',
+            Mon: 'Isn',
+            Tue: 'Sel',
+            Wed: 'Rab',
+            Thu: 'Kha',
+            Fri: 'Jum',
+            Sat: 'Sab',
+            Sun: 'Aha',
         },
         localeFormatToken: {
             FORMAT_SWITCH_DATE: 'dd/MM/yyyy',

+ 2 - 7
yarn.lock

@@ -1616,7 +1616,7 @@
     remark-gfm "^4.0.0"
     scroll-into-view-if-needed "^2.2.24"
 
-"@douyinfe/[email protected]", "@douyinfe/semi-icons@^2.0.0", "@douyinfe/semi-icons@latest":
+"@douyinfe/[email protected]", "@douyinfe/semi-icons@latest":
   version "2.65.0"
   resolved "https://registry.yarnpkg.com/@douyinfe/semi-icons/-/semi-icons-2.65.0.tgz#af39cbd5431ebccedcf7d9ce689646e54bebc432"
   integrity sha512-FGPOgG0V/tOZ/dRZWwf9CG+IWLMS76H7HKxgIL/bK086BJ5aleuTPWgtSENOU7zsz+BR0lCL/f2NiRoHxarD4A==
@@ -1699,7 +1699,7 @@
   resolved "https://registry.yarnpkg.com/@douyinfe/semi-theme-default/-/semi-theme-default-2.61.0.tgz#a7e9bf9534721c12af1d0eeb5d5a2de615896a23"
   integrity sha512-obn/DOw4vZyKFAlWvZxHTpBLAK9FO9kygTSm2GROgvi+UDB2PPU6l20cuUCsdGUNWJRSqYlTTVZ1tNYIyFZ5Sg==
 
-"@douyinfe/semi-ui@^2.0.0", "@douyinfe/semi-ui@latest":
+"@douyinfe/semi-ui@latest":
   version "2.65.0"
   resolved "https://registry.yarnpkg.com/@douyinfe/semi-ui/-/semi-ui-2.65.0.tgz#295eb0dd8e9e961adb4ddd7c7bbce3468d1b7430"
   integrity sha512-6AZhnZCAlMsf6Zg0Z10+JV5KEkuyWTsbzC0/Dlm7T6Xy/z9fOJS0LFgSUs6g5k1L/hs4y/1RM3KUrww3R+CRLw==
@@ -11820,11 +11820,6 @@ eslint-plugin-react@^7.20.6, eslint-plugin-react@^7.24.0:
     string.prototype.matchall "^4.0.11"
     string.prototype.repeat "^1.0.0"
 
-eslint-plugin-semi-design@^2.33.0:
-  version "2.65.0"
-  resolved "https://registry.yarnpkg.com/eslint-plugin-semi-design/-/eslint-plugin-semi-design-2.65.0.tgz#e34966a41da3d6eb1efd2efb687ab27a4b6b2f00"
-  integrity sha512-yO0d28YTQ4qtmqV+qoZ0UXzIMb2s6HxZ/oyXjAkn2tUVpUGNvQ3ECPQB9JCi69ROEpO/LC7sGtNBGzfzumKcaw==
-
 eslint-rule-composer@^0.3.0:
   version "0.3.0"
   resolved "https://registry.yarnpkg.com/eslint-rule-composer/-/eslint-rule-composer-0.3.0.tgz#79320c927b0c5c0d3d3d2b76c8b4a488f25bbaf9"