Changeset 759
- Timestamp:
- 09/01/08 15:01:30 (3 months ago)
- Files:
-
- branches/rails2.1/po/fi_FI/rails.po (modified) (6 diffs)
- branches/rails2.1/test/unit/attachment_test.rb (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/rails2.1/po/fi_FI/rails.po
r374 r759 6 6 # 7 7 # Jarmo Hekkanen <jarmo.hekkanen@norfello.com>, 2007. 8 # Markku Oksanen <markku.oksanen@norfello.com>, 2008. 8 9 # 9 10 msgid "" … … 19 20 "Plural-Forms: nplurals=2; plural=(n != 1);\n" 20 21 21 #: lib/gettext/rails.rb: 27122 #: lib/gettext/rails.rb:308 22 23 msgid "%{num} error prohibited this %{record} from being saved" 23 24 msgid_plural "%{num} errors prohibited this %{record} from being saved" 24 25 msgstr[0] "Virhe esti tÀmÀn tiedon tallentamisen" 25 msgstr[1] "%{num} virhettÀ esti tÀmÀn tiedon tallentamisen"26 msgstr[1] "%{num} virhettÀ estivÀt tÀmÀn tiedon tallentamisen" 26 27 27 #: lib/gettext/rails.rb: 27328 #: lib/gettext/rails.rb:310 28 29 msgid "There was a problem with the following field:" 29 30 msgid_plural "There were problems with the following fields:" … … 31 32 msgstr[1] "Seuraavien kenttien kanssa oli ongelmia:" 32 33 33 #: lib/gettext/rails.rb: 36034 #: lib/gettext/rails.rb:416 34 35 msgid "less than 5 seconds" 35 36 msgstr "vÀhemmÀn kuin 5 sekuntia" 36 37 37 #: lib/gettext/rails.rb: 36038 #: lib/gettext/rails.rb:416 38 39 msgid "less than 10 seconds" 39 40 msgstr "vÀhemmÀn kuin 10 sekuntia" 40 41 41 #: lib/gettext/rails.rb: 36042 #: lib/gettext/rails.rb:416 42 43 msgid "less than 20 seconds" 43 44 msgstr "vÀhemmÀn kuin 20 sekuntia" 44 45 45 #: lib/gettext/rails.rb: 36146 #: lib/gettext/rails.rb:417 46 47 msgid "half a minute" 47 48 msgstr "puoli minuuttia" 48 49 49 #: lib/gettext/rails.rb: 36150 #: lib/gettext/rails.rb:417 50 51 msgid "less than a minute" 51 52 msgstr "vÀhemmÀn kuin minuutti" 52 53 53 #: lib/gettext/rails.rb:362 54 #: lib/gettext/rails.rb:417 55 msgid "about 1 month" 56 msgstr "noin 1 kuukausi" 57 58 #: lib/gettext/rails.rb:418 59 msgid "about 1 year" 60 msgstr "noin 1 vuosi" 61 62 #: lib/gettext/rails.rb:419 54 63 msgid "1 minute" 55 64 msgid_plural "%{num} minutes" … … 57 66 msgstr[1] "%{num} minuuttia" 58 67 59 #: lib/gettext/rails.rb: 36368 #: lib/gettext/rails.rb:420 60 69 msgid "about 1 hour" 61 70 msgid_plural "about %{num} hours" … … 63 72 msgstr[1] "noin %{num} tuntia" 64 73 65 #: lib/gettext/rails.rb: 36474 #: lib/gettext/rails.rb:421 66 75 msgid "1 day" 67 76 msgid_plural "%{num} days" … … 69 78 msgstr[1] "%{num} pÀivÀÀ" 70 79 71 #: lib/gettext/active_record.rb:166 80 #: lib/gettext/rails.rb:422 81 msgid "1 month" 82 msgid_plural "%{num} months" 83 msgstr[0] "1 kuukausi" 84 msgstr[1] "%{num} kuukautta" 85 86 #: lib/gettext/rails.rb:423 87 msgid "over 1 year" 88 msgid_plural "over %{num} years" 89 msgstr[0] "yli 1 vuosi" 90 msgstr[1] "yli %{num} vuotta" 91 92 #: lib/gettext/active_record.rb:28 93 msgid "Validation failed: %{error_messages}" 94 msgstr "Validointi epÀonnistui: %{error_messages}" 95 96 #: lib/gettext/active_record.rb:219 72 97 msgid "%{fn} is not included in the list" 73 98 msgstr "%{fn} ei sisÀlly listaan" 74 99 75 #: lib/gettext/active_record.rb: 167100 #: lib/gettext/active_record.rb:220 76 101 msgid "%{fn} is reserved" 77 102 msgstr "%{fn} on varattu" 78 103 79 #: lib/gettext/active_record.rb: 168104 #: lib/gettext/active_record.rb:221 80 105 msgid "%{fn} is invalid" 81 106 msgstr "%{fn} on epÀkelpo" 82 107 83 #: lib/gettext/active_record.rb: 169108 #: lib/gettext/active_record.rb:222 84 109 msgid "%{fn} doesn't match confirmation" 85 110 msgstr "%{fn} ei vastaa varmistusta" 86 111 87 #: lib/gettext/active_record.rb: 170112 #: lib/gettext/active_record.rb:223 88 113 msgid "%{fn} must be accepted" 89 114 msgstr "%{fn} tÀytyy olla hyvÀksytty" 90 115 91 #: lib/gettext/active_record.rb: 171116 #: lib/gettext/active_record.rb:224 92 117 msgid "%{fn} can't be empty" 93 118 msgstr "%{fn} ei voi olla tyhjÀ" 94 119 95 #: lib/gettext/active_record.rb: 172120 #: lib/gettext/active_record.rb:225 96 121 msgid "%{fn} can't be blank" 97 122 msgstr "%{fn} ei voi olla tyhjÀ" 98 123 99 #: lib/gettext/active_record.rb: 173124 #: lib/gettext/active_record.rb:226 100 125 msgid "%{fn} is too long (maximum is %d characters)" 101 126 msgstr "%{fn} on liian pitkÀ (maksimi on %d merkkiÀ)" 102 127 103 #: lib/gettext/active_record.rb: 174128 #: lib/gettext/active_record.rb:227 104 129 msgid "%{fn} is too short (minimum is %d characters)" 105 130 msgstr "%{fn} on liian lyhyt (minimi on %d merkkiÀ)" 106 131 107 #: lib/gettext/active_record.rb: 175132 #: lib/gettext/active_record.rb:228 108 133 msgid "%{fn} is the wrong length (should be %d characters)" 109 134 msgstr "%{fn} on vÀÀrÀn pituinen (oikea pituus on %d merkkiÀ)" 110 135 111 #: lib/gettext/active_record.rb: 176136 #: lib/gettext/active_record.rb:229 112 137 msgid "%{fn} has already been taken" 113 138 msgstr "%{fn} on jo varattu" 114 139 115 #: lib/gettext/active_record.rb: 177140 #: lib/gettext/active_record.rb:230 116 141 msgid "%{fn} is not a number" 117 142 msgstr "%{fn} ei ole numero" 118 143 144 #: lib/gettext/active_record.rb:231 145 msgid "%{fn} must be greater than %d" 146 msgstr "%{fn} tÀytyy olla suurempi kuin %d" 147 148 #: lib/gettext/active_record.rb:232 149 msgid "%{fn} must be greater than or equal to %d" 150 msgstr "%{fn} tÀytyy olla suurempi tai yhtÀ suuri kuin %d" 151 152 #: lib/gettext/active_record.rb:233 153 msgid "%{fn} must be equal to %d" 154 msgstr "%{fn} tÀytyy olla yhtÀ suuri kuin %d" 155 156 #: lib/gettext/active_record.rb:234 157 msgid "%{fn} must be less than %d" 158 msgstr "%{fn} tÀytyy olla pienempi kuin %d" 159 160 #: lib/gettext/active_record.rb:235 161 msgid "%{fn} must be less than or equal to %d" 162 msgstr "%{fn} tÀytyy olla pienempi tai yhtÀ suuri kuin %d" 163 164 #: lib/gettext/active_record.rb:236 165 msgid "%{fn} must be odd" 166 msgstr "%{fn} tÀytyy olla pariton" 167 168 #: lib/gettext/active_record.rb:237 169 msgid "%{fn} must be even" 170 msgstr "%{fn} tÀytyy olla parillinen" branches/rails2.1/test/unit/attachment_test.rb
r754 r759 33 33 end 34 34 35 # Testing insertion of binary data to database.35 # Testing type casting and insertion of binary data to database. 36 36 def test_binary_column 37 37 dir = File.dirname(__FILE__) … … 50 50 filenames.map {|path| File.new(path, 'rb') }.each { |file| 51 51 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) 54 53 data = file.read 55 54 file.close … … 59 58 x.content_type = 'something' 60 59 x.data = data 61 x.save!62 60 #### DEBUG 61 puts "\n" + 'File: ' + name 62 #x.save! 63 63 #f=File.new('tmp/%s_before' % name, 'wb') 64 64 #f.write(data) … … 71 71 # type casted or when it was saved/inserted to database or 72 72 # when it is fetched from database. 73 x.save! 73 74 assert_equal data.size, x.data.size 74 75 assert x.data == data 76 #x.save! 75 77 read_data = x.class.find(x.id).data 76 78 assert_equal data.size, read_data.size