Changeset 759

Show
Ignore:
Timestamp:
09/01/08 15:01:30 (3 months ago)
Author:
markku
Message:

* Updated the Finnish rails translations for rails 2.1.0 and gettext
1.92.0.
* Minor changes in the binary data column test.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/rails2.1/po/fi_FI/rails.po

    r374 r759  
    66# 
    77# Jarmo Hekkanen <jarmo.hekkanen@norfello.com>, 2007. 
     8# Markku Oksanen <markku.oksanen@norfello.com>, 2008. 
    89# 
    910msgid "" 
     
    1920"Plural-Forms: nplurals=2; plural=(n != 1);\n" 
    2021 
    21 #: lib/gettext/rails.rb:271 
     22#: lib/gettext/rails.rb:308 
    2223msgid "%{num} error prohibited this %{record} from being saved" 
    2324msgid_plural "%{num} errors prohibited this %{record} from being saved" 
    2425msgstr[0] "Virhe esti tÀmÀn tiedon tallentamisen" 
    25 msgstr[1] "%{num} virhettÀ esti tÀmÀn tiedon tallentamisen" 
     26msgstr[1] "%{num} virhettÀ estivÀt tÀmÀn tiedon tallentamisen" 
    2627 
    27 #: lib/gettext/rails.rb:273 
     28#: lib/gettext/rails.rb:310 
    2829msgid "There was a problem with the following field:" 
    2930msgid_plural "There were problems with the following fields:" 
     
    3132msgstr[1] "Seuraavien kenttien kanssa oli ongelmia:" 
    3233 
    33 #: lib/gettext/rails.rb:360 
     34#: lib/gettext/rails.rb:416 
    3435msgid "less than 5 seconds" 
    3536msgstr "vÀhemmÀn kuin 5 sekuntia" 
    3637 
    37 #: lib/gettext/rails.rb:360 
     38#: lib/gettext/rails.rb:416 
    3839msgid "less than 10 seconds" 
    3940msgstr "vÀhemmÀn kuin 10 sekuntia" 
    4041 
    41 #: lib/gettext/rails.rb:360 
     42#: lib/gettext/rails.rb:416 
    4243msgid "less than 20 seconds" 
    4344msgstr "vÀhemmÀn kuin 20 sekuntia" 
    4445 
    45 #: lib/gettext/rails.rb:361 
     46#: lib/gettext/rails.rb:417 
    4647msgid "half a minute" 
    4748msgstr "puoli minuuttia" 
    4849 
    49 #: lib/gettext/rails.rb:361 
     50#: lib/gettext/rails.rb:417 
    5051msgid "less than a minute" 
    5152msgstr "vÀhemmÀn kuin minuutti" 
    5253 
    53 #: lib/gettext/rails.rb:362 
     54#: lib/gettext/rails.rb:417 
     55msgid "about 1 month" 
     56msgstr "noin 1 kuukausi" 
     57 
     58#: lib/gettext/rails.rb:418 
     59msgid "about 1 year" 
     60msgstr "noin 1 vuosi" 
     61 
     62#: lib/gettext/rails.rb:419 
    5463msgid "1 minute" 
    5564msgid_plural "%{num} minutes" 
     
    5766msgstr[1] "%{num} minuuttia" 
    5867 
    59 #: lib/gettext/rails.rb:363 
     68#: lib/gettext/rails.rb:420 
    6069msgid "about 1 hour" 
    6170msgid_plural "about %{num} hours" 
     
    6372msgstr[1] "noin %{num} tuntia" 
    6473 
    65 #: lib/gettext/rails.rb:364 
     74#: lib/gettext/rails.rb:421 
    6675msgid "1 day" 
    6776msgid_plural "%{num} days" 
     
    6978msgstr[1] "%{num} pÀivÀÀ" 
    7079 
    71 #: lib/gettext/active_record.rb:166 
     80#: lib/gettext/rails.rb:422 
     81msgid "1 month" 
     82msgid_plural "%{num} months" 
     83msgstr[0] "1 kuukausi" 
     84msgstr[1] "%{num} kuukautta" 
     85 
     86#: lib/gettext/rails.rb:423 
     87msgid "over 1 year" 
     88msgid_plural "over %{num} years" 
     89msgstr[0] "yli 1 vuosi" 
     90msgstr[1] "yli %{num} vuotta" 
     91 
     92#: lib/gettext/active_record.rb:28 
     93msgid "Validation failed: %{error_messages}" 
     94msgstr "Validointi epÀonnistui: %{error_messages}" 
     95 
     96#: lib/gettext/active_record.rb:219 
    7297msgid "%{fn} is not included in the list" 
    7398msgstr "%{fn} ei sisÀlly listaan" 
    7499 
    75 #: lib/gettext/active_record.rb:167 
     100#: lib/gettext/active_record.rb:220 
    76101msgid "%{fn} is reserved" 
    77102msgstr "%{fn} on varattu" 
    78103 
    79 #: lib/gettext/active_record.rb:168 
     104#: lib/gettext/active_record.rb:221 
    80105msgid "%{fn} is invalid" 
    81106msgstr "%{fn} on epÀkelpo" 
    82107 
    83 #: lib/gettext/active_record.rb:169 
     108#: lib/gettext/active_record.rb:222 
    84109msgid "%{fn} doesn't match confirmation" 
    85110msgstr "%{fn} ei vastaa varmistusta" 
    86111 
    87 #: lib/gettext/active_record.rb:170 
     112#: lib/gettext/active_record.rb:223 
    88113msgid "%{fn} must be accepted" 
    89114msgstr "%{fn} tÀytyy olla hyvÀksytty" 
    90115 
    91 #: lib/gettext/active_record.rb:171 
     116#: lib/gettext/active_record.rb:224 
    92117msgid "%{fn} can't be empty" 
    93118msgstr "%{fn} ei voi olla tyhjÀ" 
    94119 
    95 #: lib/gettext/active_record.rb:172 
     120#: lib/gettext/active_record.rb:225 
    96121msgid "%{fn} can't be blank" 
    97122msgstr "%{fn} ei voi olla tyhjÀ" 
    98123 
    99 #: lib/gettext/active_record.rb:173 
     124#: lib/gettext/active_record.rb:226 
    100125msgid "%{fn} is too long (maximum is %d characters)" 
    101126msgstr "%{fn} on liian pitkÀ (maksimi on %d merkkiÀ)" 
    102127 
    103 #: lib/gettext/active_record.rb:174 
     128#: lib/gettext/active_record.rb:227 
    104129msgid "%{fn} is too short (minimum is %d characters)" 
    105130msgstr "%{fn} on liian lyhyt (minimi on %d merkkiÀ)" 
    106131 
    107 #: lib/gettext/active_record.rb:175 
     132#: lib/gettext/active_record.rb:228 
    108133msgid "%{fn} is the wrong length (should be %d characters)" 
    109134msgstr "%{fn} on vÀÀrÀn pituinen (oikea pituus on %d merkkiÀ)" 
    110135 
    111 #: lib/gettext/active_record.rb:176 
     136#: lib/gettext/active_record.rb:229 
    112137msgid "%{fn} has already been taken" 
    113138msgstr "%{fn} on jo varattu" 
    114139 
    115 #: lib/gettext/active_record.rb:177 
     140#: lib/gettext/active_record.rb:230 
    116141msgid "%{fn} is not a number" 
    117142msgstr "%{fn} ei ole numero" 
    118143 
     144#: lib/gettext/active_record.rb:231 
     145msgid "%{fn} must be greater than %d" 
     146msgstr "%{fn} tÀytyy olla suurempi kuin %d" 
     147 
     148#: lib/gettext/active_record.rb:232 
     149msgid "%{fn} must be greater than or equal to %d" 
     150msgstr "%{fn} tÀytyy olla suurempi tai yhtÀ suuri kuin %d" 
     151 
     152#: lib/gettext/active_record.rb:233 
     153msgid "%{fn} must be equal to %d" 
     154msgstr "%{fn} tÀytyy olla yhtÀ suuri kuin %d" 
     155 
     156#: lib/gettext/active_record.rb:234 
     157msgid "%{fn} must be less than %d" 
     158msgstr "%{fn} tÀytyy olla pienempi kuin %d" 
     159 
     160#: lib/gettext/active_record.rb:235 
     161msgid "%{fn} must be less than or equal to %d" 
     162msgstr "%{fn} tÀytyy olla pienempi tai yhtÀ suuri kuin %d" 
     163 
     164#: lib/gettext/active_record.rb:236 
     165msgid "%{fn} must be odd" 
     166msgstr "%{fn} tÀytyy olla pariton" 
     167 
     168#: lib/gettext/active_record.rb:237 
     169msgid "%{fn} must be even" 
     170msgstr "%{fn} tÀytyy olla parillinen" 
  • branches/rails2.1/test/unit/attachment_test.rb

    r754 r759  
    3333  end 
    3434 
    35   # Testing insertion of binary data to database. 
     35  # Testing type casting and insertion of binary data to database. 
    3636  def test_binary_column 
    3737    dir = File.dirname(__FILE__) 
     
    5050    filenames.map {|path| File.new(path, 'rb') }.each { |file| 
    5151      name = File.basename(file.path) 
    52       puts name 
    53       next unless name == 'README' or ['.png', '.odt', '.pdf'].include?(File.extname(file.path)) 
     52      next unless name == 'README' or ['.png', '.jpg', '.odt', '.pdf'].include?(File.extname(file.path).downcase) 
    5453      data = file.read 
    5554      file.close 
     
    5958      x.content_type = 'something' 
    6059      x.data = data 
    61       x.save! 
    6260      #### DEBUG 
     61      puts "\n" + 'File: ' + name 
     62      #x.save! 
    6363      #f=File.new('tmp/%s_before' % name, 'wb') 
    6464      #f.write(data) 
     
    7171      # type casted or when it was saved/inserted to database or 
    7272      # when it is fetched from database. 
     73      x.save! 
    7374      assert_equal data.size, x.data.size 
    7475      assert x.data == data 
     76      #x.save! 
    7577      read_data = x.class.find(x.id).data 
    7678      assert_equal data.size, read_data.size 

© 2004-2007 Norfello Oy All Rights Reserved