Bug 293852

Summary: ItemCreator::classNameTr() doesn't return translated names
Product: [Applications] step Reporter: Lasse Liehu <lasse.liehu>
Component: generalAssignee: Vladimir Kuznetsov <ks.vladimir>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 0.1.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 4.10
Sentry Crash Report:

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