From de3d7ce726f6a16535e76af83811335344073aec Mon Sep 17 00:00:00 2001 From: jekkos Date: Tue, 7 Apr 2015 19:09:01 +0200 Subject: [PATCH] Add new language line for check_remainder --- application/language/en/sales_lang.php | 1 + application/language/es/sales_lang.php | 1 + application/language/fr/sales_lang.php | 1 + application/language/id/sales_lang.php | 1 + application/language/nl-BE/sales_lang.php | 1 + application/language/ru/sales_lang.php | 1 + application/language/th/sales_lang.php | 1 + application/language/tr/sales_lang.php | 1 + application/language/zh/sales_lang.php | 1 + application/views/sales/receipt.php | 2 +- translations/sales_lang.csv | 1 + 11 files changed, 11 insertions(+), 1 deletion(-) diff --git a/application/language/en/sales_lang.php b/application/language/en/sales_lang.php index 02f7002f2..d044c0d48 100644 --- a/application/language/en/sales_lang.php +++ b/application/language/en/sales_lang.php @@ -8,6 +8,7 @@ $lang["sales_cancel_sale"] = "Cancel Sale"; $lang["sales_cash"] = "Cash"; $lang["sales_change_due"] = "Change Due"; $lang["sales_check"] = "Check"; +$lang["sales_check_balance"] = "Check remainder"; $lang["sales_comment"] = "Comment"; $lang["sales_comments"] = "Comments"; $lang["sales_complete_sale"] = "Complete Sale"; diff --git a/application/language/es/sales_lang.php b/application/language/es/sales_lang.php index 9f65354d8..a7ff092f7 100644 --- a/application/language/es/sales_lang.php +++ b/application/language/es/sales_lang.php @@ -8,6 +8,7 @@ $lang["sales_cancel_sale"] = "Cancelar Venta"; $lang["sales_cash"] = "Efectivo"; $lang["sales_change_due"] = "Cambio"; $lang["sales_check"] = "Cheque"; +$lang["sales_check_balance"] = "Check remainder"; $lang["sales_comment"] = "Comentario"; $lang["sales_comments"] = "Comentarios"; $lang["sales_complete_sale"] = "Completar Venta"; diff --git a/application/language/fr/sales_lang.php b/application/language/fr/sales_lang.php index 6d0e0b5c4..a0e736883 100644 --- a/application/language/fr/sales_lang.php +++ b/application/language/fr/sales_lang.php @@ -8,6 +8,7 @@ $lang["sales_cancel_sale"] = "Annuler la Vente"; $lang["sales_cash"] = "Cash"; $lang["sales_change_due"] = "Reste"; $lang["sales_check"] = "Cheque"; +$lang["sales_check_balance"] = "Check remainder"; $lang["sales_comment"] = "Commentaire"; $lang["sales_comments"] = "Commentaires"; $lang["sales_complete_sale"] = "Finaliser la Vente"; diff --git a/application/language/id/sales_lang.php b/application/language/id/sales_lang.php index 533696a7d..31b6e80f8 100644 --- a/application/language/id/sales_lang.php +++ b/application/language/id/sales_lang.php @@ -8,6 +8,7 @@ $lang["sales_cancel_sale"] = "Batal Jual"; $lang["sales_cash"] = "Tunai"; $lang["sales_change_due"] = "Kembalian Uang"; $lang["sales_check"] = "Cek"; +$lang["sales_check_balance"] = "Check remainder"; $lang["sales_comment"] = "Catatan"; $lang["sales_comments"] = "Keterangan"; $lang["sales_complete_sale"] = "Entri penjualan"; diff --git a/application/language/nl-BE/sales_lang.php b/application/language/nl-BE/sales_lang.php index 7ea694bfb..e9226e25c 100755 --- a/application/language/nl-BE/sales_lang.php +++ b/application/language/nl-BE/sales_lang.php @@ -8,6 +8,7 @@ $lang["sales_cancel_sale"] = "Annuleer"; $lang["sales_cash"] = "Contant"; $lang["sales_change_due"] = "Wisselgeld terug"; $lang["sales_check"] = "Waardebon"; +$lang["sales_check_balance"] = "Waardebon terug"; $lang["sales_comment"] = "Commentaar"; $lang["sales_comments"] = "Commentaar"; $lang["sales_complete_sale"] = "Bevestig"; diff --git a/application/language/ru/sales_lang.php b/application/language/ru/sales_lang.php index 6e71b876d..6e7d79fc3 100644 --- a/application/language/ru/sales_lang.php +++ b/application/language/ru/sales_lang.php @@ -8,6 +8,7 @@ $lang["sales_cancel_sale"] = "Отменить продажу"; $lang["sales_cash"] = "наличные деньги"; $lang["sales_change_due"] = "сдача должное"; $lang["sales_check"] = "банковский чек"; +$lang["sales_check_balance"] = "Check remainder"; $lang["sales_comment"] = "комментировать"; $lang["sales_comments"] = "Комментарии"; $lang["sales_complete_sale"] = "Завершить продажу"; diff --git a/application/language/th/sales_lang.php b/application/language/th/sales_lang.php index 0220efe6c..8ea6adf08 100644 --- a/application/language/th/sales_lang.php +++ b/application/language/th/sales_lang.php @@ -8,6 +8,7 @@ $lang["sales_cancel_sale"] = "ยกเลิกการขาย"; $lang["sales_cash"] = "เงินสด"; $lang["sales_change_due"] = "เงินทอน"; $lang["sales_check"] = "เช็ก"; +$lang["sales_check_balance"] = "Check remainder"; $lang["sales_comment"] = "หมายเหตุ"; $lang["sales_comments"] = "หมายเหตุ"; $lang["sales_complete_sale"] = "สำเร็จการขาย"; diff --git a/application/language/tr/sales_lang.php b/application/language/tr/sales_lang.php index a8544c2df..f426618cb 100644 --- a/application/language/tr/sales_lang.php +++ b/application/language/tr/sales_lang.php @@ -8,6 +8,7 @@ $lang["sales_cancel_sale"] = "İptal Et"; $lang["sales_cash"] = "Nakit"; $lang["sales_change_due"] = "Para Üstü"; $lang["sales_check"] = "Çek"; +$lang["sales_check_balance"] = "Check remainder"; $lang["sales_comment"] = "Yorum"; $lang["sales_comments"] = "Yorumlar"; $lang["sales_complete_sale"] = "Satışı Tamamla"; diff --git a/application/language/zh/sales_lang.php b/application/language/zh/sales_lang.php index 01e0e658d..6ed120394 100755 --- a/application/language/zh/sales_lang.php +++ b/application/language/zh/sales_lang.php @@ -8,6 +8,7 @@ $lang["sales_cancel_sale"] = "取消銷售"; $lang["sales_cash"] = "現金"; $lang["sales_change_due"] = "更改到期日"; $lang["sales_check"] = "支票"; +$lang["sales_check_balance"] = "Check remainder"; $lang["sales_comment"] = "評論"; $lang["sales_comments"] = "評論"; $lang["sales_complete_sale"] = "完成銷售"; diff --git a/application/views/sales/receipt.php b/application/views/sales/receipt.php index 1858c3ec4..0b2185a37 100644 --- a/application/views/sales/receipt.php +++ b/application/views/sales/receipt.php @@ -147,7 +147,7 @@ if (isset($error_message)) } ?> - lang->line($amount_change >= 0 ? 'sales_change_due' : 'sales_amount_due') ; ?> + lang->line($amount_change >= 0 ? ($only_sale_check ? 'sales_check_balance' : 'sales_change_due') : 'sales_amount_due') ; ?> diff --git a/translations/sales_lang.csv b/translations/sales_lang.csv index 5e9b058b4..979386159 100644 --- a/translations/sales_lang.csv +++ b/translations/sales_lang.csv @@ -7,6 +7,7 @@ sales_cancel_sale,Annuleer,Cancelar Venta,Cancel Sale,Annuler la Vente,取消銷 sales_cash,Contant,Efectivo,Cash,Cash,現金,наличные деньги,เงินสด,Nakit,Tunai sales_change_due,Wisselgeld terug,Cambio,Change Due,Reste,更改到期日,сдача должное,เงินทอน,Para Üstü,Kembalian Uang sales_check,Waardebon,Cheque,Check,Cheque,支票,банковский чек,เช็ก,Çek,Cek +sales_check_balance,Waardebon terug,Check remainder,Check remainder,Check remainder,Check remainder,Check remainder,Check remainder,Check remainder,Check remainder sales_comment,Commentaar,Comentario,Comment,Commentaire,評論,комментировать,หมายเหตุ,Yorum,Catatan sales_comments,Commentaar,Comentarios,Comments,Commentaires,評論,Комментарии,หมายเหตุ,Yorumlar,Keterangan sales_complete_sale,Bevestig,Completar Venta,Complete Sale,Finaliser la Vente,完成銷售,Завершить продажу,สำเร็จการขาย,Satışı Tamamla,Entri penjualan