mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	FIX: [STUDIO-3132] modify text of delete files
Change-Id: I74c9c06f41f6c143f56c2aad086381588d059408
This commit is contained in:
		
							parent
							
								
									49bbf6bdbb
								
							
						
					
					
						commit
						9c251c59ec
					
				
					 2 changed files with 4 additions and 2 deletions
				
			
		|  | @ -468,7 +468,9 @@ void MediaFilePanel::doAction(size_t index, int action) | |||
|     if (action == 0) { | ||||
|         if (index == -1) { | ||||
|             MessageDialog dlg(this,  | ||||
|                 wxString::Format(_L("You are going to delete %u files from printer. Are you sure to continue?"), fs->GetSelectCount()),  | ||||
|                 wxString::Format(_L_PLURAL("You are going to delete %u file from printer. Are you sure to continue?", | ||||
|                                                          "You are going to delete %u files from printer. Are you sure to continue?", fs->GetSelectCount()), | ||||
|                                                fs->GetSelectCount()),  | ||||
|                 _L("Delete files"), wxYES_NO | wxICON_WARNING); | ||||
|             if (dlg.ShowModal() != wxID_YES) | ||||
|                 return; | ||||
|  |  | |||
|  | @ -2394,7 +2394,7 @@ void PartPlate::update_slice_context(BackgroundSlicingProcess & process) | |||
| 		Slic3r::SlicingStatusEvent *event = new Slic3r::SlicingStatusEvent(EVT_SLICING_UPDATE, 0, status); | ||||
| 		//BBS: GUI refactor: add plate info befor message
 | ||||
| 		if (status.message_type == Slic3r::PrintStateBase::SlicingDefaultNotification) { | ||||
| 			auto temp = Slic3r::format(_u8L(" plate %1%:"), std::to_string(m_plate_index + 1)); | ||||
| 			auto temp = Slic3r::format(_u8L(" plate %1%: "), std::to_string(m_plate_index + 1)); | ||||
| 			event->status.text = temp + event->status.text; | ||||
| 		} | ||||
| 		wxQueueEvent(m_plater, event); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 chunmao.guo
						chunmao.guo