You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When connecting to an SFTP server, the host key is not known.
The alert sheet shown displays "{0}" instead of the substitute text.
After testing it looks like the single quote from the translation in not handled correctly
("The host key supplied is {0}." = "La clé d'hôte fournie est {0}.";)
Escaping the single quote with a backslash doesn't help.
Step to reproduce :
connect to a SFTP server in French locale
Alert sheet shows "La clé dhôte fournie est {0}."
(Notice the single quote disappeared)
Expected result :
Alert sheet should display "La clé d'hôte fournie est XX:XX:XX:XX:XX:XX:XX."
The text was updated successfully, but these errors were encountered:
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.
When connecting to an SFTP server, the host key is not known.
The alert sheet shown displays "{0}" instead of the substitute text.
After testing it looks like the single quote from the translation in not handled correctly
("The host key supplied is {0}." = "La clé d'hôte fournie est {0}.";)
Escaping the single quote with a backslash doesn't help.
Step to reproduce :
(Notice the single quote disappeared)
Expected result :
The text was updated successfully, but these errors were encountered: