Changeset 9c7016b in tol
- Timestamp:
- Nov 28, 2011, 11:48:29 AM (15 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- a8dad5c
- Parents:
- e6da686
- File:
-
- 1 edited
-
tol/stdlib/general/TolPackage/client.tol (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol/stdlib/general/TolPackage/client.tol
re6da686 r9c7016b 515 515 ok 516 516 }; 517 518 ////////////////////////////////////////////////////////////////////////////// 519 Text _msg.cannotFindPackage(Text package) 520 ////////////////////////////////////////////////////////////////////////////// 521 { 522 Text minTolVersion = GetMinTolVersionForPackage(package); 523 If(minTolVersion=="", 524 { 525 Set rep = TolConfigManager::Config::Upgrading::TolPackage::Repositories; 526 I2( 527 "Cannot find package "+package+" in any repository for any TOL " 528 "version.", 529 "No se encuentra el paquete "+package+" en ningún repositorio " 530 "para ninguna versión de TOL.")+"\n"+ 531 I2("Instaled repositories","Repositorios instalados")+" : \n"+ 532 SetSum(EvalSet(rep,Text(Text r) { " "<<r+"\n" })) 533 }, 534 { 535 I2( 536 "Cannot find package "+package+" for current TOL version ", 537 "No se encuentra el paquete "+package+" " 538 "para la versión de TOL en curso ")+TolPackage::_.currentTolVersion+ 539 ".\n"+I2("You needs to use ", "Es necesario usar ")+minTolVersion 540 }) 541 }; 542 517 543 518 544 ////////////////////////////////////////////////////////////////////////////// … … 558 584 If(showError, 559 585 { 560 Text minTolVersion = GetMinTolVersionForPackage(package); 561 If(minTolVersion=="", 562 Error(I2( 563 "Cannot find package "+package+" in any repository for any TOL " 564 "version.", 565 "No se encuentra el paquete "+package+" en ningún repositorio " 566 "para ninguna versión de TOL.")), 567 Error(I2( 568 "Cannot find package "+package+" in any repository for current " 569 "TOL version ", 570 "No se encuentra el paquete "+package+" en ningún repositorio " 571 "para la versión de TOL en curso ")+TolPackage::_.currentTolVersion+ 572 ".\n"+I2("You needs to use ", "Es necesario usar ")+minTolVersion)) 573 }) 586 Error("[RemoteInstall ] "+_msg.cannotFindPackage(package)) 587 }); 588 false 574 589 }, 575 590 { … … 622 637 { 623 638 Real found = FindIndexByName(_.versSyncInfo, pkg); 624 Date If(!found, WriteLn("[RemoteUpdateVersSyncInfo] "+I2( 625 "Cannot find remote image of local package "+pkg+ 626 " in any repository." , 627 "No se encuentra la imagen remota del paquete local "+pkg+ 628 " en ningún repositorio"),"W"), 639 Date If(found, 629 640 { 630 641 Date gmt = Copy(NowGmt); … … 674 685 Text pkg = Tokenizer(cls[1],".")[1]; 675 686 Real found = FindIndexByName(_.packSyncInfo, pkg); 676 Real If(!found, 677 { 678 If(showWarnings, 679 WriteLn(_MID+I2( 680 "Cannot find remote image of local package "+pkg+ 681 " in any repository." , 682 "No se encuentra la imagen remota del paquete local "+pkg+ 683 " en ningún repositorio"),"W")); 684 False 685 }, 687 Real If(found, 686 688 { 687 689 Set ord = Sort(cls,Real ev.sort(Text a, Text b) {
Note: See TracChangeset
for help on using the changeset viewer.
