Make sso filter translatable

This commit is contained in:
Johannes Zellner
2022-05-25 21:13:39 +02:00
parent 3c17b65f7f
commit 056faefb4e
3 changed files with 7 additions and 3 deletions
+5 -1
View File
@@ -162,7 +162,11 @@
"switchToSignUpAction": "Don't have an account yet? Sign up",
"switchToLoginAction": "Already have an account? Log in"
},
"categoryLabel": "Category"
"categoryLabel": "Category",
"ssofilter": {
"all": "All Apps",
"label": "User Management"
}
},
"users": {
"title": "User Directory",
+1 -1
View File
@@ -298,7 +298,7 @@
<div class="dropdown">
<button class="btn dropdown-toggle" type="button" data-toggle="dropdown">
<i class="{{ userManagementFilterOption.icon }} fa-fw"></i>
User Management
{{ 'appstore.ssofilter.label' | tr }}
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
+1 -1
View File
@@ -89,7 +89,7 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$tran
};
$scope.userManagementFilterOptions = [
{ id: '', icon: '', label: 'All Apps' },
{ id: '', icon: '', label: $translate.instant('appstore.ssofilter.all') },
{ id: 'sso', icon: 'fas fa-user', label: $translate.instant('apps.auth.sso') },
{ id: 'nosso', icon: 'far fa-user', label: $translate.instant('apps.auth.nosso') },
{ id: 'email', icon: 'fas fa-envelope', label: $translate.instant('apps.auth.email') },