Bug 142859 - [Japanese Localization bug] Display "D'oh! You found a bug" on help page which is Japanese Entries (bibliography) page
Summary: [Japanese Localization bug] Display "D'oh! You found a bug" on help page whic...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Localization (show other bugs)
Version:
(earliest affected)
7.2.0.0 alpha1+
Hardware: All All
: medium normal
Assignee: Julien Nabet
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-15 02:08 UTC by sawakaze
Modified: 2021-07-24 18:15 UTC (History)
3 users (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 sawakaze 2021-06-15 02:08:52 UTC
Description:
I opened web page  https://help.libreoffice.org/latest/ja/text/swriter/01/04120227.html

, following message was shown 
D'oh! You found a bug (text/swriter/00/00000404.xhp#verz37 not found).
is displayed 

note: English help web page was not confirmed this bug 
perhaps, I seem Japanese Localization Bug about help.


Steps to Reproduce:
1. open https://help.libreoffice.org/latest/ja/text/swriter/01/04120227.html


Actual Results:
display D'oh! You found a bug (text/swriter/00/00000404.xhp#verz37 not found).

Expected Results:
display description about operation as 
https://help.libreoffice.org/latest/en-US/text/swriter/01/04120227.html


Reproducible: Always


User Profile Reset: No



Additional Info:
I confirmed 

OS Linux Ubuntu x64
Web Browser : Firefox
Comment 1 Julien Nabet 2021-06-15 17:05:00 UTC
Sophie: it seems there are wrong translations about "verz" suffix.
From ja/helpcontent2/source/text/swriter/00.po
   1180 #. ghkXB
   1181 #: 00000404.xhp
   1182 msgctxt ""
   1183 "00000404.xhp\n"
   1184 "par_id3153982\n"
   1185 "help.text"
   1186 msgid "<variable id=\"verz35\">Choose <emph>Insert - Table of Contents and Index - Table of Contents, Index or Bibliography - Entries</emph> tab (when User-Defined is the selected type)</variable>"
   1187 msgstr "<variable id=\"verz32\">メニュー <emph>挿入 → 目次と索引 → 目次と索引 → 項目</emph> タブ(選択された種類が索引の場合)</variable>"
   1188 
   1189 #. Eup8R
   1190 #: 00000404.xhp
   1191 msgctxt ""
   1192 "00000404.xhp\n"
   1193 "par_id3155597\n"
   1194 "help.text"
   1195 msgid "<variable id=\"verz36\">Choose <emph>Insert - Table of Contents and Index - Table of Contents, Index or Bibliography - Entries</emph> tab (when Table of Objects is the selected type)</variable>"
   1196 msgstr "<variable id=\"verz31\">メニュー <emph>挿入 → 目次と索引 → 目次と索引 → 項目</emph> タブ(選択された種類が目次の場合) </variable>"
   1197 
   1198 #. X6HKC
   1199 #: 00000404.xhp
   1200 msgctxt ""
   1201 "00000404.xhp\n"
   1202 "par_id3145625\n"
   1203 "help.text"
   1204 msgid "<variable id=\"verz37\">Choose <emph>Insert - Table of Contents and Index - Table of Contents, Index or Bibliography - Entries</emph> tab (when Bibliography is the selected type)</variable>"
   1205 msgstr "<variable id=\"verz31\">メニュー <emph>挿入 → 目次と索引 → 目次と索引 → 項目</emph> タブ(選択された種類が目次の場合) </variable>"

On Weblate, there's also the pb, at least for verz37, see 
https://translations.documentfoundation.org/translate/libo_help-master/textswriter00/ja/?checksum=aa3b3020d7416824&q=+note%3AX6HKC+&sort_by=-priority%2Cposition)

I'm gonna try to sync verz suffix between msgstr and msgid

Olivier: I put you in cc since you're the helpcontent expert but I think it's only translation pb.
Comment 2 Julien Nabet 2021-06-15 17:17:11 UTC
Running "egrep -nR '"verz[0-9]{1}' *|cut -c1-80" on translations/source, it seems there are other languages impacted.
I fixed Japanese part, I thought about doing the same for other languages (it may take some time), ok for this?
Comment 3 Julien Nabet 2021-07-24 18:15:56 UTC
Let's put this one to FIXED since Japanese part at least should be ok.