Package de.willuhn.util

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("Bitte w�hlen Sie mindestens eine Umsatz-Kategorie aus"));

    if (!(context instanceof UmsatzTyp) &&
        !(UmsatzTyp[].class.isAssignableFrom(context.getClass())))
      throw new ApplicationException(i18n.tr("Bitte w�hlen Sie einen oder mehrere Umsatz-Kategorien aus"));
View Full Code Here


    if (context == null)
      throw new ApplicationException(i18n.tr("Bitte w�hlen Sie mindestens eine Umsatz-Kategorie aus"));

    if (!(context instanceof UmsatzTyp) &&
        !(UmsatzTyp[].class.isAssignableFrom(context.getClass())))
      throw new ApplicationException(i18n.tr("Bitte w�hlen Sie einen oder mehrere Umsatz-Kategorien aus"));

    Object[] u = null;
    try {

      if (context instanceof UmsatzTyp)
View Full Code Here

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

}
View Full Code Here

      throw ae;
    }
    catch (Exception e)
    {
      Logger.error("error while importing transfers",e);
      GUI.getStatusBar().setErrorText(i18n.tr("Fehler beim Importieren der SEPA-Sammel�berweisungen"));
    }
  }
}
View Full Code Here

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

}
View Full Code Here

    // "2" sind die ersten beiden Zeilen, die bei getWeitereVerwendungszwecke nicht mitgeliefert werden
    int allowed = VerwendungszweckUtil.getMaxUsageUeb(konto);
    if ((lines.length + 2) > allowed)
    {
      I18N i18n = Application.getPluginLoader().getPlugin(HBCI.class).getResources().getI18N();
      throw new ApplicationException(i18n.tr("Zuviele Verwendungszweck-Zeilen. Maximal erlaubt: {0}",String.valueOf(allowed)));
    }
  }
}
View Full Code Here

      Logger.error("error while reading status text",e2);
    }
   
    I18N i18n = Application.getPluginLoader().getPlugin(HBCI.class).getResources().getI18N();
    if (sr != null && sr.length() > 0)
      return i18n.tr("Fehlermeldung der Bank: {0}",sr);
    return i18n.tr("Unbekannter Fehler");
  }

  /**
   * Ueber diese Funktion koennen die konkreten Implementierungen
View Full Code Here

    }
   
    I18N i18n = Application.getPluginLoader().getPlugin(HBCI.class).getResources().getI18N();
    if (sr != null && sr.length() > 0)
      return i18n.tr("Fehlermeldung der Bank: {0}",sr);
    return i18n.tr("Unbekannter Fehler");
  }

  /**
   * Ueber diese Funktion koennen die konkreten Implementierungen
   * ihre zusaetzlichen Job-Parameter setzen.
View Full Code Here

   * @see de.willuhn.datasource.Service#getName()
   */
  public String getName() throws RemoteException
  {
    I18N i18n = Application.getPluginLoader().getPlugin(HBCI.class).getResources().getI18N();
    return i18n.tr("Datenbank-Service f�r Hibiscus");
  }

  /**
   * @see de.willuhn.datasource.db.DBServiceImpl#getAutoCommit()
   */
 
View Full Code Here

   */
  public void install() throws RemoteException
  {
    I18N i18n = Application.getPluginLoader().getPlugin(HBCI.class).getResources().getI18N();
    ProgressMonitor monitor = Application.getCallback().getStartupMonitor();
    monitor.setStatusText(i18n.tr("Installiere Hibiscus"));
    this.driver.install();
   
    Manifest mf = Application.getPluginLoader().getPlugin(HBCI.class).getManifest();
    File file = new File(mf.getPluginDir() + File.separator + "sql","create.sql");
    this.driver.execute(getConnection(),file);
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.