Bug 313899

Summary: fix fetch_l10n.rb to work with ruby 1.9
Product: [Applications] digikam Reporter: S. Burmeister <sven.burmeister>
Component: Portability-CompilationAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 3.0.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 3.0.0

Description S. Burmeister 2013-01-25 20:16:19 UTC
Many current distros ship ruby 1.9 yet digikam seems to not support checking out translations on systems with ruby 1.9.

 ./project/release/fetch_l10n.rb:49:in `<main>': undefined method `each' for #<String:0x00000002298928> (NoMethodError)

Reproducible: Always
Comment 1 S. Burmeister 2013-01-26 08:39:46 UTC
line 49 needs to be changed to:

i18nlangs.each_line do |lang|
Comment 2 caulier.gilles 2013-01-26 09:35:41 UTC
Git commit 11393e6591145066af72d48a63761f14f74d5871 by Gilles Caulier.
Committed on 26/01/2013 at 10:34.
Pushed by cgilles into branch 'master'.

fix syntax to handle language list properly with new Ruby version

M  +1    -1    project/release/fetch_l10n.rb

http://commits.kde.org/scratch/mwiesweg/digikam-sc/11393e6591145066af72d48a63761f14f74d5871