]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
fix review about mgr/dashboard/frontend:Ceph dashboard supports multiple languages 56358/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:10:02 +0000 (08:10 +0000)
commit1b7fbfbc67a0268110a84e6b1e981ae4e641a350
tree46305a9e6b349e0ffd18a19445d5ebed1c0e077e
parent8a5cab4f4c4fd89fec727fbd1c2ffa3df7f864ed
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