(Re-sending from a different email alias -- the previous one didn't seem
to go through, likely because I sent it from an address not subscribed to
the list. Sorry if you are receiving duplicates.)
Hi,
> ------------------ Original ------------------
> From: "dmtrs32 dmtrs32" <dmtrs32@gmail.com>;
> To: "LibreOffice-l10n"<l10n@global.libreoffice.org>;
> Subject: [libreoffice-l10n] 05140100.xhp -- LibreOffice Help - master text/shared/01
>
> Could somebody clarify this:
>
> Create new <switchinline select="appl"><caseinline select="WRITER">paragraph,
> character, frame, page, list, and table</caseinline><caseinline
> select="CALC">cell and page</caseinline><defaultinline>graphic
> </defaultinline></switchinline>styles<switchinline select="appl"><caseinline
> select="WRITER">from objects that are formatted manually to the new style
> that you want to create.</caseinline><caseinline select="CALC">from
> manually modified cell or page formatting.</caseinline><defaultinline>from
> objects that you have formatted manually to the new style that you want to
> create.</defaultinline></switchinline>
This is LibreOffice Help XML's way of writing an if-elseif-else structure to enumerate
all different cases. In more readable pseudocode:
if "shown in Writer Help":
display "Create new paragraph, character, frame, page, list, and table styles from objects that are formatted manually to the new style that you want to create."
else if "shown in Calc Help":
display "Create new cell and page styles from manually modified cell or page formatting."
else:
display "Create new graphic styles from objects that you have formatted manually to the new style that you want to create."
I don't know exactly why the English original is constructed in such a splintered way,
but it won't hurt if you just use three different full sentences in your translation. Just
be careful to put the proper XML tags in the correct places, as they won't match the
ones in English (perhaps Weblate and other tools will also complain that the tags
don't match).
> Thanks
Hope this helps,
Ming