- {t('card.notPolledYet', { refreshLabel: t('card.refresh') })} + {isAdmin ? t('card.notPolledYet', { refreshLabel: t('card.refresh') }) : t('card.notPolledYetAutomatic')}
)} diff --git a/apps/web/src/messages/de.json b/apps/web/src/messages/de.json index 6dd0303..d7b3bcd 100644 --- a/apps/web/src/messages/de.json +++ b/apps/web/src/messages/de.json @@ -713,6 +713,7 @@ "unknownValue": "unbekannt", "lastPolledLabel": "Letzte Abfrage", "notPolledYet": "Noch keine Abfrage gelaufen. Klicken Sie oben auf „{refreshLabel}“.", + "notPolledYetAutomatic": "Noch keine Abfrage gelaufen. Die Werte erscheinen nach der nächsten automatischen Abfrage.", "lastOkLabel": "Letzte erfolgreiche Messung", "refresh": "Jetzt aktualisieren", "refreshing": "Wird aktualisiert...", diff --git a/apps/web/src/messages/en.json b/apps/web/src/messages/en.json index 1f67f97..898f609 100644 --- a/apps/web/src/messages/en.json +++ b/apps/web/src/messages/en.json @@ -713,6 +713,7 @@ "unknownValue": "unknown", "lastPolledLabel": "Last poll", "notPolledYet": "No poll has run yet. Click \"{refreshLabel}\" above.", + "notPolledYetAutomatic": "No poll has run yet. The values will appear after the next automatic poll.", "lastOkLabel": "Last successful measurement", "refresh": "Refresh now", "refreshing": "Refreshing...",