Bug 2265872
| Summary: | garcon-4.18-fedora-menus.patch adds category Administration which doesnt have any translation | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Aleksej Korn <korn3r> | ||||
| Component: | garcon | Assignee: | Kevin Fenzi <kevin> | ||||
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | epel9 | CC: | kevin, nonamedotc, orion | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | Type: | Bug | |||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
.desktop file name for that category is SystemConfig.directory https://pastebin.com/mhxaWGhi here i compiled translations from Docuwiki translation page - it has menu entry "administration" There are not all translations, but still better than none. Lines started with # are ones that lack translation despite what i put into .desktop file posted on pastebin, icon probably should be "emblem-system", since preferences-other doesnt work very well with alternative iconpacks like papirus Installed Rocky Linux 8, and it turns out garcon for el8 DOES have this file + 1 additional file. SystemConfig.directory (Administration) https://pastebin.com/pg22JRZ2 SystemConfig-More.directory (More System Settings) https://pastebin.com/stw6kK7R Please copy those to el9 garcon too. So, garcon does not have this file. /usr/share/desktop-directories/SystemConfig.directory is provided by the redhat-menus package. This package is present in RHEL8 but not in RHEL9. Some history - garcon used to depend on redhat-menus, but dropped it because we didn't want to be dependent on possible changes in that package (see bz#750380) and in it's place provided xfce-documentation.directory (now Documentation.directory). But I'm guessing that we really should also provide an Administration.directory file as well copied from some favorite menus package. Thoughts? Yeah, I guess so... I don't think I have time to do this anytime soon, but if you want to, feel free... Latest version of Garcon (garcon-4.20.0-2.fc42.src.rpm) still has this issue. How to fix it: 1. Save directory files into source folder SystemConfig.directory (Administration) https://pastebin.com/pg22JRZ2 and SystemConfig-More.directory (More System Settings) https://pastebin.com/stw6kK7R 2. Edit spec file: spec file already provides additional "Documentationdirectory", so i just added 2 more Source files and added installation for those 2 Source1: Documentation.directory Source2: SystemConfig.directory Source3: SystemConfig-More.directory %find_lang %{name} install -pm 644 %{SOURCE1} %{buildroot}%{_datadir}/desktop-directories install -pm 644 %{SOURCE2} %{buildroot}%{_datadir}/desktop-directories install -pm 644 %{SOURCE3} %{buildroot}%{_datadir}/desktop-directories Full spec file: https://pastebin.com/J4zEJZ1c |
Created attachment 2018619 [details] screenshot of an issue Description of problem: garcon-4.18-fedora-menus.patch adds category Administration which doesnt have any translation and is not default freedesktop category Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Set any non English GUI language 2. Have firewall-config (for example) installed. firewall-config goes into Administration category Actual results: Not translated Expected results: Translation Additional info: I tried to create Administration.desktop and xfce-administration.desktop files containing single translation for my language, it didnt work [Desktop Entry] Name[ru]=Администрирование Name=Administration # Translators: Do NOT translate or transliterate this text (this is an icon file name)! Icon=preferences-other Type=Directory