Fix missing localization (#772)
* fix typos Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com> * Add localization to documentation link description Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com> * Add localization for rollouts errorthreshold Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com> * Add CN to available localizations Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com> * fix NO TAG localization Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com> * Fix sonar findings Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com> * Make Localization configurable Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com> * fix sonar findings Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com> * fix review findings Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com> * fix review findings Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com> * add final Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>
This commit is contained in:
committed by
Dominic Schabel
parent
347fac7f00
commit
b06928d089
@@ -10,6 +10,7 @@ package org.eclipse.hawkbit.app;
|
||||
|
||||
import org.eclipse.hawkbit.ui.AbstractHawkbitUI;
|
||||
import org.eclipse.hawkbit.ui.ErrorView;
|
||||
import org.eclipse.hawkbit.ui.UiProperties;
|
||||
import org.eclipse.hawkbit.ui.components.NotificationUnreadButton;
|
||||
import org.eclipse.hawkbit.ui.menu.DashboardMenu;
|
||||
import org.eclipse.hawkbit.ui.push.EventPushStrategy;
|
||||
@@ -43,8 +44,9 @@ public class MyUI extends AbstractHawkbitUI {
|
||||
@Autowired
|
||||
MyUI(final EventPushStrategy pushStrategy, final UIEventBus eventBus, final SpringViewProvider viewProvider,
|
||||
final ApplicationContext context, final DashboardMenu dashboardMenu, final ErrorView errorview,
|
||||
final NotificationUnreadButton notificationUnreadButton) {
|
||||
super(pushStrategy, eventBus, viewProvider, context, dashboardMenu, errorview, notificationUnreadButton);
|
||||
final NotificationUnreadButton notificationUnreadButton, final UiProperties uiProperties) {
|
||||
super(pushStrategy, eventBus, viewProvider, context, dashboardMenu, errorview, notificationUnreadButton,
|
||||
uiProperties);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -29,6 +29,10 @@ spring.rabbitmq.port=5672
|
||||
# Monitoring
|
||||
endpoints.health.enabled=true
|
||||
|
||||
# UI Localization
|
||||
hawkbit.server.ui.localization.defaultLocal=en
|
||||
hawkbit.server.ui.localization.availableLocals=en,de
|
||||
|
||||
# UI demo account
|
||||
hawkbit.server.ui.demo.password=admin
|
||||
hawkbit.server.ui.demo.user=admin
|
||||
|
||||
Reference in New Issue
Block a user