Histórico da Página
...
Classe I18nUtil.as
Método getLabelBloco de código theme Eclipse language javascript linenumbers true public static function getLabel(label:String, stringID:String=null):String { var uLabel:String = ""; var runtimeMode:String = PropertyUtil.getInstance().getProperty("runtime.mode", "production"); var trans:String = ""; if(stringID==null){ if(label!=null){ uLabel = stringReplaceAll(label, " ", "_"); trans = I18NService.translate(uLabel); }else{ label = ""; } if(trans == uLabel){ trans = label; } }else{ trans = I18NService.translate(stringID); if (trans == stringID) { trans = label; if (runtimeMode != "production") { trans += "#"; } } } return trans; }
Classe I18NService.as
Método translateBloco de código theme Eclipse language actionscript3javascript linenumbers true public static function translate(key:String):String { var result:String = strings.getValue(key) as String; if (result == null) { result = literals[key] as String; } if(result == null){ result = key; } return result; }
...
Visão Geral
Import HTML Content
Conteúdo das Ferramentas
Tarefas