Bug 400973 - Rename src/customization/xsl/pt_br.xml to pt-BR.xml
Summary: Rename src/customization/xsl/pt_br.xml to pt-BR.xml
Status: RESOLVED DUPLICATE of bug 290836
Alias: None
Product: frameworks-kdoctools
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.52.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Documentation Editorial Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-12 18:05 UTC by Chocimier
Modified: 2018-11-12 20:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chocimier 2018-11-12 18:05:18 UTC
SUMMARY
src/customization/xsl/pt_br.xml is wrongly named. During compilation of many applications, e.g. Kompare, it fails to load with following warnings:
[ 23%] Generating po/pt_BR/docs/kompare/index.cache.bz2
I/O warning : failed to load external entity "/usr/share/kf5/kdoctools/customization/xsl/pt-BR.xml"
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
…

When file renamed to pt-BR.xml, translated text it contains is used in documentation.
Comment 1 Yuri Chornoivan 2018-11-12 18:12:10 UTC
Git commit 54cc616215e5087ff77fb3905f98e010145c8fa9 by Yuri Chornoivan.
Committed on 12/11/2018 at 18:11.
Pushed by yurchor into branch 'master'.

Rename src/customization/xsl/pt_br.xml to pt-BR.xml

R  +0    -0    src/customization/xsl/pt-BR.xml [from: src/customization/xsl/pt_br.xml - 100% similarity]

https://commits.kde.org/kdoctools/54cc616215e5087ff77fb3905f98e010145c8fa9
Comment 2 Luigi Toscano 2018-11-12 20:56:08 UTC
Git commit e6ff3301ad27212cd584d436de30aa92881e4276 by Luigi Toscano.
Committed on 12/11/2018 at 20:55.
Pushed by ltoscano into branch 'master'.

Revert "Rename src/customization/xsl/pt_br.xml to pt-BR.xml"

This is not the right fix: this file should have the same
name as the original file from docbook-xsl.

If the fix had been easier, it would have been fixed already.
CCMAIL: yurchor@ukr.net

This reverts commit 54cc616215e5087ff77fb3905f98e010145c8fa9.

R  +0    -0    src/customization/xsl/pt_br.xml [from: src/customization/xsl/pt-BR.xml - 100% similarity]

https://commits.kde.org/kdoctools/e6ff3301ad27212cd584d436de30aa92881e4276
Comment 3 Luigi Toscano 2018-11-12 20:56:23 UTC
Not the right fix, see 290836
Comment 4 Luigi Toscano 2018-11-12 20:56:44 UTC

*** This bug has been marked as a duplicate of bug 290836 ***