Skip to content

Commit 9b0e504

Browse files
committed
transferred remainder of English text to new configuration
1 parent 2abcd96 commit 9b0e504

File tree

3 files changed

+86
-9
lines changed

3 files changed

+86
-9
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
<%@ taglib prefix="security"
44
uri="http://www.springframework.org/security/tags"%>
55
<security:authorize access="hasRole('ROLE_ADMIN')">
6-
<li class="nav-header"><spring:message code="sidebar.administrative"/></li>
6+
<li class="nav-header"><spring:message code="sidebar.administrative.title"/></li>
77
<li><a href="manage/#admin/clients" data-toggle="collapse" data-target=".nav-collapse"><spring:message code="sidebar.administrative.manage_clients"/></a></li>
88
<li><a href="manage/#admin/whitelists" data-toggle="collapse" data-target=".nav-collapse"><spring:message code="sidebar.administrative.whitelisted_clients"/></a></li>
99
<li><a href="manage/#admin/blacklist" data-toggle="collapse" data-target=".nav-collapse"><spring:message code="sidebar.administrative.blacklisted_clients"/></a></li>
1010
<li><a href="manage/#admin/scope" data-toggle="collapse" data-target=".nav-collapse"><spring:message code="sidebar.administrative.system_scopes"/></a></li>
1111
<li class="divider"></li>
1212
</security:authorize>
13-
<li class="nav-header"><spring:message code="sidebar.personal"/></li>
13+
<li class="nav-header"><spring:message code="sidebar.personal.title"/></li>
1414
<li><a href="manage/#user/approved" data-toggle="collapse" data-target=".nav-collapse"><spring:message code="sidebar.personal.approved_sites"/></a></li>
1515
<li><a href="manage/#user/tokens" data-toggle="collapse" data-target=".nav-collapse"><spring:message code="sidebar.personal.active_tokens"/></a></li>
1616
<li><a href="manage/#user/profile" data-toggle="collapse" data-target=".nav-collapse"><spring:message code="sidebar.personal.profile_information"/></a></li>
1717
<li class="divider"></li>
18-
<li class="nav-header"><spring:message code="sidebar.developer"/></li>
18+
<li class="nav-header"><spring:message code="sidebar.developer.title"/></li>
1919
<li><a href="manage/#dev/dynreg" data-toggle="collapse" data-target=".nav-collapse"><spring:message code="sidebar.developer.client_registration"/></a><li>
2020
<li><a href="manage/#dev/resource" data-toggle="collapse" data-target=".nav-collapse"><spring:message code="sidebar.developer.resource_registration"/></a><li>

openid-connect-server-webapp/src/main/webapp/WEB-INF/views/approve.jsp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<!-- client is dynamically registered -->
5858
<div class="alert alert-block <c:out value="${ count eq 0 ? 'alert-error' : 'alert-warn' }" />">
5959
<h4>
60-
<i class="icon-globe"></i> <spring:message code="approve.caution"/>:
60+
<i class="icon-globe"></i> <spring:message code="approve.caution.title"/>:
6161
</h4>
6262

6363
<p>
@@ -146,7 +146,7 @@
146146
<h4>
147147
<i class="icon-info-sign"></i> <spring:message code="approve.warning"/>:
148148
</h4>
149-
<spring:message code="approve.no_request_uri"/>
149+
<spring:message code="approve.no_redirect_uri"/>
150150
<spring:message code="approve.redirect_uri" arguments="${redirect_uri}"/>
151151
</div>
152152
</c:when>
@@ -228,7 +228,7 @@
228228
</fieldset>
229229

230230
<fieldset style="text-align: left" class="well">
231-
<legend style="margin-bottom: 0;"><spring:message code="approve.remember"/>:</legend>
231+
<legend style="margin-bottom: 0;"><spring:message code="approve.remember.title"/>:</legend>
232232
<label for="remember-forever" class="radio">
233233
<input type="radio" name="remember" id="remember-forever" value="until-revoked" ${ !consent ? 'checked="checked"' : '' }>
234234
<spring:message code="approve.remember.until_revoke"/>

openid-connect-server-webapp/src/main/webapp/resources/js/locale/en/messages.json

Lines changed: 80 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,9 +338,17 @@
338338
"no-sites": "There are no whitelisted sites. Use the <strong>whitelist</strong> button on the client management page to create one."
339339
}
340340
},
341-
"approve": {
342-
"dynamically-registered-unknown": "at an unknown time"
343-
},
341+
"copyright": "Powered by <a href=\"https://github.com/mitreid-connect/\">MITREid Connect <span class=\"label\">{0}</span></a> <span class=\"pull-right\">&copy; 2015 The MITRE Corporation and MIT KIT.</span>.",
342+
"about": {
343+
"title": "About",
344+
"body": "\nThis OpenID Connect service is built from the MITREid Connect Open Source project, from \n<a href=\"http://www.mitre.org/\">The MITRE Corporation</a> and the <a href=\"http://kit.mit.edu/\">MIT Kerberos and Internet Trust Consortium</a>.\n</p>\n<p>\nMore information about the project can be found at \n<a href=\"http://github.com/mitreid-connect/\">MITREid Connect on GitHub</a>. \nThere, you can submit bug reports, give feedback, or even contribute code patches for additional features you'd like to see."
345+
},
346+
"statistics": {
347+
"title": "Statistics",
348+
"number_users": "Number of users: <span class=\"label label-info\" id=\"userCount\">{0}</span>",
349+
"number_clients": "Authorized clients: <span class=\"label label-info\" id=\"clientCount\">{0}</span>",
350+
"number_approvals": "Approved sites: <span class=\"label label-info\" id=\"approvalCount\">{0}</span>"
351+
},
344352
"home": {
345353
"title": "Home",
346354
"welcome": {
@@ -364,12 +372,81 @@
364372
"number_approvals": "Approved sites: <span class=\"label label-info\" id=\"approvalCount\">{0}</span>"
365373
}
366374
},
375+
"contact": {
376+
"title": "Contact",
377+
"body": "To report bugs with the MITREid Connect software itself, use the \n<a href=\"https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/issues\">GitHub issue tracker</a>. \nFor problems relating to this server, contact the server's administrator."
378+
},
367379
"topbar": {
368380
"about": "About",
369381
"contact": "Contact",
370382
"statistics": "Statistics",
371383
"home": "Home",
372384
"login": "Log in",
373385
"logout": "Log out"
386+
},
387+
"sidebar": {
388+
"administrative": {
389+
"title": "Administrative",
390+
"manage_clients": "Manage Clients",
391+
"whitelisted_clients": "Whitelisted Clients",
392+
"blacklisted_clients": "Blacklisted Clients",
393+
"system_scopes": "System Scopes"
394+
},
395+
"personal": {
396+
"title": "Personal",
397+
"approved_sites": "Manage Approved Sites",
398+
"active_tokens": "Manage Active Tokens",
399+
"profile_information": "View Profile Information"
400+
},
401+
"developer": {
402+
"title": "Developer",
403+
"client_registration": "Self-service client registration",
404+
"resource_registration": "Self-service protected resource registration"
405+
}
406+
},
407+
"manage": {
408+
"ok": "OK",
409+
"loading": "Loading",
410+
"title": "Management Console"
411+
},
412+
"approve": {
413+
"dynamically-registered-unknown": "at an unknown time",
414+
"title": "Approve Access",
415+
"error": {
416+
"not_granted": "Access could not be granted."
417+
},
418+
"required_for": "Approval Required for",
419+
"dynamically_registered": "This client was dynamically registered <span class=\"label label-info\" id=\"registrationTime\">{0}</span>.",
420+
"caution": {
421+
"title": "Caution",
422+
"message": {
423+
"none": "It has <span class=\"label label-important\">never</span> been approved previously.",
424+
"singular": "It has been approved <span class=\"label label-warning\">{0}</span> time previously.",
425+
"plural": "It has been approved <span class=\"label\">{0}</span> times previously."
426+
}
427+
},
428+
"more_information": "more information",
429+
"home_page": "Home page",
430+
"policy": "Policy",
431+
"terms": "Terms of Service",
432+
"contacts": "Administrative Contacts",
433+
"warning": "Warning",
434+
"no_redirect_uri": "This client does not have any redirect URIs registered and someone could be using a malicious URI here.",
435+
"redirect_uri": "You will be redirected to the following page if you click Approve: <code>{0}</code>",
436+
"pairwise": "This client uses a <b>pairwise</b> identifier, which makes it more difficult to correlate your identity between sites.",
437+
"no_scopes": "This client does not have any scopes registered and is therefore allowed to request <em>any</em> scopes available on the system. Proceed with caution.",
438+
"access_to": "Access to",
439+
"remember": {
440+
"title": "Remember this decision",
441+
"until_revoke": "remember this decision until I revoke it",
442+
"one_hour": "remember this decision for one hour",
443+
"next_time": "prompt me again next time"
444+
},
445+
"do_authorize": "Do you authorize",
446+
"label": {
447+
"authorize": "Authorize",
448+
"deny": "Deny"
449+
}
374450
}
451+
375452
}

0 commit comments

Comments
 (0)