]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
fix review about mgr/dashboard/frontend:Ceph dashboard supports multiple languages
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:29:03 +0000 (08:29 +0000)
commit9f200f55f3b10c27f924a95ec11e155884378970
treefdd486342ddfa4c449ee0d0e4b8dee26790c8e2d
parent50eb38328158dfa7570068c1572687922e816327
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