[phpldapadmin] [ phpldapadmin-Bugs-2958882 ] Single quote in french translation causes error
"SourceForge.net" <[email protected]> Mon, 25 Apr 2011 14:36:52 +0000
| Newsgroups | gmane.comp.ldap.davedap |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #2958882, was opened at 2010-02-26 05:04
Message generated for change (Comment added) made by wurley
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2958882&group_id=61828
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 1.2.x
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: gilles bernard (lordikc)
Assigned to: Nobody/Anonymous (nobody)
Summary: Single quote in french translation causes error
Initial Comment:
Hello,
I face this problem using PLA in french:
TemplateRender.php:2000
if (isAjaxEnabled())
return sprintf('(<a href="cmd.php?%s" title="%s %s" onclick="return ajDISPLAY(\'ADDVALUE%s\',\'%s&raw=1\',\'%s\');">%s</a>)',
$href_parm,_('Add an additional value to attribute'),$attribute->getName(false),$attribute->getName(),
$href_parm,_('Add Value to Attribute'),_('add value'));
French translation of "Add an additional value to attribute" is "Ajouter une valeur additionnelle à l'attribut" with a quote in the middle.
This results in a wrong JS code:
Error : missing ) after argument list
Source File : http://msic-descartes/phpldapadmin/htdocs/cmd.php?server_id=1&redirect=true
Line : 1, Colone : 181
Code :
return ajDISPLAY('ADDVALUEroleoccupant','cmd=add_value_form&server_id=1&dn=cn%3DTest%2Cou%3DRole%2Cou%3Dcsd%2Cdc%3Deads%2Cdc%3Dcom&attr=roleOccupant&raw=1','Assigner une valeur à l'attribut');
Regards,
Lordikc
----------------------------------------------------------------------
>Comment By: Deon George (wurley)
Date: 2011-04-26 00:36
Message:
Thanks for the bug report.
Fix committed to git #cc86037 if you would like to test it.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2958882&group_id=61828
------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been
demonstrated beyond question. Learn why your peers are replacing JEE
containers with lightweight application servers - and what you can gain
from the move. http://p.sf.net/sfu/vmware-sfemails
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/