Changeset 373
- Timestamp:
- 01/04/07 00:23:15 (2 years ago)
- Files:
-
- trunk/app/controllers/report_controller.rb (modified) (1 diff)
- trunk/app/helpers/application_helper.rb (modified) (1 diff)
- trunk/app/models/report_field_value.rb (modified) (1 diff)
- trunk/app/views/report/_creation_form.rhtml (modified) (1 diff)
- trunk/po/fi_FI/norfello_cmms.po (modified) (75 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/app/controllers/report_controller.rb
r328 r373 99 99 @report.cause_work_order_id = @cause_work_order_id if @cause_work_order_id 100 100 101 if @report.valid ? and @report.validate_fields101 if @report.validate_fields and @report.valid? 102 102 @report.editable = params[:report][:editable] if params[:report] and @report_type.editable 103 103 @report.ready = true trunk/app/helpers/application_helper.rb
r362 r373 17 17 18 18 for error in additional_errors.flatten 19 object.errors.add (*error)19 object.errors.add_to_base(*error) 20 20 end 21 21 trunk/app/models/report_field_value.rb
r368 r373 13 13 def human_attribute_name(attribute) 14 14 return self.report_field.name 15 end 16 17 # Use this insetead of errors.full_messages 18 def error_messages 19 result = [] 20 self.errors.each { |attribute, message| 21 result.push(message.gsub('%{fn}', self.report_field.name)) 22 } 23 return result 15 24 end 16 25 trunk/app/views/report/_creation_form.rhtml
r258 r373 6 6 <% @first_year ||= Time.now.year - 15; @years ||= 30; -%> 7 7 8 <% field_error_messages = report.report_field_values.collect { |v| v.error s.full_messages } -%>8 <% field_error_messages = report.report_field_values.collect { |v| v.error_messages } -%> 9 9 <%= additional_error_messages_for('report', field_error_messages) %> 10 10 trunk/po/fi_FI/norfello_cmms.po
r330 r373 2 2 msgstr "" 3 3 "Project-Id-Version: NorfelloCMMS SVN trunk\n" 4 "POT-Creation-Date: 2006-12- 08 21:10+0200\n"5 "PO-Revision-Date: 2006-12- 08 21:18+0200\n"4 "POT-Creation-Date: 2006-12-28 22:20+0200\n" 5 "PO-Revision-Date: 2006-12-28 22:27+0200\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: Norfello Ltd. <contact@norfello.com>\n" … … 15 15 "Plural-Forms: nplurals=2; plural=n != 1;\n" 16 16 17 #: app/helpers/asset_type_helper.rb:2518 msgid "years"19 msgstr "vuotta"20 21 #: app/helpers/asset_type_helper.rb:2722 msgid "months"23 msgstr "kuukautta"24 25 #: app/helpers/asset_type_helper.rb:2926 msgid "days"27 msgstr "pÀivÀÀ"28 29 #: app/helpers/asset_type_helper.rb:3130 #: app/views/work_order/_form.rhtml:5831 #: app/views/work_order/_form.rhtml:6032 #: app/views/work_order/create.rhtml:4233 msgid "hours"34 msgstr "tuntia"35 36 #: app/helpers/asset_type_helper.rb:3337 msgid "minutes"38 msgstr "minuuttia"39 40 17 #: app/helpers/asset_helper.rb:12 41 18 msgid "Active data" … … 198 175 msgstr "Tyyppikohtainen liitetiedosto" 199 176 177 #: app/helpers/application_helper.rb:695 178 msgid "years" 179 msgstr "vuotta" 180 181 #: app/helpers/application_helper.rb:697 182 msgid "months" 183 msgstr "kuukautta" 184 185 #: app/helpers/application_helper.rb:699 186 msgid "days" 187 msgstr "pÀivÀÀ" 188 189 #: app/helpers/application_helper.rb:701 190 #: app/views/work_order/_form.rhtml:58 191 #: app/views/work_order/_form.rhtml:60 192 #: app/views/work_order/create.rhtml:42 193 msgid "hours" 194 msgstr "tuntia" 195 196 #: app/helpers/application_helper.rb:703 197 msgid "minutes" 198 msgstr "minuuttia" 199 200 200 #: app/models/asset_field_value.rb:- 201 201 msgid "asset field value" … … 345 345 msgid "work order" 346 346 msgstr "työmÀÀrÀin" 347 348 #: app/models/work_order_template.rb:27349 msgid "User field %s is missing"350 msgstr "KÀyttÀjÀkenttÀ %s puuttuu"351 352 #: app/models/work_order_template.rb:29353 msgid "User fields %s are missing"354 msgstr "KÀyttÀjÀkentÀt %s puuttuvat"355 347 356 348 #: app/models/message.rb:- … … 452 444 #: app/views/timeline/_display_event.rhtml:20 453 445 #: app/views/timeline/_display_event.rhtml:22 454 #: app/views/timeline/_display_event.rhtml: 35446 #: app/views/timeline/_display_event.rhtml:24 455 447 #: app/views/timeline/_display_event.rhtml:37 456 #: app/views/timeline/_display_event.rhtml: 50457 #: app/views/ work_order/_display_work_order_event.rhtml:5448 #: app/views/timeline/_display_event.rhtml:39 449 #: app/views/timeline/_display_event.rhtml:52 458 450 #: app/views/work_order/_display_work_order_event.rhtml:7 459 451 #: app/views/work_order/_display_work_order_event.rhtml:9 460 452 #: app/views/work_order/_display_work_order_event.rhtml:11 461 453 #: app/views/work_order/_display_work_order_event.rhtml:13 454 #: app/views/work_order/_display_work_order_event.rhtml:15 455 #: app/views/work_order/_display_work_order_event.rhtml:17 462 456 msgid "Unknown" 463 457 msgstr "Tuntematon" … … 487 481 msgstr "Valmis" 488 482 489 #: app/models/work_order.rb: 31483 #: app/models/work_order.rb:46 490 484 msgid "is not a positive number" 491 485 msgstr "ei ole kokonaisluku" 492 486 493 #: app/models/work_order.rb:1 40487 #: app/models/work_order.rb:155 494 488 msgid "cannot be earlier than the starting time" 495 489 msgstr "ei saa olla aikaisempi kuin aloitusaika" … … 531 525 msgstr "ReportField|Validate presence" 532 526 533 #: app/models/report_field.rb:3 3527 #: app/models/report_field.rb:34 534 528 #: app/models/asset_field.rb:32 535 529 #: app/controllers/asset_field_controller.rb:30 … … 538 532 msgstr "Kokonaisluku" 539 533 540 #: app/models/report_field.rb:3 4534 #: app/models/report_field.rb:35 541 535 #: app/models/asset_field.rb:34 542 536 #: app/controllers/asset_field_controller.rb:29 … … 545 539 msgstr "Merkkijono" 546 540 547 #: app/models/report_field.rb:3 5541 #: app/models/report_field.rb:36 548 542 #: app/models/asset_field.rb:36 549 543 #: app/controllers/asset_field_controller.rb:31 … … 552 546 msgstr "Totuusarvo" 553 547 554 #: app/models/report_field.rb:3 6548 #: app/models/report_field.rb:37 555 549 #: app/models/asset_field.rb:38 556 550 #: app/controllers/asset_field_controller.rb:32 … … 559 553 msgstr "Desimaaliluku" 560 554 561 #: app/models/report_field.rb:3 7555 #: app/models/report_field.rb:38 562 556 msgid "Long string" 563 557 msgstr "PitkÀ merkkijono" 564 558 565 #: app/models/report_field.rb:3 8559 #: app/models/report_field.rb:39 566 560 #: app/models/asset_field.rb:40 567 561 #: app/controllers/asset_field_controller.rb:33 … … 572 566 msgstr "PÀivÀmÀÀrÀ" 573 567 574 #: app/models/report_field.rb: 39568 #: app/models/report_field.rb:40 575 569 #: app/models/asset_field.rb:42 576 570 #: app/controllers/asset_field_controller.rb:34 … … 579 573 msgstr "Aika" 580 574 581 #: app/models/report_field.rb:4 0575 #: app/models/report_field.rb:41 582 576 #: app/models/asset_field.rb:44 583 577 #: app/controllers/asset_field_controller.rb:35 … … 586 580 msgstr "PÀivÀmÀÀrÀ ja aika" 587 581 588 #: app/models/report_field.rb:4 1582 #: app/models/report_field.rb:42 589 583 msgid "Enumeration" 590 584 msgstr "Luettelo" 591 585 592 #: app/models/report_field.rb:4 2586 #: app/models/report_field.rb:43 593 587 msgid "Image" 594 588 msgstr "Kuva" 595 589 596 #: app/models/report_field.rb:4 3590 #: app/models/report_field.rb:44 597 591 msgid "Automatic" 598 592 msgstr "Automaattinen" 599 593 600 #: app/models/asset.rb: 505594 #: app/models/asset.rb:732 601 595 msgid "No changes have been made" 602 596 msgstr "Muutoksia ei ole tehty" 603 597 604 #: app/models/asset.rb: 525598 #: app/models/asset.rb:752 605 599 #: app/models/protected_data.rb:423 606 600 msgid "Unauthorized to save %s" … … 656 650 657 651 #: app/models/asset_type.rb:15 658 msgid " can't be zero"659 msgstr " ei voi olla nolla"660 661 #: app/models/asset_type.rb: 68652 msgid "must be positive" 653 msgstr "tÀytyy olla positiivinen" 654 655 #: app/models/asset_type.rb:75 662 656 msgid "%d year" 663 657 msgid_plural "%d years" … … 665 659 msgstr[1] "%d vuotta" 666 660 667 #: app/models/asset_type.rb: 69661 #: app/models/asset_type.rb:76 668 662 msgid "%d month" 669 663 msgid_plural "%d months" … … 671 665 msgstr[1] "%d kuukautta" 672 666 673 #: app/models/asset_type.rb:7 0667 #: app/models/asset_type.rb:77 674 668 msgid "%d day" 675 669 msgid_plural "%d days" … … 677 671 msgstr[1] "%d pÀivÀÀ" 678 672 679 #: app/models/asset_type.rb:7 1673 #: app/models/asset_type.rb:78 680 674 msgid "%d hour" 681 675 msgid_plural "%d hours" … … 683 677 msgstr[1] "%d tuntia" 684 678 685 #: app/models/asset_type.rb:7 2679 #: app/models/asset_type.rb:79 686 680 msgid "%d minute" 687 681 msgid_plural "%d minutes" … … 689 683 msgstr[1] "%d minuuttia" 690 684 691 #: app/models/asset_type.rb: 79685 #: app/models/asset_type.rb:86 692 686 msgid "and" 693 687 msgstr "ja" … … 907 901 #: app/controllers/work_order_type_controller.rb:28 908 902 #: app/controllers/user_controller.rb:75 903 #: app/controllers/user_controller.rb:87 909 904 #: app/controllers/asset_type_controller.rb:17 910 905 #: app/controllers/asset_controller.rb:107 911 #: app/controllers/asset_controller.rb:21 2906 #: app/controllers/asset_controller.rb:213 912 907 #: app/views/asset/online_help__edit.rhtml:13 913 908 #: app/views/asset/_view_table.rhtml:30 … … 977 972 msgstr "lue" 978 973 979 #: app/controllers/work_order_controller.rb:10 7974 #: app/controllers/work_order_controller.rb:106 980 975 msgid "Work order %s (%s)" 981 976 msgstr "TyömÀÀrÀin %s (%s)" … … 1001 996 msgstr "Tuntematon työmÀÀrÀintoiminto!" 1002 997 1003 #: app/controllers/work_order_controller.rb:1 69998 #: app/controllers/work_order_controller.rb:170 1004 999 #: app/controllers/report_controller.rb:131 1005 1000 #: app/controllers/asset_controller.rb:170 1006 #: app/controllers/asset_controller.rb:222 1001 #: app/controllers/asset_controller.rb:228 1002 #: app/controllers/asset_controller.rb:278 1007 1003 msgid "edit" 1008 1004 msgstr "muokkaa" 1009 1005 1010 #: app/controllers/work_order_controller.rb:17 61006 #: app/controllers/work_order_controller.rb:177 1011 1007 msgid "Editing work order #%i (%s)" 1012 1008 msgstr "Muokataan työmÀÀrÀintÀ #%i (%s)" 1013 1009 1014 #: app/controllers/work_order_controller.rb:184 1015 #: lib/localization.rb:149 1016 msgid "Changes saved." 1017 msgstr "Muutokset tallennettu." 1018 1019 #: app/controllers/work_order_controller.rb:202 1010 #: app/controllers/work_order_controller.rb:210 1020 1011 msgid "create work order" 1021 1012 msgstr "luo työmÀÀrÀin" 1022 1013 1023 #: app/controllers/work_order_controller.rb:2 061014 #: app/controllers/work_order_controller.rb:214 1024 1015 msgid "Create new work order" 1025 1016 msgstr "Luo uusi työmÀÀrÀin" 1026 1017 1027 #: app/controllers/work_order_controller.rb:2 121018 #: app/controllers/work_order_controller.rb:220 1028 1019 msgid "No work order types defined." 1029 1020 msgstr "YhtÀÀn työmÀÀrÀintyyppiÀ ei ole mÀÀritelty." 1030 1021 1031 #: app/controllers/work_order_controller.rb:23 11022 #: app/controllers/work_order_controller.rb:239 1032 1023 msgid "New work order created" 1033 1024 msgstr "Uusi työmÀÀrÀin luotu" 1034 1025 1035 #: app/controllers/work_order_controller.rb:2 451026 #: app/controllers/work_order_controller.rb:253 1036 1027 #: app/controllers/report_controller.rb:401 1037 1028 #: app/controllers/asset_controller.rb:122 … … 1042 1033 msgstr "poista" 1043 1034 1044 #: app/controllers/work_order_controller.rb:2 531035 #: app/controllers/work_order_controller.rb:261 1045 1036 #: app/controllers/attachment_controller.rb:113 1046 1037 #: app/controllers/type_attachment_controller.rb:105 … … 1048 1039 msgstr "kopioi omalle tietokoneelle" 1049 1040 1050 #: app/controllers/work_order_controller.rb:26 01041 #: app/controllers/work_order_controller.rb:268 1051 1042 msgid "Template for work orders not found" 1052 1043 msgstr "TyömÀÀrÀinpohjaa ei löytynyt" … … 1133 1124 #: app/controllers/type_attachment_controller.rb:27 1134 1125 #: app/views/attachment/view.rhtml:38 1135 #: app/views/shared/_list_items.rhtml:1 191126 #: app/views/shared/_list_items.rhtml:130 1136 1127 #: app/views/report/view.rhtml:25 1137 #: app/views/work_order/view.rhtml: 571128 #: app/views/work_order/view.rhtml:62 1138 1129 msgid "Download" 1139 1130 msgstr "Lataa" … … 1144 1135 #: app/controllers/user_controller.rb:26 1145 1136 #: app/controllers/user_controller.rb:74 1146 #: app/controllers/user_controller.rb:176 1147 #: app/controllers/user_controller.rb:221 1137 #: app/controllers/user_controller.rb:86 1138 #: app/controllers/user_controller.rb:200 1139 #: app/controllers/user_controller.rb:245 1148 1140 #: app/controllers/asset_type_controller.rb:14 1149 1141 #: app/controllers/asset_type_controller.rb:24 1150 1142 #: app/controllers/asset_controller.rb:105 1151 #: app/controllers/asset_controller.rb:21 01143 #: app/controllers/asset_controller.rb:211 1152 1144 #: app/controllers/asset_field_controller.rb:16 1153 1145 #: app/controllers/asset_field_controller.rb:26 … … 1186 1178 #: app/views/online_help/_index.rhtml:47 1187 1179 #: app/views/work_order_type/online_help__general.rhtml:1 1188 #: config/menu.rb:1 051180 #: config/menu.rb:122 1189 1181 msgid "Work order types" 1190 1182 msgstr "TyömÀÀrÀintyypit" … … 1209 1201 #: app/views/online_help/_index.rhtml:32 1210 1202 #: app/views/report_type/online_help__general.rhtml:1 1211 #: config/menu.rb: 871212 #: config/menu.rb: 881203 #: config/menu.rb:99 1204 #: config/menu.rb:100 1213 1205 msgid "Report types" 1214 1206 msgstr "Raporttityypit" … … 1216 1208 #: app/controllers/report_type_controller.rb:21 1217 1209 msgid "Category" 1218 msgstr " Luokka"1210 msgstr "Kategoria" 1219 1211 1220 1212 #: app/controllers/report_type_controller.rb:23 … … 1227 1219 1228 1220 #: app/controllers/report_type_controller.rb:25 1229 #: config/menu.rb:1 081221 #: config/menu.rb:125 1230 1222 msgid "Template" 1231 1223 msgstr "Pohja" … … 1247 1239 #: app/controllers/report_type_controller.rb:58 1248 1240 msgid "No report categories" 1249 msgstr "Ei raportti luokkia"1241 msgstr "Ei raporttikategorioita" 1250 1242 1251 1243 #: app/controllers/report_type_controller.rb:69 … … 1270 1262 1271 1263 #: app/controllers/report_type_controller.rb:144 1272 #: app/views/report_type/create_step4.rhtml:1 441264 #: app/views/report_type/create_step4.rhtml:152 1273 1265 msgid "Finish" 1274 1266 msgstr "Valmis" 1275 1267 1276 #: app/controllers/report_type_controller.rb:17 31268 #: app/controllers/report_type_controller.rb:174 1277 1269 msgid "New field group added" 1278 1270 msgstr "Uusi kenttÀryhmÀ luotu" 1279 1271 1280 #: app/controllers/report_type_controller.rb:17 61281 #: app/controllers/report_type_controller.rb:18 01272 #: app/controllers/report_type_controller.rb:177 1273 #: app/controllers/report_type_controller.rb:181 1282 1274 msgid "Unable to create new field group" 1283 1275 msgstr "KenttÀryhmÀn luominen epÀonnistui" 1284 1276 1285 #: app/controllers/report_type_controller.rb:19 01277 #: app/controllers/report_type_controller.rb:191 1286 1278 msgid "New enumerated value added" 1287 1279 msgstr "Uusi luetteloarvo lisÀtty" 1288 1280 1289 #: app/controllers/report_type_controller.rb:19 31290 #: app/controllers/report_type_controller.rb:19 71281 #: app/controllers/report_type_controller.rb:194 1282 #: app/controllers/report_type_controller.rb:198 1291 1283 msgid "Unable to create new enumerated value" 1292 1284 msgstr "Uuden luetteloarvon luominen epÀonnistui" 1293 1285 1294 #: app/controllers/report_type_controller.rb:2 091286 #: app/controllers/report_type_controller.rb:210 1295 1287 msgid "Enumerated value removed" 1296 1288 msgstr "Luetteloarvo poistettu" 1297 1289 1298 #: app/controllers/report_type_controller.rb:22 21290 #: app/controllers/report_type_controller.rb:223 1299 1291 msgid "Edit report type" 1300 1292 msgstr "Muokkaa raporttityyppiÀ" 1301 1293 1302 #: app/controllers/report_type_controller.rb:23 11294 #: app/controllers/report_type_controller.rb:232 1303 1295 msgid "Report type %s modified" 1304 1296 msgstr "Raporttityypin %s muutokset tallennettu" 1305 1297 1306 #: app/controllers/report_type_controller.rb:23 41298 #: app/controllers/report_type_controller.rb:235 1307 1299 msgid "Unable to save report type" 1308 1300 msgstr "Raporttityypin tallentaminen epÀonnistui" 1309 1301 1310 #: app/controllers/report_type_controller.rb:26 41302 #: app/controllers/report_type_controller.rb:265 1311 1303 msgid "Change the report template" 1312 1304 msgstr "Vaihda raporttipohjaa" 1313 1305 1314 #: app/controllers/report_type_controller.rb:27 31306 #: app/controllers/report_type_controller.rb:274 1315 1307 msgid "Report template changed." 1316 1308 msgstr "Raporttipohja vaihdettu." 1317 1309 1318 #: app/controllers/report_type_controller.rb:28 31310 #: app/controllers/report_type_controller.rb:284 1319 1311 msgid "New report type wizard Step 4 of 4 (%s)" 1320 1312 msgstr "Raporttityyppivelho, vaihe 4/4 (%s)" 1321 1313 1322 #: app/controllers/report_type_controller.rb:28 71314 #: app/controllers/report_type_controller.rb:288 1323 1315 msgid "Not in a group" 1324 1316 msgstr "Ei ryhmÀssÀ" … … 1326 1318 #: app/controllers/user_controller.rb:24 1327 1319 #: app/views/user/online_help__general_admin.rhtml:1 1328 #: config/menu.rb: 1131320 #: config/menu.rb:74 1329 1321 msgid "User accounts" 1330 1322 msgstr "KÀyttÀjÀtilit" … … 1332 1324 #: app/controllers/user_controller.rb:27 1333 1325 #: app/controllers/user_controller.rb:46 1334 #: app/controllers/user_controller.rb: 1771335 #: app/controllers/user_controller.rb:2 221326 #: app/controllers/user_controller.rb:201 1327 #: app/controllers/user_controller.rb:246 1336 1328 #: app/views/user/view.rhtml:3 1337 1329 #: app/views/user/search.rhtml:4 1338 #: app/views/user/login.rhtml: 241330 #: app/views/user/login.rhtml:34 1339 1331 msgid "Username" 1340 1332 msgstr "KÀyttÀjÀnimi" … … 1345 1337 1346 1338 #: app/controllers/user_controller.rb:47 1347 #: app/views/user/login.rhtml: 281339 #: app/views/user/login.rhtml:38 1348 1340 msgid "Password" 1349 1341 msgstr "Salasana" … … 1367 1359 #: app/controllers/user_controller.rb:51 1368 1360 #: app/controllers/user_controller.rb:66 1369 #: app/controllers/user_controller.rb:2 231361 #: app/controllers/user_controller.rb:247 1370 1362 #: app/views/user/view.rhtml:11 1371 1363 msgid "Job description" … … 1374 1366 #: app/controllers/user_controller.rb:52 1375 1367 #: app/controllers/user_controller.rb:67 1376 #: app/controllers/user_controller.rb:2 241368 #: app/controllers/user_controller.rb:248 1377 1369 #: app/views/user/view.rhtml:15 1378 1370 msgid "Email address" … … 1381 1373 #: app/controllers/user_controller.rb:53 1382 1374 #: app/controllers/user_controller.rb:68 1383 #: app/controllers/user_controller.rb:2 251375 #: app/controllers/user_controller.rb:249 1384 1376 #: app/views/user/view.rhtml:19 1385 1377 msgid "Phone number" … … 1391 1383 1392 1384 #: app/controllers/user_controller.rb:69 1393 #: app/controllers/user_controller.rb:2 261385 #: app/controllers/user_controller.rb:250 1394 1386 msgid "Language" 1395 1387 msgstr "Kieli" 1396 1388 1397 1389 #: app/controllers/user_controller.rb:78 1398 #: app/views/attachment/view.rhtml:37 1399 #: app/views/attachment/attach.rhtml:18 1400 #: app/views/report/view.rhtml:22 1401 #: app/views/report/_creation_form.rhtml:37 1402 #: app/views/report/_creation_form.rhtml:40 1403 #: app/views/work_order/view.rhtml:54 1404 #: app/views/work_order/create.rhtml:46 1405 #: config/menu.rb:61 1406 msgid "Permissions" 1407 msgstr "KÀyttöoikeudet" 1390 #: app/controllers/action_key_controller.rb:22 1391 #: app/controllers/keyring_controller.rb:37 1392 #: app/views/action_key/online_help__general.rhtml:1 1393 #: app/views/online_help/_index.rhtml:26 1394 #: config/menu.rb:93 1395 msgid "Keys" 1396 msgstr "Avaimet" 1408 1397 1409 1398 #: app/controllers/user_controller.rb:79 1399 #: app/controllers/keyring_controller.rb:38 1400 msgid "Owners" 1401 msgstr "Omistajat" 1402 1403 #: app/controllers/user_controller.rb:89 1410 1404 #: app/controllers/user_group_controller.rb:34 1411 1405 #: app/views/online_help/_index.rhtml:44 1412 1406 #: app/views/user/online_help__general.rhtml:1 1413 #: config/menu.rb:1 71407 #: config/menu.rb:14 1414 1408 msgid "Users" 1415 1409 msgstr "KÀyttÀjÀt" 1416 1410 1417 #: app/controllers/user_controller.rb: 881411 #: app/controllers/user_controller.rb:97 1418 1412 msgid "User information changed" 1419 1413 msgstr "KÀyttÀjÀn tiedot muutettu" 1420 1414 1421 #: app/controllers/user_controller.rb: 911415 #: app/controllers/user_controller.rb:100 1422 1416 msgid "Unable to change user information" 1423 1417 msgstr "KÀyttÀjÀn tietojen muuttaminen epÀonnistui" 1424 1418 1425 #: app/controllers/user_controller.rb:1 081419 #: app/controllers/user_controller.rb:117 1426 1420 msgid "User %s removed from keyrings: %s" 1427 1421 msgstr "KÀyttÀjÀ %s poistettu avainrenkaista: %s" 1428 1422 1429 #: app/controllers/user_controller.rb:114 1423 #: app/controllers/user_controller.rb:132 1424 msgid "User %s removed from user groups: %s" 1425 msgstr "KÀyttÀjÀ %s poistettu kÀyttÀjÀryhmÀstÀ %s" 1426 1427 #: app/controllers/user_controller.rb:138 1430 1428 msgid "Unable to remove user %s, because there are work_orders assigned to this user." 1431 1429 msgstr "KÀyttÀjÀn %s poistaminen epÀonnistui, koska hÀnen vastuullaan on vielÀ työmÀÀrÀimiÀ." 1432 1430 1433 #: app/controllers/user_controller.rb:1 221431 #: app/controllers/user_controller.rb:146 1434 1432 msgid "Reset password for user account %s" 1435 1433 msgstr "Vaihda kÀyttÀjÀtilin %s salasana" 1436 1434 1437 #: app/controllers/user_controller.rb:1 271435 #: app/controllers/user_controller.rb:151 1438 1436 msgid "Password reseted" 1439 1437 msgstr "Salasana vaihdettu" 1440 1438 1441 #: app/controllers/user_controller.rb:1 311439 #: app/controllers/user_controller.rb:155 1442 1440 msgid "Unable to reset password" 1443 1441 msgstr "Salasanan vaihtaminen epÀonnistui" 1444 1442 1445 #: app/controllers/user_controller.rb:1 501443 #: app/controllers/user_controller.rb:174 1446 1444 msgid "Login unsuccessful" 1447 1445 msgstr "SisÀÀnkirjautuminen epÀonnistui" 1448 1446 1449 #: app/controllers/user_controller.rb:1 741447 #: app/controllers/user_controller.rb:198 1450 1448 msgid "Search users" 1451 1449 msgstr "Etsi kÀyttÀjiÀ" 1452 1450 1453 #: app/controllers/user_controller.rb: 1791451 #: app/controllers/user_controller.rb:203 1454 1452 msgid "Display" 1455 1453 msgstr "NÀytÀ" 1456 1454 1457 #: app/controllers/user_controller.rb:2 001455 #: app/controllers/user_controller.rb:224 1458 1456 msgid "%s's user information" 1459 1457 msgstr "KÀyttÀjÀn %s tiedot" 1460 1458 1461 #: app/controllers/user_controller.rb:2 071459 #: app/controllers/user_controller.rb:231 1462 1460 msgid "Message sent" 1463 1461 msgstr "Viesti lÀhetetty" 1464 1462 1465 #: app/controllers/user_controller.rb:2 181466 #: config/menu.rb:1 81463 #: app/controllers/user_controller.rb:242 1464 #: config/menu.rb:15 1467 1465 msgid "My information" 1468 1466 msgstr "Omat tiedot" 1469 1467 1470 #: app/controllers/user_controller.rb:2 431468 #: app/controllers/user_controller.rb:267 1471 1469 msgid "Your information has been updated" 1472 1470 msgstr "Tiedot pÀivitetty" 1473 1471 1474 #: app/controllers/user_controller.rb:2 451472 #: app/controllers/user_controller.rb:269 1475 1473 msgid "Unable to update your information" 1476 1474 msgstr "Tietojen pÀivittÀminen epÀonnistui" 1477 1475 1478 #: app/controllers/user_controller.rb:2 531479 #: app/controllers/user_controller.rb:2 581476 #: app/controllers/user_controller.rb:277 1477 #: app/controllers/user_controller.rb:282 1480 1478 msgid "Change password" 1481 1479 msgstr "Vaihda salasana" 1482 1480 1483 #: app/controllers/user_controller.rb:2 661481 #: app/controllers/user_controller.rb:290 1484 1482 msgid "Your password has been changed" 1485 1483 msgstr "Salasana vaihdettu" 1486 1484 1487 #: app/controllers/user_controller.rb:2 691485 #: app/controllers/user_controller.rb:293 1488 1486 msgid "Unable to change your password" 1489 1487 msgstr "Salasanan vaihtaminen epÀonnistui" 1490 1488 1491 #: app/controllers/user_controller.rb:2 721489 #: app/controllers/user_controller.rb:296 1492 1490 msgid "Invalid password" 1493 1491 msgstr "VÀÀrÀ salasana" … … 1507 1505 1508 1506 #: app/controllers/asset_type_controller.rb:22 1509 #: config/menu.rb: 731510 #: config/menu.rb: 741507 #: config/menu.rb:129 1508 #: config/menu.rb:130 1511 1509 msgid "Asset types" 1512 1510 msgstr "Kohdetyypit" … … 1534 1532 msgstr "Luo uusi kohdetyyppi" 1535 1533 1536 #: app/controllers/asset_type_controller.rb:5 81534 #: app/controllers/asset_type_controller.rb:59 1537 1535 msgid "Edit asset type" 1538 1536 msgstr "Muokkaa kohdetyyppiÀ" … … 1556 1554 1557 1555 #: app/controllers/asset_controller.rb:69 1558 #: app/controllers/asset_controller.rb: 2551556 #: app/controllers/asset_controller.rb:311 1559 1557 #: app/controllers/asset_field_controller.rb:17 1560 1558 #: app/controllers/asset_field_controller.rb:27 … … 1567 1565 1568 1566 #: app/controllers/asset_controller.rb:69 1569 #: app/controllers/asset_controller.rb: 2551567 #: app/controllers/asset_controller.rb:311 1570 1568 msgid "-- No type --" 1571 1569 msgstr "-- Ei tyyppiÀ --" … … 1576 1574 1577 1575 #: app/controllers/asset_controller.rb:104 1578 #: app/controllers/asset_controller.rb:2 091576 #: app/controllers/asset_controller.rb:210 1579 1577 #: app/views/asset/online_help__edit.rhtml:9 1580 1578 #: app/views/asset/_view_table.rhtml:16 … … 1618 1616 msgstr "Muokkaa kohteen tietoja" 1619 1617 1620 #: app/controllers/asset_controller.rb:226 1618 #: app/controllers/asset_controller.rb:228 1619 msgid "selected assets in branch %s" 1620 msgstr "Valitut kohteet haarassa %s" 1621 1622 #: app/controllers/asset_controller.rb:232 1623 msgid "Change type of all %d selected assets" 1624 msgstr "Muuta kaikkien %d valitun kohteen tyyppiÀ" 1625 1626 #: app/controllers/asset_controller.rb:282 1621 1627 #: config/menu.rb:59 1622 1628 msgid "Change type" … … 1624 1630 1625 1631 #: app/controllers/system_controller.rb:19 1626 #: app/views/layouts/mainlevel.rhtml:2 621632 #: app/views/layouts/mainlevel.rhtml:274 1627 1633 msgid "Version information" 1628 1634 msgstr "Versiotiedot" … … 1686 1692 1687 1693 #: app/controllers/message_controller.rb:23 1688 #: app/views/layouts/mainlevel.rhtml:1 181694 #: app/views/layouts/mainlevel.rhtml:129 1689 1695 msgid "View" 1690 1696 msgstr "NÀytÀ" … … 1716 1722 msgstr "Tiedot" 1717 1723 1718 #: app/controllers/action_key_controller.rb:221719 #: app/controllers/keyring_controller.rb:371720 #: app/views/action_key/online_help__general.rhtml:11721 #: app/views/online_help/_index.rhtml:261722 #: config/menu.rb:1321723 msgid "Keys"1724 msgstr "Avaimet"1725 1726 1724 #: app/controllers/action_key_controller.rb:30 1727 1725 msgid "Create a new key" … … 1881 1879 #: app/views/user_group/online_help__general.rhtml:1 1882 1880 #: app/views/online_help/_index.rhtml:41 1883 #: config/menu.rb:119 1881 #: app/views/user/edit.rhtml:36 1882 #: config/menu.rb:80 1884 1883 msgid "User groups" 1885 1884 msgstr "KÀyttÀjÀryhmÀt" … … 1920 1919 #: app/views/attachment/attach.rhtml:21 1921 1920 #: app/views/asset_tree/_asset_tree.rhtml:46 1922 #: app/views/shared/_create_or_edit.rhtml:4 11921 #: app/views/shared/_create_or_edit.rhtml:44 1923 1922 #: app/views/shared/_select.rhtml:21 1924 1923 #: app/views/report/_creation_form.rhtml:37 … … 1928 1927 #: app/views/report_type/create_step1.rhtml:15 1929 1928 #: app/views/report_type/create_step2.rhtml:18 1930 #: app/views/report_type/create_step4.rhtml:1 441929 #: app/views/report_type/create_step4.rhtml:152 1931 1930 #: app/views/report_type/edit.rhtml:51 1932 #: app/views/work_order/view.rhtml:3 61931 #: app/views/work_order/view.rhtml:39 1933 1932 #: app/views/work_order/create.rhtml:50 1934 1933 #: app/views/work_order/edit.rhtml:6 … … 2049 2048 #: app/views/online_help/_index.rhtml:29 2050 2049 #: app/views/report_category/online_help__general.rhtml:1 2051 #: config/menu.rb: 982050 #: config/menu.rb:115 2052 2051 msgid "Report categories" 2053 msgstr "Raportti luokat"2052 msgstr "Raporttikategoriat" 2054 2053 2055 2054 #: app/controllers/report_category_controller.rb:27 … … 2059 2058 #: app/controllers/report_category_controller.rb:35 2060 2059 msgid "Create a new report category" 2061 msgstr "Luo uusi raportti luokka"2060 msgstr "Luo uusi raporttikategoria" 2062 2061 2063 2062 #: app/controllers/report_category_controller.rb:43 2064 2063 msgid "Edit report category" 2065 msgstr "Muokkaa raportti luokkaa"2064 msgstr "Muokkaa raporttikategoriaa" 2066 2065 2067 2066 #: app/controllers/report_category_controller.rb:75 … … 2077 2076 #: app/views/keyring/online_help__general.rhtml:1 2078 2077 #: app/views/user/edit.rhtml:27 2079 #: config/menu.rb: 1252078 #: config/menu.rb:86 2080 2079 msgid "Keyrings" 2081 2080 msgstr "Avainrenkaat" 2082 2083 #: app/controllers/keyring_controller.rb:382084 msgid "Owners"2085 msgstr "Omistajat"2086 2081 2087 2082 #: app/controllers/keyring_controller.rb:46 … … 2125 2120 msgstr "Avainrengas %s poistettu %d kÀyttÀjÀltÀ" 2126 2121 2127 #: app/views/asset/view.rhtml: 62122 #: app/views/asset/view.rhtml:7 2128 2123 msgid "Condition monitor" 2129 2124 msgstr "Tilan valvonta" … … 2304 2299 #: app/views/report/_creation_form.rhtml:45 2305 2300 #: app/views/report_type/edit.rhtml:51 2306 #: app/views/work_order/view.rhtml:3 62301 #: app/views/work_order/view.rhtml:39 2307 2302 #: app/views/work_order/edit.rhtml:5 2308 2303 #: app/views/user/reset_password.rhtml:14 … … 2436 2431 msgstr "SisÀltötyyppi" 2437 2432 2433 #: app/views/attachment/view.rhtml:37 2434 #: app/views/attachment/attach.rhtml:18 2435 #: app/views/report/view.rhtml:22 2436 #: app/views/report/_creation_form.rhtml:37 2437 #: app/views/report/_creation_form.rhtml:40 2438 #: app/views/work_order/view.rhtml:59 2439 #: app/views/work_order/create.rhtml:46 2440 #: config/menu.rb:61 2441 msgid "Permissions" 2442 msgstr "KÀyttöoikeudet" 2443 2438 2444 #: app/views/attachment/attach.rhtml:1 2439 2445 msgid "The maximum size for an attachment is %3.1f MiB." … … 2538 2544 #: app/views/user/search.rhtml:8 2539 2545 #: app/views/user/search.rhtml:21 2540 #: config/menu.rb: 202546 #: config/menu.rb:17 2541 2547 #: config/menu.rb:39 2542 2548 msgid "Search" … … 2561 2567 #: app/views/asset_tree/_asset_tree.rhtml:38 2562 2568 #: app/views/report_type/create_step4.rhtml:32 2563 #: app/views/report_type/create_step4.rhtml:1 362569 #: app/views/report_type/create_step4.rhtml:144 2564 2570 #: app/views/work_order/list.rhtml:12 2565 2571 msgid "Update" … … 2574 2580 msgstr "SiirrÀ" 2575 2581 2576 #: app/views/asset_tree/_asset_types.rhtml:1 82582 #: app/views/asset_tree/_asset_types.rhtml:17 2577 2583 msgid "No assets selected" 2578 2584 msgstr "Ei kohteita valittuna" 2579 2585 2580 #: app/views/asset_tree/_asset_types.rhtml:3 42586 #: app/views/asset_tree/_asset_types.rhtml:33 2581 2587 msgid "Typeless assets" 2582 2588 msgstr "TyypittömÀt kohteet" … … 2590 2596 msgstr "NykyistÀ sivua ei löytynyt valikosta!" 2591 2597 2592 #: app/views/layouts/mainlevel.rhtml: 692598 #: app/views/layouts/mainlevel.rhtml:80 2593 2599 msgid "Logged in as" 2594 2600 msgstr "Kirjauduttu tunnuksella" 2595 2601 2596 #: app/views/layouts/mainlevel.rhtml: 712602 #: app/views/layouts/mainlevel.rhtml:82 2597 2603 msgid "logout" 2598 2604 msgstr "kirjaudu ulos" 2599 2605 2600 #: app/views/layouts/mainlevel.rhtml:1 012606 #: app/views/layouts/mainlevel.rhtml:112 2601 2607 msgid "Selected branch:" 2602 2608 msgstr "Valittu haara:" 2603 2609 2604 #: app/views/layouts/mainlevel.rhtml:1 042610 #: app/views/layouts/mainlevel.rhtml:115 2605 2611 msgid "Selected asset type:" 2606 2612 msgstr "Valittu kohdetyyppi:" 2607 2613 2608 #: app/views/layouts/mainlevel.rhtml:1 082614 #: app/views/layouts/mainlevel.rhtml:119 2609 2615 msgid "Selected asset:" 2610 2616 msgstr "Valittu kohde:" 2611 2617 2612 #: app/views/layouts/mainlevel.rhtml:1 452613 #: app/views/layouts/mainlevel.rhtml:1 492618 #: app/views/layouts/mainlevel.rhtml:157 2619 #: app/views/layouts/mainlevel.rhtml:161 2614 2620 msgid "Show asset tree" 2615 2621 msgstr "NÀytÀ kohdepuu" 2616 2622 2617 #: app/views/layouts/mainlevel.rhtml:1 602618 #: app/views/layouts/mainlevel.rhtml:1 642623 #: app/views/layouts/mainlevel.rhtml:172 2624 #: app/views/layouts/mainlevel.rhtml:176 2619 2625 msgid "Hide asset tree" 2620 2626 msgstr "Piilota kohdepuu" 2621 2627 2622 #: app/views/layouts/mainlevel.rhtml: 1902628 #: app/views/layouts/mainlevel.rhtml:202 2623 2629 msgid "Help" 2624 2630 msgstr "Ohje" 2625 2631 2626 #: app/views/layouts/mainlevel.rhtml:2 412632 #: app/views/layouts/mainlevel.rhtml:253 2627 2633 msgid "You have a new message" 2628 2634 msgstr "Sinulle on uusi viesti" 2629 2635 2630 #: app/views/layouts/mainlevel.rhtml:2 432636 #: app/views/layouts/mainlevel.rhtml:255 2631 2637 msgid "You have %i new messages" 2632 2638 msgstr "Sinulle on %i uutta viestiÀ" … … 2651 2657 #: config/menu.rb:46 2652 2658 #: config/menu.rb:76 2653 #: config/menu.rb:8 42654 #: config/menu.rb: 902655 #: config/menu.rb: 1012656 #: config/menu.rb:10 72657 #: config/menu.rb:11 52658 #: config/menu.rb:12 12659 #: config/menu.rb:1 272660 #: config/menu.rb:1 342659 #: config/menu.rb:82 2660 #: config/menu.rb:88 2661 #: config/menu.rb:95 2662 #: config/menu.rb:102 2663 #: config/menu.rb:118 2664 #: config/menu.rb:124 2665 #: config/menu.rb:132 2666 #: config/menu.rb:140 2661 2667 msgid "Create" 2662 2668 msgstr "Luo" 2663 2669 2664 #: app/views/shared/_list_items.rhtml: 262670 #: app/views/shared/_list_items.rhtml:37 2665 2671 msgid "This list is empty." 2666 2672 msgstr "TÀmÀ lista on tyhjÀ." 2667 2673 2668 #: app/views/shared/_list_items.rhtml: 382674 #: app/views/shared/_list_items.rhtml:49 2669 2675 msgid "Page:" 2670 2676 msgstr "Sivu:" 2671 2677 2672 #: app/views/shared/_list_items.rhtml: 632678 #: app/views/shared/_list_items.rhtml:74 2673 2679 #: app/views/work_order/view.rhtml:12 2674 2680 msgid "Actions" 2675 2681 msgstr "Toiminnot" 2676 2682 2677 #: app/views/shared/_list_items.rhtml:1 312683 #: app/views/shared/_list_items.rhtml:142 2678 2684 msgid "No" 2679 2685 msgstr "Ei" 2680 2686 2681 #: app/views/shared/_list_items.rhtml:1 332687 #: app/views/shared/_list_items.rhtml:144 2682 2688 #: app/views/report/remove.rhtml:5 2683 2689 msgid "Yes" 2684 2690 msgstr "KyllÀ" 2685 2691 2686 #: app/views/shared/_list_items.rhtml:1 802692 #: app/views/shared/_list_items.rhtml:192 2687 2693 msgid "%s selected" 2688 2694 msgstr "%s valitut" … … 2729 2735 2730 2736 #: app/views/timeline/_display_event.rhtml:14 2731 #: app/views/timeline/_display_event.rhtml:3 52732 #: app/views/work_order/_display_work_order_event.rhtml: 52737 #: app/views/timeline/_display_event.rhtml:37 2738 #: app/views/work_order/_display_work_order_event.rhtml:7 2733 2739 msgid "Created by %s" 2734 2740 msgstr "Luotu kÀyttÀjÀn %s toimesta" 2735 2741 2736 2742 #: app/views/timeline/_display_event.rhtml:16 2737 #: app/views/work_order/_display_work_order_event.rhtml: 72743 #: app/views/work_order/_display_work_order_event.rhtml:9 2738 2744 msgid "Closed by %s" 2739 2745 msgstr "Suljettu kÀyttÀjÀn %s toimesta" … … 2744 2750 2745 2751 #: app/views/timeline/_display_event.rhtml:20 2746 #: app/views/work_order/_display_work_order_event.rhtml:1 12752 #: app/views/work_order/_display_work_order_event.rhtml:13 2747 2753 msgid "Accepted by %s" 2748 2754 msgstr "HyvÀksytty kÀyttÀjÀn %s toimesta" 2749 2755 2750 2756 #: app/views/timeline/_display_event.rhtml:22 2751 #: app/views/work_order/_display_work_order_event.rhtml:1 32757 #: app/views/work_order/_display_work_order_event.rhtml:15 2752 2758 msgid "Reopened by %s" 2753 2759 msgstr "Avattu uudestaan kÀyttÀjÀn %s toimesta" 2754 2760 2755 #: app/views/timeline/_display_event.rhtml:37 2761 #: app/views/timeline/_display_event.rhtml:24 2762 #: app/views/work_order/_display_work_order_event.rhtml:17 2763 msgid "Comment added by %s" 2764 msgstr "Kommentti lisÀtty kÀyttÀjÀn %s toimesta" 2765 2766 #: app/views/timeline/_display_event.rhtml:39 2756 2767 msgid "Modified by %s" 2757 2768 msgstr "Muokattu kÀyttÀjÀn %s toimesta" 2758 2769 2759 #: app/views/timeline/_display_event.rhtml:5 02770 #: app/views/timeline/_display_event.rhtml:52 2760 2771 msgid "Uploaded by %s" 2761 2772 msgstr "Ladattu kÀyttÀjÀn %s toimesta" … … 2775 2786 #: app/views/report_category/view_as_tree.rhtml:2 2776 2787 msgid "No report categories defined" 2777 msgstr "YhtÀÀn raportti luokkaa ei ole mÀÀritelty."2788 msgstr "YhtÀÀn raporttikategoriaa ei ole mÀÀritelty." 2778 2789 2779 2790 #: app/views/report_category/online_help__general.rhtml:5 … … 2852 2863 #: app/views/report/_creation_form.rhtml:37 2853 2864 #: app/views/report/_creation_form.rhtml:43 2854 #: app/views/work_order/view.rhtml:6 42865 #: app/views/work_order/view.rhtml:69 2855 2866 msgid "Create report" 2856 2867 msgstr "Luo raportti" … … 3003 3014 msgstr "Ei voi olla tyhjÀ" 3004 3015 3005 #: app/views/report_type/create_step4.rhtml:14 03016 #: app/views/report_type/create_step4.rhtml:148 3006 3017 #: app/views/report_type/edit.rhtml:12 3007 3018 msgid "Reports can be edited" 3008 3019 msgstr "Raporttien muokkaaminen sallittu" 3009 3020 3010 #: app/views/report_type/create_step4.rhtml:1 433021 #: app/views/report_type/create_step4.rhtml:151 3011 3022 msgid "Preview" 3012 3023 msgstr "Esikatselu" … … 3068 3079 msgstr "Avaa työmÀÀrÀin uudestaan" 3069 3080 3070 #: app/views/work_order/view.rhtml:40 3081 #: app/views/work_order/view.rhtml:36 3082 msgid "Comments" 3083 msgstr "Kommentit" 3084 3085 #: app/views/work_order/view.rhtml:44 3071 3086 msgid "Change history" 3072 3087 msgstr "