- Timestamp:
- Jul 16, 2009, 6:00:27 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/i18n/en.ts
r35 r37 111 111 <name>MainWindow</name> 112 112 <message> 113 <location filename="../src/mainwindow.cpp" line="12 4"/>114 <location filename="../src/mainwindow.cpp" line=" 292"/>115 <location filename="../src/mainwindow.cpp" line="3 01"/>113 <location filename="../src/mainwindow.cpp" line="127"/> 114 <location filename="../src/mainwindow.cpp" line="316"/> 115 <location filename="../src/mainwindow.cpp" line="325"/> 116 116 <source>Language change</source> 117 117 <translation type="unfinished"></translation> 118 118 </message> 119 119 <message> 120 <location filename="../src/mainwindow.cpp" line="12 4"/>120 <location filename="../src/mainwindow.cpp" line="127"/> 121 121 <source>Unable to load translation language.</source> 122 122 <translation type="unfinished"></translation> 123 123 </message> 124 124 <message> 125 <location filename="../src/mainwindow.cpp" line="159"/> 125 <location filename="../src/mainwindow.cpp" line="155"/> 126 <source>New Task</source> 127 <translation type="unfinished"></translation> 128 </message> 129 <message> 130 <location filename="../src/mainwindow.cpp" line="155"/> 131 <location filename="../src/mainwindow.cpp" line="166"/> 132 <location filename="../src/mainwindow.cpp" line="339"/> 133 <source>Would you like to save changes in current task?</source> 134 <translation type="unfinished"></translation> 135 </message> 136 <message> 137 <location filename="../src/mainwindow.cpp" line="166"/> 138 <source>Task Open</source> 139 <translation type="unfinished"></translation> 140 </message> 141 <message> 142 <location filename="../src/mainwindow.cpp" line="173"/> 126 143 <source>All Supported Formats</source> 127 144 <translation type="unfinished"></translation> 128 145 </message> 129 146 <message> 130 <location filename="../src/mainwindow.cpp" line="1 60"/>131 <location filename="../src/mainwindow.cpp" line="1 61"/>147 <location filename="../src/mainwindow.cpp" line="174"/> 148 <location filename="../src/mainwindow.cpp" line="175"/> 132 149 <source>%1 Task Files</source> 133 150 <translation type="unfinished"></translation> 134 151 </message> 135 152 <message> 136 <location filename="../src/mainwindow.cpp" line="1 62"/>137 <location filename="../src/mainwindow.cpp" line="1 77"/>153 <location filename="../src/mainwindow.cpp" line="176"/> 154 <location filename="../src/mainwindow.cpp" line="196"/> 138 155 <source>All Files</source> 139 156 <translation type="unfinished"></translation> 140 157 </message> 141 158 <message> 142 <location filename="../src/mainwindow.cpp" line="1 76"/>159 <location filename="../src/mainwindow.cpp" line="195"/> 143 160 <source>%1 Task File</source> 144 161 <translation type="unfinished"></translation> 145 162 </message> 146 163 <message> 147 <location filename="../src/mainwindow.cpp" line="2 28"/>164 <location filename="../src/mainwindow.cpp" line="252"/> 148 165 <source>Data error</source> 149 166 <translation type="unfinished"></translation> 150 167 </message> 151 168 <message> 152 <location filename="../src/mainwindow.cpp" line="2 28"/>169 <location filename="../src/mainwindow.cpp" line="252"/> 153 170 <source>Error in cell [Row %1; Column %2]: Invalid data format.</source> 154 171 <translation type="unfinished"></translation> 155 172 </message> 156 173 <message> 157 <location filename="../src/mainwindow.cpp" line="2 37"/>174 <location filename="../src/mainwindow.cpp" line="261"/> 158 175 <source>Solution error</source> 159 176 <translation type="unfinished"></translation> 160 177 </message> 161 178 <message> 162 <location filename="../src/mainwindow.cpp" line="2 37"/>179 <location filename="../src/mainwindow.cpp" line="261"/> 163 180 <source>There was an error while solving the task.</source> 164 181 <translation type="unfinished"></translation> 165 182 </message> 166 183 <message> 167 <location filename="../src/mainwindow.cpp" line=" 292"/>184 <location filename="../src/mainwindow.cpp" line="316"/> 168 185 <source>Language will be autodetected on next application start.</source> 169 186 <translation type="unfinished"></translation> 170 187 </message> 171 188 <message> 172 <location filename="../src/mainwindow.cpp" line="3 01"/>189 <location filename="../src/mainwindow.cpp" line="325"/> 173 190 <source>You have language autodetection turned on. 174 191 It needs to be off. … … 177 194 </message> 178 195 <message> 179 <location filename="../ui/mainwindow.ce.ui" line="17"/> 180 <location filename="../ui/mainwindow.ui" line="14"/> 181 <source>Travelling salesman problem</source> 196 <location filename="../src/mainwindow.cpp" line="339"/> 197 <source>Application Close</source> 182 198 <translation type="unfinished"></translation> 183 199 </message> … … 267 283 </message> 268 284 <message> 269 <location filename="../ui/mainwindow.ce.ui" line="55 8"/>270 <location filename="../ui/mainwindow.ui" line="57 1"/>285 <location filename="../ui/mainwindow.ce.ui" line="559"/> 286 <location filename="../ui/mainwindow.ui" line="572"/> 271 287 <source>&Save</source> 272 288 <translation type="unfinished"></translation> … … 279 295 </message> 280 296 <message> 297 <location filename="../ui/mainwindow.ce.ui" line="17"/> 298 <location filename="../ui/mainwindow.ui" line="14"/> 299 <source>Travelling salesman problem[*]</source> 300 <translation type="unfinished"></translation> 301 </message> 302 <message> 281 303 <location filename="../ui/mainwindow.ce.ui" line="262"/> 282 304 <location filename="../ui/mainwindow.ui" line="240"/> … … 297 319 </message> 298 320 <message> 299 <location filename="../ui/mainwindow.ce.ui" line="3 49"/>300 <location filename="../ui/mainwindow.ui" line="36 2"/>321 <location filename="../ui/mainwindow.ce.ui" line="350"/> 322 <location filename="../ui/mainwindow.ui" line="363"/> 301 323 <source>Solution st&eps</source> 302 324 <translation type="unfinished"></translation> 303 325 </message> 304 326 <message> 305 <location filename="../ui/mainwindow.ce.ui" line="35 2"/>306 <location filename="../ui/mainwindow.ui" line="36 5"/>327 <location filename="../ui/mainwindow.ce.ui" line="353"/> 328 <location filename="../ui/mainwindow.ui" line="366"/> 307 329 <source>Save solution steps</source> 308 330 <translation type="unfinished"></translation> 309 331 </message> 310 332 <message> 311 <location filename="../ui/mainwindow.ce.ui" line="35 5"/>312 <location filename="../ui/mainwindow.ui" line="36 8"/>333 <location filename="../ui/mainwindow.ce.ui" line="356"/> 334 <location filename="../ui/mainwindow.ui" line="369"/> 313 335 <source>Save solution steps only</source> 314 336 <translation type="unfinished"></translation> 315 337 </message> 316 338 <message> 317 <location filename="../ui/mainwindow.ce.ui" line="36 3"/>318 <location filename="../ui/mainwindow.ui" line="37 6"/>339 <location filename="../ui/mainwindow.ce.ui" line="364"/> 340 <location filename="../ui/mainwindow.ui" line="377"/> 319 341 <source>Solution &graph</source> 320 342 <translation type="unfinished"></translation> 321 343 </message> 322 344 <message> 323 <location filename="../ui/mainwindow.ce.ui" line="36 6"/>324 <location filename="../ui/mainwindow.ui" line="3 79"/>345 <location filename="../ui/mainwindow.ce.ui" line="367"/> 346 <location filename="../ui/mainwindow.ui" line="380"/> 325 347 <source>Save solution graph</source> 326 348 <translation type="unfinished"></translation> 327 349 </message> 328 350 <message> 329 <location filename="../ui/mainwindow.ce.ui" line="3 69"/>330 <location filename="../ui/mainwindow.ui" line="38 2"/>351 <location filename="../ui/mainwindow.ce.ui" line="370"/> 352 <location filename="../ui/mainwindow.ui" line="383"/> 331 353 <source>Save solution graph only</source> 332 354 <translation type="unfinished"></translation> 333 355 </message> 334 356 <message> 335 <location filename="../ui/mainwindow.ce.ui" line="37 7"/>336 <location filename="../ui/mainwindow.ui" line="39 0"/>357 <location filename="../ui/mainwindow.ce.ui" line="378"/> 358 <location filename="../ui/mainwindow.ui" line="391"/> 337 359 <source>&Solution</source> 338 360 <translation type="unfinished"></translation> 339 361 </message> 340 362 <message> 341 <location filename="../ui/mainwindow.ce.ui" line="38 0"/>342 <location filename="../ui/mainwindow.ui" line="39 3"/>363 <location filename="../ui/mainwindow.ce.ui" line="381"/> 364 <location filename="../ui/mainwindow.ui" line="394"/> 343 365 <source>Save solution</source> 344 366 <translation type="unfinished"></translation> 345 367 </message> 346 368 <message> 347 <location filename="../ui/mainwindow.ce.ui" line="38 3"/>348 <location filename="../ui/mainwindow.ui" line="39 6"/>369 <location filename="../ui/mainwindow.ce.ui" line="384"/> 370 <location filename="../ui/mainwindow.ui" line="397"/> 349 371 <source>Save solution steps and graph</source> 350 372 <translation type="unfinished"></translation> 351 373 </message> 352 374 <message> 353 <location filename="../ui/mainwindow.ce.ui" line="39 2"/>354 <location filename="../ui/mainwindow.ui" line="40 5"/>375 <location filename="../ui/mainwindow.ce.ui" line="393"/> 376 <location filename="../ui/mainwindow.ui" line="406"/> 355 377 <source>&New</source> 356 378 <translation type="unfinished"></translation> 357 379 </message> 358 380 <message> 359 <location filename="../ui/mainwindow.ce.ui" line="39 5"/>360 <location filename="../ui/mainwindow.ui" line="40 8"/>381 <location filename="../ui/mainwindow.ce.ui" line="396"/> 382 <location filename="../ui/mainwindow.ui" line="409"/> 361 383 <source>New</source> 362 384 <translation type="unfinished"></translation> 363 385 </message> 364 386 <message> 365 <location filename="../ui/mainwindow.ce.ui" line="39 8"/>366 <location filename="../ui/mainwindow.ui" line="41 1"/>387 <location filename="../ui/mainwindow.ce.ui" line="399"/> 388 <location filename="../ui/mainwindow.ui" line="412"/> 367 389 <source>New task</source> 368 390 <translation type="unfinished"></translation> 369 391 </message> 370 392 <message> 371 <location filename="../ui/mainwindow.ce.ui" line="40 1"/>372 <location filename="../ui/mainwindow.ui" line="41 4"/>393 <location filename="../ui/mainwindow.ce.ui" line="402"/> 394 <location filename="../ui/mainwindow.ui" line="415"/> 373 395 <source>Create new task</source> 374 396 <translation type="unfinished"></translation> 375 397 </message> 376 398 <message> 377 <location filename="../ui/mainwindow.ce.ui" line="40 4"/>378 <location filename="../ui/mainwindow.ui" line="41 7"/>399 <location filename="../ui/mainwindow.ce.ui" line="405"/> 400 <location filename="../ui/mainwindow.ui" line="418"/> 379 401 <source>Ctrl+N</source> 380 402 <translation type="unfinished"></translation> 381 403 </message> 382 404 <message> 383 <location filename="../ui/mainwindow.ce.ui" line="41 3"/>384 <location filename="../ui/mainwindow.ui" line="42 6"/>405 <location filename="../ui/mainwindow.ce.ui" line="414"/> 406 <location filename="../ui/mainwindow.ui" line="427"/> 385 407 <source>&Open...</source> 386 408 <translation type="unfinished"></translation> 387 409 </message> 388 410 <message> 389 <location filename="../ui/mainwindow.ce.ui" line="41 6"/>390 <location filename="../ui/mainwindow.ui" line="4 29"/>411 <location filename="../ui/mainwindow.ce.ui" line="417"/> 412 <location filename="../ui/mainwindow.ui" line="430"/> 391 413 <source>Open...</source> 392 414 <translation type="unfinished"></translation> 393 415 </message> 394 416 <message> 395 <location filename="../ui/mainwindow.ce.ui" line="4 19"/>396 <location filename="../ui/mainwindow.ui" line="43 2"/>417 <location filename="../ui/mainwindow.ce.ui" line="420"/> 418 <location filename="../ui/mainwindow.ui" line="433"/> 397 419 <source>Open task</source> 398 420 <translation type="unfinished"></translation> 399 421 </message> 400 422 <message> 401 <location filename="../ui/mainwindow.ce.ui" line="42 2"/>402 <location filename="../ui/mainwindow.ui" line="43 5"/>423 <location filename="../ui/mainwindow.ce.ui" line="423"/> 424 <location filename="../ui/mainwindow.ui" line="436"/> 403 425 <source>Open saved task</source> 404 426 <translation type="unfinished"></translation> 405 427 </message> 406 428 <message> 407 <location filename="../ui/mainwindow.ce.ui" line="42 5"/>408 <location filename="../ui/mainwindow.ui" line="43 8"/>429 <location filename="../ui/mainwindow.ce.ui" line="426"/> 430 <location filename="../ui/mainwindow.ui" line="439"/> 409 431 <source>Ctrl+O</source> 410 432 <translation type="unfinished"></translation> 411 433 </message> 412 434 <message> 413 <location filename="../ui/mainwindow.ce.ui" line="43 4"/>414 <location filename="../ui/mainwindow.ui" line="44 7"/>435 <location filename="../ui/mainwindow.ce.ui" line="435"/> 436 <location filename="../ui/mainwindow.ui" line="448"/> 415 437 <source>&Preferences...</source> 416 438 <translation type="unfinished"></translation> 417 439 </message> 418 440 <message> 419 <location filename="../ui/mainwindow.ce.ui" line="43 7"/>420 <location filename="../ui/mainwindow.ui" line="45 0"/>441 <location filename="../ui/mainwindow.ce.ui" line="438"/> 442 <location filename="../ui/mainwindow.ui" line="451"/> 421 443 <source>Preferences...</source> 422 444 <translation type="unfinished"></translation> 423 445 </message> 424 446 <message> 425 <location filename="../ui/mainwindow.ce.ui" line="44 0"/>426 <location filename="../ui/mainwindow.ui" line="45 3"/>447 <location filename="../ui/mainwindow.ce.ui" line="441"/> 448 <location filename="../ui/mainwindow.ui" line="454"/> 427 449 <source>Application preferences</source> 428 450 <translation type="unfinished"></translation> 429 451 </message> 430 452 <message> 431 <location filename="../ui/mainwindow.ce.ui" line="45 2"/>432 <location filename="../ui/mainwindow.ui" line="46 5"/>453 <location filename="../ui/mainwindow.ce.ui" line="453"/> 454 <location filename="../ui/mainwindow.ui" line="466"/> 433 455 <source>&Contents</source> 434 456 <translation type="unfinished"></translation> 435 457 </message> 436 458 <message> 437 <location filename="../ui/mainwindow.ce.ui" line="45 5"/>438 <location filename="../ui/mainwindow.ui" line="46 8"/>459 <location filename="../ui/mainwindow.ce.ui" line="456"/> 460 <location filename="../ui/mainwindow.ui" line="469"/> 439 461 <source>Open help contents</source> 440 462 <translation type="unfinished"></translation> 441 463 </message> 442 464 <message> 443 <location filename="../ui/mainwindow.ce.ui" line="46 7"/>444 <location filename="../ui/mainwindow.ui" line="48 0"/>465 <location filename="../ui/mainwindow.ce.ui" line="468"/> 466 <location filename="../ui/mainwindow.ui" line="481"/> 445 467 <source>&Context help</source> 446 468 <translation type="unfinished"></translation> 447 469 </message> 448 470 <message> 449 <location filename="../ui/mainwindow.ce.ui" line="47 0"/>450 <location filename="../ui/mainwindow.ui" line="48 3"/>471 <location filename="../ui/mainwindow.ce.ui" line="471"/> 472 <location filename="../ui/mainwindow.ui" line="484"/> 451 473 <source>Open context help</source> 452 474 <translation type="unfinished"></translation> 453 475 </message> 454 476 <message> 455 <location filename="../ui/mainwindow.ce.ui" line="4 79"/>456 <location filename="../ui/mainwindow.ui" line="49 2"/>477 <location filename="../ui/mainwindow.ce.ui" line="480"/> 478 <location filename="../ui/mainwindow.ui" line="493"/> 457 479 <source>&About...</source> 458 480 <translation type="unfinished"></translation> 459 481 </message> 460 482 <message> 461 <location filename="../ui/mainwindow.ce.ui" line="48 2"/>462 <location filename="../ui/mainwindow.ui" line="49 5"/>483 <location filename="../ui/mainwindow.ce.ui" line="483"/> 484 <location filename="../ui/mainwindow.ui" line="496"/> 463 485 <source>About...</source> 464 486 <translation type="unfinished"></translation> 465 487 </message> 466 488 <message> 467 <location filename="../ui/mainwindow.ce.ui" line="48 5"/>468 <location filename="../ui/mainwindow.ui" line="49 8"/>489 <location filename="../ui/mainwindow.ce.ui" line="486"/> 490 <location filename="../ui/mainwindow.ui" line="499"/> 469 491 <source>About application</source> 470 492 <translation type="unfinished"></translation> 471 493 </message> 472 494 <message> 473 <location filename="../ui/mainwindow.ce.ui" line="49 4"/>474 <location filename="../ui/mainwindow.ui" line="50 7"/>495 <location filename="../ui/mainwindow.ce.ui" line="495"/> 496 <location filename="../ui/mainwindow.ui" line="508"/> 475 497 <source>E&xit</source> 476 498 <translation type="unfinished"></translation> 477 499 </message> 478 500 <message> 479 <location filename="../ui/mainwindow.ce.ui" line="49 7"/>480 <location filename="../ui/mainwindow.ui" line="51 0"/>501 <location filename="../ui/mainwindow.ce.ui" line="498"/> 502 <location filename="../ui/mainwindow.ui" line="511"/> 481 503 <source>Exit application</source> 482 504 <translation type="unfinished"></translation> 483 505 </message> 484 506 <message> 485 <location filename="../ui/mainwindow.ce.ui" line="50 6"/>486 <location filename="../ui/mainwindow.ui" line="5 19"/>507 <location filename="../ui/mainwindow.ce.ui" line="507"/> 508 <location filename="../ui/mainwindow.ui" line="520"/> 487 509 <source>&Task...</source> 488 510 <translation type="unfinished"></translation> 489 511 </message> 490 512 <message> 491 <location filename="../ui/mainwindow.ce.ui" line="5 09"/>492 <location filename="../ui/mainwindow.ui" line="52 2"/>513 <location filename="../ui/mainwindow.ce.ui" line="510"/> 514 <location filename="../ui/mainwindow.ui" line="523"/> 493 515 <source>Task...</source> 494 516 <translation type="unfinished"></translation> 495 517 </message> 496 518 <message> 497 <location filename="../ui/mainwindow.ce.ui" line="51 2"/>498 <location filename="../ui/mainwindow.ce.ui" line="56 1"/>499 <location filename="../ui/mainwindow.ui" line="52 5"/>500 <location filename="../ui/mainwindow.ui" line="57 7"/>519 <location filename="../ui/mainwindow.ce.ui" line="513"/> 520 <location filename="../ui/mainwindow.ce.ui" line="562"/> 521 <location filename="../ui/mainwindow.ui" line="526"/> 522 <location filename="../ui/mainwindow.ui" line="578"/> 501 523 <source>Save task</source> 502 524 <translation type="unfinished"></translation> 503 525 </message> 504 526 <message> 505 <location filename="../ui/mainwindow.ce.ui" line="51 5"/>506 <location filename="../ui/mainwindow.ui" line="52 8"/>527 <location filename="../ui/mainwindow.ce.ui" line="516"/> 528 <location filename="../ui/mainwindow.ui" line="529"/> 507 529 <source>Save task to file</source> 508 530 <translation type="unfinished"></translation> 509 531 </message> 510 532 <message> 511 <location filename="../ui/mainwindow.ce.ui" line="51 8"/>512 <location filename="../ui/mainwindow.ui" line="53 1"/>533 <location filename="../ui/mainwindow.ce.ui" line="519"/> 534 <location filename="../ui/mainwindow.ui" line="532"/> 513 535 <source>Ctrl+S</source> 514 536 <translation type="unfinished"></translation> 515 537 </message> 516 538 <message> 517 <location filename="../ui/mainwindow.ce.ui" line="5 29"/>518 <location filename="../ui/mainwindow.ui" line="54 2"/>539 <location filename="../ui/mainwindow.ce.ui" line="530"/> 540 <location filename="../ui/mainwindow.ui" line="543"/> 519 541 <source>&Autodetect</source> 520 542 <translation type="unfinished"></translation> 521 543 </message> 522 544 <message> 523 <location filename="../ui/mainwindow.ce.ui" line="54 6"/>545 <location filename="../ui/mainwindow.ce.ui" line="547"/> 524 546 <source>English</source> 525 547 <translation type="unfinished"></translation> 526 548 </message> 527 549 <message> 528 <location filename="../ui/mainwindow.ce.ui" line="56 4"/>529 <location filename="../ui/mainwindow.ui" line="58 0"/>550 <location filename="../ui/mainwindow.ce.ui" line="565"/> 551 <location filename="../ui/mainwindow.ui" line="581"/> 530 552 <source>Save current task</source> 553 <translation type="unfinished"></translation> 554 </message> 555 <message> 556 <location filename="../ui/mainwindow.ce.ui" line="574"/> 557 <location filename="../ui/mainwindow.ui" line="590"/> 558 <source>About &Qt...</source> 559 <translation type="unfinished"></translation> 560 </message> 561 <message> 562 <location filename="../ui/mainwindow.ce.ui" line="577"/> 563 <location filename="../ui/mainwindow.ui" line="593"/> 564 <source>About Qt...</source> 565 <translation type="unfinished"></translation> 566 </message> 567 <message> 568 <location filename="../ui/mainwindow.ce.ui" line="580"/> 569 <source>About Qt</source> 570 <translation type="unfinished"></translation> 571 </message> 572 <message> 573 <location filename="../ui/mainwindow.ce.ui" line="583"/> 574 <location filename="../ui/mainwindow.ui" line="596"/> 575 <source>About Qt library</source> 531 576 <translation type="unfinished"></translation> 532 577 </message> … … 544 589 </message> 545 590 <message> 546 <location filename="../ui/mainwindow.ui" line="33 3"/>591 <location filename="../ui/mainwindow.ui" line="334"/> 547 592 <source>P&rint setup...</source> 548 593 <translation type="unfinished"></translation> 549 594 </message> 550 595 <message> 551 <location filename="../ui/mainwindow.ui" line="33 6"/>596 <location filename="../ui/mainwindow.ui" line="337"/> 552 597 <source>Setup printing</source> 553 598 <translation type="unfinished"></translation> 554 599 </message> 555 600 <message> 556 <location filename="../ui/mainwindow.ui" line="34 8"/>601 <location filename="../ui/mainwindow.ui" line="349"/> 557 602 <source>&Print...</source> 558 603 <translation type="unfinished"></translation> 559 604 </message> 560 605 <message> 561 <location filename="../ui/mainwindow.ui" line="35 1"/>606 <location filename="../ui/mainwindow.ui" line="352"/> 562 607 <source>Print solution results</source> 563 608 <translation type="unfinished"></translation> 564 609 </message> 565 610 <message> 566 <location filename="../ui/mainwindow.ui" line="35 4"/>611 <location filename="../ui/mainwindow.ui" line="355"/> 567 612 <source>Ctrl+P</source> 568 613 <translation type="unfinished"></translation> 569 614 </message> 570 615 <message> 571 <location filename="../ui/mainwindow.ui" line="57 4"/>616 <location filename="../ui/mainwindow.ui" line="575"/> 572 617 <source>Save</source> 573 618 <translation type="unfinished"></translation> 574 619 </message> 575 620 <message> 576 <location filename="../ui/mainwindow.ce.ui" line="53 2"/>577 <location filename="../ui/mainwindow.ui" line="54 5"/>621 <location filename="../ui/mainwindow.ce.ui" line="533"/> 622 <location filename="../ui/mainwindow.ui" line="546"/> 578 623 <source>Detect language automatically</source> 579 624 <translation type="unfinished"></translation> 580 625 </message> 581 626 <message> 582 <location filename="../ui/mainwindow.ce.ui" line="53 5"/>583 <location filename="../ui/mainwindow.ui" line="54 8"/>627 <location filename="../ui/mainwindow.ce.ui" line="536"/> 628 <location filename="../ui/mainwindow.ui" line="549"/> 584 629 <source>Detect language automatically based on regional settings</source> 585 630 <translation type="unfinished"></translation> -
trunk/i18n/ru.ts
r35 r37 113 113 <name>MainWindow</name> 114 114 <message> 115 <location filename="../src/mainwindow.cpp" line="12 4"/>116 <location filename="../src/mainwindow.cpp" line=" 292"/>117 <location filename="../src/mainwindow.cpp" line="3 01"/>115 <location filename="../src/mainwindow.cpp" line="127"/> 116 <location filename="../src/mainwindow.cpp" line="316"/> 117 <location filename="../src/mainwindow.cpp" line="325"/> 118 118 <source>Language change</source> 119 119 <translation>Смена языка</translation> 120 120 </message> 121 121 <message> 122 <location filename="../src/mainwindow.cpp" line="12 4"/>122 <location filename="../src/mainwindow.cpp" line="127"/> 123 123 <source>Unable to load translation language.</source> 124 124 <translation>Невозможно загрузить перевод.</translation> 125 125 </message> 126 126 <message> 127 <location filename="../src/mainwindow.cpp" line="1 59"/>127 <location filename="../src/mainwindow.cpp" line="173"/> 128 128 <source>All Supported Formats</source> 129 129 <translation>Все поддерживаемые форматы</translation> 130 130 </message> 131 131 <message> 132 <location filename="../src/mainwindow.cpp" line="1 62"/>133 <location filename="../src/mainwindow.cpp" line="1 77"/>132 <location filename="../src/mainwindow.cpp" line="176"/> 133 <location filename="../src/mainwindow.cpp" line="196"/> 134 134 <source>All Files</source> 135 135 <translation>Все файлы</translation> 136 136 </message> 137 137 <message> 138 <location filename="../src/mainwindow.cpp" line="1 60"/>139 <location filename="../src/mainwindow.cpp" line="1 61"/>138 <location filename="../src/mainwindow.cpp" line="174"/> 139 <location filename="../src/mainwindow.cpp" line="175"/> 140 140 <source>%1 Task Files</source> 141 141 <translation>Файлы задач %1</translation> 142 142 </message> 143 143 <message> 144 <location filename="../src/mainwindow.cpp" line="176"/> 144 <location filename="../src/mainwindow.cpp" line="155"/> 145 <source>New Task</source> 146 <translation>Новая задача</translation> 147 </message> 148 <message> 149 <location filename="../src/mainwindow.cpp" line="155"/> 150 <location filename="../src/mainwindow.cpp" line="166"/> 151 <location filename="../src/mainwindow.cpp" line="339"/> 152 <source>Would you like to save changes in current task?</source> 153 <translation>Желаете сохранить изменения в текущей задаче?</translation> 154 </message> 155 <message> 156 <location filename="../src/mainwindow.cpp" line="166"/> 157 <source>Task Open</source> 158 <translation>Открытие задания</translation> 159 </message> 160 <message> 161 <location filename="../src/mainwindow.cpp" line="195"/> 145 162 <source>%1 Task File</source> 146 163 <translation>Файл задачи %1</translation> 147 164 </message> 148 165 <message> 149 <location filename="../src/mainwindow.cpp" line="2 28"/>166 <location filename="../src/mainwindow.cpp" line="252"/> 150 167 <source>Data error</source> 151 168 <translation>Ошибка в данных</translation> 152 169 </message> 153 170 <message> 154 <location filename="../src/mainwindow.cpp" line="2 28"/>171 <location filename="../src/mainwindow.cpp" line="252"/> 155 172 <source>Error in cell [Row %1; Column %2]: Invalid data format.</source> 156 173 <translation>Ошибка в ячейке [Строка %1; Колонка %2]: Неверный формат данных.</translation> 157 174 </message> 158 175 <message> 159 <location filename="../src/mainwindow.cpp" line="2 37"/>176 <location filename="../src/mainwindow.cpp" line="261"/> 160 177 <source>Solution error</source> 161 178 <translation>Ошибка при решении</translation> 162 179 </message> 163 180 <message> 164 <location filename="../src/mainwindow.cpp" line="2 37"/>181 <location filename="../src/mainwindow.cpp" line="261"/> 165 182 <source>There was an error while solving the task.</source> 166 183 <translation>Во время решения задачи возникла ошибка.</translation> 167 184 </message> 168 185 <message> 169 <location filename="../src/mainwindow.cpp" line=" 292"/>186 <location filename="../src/mainwindow.cpp" line="316"/> 170 187 <source>Language will be autodetected on next application start.</source> 171 188 <translation>Язык будет автоматически определен при следующем запуске приложения.</translation> 172 189 </message> 173 190 <message> 174 <location filename="../src/mainwindow.cpp" line="3 01"/>191 <location filename="../src/mainwindow.cpp" line="325"/> 175 192 <source>You have language autodetection turned on. 176 193 It needs to be off. … … 181 198 </message> 182 199 <message> 183 <location filename="../ui/mainwindow.ce.ui" line="17"/> 184 <location filename="../ui/mainwindow.ui" line="14"/> 200 <location filename="../src/mainwindow.cpp" line="339"/> 201 <source>Application Close</source> 202 <translation>Закрытие приложения</translation> 203 </message> 204 <message> 185 205 <source>Travelling salesman problem</source> 186 <translation >Задача коммивояжера</translation>206 <translation type="obsolete">Задача коммивояжера</translation> 187 207 </message> 188 208 <message> … … 271 291 </message> 272 292 <message> 273 <location filename="../ui/mainwindow.ce.ui" line="55 8"/>274 <location filename="../ui/mainwindow.ui" line="57 1"/>293 <location filename="../ui/mainwindow.ce.ui" line="559"/> 294 <location filename="../ui/mainwindow.ui" line="572"/> 275 295 <source>&Save</source> 276 296 <translation>Со&хранить</translation> … … 283 303 </message> 284 304 <message> 305 <location filename="../ui/mainwindow.ce.ui" line="17"/> 306 <location filename="../ui/mainwindow.ui" line="14"/> 307 <source>Travelling salesman problem[*]</source> 308 <translation>Задача коммивояжера[*]</translation> 309 </message> 310 <message> 285 311 <location filename="../ui/mainwindow.ce.ui" line="262"/> 286 312 <location filename="../ui/mainwindow.ui" line="240"/> … … 301 327 </message> 302 328 <message> 303 <location filename="../ui/mainwindow.ce.ui" line="3 49"/>304 <location filename="../ui/mainwindow.ui" line="36 2"/>329 <location filename="../ui/mainwindow.ce.ui" line="350"/> 330 <location filename="../ui/mainwindow.ui" line="363"/> 305 331 <source>Solution st&eps</source> 306 332 <translation>&Ход решения</translation> 307 333 </message> 308 334 <message> 309 <location filename="../ui/mainwindow.ce.ui" line="35 2"/>310 <location filename="../ui/mainwindow.ui" line="36 5"/>335 <location filename="../ui/mainwindow.ce.ui" line="353"/> 336 <location filename="../ui/mainwindow.ui" line="366"/> 311 337 <source>Save solution steps</source> 312 338 <translation>Сохранить ход решения</translation> 313 339 </message> 314 340 <message> 315 <location filename="../ui/mainwindow.ce.ui" line="35 5"/>316 <location filename="../ui/mainwindow.ui" line="36 8"/>341 <location filename="../ui/mainwindow.ce.ui" line="356"/> 342 <location filename="../ui/mainwindow.ui" line="369"/> 317 343 <source>Save solution steps only</source> 318 344 <translation>Сохранить только ход решения</translation> 319 345 </message> 320 346 <message> 321 <location filename="../ui/mainwindow.ce.ui" line="36 3"/>322 <location filename="../ui/mainwindow.ui" line="37 6"/>347 <location filename="../ui/mainwindow.ce.ui" line="364"/> 348 <location filename="../ui/mainwindow.ui" line="377"/> 323 349 <source>Solution &graph</source> 324 350 <translation>&Граф решения</translation> 325 351 </message> 326 352 <message> 327 <location filename="../ui/mainwindow.ce.ui" line="36 6"/>328 <location filename="../ui/mainwindow.ui" line="3 79"/>353 <location filename="../ui/mainwindow.ce.ui" line="367"/> 354 <location filename="../ui/mainwindow.ui" line="380"/> 329 355 <source>Save solution graph</source> 330 356 <translation>Сохранить граф решения</translation> 331 357 </message> 332 358 <message> 333 <location filename="../ui/mainwindow.ce.ui" line="3 69"/>334 <location filename="../ui/mainwindow.ui" line="38 2"/>359 <location filename="../ui/mainwindow.ce.ui" line="370"/> 360 <location filename="../ui/mainwindow.ui" line="383"/> 335 361 <source>Save solution graph only</source> 336 362 <translation>Сохранить только граф решения</translation> 337 363 </message> 338 364 <message> 339 <location filename="../ui/mainwindow.ce.ui" line="37 7"/>340 <location filename="../ui/mainwindow.ui" line="39 0"/>365 <location filename="../ui/mainwindow.ce.ui" line="378"/> 366 <location filename="../ui/mainwindow.ui" line="391"/> 341 367 <source>&Solution</source> 342 368 <translation>&Решение</translation> 343 369 </message> 344 370 <message> 345 <location filename="../ui/mainwindow.ce.ui" line="38 0"/>346 <location filename="../ui/mainwindow.ui" line="39 3"/>371 <location filename="../ui/mainwindow.ce.ui" line="381"/> 372 <location filename="../ui/mainwindow.ui" line="394"/> 347 373 <source>Save solution</source> 348 374 <translation>Сохранить решение</translation> 349 375 </message> 350 376 <message> 351 <location filename="../ui/mainwindow.ce.ui" line="38 3"/>352 <location filename="../ui/mainwindow.ui" line="39 6"/>377 <location filename="../ui/mainwindow.ce.ui" line="384"/> 378 <location filename="../ui/mainwindow.ui" line="397"/> 353 379 <source>Save solution steps and graph</source> 354 380 <translation>Сохранить ход и граф решения</translation> 355 381 </message> 356 382 <message> 357 <location filename="../ui/mainwindow.ce.ui" line="39 2"/>358 <location filename="../ui/mainwindow.ui" line="40 5"/>383 <location filename="../ui/mainwindow.ce.ui" line="393"/> 384 <location filename="../ui/mainwindow.ui" line="406"/> 359 385 <source>&New</source> 360 386 <translation>&Создать</translation> 361 387 </message> 362 388 <message> 363 <location filename="../ui/mainwindow.ce.ui" line="39 5"/>364 <location filename="../ui/mainwindow.ui" line="40 8"/>389 <location filename="../ui/mainwindow.ce.ui" line="396"/> 390 <location filename="../ui/mainwindow.ui" line="409"/> 365 391 <source>New</source> 366 392 <translation>Создать</translation> 367 393 </message> 368 394 <message> 369 <location filename="../ui/mainwindow.ce.ui" line="39 8"/>370 <location filename="../ui/mainwindow.ui" line="41 1"/>395 <location filename="../ui/mainwindow.ce.ui" line="399"/> 396 <location filename="../ui/mainwindow.ui" line="412"/> 371 397 <source>New task</source> 372 398 <translation>Создать задачу</translation> 373 399 </message> 374 400 <message> 375 <location filename="../ui/mainwindow.ce.ui" line="40 1"/>376 <location filename="../ui/mainwindow.ui" line="41 4"/>401 <location filename="../ui/mainwindow.ce.ui" line="402"/> 402 <location filename="../ui/mainwindow.ui" line="415"/> 377 403 <source>Create new task</source> 378 404 <translation>Создать новую задачу</translation> 379 405 </message> 380 406 <message> 381 <location filename="../ui/mainwindow.ce.ui" line="40 4"/>382 <location filename="../ui/mainwindow.ui" line="41 7"/>407 <location filename="../ui/mainwindow.ce.ui" line="405"/> 408 <location filename="../ui/mainwindow.ui" line="418"/> 383 409 <source>Ctrl+N</source> 384 410 <translation></translation> 385 411 </message> 386 412 <message> 387 <location filename="../ui/mainwindow.ce.ui" line="41 3"/>388 <location filename="../ui/mainwindow.ui" line="42 6"/>413 <location filename="../ui/mainwindow.ce.ui" line="414"/> 414 <location filename="../ui/mainwindow.ui" line="427"/> 389 415 <source>&Open...</source> 390 416 <translation>&Открыть...</translation> 391 417 </message> 392 418 <message> 393 <location filename="../ui/mainwindow.ce.ui" line="41 6"/>394 <location filename="../ui/mainwindow.ui" line="4 29"/>419 <location filename="../ui/mainwindow.ce.ui" line="417"/> 420 <location filename="../ui/mainwindow.ui" line="430"/> 395 421 <source>Open...</source> 396 422 <translation>Открыть...</translation> 397 423 </message> 398 424 <message> 399 <location filename="../ui/mainwindow.ce.ui" line="4 19"/>400 <location filename="../ui/mainwindow.ui" line="43 2"/>425 <location filename="../ui/mainwindow.ce.ui" line="420"/> 426 <location filename="../ui/mainwindow.ui" line="433"/> 401 427 <source>Open task</source> 402 428 <translation>Открыть задачу</translation> 403 429 </message> 404 430 <message> 405 <location filename="../ui/mainwindow.ce.ui" line="42 2"/>406 <location filename="../ui/mainwindow.ui" line="43 5"/>431 <location filename="../ui/mainwindow.ce.ui" line="423"/> 432 <location filename="../ui/mainwindow.ui" line="436"/> 407 433 <source>Open saved task</source> 408 434 <translation>Открыть сохраненное условие задачи</translation> 409 435 </message> 410 436 <message> 411 <location filename="../ui/mainwindow.ce.ui" line="42 5"/>412 <location filename="../ui/mainwindow.ui" line="43 8"/>437 <location filename="../ui/mainwindow.ce.ui" line="426"/> 438 <location filename="../ui/mainwindow.ui" line="439"/> 413 439 <source>Ctrl+O</source> 414 440 <translation></translation> 415 441 </message> 416 442 <message> 417 <location filename="../ui/mainwindow.ce.ui" line="43 4"/>418 <location filename="../ui/mainwindow.ui" line="44 7"/>443 <location filename="../ui/mainwindow.ce.ui" line="435"/> 444 <location filename="../ui/mainwindow.ui" line="448"/> 419 445 <source>&Preferences...</source> 420 446 <translation>&Параметры...</translation> 421 447 </message> 422 448 <message> 423 <location filename="../ui/mainwindow.ce.ui" line="43 7"/>424 <location filename="../ui/mainwindow.ui" line="45 0"/>449 <location filename="../ui/mainwindow.ce.ui" line="438"/> 450 <location filename="../ui/mainwindow.ui" line="451"/> 425 451 <source>Preferences...</source> 426 452 <translation>Параметры...</translation> 427 453 </message> 428 454 <message> 429 <location filename="../ui/mainwindow.ce.ui" line="44 0"/>430 <location filename="../ui/mainwindow.ui" line="45 3"/>455 <location filename="../ui/mainwindow.ce.ui" line="441"/> 456 <location filename="../ui/mainwindow.ui" line="454"/> 431 457 <source>Application preferences</source> 432 458 <translation>Настройка параметров программмы</translation> 433 459 </message> 434 460 <message> 435 <location filename="../ui/mainwindow.ce.ui" line="45 2"/>436 <location filename="../ui/mainwindow.ui" line="46 5"/>461 <location filename="../ui/mainwindow.ce.ui" line="453"/> 462 <location filename="../ui/mainwindow.ui" line="466"/> 437 463 <source>&Contents</source> 438 464 <translation>&Содежание</translation> 439 465 </message> 440 466 <message> 441 <location filename="../ui/mainwindow.ce.ui" line="45 5"/>442 <location filename="../ui/mainwindow.ui" line="46 8"/>467 <location filename="../ui/mainwindow.ce.ui" line="456"/> 468 <location filename="../ui/mainwindow.ui" line="469"/> 443 469 <source>Open help contents</source> 444 470 <translation>Вызвать справку программы</translation> 445 471 </message> 446 472 <message> 447 <location filename="../ui/mainwindow.ce.ui" line="46 7"/>448 <location filename="../ui/mainwindow.ui" line="48 0"/>473 <location filename="../ui/mainwindow.ce.ui" line="468"/> 474 <location filename="../ui/mainwindow.ui" line="481"/> 449 475 <source>&Context help</source> 450 476 <translation>&Контекстная справка</translation> 451 477 </message> 452 478 <message> 453 <location filename="../ui/mainwindow.ce.ui" line="47 0"/>454 <location filename="../ui/mainwindow.ui" line="48 3"/>479 <location filename="../ui/mainwindow.ce.ui" line="471"/> 480 <location filename="../ui/mainwindow.ui" line="484"/> 455 481 <source>Open context help</source> 456 482 <translation>Вызвать контекстную справку</translation> 457 483 </message> 458 484 <message> 459 <location filename="../ui/mainwindow.ce.ui" line="4 79"/>460 <location filename="../ui/mainwindow.ui" line="49 2"/>485 <location filename="../ui/mainwindow.ce.ui" line="480"/> 486 <location filename="../ui/mainwindow.ui" line="493"/> 461 487 <source>&About...</source> 462 488 <translation>&Про...</translation> 463 489 </message> 464 490 <message> 465 <location filename="../ui/mainwindow.ce.ui" line="48 2"/>466 <location filename="../ui/mainwindow.ui" line="49 5"/>491 <location filename="../ui/mainwindow.ce.ui" line="483"/> 492 <location filename="../ui/mainwindow.ui" line="496"/> 467 493 <source>About...</source> 468 494 <translation>Про...</translation> 469 495 </message> 470 496 <message> 471 <location filename="../ui/mainwindow.ce.ui" line="48 5"/>472 <location filename="../ui/mainwindow.ui" line="49 8"/>497 <location filename="../ui/mainwindow.ce.ui" line="486"/> 498 <location filename="../ui/mainwindow.ui" line="499"/> 473 499 <source>About application</source> 474 500 <translation>О программе</translation> 475 501 </message> 476 502 <message> 477 <location filename="../ui/mainwindow.ce.ui" line="49 4"/>478 <location filename="../ui/mainwindow.ui" line="50 7"/>503 <location filename="../ui/mainwindow.ce.ui" line="495"/> 504 <location filename="../ui/mainwindow.ui" line="508"/> 479 505 <source>E&xit</source> 480 506 <translation>В&ыход</translation> 481 507 </message> 482 508 <message> 483 <location filename="../ui/mainwindow.ce.ui" line="49 7"/>484 <location filename="../ui/mainwindow.ui" line="51 0"/>509 <location filename="../ui/mainwindow.ce.ui" line="498"/> 510 <location filename="../ui/mainwindow.ui" line="511"/> 485 511 <source>Exit application</source> 486 512 <translation>Выйти из приложения</translation> 487 513 </message> 488 514 <message> 489 <location filename="../ui/mainwindow.ce.ui" line="50 6"/>490 <location filename="../ui/mainwindow.ui" line="5 19"/>515 <location filename="../ui/mainwindow.ce.ui" line="507"/> 516 <location filename="../ui/mainwindow.ui" line="520"/> 491 517 <source>&Task...</source> 492 518 <translation>&Задачу...</translation> 493 519 </message> 494 520 <message> 495 <location filename="../ui/mainwindow.ce.ui" line="5 09"/>496 <location filename="../ui/mainwindow.ui" line="52 2"/>521 <location filename="../ui/mainwindow.ce.ui" line="510"/> 522 <location filename="../ui/mainwindow.ui" line="523"/> 497 523 <source>Task...</source> 498 524 <translation>Задачу...</translation> 499 525 </message> 500 526 <message> 501 <location filename="../ui/mainwindow.ce.ui" line="51 2"/>502 <location filename="../ui/mainwindow.ce.ui" line="56 1"/>503 <location filename="../ui/mainwindow.ui" line="52 5"/>504 <location filename="../ui/mainwindow.ui" line="57 7"/>527 <location filename="../ui/mainwindow.ce.ui" line="513"/> 528 <location filename="../ui/mainwindow.ce.ui" line="562"/> 529 <location filename="../ui/mainwindow.ui" line="526"/> 530 <location filename="../ui/mainwindow.ui" line="578"/> 505 531 <source>Save task</source> 506 532 <translation>Сохранить задачу</translation> 507 533 </message> 508 534 <message> 509 <location filename="../ui/mainwindow.ce.ui" line="51 5"/>510 <location filename="../ui/mainwindow.ui" line="52 8"/>535 <location filename="../ui/mainwindow.ce.ui" line="516"/> 536 <location filename="../ui/mainwindow.ui" line="529"/> 511 537 <source>Save task to file</source> 512 538 <translation>Сохранить условие задачи в файл</translation> 513 539 </message> 514 540 <message> 515 <location filename="../ui/mainwindow.ce.ui" line="51 8"/>516 <location filename="../ui/mainwindow.ui" line="53 1"/>541 <location filename="../ui/mainwindow.ce.ui" line="519"/> 542 <location filename="../ui/mainwindow.ui" line="532"/> 517 543 <source>Ctrl+S</source> 518 544 <translation></translation> 519 545 </message> 520 546 <message> 521 <location filename="../ui/mainwindow.ce.ui" line="5 29"/>522 <location filename="../ui/mainwindow.ui" line="54 2"/>547 <location filename="../ui/mainwindow.ce.ui" line="530"/> 548 <location filename="../ui/mainwindow.ui" line="543"/> 523 549 <source>&Autodetect</source> 524 550 <translation>&Автоопределение</translation> 525 551 </message> 526 552 <message> 527 <location filename="../ui/mainwindow.ce.ui" line="54 6"/>553 <location filename="../ui/mainwindow.ce.ui" line="547"/> 528 554 <source>English</source> 529 555 <translation>Английский</translation> 530 556 </message> 531 557 <message> 532 <location filename="../ui/mainwindow.ce.ui" line="56 4"/>533 <location filename="../ui/mainwindow.ui" line="58 0"/>558 <location filename="../ui/mainwindow.ce.ui" line="565"/> 559 <location filename="../ui/mainwindow.ui" line="581"/> 534 560 <source>Save current task</source> 535 561 <translation>Сохранить текущую задачу</translation> 562 </message> 563 <message> 564 <location filename="../ui/mainwindow.ce.ui" line="574"/> 565 <location filename="../ui/mainwindow.ui" line="590"/> 566 <source>About &Qt...</source> 567 <translation>Про &Qt...</translation> 568 </message> 569 <message> 570 <location filename="../ui/mainwindow.ce.ui" line="577"/> 571 <location filename="../ui/mainwindow.ui" line="593"/> 572 <source>About Qt...</source> 573 <translation>Про Qt...</translation> 574 </message> 575 <message> 576 <location filename="../ui/mainwindow.ce.ui" line="580"/> 577 <source>About Qt</source> 578 <translation>Про Qt</translation> 579 </message> 580 <message> 581 <location filename="../ui/mainwindow.ce.ui" line="583"/> 582 <location filename="../ui/mainwindow.ui" line="596"/> 583 <source>About Qt library</source> 584 <translation>Про библиотеку Qt</translation> 536 585 </message> 537 586 <message> … … 548 597 </message> 549 598 <message> 550 <location filename="../ui/mainwindow.ui" line="33 3"/>599 <location filename="../ui/mainwindow.ui" line="334"/> 551 600 <source>P&rint setup...</source> 552 601 <translation>&Настройка печати...</translation> 553 602 </message> 554 603 <message> 555 <location filename="../ui/mainwindow.ui" line="33 6"/>604 <location filename="../ui/mainwindow.ui" line="337"/> 556 605 <source>Setup printing</source> 557 606 <translation>Настроить печать</translation> 558 607 </message> 559 608 <message> 560 <location filename="../ui/mainwindow.ui" line="34 8"/>609 <location filename="../ui/mainwindow.ui" line="349"/> 561 610 <source>&Print...</source> 562 611 <translation>&Печать...</translation> 563 612 </message> 564 613 <message> 565 <location filename="../ui/mainwindow.ui" line="35 1"/>614 <location filename="../ui/mainwindow.ui" line="352"/> 566 615 <source>Print solution results</source> 567 616 <translation>Распечатать результаты решения</translation> 568 617 </message> 569 618 <message> 570 <location filename="../ui/mainwindow.ui" line="35 4"/>619 <location filename="../ui/mainwindow.ui" line="355"/> 571 620 <source>Ctrl+P</source> 572 621 <translation></translation> 573 622 </message> 574 623 <message> 575 <location filename="../ui/mainwindow.ui" line="57 4"/>624 <location filename="../ui/mainwindow.ui" line="575"/> 576 625 <source>Save</source> 577 626 <translation>Сохранить</translation> 578 627 </message> 579 628 <message> 580 <location filename="../ui/mainwindow.ce.ui" line="53 2"/>581 <location filename="../ui/mainwindow.ui" line="54 5"/>629 <location filename="../ui/mainwindow.ce.ui" line="533"/> 630 <location filename="../ui/mainwindow.ui" line="546"/> 582 631 <source>Detect language automatically</source> 583 632 <translation>Определять язык автоматически</translation> 584 633 </message> 585 634 <message> 586 <location filename="../ui/mainwindow.ce.ui" line="53 5"/>587 <location filename="../ui/mainwindow.ui" line="54 8"/>635 <location filename="../ui/mainwindow.ce.ui" line="536"/> 636 <location filename="../ui/mainwindow.ui" line="549"/> 588 637 <source>Detect language automatically based on regional settings</source> 589 638 <translation>Определять язык автоматически, основываясь на региональных настройках</translation> -
trunk/i18n/uk.ts
r35 r37 137 137 </message> 138 138 <message> 139 <location filename="../ui/mainwindow.ui" line="33 3"/>139 <location filename="../ui/mainwindow.ui" line="334"/> 140 140 <source>P&rint setup...</source> 141 141 <translation>&Налагодження друку...</translation> 142 142 </message> 143 143 <message> 144 <location filename="../ui/mainwindow.ui" line="33 6"/>144 <location filename="../ui/mainwindow.ui" line="337"/> 145 145 <source>Setup printing</source> 146 146 <translation>Налагодити друк</translation> 147 147 </message> 148 148 <message> 149 <location filename="../ui/mainwindow.ui" line="34 8"/>149 <location filename="../ui/mainwindow.ui" line="349"/> 150 150 <source>&Print...</source> 151 151 <translation>&Друк...</translation> 152 152 </message> 153 153 <message> 154 <location filename="../ui/mainwindow.ui" line="35 1"/>154 <location filename="../ui/mainwindow.ui" line="352"/> 155 155 <source>Print solution results</source> 156 156 <translation>Роздрукувати результат розв'язку</translation> 157 157 </message> 158 158 <message> 159 <location filename="../ui/mainwindow.ui" line="35 4"/>159 <location filename="../ui/mainwindow.ui" line="355"/> 160 160 <source>Ctrl+P</source> 161 161 <translation></translation> 162 162 </message> 163 163 <message> 164 <location filename="../ui/mainwindow.ui" line="57 4"/>164 <location filename="../ui/mainwindow.ui" line="575"/> 165 165 <source>Save</source> 166 166 <translation>Зберегти</translation> 167 167 </message> 168 168 <message> 169 <location filename="../ui/mainwindow.ce.ui" line="53 2"/>170 <location filename="../ui/mainwindow.ui" line="54 5"/>169 <location filename="../ui/mainwindow.ce.ui" line="533"/> 170 <location filename="../ui/mainwindow.ui" line="546"/> 171 171 <source>Detect language automatically</source> 172 172 <translation>Визначати мову автоматично</translation> 173 173 </message> 174 174 <message> 175 <location filename="../ui/mainwindow.ce.ui" line="53 5"/>176 <location filename="../ui/mainwindow.ui" line="54 8"/>175 <location filename="../ui/mainwindow.ce.ui" line="536"/> 176 <location filename="../ui/mainwindow.ui" line="549"/> 177 177 <source>Detect language automatically based on regional settings</source> 178 178 <translation>Визначати мову автоматично, використовуючи регіональні стандарти</translation> 179 179 </message> 180 180 <message> 181 <location filename="../ui/mainwindow.ce.ui" line="51 8"/>182 <location filename="../ui/mainwindow.ui" line="53 1"/>181 <location filename="../ui/mainwindow.ce.ui" line="519"/> 182 <location filename="../ui/mainwindow.ui" line="532"/> 183 183 <source>Ctrl+S</source> 184 184 <translation></translation> 185 185 </message> 186 186 <message> 187 <location filename="../ui/mainwindow.ce.ui" line="40 4"/>188 <location filename="../ui/mainwindow.ui" line="41 7"/>187 <location filename="../ui/mainwindow.ce.ui" line="405"/> 188 <location filename="../ui/mainwindow.ui" line="418"/> 189 189 <source>Ctrl+N</source> 190 190 <translation></translation> 191 191 </message> 192 192 <message> 193 <location filename="../ui/mainwindow.ce.ui" line="17"/>194 <location filename="../ui/mainwindow.ui" line="14"/>195 193 <source>Travelling salesman problem</source> 196 <translation >Задача комівояжера</translation>194 <translation type="obsolete">Задача комівояжера</translation> 197 195 </message> 198 196 <message> … … 269 267 </message> 270 268 <message> 271 <location filename="../ui/mainwindow.ce.ui" line="55 8"/>272 <location filename="../ui/mainwindow.ui" line="57 1"/>269 <location filename="../ui/mainwindow.ce.ui" line="559"/> 270 <location filename="../ui/mainwindow.ui" line="572"/> 273 271 <source>&Save</source> 274 272 <translation>&Зберегти</translation> … … 281 279 </message> 282 280 <message> 281 <location filename="../ui/mainwindow.ce.ui" line="17"/> 282 <location filename="../ui/mainwindow.ui" line="14"/> 283 <source>Travelling salesman problem[*]</source> 284 <translation>Задача комівояжера[*]</translation> 285 </message> 286 <message> 283 287 <location filename="../ui/mainwindow.ce.ui" line="262"/> 284 288 <location filename="../ui/mainwindow.ui" line="240"/> … … 299 303 </message> 300 304 <message> 301 <location filename="../ui/mainwindow.ce.ui" line="3 49"/>302 <location filename="../ui/mainwindow.ui" line="36 2"/>305 <location filename="../ui/mainwindow.ce.ui" line="350"/> 306 <location filename="../ui/mainwindow.ui" line="363"/> 303 307 <source>Solution st&eps</source> 304 308 <translation>&Хід розв'язку</translation> 305 309 </message> 306 310 <message> 307 <location filename="../ui/mainwindow.ce.ui" line="35 2"/>308 <location filename="../ui/mainwindow.ui" line="36 5"/>311 <location filename="../ui/mainwindow.ce.ui" line="353"/> 312 <location filename="../ui/mainwindow.ui" line="366"/> 309 313 <source>Save solution steps</source> 310 314 <translation>Зберегти хід розв'язку</translation> 311 315 </message> 312 316 <message> 313 <location filename="../ui/mainwindow.ce.ui" line="35 5"/>314 <location filename="../ui/mainwindow.ui" line="36 8"/>317 <location filename="../ui/mainwindow.ce.ui" line="356"/> 318 <location filename="../ui/mainwindow.ui" line="369"/> 315 319 <source>Save solution steps only</source> 316 320 <translation>Зберегти тільки хід розв'язку</translation> 317 321 </message> 318 322 <message> 319 <location filename="../ui/mainwindow.ce.ui" line="36 3"/>320 <location filename="../ui/mainwindow.ui" line="37 6"/>323 <location filename="../ui/mainwindow.ce.ui" line="364"/> 324 <location filename="../ui/mainwindow.ui" line="377"/> 321 325 <source>Solution &graph</source> 322 326 <translation>&Граф розв'язку</translation> 323 327 </message> 324 328 <message> 325 <location filename="../ui/mainwindow.ce.ui" line="36 6"/>326 <location filename="../ui/mainwindow.ui" line="3 79"/>329 <location filename="../ui/mainwindow.ce.ui" line="367"/> 330 <location filename="../ui/mainwindow.ui" line="380"/> 327 331 <source>Save solution graph</source> 328 332 <translation>Зберегти граф розв'язку</translation> 329 333 </message> 330 334 <message> 331 <location filename="../ui/mainwindow.ce.ui" line="3 69"/>332 <location filename="../ui/mainwindow.ui" line="38 2"/>335 <location filename="../ui/mainwindow.ce.ui" line="370"/> 336 <location filename="../ui/mainwindow.ui" line="383"/> 333 337 <source>Save solution graph only</source> 334 338 <translation>Зберегти тільки граф розв'язку</translation> 335 339 </message> 336 340 <message> 337 <location filename="../ui/mainwindow.ce.ui" line="37 7"/>338 <location filename="../ui/mainwindow.ui" line="39 0"/>341 <location filename="../ui/mainwindow.ce.ui" line="378"/> 342 <location filename="../ui/mainwindow.ui" line="391"/> 339 343 <source>&Solution</source> 340 344 <translation>&Розв'язок</translation> 341 345 </message> 342 346 <message> 343 <location filename="../ui/mainwindow.ce.ui" line="38 0"/>344 <location filename="../ui/mainwindow.ui" line="39 3"/>347 <location filename="../ui/mainwindow.ce.ui" line="381"/> 348 <location filename="../ui/mainwindow.ui" line="394"/> 345 349 <source>Save solution</source> 346 350 <translation>Зберегти розв'язок</translation> 347 351 </message> 348 352 <message> 349 <location filename="../ui/mainwindow.ce.ui" line="38 3"/>350 <location filename="../ui/mainwindow.ui" line="39 6"/>353 <location filename="../ui/mainwindow.ce.ui" line="384"/> 354 <location filename="../ui/mainwindow.ui" line="397"/> 351 355 <source>Save solution steps and graph</source> 352 356 <translation>Зберегти хід та граф розв'язку</translation> 353 357 </message> 354 358 <message> 355 <location filename="../ui/mainwindow.ce.ui" line="39 2"/>356 <location filename="../ui/mainwindow.ui" line="40 5"/>359 <location filename="../ui/mainwindow.ce.ui" line="393"/> 360 <location filename="../ui/mainwindow.ui" line="406"/> 357 361 <source>&New</source> 358 362 <translation>&Створити</translation> 359 363 </message> 360 364 <message> 361 <location filename="../ui/mainwindow.ce.ui" line="39 5"/>362 <location filename="../ui/mainwindow.ui" line="40 8"/>365 <location filename="../ui/mainwindow.ce.ui" line="396"/> 366 <location filename="../ui/mainwindow.ui" line="409"/> 363 367 <source>New</source> 364 368 <translation>Створити</translation> 365 369 </message> 366 370 <message> 367 <location filename="../ui/mainwindow.ce.ui" line="39 8"/>368 <location filename="../ui/mainwindow.ui" line="41 1"/>371 <location filename="../ui/mainwindow.ce.ui" line="399"/> 372 <location filename="../ui/mainwindow.ui" line="412"/> 369 373 <source>New task</source> 370 374 <translation>Нове завдання</translation> 371 375 </message> 372 376 <message> 373 <location filename="../ui/mainwindow.ce.ui" line="40 1"/>374 <location filename="../ui/mainwindow.ui" line="41 4"/>377 <location filename="../ui/mainwindow.ce.ui" line="402"/> 378 <location filename="../ui/mainwindow.ui" line="415"/> 375 379 <source>Create new task</source> 376 380 <translation>Створити нове завдання</translation> 377 381 </message> 378 382 <message> 379 <location filename="../ui/mainwindow.ce.ui" line="41 3"/>380 <location filename="../ui/mainwindow.ui" line="42 6"/>383 <location filename="../ui/mainwindow.ce.ui" line="414"/> 384 <location filename="../ui/mainwindow.ui" line="427"/> 381 385 <source>&Open...</source> 382 386 <translation>&Відкрити...</translation> 383 387 </message> 384 388 <message> 385 <location filename="../ui/mainwindow.ce.ui" line="41 6"/>386 <location filename="../ui/mainwindow.ui" line="4 29"/>389 <location filename="../ui/mainwindow.ce.ui" line="417"/> 390 <location filename="../ui/mainwindow.ui" line="430"/> 387 391 <source>Open...</source> 388 392 <translation>Відкрити...</translation> 389 393 </message> 390 394 <message> 391 <location filename="../ui/mainwindow.ce.ui" line="4 19"/>392 <location filename="../ui/mainwindow.ui" line="43 2"/>395 <location filename="../ui/mainwindow.ce.ui" line="420"/> 396 <location filename="../ui/mainwindow.ui" line="433"/> 393 397 <source>Open task</source> 394 398 <translation>Відкрити завдання</translation> 395 399 </message> 396 400 <message> 397 <location filename="../ui/mainwindow.ce.ui" line="42 2"/>398 <location filename="../ui/mainwindow.ui" line="43 5"/>401 <location filename="../ui/mainwindow.ce.ui" line="423"/> 402 <location filename="../ui/mainwindow.ui" line="436"/> 399 403 <source>Open saved task</source> 400 404 <translation>Відкрити збережене завдання</translation> 401 405 </message> 402 406 <message> 403 <location filename="../ui/mainwindow.ce.ui" line="42 5"/>404 <location filename="../ui/mainwindow.ui" line="43 8"/>407 <location filename="../ui/mainwindow.ce.ui" line="426"/> 408 <location filename="../ui/mainwindow.ui" line="439"/> 405 409 <source>Ctrl+O</source> 406 410 <translation></translation> 407 411 </message> 408 412 <message> 409 <location filename="../ui/mainwindow.ce.ui" line="43 4"/>410 <location filename="../ui/mainwindow.ui" line="44 7"/>413 <location filename="../ui/mainwindow.ce.ui" line="435"/> 414 <location filename="../ui/mainwindow.ui" line="448"/> 411 415 <source>&Preferences...</source> 412 416 <translation>&Параметри...</translation> 413 417 </message> 414 418 <message> 415 <location filename="../ui/mainwindow.ce.ui" line="43 7"/>416 <location filename="../ui/mainwindow.ui" line="45 0"/>419 <location filename="../ui/mainwindow.ce.ui" line="438"/> 420 <location filename="../ui/mainwindow.ui" line="451"/> 417 421 <source>Preferences...</source> 418 422 <translation>Параметри...</translation> 419 423 </message> 420 424 <message> 421 <location filename="../ui/mainwindow.ce.ui" line="44 0"/>422 <location filename="../ui/mainwindow.ui" line="45 3"/>425 <location filename="../ui/mainwindow.ce.ui" line="441"/> 426 <location filename="../ui/mainwindow.ui" line="454"/> 423 427 <source>Application preferences</source> 424 428 <translation>Параметри додатку</translation> 425 429 </message> 426 430 <message> 427 <location filename="../ui/mainwindow.ce.ui" line="45 2"/>428 <location filename="../ui/mainwindow.ui" line="46 5"/>431 <location filename="../ui/mainwindow.ce.ui" line="453"/> 432 <location filename="../ui/mainwindow.ui" line="466"/> 429 433 <source>&Contents</source> 430 434 <translation>&Зміст</translation> 431 435 </message> 432 436 <message> 433 <location filename="../ui/mainwindow.ce.ui" line="45 5"/>434 <location filename="../ui/mainwindow.ui" line="46 8"/>437 <location filename="../ui/mainwindow.ce.ui" line="456"/> 438 <location filename="../ui/mainwindow.ui" line="469"/> 435 439 <source>Open help contents</source> 436 440 <translation>Відкрити зміст допомоги</translation> 437 441 </message> 438 442 <message> 439 <location filename="../ui/mainwindow.ce.ui" line="46 7"/>440 <location filename="../ui/mainwindow.ui" line="48 0"/>443 <location filename="../ui/mainwindow.ce.ui" line="468"/> 444 <location filename="../ui/mainwindow.ui" line="481"/> 441 445 <source>&Context help</source> 442 446 <translation>&Контекстна допомога</translation> 443 447 </message> 444 448 <message> 445 <location filename="../ui/mainwindow.ce.ui" line="47 0"/>446 <location filename="../ui/mainwindow.ui" line="48 3"/>449 <location filename="../ui/mainwindow.ce.ui" line="471"/> 450 <location filename="../ui/mainwindow.ui" line="484"/> 447 451 <source>Open context help</source> 448 452 <translation>Відкрити контекстну допомогу</translation> 449 453 </message> 450 454 <message> 451 <location filename="../ui/mainwindow.ce.ui" line="4 79"/>452 <location filename="../ui/mainwindow.ui" line="49 2"/>455 <location filename="../ui/mainwindow.ce.ui" line="480"/> 456 <location filename="../ui/mainwindow.ui" line="493"/> 453 457 <source>&About...</source> 454 458 <translation>&Про...</translation> 455 459 </message> 456 460 <message> 457 <location filename="../ui/mainwindow.ce.ui" line="48 2"/>458 <location filename="../ui/mainwindow.ui" line="49 5"/>461 <location filename="../ui/mainwindow.ce.ui" line="483"/> 462 <location filename="../ui/mainwindow.ui" line="496"/> 459 463 <source>About...</source> 460 464 <translation>Про...</translation> 461 465 </message> 462 466 <message> 463 <location filename="../ui/mainwindow.ce.ui" line="48 5"/>464 <location filename="../ui/mainwindow.ui" line="49 8"/>467 <location filename="../ui/mainwindow.ce.ui" line="486"/> 468 <location filename="../ui/mainwindow.ui" line="499"/> 465 469 <source>About application</source> 466 470 <translation>Про додаток</translation> 467 471 </message> 468 472 <message> 469 <location filename="../ui/mainwindow.ce.ui" line="49 4"/>470 <location filename="../ui/mainwindow.ui" line="50 7"/>473 <location filename="../ui/mainwindow.ce.ui" line="495"/> 474 <location filename="../ui/mainwindow.ui" line="508"/> 471 475 <source>E&xit</source> 472 476 <translation>В&ихід</translation> 473 477 </message> 474 478 <message> 475 <location filename="../ui/mainwindow.ce.ui" line="49 7"/>476 <location filename="../ui/mainwindow.ui" line="51 0"/>479 <location filename="../ui/mainwindow.ce.ui" line="498"/> 480 <location filename="../ui/mainwindow.ui" line="511"/> 477 481 <source>Exit application</source> 478 482 <translation>Вийти з додатку</translation> 479 483 </message> 480 484 <message> 481 <location filename="../ui/mainwindow.ce.ui" line="50 6"/>482 <location filename="../ui/mainwindow.ui" line="5 19"/>485 <location filename="../ui/mainwindow.ce.ui" line="507"/> 486 <location filename="../ui/mainwindow.ui" line="520"/> 483 487 <source>&Task...</source> 484 488 <translation>&Завдання...</translation> 485 489 </message> 486 490 <message> 487 <location filename="../ui/mainwindow.ce.ui" line="5 09"/>488 <location filename="../ui/mainwindow.ui" line="52 2"/>491 <location filename="../ui/mainwindow.ce.ui" line="510"/> 492 <location filename="../ui/mainwindow.ui" line="523"/> 489 493 <source>Task...</source> 490 494 <translation>Завдання...</translation> 491 495 </message> 492 496 <message> 493 <location filename="../ui/mainwindow.ce.ui" line="51 2"/>494 <location filename="../ui/mainwindow.ce.ui" line="56 1"/>495 <location filename="../ui/mainwindow.ui" line="52 5"/>496 <location filename="../ui/mainwindow.ui" line="57 7"/>497 <location filename="../ui/mainwindow.ce.ui" line="513"/> 498 <location filename="../ui/mainwindow.ce.ui" line="562"/> 499 <location filename="../ui/mainwindow.ui" line="526"/> 500 <location filename="../ui/mainwindow.ui" line="578"/> 497 501 <source>Save task</source> 498 502 <translation>Зберегти завдання</translation> 499 503 </message> 500 504 <message> 501 <location filename="../ui/mainwindow.ce.ui" line="51 5"/>502 <location filename="../ui/mainwindow.ui" line="52 8"/>505 <location filename="../ui/mainwindow.ce.ui" line="516"/> 506 <location filename="../ui/mainwindow.ui" line="529"/> 503 507 <source>Save task to file</source> 504 508 <translation>Зберегти завдання до файлу</translation> 505 509 </message> 506 510 <message> 507 <location filename="../ui/mainwindow.ce.ui" line="5 29"/>508 <location filename="../ui/mainwindow.ui" line="54 2"/>511 <location filename="../ui/mainwindow.ce.ui" line="530"/> 512 <location filename="../ui/mainwindow.ui" line="543"/> 509 513 <source>&Autodetect</source> 510 514 <translation>&Автовизначення</translation> 511 515 </message> 512 516 <message> 513 <location filename="../ui/mainwindow.ce.ui" line="54 6"/>517 <location filename="../ui/mainwindow.ce.ui" line="547"/> 514 518 <source>English</source> 515 519 <translation>Англійська</translation> 516 520 </message> 517 521 <message> 518 <location filename="../ui/mainwindow.ce.ui" line="56 4"/>519 <location filename="../ui/mainwindow.ui" line="58 0"/>522 <location filename="../ui/mainwindow.ce.ui" line="565"/> 523 <location filename="../ui/mainwindow.ui" line="581"/> 520 524 <source>Save current task</source> 521 525 <translation>Зберегти поточне завдання</translation> 522 526 </message> 523 527 <message> 524 <location filename="../src/mainwindow.cpp" line="124"/> 525 <location filename="../src/mainwindow.cpp" line="292"/> 526 <location filename="../src/mainwindow.cpp" line="301"/> 528 <location filename="../ui/mainwindow.ce.ui" line="574"/> 529 <location filename="../ui/mainwindow.ui" line="590"/> 530 <source>About &Qt...</source> 531 <translation>Про &Qt...</translation> 532 </message> 533 <message> 534 <location filename="../ui/mainwindow.ce.ui" line="577"/> 535 <location filename="../ui/mainwindow.ui" line="593"/> 536 <source>About Qt...</source> 537 <translation>Про Qt...</translation> 538 </message> 539 <message> 540 <location filename="../ui/mainwindow.ce.ui" line="580"/> 541 <source>About Qt</source> 542 <translation>Про Qt</translation> 543 </message> 544 <message> 545 <location filename="../ui/mainwindow.ce.ui" line="583"/> 546 <location filename="../ui/mainwindow.ui" line="596"/> 547 <source>About Qt library</source> 548 <translation>Про бібліотеку Qt</translation> 549 </message> 550 <message> 551 <location filename="../src/mainwindow.cpp" line="127"/> 552 <location filename="../src/mainwindow.cpp" line="316"/> 553 <location filename="../src/mainwindow.cpp" line="325"/> 527 554 <source>Language change</source> 528 555 <translation>Зміна мови</translation> 529 556 </message> 530 557 <message> 531 <location filename="../src/mainwindow.cpp" line="12 4"/>558 <location filename="../src/mainwindow.cpp" line="127"/> 532 559 <source>Unable to load translation language.</source> 533 560 <translation>Неможливо завантажити переклад.</translation> 534 561 </message> 535 562 <message> 536 <location filename="../src/mainwindow.cpp" line="1 59"/>563 <location filename="../src/mainwindow.cpp" line="173"/> 537 564 <source>All Supported Formats</source> 538 565 <translation>Усі підтримувані формати</translation> 539 566 </message> 540 567 <message> 541 <location filename="../src/mainwindow.cpp" line="1 62"/>542 <location filename="../src/mainwindow.cpp" line="1 77"/>568 <location filename="../src/mainwindow.cpp" line="176"/> 569 <location filename="../src/mainwindow.cpp" line="196"/> 543 570 <source>All Files</source> 544 571 <translation>Усі файли</translation> 545 572 </message> 546 573 <message> 547 <location filename="../src/mainwindow.cpp" line="1 60"/>548 <location filename="../src/mainwindow.cpp" line="1 61"/>574 <location filename="../src/mainwindow.cpp" line="174"/> 575 <location filename="../src/mainwindow.cpp" line="175"/> 549 576 <source>%1 Task Files</source> 550 577 <translation>Файли завдань %1</translation> 551 578 </message> 552 579 <message> 553 <location filename="../src/mainwindow.cpp" line="176"/> 580 <location filename="../src/mainwindow.cpp" line="155"/> 581 <source>New Task</source> 582 <translation>Нова задача</translation> 583 </message> 584 <message> 585 <location filename="../src/mainwindow.cpp" line="155"/> 586 <location filename="../src/mainwindow.cpp" line="166"/> 587 <location filename="../src/mainwindow.cpp" line="339"/> 588 <source>Would you like to save changes in current task?</source> 589 <translation>Бажаете зберегти зміни у поточній задачі?</translation> 590 </message> 591 <message> 592 <location filename="../src/mainwindow.cpp" line="166"/> 593 <source>Task Open</source> 594 <translation>Відкриття завдання</translation> 595 </message> 596 <message> 597 <location filename="../src/mainwindow.cpp" line="195"/> 554 598 <source>%1 Task File</source> 555 599 <translation>Файл завдання %1</translation> 556 600 </message> 557 601 <message> 558 <location filename="../src/mainwindow.cpp" line="2 28"/>602 <location filename="../src/mainwindow.cpp" line="252"/> 559 603 <source>Data error</source> 560 604 <translation>Помилка даних</translation> 561 605 </message> 562 606 <message> 563 <location filename="../src/mainwindow.cpp" line="2 28"/>607 <location filename="../src/mainwindow.cpp" line="252"/> 564 608 <source>Error in cell [Row %1; Column %2]: Invalid data format.</source> 565 609 <translation>Помилка у комірці [Рядок %1; Колонка %2]: Невірний формат даних.</translation> 566 610 </message> 567 611 <message> 568 <location filename="../src/mainwindow.cpp" line="2 37"/>612 <location filename="../src/mainwindow.cpp" line="261"/> 569 613 <source>Solution error</source> 570 614 <translation>Помилка розв'язку</translation> 571 615 </message> 572 616 <message> 573 <location filename="../src/mainwindow.cpp" line="2 37"/>617 <location filename="../src/mainwindow.cpp" line="261"/> 574 618 <source>There was an error while solving the task.</source> 575 619 <translation>Під час розв'язання задачі виникла помилка.</translation> 576 620 </message> 577 621 <message> 578 <location filename="../src/mainwindow.cpp" line=" 292"/>622 <location filename="../src/mainwindow.cpp" line="316"/> 579 623 <source>Language will be autodetected on next application start.</source> 580 624 <translation>Мову буде автоматично визначено при наступному запуску додатку.</translation> 581 625 </message> 582 626 <message> 583 <location filename="../src/mainwindow.cpp" line="3 01"/>627 <location filename="../src/mainwindow.cpp" line="325"/> 584 628 <source>You have language autodetection turned on. 585 629 It needs to be off. … … 589 633 Вимкнути його?</translation> 590 634 </message> 635 <message> 636 <location filename="../src/mainwindow.cpp" line="339"/> 637 <source>Application Close</source> 638 <translation>Закриття додатку</translation> 639 </message> 591 640 </context> 592 641 <context> -
trunk/resources/tspsg.qrc
r30 r37 1 1 <RCC> 2 2 <qresource prefix="/images" > 3 <file>qtlogo-64.png</file> 3 4 <file>About.bmp</file> 4 5 <file>Icon.png</file> -
trunk/src/mainwindow.cpp
r33 r37 45 45 connect(actionSettingsLanguageAutodetect,SIGNAL(triggered(bool)),this,SLOT(actionSettingsLanguageAutodetectTriggered(bool))); 46 46 connect(groupSettingsLanguageList,SIGNAL(triggered(QAction *)),this,SLOT(groupSettingsLanguageListTriggered(QAction *))); 47 connect(actionHelpAboutQt,SIGNAL(triggered()),qApp,SLOT(aboutQt())); 47 48 connect(actionHelpAbout,SIGNAL(triggered()),this,SLOT(actionHelpAboutTriggered())); 48 49 #ifndef Q_OS_WINCE … … 78 79 taskView->setModel(tspmodel); 79 80 connect(tspmodel,SIGNAL(numCitiesChanged(int)),this,SLOT(numCitiesChanged(int))); 81 connect(tspmodel,SIGNAL(dataChanged(const QModelIndex &, const QModelIndex &)),this,SLOT(dataChanged())); 82 connect(tspmodel,SIGNAL(layoutChanged()),this,SLOT(dataChanged())); 80 83 #ifdef Q_OS_WINCE 81 84 taskView->resizeColumnsToContents(); … … 149 152 void MainWindow::actionFileNewTriggered() 150 153 { 154 if (isWindowModified()) { 155 int res = QMessageBox(QMessageBox::Warning,trUtf8("New Task"),trUtf8("Would you like to save changes in current task?"),QMessageBox::Yes | QMessageBox::No | QMessageBox::Cancel,this).exec(); 156 if ((res == QMessageBox::Cancel) || ((res == QMessageBox::Yes) && !saveTask())) 157 return; 158 } 151 159 tspmodel->clear(); 160 setWindowModified(false); 152 161 } 153 162 154 163 void MainWindow::actionFileOpenTriggered() 155 164 { 165 if (isWindowModified()) { 166 int res = QMessageBox(QMessageBox::Warning,trUtf8("Task Open"),trUtf8("Would you like to save changes in current task?"),QMessageBox::Yes | QMessageBox::No | QMessageBox::Cancel,this).exec(); 167 if ((res == QMessageBox::Cancel) || ((res == QMessageBox::Yes) && !saveTask())) 168 return; 169 } 156 170 QFileDialog od(this); 157 171 od.setAcceptMode(QFileDialog::AcceptOpen); … … 168 182 return; 169 183 tspmodel->loadTask(files.first()); 184 setWindowModified(false); 170 185 } 171 186 172 187 void MainWindow::actionFileSaveTaskTriggered() 173 188 { 189 saveTask(); 190 } 191 192 bool MainWindow::saveTask() { 174 193 QFileDialog sd(this); 175 194 sd.setAcceptMode(QFileDialog::AcceptSave); … … 179 198 sd.setDefaultSuffix("tspt"); 180 199 if (sd.exec() != QDialog::Accepted) 181 return ;200 return false; 182 201 QStringList files = sd.selectedFiles(); 183 202 if (files.size() < 1) 184 return; 185 tspmodel->saveTask(files.first()); 203 return false; 204 if (tspmodel->saveTask(files.first())) { 205 setWindowModified(false); 206 return true; 207 } else 208 return false; 186 209 } 187 210 … … 208 231 { 209 232 tspmodel->randomize(); 233 setWindowModified(true); 210 234 #ifdef Q_OS_WINCE 211 235 taskView->resizeColumnsToContents(); … … 244 268 QString about = QString::fromUtf8("TSPSG - TSP Solver and Generator\n"); 245 269 about += QString::fromUtf8(" Copyright (C) 2007-%1 Lёppa <contacts[at]oleksii[dot]name>\n").arg(QDate::currentDate().toString("yyyy")); 246 about += "Qt library versions:\n";247 about += QString::fromUtf8(" OS: %1\n").arg(OS);270 about += QString::fromUtf8("Target OS: %1\n").arg(OS); 271 about += "Qt library:\n"; 248 272 about += QString::fromUtf8(" Compile time: %1\n").arg(QT_VERSION_STR); 249 273 about += QString::fromUtf8(" Runtime: %1\n").arg(qVersion()); … … 312 336 void MainWindow::closeEvent(QCloseEvent *event) 313 337 { 338 if (isWindowModified()) { 339 int res = QMessageBox(QMessageBox::Warning,trUtf8("Application Close"),trUtf8("Would you like to save changes in current task?"),QMessageBox::Yes | QMessageBox::No | QMessageBox::Cancel,this).exec(); 340 if ((res == QMessageBox::Cancel) || ((res == QMessageBox::Yes) && !saveTask())) { 341 event->ignore(); 342 return; 343 } 344 } 314 345 settings->setValue("NumCities",spinCities->value()); 315 346 #ifndef Q_OS_WINCE … … 328 359 } 329 360 361 void MainWindow::dataChanged() 362 { 363 setWindowModified(true); 364 } 365 330 366 void MainWindow::numCitiesChanged(int nCities) 331 367 { -
trunk/src/mainwindow.h
r31 r37 49 49 void groupSettingsLanguageListTriggered(QAction *); 50 50 void actionHelpAboutTriggered(); 51 void dataChanged(); 51 52 #ifndef Q_OS_WINCE 52 53 void actionFilePrintSetupTriggered(); … … 63 64 bool loadLanguage(QString lang = ""); 64 65 void loadLangList(); 66 bool saveTask(); 65 67 }; 66 68 -
trunk/src/os.h
r31 r37 25 25 #define OS_H 26 26 27 #ifdef _WIN64 28 #define BITS " (64-bit)" 29 #elif defined _WIN32 30 #define BITS " (32-bit)" 31 #else 32 #define BITS "" 33 #endif // BITS 34 27 35 #ifdef Q_OS_AIX 28 #define OS "AIX" 36 #define OS "AIX"BITS 29 37 #define OSID quint8(1) 30 38 #elif defined Q_OS_BSD4 31 #define OS "BSD 4.4" 39 #define OS "BSD 4.4"BITS 32 40 #define OSID quint8(2) 33 41 #elif defined Q_OS_BSDI 34 #define OS "BSD/OS" 42 #define OS "BSD/OS"BITS 35 43 #define OSID quint8(3) 36 44 #elif defined Q_OS_CYGWIN 37 #define OS "Cygwin" 45 #define OS "Cygwin"BITS 38 46 #define OSID quint8(4) 39 47 #elif defined Q_OS_DARWIN 40 #define OS "Darwin OS" 48 #define OS "Darwin OS"BITS 41 49 #define OSID quint8(5) 42 50 #elif defined Q_OS_DGUX 43 #define OS "DG/UX" 51 #define OS "DG/UX"BITS 44 52 #define OSID quint8(6) 45 53 #elif defined Q_OS_DYNIX 46 #define OS "DYNIX/ptx" 54 #define OS "DYNIX/ptx"BITS 47 55 #define OSID quint8(7) 48 56 #elif defined Q_OS_FREEBSD 49 #define OS "FreeBSD" 57 #define OS "FreeBSD"BITS 50 58 #define OSID quint8(8) 51 59 #elif defined Q_OS_HPUX 52 #define OS "HP-UX" 60 #define OS "HP-UX"BITS 53 61 #define OSID quint8(9) 54 62 #elif defined Q_OS_HURD 55 #define OS "GNU Hurd" 63 #define OS "GNU Hurd"BITS 56 64 #define OSID quint8(10) 57 65 #elif defined Q_OS_IRIX 58 #define OS "SGI Irix" 66 #define OS "SGI Irix"BITS 59 67 #define OSID quint8(11) 60 68 #elif defined Q_OS_LINUX 61 #define OS "Linux" 69 #define OS "Linux"BITS 62 70 #define OSID quint8(12) 63 71 #elif defined Q_OS_LYNX 64 #define OS "LynxOS" 72 #define OS "LynxOS"BITS 65 73 #define OSID quint8(13) 66 74 #elif defined Q_OS_MSDOS 67 #define OS "MS-DOS" 75 #define OS "MS-DOS"BITS 68 76 #define OSID quint8(14) 69 77 #elif defined Q_OS_NETBSD 70 #define OS "NetBSD" 78 #define OS "NetBSD"BITS 71 79 #define OSID quint8(15) 72 80 #elif defined Q_OS_OS2 73 #define OS "OS/2" 81 #define OS "OS/2"BITS 74 82 #define OSID quint8(16) 75 83 #elif defined Q_OS_OPENBSD 76 #define OS "OpenBSD" 84 #define OS "OpenBSD"BITS 77 85 #define OSID quint8(17) 78 86 #elif defined Q_OS_OS2EMX 79 #define OS "OS/2" 87 #define OS "OS/2"BITS 80 88 #define OSID quint8(18) 81 89 #elif defined Q_OS_OSF 82 #define OS "HP Tru64 UNIX" 90 #define OS "HP Tru64 UNIX"BITS 83 91 #define OSID quint8(19) 84 92 #elif defined Q_OS_QNX6 85 #define OS "QNX RTP 6.1" 93 #define OS "QNX RTP 6.1"BITS 86 94 #define OSID quint8(20) 87 95 #elif defined Q_OS_QNX 88 #define OS "QNX" 96 #define OS "QNX"BITS 89 97 #define OSID quint8(21) 90 98 #elif defined Q_OS_RELIANT 91 #define OS "Reliant UNIX" 99 #define OS "Reliant UNIX"BITS 92 100 #define OSID quint8(22) 93 101 #elif defined Q_OS_SCO 94 #define OS "SCO OpenServer 5" 102 #define OS "SCO OpenServer 5"BITS 95 103 #define OSID quint8(23) 96 104 #elif defined Q_OS_SOLARIS 97 #define OS "Sun Solaris" 105 #define OS "Sun Solaris"BITS 98 106 #define OSID quint8(24) 99 107 #elif defined Q_OS_ULTRIX 100 #define OS "DEC Ultrix" 108 #define OS "DEC Ultrix"BITS 101 109 #define OSID quint8(25) 102 110 #elif defined Q_OS_UNIX 103 #define OS "UNIX BSD/SYSV" 111 #define OS "UNIX BSD/SYSV"BITS 104 112 #define OSID quint8(26) 105 113 #elif defined Q_OS_UNIXWARE 106 #define OS "UnixWare 7/Open UNIX 8" 114 #define OS "UnixWare 7/Open UNIX 8"BITS 107 115 #define OSID quint8(27) 108 116 #elif defined Q_OS_WIN32 109 #define OS "Windows" 117 #define OS "Windows"BITS 110 118 #define OSID quint8(28) 111 119 #elif defined Q_OS_WINCE … … 113 121 #define OSID quint8(29) 114 122 #else 115 #define OS "Unknown" 123 #define OS "Unknown"BITS 116 124 #define OSID quint8(255) 117 #endif 125 #endif // OS 118 126 119 127 #endif // OS_H -
trunk/src/tspmodel.cpp
r36 r37 276 276 } 277 277 278 voidCTSPModel::saveTask(QString fname)278 bool CTSPModel::saveTask(QString fname) 279 279 { 280 280 QFile f(fname); 281 281 if (!f.open(QIODevice::WriteOnly)) { 282 282 QMessageBox(QMessageBox::Critical,trUtf8("Task Save"),QString(trUtf8("Unable to create task file.\nError: %1\nMaybe, file is read-only?")).arg(f.errorString()),QMessageBox::Ok).exec(); 283 return ;283 return false; 284 284 } 285 285 QDataStream ds(&f); … … 288 288 QMessageBox(QMessageBox::Critical,trUtf8("Task Save"),trUtf8("Unable to save task.\nError: %1").arg(f.errorString()),QMessageBox::Ok).exec(); 289 289 f.close(); 290 return ;290 return false; 291 291 } 292 292 // File signature … … 295 295 QMessageBox(QMessageBox::Critical,trUtf8("Task Save"),trUtf8("Unable to save task.\nError: %1").arg(f.errorString()),QMessageBox::Ok).exec(); 296 296 f.close(); 297 return ;297 return false; 298 298 } 299 299 // File version … … 302 302 QMessageBox(QMessageBox::Critical,trUtf8("Task Save"),trUtf8("Unable to save task.\nError: %1").arg(f.errorString()),QMessageBox::Ok).exec(); 303 303 f.close(); 304 return ;304 return false; 305 305 } 306 306 // File metadata version … … 309 309 QMessageBox(QMessageBox::Critical,trUtf8("Task Save"),trUtf8("Unable to save task.\nError: %1").arg(f.errorString()),QMessageBox::Ok).exec(); 310 310 f.close(); 311 return ;311 return false; 312 312 } 313 313 // Metadata … … 316 316 QMessageBox(QMessageBox::Critical,trUtf8("Task Save"),trUtf8("Unable to save task.\nError: %1").arg(f.errorString()),QMessageBox::Ok).exec(); 317 317 f.close(); 318 return ;318 return false; 319 319 } 320 320 // Number of cities … … 323 323 QMessageBox(QMessageBox::Critical,trUtf8("Task Save"),trUtf8("Unable to save task.\nError: %1").arg(f.errorString()),QMessageBox::Ok).exec(); 324 324 f.close(); 325 return ;325 return false; 326 326 } 327 327 // Costs … … 333 333 QMessageBox(QMessageBox::Critical,trUtf8("Task Save"),trUtf8("Unable to save task.\nError: %1").arg(f.errorString()),QMessageBox::Ok).exec(); 334 334 f.close(); 335 return ;335 return false; 336 336 } 337 337 } 338 338 f.close(); 339 return true; 339 340 } 340 341 -
trunk/src/tspmodel.h
r35 r37 42 42 void clear(); 43 43 void loadTask(QString); 44 voidsaveTask(QString);44 bool saveTask(QString); 45 45 void randomize(); 46 46 signals: -
trunk/tspsg.pro
r36 r37 19 19 OBJECTS_DIR = release 20 20 DESTDIR = release 21 win32 {22 OBJECTS_DIR = release/win3223 DESTDIR = release/win3224 }25 wince* {26 OBJECTS_DIR = release/wince27 DESTDIR = release/wince28 }29 unix {30 OBJECTS_DIR = release/nix31 DESTDIR = release/nix32 }33 21 } else { 34 22 OBJECTS_DIR = debug 35 23 DESTDIR = debug 36 win32 {37 OBJECTS_DIR = debug/win3238 DESTDIR = debug/win3239 }40 wince* {41 OBJECTS_DIR = debug/wince42 DESTDIR = debug/wince43 }44 unix {45 OBJECTS_DIR = debug/nix46 DESTDIR = debug/nix47 }48 24 } 49 25 -
trunk/ui/mainwindow.ce.ui
r31 r37 15 15 </property> 16 16 <property name="windowTitle"> 17 <string>Travelling salesman problem </string>17 <string>Travelling salesman problem[*]</string> 18 18 </property> 19 19 <property name="windowIcon"> … … 312 312 <addaction name="actionHelpContextual"/> 313 313 <addaction name="separator"/> 314 <addaction name="actionHelpAboutQt"/> 314 315 <addaction name="actionHelpAbout"/> 315 316 </widget> … … 563 564 <property name="statusTip"> 564 565 <string>Save current task</string> 566 </property> 567 </action> 568 <action name="actionHelpAboutQt"> 569 <property name="icon"> 570 <iconset resource="../resources/tspsg.qrc"> 571 <normaloff>:/images/qtlogo-64.png</normaloff>:/images/qtlogo-64.png</iconset> 572 </property> 573 <property name="text"> 574 <string>About &Qt...</string> 575 </property> 576 <property name="iconText"> 577 <string>About Qt...</string> 578 </property> 579 <property name="toolTip"> 580 <string>About Qt</string> 581 </property> 582 <property name="statusTip"> 583 <string>About Qt library</string> 565 584 </property> 566 585 </action> -
trunk/ui/mainwindow.ui
r31 r37 12 12 </property> 13 13 <property name="windowTitle"> 14 <string>Travelling salesman problem </string>14 <string>Travelling salesman problem[*]</string> 15 15 </property> 16 16 <property name="windowIcon"> … … 293 293 <addaction name="actionHelpContextual"/> 294 294 <addaction name="separator"/> 295 <addaction name="actionHelpAboutQt"/> 295 296 <addaction name="actionHelpAbout"/> 296 297 </widget> … … 579 580 <property name="statusTip"> 580 581 <string>Save current task</string> 582 </property> 583 </action> 584 <action name="actionHelpAboutQt"> 585 <property name="icon"> 586 <iconset resource="../resources/tspsg.qrc"> 587 <normaloff>:/images/qtlogo-64.png</normaloff>:/images/qtlogo-64.png</iconset> 588 </property> 589 <property name="text"> 590 <string>About &Qt...</string> 591 </property> 592 <property name="iconText"> 593 <string>About Qt...</string> 594 </property> 595 <property name="statusTip"> 596 <string>About Qt library</string> 581 597 </property> 582 598 </action>
Note: See TracChangeset
for help on using the changeset viewer.