Download it now!
Bug 116745 - [NEWHELP] extract <object> from help files to Pootle and back
Summary: [NEWHELP] extract <object> from help files to Pootle and back
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
6.1.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:6.1.0
Keywords:
Depends on:
Blocks: New-Help
  Show dependency treegraph
 
Reported: 2018-04-02 09:54 UTC by Olivier Hallot
Modified: 2018-05-07 19:08 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Hallot 2018-04-02 09:54:47 UTC
The <object/> tag is now enabled in help files (XHP) and points to objects such as external videos, files to download or more generic objects.

The @data attribute of <object> may point to different object depending on the language of the help files. For example, an external video can have a localized version for the language.

We need to extract the <object> tag from the help files and place it in Pootle for translation and put it back in the localized files.

Reference for <object> tag:
https://wiki.documentfoundation.org/Documentation/Understanding,_Authoring_and_Editing_Openoffice.org_Help/3#object

Example external video:
<object id="vid_id61521568603544" data="https://www.youtube-nocookie.com/embed/3KC0ZdcA6s8?rel=0" type="video/youtube> width="560px" height="315px"/>

Example donwloadable file:
<object data="media/files/scalc/imtrigon.ods" id="ods_id61521568603544" 
type="application/vnd.oasis.opendocument.spreadsheet" />
Comment 1 Commit Notification 2018-05-07 19:06:59 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=42b8d1c00e83c3907da7d14d21ebc0d203233a78

tdf#116745 handle <object> element when localizing

It will be available in 6.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.