Browse Source

Translate sidebar.

pull/763/head
Fredrik Jönsson 10 years ago
parent
commit
f991ca0093
  1. 15
      openid-connect-server-webapp/src/main/resources/messages_en.properties
  2. 15
      openid-connect-server-webapp/src/main/resources/messages_sv.properties
  3. 25
      openid-connect-server-webapp/src/main/webapp/WEB-INF/tags/actionmenu.tag

15
openid-connect-server-webapp/src/main/resources/messages_en.properties

@ -39,4 +39,17 @@ topbar.contact=Contact
topbar.statistics=Statistics
topbar.home=Home
topbar.login=Log in
topbar.logout=Log ut
topbar.logout=Log out
sidebar.administrative=Administrative
sidebar.personal=Personal
sidebar.personal=Developer
sidebar.administrative.manage_clients=Manage Clients
sidebar.administrative.whitelisted_clients=Whitelisted Clients
sidebar.administrative.blacklisted_clients=Blacklisted Clients
sidebar.administrative.system_scopes=System Scopes
sidebar.personal.approved_sites=Manage Approved Sites
sidebar.personal.active_tokens=Manage Active Tokens
sidebar.personal.profile_information=View Profile Information
sidebar.developer.client_registration=Self-service client registration
sidebar.developer.resource_registration=Self-service protected resource registration

15
openid-connect-server-webapp/src/main/resources/messages_sv.properties

@ -41,4 +41,17 @@ topbar.contact=Kontakt
topbar.statistics=Statistik
topbar.home=Hem
topbar.login=Logga in
topbar.logout=Logga ut
topbar.logout=Logga ut
sidebar.administrative=Administrativt
sidebar.personal=Personligt
sidebar.personal=Utvecklare
sidebar.administrative.manage_clients=Hantera klienter
sidebar.administrative.whitelisted_clients=Vitlistade klienter
sidebar.administrative.blacklisted_clients=Svartlistade klienter
sidebar.administrative.system_scopes=System-scope
sidebar.personal.approved_sites=Hantera godkända platser
sidebar.personal.active_tokens=Hantera aktiva biljetter
sidebar.personal.profile_information=Visa profilinformation
sidebar.developer.client_registration=Self-service klientregistering
sidebar.developer.resource_registration=Self-service registrering av skyddad resurs

25
openid-connect-server-webapp/src/main/webapp/WEB-INF/tags/actionmenu.tag

@ -1,19 +1,20 @@
<%@ tag language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="security"
uri="http://www.springframework.org/security/tags"%>
<security:authorize access="hasRole('ROLE_ADMIN')">
<li class="nav-header">Administrative</li>
<li><a href="manage/#admin/clients" data-toggle="collapse" data-target=".nav-collapse">Manage Clients</a></li>
<li><a href="manage/#admin/whitelists" data-toggle="collapse" data-target=".nav-collapse">Whitelisted Clients</a></li>
<li><a href="manage/#admin/blacklist" data-toggle="collapse" data-target=".nav-collapse">Blacklisted Clients</a></li>
<li><a href="manage/#admin/scope" data-toggle="collapse" data-target=".nav-collapse">System Scopes</a></li>
<li class="nav-header"><spring:message code="sidebar.administrative"/></li>
<li><a href="manage/#admin/clients" data-toggle="collapse" data-target=".nav-collapse"><spring:message code="sidebar.administrative.manage_clients"/></a></li>
<li><a href="manage/#admin/whitelists" data-toggle="collapse" data-target=".nav-collapse"><spring:message code="sidebar.administrative.whitelisted_clients"/></a></li>
<li><a href="manage/#admin/blacklist" data-toggle="collapse" data-target=".nav-collapse"><spring:message code="sidebar.administrative.blacklisted_clients"/></a></li>
<li><a href="manage/#admin/scope" data-toggle="collapse" data-target=".nav-collapse"><spring:message code="sidebar.administrative.system_scopes"/></a></li>
<li class="divider"></li>
</security:authorize>
<li class="nav-header">Personal</li>
<li><a href="manage/#user/approved" data-toggle="collapse" data-target=".nav-collapse">Manage Approved Sites</a></li>
<li><a href="manage/#user/tokens" data-toggle="collapse" data-target=".nav-collapse">Manage Active Tokens</a></li>
<li><a href="manage/#user/profile" data-toggle="collapse" data-target=".nav-collapse">View Profile Information</a></li>
<li class="nav-header"><spring:message code="sidebar.personal"/></li>
<li><a href="manage/#user/approved" data-toggle="collapse" data-target=".nav-collapse"><spring:message code="sidebar.personal.approved_sites"/></a></li>
<li><a href="manage/#user/tokens" data-toggle="collapse" data-target=".nav-collapse"><spring:message code="sidebar.personal.active_tokens"/></a></li>
<li><a href="manage/#user/profile" data-toggle="collapse" data-target=".nav-collapse"><spring:message code="sidebar.personal.profile_information"/></a></li>
<li class="divider"></li>
<li class="nav-header">Developer</li>
<li><a href="manage/#dev/dynreg" data-toggle="collapse" data-target=".nav-collapse">Self-service client registration</a><li>
<li><a href="manage/#dev/resource" data-toggle="collapse" data-target=".nav-collapse">Self-service protected resource registration</a><li>
<li class="nav-header"><spring:message code="sidebar.developer"/></li>
<li><a href="manage/#dev/dynreg" data-toggle="collapse" data-target=".nav-collapse"><spring:message code="sidebar.developer.client_registration"/></a><li>
<li><a href="manage/#dev/resource" data-toggle="collapse" data-target=".nav-collapse"><spring:message code="sidebar.developer.resource_registration"/></a><li>
Loading…
Cancel
Save