Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package agama-web-ui for openSUSE:Factory checked in at 2025-09-23 16:08:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/agama-web-ui (Old) and /work/SRC/openSUSE:Factory/.agama-web-ui.new.27445 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "agama-web-ui" Tue Sep 23 16:08:00 2025 rev:28 rq:1306687 version:0 Changes: -------- --- /work/SRC/openSUSE:Factory/agama-web-ui/agama-web-ui.changes 2025-09-12 21:11:26.936081917 +0200 +++ /work/SRC/openSUSE:Factory/.agama-web-ui.new.27445/agama-web-ui.changes 2025-09-23 16:08:44.391259619 +0200 @@ -1,0 +2,6 @@ +Tue Sep 16 09:20:40 UTC 2025 - David Diaz <[email protected]> + +- Avoid missing translations due to missuse of top-level constants + (related to bsc#1248817) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ agama.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agama/package/agama-web-ui.changes new/agama/package/agama-web-ui.changes --- old/agama/package/agama-web-ui.changes 2025-09-12 10:29:35.000000000 +0200 +++ new/agama/package/agama-web-ui.changes 2025-09-16 11:46:54.000000000 +0200 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Sep 16 09:20:40 UTC 2025 - David Diaz <[email protected]> + +- Avoid missing translations due to missuse of top-level constants + (related to bsc#1248817) + +------------------------------------------------------------------- Fri Sep 12 08:14:28 UTC 2025 - Ladislav Slezák <[email protected]> - Update translations (bsc#1249378) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agama/src/components/product/ProductRegistrationPage.tsx new/agama/src/components/product/ProductRegistrationPage.tsx --- old/agama/src/components/product/ProductRegistrationPage.tsx 2025-09-12 10:29:35.000000000 +0200 +++ new/agama/src/components/product/ProductRegistrationPage.tsx 2025-09-16 11:46:54.000000000 +0200 @@ -58,13 +58,13 @@ import { isEmpty } from "radashi"; import { mask } from "~/utils"; import { sprintf } from "sprintf-js"; -import { _ } from "~/i18n"; +import { _, N_ } from "~/i18n"; const FORM_ID = "productRegistration"; -const SERVER_LABEL = _("Registration server"); -const EMAIL_LABEL = _("Email"); -const SCC_SERVER_LABEL = _("SUSE Customer Center (SCC)"); -const CUSTOM_SERVER_LABEL = _("Custom"); +const SERVER_LABEL = N_("Registration server"); +const EMAIL_LABEL = N_("Email"); +const SCC_SERVER_LABEL = N_("SUSE Customer Center (SCC)"); +const CUSTOM_SERVER_LABEL = N_("Custom"); const RegisteredProductSection = () => { const { selectedProduct: product } = useProduct(); @@ -81,7 +81,8 @@ <DescriptionListGroup> {!isEmpty(registration.url) && ( <> - <DescriptionListTerm>{SERVER_LABEL}</DescriptionListTerm> + {/* eslint-disable agama-i18n/string-literals */} + <DescriptionListTerm>{_(SERVER_LABEL)}</DescriptionListTerm> <DescriptionListDescription>{registration.url}</DescriptionListDescription> </> )} @@ -100,7 +101,8 @@ )} {!isEmpty(registration.email) && ( <> - <DescriptionListTerm>{EMAIL_LABEL}</DescriptionListTerm> + {/* eslint-disable agama-i18n/string-literals */} + <DescriptionListTerm>{_(EMAIL_LABEL)}</DescriptionListTerm> <DescriptionListDescription>{registration.email}</DescriptionListDescription> </> )} @@ -124,22 +126,29 @@ onChange, }: RegistrationServerProps): React.ReactNode { return ( - <FormGroup fieldId={id} label={SERVER_LABEL}> + <FormGroup + fieldId={id} + /* eslint-disable agama-i18n/string-literals */ + label={_(SERVER_LABEL)} + > <Select id={"server"} value={value} - label={value === "default" ? SCC_SERVER_LABEL : CUSTOM_SERVER_LABEL} + /* eslint-disable agama-i18n/string-literals */ + label={value === "default" ? _(SCC_SERVER_LABEL) : _(CUSTOM_SERVER_LABEL)} onChange={(v: ServerOption) => onChange(v)} > <SelectList aria-label={_("Server options")}> <SelectOption value="default" description={_("Register using SUSE server")}> - {SCC_SERVER_LABEL} + {/* eslint-disable agama-i18n/string-literals */} + {_(SCC_SERVER_LABEL)} </SelectOption> <SelectOption value="custom" description={_("Register using a custom registration server")} > - {CUSTOM_SERVER_LABEL} + {/* eslint-disable agama-i18n/string-literals */} + {_(CUSTOM_SERVER_LABEL)} </SelectOption> </SelectList> </Select> ++++++ agama.obsinfo ++++++ --- /var/tmp/diff_new_pack.EMxiFj/_old 2025-09-23 16:08:47.183376647 +0200 +++ /var/tmp/diff_new_pack.EMxiFj/_new 2025-09-23 16:08:47.187376815 +0200 @@ -1,5 +1,5 @@ name: agama -version: 17+347.8e874fef7 -mtime: 1757665775 -commit: 8e874fef71ddcb2fc7dae01abab0d62eaae67912 +version: 17+368.8e82ca30b +mtime: 1758016014 +commit: 8e82ca30babdfd6486f084b3521d9461f35a8576
