]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
fix review about mgr/dashboard/frontend:Ceph dashboard supports multiple languages 56360/head
authorTomNewChao <chaotomzhu@gmail.com>
Fri, 26 Jan 2024 03:49:05 +0000 (11:49 +0800)
committerRongqi Sun <sunrongqi@huawei.com>
Thu, 21 Mar 2024 08:37:47 +0000 (08:37 +0000)
commit90b5943b39ef77f149bb6e40bfd6deda66518516
treeeb9b27c0761182ce8a9790b067890a4a435cf44a
parent9a328512e71e42f83c3628716d255f54cfabc8ea
fix review about mgr/dashboard/frontend:Ceph dashboard supports multiple languages

1.Set the default value of DASHBOARD_FRONTEND_LANGS to 'ALL'.
2.Fix bug about receive the `"ALL"` or `'ALL'`from process.env.DASHBOARD_FRONTEND_LANGS that is not equal 'ALL' in cd.js.
3.When we use the make-dist script to build the front-end UI to release the ceph, we should add DASHBOARD_FRONTEND_LANGS="ALL" to support multiple languages.

Signed-off-by: TomNewChao <chaotomzhu@gmail.com>
(cherry picked from commit 913b52d6eefc1c1c763c03f2e6e54cceae5601ff)
CMakeLists.txt
ceph.spec.in
make-dist
src/pybind/mgr/dashboard/frontend/cd.js
src/pybind/mgr/dashboard/frontend/cypress/e2e/ui/language.e2e-spec.ts