Loading...
 
Skip to main content

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
(0)
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
  1. Messu Compose.tpl
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 37
Copy 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 48
Copy 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 57
Copy 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+
Demonstrate Bug (older Tiki versions)
Ticket ID
4189
Created
Tuesday 03 April, 2012 10:06:31 UTC
by josefg
LastModif
Saturday 06 July, 2024 10:21:44 UTC


Show PHP error messages