Changeset b83b8ed3 in tol


Ignore:
Timestamp:
Feb 8, 2012, 6:41:22 PM (15 years ago)
Author:
Jorge Pérez <josp.jorge@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
8bbfd4d
Parents:
72b4d96
Message:

refs #1417, se corrige un error cuando la ruta de instalación de los paquetes tiene espacio en el nombre, más traducciones

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@4080 be4846ae-f051-483a-831f-b64e7d08527f

Location:
tolbase/lib/toltk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tolbase/lib/toltk/msgs/es.msg

    r72b4d96 rb83b8ed3  
    947947mcset es "Status" "Estado"
    948948mcset es "Repository" "Repositorio"
    949 
     949mcset es "new (%s)" "nuevo (%s)"
     950mcset es "new" "nuevo"
     951mcset es "upgrade (%s)" "mejora (%s)"
     952mcset es "unknown" "desconocido"
     953mcset es "update" "actualizar"
     954mcset es "update/%s" "actualizar/%s"
  • tolbase/lib/toltk/tolpkg.tcl

    r72b4d96 rb83b8ed3  
    2525}
    2626
     27proc ::TolPkg::GetLocalRoot { } {
     28  return [ file normalize \
     29               [ lindex [ toltcl::eval { Text TolPackage::_.localRoot } ] 0 ] ]
     30}
     31
     32proc ::TolPkg::GetClientPath { } {
     33  return [ file join [ GetLocalRoot ] "Client" ]
     34}
     35
    2736proc ::TolPkg::GetPkgDirectory { p } {
    28   set localRoot [ file normalize \
    29                       [ toltcl::eval { Text TolPackage::_.localRoot } ] ]
    30   return [ file join $localRoot "Client" $p ]
     37  return [ file join [ GetClientPath ] $p ]
    3138}
    3239
    … …  
    6774
    6875proc ::TolPkg::GetPkgSyncInfo { } {
    69   set localRoot [ file normalize \
    70                       [ toltcl::eval { Text TolPackage::_.localRoot } ] ]
    71   set oza [ file join $localRoot "Client/PackSyncInfo.oza" ]
     76  set oza [ file join [ GetClientPath ] "PackSyncInfo.oza" ]
    7277  if { ![ file exists $oza ] || ![ file readable $oza ] } {
    7378    return {}
    … …  
    108113
    109114proc ::TolPkg::GetVersSyncInfo { } {
    110   set localRoot [ file normalize \
    111                       [ toltcl::eval { Text TolPackage::_.localRoot } ] ]
    112   set oza [ file join $localRoot "Client/VersSyncInfo.oza" ]
     115  set oza [ file join [ GetClientPath ] "VersSyncInfo.oza" ]
    113116  if { ![ file exists $oza ] || ![ file readable $oza ] } {
    114117    return {}
    … …  
    138141
    139142proc ::TolPkg::GetLocalPackages { } {
    140   set localRoot [ file normalize \
    141                       [ lindex [ toltcl::eval { Text TolPackage::_.localRoot } ] 0 ] ]
    142   set clientRoot [ file join $localRoot Client ]
     143  set clientRoot [ GetClientPath ]
    143144  set dirs [ glob -nocomplain -tail -dir $clientRoot -types {d r} * ]
    144145  set pkgsInfo {}
  • tolbase/lib/toltk/tolpkg_gui.tcl

    r72b4d96 rb83b8ed3  
    729729              [ list text [ mc "update/%s" $txtUpgrade ] ]
    730730        } elseif { $nodesInfo($parent,status) ne "upgupd"} {
    731           set $nodesInfo($parent,status) "update"
     731          set nodesInfo($parent,status) "update"
    732732          $T itemcolumn $parent NAME {image "view_refresh_16"}
    733733          $T itemcolumn $parent STATUS [list text [ mc "update" ] ]
Note: See TracChangeset for help on using the changeset viewer.