Subject: bug#44455: closed (Re: bug#44455: [ARTWORK] website: Not enough context for translation of None)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 06 Nov 2020 10:43:01 +0000

Your bug report

#44455: [ARTWORK] website: Not enough context for translation of None

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
44455: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44455
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#44455: [ARTWORK] website: Not enough context for translation of None
From: "pelzflorian (Florian Pelz)" <[email-masked]>
To: Miguel Ángel Arruga Vivas <[email-masked]>
Cc: [email-masked]
Date: Fri, 6 Nov 2020 11:42:46 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

On Thu, Nov 05, 2020 at 06:51:20PM +0100, Miguel Ángel Arruga Vivas wrote:
> Feel free to push these three together with the one for
> German when you have it ready.

Pushed as fc8ec5409bd3d7221afc2f9feaac4ce36d5c1192 and following.
Thank you for doing the work and thinking it through!

Regards,
Florian

Subject: [ARTWORK] website: Not enough context for translation of None
From: Miguel Ángel Arruga Vivas <[email-masked]>
To: [email-masked]
Cc: "pelzflorian \(Florian Pelz\)" <[email-masked]>
Date: Wed, 04 Nov 2020 23:52:33 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

The string "None" does not have enough context and can lead to wrong
translations, as the word or even the gender may differ for each one.
This change also will invalidate the current translation.

The code fragment where it is used is included as reported in other
thread:

"pelzflorian (Florian Pelz)" <[email-masked]> writes:
>> (define (patches->shtml patches)
>> "Return an SHTML representation of PATCHES.
>>
>>  PATCHES (list)
>>    A list of <link> objects as defined in (apps packages types)
>>    module.
>>
>>  RETURN (shtml)
>>    If the list of patches is empty, return the string 'None'.
>>    Otherwise, return a list of links to patches."
>> (if (null? patches)
>>     (G_ "None")
>>     […]
>
>> (define (supported-systems->shtml package)
>>   "Return a list of SHTML a links to SYSTEMS builds.
>> […]
>>     (if (null? systems)
>>         (G_ "None")
>>         […]