Fixed various issues preventing all languages to work fine in all views (#470)

This commit is contained in:
FrancescoUK
2016-04-09 23:37:34 +01:00
parent fb16c4b65a
commit c77fa6e5c4
13 changed files with 23 additions and 23 deletions

View File

@@ -1,7 +1,7 @@
<?php
$lang["datepicker_today"] = "Hari ini";
$lang["datepicker_weekstart"] = "";
$lang["datepicker_weekstart"] = "0";
$lang["datepicker_all_time"] = "Semua Waktu";
$lang["datepicker_last_7"] = "7 Hari Terakhir";
$lang["datepicker_last_30"] = "30 Hari Terakhir";

View File

@@ -80,7 +80,7 @@ $lang["reports_summary_reports"] = "Relatório Resumido";
$lang["reports_supplied_by"] = "Fornecido por";
$lang["reports_supplier"] = "Fornecedor";
$lang["reports_suppliers"] = "Fornecedores";
$lang["reports_suppliers_summary_report"] = "Relatório Fornecedor";
$lang["reports_suppliers_summary_report"] = "Relatório Resumido Fornecedor";
$lang["reports_tax"] = "Imposto";
$lang["reports_tax_percent"] = "Percentual de Imposto";
$lang["reports_taxes"] = "Impostos";

View File

@@ -1,7 +1,7 @@
<?php
$lang["datepicker_today"] = "сегодня";
$lang["datepicker_weekstart"] = "";
$lang["datepicker_weekstart"] = "0";
$lang["datepicker_all_time"] = "за все время";
$lang["datepicker_last_7"] = "Последние 7 дней";
$lang["datepicker_last_30"] = "Последние 30 дней";

View File

@@ -1,7 +1,7 @@
<?php
$lang["datepicker_today"] = "วันนี้";
$lang["datepicker_weekstart"] = "";
$lang["datepicker_weekstart"] = "0";
$lang["datepicker_all_time"] = "เวลาทั้งหมด";
$lang["datepicker_last_7"] = "7 วันสุดท้าย";
$lang["datepicker_last_30"] = "30 วันสุดท้าย";

View File

@@ -1,7 +1,7 @@
<?php
$lang["datepicker_today"] = "Bugün";
$lang["datepicker_weekstart"] = "";
$lang["datepicker_weekstart"] = "0";
$lang["datepicker_all_time"] = "Tüm Zamanlar";
$lang["datepicker_last_7"] = "Son 7 Gün";
$lang["datepicker_last_30"] = "Son 30 Gün";

View File

@@ -1,7 +1,7 @@
<?php
$lang["datepicker_today"] = "今天";
$lang["datepicker_weekstart"] = "";
$lang["datepicker_weekstart"] = "0";
$lang["datepicker_all_time"] = "全部";
$lang["datepicker_last_7"] = "過去七天";
$lang["datepicker_last_30"] = "過去七天";

View File

@@ -7,8 +7,8 @@ $(document).ready(function()
enable_checkboxes();
enable_row_selection();
enable_search({suggest_url: '<?php echo site_url("$controller_name/suggest_search")?>',
confirm_message: '<?php echo $this->lang->line("common_confirm_search")?>'});
enable_delete('<?php echo $this->lang->line($controller_name."_confirm_delete")?>','<?php echo $this->lang->line($controller_name."_none_selected")?>');
confirm_message: "<?php echo $this->lang->line("common_confirm_search")?>"});
enable_delete("<?php echo $this->lang->line($controller_name."_confirm_delete")?>","<?php echo $this->lang->line($controller_name."_none_selected")?>");
});
function init_table_sorting()

View File

@@ -8,15 +8,15 @@ $(document).ready(function()
enable_checkboxes();
enable_row_selection();
enable_search({suggest_url: '<?php echo site_url("$controller_name/suggest_search")?>',
confirm_message: '<?php echo $this->lang->line("common_confirm_search")?>'});
enable_delete('<?php echo $this->lang->line($controller_name."_confirm_delete")?>','<?php echo $this->lang->line($controller_name."_none_selected")?>');
confirm_message: "<?php echo $this->lang->line("common_confirm_search")?>"});
enable_delete("<?php echo $this->lang->line($controller_name."_confirm_delete")?>","<?php echo $this->lang->line($controller_name."_none_selected")?>");
$('#generate_barcodes').click(function()
{
var selected = get_selected_values();
if (selected.length == 0)
{
alert('<?php echo $this->lang->line('items_must_select_item_for_barcode'); ?>');
alert("<?php echo $this->lang->line('items_must_select_item_for_barcode'); ?>");
return false;
}

View File

@@ -8,8 +8,8 @@ $(document).ready(function()
enable_checkboxes();
enable_row_selection();
enable_search({suggest_url: '<?php echo site_url("$controller_name/suggest_search")?>',
confirm_search_message: '<?php echo $this->lang->line("common_confirm_search")?>',
enable_search({suggest_url: "<?php echo site_url("$controller_name/suggest_search")?>",
confirm_search_message: "<?php echo $this->lang->line("common_confirm_search")?>",
extra_params: {
'is_deleted' : function () {
// the comparison is split in two parts: find the index of the selected and check the index against the index in the listed strings of the multiselect menu
@@ -18,15 +18,15 @@ $(document).ready(function()
}
});
enable_delete('<?php echo $this->lang->line($controller_name."_confirm_delete")?>','<?php echo $this->lang->line($controller_name."_none_selected")?>');
enable_bulk_edit('<?php echo $this->lang->line($controller_name."_none_selected")?>');
enable_delete("<?php echo $this->lang->line($controller_name."_confirm_delete")?>","<?php echo $this->lang->line($controller_name."_none_selected")?>");
enable_bulk_edit("<?php echo $this->lang->line($controller_name."_none_selected")?>");
$('#generate_barcodes').click(function()
{
var selected = get_selected_values();
if (selected.length == 0)
{
alert('<?php echo $this->lang->line('items_must_select_item_for_barcode'); ?>');
alert("<?php echo $this->lang->line("items_must_select_item_for_barcode"); ?>");
return false;
}

View File

@@ -7,9 +7,9 @@ $(document).ready(function()
enable_select_all();
enable_row_selection();
enable_search({suggest_url: '<?php echo site_url("$controller_name/suggest_search")?>',
confirm_search_message: '<?php echo $this->lang->line("common_confirm_search")?>'});
confirm_search_message: "<?php echo $this->lang->line("common_confirm_search")?>"});
enable_email('<?php echo site_url("$controller_name/mailto")?>');
enable_delete('<?php echo $this->lang->line($controller_name."_confirm_delete")?>','<?php echo $this->lang->line($controller_name."_none_selected")?>');
enable_delete("<?php echo $this->lang->line($controller_name."_confirm_delete")?>","<?php echo $this->lang->line($controller_name."_none_selected")?>");
});
function init_table_sorting()

View File

@@ -15,9 +15,9 @@ $(document).ready(function()
// hook the ajax connectors on search actions, hook a on_complete action (refresh payment summaries at page bottom)
enable_search({suggest_url: '<?php echo site_url("$controller_name/suggest_search"); ?>',
confirm_search_message: '<?php echo $this->lang->line("common_confirm_search"); ?>',
confirm_search_message: "<?php echo $this->lang->line("common_confirm_search"); ?>",
on_complete: on_complete});
enable_delete('<?php echo $this->lang->line($controller_name."_confirm_delete"); ?>', '<?php echo $this->lang->line($controller_name."_none_selected"); ?>');
enable_delete("<?php echo $this->lang->line($controller_name."_confirm_delete")?>","<?php echo $this->lang->line($controller_name."_none_selected")?>");
// when any filter is clicked and the dropdown window is closed
$('#filters').on('hidden.bs.select', function(e)

View File

@@ -7,9 +7,9 @@ $(document).ready(function()
enable_select_all();
enable_row_selection();
enable_search({suggest_url: '<?php echo site_url("$controller_name/suggest_search")?>',
confirm_search_message: '<?php echo $this->lang->line("common_confirm_search")?>'});
confirm_search_message: "<?php echo $this->lang->line("common_confirm_search")?>"});
enable_email('<?php echo site_url("$controller_name/mailto")?>');
enable_delete('<?php echo $this->lang->line($controller_name."_confirm_delete")?>','<?php echo $this->lang->line($controller_name."_none_selected")?>');
enable_delete("<?php echo $this->lang->line($controller_name."_confirm_delete")?>","<?php echo $this->lang->line($controller_name."_none_selected")?>");
});
function init_table_sorting()

View File

@@ -1,6 +1,6 @@
label,hu-HU,de-CH,nl-BE,es,en,fr,zh,ru,th,tr,id,pt-BR
datepicker_today,Ma,Heute,Vandaag,Hoy,Today,Aujourd'hui,今天,сегодня,วันนี้,Bugün,Hari ini,Hoje
datepicker_weekstart,1,1,0,0,0,1,,,,,,0
datepicker_weekstart,1,1,0,0,0,1,0,0,0,0,0,0
datepicker_all_time,Kezdetektől,Von Beginn weg,Alle,Todos,All Time,Depuis le début,全部,за все время,เวลาทั้งหมด,Tüm Zamanlar,Semua Waktu,Todos
datepicker_last_7,Utolsó 7 nap,Letzte 7 Tage,Vorige 7 Dagen,Últimos 7 Días,Last 7 Days,Ces 7 derniers jours,過去七天,Последние 7 дней,7 วันสุดท้าย,Son 7 Gün,7 Hari Terakhir,Últimos 7 Dias
datepicker_last_30,Utolsó 30 nap,Letzte 30 Tage,Vorige 30 Dagen,Últimos 30 Días,Last 30 Days,Ces 30 derniers jours,過去七天,Последние 30 дней,30 วันสุดท้าย,Son 30 Gün,30 Hari Terakhir,Últimos 30 Dias
1 label hu-HU de-CH nl-BE es en fr zh ru th tr id pt-BR
2 datepicker_today Ma Heute Vandaag Hoy Today Aujourd'hui 今天 сегодня วันนี้ Bugün Hari ini Hoje
3 datepicker_weekstart 1 1 0 0 0 1 0 0 0 0 0 0
4 datepicker_all_time Kezdetektől Von Beginn weg Alle Todos All Time Depuis le début 全部 за все время เวลาทั้งหมด Tüm Zamanlar Semua Waktu Todos
5 datepicker_last_7 Utolsó 7 nap Letzte 7 Tage Vorige 7 Dagen Últimos 7 Días Last 7 Days Ces 7 derniers jours 過去七天 Последние 7 дней 7 วันสุดท้าย Son 7 Gün 7 Hari Terakhir Últimos 7 Dias
6 datepicker_last_30 Utolsó 30 nap Letzte 30 Tage Vorige 30 Dagen Últimos 30 Días Last 30 Days Ces 30 derniers jours 過去七天 Последние 30 дней 30 วันสุดท้าย Son 30 Gün 30 Hari Terakhir Últimos 30 Dias