mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	citra_qt: fix translation for opengl version error
variable in tr() won't trigger linguist to generate translation entry. Instead it needs a string literal
This commit is contained in:
		
							parent
							
								
									129ca865b3
								
							
						
					
					
						commit
						92b1a5c546
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		|  | @ -667,12 +667,12 @@ bool GMainWindow::LoadROM(const QString& filename) { | |||
|     render_window->InitRenderTarget(); | ||||
|     render_window->MakeCurrent(); | ||||
| 
 | ||||
|     const char* below_gl33_title = "OpenGL 3.3 Unsupported"; | ||||
|     const char* below_gl33_message = "Your GPU may not support OpenGL 3.3, or you do not " | ||||
|                                      "have the latest graphics driver."; | ||||
|     const QString below_gl33_title = tr("OpenGL 3.3 Unsupported"); | ||||
|     const QString below_gl33_message = tr("Your GPU may not support OpenGL 3.3, or you do not " | ||||
|                                           "have the latest graphics driver."); | ||||
| 
 | ||||
|     if (!gladLoadGL()) { | ||||
|         QMessageBox::critical(this, tr(below_gl33_title), tr(below_gl33_message)); | ||||
|         QMessageBox::critical(this, below_gl33_title, below_gl33_message); | ||||
|         return false; | ||||
|     } | ||||
| 
 | ||||
|  | @ -743,7 +743,7 @@ bool GMainWindow::LoadROM(const QString& filename) { | |||
|             break; | ||||
| 
 | ||||
|         case Core::System::ResultStatus::ErrorVideoCore_ErrorBelowGL33: | ||||
|             QMessageBox::critical(this, tr(below_gl33_title), tr(below_gl33_message)); | ||||
|             QMessageBox::critical(this, below_gl33_title, below_gl33_message); | ||||
|             break; | ||||
| 
 | ||||
|         default: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue