From 4428f6714bbd7789aa29b669bd7de3580ab266ef Mon Sep 17 00:00:00 2001 From: Caroline Cyr La Rose Date: Wed, 9 Oct 2019 15:34:24 -0400 Subject: [PATCH] Bug 23790: fr-CA translation of ACCOUNT_DEBIT and ACCOUNT_CREDIT notices This patch provides the fr-CA translation of the ACCOUNT_DEBIT and ACCOUNT_CREDIT notices. Signed-off-by: Bernardo Gonzalez Kriegel Tested deleting from letter table, then loading the file. File loads without problem, no errors. Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize Signed-off-by: Joy Nelson (cherry picked from commit 1d49b0c839576d7f86a54b6f338edd85a53b11fd) Signed-off-by: Lucas Gass --- .../fr-CA/obligatoire/sample_notices.sql | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/installer/data/mysql/fr-CA/obligatoire/sample_notices.sql b/installer/data/mysql/fr-CA/obligatoire/sample_notices.sql index b1c8b64d56..cc4b4423f4 100644 --- a/installer/data/mysql/fr-CA/obligatoire/sample_notices.sql +++ b/installer/data/mysql/fr-CA/obligatoire/sample_notices.sql @@ -91,7 +91,7 @@ INSERT INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title` ('circulation', 'ACCOUNT_WRITEOFF', '', 'Amnistie', 0, 'Amnistie', '[%- USE Price -%]\r\nNous avons accordé une amnistie de [% credit.amount * -1 | $Price %] à votre compte.\r\n\r\nLes frais suivants ont été amnistiés :\r\n[%- FOREACH o IN offsets %]\r\nDescription: [% o.debit.description %]\r\nMontant payé : [% o.amount * -1 | $Price %]\r\nMontant en souffrance : [% o.debit.amountoutstanding | $Price %]\r\n[% END %]', 'email', 'default'); INSERT INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`, `lang`) VALUES -('circulation', 'ACCOUNT_CREDIT', '', 'Account payment', 0, 'Account payment', ' +('circulation', 'ACCOUNT_CREDIT', '', 'Confirmation de paiement', 0, 'Confirmation de paiement', '
[% IF ( LibraryName ) %] @@ -111,15 +111,15 @@ INSERT INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title` - + - + [% FOREACH account IN accounts %] @@ -136,7 +136,7 @@ INSERT INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title` [% END %] - + [% IF ( totalcredit ) %] @@ -154,7 +154,7 @@ INSERT IGNORE INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, @@ -164,16 +164,16 @@ INSERT IGNORE INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, - + - - + + [% FOREACH account IN accounts %] @@ -191,7 +191,7 @@ INSERT IGNORE INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, - + [% IF ( totalcredit ) %] -- 2.39.5
@@ -101,7 +101,7 @@ INSERT INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title` [% END %]
-

Fee receipt

+

REÇU

- Received with thanks from [% patron.firstname | html %] [% patron.surname | html %]
- Card number: [% patron.cardnumber | html %]
+ Reçu de [% patron.firstname | html %] [% patron.surname | html %]
+ Numéro de carte : [% patron.cardnumber | html %]
DateDescription of chargesDescription des frais NoteAmountMontant
Total outstanding dues as on date: Solde non-réglé : [% ELSE %][% END %][% total | $Price %]
-

INVOICE

+

FACTURE

- Bill to: [% patron.firstname | html %] [% patron.surname | html %]
- Card number: [% patron.cardnumber | html %]
+ Facturé à : [% patron.firstname | html %] [% patron.surname | html %]
+ Numéro de carte : [% patron.cardnumber | html %]
DateDescription of chargesDescription des frais NoteAmountAmount outstandingMontantSolde
Total outstanding dues as on date: Solde non-réglé : [% ELSE %][% END %][% total | $Price %]