Examples of tr()


Examples of de.willuhn.util.I18N.tr()

    else if (iv > 1 && ze == Turnus.ZEITEINHEIT_WOECHENTLICH)
      s = i18n.tr("Alle {0} Wochen","" + iv);

    // Standardfaelle
    if (iv == 3 && ze == Turnus.ZEITEINHEIT_MONATLICH)
      s = i18n.tr("Viertelj�hrlich");
    if (iv == 6 && ze == Turnus.ZEITEINHEIT_MONATLICH)
      s = i18n.tr("Halbj�hrlich");
    if (iv == 12 && ze == Turnus.ZEITEINHEIT_MONATLICH)
      s = i18n.tr("J�hrlich");
View Full Code Here

Examples of de.willuhn.util.I18N.tr()

    // Standardfaelle
    if (iv == 3 && ze == Turnus.ZEITEINHEIT_MONATLICH)
      s = i18n.tr("Viertelj�hrlich");
    if (iv == 6 && ze == Turnus.ZEITEINHEIT_MONATLICH)
      s = i18n.tr("Halbj�hrlich");
    if (iv == 12 && ze == Turnus.ZEITEINHEIT_MONATLICH)
      s = i18n.tr("J�hrlich");


    // Zahltag anhaengen
View Full Code Here

Examples of de.willuhn.util.I18N.tr()

    if (iv == 3 && ze == Turnus.ZEITEINHEIT_MONATLICH)
      s = i18n.tr("Viertelj�hrlich");
    if (iv == 6 && ze == Turnus.ZEITEINHEIT_MONATLICH)
      s = i18n.tr("Halbj�hrlich");
    if (iv == 12 && ze == Turnus.ZEITEINHEIT_MONATLICH)
      s = i18n.tr("J�hrlich");


    // Zahltag anhaengen
    if (ze == Turnus.ZEITEINHEIT_WOECHENTLICH)
      s+= ", " + getWochentag(ta);
View Full Code Here

Examples of de.willuhn.util.I18N.tr()

      s+= ", " + getWochentag(ta);
    else if (ze == Turnus.ZEITEINHEIT_MONATLICH)
    {
      // BUGZILLA #49 http://www.willuhn.de/bugzilla/show_bug.cgi?id=49
      if (ta == HBCIProperties.HBCI_LAST_OF_MONTH)
        s+= ", " + i18n.tr("zum Monatsletzten");
      else
        s+= ", " + i18n.tr("am {0}. des Monats","" + ta);
    }

    return s;
View Full Code Here

Examples of de.willuhn.util.I18N.tr()

    {
      // BUGZILLA #49 http://www.willuhn.de/bugzilla/show_bug.cgi?id=49
      if (ta == HBCIProperties.HBCI_LAST_OF_MONTH)
        s+= ", " + i18n.tr("zum Monatsletzten");
      else
        s+= ", " + i18n.tr("am {0}. des Monats","" + ta);
    }

    return s;
  }
}
View Full Code Here

Examples of de.willuhn.util.I18N.tr()

  public void handleAction(Object context) throws ApplicationException
  {
    I18N i18n = Application.getPluginLoader().getPlugin(HBCI.class).getResources().getI18N();

    if (context == null)
      throw new ApplicationException(i18n.tr("Keine System-Nachricht ausgew�hlt"));

    if (!(context instanceof Nachricht) && !(context instanceof Nachricht[]))
      throw new ApplicationException(i18n.tr("Keine System-Nachricht ausgew�hlt"));

    boolean array = (context instanceof Nachricht[]);
View Full Code Here

Examples of de.willuhn.util.I18N.tr()

    if (context == null)
      throw new ApplicationException(i18n.tr("Keine System-Nachricht ausgew�hlt"));

    if (!(context instanceof Nachricht) && !(context instanceof Nachricht[]))
      throw new ApplicationException(i18n.tr("Keine System-Nachricht ausgew�hlt"));

    boolean array = (context instanceof Nachricht[]);

    Nachricht[] list = null;
    if (array)
View Full Code Here

Examples of de.willuhn.util.I18N.tr()

        // ok, wir loeschen das Objekt
        list[i].setGelesen(true);
        list[i].store();
      }
      if (array)
        GUI.getStatusBar().setSuccessText(i18n.tr("{0} System-Nachrichten als gelesen markiert.",""+list.length));
      else
        GUI.getStatusBar().setSuccessText(i18n.tr("System-Nachricht als gelesen markiert."));

      // Reload view
      GUI.startView(GUI.getCurrentView().getClass(),null);
View Full Code Here

Examples of de.willuhn.util.I18N.tr()

        list[i].store();
      }
      if (array)
        GUI.getStatusBar().setSuccessText(i18n.tr("{0} System-Nachrichten als gelesen markiert.",""+list.length));
      else
        GUI.getStatusBar().setSuccessText(i18n.tr("System-Nachricht als gelesen markiert."));

      // Reload view
      GUI.startView(GUI.getCurrentView().getClass(),null);
    }
    catch (RemoteException e)
View Full Code Here

Examples of de.willuhn.util.I18N.tr()

      // Reload view
      GUI.startView(GUI.getCurrentView().getClass(),null);
    }
    catch (RemoteException e)
    {
      GUI.getStatusBar().setErrorText(i18n.tr("Fehler beim Markieren der System-Nachrichten als gelesen."));
      Logger.error("unable to mark system message read",e);
    }
  }

}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.