From ab0e4faa94d6d8c78a233c38306e27fe7672cabe Mon Sep 17 00:00:00 2001 From: AlexC <40072887+alexdcrane@users.noreply.github.com> Date: Tue, 4 Jan 2022 20:48:35 -0700 Subject: [PATCH] Add labels to dashboard system counts (#6225) * Update app_languages.php * Update system_counts.php --- .../resources/dashboard/system_counts.php | 2 +- core/user_settings/app_languages.php | 42 +++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/app/system/resources/dashboard/system_counts.php b/app/system/resources/dashboard/system_counts.php index 30a23fe4c7..b56530b97c 100644 --- a/app/system/resources/dashboard/system_counts.php +++ b/app/system/resources/dashboard/system_counts.php @@ -299,7 +299,7 @@ var system_counts_chart_context = document.getElementById('system_counts_chart').getContext('2d'); const system_counts_chart_data = { - labels: ['InActive: ', 'Active: '], + labels: [': ', ': '], datasets: [{ data: ['', ''], backgroundColor: [ diff --git a/core/user_settings/app_languages.php b/core/user_settings/app_languages.php index 714a717fff..71076e0d81 100644 --- a/core/user_settings/app_languages.php +++ b/core/user_settings/app_languages.php @@ -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']['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'] = ""; + ?>