Bug 52717 - switchdesk-kde not translated
switchdesk-kde not translated
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: switchdesk (Show other bugs)
7.3
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
Aaron Brown
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-08-28 09:49 EDT by Kjartan Maraas
Modified: 2007-04-18 12:36 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-08-28 10:09:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
fix for i18n in switchdesk-kde.cpp (3.58 KB, patch)
2001-08-28 10:09 EDT, Kjartan Maraas
no flags Details | Diff

  None (edit)
Description Kjartan Maraas 2001-08-28 09:49:28 EDT
Description of Problem:

switchdesk-kde is not translated at all.

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

CVS

How Reproducible:

Very

Steps to Reproduce:
1. start the app
2. 
3. 

Actual Results:

All english strings

Expected Results:

Translated strings

Additional Information:
	
I've been looking at the souce for this in switchdesk-kde.cpp and it does
some fairly dubious things. At least they seem to be to me :)

it uses

#define i18n(x) tr(x)

and then marks strings for translation like this

QString dispStr = i18n("Desktop Switcher");

This seems totally wrong to me. Why doesn't it just use the standard
gettext stuff? The strings don't even end up in the .pot file like this so
there's no chance this will work.
Comment 1 Kjartan Maraas 2001-08-28 10:09:17 EDT
Created attachment 29895 [details]
fix for i18n in switchdesk-kde.cpp
Comment 2 Bernhard Rosenkraenzer 2001-08-28 11:37:01 EDT
Fixed in 3.9.7-1

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