Skip to content

Commit

Permalink
updated l10n
Browse files Browse the repository at this point in the history
  • Loading branch information
bjendres committed May 10, 2015
1 parent d8d3b02 commit 788acfc
Show file tree
Hide file tree
Showing 7 changed files with 277 additions and 108 deletions.
8 changes: 4 additions & 4 deletions extension/CRM/Banking/Page/AccountDedupe.php
Original file line number Diff line number Diff line change
Expand Up @@ -262,10 +262,10 @@ function executeRequests($duplicates) {

if ($errors_ecountered) {
CRM_Core_Session::setStatus(ts("%1 errors were encountered when trying to merge duplicate bank accounts, %2/%3 bank accounts were successfully merged.",
array($errors_ecountered, $accounts_fixed, ($errors_ecountered+$accounts_fixed))), ts('Errors encountered'), 'warn');
array(1 => $errors_ecountered, 2 => $accounts_fixed, 3 => ($errors_ecountered+$accounts_fixed))), ts('Errors encountered'), 'warn');
$errors_ecountered = 0;
} else {
CRM_Core_Session::setStatus(ts("%1 duplicate bank accounts successfully merged.", $accounts_fixed), ts('Success'), 'info');
CRM_Core_Session::setStatus(ts("%1 duplicate bank accounts successfully merged.", array(1 => $accounts_fixed)), ts('Success'), 'info');
}
}

Expand Down Expand Up @@ -312,10 +312,10 @@ function executeRequests($duplicates) {

if ($errors_ecountered) {
CRM_Core_Session::setStatus(ts("%1 errors were encountered when trying to delete duplicate references. %2/%3 references were successfully deleted.",
array($errors_ecountered, $refs_fixed, ($errors_ecountered+$refs_fixed))), ts('Errors encountered'), 'warn');
array(1 => $errors_ecountered, 2 => $refs_fixed, 3 => ($errors_ecountered+$refs_fixed))), ts('Errors encountered'), 'warn');
$errors_ecountered = 0;
} else {
CRM_Core_Session::setStatus(ts("%1 duplicate references successfully deleted.", $refs_fixed), ts('Success'), 'info');
CRM_Core_Session::setStatus(ts("%1 duplicate references successfully deleted.", array(1=>$refs_fixed)), ts('Success'), 'info');
}
}

Expand Down
2 changes: 1 addition & 1 deletion extension/CRM/Banking/Page/Review.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ function run() {
// Set the page-title dynamically
if (count($list) > 1) {
CRM_Utils_System::setTitle(ts("Review Bank Transaction %1 of %2 (%3 unprocessed ahead)",
array($index+1, count($list), $unprocessed_count)));
array(1=>$index+1, 2=>count($list), 3=>$unprocessed_count)));
} else {
CRM_Utils_System::setTitle(ts("Review Bank Transaction"));
}
Expand Down
2 changes: 1 addition & 1 deletion extension/CRM/Banking/PluginModel/Matcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ function storeAccountWithContact($btx, $contact_id) {
'ba_id' => $contact_bank_account_id);
$result = civicrm_api('BankingAccountReference', 'create', $query);
if (!empty($result['is_error'])) {
CRM_Core_Session::setStatus(ts("Couldn't create reference. Error was: ".$result['error_message']), ts('Error'), 'alert');
CRM_Core_Session::setStatus(ts("Couldn't create reference. Error was: '%1'", array(1=>$result['error_message'])), ts('Error'), 'alert');
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion extension/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<email>endres@systopia.de</email>
</maintainer>
<releaseDate></releaseDate>
<version>0.5dev-505</version>
<version>0.5dev-510</version>
<develStage>developing</develStage>
<compatibility>
<ver>4.4</ver>
Expand Down
185 changes: 132 additions & 53 deletions l10n/CiviBanking.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: CiviBanking\n"
"POT-Creation-Date: 2015-05-05 22:46+0200\n"
"POT-Creation-Date: 2015-05-10 19:37+0200\n"
"Language-Team: CiviCRM Translators <civicrm-translators@lists.civicrm.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -235,15 +235,35 @@ msgstr ""
msgid "Dedupe Bank Accounts"
msgstr ""

#: extension/CRM/Banking/Page/AccountDedupe.php
msgid ""
"%1 errors were encountered when trying to merge duplicate bank accounts, %2/"
"%3 bank accounts were successfully merged."
msgstr ""

#: extension/CRM/Banking/Page/AccountDedupe.php
msgid "Errors encountered"
msgstr ""

#: extension/CRM/Banking/Page/AccountDedupe.php
msgid "%1 duplicate bank accounts successfully merged."
msgstr ""

#: extension/CRM/Banking/Page/AccountDedupe.php
#: extension/CRM/Banking/PluginImpl/Matcher/SepaMandate.php
msgid "Success"
msgstr ""

#: extension/CRM/Banking/Page/AccountDedupe.php
msgid ""
"%1 errors were encountered when trying to delete duplicate references. %2/%3 "
"references were successfully deleted."
msgstr ""

#: extension/CRM/Banking/Page/AccountDedupe.php
msgid "%1 duplicate references successfully deleted."
msgstr ""

#: extension/CRM/Banking/Page/AccountSearch.php extension/hooks.php
msgid "Find Accounts"
msgstr ""
Expand All @@ -259,6 +279,7 @@ msgstr ""
#: extension/CRM/Banking/Page/Dashboard.php
#: extension/CRM/Banking/Page/Payments.php
#: extension/CRM/Banking/PluginImpl/Matcher/ExistingContribution.php
#: extension/CRM/Banking/PluginImpl/Matcher/SepaMandate.php
msgid "Unknown"
msgstr ""

Expand Down Expand Up @@ -403,6 +424,10 @@ msgstr ""
msgid "This transaction was marked to be <b>ignored</b> on %s."
msgstr ""

#: extension/CRM/Banking/Page/Review.php
msgid "Review Bank Transaction %1 of %2 (%3 unprocessed ahead)"
msgstr ""

#: extension/CRM/Banking/Page/Review.php
msgid "Review Bank Transaction"
msgstr ""
Expand Down Expand Up @@ -544,6 +569,11 @@ msgid ""
"This transaction was associated with <a href=\"%s\">payment batch #%s</a>."
msgstr ""

#: extension/CRM/Banking/PluginImpl/Matcher/CreateContribution.php
#: extension/templates/CRM/Banking/PluginImpl/Matcher/CreateContribution.suggestion.tpl
msgid "Source"
msgstr ""

#: extension/CRM/Banking/PluginImpl/Matcher/CreateContribution.php
msgid "Create a new contribution"
msgstr ""
Expand Down Expand Up @@ -583,6 +613,7 @@ msgid "This transaction was manually matched to the following contributions:"
msgstr ""

#: extension/CRM/Banking/PluginImpl/Matcher/DefaultOptions.php
#: extension/templates/CRM/Banking/PluginImpl/Matcher/SepaMandate.activity.tpl
msgid "Contribution"
msgstr ""

Expand Down Expand Up @@ -666,6 +697,10 @@ msgstr ""
msgid "Unspecified SEPA cancellation"
msgstr ""

#: extension/CRM/Banking/PluginImpl/Matcher/SepaMandate.php
msgid "Follow-up SEPA Cancellation"
msgstr ""

#: extension/CRM/Banking/PluginImpl/Matcher/SepaMandate.php
msgid "Couldn't load SEPA mandate for reference %s"
msgstr ""
Expand Down Expand Up @@ -728,53 +763,10 @@ msgstr ""
msgid "Couldn't modify mandate."
msgstr ""

#: extension/CRM/Banking/PluginImpl/Matcher/SepaMandate.php
msgid "This transaction is a SEPA direct debit contribution by %s."
msgstr ""

#: extension/CRM/Banking/PluginImpl/Matcher/SepaMandate.php
msgid "The mandate reference is <a href=\"%s\" target=\"_blank\">%s</a>."
msgstr ""

#: extension/CRM/Banking/PluginImpl/Matcher/SepaMandate.php
msgid ""
"Contribution <a href=\"%s\" target=\"_blank\">[%s]</a> will be closed, as "
"will be the sepa transaction group if this is the last contribution."
msgstr ""

#: extension/CRM/Banking/PluginImpl/Matcher/SepaMandate.php
msgid ""
"Contribution <a href=\"%s\" target=\"_blank\">[%s]</a> will be cancelled."
msgstr ""

#: extension/CRM/Banking/PluginImpl/Matcher/SepaMandate.php
msgid ""
"The mandate, however, will <i>not</i> be cancelled, since this is not the "
"first of the recurring contributions."
msgstr ""

#: extension/CRM/Banking/PluginImpl/Matcher/SepaMandate.php
msgid "The mandate will also be cancelled, its status will change to INVALID."
msgstr ""

#: extension/CRM/Banking/PluginImpl/Matcher/SepaMandate.php
msgid "<b>Warning! There are some problems with this contribution:</b>"
msgstr ""

#: extension/CRM/Banking/PluginImpl/Matcher/SepaMandate.php
msgid "Internal error! Cannot find contribution #"
msgstr ""

#: extension/CRM/Banking/PluginImpl/Matcher/SepaMandate.php
msgid ""
"This SEPA transaction was associated with <a href=\"%s\">contribution #%s</"
"a>."
msgstr ""

#: extension/CRM/Banking/PluginImpl/Matcher/SepaMandate.php
msgid "This SEPA transaction cancelled <a href=\"%s\">contribution #%s</a>."
msgstr ""

#: extension/CRM/Banking/PluginModel/Importer.php
msgid "Adjusted ending balance from %s to %s!"
msgstr ""
Expand Down Expand Up @@ -823,6 +815,10 @@ msgstr ""
msgid "created by CiviBanking"
msgstr ""

#: extension/CRM/Banking/PluginModel/Matcher.php
msgid "Couldn't create reference. Error was: '%1'"
msgstr ""

#: extension/CRM/Banking/PluginModel/Matcher.php
msgid ""
"The account information of this contact was saved, but it is also used by "
Expand Down Expand Up @@ -881,9 +877,7 @@ msgid ""
msgstr ""

#: extension/templates/CRM/Banking/Page/AccountDedupe.tpl
#: extension/templates/CRM/Banking/Page/Review.tpl
#: extension/templates/CRM/Banking/PluginImpl/Matcher/DefaultOptions.suggestion.tpl
msgid "Contact"
msgid "Bank Account Owners"
msgstr ""

#: extension/templates/CRM/Banking/Page/AccountDedupe.tpl
Expand Down Expand Up @@ -931,10 +925,6 @@ msgid ""
"sorry."
msgstr ""

#: extension/templates/CRM/Banking/Page/AccountDedupe.tpl
msgid "Bank Account Owners"
msgstr ""

#: extension/templates/CRM/Banking/Page/AccountDedupe.tpl
msgid "No conflicting bank accounts found."
msgstr ""
Expand Down Expand Up @@ -1311,6 +1301,12 @@ msgstr ""
msgid "Owner"
msgstr ""

#: extension/templates/CRM/Banking/Page/Review.tpl
#: extension/templates/CRM/Banking/PluginImpl/Matcher/DefaultOptions.suggestion.tpl
#: extension/templates/CRM/Banking/PluginImpl/Matcher/SepaMandate.activity.tpl
msgid "Contact"
msgstr ""

#: extension/templates/CRM/Banking/Page/Review.tpl
msgid "Purpose"
msgstr ""
Expand Down Expand Up @@ -1373,11 +1369,13 @@ msgstr ""

#: extension/templates/CRM/Banking/PluginImpl/Matcher/CreateContribution.suggestion.tpl
#: extension/templates/CRM/Banking/PluginImpl/Matcher/ExistingContribution.suggestion.tpl
#: extension/templates/CRM/Banking/PluginImpl/Matcher/SepaMandate.suggestion.tpl
msgid "An error has occurred:"
msgstr ""

#: extension/templates/CRM/Banking/PluginImpl/Matcher/CreateContribution.suggestion.tpl
#: extension/templates/CRM/Banking/PluginImpl/Matcher/ExistingContribution.suggestion.tpl
#: extension/templates/CRM/Banking/PluginImpl/Matcher/SepaMandate.suggestion.tpl
msgid ""
"This suggestion is possibly outdated. Please try and analyse this "
"transaction again."
Expand All @@ -1399,6 +1397,10 @@ msgstr ""
msgid "Type"
msgstr ""

#: extension/templates/CRM/Banking/PluginImpl/Matcher/CreateContribution.suggestion.tpl
msgid "Campaign"
msgstr ""

#: extension/templates/CRM/Banking/PluginImpl/Matcher/DefaultOptions.suggestion.tpl
msgid ""
"Please manually process this transaction and <i>then</i> add the resulting "
Expand Down Expand Up @@ -1468,10 +1470,12 @@ msgid "This transaction cancelled <a href=\"%1\">contribution #%2</a>."
msgstr ""

#: extension/templates/CRM/Banking/PluginImpl/Matcher/ExistingContribution.execution.tpl
#: extension/templates/CRM/Banking/PluginImpl/Matcher/SepaMandate.execution.tpl
msgid "The recorded cancellation reason was: \"%1\"."
msgstr ""

#: extension/templates/CRM/Banking/PluginImpl/Matcher/ExistingContribution.execution.tpl
#: extension/templates/CRM/Banking/PluginImpl/Matcher/SepaMandate.execution.tpl
msgid "A cancellation fee of %1 was recorded."
msgstr ""

Expand All @@ -1494,10 +1498,12 @@ msgid "edit contribution"
msgstr ""

#: extension/templates/CRM/Banking/PluginImpl/Matcher/ExistingContribution.suggestion.tpl
#: extension/templates/CRM/Banking/PluginImpl/Matcher/SepaMandate.suggestion.tpl
msgid "Cancellation Reason"
msgstr ""

#: extension/templates/CRM/Banking/PluginImpl/Matcher/ExistingContribution.suggestion.tpl
#: extension/templates/CRM/Banking/PluginImpl/Matcher/SepaMandate.suggestion.tpl
msgid "Cancellation Fee"
msgstr ""

Expand Down Expand Up @@ -1577,6 +1583,79 @@ msgstr ""
msgid "Fee"
msgstr ""

#: extension/CRM/Banking/Page/Review.php
msgid "Review Bank Transaction %1 of %2 (%3 unprocessed ahead)"
#: extension/templates/CRM/Banking/PluginImpl/Matcher/SepaMandate.activity.tpl
msgid "SEPA %1 Cancellation Notification"
msgstr ""

#: extension/templates/CRM/Banking/PluginImpl/Matcher/SepaMandate.activity.tpl
msgid "Mandate"
msgstr ""

#: extension/templates/CRM/Banking/PluginImpl/Matcher/SepaMandate.activity.tpl
msgid "Cancellation"
msgstr ""

#: extension/templates/CRM/Banking/PluginImpl/Matcher/SepaMandate.activity.tpl
msgid "first time (in a row)"
msgstr ""

#: extension/templates/CRM/Banking/PluginImpl/Matcher/SepaMandate.activity.tpl
msgid "%1 times in a row!"
msgstr ""

#: extension/templates/CRM/Banking/PluginImpl/Matcher/SepaMandate.activity.tpl
msgid "Contact Address"
msgstr ""

#: extension/templates/CRM/Banking/PluginImpl/Matcher/SepaMandate.activity.tpl
msgid "unknown"
msgstr ""

#: extension/templates/CRM/Banking/PluginImpl/Matcher/SepaMandate.activity.tpl
msgid "Contact Phone Number"
msgstr ""

#: extension/templates/CRM/Banking/PluginImpl/Matcher/SepaMandate.activity.tpl
msgid "Contact Email"
msgstr ""

#: extension/templates/CRM/Banking/PluginImpl/Matcher/SepaMandate.execution.tpl
msgid "This SEPA transaction cancelled <a href=\"%1\">contribution #%2</a>."
msgstr ""

#: extension/templates/CRM/Banking/PluginImpl/Matcher/SepaMandate.execution.tpl
msgid ""
"This SEPA transaction was reconciled with <a href=\"%1\">contribution #%2</"
"a>."
msgstr ""

#: extension/templates/CRM/Banking/PluginImpl/Matcher/SepaMandate.suggestion.tpl
msgid "This transaction is a SEPA direct debit contribution by %1."
msgstr ""

#: extension/templates/CRM/Banking/PluginImpl/Matcher/SepaMandate.suggestion.tpl
msgid "The mandate reference is <a href=\"%1\" target=\"_blank\">%2</a>"
msgstr ""

#: extension/templates/CRM/Banking/PluginImpl/Matcher/SepaMandate.suggestion.tpl
msgid ""
"Contribution <a href=\"%1\" target=\"_blank\">[%2]</a> will be closed, as "
"will be the sepa transaction group if this is the last contribution."
msgstr ""

#: extension/templates/CRM/Banking/PluginImpl/Matcher/SepaMandate.suggestion.tpl
msgid ""
"Contribution <a href=\"%1\" target=\"_blank\">[%2]</a> will be cancelled."
msgstr ""

#: extension/templates/CRM/Banking/PluginImpl/Matcher/SepaMandate.suggestion.tpl
msgid "The mandate will also be cancelled, its status will change to INVALID."
msgstr ""

#: extension/templates/CRM/Banking/PluginImpl/Matcher/SepaMandate.suggestion.tpl
msgid "An activity will be created to trigger a manual follow-up."
msgstr ""

#: extension/templates/CRM/Banking/PluginImpl/Matcher/SepaMandate.suggestion.tpl
msgid "<b>Warning! There are some problems with this contribution:</b>"
msgstr ""
Binary file modified l10n/CiviBanking_de_DE.mo
Binary file not shown.
Loading

0 comments on commit 788acfc

Please sign in to comment.