From: <ha...@us...> - 2014-03-07 20:38:22
|
Revision: 19424 http://sourceforge.net/p/jmol/code/19424 Author: hansonr Date: 2014-03-07 20:38:16 +0000 (Fri, 07 Mar 2014) Log Message: ----------- ___JmolVersion="14.1.11_2014.03.07" bug fix: applet language localization skipping translations containing \" bug fix: application language localization does not include defs defined for JmolApplet Modified Paths: -------------- trunk/Jmol/src/org/jmol/i18n/Resource.java trunk/Jmol/src/org/jmol/viewer/Jmol.properties Modified: trunk/Jmol/src/org/jmol/i18n/Resource.java =================================================================== --- trunk/Jmol/src/org/jmol/i18n/Resource.java 2014-03-07 19:07:59 UTC (rev 19423) +++ trunk/Jmol/src/org/jmol/i18n/Resource.java 2014-03-07 20:38:16 UTC (rev 19424) @@ -122,8 +122,11 @@ } static String fix(String line) { - return PT.rep(line.substring(line.indexOf("\"") + 1, line - .lastIndexOf("\"")), "\\n", "\n"); + if (line.indexOf("\\\"") >= 0) + line = PT.rep(line, "\\\"", "\""); + return PT.rep( + line.substring(line.indexOf("\"") + 1, line.lastIndexOf("\"")), "\\n", + "\n"); } } Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2014-03-07 19:07:59 UTC (rev 19423) +++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2014-03-07 20:38:16 UTC (rev 19424) @@ -11,8 +11,14 @@ # The quotes above look odd for a parameter file, but they are # important for the JavaScript version of Jmol. -___JmolVersion="14.1.11_2014.03.06" +___JmolVersion="14.1.11_2014.03.07" +bug fix: applet language localization skipping translations containing \" +bug fix: application language localization does not include defs defined for JmolApplet + + +JmolVersion="14.1.11_2014.03.06" + new feature: JSpecView readers for ACD/Labs annotated MS, IR, Raman, and UV/VIS -- displays fragments for MS (highlights atoms) -- highlights atoms involved in an IR/Raman stretch This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |