[Cyberduck-trac] [Cyberduck] #7288: Single-quote in translation not correctly interpreted

Cyberduck trac at trac.cyberduck.ch
Tue Jun 11 09:32:25 UTC 2013


#7288: Single-quote in translation not correctly interpreted
--------------------------+-------------------------
 Reporter:  1010          |         Owner:  dkocher
     Type:  defect        |        Status:  assigned
 Priority:  low           |     Milestone:  4.3.2
Component:  localization  |       Version:  4.3.1
 Severity:  normal        |    Resolution:
 Keywords:                |  Architecture:  Intel
 Platform:                |
--------------------------+-------------------------

Comment (by dkocher):

 From the documentation

 > This is the specified behavior, although admittedly it's somewhat
 confusing. An apostrophe (also known as "single quote") in a MessageFormat
 pattern starts a quoted string, in which {0} is just treated as a literal
 string and is not interpreted. Two single quotes in sequence in the
 pattern result in one single quote in the output string. See
 http://java.sun.com/j2se/1.4/docs/api/java/text/MessageFormat.html#patterns
 for more information.

-- 
Ticket URL: <http://trac.cyberduck.ch/ticket/7288#comment:2>
Cyberduck <http://cyberduck.ch>
Open source FTP, SFTP, WebDAV, Cloud Files, Google Docs & Amazon S3 Browser for Mac & Windows.


More information about the Cyberduck-trac mailing list