From 24b093f5d55d40301932b74563ef97f9e627144e Mon Sep 17 00:00:00 2001 From: PieterGit Date: Thu, 8 Nov 2018 01:02:20 +0100 Subject: [PATCH] fix for https://github.com/nightscout/cgm-remote-monitor/issues/4050 (Hyperlink to GVI explanations doesn't work anymore) --- lib/language.js | 49 +++++++++++++++-------- lib/report_plugins/glucosedistribution.js | 6 ++- 2 files changed, 37 insertions(+), 18 deletions(-) diff --git a/lib/language.js b/lib/language.js index 00086296a64..ff83a2cdc4f 100644 --- a/lib/language.js +++ b/lib/language.js @@ -11748,22 +11748,39 @@ function init() { ,bg: 'Средната промяна за час е сумата на всички промени в стойностите на КЗ за разгледания период, разделена на броя часове в периода. По-ниската стойност е по-добра' ,pl: 'Sednia całkowita godzinnych zmian jest sumą wszystkich zmian glikemii w badanym okresie, podzielonym przez liczbę godzin. Mniejsze są lepsze' } - , 'GVI and PGS are measures developed by Dexcom, detailed here.' : { - cs: 'GVI a PGS jsou měření vyvinutá společností Dexcom, podrobněji zde.' - ,he: 'GVI and PGS are measures developed by Dexcom, detailed here. ' - ,fi: 'GVI ja PGS ovat Dexcom-yrityksen kehittämiä mittaustapoja, joista voit lukea lisää täällä..' - ,it: 'GVI e PGS sono misure sviluppate da Dexcom, dettagliate qui.' - ,es: 'Variabilidad de la glucosa en sangre y el estado glucémico del paciente es un valor diseñado por Dexcom, más detalles en here.' - ,fr: 'GVI et PGS sont des mesures développées par la firme Dexcom, présentées en détail ici.' - ,ro: 'GVI și PGS sunt caracteristici de măsurare inventate de Dexcom, ale căror detalii le găsiți aici.' - ,ru: 'вариабельность гликемии и статус гликемии больного это величины, разработанные декскомом, подробнее here.' - ,nl: 'GVI en PGS zijn maten ontworpen door Dexcom, gedetaillieerde info here.' - ,zh_cn: 'GVI和PGS是由Dexcom开发的措施,详细说明 here.' - ,sv: 'GVI och PGS är värden utvecklade av Dexcom, detaljer här.' - ,de: 'GVI und PGS sind von Dexcom entwickelte Werte. Details hier.' - ,dk: 'GVI og PGS er værdier udviklet af Dexcom, detaljer her.' - ,bg: 'GVI и PGS са параметри разработени от Декском, повече детайли тук.' - ,pl: 'GVI i PGS są pomiarami opracowanymi przez Dexcom, szczegóły tutaj.' + , 'GVI (Glycemic Variability Index) and PGS (Patient Glycemic Status) are measures developed by Dexcom, detailed can be found here.' : { + cs: '">zde.' + ,he: '">here.' + ,fi: '">here.' + ,it: '">qui.' + ,es: '">here.' + ,fr: '">ici.' + ,ro: '">aici.' + ,ru: '">here.' + ,nl: '">is hier te vinden.' + ,zh_cn: '">here.' + ,sv: '">här.' + ,de: '">hier.' + ,dk: '">her.' + ,bg: '">тук.' + ,pl: '">tutaj.' } , 'Mean Total Daily Change' : { cs: 'Průměrná celková denní změna' diff --git a/lib/report_plugins/glucosedistribution.js b/lib/report_plugins/glucosedistribution.js index ad08c3084ff..e16ad104d77 100644 --- a/lib/report_plugins/glucosedistribution.js +++ b/lib/report_plugins/glucosedistribution.js @@ -32,11 +32,13 @@ glucosedistribution.html = function html(client) { '
' + '* ' + translate('This is only a rough estimation that can be very inaccurate and does not replace actual blood testing. The formula used is taken from:') + 'Nathan, David M., et al. "Translating the A1C assay into estimated average glucose values." Diabetes care 31.8 (2008): 1473-1478.' + '

' + - translate('Time in fluctuation and Time in rapid fluctuation measure the % of time during the examined period, during which the blood glucose has been changing relatively fast or rapidly. Lower values are better.') + '

' + + translate('Time in fluctuation and Time in rapid fluctuation measure the % of time during the examined period, during which the blood glucose has been changing relatively fast or rapidly. Lower values are better.') + '

' + translate('Mean Total Daily Change is a sum of the absolute value of all glucose excursions for the examined period, divided by the number of days. Lower is better.')+ '

' + translate('Mean Hourly Change is a sum of the absolute value of all glucose excursions for the examined period, divided by the number of hours in the period. Lower is better.')+ '

' + translate('Out of Range RMS is calculated by squaring the distance out of range for all glucose readings for the examined period, summing them, dividing by the count and taking the square root. This metric is similar to in-range percentage but weights readings far out of range higher. Lower values are better.')+ '

' + - translate('GVI and PGS are measures developed by Dexcom, detailed here.')+ + translate('GVI (Glycemic Variability Index) and PGS (Patient Glycemic Status) are measures developed by Dexcom, detailed can be found here.')+ '


' + translate('Filter by hours') + ':' + '
' +