Commit d44eb157 authored by Guus der Kinderen's avatar Guus der Kinderen Committed by daryl herzmann

Replaced hard-coded text with i18n properties. (#982)

parent 0b5ba6cf
......@@ -2330,6 +2330,15 @@ ssl.certificates.o=Organization
ssl.certificates.ou=Organization Unit
ssl.certificates.cn=CommonName
ssl.certificates.alternative-name=Alternative Name
ssl.certificates.alternative-name.other=(Other Name)
ssl.certificates.alternative-name.rfc822=(RFC-822 Name)
ssl.certificates.alternative-name.dns=(DNS Name)
ssl.certificates.alternative-name.x400=(X400 Address)
ssl.certificates.alternative-name.directory=(Directory Name)
ssl.certificates.alternative-name.edi-party=(EDI Party Name)
ssl.certificates.alternative-name.url=(Uniform Resource Identifier)
ssl.certificates.alternative-name.ip-addres=(IP Address)
ssl.certificates.alternative-name.registered-id=(Registered ID)
ssl.certificates.valid-between=Valid between
ssl.certificates.validity=Validity
ssl.certificates.not-valid-before=Not valid before
......@@ -2560,6 +2569,8 @@ user.properties.available=Available
user.properties.offline=Offline
user.properties.not_set=Not set.
user.properties.registered=Registered
user.properties.groups=Groups
user.properties.none=None
user.properties.locked=This account is currently locked out.
user.properties.locked_set=This account has a lockout scheduled.
user.properties.locksuccess=User locked out successfully.
......@@ -3104,6 +3115,7 @@ plugin.available.name=Plugins
plugin.available.description=Description
plugin.available.version=Version
plugin.available.author=Author
plugin.available.file_size=File Size
plugin.available.install=Install
plugin.available.no_plugin=No new plugins available.
plugin.available.download=Download and Install
......@@ -3183,10 +3195,12 @@ httpbind.settings.label_same_info=The HTTP bind service will use distinct ports
httpbind.settings.secure_port=SSL Port:
httpbind.settings.error.general=An error has occured, check the log file for details.
httpbind.settings.error.port=An error has occured configuring the HTTP binding ports, check the error log for more details.
httpbind.settings.script.group=Script Syntax
httpbind.settings.script.label_enable=Enabled
httpbind.settings.script.label_enable_info=Allows BOSH clients with limited access to connect to the server
httpbind.settings.script.label_disable=Disabled
httpbind.settings.script.label_disable_info=Does not allow clients with limited access to connect to the server
httpbind.settings.crossdomain.group=Cross-domain policy
httpbind.settings.crossdomain.info.general=By default, Openfire will generate a crossdomain.xml file, hosted at \
the root of the webservice that offers BOSH functionality. This generated file will allow all access on \
all relevant ports.
......
......@@ -258,7 +258,7 @@
<td nowrap class="table-header"><fmt:message key="plugin.available.description"/></td>
<td nowrap class="table-header"><fmt:message key="plugin.available.version"/></td>
<td nowrap class="table-header"><fmt:message key="plugin.available.author"/></td>
<td nowrap class="table-header">File Size</td>
<td nowrap class="table-header"><fmt:message key="plugin.available.file_size"/></td>
<td nowrap class="table-header-right"><fmt:message key="plugin.available.install"/></td>
</tr>
</thead>
......
......@@ -186,7 +186,8 @@
</table>
</admin:contentBox>
<admin:contentBox title="Script Syntax">
<fmt:message key="httpbind.settings.script.group" var="script_boxtitle"/>
<admin:contentBox title="${script_boxtitle}">
<table cellpadding="3" cellspacing="0" border="0">
<tbody>
<tr valign="middle">
......@@ -275,7 +276,8 @@
</admin:contentBox>
<!-- XFF -->
<admin:contentBox title="Cross-domain policy">
<fmt:message key="httpbind.settings.crossdomain.group" var="crossdomain_boxtitle"/>
<admin:contentBox title="${crossdomain_boxtitle}">
<p><fmt:message key="httpbind.settings.crossdomain.info.general" /></p>
<p><fmt:message key="httpbind.settings.crossdomain.info.override"><fmt:param value="<tt>&lt;openfireHome&gt;/conf/crossdomain.xml</tt>" /></fmt:message></p>
<p><fmt:message key="httpbind.settings.crossdomain.info.policy" /></p>
......
......@@ -201,15 +201,15 @@
<th colspan="2">
<fmt:message key="ssl.certificates.subject"/> <fmt:message key="ssl.certificates.alternative-name"/>
<c:choose>
<c:when test="${alternativeName[0] eq 0}">(Other Name)</c:when>
<c:when test="${alternativeName[0] eq 1}">(RFC-822 Name)</c:when>
<c:when test="${alternativeName[0] eq 2}">(DNS Name)</c:when>
<c:when test="${alternativeName[0] eq 3}">(X400 Address)</c:when>
<c:when test="${alternativeName[0] eq 4}">(Directory Name)</c:when>
<c:when test="${alternativeName[0] eq 5}">(EDI Party Name)</c:when>
<c:when test="${alternativeName[0] eq 6}">(Uniform Resource Identifier)</c:when>
<c:when test="${alternativeName[0] eq 7}">(IP Address)</c:when>
<c:when test="${alternativeName[0] eq 8}">(Registered ID)</c:when>
<c:when test="${alternativeName[0] eq 0}"><fmt:message key="ssl.certificates.alternative-name.other"/></c:when>
<c:when test="${alternativeName[0] eq 1}"><fmt:message key="ssl.certificates.alternative-name.rfc822"/></c:when>
<c:when test="${alternativeName[0] eq 2}"><fmt:message key="ssl.certificates.alternative-name.dns"/></c:when>
<c:when test="${alternativeName[0] eq 3}"><fmt:message key="ssl.certificates.alternative-name.x400"/></c:when>
<c:when test="${alternativeName[0] eq 4}"><fmt:message key="ssl.certificates.alternative-name.directory"/></c:when>
<c:when test="${alternativeName[0] eq 5}"><fmt:message key="ssl.certificates.alternative-name.edi-party"/></c:when>
<c:when test="${alternativeName[0] eq 6}"><fmt:message key="ssl.certificates.alternative-name.url"/></c:when>
<c:when test="${alternativeName[0] eq 7}"><fmt:message key="ssl.certificates.alternative-name.ip-addres"/></c:when>
<c:when test="${alternativeName[0] eq 8}"><fmt:message key="ssl.certificates.alternative-name.registered-id"/></c:when>
</c:choose>
</th>
</tr>
......
......@@ -273,14 +273,14 @@
</tr>
<tr>
<td class="c1">
Groups:
<fmt:message key="user.properties.groups" />:
</td>
<td>
<%
Collection<Group> groups = webManager.getGroupManager().getGroups(user);
if (groups.isEmpty()) {
%>
<i>None</i>
<i><fmt:message key="user.properties.none" /></i>
<%
}
else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment