Re: [libreoffice-l10n] Bad XML introduced in weblate / Guides

2024-04-14 Thread sophi

Hi Olivier,
Le 12/04/2024 à 20:50, Olivier Hallot a écrit :

Hi

I was testing the French translation of the Calc Guide in weblate and 
found a strange or buggy behaviour of weblate in French.


https://translations.documentfoundation.org/translate/user-guides-experiment/calc-guide-24/cg2400-preface/fr/?checksum=582f44377d94f7e3

On saving the string, weblate adds a space before all colons (:) inside 
the tags, which breaks the XML.


If I'm not mistaken, that must be fixed. XML must be preserved as-is.

Tested with Firefox and Brave.

The issue does not show in pt-BR.



You have to add a flag: ignore-punctuation-spacing to the string, so the 
double space will be ignore. It only happens for French (if I remember 
well) and will be fixed in the next version.


Cheers
Sophie

--
Sophie Gautier so...@libreoffice.org
GSM: +33683901545
IRC: soph
Foundation coordinator
The Document Foundation


--
To unsubscribe e-mail to: l10n+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/l10n/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-l10n] Bad XML introduced in weblate / Guides

2024-04-12 Thread Gerhard Weydt

Hi Olivier,

inserting a space before a colon is correct for the French language, 
LibO does that in Writer, but of course not appropriate for XML code. 
The feature should be restricted to the text portions.


Gerhard

Am 12.04.2024 um 20:50 schrieb Olivier Hallot:

Hi

I was testing the French translation of the Calc Guide in weblate and 
found a strange or buggy behaviour of weblate in French.


https://translations.documentfoundation.org/translate/user-guides-experiment/calc-guide-24/cg2400-preface/fr/?checksum=582f44377d94f7e3 



On saving the string, weblate adds a space before all colons (:) 
inside the tags, which breaks the XML.


If I'm not mistaken, that must be fixed. XML must be preserved as-is.

Tested with Firefox and Brave.

The issue does not show in pt-BR.



--
To unsubscribe e-mail to: l10n+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/l10n/
Privacy Policy: https://www.documentfoundation.org/privacy


[libreoffice-l10n] Bad XML introduced in weblate / Guides

2024-04-12 Thread Olivier Hallot

Hi

I was testing the French translation of the Calc Guide in weblate and 
found a strange or buggy behaviour of weblate in French.


https://translations.documentfoundation.org/translate/user-guides-experiment/calc-guide-24/cg2400-preface/fr/?checksum=582f44377d94f7e3

On saving the string, weblate adds a space before all colons (:) inside 
the tags, which breaks the XML.


If I'm not mistaken, that must be fixed. XML must be preserved as-is.

Tested with Firefox and Brave.

The issue does not show in pt-BR.
--
Olivier Hallot
LibreOffice Documentation Coordinator
Rio de Janeiro - Brasil - Local Time: UTC-03:00
LibreOffice – free and open source office suite: https://www.libreoffice.org
Respects your privacy, and gives you back control over your data
http://tdf.io/joinus

--
To unsubscribe e-mail to: l10n+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/l10n/
Privacy Policy: https://www.documentfoundation.org/privacy