mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Add labels to dashboard system counts (#6225)
* Update app_languages.php * Update system_counts.php
This commit is contained in:
@@ -299,7 +299,7 @@
|
|||||||
var system_counts_chart_context = document.getElementById('system_counts_chart').getContext('2d');
|
var system_counts_chart_context = document.getElementById('system_counts_chart').getContext('2d');
|
||||||
|
|
||||||
const system_counts_chart_data = {
|
const system_counts_chart_data = {
|
||||||
labels: ['InActive: <?php echo $domain_inactive; ?>', 'Active: <?php echo $domain_active; ?>'],
|
labels: ['<?php echo $text['label-inactive']; ?>: <?php echo $domain_inactive; ?>', '<?php echo $text['label-active']; ?>: <?php echo $domain_active; ?>'],
|
||||||
datasets: [{
|
datasets: [{
|
||||||
data: ['<?php echo $domain_inactive; ?>', '<?php echo $domain_active; ?>'],
|
data: ['<?php echo $domain_inactive; ?>', '<?php echo $domain_active; ?>'],
|
||||||
backgroundColor: [
|
backgroundColor: [
|
||||||
|
|||||||
@@ -2499,4 +2499,46 @@ $text['description-user_setting-add']['ru-ru'] = "Добавьте параме
|
|||||||
$text['description-user_setting-add']['sv-se'] = "Lägg till en inställning för denna användare.";
|
$text['description-user_setting-add']['sv-se'] = "Lägg till en inställning för denna användare.";
|
||||||
$text['description-user_setting-add']['uk-ua'] = "";
|
$text['description-user_setting-add']['uk-ua'] = "";
|
||||||
|
|
||||||
|
$text['label-active']['en-us'] = "Active";
|
||||||
|
$text['label-active']['en-gb'] = "Active";
|
||||||
|
$text['label-active']['ar-eg'] = "";
|
||||||
|
$text['label-active']['de-at'] = "Aktiv"; //copied from de-de
|
||||||
|
$text['label-active']['de-ch'] = "Aktiv"; //copied from de-de
|
||||||
|
$text['label-active']['de-de'] = "Aktiv";
|
||||||
|
$text['label-active']['es-cl'] = "";
|
||||||
|
$text['label-active']['es-mx'] = "";
|
||||||
|
$text['label-active']['fr-ca'] = "Actif";
|
||||||
|
$text['label-active']['fr-fr'] = "Actif";
|
||||||
|
$text['label-active']['he-il'] = "";
|
||||||
|
$text['label-active']['it-it'] = "Attivo";
|
||||||
|
$text['label-active']['nl-nl'] = "";
|
||||||
|
$text['label-active']['pl-pl'] = "";
|
||||||
|
$text['label-active']['pt-br'] = "";
|
||||||
|
$text['label-active']['pt-pt'] = "";
|
||||||
|
$text['label-active']['ro-ro'] = "";
|
||||||
|
$text['label-active']['ru-ru'] = "Активные";
|
||||||
|
$text['label-active']['sv-se'] = "Aktiv";
|
||||||
|
$text['label-active']['uk-ua'] = "";
|
||||||
|
|
||||||
|
$text['label-inactive']['en-us'] = "InActive";
|
||||||
|
$text['label-inactive']['en-gb'] = "InActive";
|
||||||
|
$text['label-inactive']['ar-eg'] = "";
|
||||||
|
$text['label-inactive']['de-at'] = "InAktiv"; //copied from de-de
|
||||||
|
$text['label-inactive']['de-ch'] = "InAktiv"; //copied from de-de
|
||||||
|
$text['label-inactive']['de-de'] = "InAktiv";
|
||||||
|
$text['label-inactive']['es-cl'] = "";
|
||||||
|
$text['label-inactive']['es-mx'] = "";
|
||||||
|
$text['label-inactive']['fr-ca'] = "InActif";
|
||||||
|
$text['label-inactive']['fr-fr'] = "InActif";
|
||||||
|
$text['label-inactive']['he-il'] = "";
|
||||||
|
$text['label-inactive']['it-it'] = "Non Attivo";
|
||||||
|
$text['label-inactive']['nl-nl'] = "";
|
||||||
|
$text['label-inactive']['pl-pl'] = "";
|
||||||
|
$text['label-inactive']['pt-br'] = "";
|
||||||
|
$text['label-inactive']['pt-pt'] = "";
|
||||||
|
$text['label-inactive']['ro-ro'] = "";
|
||||||
|
$text['label-inactive']['ru-ru'] = "Неактивный";
|
||||||
|
$text['label-inactive']['sv-se'] = "InAktiv";
|
||||||
|
$text['label-inactive']['uk-ua'] = "";
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user