mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Octoprint -> OctoPrint
This commit is contained in:
		
							parent
							
								
									13b4237fec
								
							
						
					
					
						commit
						6896e53078
					
				
					 4 changed files with 7 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -19,7 +19,7 @@ sub new {
 | 
			
		|||
    $self->{devices} = [ $res->entries ];
 | 
			
		||||
    
 | 
			
		||||
    # label
 | 
			
		||||
    my $text = Wx::StaticText->new($self, -1, "Choose an Octoprint device in your network:", wxDefaultPosition, wxDefaultSize);
 | 
			
		||||
    my $text = Wx::StaticText->new($self, -1, "Choose an OctoPrint device in your network:", wxDefaultPosition, wxDefaultSize);
 | 
			
		||||
    
 | 
			
		||||
    # selector
 | 
			
		||||
    $self->{choice} = my $choice = Wx::Choice->new($self, -1, wxDefaultPosition, wxDefaultSize,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1086,7 +1086,7 @@ sub on_export_completed {
 | 
			
		|||
    my $send_gcode = 0;
 | 
			
		||||
    if ($result) {
 | 
			
		||||
        if ($self->{send_gcode_file}) {
 | 
			
		||||
            $message = "Sending G-code file to the Octoprint server...";
 | 
			
		||||
            $message = "Sending G-code file to the OctoPrint server...";
 | 
			
		||||
            $send_gcode = 1;
 | 
			
		||||
        } else {
 | 
			
		||||
            $message = "G-code file exported to " . $self->{export_gcode_output_file};
 | 
			
		||||
| 
						 | 
				
			
			@ -1122,9 +1122,9 @@ sub send_gcode {
 | 
			
		|||
    $self->statusbar->StopBusy;
 | 
			
		||||
    
 | 
			
		||||
    if ($res->is_success) {
 | 
			
		||||
        $self->statusbar->SetStatusText("G-code file successfully uploaded to the Octoprint server");
 | 
			
		||||
        $self->statusbar->SetStatusText("G-code file successfully uploaded to the OctoPrint server");
 | 
			
		||||
    } else {
 | 
			
		||||
        my $message = "Error while uploading to the Octoprint server: " . $res->status_line;
 | 
			
		||||
        my $message = "Error while uploading to the OctoPrint server: " . $res->status_line;
 | 
			
		||||
        Slic3r::GUI::show_error($self, $message);
 | 
			
		||||
        $self->statusbar->SetStatusText($message);
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -998,7 +998,7 @@ sub build {
 | 
			
		|||
            });
 | 
			
		||||
        }
 | 
			
		||||
        {
 | 
			
		||||
            my $optgroup = $page->new_optgroup('Octoprint upload');
 | 
			
		||||
            my $optgroup = $page->new_optgroup('OctoPrint upload');
 | 
			
		||||
            
 | 
			
		||||
            # append a button to the Host line
 | 
			
		||||
            my $octoprint_host_widget = sub {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue