Re: [Tails-l10n] (review patch: source string - generate lis…

Üzenet törlése

Válasz az üzenetre
Szerző: emma peel
Dátum:  
Címzett: Tails localization discussion
Régi témák: [Tails-l10n] (pull)[pt-br] release notes for 3.6.2, requirements and link correction
Tárgy: Re: [Tails-l10n] (review patch: source string - generate lists)
yo!

drebs:

> I wonder why the formatting in the originial untranslated .po files has
> a formatting problem in the bullet list:


I think the parser does not respect the text layout, the original is:

- item 1
- item 2

and so ikiwiki generates the list in HTML when rendering the page.

but the translation ends up being:

- item 1 - item 2

and so, no list is generated.

with this patch i attach, the .po files generated have one string per line and the list is displayed correctly. what i did was to add a space at the start of each list item.

i generated the .po files here, but there was a lot of spam because of rewrapping :S

>
> https://tails.boum.org/security/Numerous_security_holes_in_3.6.1/index.pt.html
> https://tails.boum.org/security/Numerous_security_holes_in_3.6.1/index.es.html
> https://tails.boum.org/security/Numerous_security_holes_in_3.6.1/index.fa.html
> https://tails.boum.org/security/Numerous_security_holes_in_3.6.1/index.it.html
>
> It's interesting, because the .en version seems to be ok:
>
> https://tails.boum.org/security/Numerous_security_holes_in_3.6.1/index.en.html
>
> Anyway, I think the translated version works fine.



From e5e0ec6cbabecee4627cc5d94f9201ddbba20c0e Mon Sep 17 00:00:00 2001
From: emma peel <emma.peel@???>
Date: Tue, 10 Apr 2018 08:54:05 +0000
Subject: [PATCH] forcing list display for layout

---
wiki/src/security/Numerous_security_holes_in_3.6.1.mdwn | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/wiki/src/security/Numerous_security_holes_in_3.6.1.mdwn b/wiki/src/security/Numerous_security_holes_in_3.6.1.mdwn
index 6c2bdfcda5..819c5af5e3 100644
--- a/wiki/src/security/Numerous_security_holes_in_3.6.1.mdwn
+++ b/wiki/src/security/Numerous_security_holes_in_3.6.1.mdwn
@@ -8,7 +8,7 @@ Several security holes that affect Tails 3.6.1 are now fixed in Tails 3.6.2.
We **strongly** encourage you to
[[upgrade to Tails 3.6.2|news/version_3.6.2]] as soon as possible.

-- Tor Browser: [MSFA 2018-10](https://www.mozilla.org/en-US/security/advisories/mfsa2018-10/)
-- Thunderbird: [[!debsa2018 4155]]
-- libicu: [[!debsa2018 4150]]
-- intel-microcode: [[!cve CVE-2017-5715]]
+ - Tor Browser: [MSFA 2018-10](https://www.mozilla.org/en-US/security/advisories/mfsa2018-10/)
+ - Thunderbird: [[!debsa2018 4155]]
+ - libicu: [[!debsa2018 4150]]
+ - intel-microcode: [[!cve CVE-2017-5715]]
--
2.11.0