diff --git a/application/config/autoload.php b/application/config/autoload.php index 114114780..1da59fcb7 100644 --- a/application/config/autoload.php +++ b/application/config/autoload.php @@ -58,7 +58,7 @@ $autoload['packages'] = array(); | | $autoload['libraries'] = array('user_agent' => 'ua'); */ -$autoload['libraries'] = array('database', 'form_validation', 'session', 'user_agent', 'pagination'); +$autoload['libraries'] = array('database', 'form_validation', 'session', 'user_agent', 'pagination', 'sms'); /* | ------------------------------------------------------------------- diff --git a/application/controllers/Config.php b/application/controllers/Config.php index f874233ed..7b79763e1 100644 --- a/application/controllers/Config.php +++ b/application/controllers/Config.php @@ -69,13 +69,13 @@ class Config extends Secure_area 'custom10_name'=>$this->input->post('custom10_name') ); - $result = $this->Appconfig->batch_save($batch_save_data); - $success = $result ? true : false; - - echo json_encode(array('success'=>$success, 'message'=>$this->lang->line('config_saved_' . ($success ? '' : 'un') . 'successfully'))); + $result = $this->Appconfig->batch_save($batch_save_data); + $success = $result ? true : false; + + echo json_encode(array('success'=>$success, 'message'=>$this->lang->line('config_saved_' . ($success ? '' : 'un') . 'successfully'))); } - function save_locale() + function save_locale() { $batch_save_data = array( 'currency_symbol'=>$this->input->post('currency_symbol'), @@ -91,10 +91,25 @@ class Config extends Secure_area 'quantity_decimals'=>$this->input->post('quantity_decimals') ); - $result = $this->Appconfig->batch_save($batch_save_data); - $success = $result ? true : false; - - echo json_encode(array('success'=>$success, 'message'=>$this->lang->line('config_saved_' . ($success ? '' : 'un') . 'successfully'))); + $result = $this->Appconfig->batch_save($batch_save_data); + $success = $result ? true : false; + + echo json_encode(array('success'=>$success, 'message'=>$this->lang->line('config_saved_' . ($success ? '' : 'un') . 'successfully'))); + } + + function save_message() + { + $batch_save_data = array( + 'msg_msg'=>$this->input->post('msg_msg'), + 'msg_uid'=>$this->input->post('msg_uid'), + 'msg_pwd'=>$this->input->post('msg_pwd'), + 'msg_src'=>$this->input->post('msg_src') + ); + + $result = $this->Appconfig->batch_save($batch_save_data); + $success = $result ? true : false; + + echo json_encode(array('success'=>$success, 'message'=>$this->lang->line('config_saved_' . ($success ? '' : 'un') . 'successfully'))); } function stock_locations() diff --git a/application/controllers/Messages.php b/application/controllers/Messages.php new file mode 100644 index 000000000..f64b6ace6 --- /dev/null +++ b/application/controllers/Messages.php @@ -0,0 +1,65 @@ +get_controller_name(); + + $this->load->view('messages/sms'); + } + + function view($person_id=-1) + { + $data['person_info'] = $this->Person->get_info($person_id); + + $this->load->view('messages/form_sms', $data); + } + + function send() + { + $username = $this->config->item('msg_uid'); + $password = $this->config->item('msg_pwd'); + $phone = $this->input->post('phone'); + $message = $this->input->post('message'); + $originator = $this->config->item('msg_src'); + + $response = $this->sms->sendSMS($username, $password, $phone, $message, $originator); + + if($response) + { + echo json_encode(array('success'=>true, 'message'=>$this->lang->line('messages_successfully_sent') . ' ' . $phone)); + } + else + { + echo json_encode(array('success'=>false, 'message'=>$this->lang->line('messages_unsuccessfully_sent') . ' ' . $phone)); + } + } + + function send_form($person_id=-1) + { + $username = $this->config->item('msg_uid'); + $password = $this->config->item('msg_pwd'); + $phone = $this->input->post('phone'); + $message = $this->input->post('message'); + $originator = $this->config->item('msg_src'); + + $response = $this->sms->sendSMS($username, $password, $phone, $message, $originator); + + if($response) + { + echo json_encode(array('success'=>true, 'message'=>$this->lang->line('messages_successfully_sent') . ' ' . $phone, 'person_id'=>$person_id)); + } + else + { + echo json_encode(array('success'=>false, 'message'=>$this->lang->line('messages_unsuccessfully_sent') . ' ' . $phone, 'person_id'=>-1)); + } + } +} +?> diff --git a/application/helpers/table_helper.php b/application/helpers/table_helper.php index 3cc008ee2..d865f167a 100644 --- a/application/helpers/table_helper.php +++ b/application/helpers/table_helper.php @@ -146,6 +146,10 @@ function get_people_manage_table($people,$controller) $CI->lang->line('common_email'), $CI->lang->line('common_phone_number'), ' '); + if($CI->Employee->has_grant('messages', $CI->session->userdata('person_id'))) + { + $headers[] = ' '; + } $table.=''; foreach($headers as $header) @@ -186,12 +190,20 @@ function get_person_data_row($person,$controller) $controller_name=strtolower(get_class($CI)); $table_data_row=''; - $table_data_row.=""; + $table_data_row.=""; $table_data_row.=''.character_limiter($person->last_name,13).''; $table_data_row.=''.character_limiter($person->first_name,13).''; $table_data_row.=''.mailto($person->email,character_limiter($person->email,22)).''; $table_data_row.=''.character_limiter($person->phone_number,13).''; - $table_data_row.=''.anchor($controller_name."/view/$person->person_id", '', array('class'=>"modal-dlg modal-btn-submit", 'title'=>$CI->lang->line($controller_name.'_update'))).''; + if($CI->Employee->has_grant('messages', $CI->session->userdata('person_id'))) + { + $table_data_row.=''.anchor("Messages/view/$person->person_id", '', array('class'=>"modal-dlg modal-btn-submit", 'title'=>$CI->lang->line('messages_sms_send'))).''; + $table_data_row.=''.anchor($controller_name."/view/$person->person_id", '', array('class'=>"modal-dlg modal-btn-submit", 'title'=>$CI->lang->line($controller_name.'_update'))).''; + } + else + { + $table_data_row.=''.anchor($controller_name."/view/$person->person_id", '', array('class'=>"modal-dlg modal-btn-submit", 'title'=>$CI->lang->line($controller_name.'_update'))).''; + } $table_data_row.=''; return $table_data_row; @@ -229,6 +241,10 @@ function get_supplier_manage_table($suppliers,$controller) $CI->lang->line('common_phone_number'), $CI->lang->line('suppliers_supplier_id'), ' '); + if($CI->Employee->has_grant('messages', $CI->session->userdata('person_id'))) + { + $headers[] = ' '; + } $table.=''; foreach($headers as $header) @@ -271,13 +287,21 @@ function get_supplier_data_row($supplier,$controller) $table_data_row=''; $table_data_row.=""; $table_data_row.=''.character_limiter($supplier->company_name,13).''; - $table_data_row.=''.character_limiter($supplier->agency_name,13).''; + $table_data_row.=''.character_limiter($supplier->agency_name,13).''; $table_data_row.=''.character_limiter($supplier->last_name,13).''; $table_data_row.=''.character_limiter($supplier->first_name,13).''; $table_data_row.=''.mailto($supplier->email,character_limiter($supplier->email,22)).''; $table_data_row.=''.character_limiter($supplier->phone_number,13).''; - $table_data_row.=''.character_limiter($supplier->person_id,5).''; - $table_data_row.=''.anchor($controller_name."/view/$supplier->person_id", '', array('class'=>"modal-dlg modal-btn-submit",'title'=>$CI->lang->line($controller_name.'_update'))).''; + $table_data_row.=''.character_limiter($supplier->person_id,5).''; + if($CI->Employee->has_grant('messages', $CI->session->userdata('person_id'))) + { + $table_data_row.=''.anchor("Messages/view/$supplier->person_id", '', array('class'=>"modal-dlg modal-btn-submit", 'title'=>$CI->lang->line('messages_sms_send'))).''; + $table_data_row.=''.anchor($controller_name."/view/$supplier->person_id", '', array('class'=>"modal-dlg modal-btn-submit",'title'=>$CI->lang->line($controller_name.'_update'))).''; + } + else + { + $table_data_row.=''.anchor($controller_name."/view/$supplier->person_id", '', array('class'=>"modal-dlg modal-btn-submit",'title'=>$CI->lang->line($controller_name.'_update'))).''; + } $table_data_row.=''; return $table_data_row; diff --git a/application/language/de-CH/config_lang.php b/application/language/de-CH/config_lang.php index 1c0f4e584..39756755e 100644 --- a/application/language/de-CH/config_lang.php +++ b/application/language/de-CH/config_lang.php @@ -93,6 +93,15 @@ $lang["config_location"] = "Lagerort"; $lang["config_location_configuration"] = "Lagerort"; $lang["config_location_info"] = "Lagerort-Information"; $lang["config_logout"] = "Wollen Sie eine Sicherung machen vor dem Beenden? Klicke [OK] für Sicherung"; +$lang["config_message"] = "Message"; +$lang["config_message_configuration"] = "Message Configuration"; +$lang["config_msg_msg"] = "Saved Text Message"; +$lang["config_msg_uid"] = "SMS-API Username"; +$lang["config_msg_uid_required"] = "SMS-API Username is a required field"; +$lang["config_msg_pwd"] = "SMS-API Password"; +$lang["config_msg_pwd_required"] = "SMS-API Password is a required field"; +$lang["config_msg_src"] = "SMS-API Sender ID"; +$lang["config_msg_src_required"] = "SMS-API Sender ID is a required field"; $lang["config_number_format"] = "Zahlenformat"; $lang["config_phone"] = "Telefon"; $lang["config_phone_required"] = "Telefon ist erforderlich"; diff --git a/application/language/de-CH/messages_lang.php b/application/language/de-CH/messages_lang.php new file mode 100644 index 000000000..ed1f113a8 --- /dev/null +++ b/application/language/de-CH/messages_lang.php @@ -0,0 +1,14 @@ + diff --git a/application/views/configs/manage.php b/application/views/configs/manage.php index a61c89d96..08c615825 100644 --- a/application/views/configs/manage.php +++ b/application/views/configs/manage.php @@ -22,6 +22,16 @@
  • lang->line('config_invoice'); ?>
  • + Employee->has_grant('messages', $this->session->userdata('person_id'))) + { + ?> +
  • + lang->line('config_message'); ?> +
  • +
    @@ -46,6 +56,16 @@
    load->view("configs/invoice_config"); ?>
    + Employee->has_grant('messages', $this->session->userdata('person_id'))) + { + ?> +
    + load->view("configs/message_config"); ?> +
    +
    -load->view("partial/footer"); ?> \ No newline at end of file +load->view("partial/footer"); ?> diff --git a/application/views/configs/message_config.php b/application/views/configs/message_config.php new file mode 100755 index 000000000..60d3bcf84 --- /dev/null +++ b/application/views/configs/message_config.php @@ -0,0 +1,107 @@ +'message_config_form', 'enctype'=>'multipart/form-data', 'class'=>'form-horizontal')); ?> +
    +
    +
    lang->line('common_fields_required_message'); ?>
    + + +
    + lang->line('config_msg_uid'), 'msg_uid', array('class'=>'control-label col-xs-2 required')); ?> +
    + 'msg_uid', + 'id'=>'msg_uid', + 'class'=>'form-control input-sm required', + 'value'=>$this->config->item('msg_uid'))); ?> +
    +
    + +
    + lang->line('config_msg_pwd'), 'msg_pwd', array('class'=>'control-label col-xs-2 required')); ?> +
    + 'msg_pwd', + 'id'=>'msg_pwd', + 'class'=>'form-control input-sm required', + 'value'=>$this->config->item('msg_pwd'))); ?> +
    +
    + +
    + lang->line('config_msg_src'), 'msg_src', array('class'=>'control-label col-xs-2 required')); ?> +
    + 'msg_src', + 'id'=>'msg_src', + 'class'=>'form-control input-sm required', + 'value'=>$this->config->item('msg_src') == null ? $this->config->item('company') : $this->config->item('msg_src')));?> +
    +
    + +
    + lang->line('config_msg_msg'), 'msg_msg', array('class'=>'control-label col-xs-2')); ?> +
    + 'msg_msg', + 'id'=>'msg_msg', + 'class'=>'form-control input-sm', + 'value'=>$this->config->item('msg_msg'), + 'placeholder'=>"If you wish to use a SMS template save your message here. Otherwise leave the box blank."));?> +
    +
    + + 'submit_form', + 'id'=>'submit_form', + 'value'=>$this->lang->line('common_submit'), + 'class'=>'btn btn-primary btn-sm pull-right')); ?> +
    +
    + + + diff --git a/application/views/employees/form.php b/application/views/employees/form.php index 2e7eba723..d21d6ddb5 100644 --- a/application/views/employees/form.php +++ b/application/views/employees/form.php @@ -157,17 +157,16 @@ $(document).ready(function() }); $('#employee_form').validate($.extend({ - submitHandler:function(form) + submitHandler:function(form) { $(form).ajaxSubmit({ - success:function(response) - { - dialog_support.hide(); - post_person_form_submit(response); - }, - dataType:'json' - }); - + success:function(response) + { + dialog_support.hide(); + post_person_form_submit(response); + }, + dataType:'json' + }); }, rules: { diff --git a/application/views/messages/form_sms.php b/application/views/messages/form_sms.php new file mode 100644 index 000000000..d10d16d2a --- /dev/null +++ b/application/views/messages/form_sms.php @@ -0,0 +1,76 @@ +
    lang->line('common_fields_required_message'); ?>
    + + + +person_id, array('id'=>'send_sms_form', 'class'=>'form-horizontal')); ?> +
    +
    + lang->line('messages_first_name'), 'first_name_label', array('for'=>'first_name', 'class'=>'control-label col-xs-2')); ?> +
    + 'form-control input-sm', 'type'=>'text', 'name'=>'first_name', 'value'=>$person_info->first_name));?> +
    +
    +
    + lang->line('messages_last_name'), 'last_name_label', array('for'=>'last_name', 'class'=>'control-label col-xs-2')); ?> +
    + 'form-control input-sm', 'type'=>'text', 'name'=>'last_name', 'value'=>$person_info->last_name));?> +
    +
    +
    + lang->line('messages_phone'), 'phone_label', array('for'=>'phone', 'class'=>'control-label col-xs-2 required')); ?> +
    + 'form-control input-sm required', 'type'=>'text', 'name'=>'phone', 'value'=>$person_info->phone_number));?> +
    +
    +
    + lang->line('messages_message'), 'message_label', array('for'=>'message', 'class'=>'control-label col-xs-2 required')); ?> +
    + 'form-control input-sm required', 'name'=>'message', 'id'=>'message', 'value'=>$this->config->item('msg_msg')));?> +
    +
    +
    + + + \ No newline at end of file diff --git a/application/views/messages/index.html b/application/views/messages/index.html new file mode 100644 index 000000000..b702fbc39 --- /dev/null +++ b/application/views/messages/index.html @@ -0,0 +1,11 @@ + + + + 403 Forbidden + + + +

    Directory access is forbidden.

    + + + diff --git a/application/views/messages/sms.php b/application/views/messages/sms.php new file mode 100755 index 000000000..48679adba --- /dev/null +++ b/application/views/messages/sms.php @@ -0,0 +1,55 @@ +load->view("partial/header"); ?> + +
    + 'send_sms_form', 'enctype'=>'multipart/form-data', 'method'=>'post', 'class'=>'form-horizontal')); ?> +
    + lang->line('messages_sms_send'); ?> +
    + +
    + + lang->line('messages_multiple_phones'); ?> +
    +
    + +
    + +
    + +
    +
    + + 'submit_form', + 'id'=>'submit_form', + 'value'=>$this->lang->line('common_submit'), + 'class'=>'btn btn-primary btn-sm pull-right'));?> +
    + +
    + +load->view("partial/footer"); ?> + + diff --git a/database/2.4_to_3.0.sql b/database/2.4_to_3.0.sql index 34eb0aa66..6d403cd4e 100644 --- a/database/2.4_to_3.0.sql +++ b/database/2.4_to_3.0.sql @@ -38,4 +38,15 @@ INSERT INTO `ospos_app_config` (`key`, `value`) VALUES ('receipt_show_description', '1'), ('receipt_show_serialnumber', '1'), ('invoice_enable', '1'); + +UPDATE `ospos_modules` SET `sort` = 110 WHERE `name_lang_key` = 'module_config'; + +INSERT INTO `ospos_modules` (`name_lang_key`, `desc_lang_key`, `sort`, `module_id`) VALUES + ('module_messages', 'module_messages_desc', 100, 'messages'); + +INSERT INTO `ospos_permissions` (`permission_id`, `module_id`) VALUES + ('messages', 'messages'); + +INSERT INTO `ospos_grants` (`permission_id`, `person_id`) VALUES + ('messages', 1); \ No newline at end of file diff --git a/database/database.sql b/database/database.sql index 815759bcb..c7dca68b2 100644 --- a/database/database.sql +++ b/database/database.sql @@ -64,7 +64,12 @@ INSERT INTO `ospos_app_config` (`key`, `value`) VALUES ('decimal_point', '.'), ('currency_decimals', '2'), ('tax_decimals', '2'), -('quantity_decimals', '0'); +('quantity_decimals', '0'), +('msg_msg', ''), +('msg_uid', ''), +('msg_src', ''), +('msg_pwd', ''); + -- -------------------------------------------------------- @@ -289,12 +294,13 @@ CREATE TABLE `ospos_modules` ( -- INSERT INTO `ospos_modules` (`name_lang_key`, `desc_lang_key`, `sort`, `module_id`) VALUES -('module_config', 'module_config_desc', 100, 'config'), +('module_config', 'module_config_desc', 110, 'config'), ('module_customers', 'module_customers_desc', 10, 'customers'), ('module_employees', 'module_employees_desc', 80, 'employees'), ('module_giftcards', 'module_giftcards_desc', 90, 'giftcards'), ('module_items', 'module_items_desc', 20, 'items'), ('module_item_kits', 'module_item_kits_desc', 30, 'item_kits'), +('module_messages', 'module_messages_desc', 100, 'messages'), ('module_receivings', 'module_receivings_desc', 60, 'receivings'), ('module_reports', 'module_reports_desc', 50, 'reports'), ('module_sales', 'module_sales_desc', 70, 'sales'), @@ -365,6 +371,7 @@ INSERT INTO `ospos_permissions` (`permission_id`, `module_id`) VALUES ('giftcards', 'giftcards'), ('items', 'items'), ('item_kits', 'item_kits'), +('messages', 'messages'), ('receivings', 'receivings'), ('reports', 'reports'), ('sales', 'sales'), @@ -410,6 +417,7 @@ INSERT INTO `ospos_grants` (`permission_id`, `person_id`) VALUES ('giftcards', 1), ('items', 1), ('item_kits', 1), +('messages', 1), ('receivings', 1), ('reports', 1), ('sales', 1), diff --git a/database/migrate_phppos_dist.sql b/database/migrate_phppos_dist.sql index f15c0e291..c7a33b729 100644 --- a/database/migrate_phppos_dist.sql +++ b/database/migrate_phppos_dist.sql @@ -64,7 +64,12 @@ INSERT INTO `ospos_app_config` (`key`, `value`) VALUES ('decimal_point', '.'), ('currency_decimals', '2'), ('tax_decimals', '2'), -('quantity_decimals', '0'); +('quantity_decimals', '0'), +('msg_msg', ''), +('msg_uid', ''), +('msg_src', ''), +('msg_pwd', ''); + -- -------------------------------------------------------- @@ -289,12 +294,13 @@ CREATE TABLE `ospos_modules` ( -- INSERT INTO `ospos_modules` (`name_lang_key`, `desc_lang_key`, `sort`, `module_id`) VALUES -('module_config', 'module_config_desc', 100, 'config'), +('module_config', 'module_config_desc', 110, 'config'), ('module_customers', 'module_customers_desc', 10, 'customers'), ('module_employees', 'module_employees_desc', 80, 'employees'), ('module_giftcards', 'module_giftcards_desc', 90, 'giftcards'), ('module_items', 'module_items_desc', 20, 'items'), ('module_item_kits', 'module_item_kits_desc', 30, 'item_kits'), +('module_messages', 'module_messages_desc', 100, 'messages'), ('module_receivings', 'module_receivings_desc', 60, 'receivings'), ('module_reports', 'module_reports_desc', 50, 'reports'), ('module_sales', 'module_sales_desc', 70, 'sales'), @@ -365,6 +371,7 @@ INSERT INTO `ospos_permissions` (`permission_id`, `module_id`) VALUES ('giftcards', 'giftcards'), ('items', 'items'), ('item_kits', 'item_kits'), +('messages', 'messages'), ('receivings', 'receivings'), ('reports', 'reports'), ('sales', 'sales'), @@ -410,6 +417,7 @@ INSERT INTO `ospos_grants` (`permission_id`, `person_id`) VALUES ('giftcards', 1), ('items', 1), ('item_kits', 1), +('messages', 1), ('receivings', 1), ('reports', 1), ('sales', 1), diff --git a/database/tables.sql b/database/tables.sql index 7651a1565..8de566d84 100644 --- a/database/tables.sql +++ b/database/tables.sql @@ -64,7 +64,12 @@ INSERT INTO `ospos_app_config` (`key`, `value`) VALUES ('decimal_point', '.'), ('currency_decimals', '2'), ('tax_decimals', '2'), -('quantity_decimals', '0'); +('quantity_decimals', '0'), +('msg_msg', ''), +('msg_uid', ''), +('msg_src', ''), +('msg_pwd', ''); + -- -------------------------------------------------------- @@ -289,12 +294,13 @@ CREATE TABLE `ospos_modules` ( -- INSERT INTO `ospos_modules` (`name_lang_key`, `desc_lang_key`, `sort`, `module_id`) VALUES -('module_config', 'module_config_desc', 100, 'config'), +('module_config', 'module_config_desc', 110, 'config'), ('module_customers', 'module_customers_desc', 10, 'customers'), ('module_employees', 'module_employees_desc', 80, 'employees'), ('module_giftcards', 'module_giftcards_desc', 90, 'giftcards'), ('module_items', 'module_items_desc', 20, 'items'), ('module_item_kits', 'module_item_kits_desc', 30, 'item_kits'), +('module_messages', 'module_messages_desc', 100, 'messages'), ('module_receivings', 'module_receivings_desc', 60, 'receivings'), ('module_reports', 'module_reports_desc', 50, 'reports'), ('module_sales', 'module_sales_desc', 70, 'sales'), @@ -365,6 +371,7 @@ INSERT INTO `ospos_permissions` (`permission_id`, `module_id`) VALUES ('giftcards', 'giftcards'), ('items', 'items'), ('item_kits', 'item_kits'), +('messages', 'messages'), ('receivings', 'receivings'), ('reports', 'reports'), ('sales', 'sales'), @@ -410,6 +417,7 @@ INSERT INTO `ospos_grants` (`permission_id`, `person_id`) VALUES ('giftcards', 1), ('items', 1), ('item_kits', 1), +('messages', 1), ('receivings', 1), ('reports', 1), ('sales', 1), diff --git a/images/menubar/messages.png b/images/menubar/messages.png new file mode 100644 index 000000000..4a582a0a3 Binary files /dev/null and b/images/menubar/messages.png differ diff --git a/translations/config_lang.csv b/translations/config_lang.csv index c932cc44b..9e464ee43 100644 --- a/translations/config_lang.csv +++ b/translations/config_lang.csv @@ -92,6 +92,15 @@ config_location,Készlet,Lagerort,Stock,Inventario,Stock,Stock,Stock,Stock,Stock config_location_configuration,Készlet helye,Lagerort,Stock Locaties,Ubicación de Inventario,Stock Locations,Stock Locations,Stock Locations,Stock Locations,Stock Locations,Stock Locations,Stock Locations,Localização do Estoque,Mjesto skladišta config_location_info,Helyszin konfigurációs információk,Lagerort-Information,Instellingen Locatie,Información de Configuración de Ubicación,Location Configuration Information,Location Configuration Information,Location Configuration Information,Location Configuration Information,Location Configuration Information,Location Configuration Information,Location Configuration Information,Informações da localização,Info o lokaciji skladišta config_logout,"Nem szeretne mentést csinálni kilépés előtt? Kattintson az [OK]-ra a mentéshez, [Mégsem] a kilépéshez",Wollen Sie eine Sicherung machen vor dem Beenden? Klicke [OK] für Sicherung,Wilt u een backup maken alvorens uit te loggen?,Desea hacer un respaldo antes de salir?,"Don't you want to make a backup before logging out? Click [OK] to backup, [Cancel] to logout",Don't you want to make a backup before logging out?,Don't you want to make a backup before logging out?,Don't you want to make a backup before logging out?,Don't you want to make a backup before logging out?,Don't you want to make a backup before logging out?,Don't you want to make a backup before logging out?,Você não quer fazer uma cópia de segurança antes de sair? Clique [OK] para fazer a cópia de segurança,"Želite napraviti arhivu prije nego izađete? Pritisnite [OK] za arhivu, [Cancel] to otkazivanje." +config_message,Message,Message,Message,Message,Message,Message,Message,Message,Message,Message,Message,Message,Message +config_message_configuration,Message Configuration,Message Configuration,Message Configuration,Message Configuration,Message Configuration,Message Configuration,Message Configuration,Message Configuration,Message Configuration,Message Configuration,Message Configuration,Message Configuration,Message Configuration +config_msg_msg,Saved Text Message,Saved Text Message,Saved Text Message,Saved Text Message,Saved Text Message,Saved Text Message,Saved Text Message,Saved Text Message,Saved Text Message,Saved Text Message,Saved Text Message,Saved Text Message,Saved Text Message +config_msg_uid,"SMS-API Username","SMS-API Username","SMS-API Username","SMS-API Username","SMS-API Username","SMS-API Username","SMS-API Username","SMS-API Username","SMS-API Username","SMS-API Username","SMS-API Username","SMS-API Username","SMS-API Username" +config_msg_uid_required,"SMS-API Username is a required field","SMS-API Username is a required field","SMS-API Username is a required field","SMS-API Username is a required field","SMS-API Username is a required field","SMS-API Username is a required field","SMS-API Username is a required field","SMS-API Username is a required field","SMS-API Username is a required field","SMS-API Username is a required field","SMS-API Username is a required field","SMS-API Username is a required field","SMS-API Username is a required field" +config_msg_pwd,"SMS-API Password","SMS-API Password","SMS-API Password","SMS-API Password","SMS-API Password","SMS-API Password","SMS-API Password","SMS-API Password","SMS-API Password","SMS-API Password","SMS-API Password","SMS-API Password","SMS-API Password" +config_msg_pwd_required,"SMS-API Password is a required field","SMS-API Password is a required field","SMS-API Password is a required field","SMS-API Password is a required field","SMS-API Password is a required field","SMS-API Password is a required field","SMS-API Password is a required field","SMS-API Password is a required field","SMS-API Password is a required field","SMS-API Password is a required field","SMS-API Password is a required field","SMS-API Password is a required field","SMS-API Password is a required field" +config_msg_src,"SMS-API Sender ID","SMS-API Sender ID","SMS-API Sender ID","SMS-API Sender ID","SMS-API Sender ID","SMS-API Sender ID","SMS-API Sender ID","SMS-API Sender ID","SMS-API Sender ID","SMS-API Sender ID","SMS-API Sender ID","SMS-API Sender ID","SMS-API Sender ID" +config_msg_src_required,"SMS-API Sender ID is a required field","SMS-API Sender ID is a required field","SMS-API Sender ID is a required field","SMS-API Sender ID is a required field","SMS-API Sender ID is a required field","SMS-API Sender ID is a required field","SMS-API Sender ID is a required field","SMS-API Sender ID is a required field","SMS-API Sender ID is a required field","SMS-API Sender ID is a required field","SMS-API Sender ID is a required field","SMS-API Sender ID is a required field","SMS-API Sender ID is a required field" config_number_format,Szám formátum,Zahlenformat,Number Format,Formato de número,Number Format,Number Format,Number Format,Number Format,รูปแบบตัวเลข,Number Format,Format Nomor,Formato do número,Format broja config_phone,Cég telefonszáma,Telefon,Telefoon,Teléfono del Comercio,Company Phone,Téléphone,電話,Телефон Компании,เบอร์โทรศัพท์,Şirket Telefonu,Telepon Perusahaan,Telefone,Telefon tvrtke config_phone_required,Cég telefonszáma kötelező mező,Telefon ist erforderlich,De telefoonnummer van het bedrijf moet ingevuld worden,Teléfono del Comercio es requerido,Company phone is a required field,Le numéro de téléphone est requis,公司電話為必填,Телефон Компании обязательный пробел,เบอร์โทรต้องกรอก,Şirket Telefonu zorunlu alandır,Telepon Perusahaan wajib diisi,Telefone da Empresa é requerido,Telefon tvrtke je potreban diff --git a/translations/messages_lang.csv b/translations/messages_lang.csv new file mode 100644 index 000000000..1d7c0cc6c --- /dev/null +++ b/translations/messages_lang.csv @@ -0,0 +1,13 @@ +label,hu-HU,de-CH,nl-BE,es,en,fr,zh,ru,th,tr,id,pt-BR,hr-HR +messages_sms_send,Send SMS,Send SMS,Send SMS,Send SMS,Send SMS,Send SMS,Send SMS,Send SMS,Send SMS,Send SMS,Send SMS,Send SMS,Send SMS +messages_first_name,First name,First name,First name,First name,First name,First name,First name,First name,First name,First name,First name,First name,First name +messages_last_name,Last name,Last name,Last name,Last name,Last name,Last name,Last name,Last name,Last name,Last name,Last name,Last name,Last name +messages_phone,Phone number,Phone number,Phone number,Phone number,Phone number,Phone number,Phone number,Phone number,Phone number,Phone number,Phone number,Phone number,Phone number +messages_phone_placeholder,"Mobile Number(s) here...","Mobile Number(s) here...","Mobile Number(s) here...","Mobile Number(s) here...","Mobile Number(s) here...","Mobile Number(s) here...","Mobile Number(s) here...","Mobile Number(s) here...","Mobile Number(s) here...","Mobile Number(s) here...","Mobile Number(s) here...","Mobile Number(s) here...","Mobile Number(s) here..." +messages_phone_number_required,Phone number required,Phone number required,Phone number required,Phone number required,Phone number required,Phone number required,Phone number required,Phone number required,Phone number required,Phone number required,Phone number required,Phone number required,Phone number required +messages_message,Message,Message,Message,Message,Message,Message,Message,Message,Message,Message,Message,Message,Message +messages_message_placeholder,"Your Message here...","Your Message here...","Your Message here...","Your Message here...","Your Message here...","Your Message here...","Your Message here...","Your Message here...","Your Message here...","Your Message here...","Your Message here...","Your Message here...","Your Message here..." +messages_message_required,Message required,Message required,Message required,Message required,Message required,Message required,Message required,Message required,Message required,Message required,Message required,Message required,Message required +messages_multiple_phones,"(In case of multiple recipients, enter mobile numbers separated by commas)","(In case of multiple recipients, enter mobile numbers separated by commas)","(In case of multiple recipients, enter mobile numbers separated by commas)","(In case of multiple recipients, enter mobile numbers separated by commas)","(In case of multiple recipients, enter mobile numbers separated by commas)","(In case of multiple recipients, enter mobile numbers separated by commas)","(In case of multiple recipients, enter mobile numbers separated by commas)","(In case of multiple recipients, enter mobile numbers separated by commas)","(In case of multiple recipients, enter mobile numbers separated by commas)","(In case of multiple recipients, enter mobile numbers separated by commas)","(In case of multiple recipients, enter mobile numbers separated by commas)","(In case of multiple recipients, enter mobile numbers separated by commas)","(In case of multiple recipients, enter mobile numbers separated by commas)" +messages_successfully_sent,"Message successfully sent to: ","Message successfully sent to: ","Message successfully sent to: ","Message successfully sent to: ","Message successfully sent to: ","Message successfully sent to: ","Message successfully sent to: ","Message successfully sent to: ","Message successfully sent to: ","Message successfully sent to: ","Message successfully sent to: ","Message successfully sent to: ","Message successfully sent to: " +messages_unsuccessfully_sent,"Message unsuccessfully sent to: ","Message unsuccessfully sent to: ","Message unsuccessfully sent to: ","Message unsuccessfully sent to: ","Message unsuccessfully sent to: ","Message unsuccessfully sent to: ","Message unsuccessfully sent to: ","Message unsuccessfully sent to: ","Message unsuccessfully sent to: ","Message unsuccessfully sent to: ","Message unsuccessfully sent to: ","Message unsuccessfully sent to: ","Message unsuccessfully sent to: " diff --git a/translations/module_lang.csv b/translations/module_lang.csv index 3e2b915e9..6dbc94d4d 100644 --- a/translations/module_lang.csv +++ b/translations/module_lang.csv @@ -20,3 +20,5 @@ module_sales,Értékesítés,Verkauf,Kassa,Ventas,Sales,Ventes,出貨,Прода module_sales_desc,Termékek értékesítése és visszavétele,"Hinzufügen, Ändern, Löschen und Suchen",Verwerk aankopen en retours,Procesar ventas y devoluciones,Process sales and returns,Ventes et chiffre d'affaire,出貨與退貨,Процесс продажи и возвращается,งานขาย และ รับคืน,Satış ve iade,Proses Penjualan dan Retur,Processar vendas e devoluções,Procesi prodaje i povrata module_suppliers,Beszállítók,Lieferanten,Leveranciers,Proveedores,Suppliers,Fournisseurs,供應商,Поставщики,ผู้ผลิต,Sağlayıcılar,Pemasok,Fornecedores,Dobavljači module_suppliers_desc,"Beszállítók hozzáadása, módosítása, törlése és keresése","Hinzufügen, Ändern, Löschen und Suchen","Zoek, bewerk, verwijder en voeg leveranciers toe","Agregar, Actualizar, Borrar y Buscar proveedores","Add, Update, Delete, and Search suppliers","Ajouter, Éditer, Supprimer, et Chercher des fournisseurs",添加,更新,刪除,搜索供應商,"Добавление, обновление, удаление и поиск suppliers","เพิ่ม, อัพเดท, ลบ, และค้นหา ผู้ผลิต","Ekleme, değiştirme, silme ve arama","Tambah, Rubah, Hapus, dan Cari Pemasok","Adicionar, atualizar, excluir e Pesquisar fornecedores","Dodaj, ažuriraj, obriši ili traži dobavljače" +module_messages,Messages,Messages,Messages,Messages,Messages,Messages,Messages,Messages,Messages,Messages,Messages,Messages,Messages +module_messages_desc,"Send Messages to Customers, Suppliers, Employees et al.","Send Messages to Customers, Suppliers, Employees et al.","Send Messages to Customers, Suppliers, Employees et al.","Send Messages to Customers, Suppliers, Employees et al.","Send Messages to Customers, Suppliers, Employees et al.","Send Messages to Customers, Suppliers, Employees et al.","Send Messages to Customers, Suppliers, Employees et al.","Send Messages to Customers, Suppliers, Employees et al.","Send Messages to Customers, Suppliers, Employees et al.","Send Messages to Customers, Suppliers, Employees et al.","Send Messages to Customers, Suppliers, Employees et al.","Send Messages to Customers, Suppliers, Employees et al.","Send Messages to Customers, Suppliers, Employees et al."