Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Openfire
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Openfire
Commits
205bb8bb
Commit
205bb8bb
authored
Dec 21, 2017
by
Guus der Kinderen
Committed by
akrherz
Dec 21, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced hard-coded text with i18n properties. (#982)
parent
c6497031
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
14 deletions
+30
-14
openfire_i18n_en.properties
src/i18n/openfire_i18n_en.properties
+14
-0
available-plugins.jsp
src/web/available-plugins.jsp
+1
-1
http-bind.jsp
src/web/http-bind.jsp
+4
-2
security-certificate-details.jsp
src/web/security-certificate-details.jsp
+9
-9
user-properties.jsp
src/web/user-properties.jsp
+2
-2
No files found.
src/i18n/openfire_i18n_en.properties
View file @
205bb8bb
...
...
@@ -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.
...
...
src/web/available-plugins.jsp
View file @
205bb8bb
...
...
@@ -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>
...
...
src/web/http-bind.jsp
View file @
205bb8bb
...
...
@@ -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><openfireHome>/conf/crossdomain.xml</tt>"
/></fmt:message></p>
<p><fmt:message
key=
"httpbind.settings.crossdomain.info.policy"
/></p>
...
...
src/web/security-certificate-details.jsp
View file @
205bb8bb
...
...
@@ -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>
...
...
src/web/user-properties.jsp
View file @
205bb8bb
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment