Bug 380168

Summary: Broken categories in german translation
Product: [Applications] skrooge Reporter: Bernhard Scheirle <bernhard+kde>
Component: generalAssignee: Guillaume DE BURE <guillaume.debure>
Status: RESOLVED FIXED    
Severity: normal CC: lueck, stephane
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: 25.1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Bernhard Scheirle 2017-05-25 05:10:17 UTC
If you create a new document with a german ui many of the default categories are broken (they do not group correctly).

Example:
There are 5 root categories:
* Bildung
* Bildung> Bücher
* Bildung> Gebühren
* Bildung> Kredit
* Bildung> Unerricht

But it should be grouped like:
* Bildung
---* Bücher
---* Gebühren
---* Kredit
---* Unerricht

As far as I can tell the problem is that in the translation file[1] the split sequence ' > ' is not used correctly.
Sometimes there is no space before or after '>'.

Skrooge Version: 2.8.1

[1]: https://websvn.kde.org/*checkout*/trunk/l10n-kf5/de/messages/extragear-office/skrooge.po
Comment 1 Bernhard Scheirle 2017-05-25 05:19:08 UTC
Also in the category 'Sonstige  Einkommen > Steuererstattung' is a double space between 'Sonstige' and 'Einkommen'.
Comment 2 Bernhard Scheirle 2017-05-25 05:24:33 UTC
'Wages & Salary' gets translated with 'Lohne & Gehalt' and 'Lohn & Gehalt'.

'Lohne & Gehalt' should be 'Lohn & Gehalt'.
Comment 3 Bernhard Scheirle 2017-05-25 05:33:54 UTC
The line 
'Lebensmittel, Lebensmittel > Ausgehen;Essen > Lebensmittel;'

should be

'Lebensmittel; Lebensmittel > Ausgehen;Lebensmittel > Lebensmittel;'

or

'Essen; Essen > Ausgehen;Essen > Lebensmittel;'


1. wrong split character , vs ;
2. Not the same main category: either use 'Essen' or 'Lebensmittel' 

I prefer 'Essen' as main category since 'Ausgehen' doesn't work so well with 'Lebensmittel'
Comment 4 Burkhard Lück 2017-05-25 05:43:03 UTC
SVN commit 1490335 by lueck:

fix errors reported by Bernhard Scheirle, thanks

 M  +6 -6      skrooge.po  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1490335
Comment 5 Bernhard Scheirle 2017-05-25 05:44:37 UTC
'Gardening' currently gets translated with 'Gemüse'(=vegetables?!).
'Gardening' should be translated with 'Gartenarbeit' or 'Gärtnern'

--

'Gift Received' can not be found at all.

--

'Geschenke, Gesundheitswesen;' should be 'Geschenke; Gesundheitswesen;' (, vs ;)
Comment 6 Burkhard Lück 2017-05-25 06:02:44 UTC
(In reply to Bernhard Scheirle from comment #5)
> 
> 'Gift Received' can not be found at all.
> 
What is your preferred translation?
Comment 7 Burkhard Lück 2017-05-25 06:04:03 UTC
SVN commit 1490336 by lueck:

use main category 'Essen', fix Gardening reported by Bernhard Scheirle, thanks

 M  +3 -3      skrooge.po  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1490336
Comment 8 Bernhard Scheirle 2017-05-25 06:16:07 UTC
"Bekleidung, Behinderung;" -> "Bekleidung; Behinderung;" (, vs ;)

--

(In reply to Burkhard Lueck from comment #6)
> (In reply to Bernhard Scheirle from comment #5)
> > 
> > 'Gift Received' can not be found at all.
> > 
> What is your preferred translation?

I'm not sure myself, maybe split it into subcategories:
'Geschenke > Verschenkt' or 'Geschenke > Gemacht'*
'Geschenke > Erhalten'   or 'Geschenke > Bekommen'*

*: My preference

Also in in English it is not really consistent: there is 'Gift Received' and 'Income > Gifts Received'

--

And thanks for the fixes and fast reply.
Comment 9 Bernhard Scheirle 2017-05-25 06:23:53 UTC
(In reply to Burkhard Lueck from comment #7)
> SVN commit 1490336 by lueck:
> 
> use main category 'Essen', fix Gardening reported by Bernhard Scheirle,
> thanks
> 
>  M  +3 -3      skrooge.po  
> 
> 
> WebSVN link: http://websvn.kde.org/?view=rev&revision=1490336

If I understand the diff correct: In 'Lebensmittel, Essen', 'Lebensmittel, ' can also be removed.
Comment 10 Burkhard Lück 2017-05-25 09:09:11 UTC
SVN commit 1490346 by lueck:

more fixes suggested by Bernhard Scheirle, thanks

 M  +4 -3      skrooge.po  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1490346