Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localization update of entries in desktop/cups.desktop file #1920

Closed
michaelrsweet opened this issue Aug 18, 2006 · 4 comments
Closed

Localization update of entries in desktop/cups.desktop file #1920

michaelrsweet opened this issue Aug 18, 2006 · 4 comments
Milestone

Comments

@michaelrsweet
Copy link
Collaborator

Version: 1.2.2
CUPS.org User: SirYes

The CUPS package contains a handy shortcut "Manage Printing" for Linux desktops (KDE/GNOME). In the source tree it's the 'desktop/cups.desktop' file and it instructs to exec 'htmlview http://localhost:631/'. However, its Name and Comment entries are translated only to Spanish (apart from English, of course). Which is a bit odd, since the rest of the Web interface is neatly translated into several other languages.

I've checked the cups-1.2.1, 1.2.2 and 1.3svn-r5823 versions and the file in question is the same in all releases. I've been told [1] to bring this problem to the CUPS developers and so I do. I already created a patch [2] against cups-1.2.1, but I regenerated it against cups-1.2.2.

The attached patch adds two entries ("Name[pl]=" and "Comment[pl]=") to the 'cups.desktop' file, along with translated text. Please review the patch and apply against the aforementioned versions if possible. Also note that the included patch is encoded in UTF-8.

With best regards,
Wiktor Wandachowicz

PS.
It also may be of benefit to add further translated entries to this .desktop file. Please consider adding the 'cups.desktop' to the list of files that should be translated with every CUPS revision.

[1] https://bugs.gentoo.org/show_bug.cgi?id=137934
[2] https://bugs.gentoo.org/attachment.cgi?id=90102

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: genstef

Hi, can you please also change htmlview to xdg-open in the .desktop file while at it? xdg-open is provided by the portland freedesktop project in the new xdg utils package. It seems more standard than htmlview to me. Thanks

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

We probably won't change to xdg-open right now; it is possible we can check for it at configure time, however I'm not aware of any OS that provides the xdg-open program standard, and until we see wider adoption of xdg-open it doesn't make any sense to switch... htmlview is pretty much universally available on Linux...

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Fixed in Subversion repository.

I also updated the translation guide to include the desktop file...

@michaelrsweet
Copy link
Collaborator Author

"cups-1.2.2-desktop.diff":

--- cups-1.2.2/desktop/cups.desktop.orig 2006-03-29 23:05:17.000000000 +0200
+++ cups-1.2.2/desktop/cups.desktop 2006-08-19 00:08:45.000000000 +0200
@@ -19,3 +19,5 @@ X-KDE-SubstituteUID=false
X-KDE-Username=
Name[es]=Administrar impresión
Comment[es]=Interfaz Web de CUPS
+Name[pl]=Zarz�dzanie drukowaniem
+Comment[pl]=Interfejs WWW CUPS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant