ceph/0017-mgr-dashboard-support-multi-language.patch
2023-05-30 21:43:17 +08:00

40 lines
1.2 KiB
Diff

From f6b6eca9238265bf48e573a57e50da3113a6df49 Mon Sep 17 00:00:00 2001
From: Tom_zc <tom_toworld@163.com>
Date: Tue, 23 May 2023 17:17:58 +0800
Subject: [PATCH] mgr-dashboard-support-multi-language
category: feature
--------------------------------
Fix bug about using the zh-CN language
Signed-off-by: Tom_zc <tom_toworld@163.com>
---
.../mgr/dashboard/frontend/src/locale/messages.zh-CN.xlf | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/pybind/mgr/dashboard/frontend/src/locale/messages.zh-CN.xlf b/src/pybind/mgr/dashboard/frontend/src/locale/messages.zh-CN.xlf
index 26c61727b..562d71a9a 100644
--- a/src/pybind/mgr/dashboard/frontend/src/locale/messages.zh-CN.xlf
+++ b/src/pybind/mgr/dashboard/frontend/src/locale/messages.zh-CN.xlf
@@ -26,7 +26,7 @@
<x id="PH" equiv-text="request.name"/>
</source>
<target>已更新配置选项
- <x id="INTERPOLATION" equiv-text="{{name}}"/>
+ <x id="PH" equiv-text="{{name}}"/>
</target>
</trans-unit>
<trans-unit id="cff1428d10d59d14e45edec3c735a27b5482db59" datatype="html">
@@ -6792,4 +6792,4 @@
</trans-unit>
</body>
</file>
-</xliff>
\ No newline at end of file
+</xliff>
--
2.33.0