Skip to content

Commit

Permalink
[#47] reworked l10n
Browse files Browse the repository at this point in the history
  • Loading branch information
bjendres committed Feb 15, 2021
2 parents 9731819 + 2db152e commit 8c2a386
Show file tree
Hide file tree
Showing 8 changed files with 390 additions and 156 deletions.
4 changes: 4 additions & 0 deletions CRM/Bic/Page/BicList.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
<?php

require_once 'CRM/Core/Page.php';
use CRM_Bic_ExtensionUtil as E;

class CRM_Bic_Page_BicList extends CRM_Core_Page {
function run() {
// Prepares variables for being sent to Smarty

CRM_Utils_System::setTitle(E::ts('Find Banks'));


//Only show countries with attached information
$countries = null;
$stats = civicrm_api3('Bic', 'stats');
Expand Down
3 changes: 3 additions & 0 deletions CRM/Bic/Page/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@
+--------------------------------------------------------*/

require_once 'CRM/Core/Page.php';
use CRM_Bic_ExtensionUtil as E;

class CRM_Bic_Page_Config extends CRM_Core_Page {
function run() {

CRM_Utils_System::setTitle(E::ts('Available Banks'));

$countries = CRM_Bic_Parser_Parser::getParserList();
$stats = civicrm_api3('Bic', 'stats');
$total_count = 0;
Expand Down
Binary file not shown.
273 changes: 273 additions & 0 deletions l10n/de_DE/LC_MESSAGES/bic.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,273 @@
msgid ""
msgstr ""
"Project-Id-Version: Little BIC Extension\n"
"POT-Creation-Date: 2021-02-12 13:18+0100\n"
"PO-Revision-Date: \n"
"Last-Translator: Bjoern Endres <[email protected]>\n"
"Language-Team: Project60 <[email protected]>\n"
"Language: de_DE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.0.6\n"

#: CRM/Bic/Page/BicList.php bic.php
msgid "Find Banks"
msgstr "Bank finden"

#: CRM/Bic/Page/Config.php
msgid "Available Banks"
msgstr ""

#: CRM/Bic/Parser/AT.php
msgid "Couldn't download basic page"
msgstr "Datenquelle kann nicht geladen werden"

#: CRM/Bic/Parser/AT.php
#, fuzzy
#| msgid "Couldn't download data file"
msgid "Couldn't unzip file"
msgstr "Datenquelle kann nicht heruntergeladen werden"

#: CRM/Bic/Parser/AT.php
msgid "Empty zipfile retrieved."
msgstr ""

#: CRM/Bic/Parser/BE.php CRM/Bic/Parser/DE.php CRM/Bic/Parser/LU.php
#: CRM/Bic/Parser/NL.php
msgid "Couldn't download data file"
msgstr "Datenquelle kann nicht heruntergeladen werden"

#: CRM/Bic/Parser/CH.php
#, fuzzy
#| msgid "Couldn't download data file"
msgid "Couldn't download data set"
msgstr "Datenquelle kann nicht heruntergeladen werden"

#: CRM/Bic/Parser/ES.php
msgid "Couldn't download the Spanish list of banks"
msgstr "Die Liste der spanischen Banken konnte nicht heruntergeladen werden"

#: CRM/Bic/Parser/ES.php
msgid "The Spanish source file doesn't contain BICs"
msgstr "Die Liste der spanischen Banken enthält keine BICs"

#: CRM/Bic/Parser/PL.php
#, fuzzy
#| msgid "Couldn't download data file"
msgid "Couldn't download CSV file"
msgstr "Datenquelle kann nicht heruntergeladen werden"

#: CRM/Bic/Parser/PL.php
msgid "Couldn't find any bank information in the data source"
msgstr "Datenquelle enthält keine Bankdaten"

#: CRM/Bic/Parser/Parser.php
msgid ""
"<p>An error occurred while updating the bank information:<pre>%1</pre></p>"
msgstr ""
"<p>Es gab einen Fehler beim Aktualisieren der Bankdaten:<pre>%1</pre></p>"

#: CRM/Bic/Parser/Parser.php
msgid ""
"<p>Please make sure your server is connected to the internet and try again.</"
"p>"
msgstr ""
"<p>Bitte stellen Sie sicher, dass der Server mit dem Internet verbunden ist "
"und versuchen Sie das Update erneut.</p>"

#: CRM/Bic/Parser/Parser.php
msgid ""
"<p>If the problem persists, the source file (provided by the bank) might "
"have been changed. In this case the 'Little BIC Extension' needs to be "
"updated. Please check <a href=\"https://github.com/Project60/org.project60."
"bic/releases\">here</a> for a newer release.</p>"
msgstr ""
"<p>Falls das Problem weiterhin besteht, ist es möglich dass die Datenquelle "
"(die von den Banken bereitgestellt wird) geändert wurde. In diesem Fall muss "
"die 'Little BIC Extension' aktualisiert werden. Bitte prüfen Sie <a href="
"\"https://github.com/Project60/org.project60.bic/releases\">hier</a>, ob "
"eine neue Version verfügbar ist.</p>"

#: CRM/Bic/Parser/Parser.php
msgid ""
"<p>If you are already running the newest version, feel free to contact us "
"via <a href=\"mailto:[email protected]\">email</a> or on <a href=\"https://"
"github.com/Project60/org.project60.bic/issues/new\">GitHub</a>. The sooner "
"we know about this problem, the sooner it'll be fixed.</p>"
msgstr ""
"<p>Falls Sie bereits die neueste Version verwenden, würden wir uns über eine "
"Nachricht via <a href=\"mailto:[email protected]\">email</a>oder <a href="
"\"https://github.com/Project60/org.project60.bic/issues/new\">GitHub</a> "
"freuen. Je eher wir von dem Problem erfahren, desto schneller kann es "
"behoben werden.</p>"

#: CRM/Bic/Upgrader/Base.php
msgid "Upgrade %1 to revision %2"
msgstr ""

#: CRM/Bic/Upgrader.php
msgid "List of banks"
msgstr "Bankenliste"

#: Civi/Bic/ActionProvider/Action/LookupBic.php
msgid "No"
msgstr ""

#: Civi/Bic/ActionProvider/Action/LookupBic.php
msgid "Yes"
msgstr ""

#: Civi/Bic/ActionProvider/Action/LookupBic.php
msgid "Normalise IBAN"
msgstr ""

#: Civi/Bic/ActionProvider/Action/LookupBic.php
#: templates/CRM/Bic/Page/BicList.tpl
msgid "IBAN"
msgstr ""

#: Civi/Bic/ActionProvider/Action/LookupBic.php
msgid "BIC (pass-trough if not found)"
msgstr ""

#: Civi/Bic/ActionProvider/Action/LookupBic.php
#: Civi/Bic/ActionProvider/Action/VerifyBic.php
#: templates/CRM/Bic/Page/BicList.tpl
msgid "BIC"
msgstr ""

#: Civi/Bic/ActionProvider/Action/LookupBic.php
#: Civi/Bic/ActionProvider/Action/VerifyBic.php
msgid "Error"
msgstr ""

#: Civi/Bic/ActionProvider/Action/LookupBic.php
msgid "BIC not found/verified"
msgstr ""

#: Civi/Bic/ActionProvider/Action/VerifyBic.php
msgid "leave as is"
msgstr ""

#: Civi/Bic/ActionProvider/Action/VerifyBic.php
msgid "normalise to upper case, no spaces"
msgstr ""

#: Civi/Bic/ActionProvider/Action/VerifyBic.php
msgid "pass through as is"
msgstr ""

#: Civi/Bic/ActionProvider/Action/VerifyBic.php
msgid "set to empty"
msgstr ""

#: Civi/Bic/ActionProvider/Action/VerifyBic.php
msgid "Normalisation"
msgstr ""

#: Civi/Bic/ActionProvider/Action/VerifyBic.php
msgid "If BIC invalid"
msgstr ""

#: Civi/Bic/ActionProvider/Action/VerifyBic.php
msgid "BIC (to check)"
msgstr ""

#: Civi/Bic/ActionProvider/Action/VerifyBic.php
msgid "BIC '%1' invalid"
msgstr ""

#: Civi/Bic/ContainerSpecs.php
msgid "Look up BIC for IBAN"
msgstr ""

#: Civi/Bic/ContainerSpecs.php
msgid "Verify BIC"
msgstr ""

#: templates/CRM/Bic/Page/BicList.tpl
msgid ""
"This page allows you to find banks and additional information. If you can't "
"find the bank you're looking for, you may want to <a href='bicImport'>update "
"your bank list</a>."
msgstr ""
"Diese Seite ermöglicht die Suche nach Banken und Zusatzinformationen. Falls "
"Sie die gesuchte Bank hier nicht finden, sollten Sie <a href='bicImport'>die "
"Liste aktualisieren</a>. "

#: templates/CRM/Bic/Page/BicList.tpl
msgid "Find Bank by IBAN"
msgstr "Bank mittels IBAN Suchen"

#: templates/CRM/Bic/Page/BicList.tpl
msgid "Name"
msgstr ""

#: templates/CRM/Bic/Page/BicList.tpl
msgid "Description"
msgstr "Beschreibung"

#: templates/CRM/Bic/Page/BicList.tpl templates/CRM/Bic/Page/Config.tpl
msgid "Country"
msgstr ""

#: templates/CRM/Bic/Page/BicList.tpl
msgid "National Bank ID"
msgstr "Nationale Bankleitzahl"

#: templates/CRM/Bic/Page/BicList.tpl
msgid "Find Bank by National ID"
msgstr "Bank mittels BLZ Suchen"

#: templates/CRM/Bic/Page/Config.tpl
msgid ""
"\n"
" If you click the Update button, next to the name of one of the listed "
"countries,\n"
" CiviCRM will try to connect to the official source of financial "
"institutions\n"
" in this country and retrieve its bank information. Then, you'll be able "
"to\n"
" query this information in the <a href=\"bicList\">Banks List</a> page.\n"
msgstr ""
"\n"
" Wenn Sie den Update Button neben den entsprechenden Ländern drücken,\n"
" wird das System versuchen die entsprechenden Informationen von der\n"
" jeweiligen Nationalbank herunterzuladen. Auf diese Liste können Sie\n"
" dann über die <a href=\"bicList\">Bankensuche</a> zugreifen.\n"

#: templates/CRM/Bic/Page/Config.tpl
msgid "Count"
msgstr "Anzahl"

#: templates/CRM/Bic/Page/Config.tpl
msgid "Actions"
msgstr "Aktionen"

#: templates/CRM/Bic/Page/Config.tpl
msgid "Update"
msgstr "Aktualisieren"

#: templates/CRM/Bic/Page/Config.tpl
msgid "Total"
msgstr "Gesamtzahl"

#: templates/CRM/Bic/Page/Config.tpl
msgid "Update All"
msgstr "Alle Aktualisieren"

#: templates/CRM/Bic/Page/Config.tpl
msgid "Update Problem"
msgstr "Update Problem"

#: templates/CRM/Bic/Page/Config.tpl
msgid ""
"The update timed out, but maybe it was partially succesful. You might want "
"to try again."
msgstr ""
"Das Update wurde wegen Zeitüberschreitung abgebrochen. Es macht allerdings "
"Sinn, es einfach noch einmal zu versuchen."

#~ msgid "The information source at www.bundesbank.de has changed"
#~ msgstr "Das Datenformat unter www.bundesbank.de wurde geändert."
Loading

0 comments on commit 8c2a386

Please sign in to comment.