]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
fix review about mgr/dashboard/frontend:Ceph dashboard supports multiple languages 52617/head
authorTomNewChao <chaotomzhu@gmail.com>
Fri, 26 Jan 2024 03:49:05 +0000 (11:49 +0800)
committerTomNewChao <chaotomzhu@gmail.com>
Sun, 3 Mar 2024 15:19:47 +0000 (23:19 +0800)
commit913b52d6eefc1c1c763c03f2e6e54cceae5601ff
treeec06a8eb5c477e9959f90ef7f19ebc4634d16511
parent1643ec488249d2ae51fa55d71715cb87e26a1206
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>
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