i18n params fail when text has apostrophe

Description

There's an oddity with i18n in the admin panel: when the to-be-translated text contains placeholders as well as apostrophes, the placeholders are not filled out. In version 4.0.0 it is visible on /connection-settings-socket-c2s.jsp:

Use the forms below to configure how XMPP clients connect to the XMPP domain thats provided by this server. You can also {0}view the client sessions{1} that are currently connected to this server.

instead of the expected:

Use the forms below to configure how XMPP clients connect to the XMPP domain that's provided by this server. You can also view the client sessions that are currently connected to this server.

Environment

None

Activity

Show:

Guus der Kinderen January 21, 2016 at 5:32 PM

PR merged into trunk and cherry-picked into 4.0

Guus der Kinderen January 21, 2016 at 2:34 PM
Edited

Suggested fix: use html-encoded characters instead of apostrophes. PR: https://github.com/igniterealtime/Openfire/pull/521

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created January 21, 2016 at 2:31 PM
Updated January 21, 2016 at 5:32 PM
Resolved January 21, 2016 at 5:32 PM

Flag notifications