Package freenet.l10n

Examples of freenet.l10n.PluginL10n


      for(PluginInfoWrapper pluginInfo : this.core.node.pluginManager.getPlugins()) {
        if(translateFor.equals(pluginInfo.getPluginClassName()) && pluginInfo.isBaseL10nPlugin()) {
          FredPluginBaseL10n plugin = (FredPluginBaseL10n) pluginInfo.getPlugin();
          this.translatingFor = translateFor;
          this.base = new PluginL10n(plugin).getBase();
        }
      }

      if(translateFor.equals("Node")) {
        this.translatingFor = "Node";
View Full Code Here


  /**
   * {@inheritDoc}
   */
  @Override
  public void setLanguage(LANGUAGE newLanguage) {
    l10n = new PluginL10n(this, newLanguage);
  }
View Full Code Here

     * This code is only called during startup or when the user
     * selects another language in the UI.
     * @param newLanguage Language to use.
     */
    public void setLanguage(final BaseL10n.LANGUAGE newLanguage) {
        Freetalk.l10n = new PluginL10n(this, newLanguage);
        if(logDEBUG) Logger.debug(this, "Set LANGUAGE to: " + newLanguage.isoCode);
    }
View Full Code Here

TOP

Related Classes of freenet.l10n.PluginL10n

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.