Bug 293852 - ItemCreator::classNameTr() doesn't return translated names
Summary: ItemCreator::classNameTr() doesn't return translated names
Status: RESOLVED FIXED
Alias: None
Product: step
Classification: Applications
Component: general (show other bugs)
Version: 0.1.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Vladimir Kuznetsov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-11 18:27 UTC by Lasse Liehu
Modified: 2012-11-30 01:14 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.10


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lasse Liehu 2012-02-11 18:27:55 UTC
Version:           0.1.0 (using Devel) 
OS:                Linux

Many translatable class names seem to have "ObjectClass" as their disambiguation string and so ItemCreator::classNameTr() in step/step/worldgraphics.h doesn't find a translation, at least in some cases.

Reproducible: Always

Steps to Reproduce:
1. Open step, using x-test as primary language
2. Click on xxDiskxx on xxPalettexx

Actual Results:  
"xxPress left mouse button to position a center of a Diskxx" is shown.

Expected Results:  
"xxPress left mouse button to position a center of a xxDiskxxxx" is shown.
Comment 1 Lasse Liehu 2012-11-30 01:14:57 UTC
Git commit 374534c2ac9693f3799fea4155d6faa269662f1e by Lasse Liehu.
Committed on 30/11/2012 at 02:05.
Pushed by lliehu into branch 'master'.

Fix showing of translated names with ObjectClass as context
FIXED-IN: 4.10

M  +1    -1    step/worldgraphics.h

http://commits.kde.org/step/374534c2ac9693f3799fea4155d6faa269662f1e