Repository: ant-design/ant-design-mobile
Pull request #5485 (2022-07-20 02:46:24)

enhance: update id-ID locale
 update id-ID locale

github-actions[bot]: PR preview has been successfully built and deployed to https://antd-mobile-preview-pr-5485.surge.sh
codecov[bot]: # [Codecov](https://codecov.io/gh/ant-design/ant-design-mobile/pull/5485?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design) Report
> Merging [#5485](https://codecov.io/gh/ant-design/ant-design-mobile/pull/5485?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design) (189164c) into [master](https://codecov.io/gh/ant-design/ant-design-mobile/commit/bafad206d6cdbacbd45ea699918ddda8cfa5e326?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design) (bafad20) will **decrease** coverage by `0.11%`.
> The diff coverage is `n/a`.

```diff
@@            Coverage Diff             @@
##           master    #5485      +/-   ##
==========================================
- Coverage   87.97%   87.86%   -0.12%     
==========================================
  Files         291      291              
  Lines        6164     6164              
  Branches     1495     1495              
==========================================
- Hits         5423     5416       -7     
- Misses        687      693       +6     
- Partials       54       55       +1     
```


| [Impacted Files](https://codecov.io/gh/ant-design/ant-design-mobile/pull/5485?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design) | Coverage Δ | |
|---|---|---|
| [src/locales/id-ID.ts](https://codecov.io/gh/ant-design/ant-design-mobile/pull/5485/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL2xvY2FsZXMvaWQtSUQudHM=) | `100.00% <ø> (ø)` | |
| [src/components/image-uploader/image-uploader.tsx](https://codecov.io/gh/ant-design/ant-design-mobile/pull/5485/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL2NvbXBvbmVudHMvaW1hZ2UtdXBsb2FkZXIvaW1hZ2UtdXBsb2FkZXIudHN4) | `86.53% <0.00%> (-6.74%)` | :arrow_down: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/ant-design/ant-design-mobile/pull/5485?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/ant-design/ant-design-mobile/pull/5485?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design). Last update [bafad20...189164c](https://codecov.io/gh/ant-design/ant-design-mobile/pull/5485?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design).


Patch:
diff --git a/src/locales/id-ID.ts b/src/locales/id-ID.ts
index 98111b213..b18f3fe7a 100644
--- a/src/locales/id-ID.ts
+++ b/src/locales/id-ID.ts
@@ -110,6 +110,19 @@ const idID = mergeLocale(base, {
     canRelease: 'Lepaskan untuk menyegarkan segera',
     complete: 'Segarkan berhasil',
   },
+  SearchBar: {
+    name: 'Bilah Pencarian',
+  },
+  Slider: {
+    name: 'Penggeser',
+  },
+  Stepper: {
+    decrease: 'mengurangi',
+    increase: 'meningkat',
+  },
+  Switch: {
+    name: 'Mengalihkan',
+  },
 })
 
 export default idID


Test patch:
diff --git a/src/components/config-provider/tests/__snapshots__/config-provider.test.tsx.snap b/src/components/config-provider/tests/__snapshots__/config-provider.test.tsx.snap
index 68540be64..beab0f7ce 100644
--- a/src/components/config-provider/tests/__snapshots__/config-provider.test.tsx.snap
+++ b/src/components/config-provider/tests/__snapshots__/config-provider.test.tsx.snap
@@ -5932,11 +5932,11 @@ exports[`ConfigProvider should display the text as id-ID 1`] = `
         </svg>
       </div>
       <div
-        aria-label="Search Bar"
+        aria-label="Bilah Pencarian"
         class="adm-input adm-search-bar-input"
       >
         <input
-          aria-label="Search Bar"
+          aria-label="Bilah Pencarian"
           class="adm-input-element"
           enterkeyhint="search"
           type="search"