From 7b295ebee702b5b957362997d26106e482253da5 Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Tue, 28 Sep 2010 20:53:45 +0000 Subject: [PATCH] Missing gettext calls fixed. --- gl/inquiry/gl_account_inquiry.php | 2 +- purchasing/manage/suppliers.php | 4 ++-- sales/manage/customer_branches.php | 4 ++-- sales/manage/customers.php | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gl/inquiry/gl_account_inquiry.php b/gl/inquiry/gl_account_inquiry.php index 6c66b08d..6641f484 100644 --- a/gl/inquiry/gl_account_inquiry.php +++ b/gl/inquiry/gl_account_inquiry.php @@ -66,7 +66,7 @@ function gl_inquiry_controls() start_table(TABLESTYLE_NOBORDER); start_row(); - gl_all_accounts_list_cells(_("Account:"), 'account', null, false, false, "All Accounts"); + gl_all_accounts_list_cells(_("Account:"), 'account', null, false, false, _("All Accounts")); date_cells(_("from:"), 'TransFromDate', '', null, -30); date_cells(_("to:"), 'TransToDate'); end_row(); diff --git a/purchasing/manage/suppliers.php b/purchasing/manage/suppliers.php index 4f306586..a2c2b450 100644 --- a/purchasing/manage/suppliers.php +++ b/purchasing/manage/suppliers.php @@ -295,8 +295,8 @@ if (!$supplier_id) unset($_POST['_tabs_sel']); // force settings tab for new customer tabbed_content_start('tabs', array( - 'settings' => array('&General settings', $supplier_id), - 'contacts' => array('&Contacts', $supplier_id), + 'settings' => array(_('&General settings'), $supplier_id), + 'contacts' => array(_('&Contacts'), $supplier_id), )); switch (get_post('_tabs_sel')) { diff --git a/sales/manage/customer_branches.php b/sales/manage/customer_branches.php index e80b9007..537a5891 100644 --- a/sales/manage/customer_branches.php +++ b/sales/manage/customer_branches.php @@ -320,8 +320,8 @@ else display_note(_("The selected customer does not have any branches. Please create at least one branch.")); tabbed_content_start('tabs', array( - 'settings' => array('&General settings', $selected_id!=-1), - 'contacts' => array('&Contacts', $selected_id!=-1), + 'settings' => array(_('&General settings'), $selected_id!=-1), + 'contacts' => array(_('&Contacts'), $selected_id!=-1), // 'orders' => array('S&ales orders', $selected_id!=-1) // not implemented )); diff --git a/sales/manage/customers.php b/sales/manage/customers.php index a20dffb4..13350530 100644 --- a/sales/manage/customers.php +++ b/sales/manage/customers.php @@ -297,8 +297,8 @@ if (!$selected_id) unset($_POST['_tabs_sel']); // force settings tab for new customer tabbed_content_start('tabs', array( - 'settings' => array('&General settings', $selected_id), - 'contacts' => array('&Contacts', $selected_id), + 'settings' => array(_('&General settings'), $selected_id), + 'contacts' => array(_('&Contacts'), $selected_id), )); switch (get_post('_tabs_sel')) { -- 2.30.2