From 99d9d481e4496700da8116dcff0f813cd15b8166 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ladislav=20Slez=C3=A1k?= Date: Fri, 17 Jan 2025 17:17:37 +0100 Subject: [PATCH] Small fixes --- rust/agama-lib/src/software/model.rs | 6 +++--- web/src/components/software/SoftwarePage.tsx | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/rust/agama-lib/src/software/model.rs b/rust/agama-lib/src/software/model.rs index eef0c3198c..bb290803fd 100644 --- a/rust/agama-lib/src/software/model.rs +++ b/rust/agama-lib/src/software/model.rs @@ -99,7 +99,7 @@ pub struct ResolvableParams { pub optional: bool, } -/// Resolvable list specification. +/// Repository list specification. #[derive(Deserialize, Serialize, utoipa::ToSchema)] #[serde(rename_all = "camelCase")] pub struct Repository { @@ -109,9 +109,9 @@ pub struct Repository { pub alias: String, /// repository name pub name: String, - /// Repository url + /// Repository url (raw format without expanded variables) pub url: String, - /// product directory. Do we need it? + /// product directory (currently not used, valid only for multiproduct DVDs) pub product_dir: String, /// Whether the repository is enabled pub enabled: bool, diff --git a/web/src/components/software/SoftwarePage.tsx b/web/src/components/software/SoftwarePage.tsx index a78488c115..9d77782f00 100644 --- a/web/src/components/software/SoftwarePage.tsx +++ b/web/src/components/software/SoftwarePage.tsx @@ -119,7 +119,9 @@ function SoftwarePage(): React.ReactNode { }; const ReloadSection = (): React.ReactNode => ( + // TRANSLATORS: title for an error message box, at least one repository could not be loaded + {/* TRANSLATORS: error details followed by a "Try again" link*/} {_( "Some installation repositories could not be loaded. The system cannot be installed without them.", )}{" "} @@ -130,6 +132,7 @@ function SoftwarePage(): React.ReactNode { ) : ( )}