Re: Fixing crash bug in German translation.

Marcus Priesch via Roundup-devel <[email protected]> Thu, 8 Aug 2024 10:38:18 +0200
Newsgroups gmane.comp.bug-tracking.roundup.devel
Organization priesch.co.at - open source consulting
Message-ID <[email protected]>
Hi there,

for me the english translation of the german phrase

> "Sie sind nicht berechtigt, die Aktion(en) %(action)s auf die Klasse"
> "%(classname)s anzuwenden."

would be something like this:

"You are not allowed to apply %(action)s on class %(class)s"

So basically it is written to also contain the requested action, whereas
the original string only references the class and hardcodes the actions
"retire" and "restore"

original: "You do not have permission to retire or restore the
%(classname)s class."

according to the error:

> The translation in the following pair references the %(action)s 
> variable that doesn't exist in the scope of the translation call.

the "action" variable is simply not defined at this point in the code.

hope this helps,
marcus.