aboutsummaryrefslogtreecommitdiff
path: root/classes/correspondence.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/correspondence.php')
-rw-r--r--classes/correspondence.php44
1 files changed, 26 insertions, 18 deletions
diff --git a/classes/correspondence.php b/classes/correspondence.php
index 7838393..eb18b7d 100644
--- a/classes/correspondence.php
+++ b/classes/correspondence.php
@@ -39,63 +39,71 @@ class correspondence extends FPDF {
const HEAD_BLUE = 0;
/**
+ * Available languages
+ *
+ * @see _() Translation function
+ * @see $translations Translations table
+ */
+ const LANGUAGES = ['en', 'nl'];
+
+ /**
* Array holding the translations
*
* @see _() A function to translate
*/
protected static $translations = array(
- 'adres' => array(
+ 'adres' => array(
'en' => 'Address',
'nl' => 'Adres'),
- 'amount' => array(
+ 'amount' => array(
'en' => 'Amount',
'nl' => 'Subtotaal'),
- 'amount-due' => array(
+ 'amount-due' => array(
'en' => 'Total amount due',
'nl' => 'Te voldoen'),
- 'biccode' => array(
+ 'biccode' => array(
'en' => 'The BIC code of our bank is %%.',
'nl' => 'De BIC-code van de bank is %%.'),
- 'btwnr' => array(
+ 'btwnr' => array(
'en' => 'VAT nr',
'nl' => 'BTW nr'),
- 'description' => array(
+ 'description' => array(
'en' => 'Description',
'nl' => 'Omschrijving'),
- 'due-date' => array(
+ 'due-date' => array(
'en' => 'Due date',
'nl' => 'Vervaldatum'),
- 'email' => array(
+ 'email' => array(
'en' => 'Email',
'nl' => 'Email'),
- 'iban' => array(
+ 'iban' => array(
'en' => 'IBAN',
'nl' => 'IBAN'),
- 'invoice' => array(
+ 'invoice' => array(
'en' => 'Invoice',
'nl' => 'Factuur'),
- 'invoice-date' => array(
+ 'invoice-date' => array(
'en' => 'Invoice date',
'nl' => 'Factuurdatum'),
- 'invoice-nr' => array(
+ 'invoice-nr' => array(
'en' => 'Invoice number',
'nl' => 'Factuurnummer'),
- 'price-excl' => array(
+ 'price-excl' => array(
'en' => 'Price excl.',
'nl' => 'Prijs excl.'),
- 'price-incl' => array(
+ 'price-incl' => array(
'en' => 'Price incl.',
'nl' => 'Prijs incl.'),
- 'request' => array(
+ 'request' => array(
'en' => 'You are kindly requested to transfer the total amount before the due date to the provided IBAN nr.',
'nl' => 'U wordt vriendelijk verzocht het te voldoen bedrag voor de vervaldatum van de factuur over te maken naar opgegeven IBAN-nummer.'),
- 'tel-nr' => array(
+ 'tel-nr' => array(
'en' => 'Tel.',
'nl' => 'Tel.'),
- 'total' => array(
+ 'total' => array(
'en' => 'Total',
'nl' => 'Totaal'),
- 'vat' => array(
+ 'vat' => array(
'en' => 'VAT',
'nl' => 'BTW'),
);