🌐 localize product update empty text

This commit is contained in:
Fred KISSIE
2025-11-08 00:57:07 +01:00
parent 579a4e1021
commit 0e7f5b1aef
2 changed files with 2 additions and 1 deletions

View File

@@ -1283,6 +1283,7 @@
"productUpdateInfo": "{noOfUpdates} updates", "productUpdateInfo": "{noOfUpdates} updates",
"productUpdateWhatsNew": "What's New", "productUpdateWhatsNew": "What's New",
"productUpdateTitle": "Product Updates", "productUpdateTitle": "Product Updates",
"productUpdateEmpty": "No updates",
"dismissAll": "Dismiss all", "dismissAll": "Dismiss all",
"pangolinUpdateAvailable": "New version available", "pangolinUpdateAvailable": "New version available",
"pangolinUpdateAvailableInfo": "Version {version} is ready to install", "pangolinUpdateAvailableInfo": "Version {version} is ready to install",

View File

@@ -230,7 +230,7 @@ function ProductUpdatesListPopup({
<ol className="p-3 flex flex-col gap-1 max-h-112 overflow-y-auto"> <ol className="p-3 flex flex-col gap-1 max-h-112 overflow-y-auto">
{updates.length === 0 && ( {updates.length === 0 && (
<small className="border rounded-md flex p-4 border-dashed justify-center items-center text-muted-foreground"> <small className="border rounded-md flex p-4 border-dashed justify-center items-center text-muted-foreground">
No updates {t("productUpdateEmpty")}
</small> </small>
)} )}
{updates.map((update) => ( {updates.map((update) => (