Ignore:
Timestamp:
Jul 23, 2008, 8:00:21 PM (16 years ago)
Author:
mmc
Message:

Fixed the Rappture::filexfer facility so that if importfile/exportfile
commands are not available, it reverts to local Load/Save? operations.
This is important for applications that are not deployed in a hub, but
used instead in a standard desktop environment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/numberresult.tcl

    r768 r1077  
    489489            if {![winfo exists .xyresultdownload]} {
    490490                # if we haven't created the popup yet, do it now
    491                 Rappture::Balloon $popup -title "Download as..."
     491                Rappture::Balloon $popup -title "[Rappture::filexfer::label downloadWord] as..."
    492492                set inner [$popup component inner]
    493493                label $inner.summary -text "" -anchor w
     
    501501                    -value pdf
    502502                pack $inner.pdf -anchor w
    503                 button $inner.go -text "Download Now" \
     503                button $inner.go -text [Rappture::filexfer::label download] \
    504504                    -command [lindex $args 0]
    505505                pack $inner.go -pady 4
     
    509509            set num [llength [get]]
    510510            set num [expr {($num == 1) ? "1 result" : "$num results"}]
    511             $inner.summary configure -text "Download $num in the following format:"
     511            $inner.summary configure -text "[Rappture::filexfer::label downloadWord] $num in the following format:"
    512512            update idletasks ;# fix initial sizes
    513513            return $popup
Note: See TracChangeset for help on using the changeset viewer.