Package de.willuhn.util

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


        return;
      }

      // ok, wir loeschen das Objekt
      k.delete();
      GUI.getStatusBar().setSuccessText(i18n.tr("Bankverbindung gel�scht."));
    }
    catch (RemoteException e)
    {
      GUI.getStatusBar().setErrorText(i18n.tr("Fehler beim L�schen der Bankverbindung."));
      Logger.error("unable to delete konto",e);
View Full Code Here


      k.delete();
      GUI.getStatusBar().setSuccessText(i18n.tr("Bankverbindung gel�scht."));
    }
    catch (RemoteException e)
    {
      GUI.getStatusBar().setErrorText(i18n.tr("Fehler beim L�schen der Bankverbindung."));
      Logger.error("unable to delete konto",e);
    }
  }

}
View Full Code Here

      throw ae;
    }
    catch (Exception e)
    {
      Logger.error("error while importing categories",e);
      GUI.getStatusBar().setErrorText(i18n.tr("Fehler beim Importieren der Umsatz-Kategorien"));
    }
  }

}
View Full Code Here

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

    if (context == null)
      throw new ApplicationException(i18n.tr("Bitte w�hlen Sie ein oder mehrere Auftr�ge aus"));

    if (!(context instanceof Transfer) &&
        !(context instanceof Transfer[]) &&
        !(context instanceof Address) &&
        !(context instanceof Address[]) &&
View Full Code Here

        !(context instanceof Transfer[]) &&
        !(context instanceof Address) &&
        !(context instanceof Address[]) &&
        !(context instanceof Umsatz) &&
        !(context instanceof Umsatz[]))
      throw new ApplicationException(i18n.tr("Bitte w�hlen Sie ein oder mehrere Auftr�ge aus"));

    List<HibiscusAddress> items = new ArrayList<HibiscusAddress>();
    try {

      ///////////////////////////////////////////////////////////////
View Full Code Here

      // Falls mehrere Eintraege markiert sind, kann es sein, dass einige
      // davon doppelt da sind, die fischen wir raus.
      HashMap seen = new HashMap();
      AddressbookService book = (AddressbookService) Application.getServiceFactory().lookup(HBCI.class,"addressbook");

      String q1 = i18n.tr("Eine Adresse mit dem Namen {0} (Kto. {1}, BLZ {2}) existiert bereits im Adressbuch.\n" +
                          "M�chten Sie die Adresse dennoch hinzuf�gen?");
      String q2 = i18n.tr("Eine Adresse mit dem Namen {0} (IBAN {1}) existiert bereits im Adressbuch.\n" +
                          "M�chten Sie die Adresse dennoch hinzuf�gen?");

      int count = 0;
View Full Code Here

      HashMap seen = new HashMap();
      AddressbookService book = (AddressbookService) Application.getServiceFactory().lookup(HBCI.class,"addressbook");

      String q1 = i18n.tr("Eine Adresse mit dem Namen {0} (Kto. {1}, BLZ {2}) existiert bereits im Adressbuch.\n" +
                          "M�chten Sie die Adresse dennoch hinzuf�gen?");
      String q2 = i18n.tr("Eine Adresse mit dem Namen {0} (IBAN {1}) existiert bereits im Adressbuch.\n" +
                          "M�chten Sie die Adresse dennoch hinzuf�gen?");

      int count = 0;
      for (int i=0;i<items.size();++i)
      {
View Full Code Here

        // OK, speichern
        e.store();
        count++;
      }
      if (count > 0)
        Application.getMessagingFactory().sendMessage(new StatusBarMessage(i18n.tr("Adresse{0} gespeichert",(count > 1 ? "n" : "")), StatusBarMessage.TYPE_SUCCESS));
    }
    catch (ApplicationException ae)
    {
      throw ae;
    }
View Full Code Here

      throw ae;
    }
    catch (Exception e)
    {
      Logger.error("error while storing empfaenger",e);
      GUI.getStatusBar().setErrorText(i18n.tr("Fehler beim Speichern des Empf�ngers"));
    }
  }

  /**
   * Erzeugt ein Adress-Objekt aus den uebergebenen Daten.
View Full Code Here

   */
  public void handleAction(Object context) throws ApplicationException
  {
    I18N i18n = Application.getPluginLoader().getPlugin(HBCI.class).getResources().getI18N();
    if (context == null || !(context instanceof Konto))
      throw new ApplicationException(i18n.tr("Bitte w�hlen Sie ein Konto aus."));

    Konto k = (Konto) context;
   
    try
    {
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.