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: garconAssignee: Kevin Fenzi <kevin>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: 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:
Description Flags
screenshot of an issue none

Description Aleksej Korn 2024-02-25 05:18:58 UTC
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

Comment 1 Aleksej Korn 2024-02-25 05:47:02 UTC
.desktop file name for that category is SystemConfig.directory

Comment 2 Aleksej Korn 2024-02-25 07:31:11 UTC
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

Comment 3 Aleksej Korn 2024-02-25 18:32:58 UTC
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

Comment 4 Aleksej Korn 2024-02-27 02:33:41 UTC
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.

Comment 5 Orion Poplawski 2024-03-01 04:53:13 UTC
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?

Comment 6 Kevin Fenzi 2024-03-04 18:13:36 UTC
Yeah, I guess so... I don't think I have time to do this anytime soon, but if you want to, feel free...