Repository: ant-design/ant-design-mobile
Pull request #6838 (2025-03-11 13:32:09)

feat(Locale): update russian locale
Update russian locale.

github-actions[bot]: [<img width="500" alt="Prepare preview" src="https://user-images.githubusercontent.com/5378891/72351368-2c979e00-371b-11ea-9652-eb4e825d745e.gif">](https://preview-6838-ant-design-mobile.surge.sh)
<!-- AUTO_PREVIEW_HOOK -->
<!-- AUTO_PREVIEW_HOOK -->

Patch:
diff --git a/src/components/image-viewer/index.en.md b/src/components/image-viewer/index.en.md
index b074e0f01..91bcbf355 100644
--- a/src/components/image-viewer/index.en.md
+++ b/src/components/image-viewer/index.en.md
@@ -14,15 +14,15 @@ You need to click on the picture to view the details and use it with the thumbna
 
 | Name | Description | Type | Default | Version |
 | --- | --- | --- | --- | --- |
-| afterClose | Triggered when it is completely closed | `() => void` | - |
+| afterClose | Triggered when it is completely closed | `() => void` | - |  |
 | classNames | Semantic structure class | `{ mask?:string,body?:string }` | - | 5.33.1 |
-| getContainer | To get the specified mounted HTML node, the default is `null` rendered to the current node | `HTMLElement \| () => HTMLElement \| null` | `null` |
-| image | The `url` of the image resource | `string` | - |
-| maxZoom | The maximum zoom ratio | `number \| 'auto'` | `3` |
-| onClose | Triggered when it is closed | `() => void` | - |
-| renderFooter | Render extra content on footer | `(image: string) => ReactNode` | - |
-| imageRender | Custom rendering content | `(image: string, { index }: { index: number }) => ReactNode` |
-| visible | Whether to show or hide | `boolean` | `false` |
+| getContainer | To get the specified mounted HTML node, the default is `null` rendered to the current node | `HTMLElement \| () => HTMLElement \| null` | `null` |  |
+| image | The `url` of the image resource | `string` | - |  |
+| maxZoom | The maximum zoom ratio | `number \| 'auto'` | `3` |  |
+| onClose | Triggered when it is closed | `() => void` | - |  |
+| renderFooter | Render extra content on footer | `(image: string) => ReactNode` | - |  |
+| imageRender | Custom rendering content | `(image: string, { index }: { index: number }) => ReactNode` | - | 5.39.0 |
+| visible | Whether to show or hide | `boolean` | `false` |  |
 
 ## ImageViewer.Multi
 
@@ -31,11 +31,11 @@ On the basis of `ImageViewer`, the following props have been added:
 | Name | Description | Type | Default | Version |
 | --- | --- | --- | --- | --- |
 | classNames | Semantic structure class | `{ mask?:string,body?:string }` | - | 5.33.1 |
-| defaultIndex | Which picture would be displayed by default | `number` | `0` |
-| images | Url list of image resources | `string[]` | - |
-| onIndexChange | Triggered when the picture is switched | `(index: number) => void` | - |
-| renderFooter | Render extra content on footer | `(image: string, index: number) => ReactNode` | - |
-| imageRender | Custom rendering content | `(image: string, { index }: { index: number }) => ReactNode` | - |
+| defaultIndex | Which picture would be displayed by default | `number` | `0` |  |
+| images | Url list of image resources | `string[]` | - |  |
+| onIndexChange | Triggered when the picture is switched | `(index: number) => void` | - |  |
+| renderFooter | Render extra content on footer | `(image: string, index: number) => ReactNode` | - |  |
+| imageRender | Custom rendering content | `(image: string, { index }: { index: number }) => ReactNode` | - |  |
 
 At the same time, the `image` prop is removed.
 
diff --git a/src/components/image-viewer/index.zh.md b/src/components/image-viewer/index.zh.md
index e385b731c..7386ecf08 100644
--- a/src/components/image-viewer/index.zh.md
+++ b/src/components/image-viewer/index.zh.md
@@ -14,26 +14,26 @@
 
 | 属性 | 说明 | 类型 | 默认值 | 版本 |
 | --- | --- | --- | --- | --- |
-| afterClose | 完全关闭后触发 | `() => void` | - |
+| afterClose | 完全关闭后触发 | `() => void` | - |  |
 | classNames | 语义化 class | `{ mask?:string,body?:string }` | - | 5.33.1 |
-| getContainer | 指定挂载的 HTML 节点，默认为 `null` 渲染到当前节点 | `HTMLElement \| () => HTMLElement \| null` | `null` |
-| image | 图片资源的 `url` | `string` | - |
-| maxZoom | 最大缩放比例 | `number \| 'auto'` | `3` |
-| onClose | 关闭时触发 | `() => void` | - |
-| renderFooter | 渲染底部额外内容 | `(image: string) => ReactNode` | - |
-| imageRender | 自定义渲染内容 | `(image: string, { index }: { index: number }) => ReactNode` | - |
-| visible | 是否显示 | `boolean` | `false` |
+| getContainer | 指定挂载的 HTML 节点，默认为 `null` 渲染到当前节点 | `HTMLElement \| () => HTMLElement \| null` | `null` |  |
+| image | 图片资源的 `url` | `string` | - |  |
+| maxZoom | 最大缩放比例 | `number \| 'auto'` | `3` |  |
+| onClose | 关闭时触发 | `() => void` | - |  |
+| renderFooter | 渲染底部额外内容 | `(image: string) => ReactNode` | - |  |
+| imageRender | 自定义渲染内容 | `(image: string, { index }: { index: number }) => ReactNode` | - | 5.39.0 |
+| visible | 是否显示 | `boolean` | `false` |  |
 
 ## ImageViewer.Multi
 
 | 属性 | 说明 | 类型 | 默认值 | 版本 |
 | --- | --- | --- | --- | --- |
 | classNames | 语义化 class | `{ mask?:string,body?:string }` | - | 5.33.1 |
-| defaultIndex | 默认显示第几张图片 | `number` | `0` |
-| images | 图片资源的 url 列表 | `string[]` | - |
-| onIndexChange | 切换图片时触发 | `(index: number) => void` | - |
-| renderFooter | 渲染底部额外内容 | `(image: string, index: number) => ReactNode` | - |
-| imageRender | 自定义渲染内容 | `(image: string, { index }: { index: number }) => ReactNode` | - |
+| defaultIndex | 默认显示第几张图片 | `number` | `0` |  |
+| images | 图片资源的 url 列表 | `string[]` | - |  |
+| onIndexChange | 切换图片时触发 | `(index: number) => void` | - |  |
+| renderFooter | 渲染底部额外内容 | `(image: string, index: number) => ReactNode` | - |  |
+| imageRender | 自定义渲染内容 | `(image: string, { index }: { index: number }) => ReactNode` | - |  |
 
 其他属性同 `ImageViewer`，但是去掉了 `image` 属性。
 
diff --git a/src/locales/ru-RU.ts b/src/locales/ru-RU.ts
index 8baac0119..634bbf290 100644
--- a/src/locales/ru-RU.ts
+++ b/src/locales/ru-RU.ts
@@ -12,6 +12,11 @@ const ruRU = mergeLocale(base, {
     close: 'Закрыть',
   },
   Calendar: {
+    title: 'Выбор даты',
+    confirm: 'Подтвердить',
+    start: 'начало',
+    end: 'конец',
+    today: 'сегодня',
     markItems: ['Пн', 'Вт', 'Ср', 'Чт', 'Пт', 'Сб', 'Вс'],
     yearAndMonth: '${year}/${month}',
   },
@@ -116,9 +121,9 @@ const ruRU = mergeLocale(base, {
     name: 'Ввод пароля',
   },
   PullToRefresh: {
-    pulling: 'Прокрутите вниз, чтобы обновления',
+    pulling: 'Прокрутите вниз, чтобы обновить',
     canRelease: 'Отпустите, чтобы немедленно обновить',
-    complete: 'Обновление успешно',
+    complete: 'Обновлено успешно',
   },
   SearchBar: {
     name: 'Панель поиска',


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 bc95076fc..904400ade 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
@@ -93473,7 +93473,7 @@ exports[`ConfigProvider should display the text as ru 1`] = `
       <div
         class="adm-calendar-picker-view-title"
       >
-        Date selection
+        Выбор даты
       </div>
     </div>
     <div
@@ -93856,7 +93856,7 @@ exports[`ConfigProvider should display the text as ru 1`] = `
             <div
               class="adm-calendar-picker-view-cell-top"
             >
-              today
+              сегодня
             </div>
             <div
               class="adm-calendar-picker-view-cell-date"