mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-06 08:24:46 +00:00
Opening the popover no longer forces a vendor fetch; it shows the cached report. A Refresh control force-refreshes only this report (usage.list_reports with its single ID and forceRefresh), shows Refreshing... while it runs, keeps the previous report visible, and says "Unable to refresh usage" if the request fails.
19 lines
622 B
TypeScript
19 lines
622 B
TypeScript
// User-facing copy for the usage surfaces, kept in one file so localization is a
|
|
// single-file change.
|
|
export const usageCopy = {
|
|
title: "Usage",
|
|
planUsage: "Plan usage",
|
|
refresh: "Refresh",
|
|
refreshing: "Refreshing...",
|
|
refreshFailed: "Unable to refresh usage",
|
|
updated: "Updated",
|
|
loading: "Loading usage...",
|
|
empty: "No usage data",
|
|
noHosts: "No connected hosts",
|
|
errorTitle: "Unable to load usage",
|
|
hostUnavailable: "Connect to this host to see usage",
|
|
hostUpgradeRequired: "Update the host to see usage",
|
|
clientUnavailable: "Host connection is not ready",
|
|
retry: "Try again",
|
|
} as const;
|