Changeset b83b8ed3 in tol
- Timestamp:
- Feb 8, 2012, 6:41:22 PM (15 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 8bbfd4d
- Parents:
- 72b4d96
- Location:
- tolbase/lib/toltk
- Files:
-
- 3 edited
-
msgs/es.msg (modified) (1 diff)
-
tolpkg.tcl (modified) (4 diffs)
-
tolpkg_gui.tcl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tolbase/lib/toltk/msgs/es.msg
r72b4d96 rb83b8ed3 947 947 mcset es "Status" "Estado" 948 948 mcset es "Repository" "Repositorio" 949 949 mcset es "new (%s)" "nuevo (%s)" 950 mcset es "new" "nuevo" 951 mcset es "upgrade (%s)" "mejora (%s)" 952 mcset es "unknown" "desconocido" 953 mcset es "update" "actualizar" 954 mcset es "update/%s" "actualizar/%s" -
tolbase/lib/toltk/tolpkg.tcl
r72b4d96 rb83b8ed3 25 25 } 26 26 27 proc ::TolPkg::GetLocalRoot { } { 28 return [ file normalize \ 29 [ lindex [ toltcl::eval { Text TolPackage::_.localRoot } ] 0 ] ] 30 } 31 32 proc ::TolPkg::GetClientPath { } { 33 return [ file join [ GetLocalRoot ] "Client" ] 34 } 35 27 36 proc ::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 ] 31 38 } 32 39 … … 67 74 68 75 proc ::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" ] 72 77 if { ![ file exists $oza ] || ![ file readable $oza ] } { 73 78 return {} … … 108 113 109 114 proc ::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" ] 113 116 if { ![ file exists $oza ] || ![ file readable $oza ] } { 114 117 return {} … … 138 141 139 142 proc ::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 ] 143 144 set dirs [ glob -nocomplain -tail -dir $clientRoot -types {d r} * ] 144 145 set pkgsInfo {} -
tolbase/lib/toltk/tolpkg_gui.tcl
r72b4d96 rb83b8ed3 729 729 [ list text [ mc "update/%s" $txtUpgrade ] ] 730 730 } elseif { $nodesInfo($parent,status) ne "upgupd"} { 731 set $nodesInfo($parent,status) "update"731 set nodesInfo($parent,status) "update" 732 732 $T itemcolumn $parent NAME {image "view_refresh_16"} 733 733 $T itemcolumn $parent STATUS [list text [ mc "update" ] ]
Note: See TracChangeset
for help on using the changeset viewer.
