Bug 1316777 - .desktop files need to be translated to distinguish docs in different languages on the desktop
Summary: .desktop files need to be translated to distinguish docs in different languag...
Keywords:
Status: NEW
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: future
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nobody
QA Contact: Ruediger Landmann
URL:
Whiteboard:
Depends On:
Blocks: 1316398
TreeView+ depends on / blocked
 
Reported: 2016-03-11 04:00 UTC by Jens Petersen
Modified: 2022-04-26 19:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Jens Petersen 2016-03-11 04:00:59 UTC
Description of problem:
Current it seems publican generates the same .desktop file fields
for all languages ie for all translations of a document.

This makes it hard (impossible) to tell which language one is
choosing when opening documentation from the desktop.

See for example bug 1316398.

Version-Release number of selected component (if applicable):
RHEL 7 docs

How reproducible:
100%

Actual results:
cat > Red_Hat_Enterprise_Linux-Release_Notes-7-ja-JP-7.desktop <<'EOF'
[Desktop Entry]
Name=Red_Hat_Enterprise_Linux 7: Release_Notes
Comment=Release Notes for Red Hat Enterprise Linux 7
Exec=xdg-open %{_docdir}/Red_Hat_Enterprise_Linux-Release_Notes-7-ja-JP-%{version}/index.html
Icon=Red_Hat_Enterprise_Linux-Release_Notes-7-ja-JP
Categories=Documentation;X-Red-Hat-Base;
Type=Application
Encoding=UTF-8
Terminal=false
EOF
```

compared to 

cat > Red_Hat_Enterprise_Linux-Release_Notes-7-en-US-7.desktop <<'EOF'
[Desktop Entry]
Name=Red_Hat_Enterprise_Linux 7: Release_Notes
Comment=Release Notes for Red Hat Enterprise Linux 7
Exec=xdg-open %{_docdir}/Red_Hat_Enterprise_Linux-Release_Notes-7-en-US-%{version}/index.html
Icon=Red_Hat_Enterprise_Linux-Release_Notes-7-en-US
Categories=Documentation;X-Red-Hat-Base;
Type=Application
Encoding=UTF-8
Terminal=false
EOF

ie the Name and Comment for the Japanese RelNotes is identical to the English one which makes it impossible to distinguish them on the desktop.

Expected results:
Red_Hat_Enterprise_Linux-Release_Notes-7-ja-JP-7.desktop should be changed to have Name and Comment based on the Japanese title for the release notes.


Note You need to log in before you can comment on or make changes to this bug.