rem: sv: this.tr("Swedish") 
add: sv: this.tr("Swedish"), ru: this.tr("Russian") 
context: qx.Proto.main = function(e){  // create main layout  var dockLayout = new qx.ui.layout.DockLayout();  dockLayout.set({    height: "100%",    width: "100%"  });	// create header  var header = new qx.ui.embed.HtmlEmbed("<h1><span>qooxdoo</span> reader</h1>");  header.setCssClassName("header");  header.setHeight(50);  dockLayout.addTop(header);	// define commands  var reload_cmd = new qx.client.Command("Control+R");  reload_cmd.addEventListener("execute", function(e) {    this.fetchFeeds();    this.debug(this.tr("reloading ...").toString());  }, this);  var about_cmd = new qx.client.Command("F1");  about_cmd.addEventListener("execute", function(e) {    alert(this.tr("qooxdoo feed reader."));  }, this);	// create toolbar  var toolBar = new qx.ui.toolbar.ToolBar();  toolBar.add(new qx.ui.toolbar.Button(this.trn("Add feed", "Add feeds", 2), "icon/16/button-ok.png"));  toolBar.add(new qx.ui.toolbar.Button(this.tr("Remove feed"), "icon/16/button-cancel.png"));  toolBar.add(new qx.ui.toolbar.Separator());  var reload_btn = new qx.ui.toolbar.Button(this.tr("Reload"), "icon/16/reload.png");  reload_btn.setCommand(reload_cmd);  reload_btn.setToolTip(new qx.ui.popup.ToolTip(this.tr("(%1) Reload the feeds.", reload_cmd.toString())));  toolBar.add(reload_btn);  toolBar.add(new qx.ui.basic.HorizontalSpacer());	// poulate languages menu and add it to the toolbar  var locales = {    de: this.tr("German"),    en: this.tr("English"),    tr: this.tr("Turkish"),    it: this.tr("Italian"),    es: this.tr("Spanish"),    sv: this.tr("Swedish")  }  var availableLocales = qx.locale.Manager.getInstance().getAvailableLocales();  var locale = qx.locale.Manager.getInstance().getLocale();  var lang_menu = new qx.ui.menu.Menu();  var radioManager = new qx.manager.selection.RadioManager("lang");  for (var lang in locales) {    if (availableLocales.indexOf(lang) == -1) {    	continue;    }    var menuButton = new qx.ui.menu.RadioButton(locales[lang], null, locale == lang);    menuButton.setUserData("locale", lang);    lang_menu.add(menuButton);    radioManager.add(menuButton);  }  radioManager.addEventListener("changeSelected", function(e) {    var lang = e.getData().getUserData("locale");    this.debug("lang:" + lang);  qx.locale.Manager.getInstance().setLocale(lang);  });  lang_menu.addToDocument();  toolBar.add(new qx.ui.toolbar.MenuButton("", lang_menu, "icon/16/locale.png"));  var about_btn = new qx.ui.toolbar.Button(this.tr("Help"), "icon/16/help.png");  about_btn.setCommand(about_cmd);  about_btn.setToolTip(new qx.ui.popup.ToolTip("(" + about_cmd.toString() + ")"));  toolBar.add(about_btn);  dockLayout.addTop(toolBar);	// add tree  var tree = new qx.ui.tree.Tree(this.tr("News feeds"));  tree.set({height:"100%", width:"100%"});  tree.setOverflow("auto");  tree.setBorder(qx.renderer.border.BorderPresets.getInstance().inset);  tree.setBackgroundColor("#EEEEEE");  var feedDesc = feedreader.Application._feedDesc;  for (var i=0; i<feedDesc.length; i++) {    var folder = new qx.ui.tree.TreeFolder(feedDesc[i].name);    tree.getManager().addEventListener("changeSelection", function(e) {      this.displayFeed(e.getData()[0].getLabel());    }, this);    tree.add(folder);  }	// create table model  this._tableModel = new qx.ui.table.SimpleTableModel();  this._tableModel.setColumnIds(["title", "author", "date"]);  this._tableModel.setColumnNamesById({    title: this.tr("Subject"),    author: this.tr("Sender"),    date: this.tr("Date")  });	// add table  var table = new qx.ui.table.Table(this._tableModel);  table.setBorder(qx.renderer.border.BorderPresets.getInstance().inset);  table.set({height:"100%", width:"100%"});  table.setStatusBarVisible(false);  table.getTableColumnModel().setColumnWidth(0, 350);  table.getTableColumnModel().setColumnWidth(1, 200);  table.getTableColumnModel().setColumnWidth(2, 200);  table.getSelectionModel().addEventListener("changeSelection", function(e) {    var selectedEntry = table.getSelectionModel().getAnchorSelectionIndex();    var item = this.getFeeds()[this.getSelectedFeed()][selectedEntry];    this.displayArticle(item);  }, this);	// add blog entry  this._blogEntry = new feedreader.ArticleView();  this._blogEntry.set({height:"100%", width:"100%"});  this._blogEntry.setBorder(qx.renderer.border.BorderPresets.getInstance().inset);	// create splitpane for the right hand content area  var contentSplitPane = new qx.ui.splitpane.VerticalSplitPane("1*", "2*");	contentSplitPane.set({height:"100%", width:"100%"});  contentSplitPane.setLiveResize(true);  contentSplitPane.addTop(table);  contentSplitPane.addBottom(this._blogEntry);    	// create vertival splitter  var mainSplitPane = new qx.ui.splitpane.HorizontalSplitPane(200, "1*");  mainSplitPane.setLiveResize(true);  mainSplitPane.addLeft(tree);  mainSplitPane.addRight(contentSplitPane);  	dockLayout.add(mainSplitPane);	  dockLayout.addToDocument();	// load and display feed data  this.displayFeed(feedreader.Application._feedDesc[0].name);  this.fetchFeeds();};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/d3ad6921c32e23e568882dde375b38ce7a164aa0/Application.js/buggy/qooxdoo/frontend/application/feedreader/source/class/feedreader/Application.js