From 40cfe094f9019c06d4d25be629ddf0eeaebc4c3d Mon Sep 17 00:00:00 2001 From: Mumbi Francis Date: Fri, 26 Jan 2024 12:53:17 +0300 Subject: [PATCH] Add theme translations on topbar --- client/web/admin/src/views/Layout.vue | 2 ++ client/web/compose/src/views/Layout.vue | 2 ++ client/web/discovery/src/views/Layout.vue | 2 ++ client/web/one/src/views/Layout.vue | 2 ++ client/web/privacy/src/views/Layout.vue | 2 ++ client/web/reporter/src/views/Layout.vue | 2 ++ client/web/workflow/src/views/Layout.vue | 2 ++ lib/vue/src/components/navigation/CTopbar.vue | 13 ++++++------- locale/en/corteza-webapp-discovery/general.yaml | 6 +++++- locale/en/corteza-webapp-one/navigation.yaml | 4 ++++ locale/en/corteza-webapp-privacy/general.yaml | 5 +++++ locale/en/corteza-webapp-workflow/general.yaml | 5 +++++ 12 files changed, 39 insertions(+), 8 deletions(-) diff --git a/client/web/admin/src/views/Layout.vue b/client/web/admin/src/views/Layout.vue index a6d40682c..bcc9076da 100644 --- a/client/web/admin/src/views/Layout.vue +++ b/client/web/admin/src/views/Layout.vue @@ -13,6 +13,8 @@ userSettingsProfile: $t('navigation.userSettings.profile'), userSettingsChangePassword: $t('navigation.userSettings.changePassword'), userSettingsLogout: $t('navigation.userSettings.logout'), + lightTheme: $t('general:themes.labels.light'), + darkTheme: $t('general:themes.labels.dark'), }" >