Bug 279559

Summary: [i18n] German version, filter: "OR" is translated to "ODER" but "OR" is needed to make the filter work
Product: [Applications] amarok Reporter: Janet <bugzilla>
Component: Collection BrowserAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED FIXED    
Severity: grave CC: nsm.nikhil, sven
Priority: NOR    
Version: 2.4.3   
Target Milestone: 2.5   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In: 2.5

Description Janet 2011-08-06 23:19:58 UTC
Version:           2.4.3 (using KDE 4.6.5) 
OS:                Linux

With German language enabled the filter conditions produced by the filter editor for the collection pane only work if you manually edit them and replace the German "UND" or "ODER" with the English "AND" or "OR". 

Reproducible: Always

Steps to Reproduce:
Switch to German language in Amarok, open the filter editor for the collection, choose two conditions and combine them with "ODER". In the filter line you get the text <condition A> ODER <condition B>. This does not work. You have to manually change "ODER" to "OR".


Expected Results:  
The combining words for the filter conditions like OR and AND should ONLY be translated in the filter editor but should be "re-translated" to English in the filter box. The filter box only accepts the English words which is good because it is common to use the English words for this.

OS: Linux (i686) release 3.0-1.slh.2-aptosid-686
Compiler: gcc
Comment 1 Myriam Schweingruber 2011-08-07 10:51:38 UTC
Ouch :(
Comment 2 Nikhil Marathe 2011-08-27 09:15:03 UTC
Git commit 318f6e3c4e07ae1006e1991dae8a2f0c30cb8dae by Nikhil Marathe.
Committed on 26/08/2011 at 12:53.
Pushed by nikhilm into branch 'master'.

Bug 279559 - EditFilterDialog i18n AND/OR fix.

Use combobox index to insert English separator instead.

BUG: 279559
REVIEW: 102443

M  +1    -1    src/dialogs/EditFilterDialog.h
M  +9    -4    src/dialogs/EditFilterDialog.cpp
M  +2    -0    ChangeLog

http://commits.kde.org/amarok/318f6e3c4e07ae1006e1991dae8a2f0c30cb8dae