Skip to content

Commit

Permalink
Support for Opencart 2
Browse files Browse the repository at this point in the history
  • Loading branch information
mollierobbert committed Nov 14, 2014
1 parent 4c7b0f9 commit 01bdcf2
Show file tree
Hide file tree
Showing 12 changed files with 924 additions and 402 deletions.
256 changes: 181 additions & 75 deletions admin/controller/payment/mollie_ideal.php

Large diffs are not rendered by default.

44 changes: 28 additions & 16 deletions admin/language/dutch/payment/mollie_ideal.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,34 +32,46 @@
*/

// Heading
$_['heading_title'] = 'Mollie (iDEAL, Mister Cash, Creditcard, PayPal & paysafecard)';
$_['footer_text'] = 'Betaaldiensten';
$_['heading_title'] = "Mollie (iDEAL, Mister Cash, Creditcard, PayPal & paysafecard)";
$_['title_payment_status'] = "Betaalstatussen";
$_['title_mod_about'] = "Over Deze Module";
$_['footer_text'] = "Betaaldiensten";

// Text
$_['text_edit'] = "Bewerk Mollie";
$_['text_payment'] = "Betaling";
$_['text_success'] = "Gelukt: de instellingen voor de module zijn aangepast!";
$_['text_mollie_ideal'] = '<a href="https://www.mollie.nl" target="_blank"><img src="https://www.mollie.nl/images/logo.png" alt="Mollie" title="Mollie" style="border:0px" /></a>';

// Entry
$_['entry_status'] = "Status: <br/><span class='help'>Activate the module</span>";
$_['entry_api_key'] = "API key: <br/><span class='help'>Voer hier de <code>api_key</code> van het websiteprofiel in dat u wilt gebruiken. De api_key begint met <code>test_</code> or <code>live_</code>. <br>[<a href='https://www.mollie.nl/beheer/account/profielen/' target='_blank'>bekijk uw websiteprofielen</a>]</span>";
$_['entry_description'] = "Omschrijving: <br/><span class='help'>De omschrijving zal op het bankafschrift van uw klant verschijnen en kunt u terugvinden in het Mollie beheer. U kunt maximaal 29 tekens gebruikt. TIP: Gebruik <code>%'</code>, dit zal vervangen worden door het ordernummer. Het ordernummer kan zelf ook meerdere tekens lang zijn!</span>";
$_['entry_sort_order'] = "Sorteervolgorde:";
$_['entry_status'] = "Status";
$_['entry_api_key'] = "API-sleutel";
$_['entry_description'] = "Omschrijving";
$_['entry_sort_order'] = "Sorteervolgorde";

// Help
$_['help_view_profile'] = 'U kunt uw API-sleutel vinden bij <a href="https://www.mollie.nl/beheer/account/profielen/" target="_blank" class="alert-link">uw Mollie-websiteprofielen</a>.';
$_['help_status'] = "Activeer de module";
$_['help_api_key'] = "Voer hier de <code>api_key</code> van het websiteprofiel in dat u wilt gebruiken. De API-sleutel begint met <code>test_</code> of <code>live_</code>.";
$_['help_description'] = "De omschrijving zal op het bankafschrift van uw klant verschijnen en kunt u terugvinden in het Mollie beheer. U kunt maximaal 29 tekens gebruiken. TIP: Gebruik <code>%</code>, dit zal vervangen worden door het ordernummer. Het ordernummer kan zelf ook meerdere tekens lang zijn!";

// Info
$_['entry_module'] = "Module:";
$_['entry_status'] = "Module status:";
$_['entry_version'] = "<a href='https://github.com/mollie/OpenCart/releases' target='_blank'>MollieOpenCart</a>";
$_['entry_support'] = "Support:";
$_['entry_module'] = "Module";
$_['entry_mod_status'] = "Modulestatus";
$_['entry_comm_status'] = "Communicatiestatus";
$_['entry_support'] = "Support";

$_['entry_version'] = '<a href="https://github.com/mollie/OpenCart/releases" target="_blank">Mollie Opencart</a>';

// Error
$_['error_permission'] = "Waarschuwing: U heeft geen toestemming om de module aan te passen.";
$_['error_api_key'] = "Mollie API key is verplicht!";
$_['error_api_key'] = "Mollie API-sleutel is verplicht!";
$_['error_description'] = "De omschrijving is verplicht!";
$_['error_file_missing'] = "Bestand bestaat niet";

// Status
$_['entry_pending_status'] = 'Betaling aangemaakt status:';
$_['entry_failed_status'] = 'Betaling mislukt status:';
$_['entry_canceled_status'] = 'Betaling geannuleerd status:';
$_['entry_expired_status'] = 'Betaling verlopen status:';
$_['entry_processing_status']= 'Betaling succesvol status:';
$_['entry_pending_status'] = "Status betaling aangemaakt";
$_['entry_failed_status'] = "Status betaling mislukt";
$_['entry_canceled_status'] = "Status betaling geannuleerd";
$_['entry_expired_status'] = "Status betaling verlopen";
$_['entry_processing_status']= "Status betaling succesvol";
44 changes: 28 additions & 16 deletions admin/language/english/payment/mollie_ideal.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,34 +32,46 @@
*/

// Heading
$_['heading_title'] = 'Mollie (iDEAL, Mister Cash, Creditcard, PayPal & paysafecard)';
$_['footer_text'] = 'Payment services';
$_['heading_title'] = "Mollie (iDEAL, Mister Cash, Creditcard, PayPal & paysafecard)";
$_['title_payment_status'] = "Payment Statuses";
$_['title_mod_about'] = "About This Module";
$_['footer_text'] = "Payment services";

// Text
// Text
$_['text_edit'] = "Edit Mollie";
$_['text_payment'] = "Payment";
$_['text_success'] = "Success: You have successfully modified your Mollie settings!";
$_['text_mollie_ideal'] = '<a href="https://www.mollie.nl" target="_blank"><img src="https://www.mollie.nl/images/logo.png" alt="Mollie" title="Mollie" style="border:0px" /></a>';

// Entry
$_['entry_status'] = "Status: <br/><span class='help'>Activate the module</span>";
$_['entry_api_key'] = "API key: <br/><span class='help'>Enter here the <code>api_key</code> of the website profile you want to use. The api_key starts with <code>test_</code> or <code>live_</code>. <br>[<a href='https://www.mollie.nl/beheer/account/profielen/' target='_blank'>view available profiles</a>]</span>";
$_['entry_description'] = "Description: <br/><span class='help'>This description will appear on the bank / card statement of your customer. You may use a maximum of 29 characters. TIP: Use '%', this will be replaced by the order id of the payment. Don't forget % can be multiple characters long!</span>";
$_['entry_sort_order'] = "Sort Order:";
$_['entry_status'] = "Status";
$_['entry_api_key'] = "API key";
$_['entry_description'] = "Description";
$_['entry_sort_order'] = "Sort order";

// Help
$_['help_view_profile'] = 'You can find your API key in <a href="https://www.mollie.nl/beheer/account/profielen/" target="_blank" class="alert-link">your Mollie website profiles</a>.';
$_['help_status'] = "Activate the module";
$_['help_api_key'] = 'Enter the <code>api_key</code> of the website profile you want to use. The API key starts with <code>test_</code> or <code>live_</code>.';
$_['help_description'] = 'This description will appear on the bank / card statement of your customer. You may use a maximum of 29 characters. TIP: Use <code>%</code>, this will be replaced by the order id of the payment. Don\'t forget <code>%</code> can be multiple characters long!';

// Info
$_['entry_module'] = "Module:";
$_['entry_status'] = "Module Status:";
$_['entry_version'] = "<a href='https://github.com/mollie/OpenCart/releases' target='_blank'>MollieOpenCart</a>";
$_['entry_support'] = "Support:";
$_['entry_module'] = "Module";
$_['entry_mod_status'] = "Module status";
$_['entry_comm_status'] = "Communication status";
$_['entry_support'] = "Support";

$_['entry_version'] = '<a href="https://github.com/mollie/OpenCart/releases" target="_blank">Mollie Opencart</a>';

// Error
$_['error_permission'] = "Warning: You don't have permission to modify the Mollie payment methods.";
$_['error_api_key'] = "Mollie API key is required!";
$_['error_description'] = "Description is required!";
$_['error_file_missing'] = "File does not exist";

// Status
$_['entry_pending_status'] = 'Payment created status:';
$_['entry_failed_status'] = 'Payment failed status:';
$_['entry_canceled_status'] = 'Payment canceled status:';
$_['entry_expired_status'] = 'Payment expired status:';
$_['entry_processing_status'] = 'Payment successful status:';
$_['entry_pending_status'] = "Payment created status";
$_['entry_failed_status'] = "Payment failed status";
$_['entry_canceled_status'] = "Payment canceled status";
$_['entry_expired_status'] = "Payment expired status";
$_['entry_processing_status'] = "Payment successful status";
43 changes: 28 additions & 15 deletions admin/language/french/payment/mollie_ideal.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,34 +32,47 @@
*/

// Heading
$_['heading_title'] = 'Mollie (iDEAL, Mister Cash, Creditcard, PayPal & paysafecard)';
$_['footer_text'] = 'Services paiement';
$_['heading_title'] = "Mollie (iDEAL, Mister Cash, Creditcard, PayPal & paysafecard)";
$_['title_payment_status'] = "États de Paiement";
$_['title_mod_about'] = "Sur Ce Module";
$_['footer_text'] = "Services paiement";

// Text
$_['text_edit'] = "Éditer Mollie";
$_['text_payment'] = "Paiement";
$_['text_success'] = "Succès: Vous avez réussi à modifier les paramètres Mollie!";
$_['text_view_profile'] = '<a href="https://www.mollie.nl/beheer/account/profielen/" target="_blank">Voir votre profiles disponibles</a>';
$_['text_mollie_ideal'] = '<a href="https://www.mollie.nl" target="_blank"><img src="https://www.mollie.nl/images/logo.png" alt="Mollie" title="Mollie" style="border:0px" /></a>';

// Entry
$_['entry_status'] = "État: <br/><span class='help'>Activer le module</span>";
$_['entry_api_key'] = "Clé API: <br/><span class='help'>Entrer ici le <code>api_key</code> du profil que vous souhaitez utiliser. Le clé API commence par <code>test_</code> ou <code>live_</code>. <br>[<a href='https://www.mollie.nl/beheer/account/profielen/' target='_blank'>voir les profiles disponibles</a>]</span>";
$_['entry_description'] = "Description: <br/><span class='help'>Cette description apparaîtra sur le relevé bancaire de votre client. Vous pouvez utiliser un maximum de 29 caractères. ASTUCE: Utilisez le '%', il sera remplacé par l'id de la commande du paiement. N'oubliez pas que % peut devenir plusieurs caractères!</span>";
$_['entry_sort_order'] = "Ordre de triage:";
$_['entry_status'] = "État";
$_['entry_api_key'] = "Clé API";
$_['entry_description'] = "Description";
$_['entry_sort_order'] = "Ordre de triage";

// Help
$_['help_view_profile'] = 'Vous pouvez trouver votre clé API dans <a href="https://www.mollie.nl/beheer/account/profielen/" target="_blank" class="alert-link">vos profils de site à Mollie</a>.';
$_['help_status'] = "Activer le module";
$_['help_api_key'] = 'Entrer ici le <code>api_key</code> du profil que vous souhaitez utiliser. Le cl&eacute; API commence par <code>test_</code> ou <code>live_</code>.';
$_['help_description'] = 'Cette description apparaîtra sur le relevé bancaire de votre client. Vous pouvez utiliser un maximum de 29 caractères. ASTUCE: Utilisez le <code>%</code>, il sera remplacé par l\'id de la commande du paiement. N\'oubliez pas que <code>%/code> peut devenir plusieurs caractères!';

// Info
$_['entry_module'] = "Module:";
$_['entry_status'] = "État du Module:";
$_['entry_version'] = "<a href='https://github.com/mollie/OpenCart/releases' target='_blank'>MollieOpenCart</a>";
$_['entry_support'] = "Assistance:";
$_['entry_module'] = "Module";
$_['entry_mod_status'] = "État du module";
$_['entry_comm_status'] = "État de la communication";
$_['entry_support'] = "Assistance";

$_['entry_version'] = '<a href="https://github.com/mollie/OpenCart/releases" target="_blank">MollieOpenCart</a>';

// Error
$_['error_permission'] = "Attention: Vous n'avez pas l'autorisation de modifier les méthodes de paiement Mollie.";
$_['error_api_key'] = "La clé API est nécessaire!";
$_['error_description'] = "Description est nécessaire!";
$_['error_file_missing'] = "Fichier ne existe pas";

// Status
$_['entry_failed_status'] = 'État echoué:';
$_['entry_canceled_status'] = 'État annulé:';
$_['entry_expired_status'] = 'État expiré:';
$_['entry_pending_status'] = 'État attente:';
$_['entry_processing_status'] = 'État traitement:';
$_['entry_pending_status'] = "État de paiement attente";
$_['entry_failed_status'] = "État de paiement échoué";
$_['entry_canceled_status'] = "État de paiement annulé";
$_['entry_expired_status'] = "État de paiement expiré";
$_['entry_processing_status'] = "État de paiement traitement";
Loading

0 comments on commit 01bdcf2

Please sign in to comment.