mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Use a standard "OK" text for confirmation buttons in error dialogs
[ci skip]
This commit is contained in:
		
							parent
							
								
									464d59935d
								
							
						
					
					
						commit
						1368bcfc53
					
				
					 7 changed files with 46 additions and 46 deletions
				
			
		|  | @ -3308,7 +3308,7 @@ void SpatialEditorViewport::_perform_drop_data() { | |||
| 			files_str += error_files[i].get_file().get_basename() + ","; | ||||
| 		} | ||||
| 		files_str = files_str.substr(0, files_str.length() - 1); | ||||
| 		accept->get_ok()->set_text(TTR("Ugh")); | ||||
| 		accept->get_ok()->set_text(TTR("OK")); | ||||
| 		accept->set_text(vformat(TTR("Error instancing scene from %s"), files_str.c_str())); | ||||
| 		accept->popup_centered_minsize(); | ||||
| 	} | ||||
|  | @ -3397,7 +3397,7 @@ void SpatialEditorViewport::drop_data_fw(const Point2 &p_point, const Variant &p | |||
| 		} | ||||
| 	} | ||||
| 	if (list.size() != 1) { | ||||
| 		accept->get_ok()->set_text(TTR("I see...")); | ||||
| 		accept->get_ok()->set_text(TTR("OK")); | ||||
| 		accept->set_text(TTR("This operation requires a single selected node.")); | ||||
| 		accept->popup_centered_minsize(); | ||||
| 		_remove_preview(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Hugo Locurcio
						Hugo Locurcio