Bug 52717 - switchdesk-kde not translated
Summary: switchdesk-kde not translated
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: switchdesk
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: Aaron Brown
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-08-28 13:49 UTC by Kjartan Maraas
Modified: 2007-04-18 16:36 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2001-08-28 14:09:21 UTC


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

Description Kjartan Maraas 2001-08-28 13:49:28 UTC
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 14:09:17 UTC
Created attachment 29895 [details]
fix for i18n in switchdesk-kde.cpp

Comment 2 Bernhard Rosenkraenzer 2001-08-28 15:37:01 UTC
Fixed in 3.9.7-1



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