PATCH: messu-compose hangs on french locale
- Status
- Closed
- Subject
- PATCH: messu-compose hangs on french locale
- Version
- 8.x
- Category
- Error
- Less than 30-minutes fix
- Patch
- Feature
- Inter-User messages
i18n (Multilingual, l10n, Babelfish) - Resolution status
- Works For Me
- Submitted by
- josefg
- Volunteered to solve
- Pascal St-Jean
- Lastmod by
- josefg, lindon
- Rating
- Description
When attempting to send messages to other tiki users whilst working in french locale, the messu-compose.tpl script hangs.
The problem is due to the different interpretation of commas and semicolons on french and english locales. The call to the quickhint (popup help) feature hardcodes the commas and semicolons, and this frustrates the french locale.
- Files
- Solution
The solution is simple.
In the source file messu-compose.tpl, change the lines 37, 48 and 57 top the following:messu-compose.tpl line 37Copy to clipboard{help url="Inter-User+Messages#Composing_messages" desc="{tr}To:{/tr}{tr}Multiple addresses can be separated with semicolons (\"&**#59;\"){/tr} {tr}or commas (\"&**#44;\"){/tr}"}messu-compose.tpl line 48Copy to clipboard{help url="Inter-User+Messages#Composing_messages" desc="{tr}CC:{/tr}{tr}Multiple addresses can be separated with semicolons (\"&**#59;\"){/tr} {tr}or commas (\"&**#44;\"){/tr}"}messu-compose.tpl line 57Copy to clipboard{help url="Inter-User+Messages#Composing_messages" desc="{tr}BCC:{/tr}{tr}Multiple addresses can be separated with semicolons (\"&**#59;\"){/tr} {tr}or commas (\"&**#44;\"){/tr}"}
Please remove the double stars (**) I have inserted. They are there to block the page from converting the html escapes back to plain commas and semicolons.Once the template uses the escapes rather than direct commas and semicolons the page works fine for both english and french locales. Have not tested on others.
************
Unable to recreate the issue and version no longer supported. If problem persists on a supported version, please report.- Importance
- 6
- Priority
- 30
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 4189
- Created
- Tuesday 03 April, 2012 10:06:31 UTC
by josefg - LastModif
- Saturday 06 July, 2024 10:21:44 UTC