Bug 114155 - Localized strings not replacing English strings in EPub export dialog
Summary: Localized strings not replacing English strings in EPub export dialog
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
6.0.0.0.beta1
Hardware: All All
: medium normal
Assignee: Andras Timar
URL:
Whiteboard: target:6.0.0.1 target:6.1.0
Keywords:
Depends on:
Blocks: Not-Localizable EPUB-Export
  Show dependency treegraph
 
Reported: 2017-11-30 01:13 UTC by Martin Srebotnjak
Modified: 2017-11-30 12:32 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
English strings instead of Slovenian ones displayed (24.58 KB, image/png)
2017-11-30 01:14 UTC, Martin Srebotnjak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Srebotnjak 2017-11-30 01:13:56 UTC
Description:
In the new epub export dialog the localizable and in case of Slovenian also localized strings for 60b1 strings from /filter/source/config/fragments/filters.po do not appear in the UI; instead, the English strings are displayed.
Slovenian po files were updated on November 24 so they should contain up-to-date git state in strings and thus these localized strings should also appear in 60b2 GUI.

Steps to Reproduce:
1. Open a document in Writer (or create a new one).
2. Select "Izvozi ..." (Export...) in "Datoteka" (File) menu
3. In the filesave window select "Dokument EPUB (.epub)" as filetype ("Vrsta dokumenta") and press "Save" button.
4. The dialog box for epub export appears.

Actual Results:  
The epub export window contains English strings instead of Slovenian ones (as can be seen in the attached screenshot).

Expected Results:
Slovenian strings.


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:57.0) Gecko/20100101 Firefox/57.0
Comment 1 Martin Srebotnjak 2017-11-30 01:14:20 UTC
Created attachment 138089 [details]
English strings instead of Slovenian ones displayed
Comment 2 Martin Srebotnjak 2017-11-30 01:18:13 UTC
Sorry, I meant /writerperfect/messages.po

Here are the actual translations from that po file:
#. MZYvQ
#: exportepub.ui:8
msgctxt "exportepub|EpubDialog"
msgid "EPUB Export"
msgstr "Izvoz EPUB"

#. 2ADpr
#: exportepub.ui:91
msgctxt "exportepub|versionft"
msgid "Version:"
msgstr "Različica:"

#. 5uGCs
#: exportepub.ui:108
msgctxt "exportepub|epub3"
msgid "EPUB 3.0"
msgstr "EPUB 3.0"

#. EyGCH
#: exportepub.ui:109
msgctxt "exportepub|epub2"
msgid "EPUB 2.0"
msgstr "EPUB 2.0"

#. 6nDti
#: exportepub.ui:144
msgctxt "exportepub|splitft"
msgid "Split method:"
msgstr "Način preloma:"

#. yVSHE
#: exportepub.ui:161
msgctxt "exportepub|splitpage"
msgid "Page break"
msgstr "Prelom strani"

#. u8EWu
#: exportepub.ui:162
msgctxt "exportepub|splitheading"
msgid "Heading"
msgstr "Naslov"
Comment 3 Yousuf Philips (jay) (retired) 2017-11-30 08:50:58 UTC
Confirmed in both Slovenian and French UIs.

https://translations.documentfoundation.org/fr/translate/#search=6nDti&sfields=notes

Različica: 6.0.0.0.beta1
ID gradnje: 97471ab4eb4db4c487195658631696bb3238656c
Niti CPE: 2; Op. sistem: Linux 4.4; Upodobitev vmesnika: privzeta; VCL: gtk2; 
Področna nastavitev: en-US (en_US.UTF-8); Calc: group threaded
Comment 4 Commit Notification 2017-11-30 12:31:32 UTC
Andras Timar committed a patch related to this issue.
It has been pushed to "libreoffice-6-0":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=109f2e14a3ca7b70c9cdeb1260697e2cbfac9af8&h=libreoffice-6-0

tdf#114155 change interface domain to 'wpt'

It will be available in 6.0.0.1.

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.
Comment 5 Commit Notification 2017-11-30 12:32:58 UTC
Andras Timar committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=683288351c3f7c7bccd2947925908c748e293124

tdf#114155 change interface domain to 'wpt'

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.