$.localize bug [CS4]

Discussion of actual or possible Photoshop Scripting Bugs, Anomalies and Documentation Errors

Moderators: xbytor, DavideBarranca, Paul MR


$.localize bug [CS4]

Postby SzopeN » Thu Jul 23, 2009 1:41 am

Code: Select all
function foo() {
   $.localize = true;
   $.locale = 'pl';
   var str = {en:'locEn', pl:'locPl'};
   $.writeln(str); //CS3: locPL, CS4: locPL

var str = {en:'locEn', pl:'locPl'};
$.writeln(str); //CS3: locPL, CS4: [object Object]

Strange... $.localize works locally but $.locale works globally. In CS3 both works globally (as expected).

Return to “Photoshop Scripting Bugs and Anomalies”

Who is online

Users browsing this forum: No registered users and 1 guest