From bc56205c309e21197e529f174fd6ba81c177e51b Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 5 Jul 2016 19:00:30 +0200 Subject: [PATCH] Dynamic language loading --- Theme/Backend/invoice-create.tpl.php | 88 ++++++++++----------- Theme/Backend/invoice-list.tpl.php | 20 ++--- Theme/Backend/purchase-invoice-list.tpl.php | 20 ++--- Theme/backend/invoice-create.tpl.php | 88 ++++++++++----------- Theme/backend/invoice-list.tpl.php | 20 ++--- Theme/backend/purchase-invoice-list.tpl.php | 20 ++--- 6 files changed, 128 insertions(+), 128 deletions(-) diff --git a/Theme/Backend/invoice-create.tpl.php b/Theme/Backend/invoice-create.tpl.php index b8de3f9..6350635 100644 --- a/Theme/Backend/invoice-create.tpl.php +++ b/Theme/Backend/invoice-create.tpl.php @@ -22,64 +22,64 @@ echo $this->getData('nav')->render(); ?>
-

l11n->getText('Billing', 'Invoice') ?>

+

l11n->getText('Billing', 'Backend', 'Invoice') ?>

-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-

l11n->getText('Billing', 'Invoice') ?>

+

l11n->getText('Billing', 'Backend', 'Invoice') ?>

-
+
-
+
-
+
-
+
-
+
-
+
@@ -87,23 +87,23 @@ echo $this->getData('nav')->render(); ?>
-

l11n->getText('Billing', 'Delivery') ?>

+

l11n->getText('Billing', 'Backend', 'Delivery') ?>

-
+
-
+
-
+
-
+
-
+
-
+
@@ -114,26 +114,26 @@ echo $this->getData('nav')->render(); ?>
- +
l11n->getText('Billing', 'Invoice') ?>l11n->getText('Billing', 'Backend', 'Invoice') ?>
- l11n->getText('Billing', 'Item'); ?> - l11n->getText('Billing', 'Variation'); ?> - l11n->getText('Billing', 'Name'); ?> - l11n->getText('Billing', 'Quantity'); ?> - l11n->getText('Billing', 'Discount'); ?> - l11n->getText('Billing', 'DiscountP'); ?> - l11n->getText('Billing', 'Bonus'); ?> - l11n->getText('Billing', 'Tax'); ?> - l11n->getText('Billing', 'Net'); ?> + l11n->getText('Billing', 'Backend', 'Item'); ?> + l11n->getText('Billing', 'Backend', 'Variation'); ?> + l11n->getText('Billing', 'Backend', 'Name'); ?> + l11n->getText('Billing', 'Backend', 'Quantity'); ?> + l11n->getText('Billing', 'Backend', 'Discount'); ?> + l11n->getText('Billing', 'Backend', 'DiscountP'); ?> + l11n->getText('Billing', 'Backend', 'Bonus'); ?> + l11n->getText('Billing', 'Backend', 'Tax'); ?> + l11n->getText('Billing', 'Backend', 'Net'); ?>
- l11n->getText('Billing', 'Freightage'); ?>: 0.00 - - l11n->getText('Billing', 'Net'); ?>: 0.00 - - l11n->getText('Billing', 'Tax'); ?>: 0.00 - - l11n->getText('Billing', 'Total'); ?>: 0.00 + l11n->getText('Billing', 'Backend', 'Freightage'); ?>: 0.00 - + l11n->getText('Billing', 'Backend', 'Net'); ?>: 0.00 - + l11n->getText('Billing', 'Backend', 'Tax'); ?>: 0.00 - + l11n->getText('Billing', 'Backend', 'Total'); ?>: 0.00
diff --git a/Theme/Backend/invoice-list.tpl.php b/Theme/Backend/invoice-list.tpl.php index 427a48a..caeeaf3 100644 --- a/Theme/Backend/invoice-list.tpl.php +++ b/Theme/Backend/invoice-list.tpl.php @@ -23,17 +23,17 @@ echo $this->getData('nav')->render(); ?>
- + -
l11n->getText('Billing', 'Invoices') ?>l11n->getText('Billing', 'Backend', 'Invoices') ?>
l11n->getText(0, 'ID'); ?> - l11n->getText('Billing', 'Type'); ?> - l11n->getText('Billing', 'ClientID'); ?> - l11n->getText('Billing', 'Client'); ?> - l11n->getText('Billing', 'Net'); ?> - l11n->getText('Billing', 'Gross'); ?> - l11n->getText('Billing', 'Created'); ?> - l11n->getText('Billing', 'Due'); ?> + l11n->getText(0, 'Backend', 'ID'); ?> + l11n->getText('Billing', 'Backend', 'Type'); ?> + l11n->getText('Billing', 'Backend', 'ClientID'); ?> + l11n->getText('Billing', 'Backend', 'Client'); ?> + l11n->getText('Billing', 'Backend', 'Net'); ?> + l11n->getText('Billing', 'Backend', 'Gross'); ?> + l11n->getText('Billing', 'Backend', 'Created'); ?> + l11n->getText('Billing', 'Backend', 'Due'); ?>
render(); ?> @@ -41,7 +41,7 @@ echo $this->getData('nav')->render(); ?> $value) : $count++; ?> -
l11n->getText(0, 'Empty'); ?> +
l11n->getText(0, 'Backend', 'Empty'); ?>
diff --git a/Theme/Backend/purchase-invoice-list.tpl.php b/Theme/Backend/purchase-invoice-list.tpl.php index 7dcbed4..aba1b7e 100644 --- a/Theme/Backend/purchase-invoice-list.tpl.php +++ b/Theme/Backend/purchase-invoice-list.tpl.php @@ -23,17 +23,17 @@ echo $this->getData('nav')->render(); ?>
- + -
l11n->getText('Billing', 'Invoices') ?>l11n->getText('Billing', 'Backend', 'Invoices') ?>
l11n->getText(0, 'ID'); ?> - l11n->getText('Billing', 'Type'); ?> - l11n->getText('Billing', 'SupplierID'); ?> - l11n->getText('Billing', 'Supplier'); ?> - l11n->getText('Billing', 'Net'); ?> - l11n->getText('Billing', 'Gross'); ?> - l11n->getText('Billing', 'Created'); ?> - l11n->getText('Billing', 'Due'); ?> + l11n->getText(0, 'Backend', 'ID'); ?> + l11n->getText('Billing', 'Backend', 'Type'); ?> + l11n->getText('Billing', 'Backend', 'SupplierID'); ?> + l11n->getText('Billing', 'Backend', 'Supplier'); ?> + l11n->getText('Billing', 'Backend', 'Net'); ?> + l11n->getText('Billing', 'Backend', 'Gross'); ?> + l11n->getText('Billing', 'Backend', 'Created'); ?> + l11n->getText('Billing', 'Backend', 'Due'); ?>
render(); ?> @@ -41,7 +41,7 @@ echo $this->getData('nav')->render(); ?> $value) : $count++; ?> -
l11n->getText(0, 'Empty'); ?> +
l11n->getText(0, 'Backend', 'Empty'); ?>
diff --git a/Theme/backend/invoice-create.tpl.php b/Theme/backend/invoice-create.tpl.php index b8de3f9..6350635 100644 --- a/Theme/backend/invoice-create.tpl.php +++ b/Theme/backend/invoice-create.tpl.php @@ -22,64 +22,64 @@ echo $this->getData('nav')->render(); ?>
-

l11n->getText('Billing', 'Invoice') ?>

+

l11n->getText('Billing', 'Backend', 'Invoice') ?>

-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-

l11n->getText('Billing', 'Invoice') ?>

+

l11n->getText('Billing', 'Backend', 'Invoice') ?>

-
+
-
+
-
+
-
+
-
+
-
+
@@ -87,23 +87,23 @@ echo $this->getData('nav')->render(); ?>
-

l11n->getText('Billing', 'Delivery') ?>

+

l11n->getText('Billing', 'Backend', 'Delivery') ?>

-
+
-
+
-
+
-
+
-
+
-
+
@@ -114,26 +114,26 @@ echo $this->getData('nav')->render(); ?>
- +
l11n->getText('Billing', 'Invoice') ?>l11n->getText('Billing', 'Backend', 'Invoice') ?>
- l11n->getText('Billing', 'Item'); ?> - l11n->getText('Billing', 'Variation'); ?> - l11n->getText('Billing', 'Name'); ?> - l11n->getText('Billing', 'Quantity'); ?> - l11n->getText('Billing', 'Discount'); ?> - l11n->getText('Billing', 'DiscountP'); ?> - l11n->getText('Billing', 'Bonus'); ?> - l11n->getText('Billing', 'Tax'); ?> - l11n->getText('Billing', 'Net'); ?> + l11n->getText('Billing', 'Backend', 'Item'); ?> + l11n->getText('Billing', 'Backend', 'Variation'); ?> + l11n->getText('Billing', 'Backend', 'Name'); ?> + l11n->getText('Billing', 'Backend', 'Quantity'); ?> + l11n->getText('Billing', 'Backend', 'Discount'); ?> + l11n->getText('Billing', 'Backend', 'DiscountP'); ?> + l11n->getText('Billing', 'Backend', 'Bonus'); ?> + l11n->getText('Billing', 'Backend', 'Tax'); ?> + l11n->getText('Billing', 'Backend', 'Net'); ?>
- l11n->getText('Billing', 'Freightage'); ?>: 0.00 - - l11n->getText('Billing', 'Net'); ?>: 0.00 - - l11n->getText('Billing', 'Tax'); ?>: 0.00 - - l11n->getText('Billing', 'Total'); ?>: 0.00 + l11n->getText('Billing', 'Backend', 'Freightage'); ?>: 0.00 - + l11n->getText('Billing', 'Backend', 'Net'); ?>: 0.00 - + l11n->getText('Billing', 'Backend', 'Tax'); ?>: 0.00 - + l11n->getText('Billing', 'Backend', 'Total'); ?>: 0.00
diff --git a/Theme/backend/invoice-list.tpl.php b/Theme/backend/invoice-list.tpl.php index 427a48a..caeeaf3 100644 --- a/Theme/backend/invoice-list.tpl.php +++ b/Theme/backend/invoice-list.tpl.php @@ -23,17 +23,17 @@ echo $this->getData('nav')->render(); ?>
- + -
l11n->getText('Billing', 'Invoices') ?>l11n->getText('Billing', 'Backend', 'Invoices') ?>
l11n->getText(0, 'ID'); ?> - l11n->getText('Billing', 'Type'); ?> - l11n->getText('Billing', 'ClientID'); ?> - l11n->getText('Billing', 'Client'); ?> - l11n->getText('Billing', 'Net'); ?> - l11n->getText('Billing', 'Gross'); ?> - l11n->getText('Billing', 'Created'); ?> - l11n->getText('Billing', 'Due'); ?> + l11n->getText(0, 'Backend', 'ID'); ?> + l11n->getText('Billing', 'Backend', 'Type'); ?> + l11n->getText('Billing', 'Backend', 'ClientID'); ?> + l11n->getText('Billing', 'Backend', 'Client'); ?> + l11n->getText('Billing', 'Backend', 'Net'); ?> + l11n->getText('Billing', 'Backend', 'Gross'); ?> + l11n->getText('Billing', 'Backend', 'Created'); ?> + l11n->getText('Billing', 'Backend', 'Due'); ?>
render(); ?> @@ -41,7 +41,7 @@ echo $this->getData('nav')->render(); ?> $value) : $count++; ?> -
l11n->getText(0, 'Empty'); ?> +
l11n->getText(0, 'Backend', 'Empty'); ?>
diff --git a/Theme/backend/purchase-invoice-list.tpl.php b/Theme/backend/purchase-invoice-list.tpl.php index 7dcbed4..aba1b7e 100644 --- a/Theme/backend/purchase-invoice-list.tpl.php +++ b/Theme/backend/purchase-invoice-list.tpl.php @@ -23,17 +23,17 @@ echo $this->getData('nav')->render(); ?>
- + -
l11n->getText('Billing', 'Invoices') ?>l11n->getText('Billing', 'Backend', 'Invoices') ?>
l11n->getText(0, 'ID'); ?> - l11n->getText('Billing', 'Type'); ?> - l11n->getText('Billing', 'SupplierID'); ?> - l11n->getText('Billing', 'Supplier'); ?> - l11n->getText('Billing', 'Net'); ?> - l11n->getText('Billing', 'Gross'); ?> - l11n->getText('Billing', 'Created'); ?> - l11n->getText('Billing', 'Due'); ?> + l11n->getText(0, 'Backend', 'ID'); ?> + l11n->getText('Billing', 'Backend', 'Type'); ?> + l11n->getText('Billing', 'Backend', 'SupplierID'); ?> + l11n->getText('Billing', 'Backend', 'Supplier'); ?> + l11n->getText('Billing', 'Backend', 'Net'); ?> + l11n->getText('Billing', 'Backend', 'Gross'); ?> + l11n->getText('Billing', 'Backend', 'Created'); ?> + l11n->getText('Billing', 'Backend', 'Due'); ?>
render(); ?> @@ -41,7 +41,7 @@ echo $this->getData('nav')->render(); ?> $value) : $count++; ?> -
l11n->getText(0, 'Empty'); ?> +
l11n->getText(0, 'Backend', 'Empty'); ?>