mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	citra_qt: Restore Web Tab (#103)
* citra_qt: Restore Web tab * configure_web: Remove telemetry and Citra Web Services
This commit is contained in:
		
							parent
							
								
									b5126f979c
								
							
						
					
					
						commit
						572d3ab71c
					
				
					 29 changed files with 602 additions and 24 deletions
				
			
		
							
								
								
									
										18
									
								
								dist/languages/da_DK.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								dist/languages/da_DK.ts
									
										
									
									
										vendored
									
									
								
							|  | @ -3583,6 +3583,24 @@ Drag points to change position, or double-click table cells to edit values.</sou | ||||||
|         <translation>Engelsk</translation> |         <translation>Engelsk</translation> | ||||||
|     </message> |     </message> | ||||||
| </context> | </context> | ||||||
|  | <context> | ||||||
|  |     <name>ConfigureWeb</name> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="14"/> | ||||||
|  |         <source>Form</source> | ||||||
|  |         <translation>Form</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="177"/> | ||||||
|  |         <source>Discord Presence</source> | ||||||
|  |         <translation>Discord-presence</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="183"/> | ||||||
|  |         <source>Show Current Game in your Discord Status</source> | ||||||
|  |         <translation>Vis kørende spil som din Discord-status</translation> | ||||||
|  |     </message> | ||||||
|  | </context> | ||||||
| <context> | <context> | ||||||
|     <name>DirectConnect</name> |     <name>DirectConnect</name> | ||||||
|     <message> |     <message> | ||||||
|  |  | ||||||
							
								
								
									
										18
									
								
								dist/languages/de.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								dist/languages/de.ts
									
										
									
									
										vendored
									
									
								
							|  | @ -3585,6 +3585,24 @@ Ziehe Punkte, um ihre Position zu verändern, oder doppelklicke auf Zellen in de | ||||||
|         <translation>Englisch</translation> |         <translation>Englisch</translation> | ||||||
|     </message> |     </message> | ||||||
| </context> | </context> | ||||||
|  | <context> | ||||||
|  |     <name>ConfigureWeb</name> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="14"/> | ||||||
|  |         <source>Form</source> | ||||||
|  |         <translation>Form</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="177"/> | ||||||
|  |         <source>Discord Presence</source> | ||||||
|  |         <translation>Discord Presence</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="183"/> | ||||||
|  |         <source>Show Current Game in your Discord Status</source> | ||||||
|  |         <translation>Aktuelles Spiel in Ihrem Discordstatus anzeigen</translation> | ||||||
|  |     </message> | ||||||
|  | </context> | ||||||
| <context> | <context> | ||||||
|     <name>DirectConnect</name> |     <name>DirectConnect</name> | ||||||
|     <message> |     <message> | ||||||
|  |  | ||||||
							
								
								
									
										18
									
								
								dist/languages/el.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								dist/languages/el.ts
									
										
									
									
										vendored
									
									
								
							|  | @ -3584,6 +3584,24 @@ Drag points to change position, or double-click table cells to edit values.</sou | ||||||
|         <translation>Αγγλικά</translation> |         <translation>Αγγλικά</translation> | ||||||
|     </message> |     </message> | ||||||
| </context> | </context> | ||||||
|  | <context> | ||||||
|  |     <name>ConfigureWeb</name> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="14"/> | ||||||
|  |         <source>Form</source> | ||||||
|  |         <translation>Φόρμα</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="177"/> | ||||||
|  |         <source>Discord Presence</source> | ||||||
|  |         <translation>Παρουσία Discord</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="183"/> | ||||||
|  |         <source>Show Current Game in your Discord Status</source> | ||||||
|  |         <translation>Εμφάνιση τρέχοντος παιχνιδιού στην κατάσταση Discord σας</translation> | ||||||
|  |     </message> | ||||||
|  | </context> | ||||||
| <context> | <context> | ||||||
|     <name>DirectConnect</name> |     <name>DirectConnect</name> | ||||||
|     <message> |     <message> | ||||||
|  |  | ||||||
							
								
								
									
										18
									
								
								dist/languages/es_ES.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								dist/languages/es_ES.ts
									
										
									
									
										vendored
									
									
								
							|  | @ -3585,6 +3585,24 @@ Mueve los puntos para cambiar la posición, o haz doble click en las celdas de l | ||||||
|         <translation>Inglés (English)</translation> |         <translation>Inglés (English)</translation> | ||||||
|     </message> |     </message> | ||||||
| </context> | </context> | ||||||
|  | <context> | ||||||
|  |     <name>ConfigureWeb</name> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="14"/> | ||||||
|  |         <source>Form</source> | ||||||
|  |         <translation>Formulario</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="177"/> | ||||||
|  |         <source>Discord Presence</source> | ||||||
|  |         <translation>Presencia en Discord</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="183"/> | ||||||
|  |         <source>Show Current Game in your Discord Status</source> | ||||||
|  |         <translation>Mostrar Juego Actual en el Estado de Discord</translation> | ||||||
|  |     </message> | ||||||
|  | </context> | ||||||
| <context> | <context> | ||||||
|     <name>DirectConnect</name> |     <name>DirectConnect</name> | ||||||
|     <message> |     <message> | ||||||
|  |  | ||||||
							
								
								
									
										18
									
								
								dist/languages/fi.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								dist/languages/fi.ts
									
										
									
									
										vendored
									
									
								
							|  | @ -3583,6 +3583,24 @@ Drag points to change position, or double-click table cells to edit values.</sou | ||||||
|         <translation>Englanti</translation> |         <translation>Englanti</translation> | ||||||
|     </message> |     </message> | ||||||
| </context> | </context> | ||||||
|  | <context> | ||||||
|  |     <name>ConfigureWeb</name> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="14"/> | ||||||
|  |         <source>Form</source> | ||||||
|  |         <translation>Muot</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="177"/> | ||||||
|  |         <source>Discord Presence</source> | ||||||
|  |         <translation>Discord läsnäolo</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="183"/> | ||||||
|  |         <source>Show Current Game in your Discord Status</source> | ||||||
|  |         <translation>Näytä nykyinen peli Discord tilassa</translation> | ||||||
|  |     </message> | ||||||
|  | </context> | ||||||
| <context> | <context> | ||||||
|     <name>DirectConnect</name> |     <name>DirectConnect</name> | ||||||
|     <message> |     <message> | ||||||
|  |  | ||||||
							
								
								
									
										18
									
								
								dist/languages/fr.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								dist/languages/fr.ts
									
										
									
									
										vendored
									
									
								
							|  | @ -3585,6 +3585,24 @@ Glissez les points pour modifier la position, ou double-cliquez les cellules pou | ||||||
|         <translation>Anglais</translation> |         <translation>Anglais</translation> | ||||||
|     </message> |     </message> | ||||||
| </context> | </context> | ||||||
|  | <context> | ||||||
|  |     <name>ConfigureWeb</name> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="14"/> | ||||||
|  |         <source>Form</source> | ||||||
|  |         <translation>Forme</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="177"/> | ||||||
|  |         <source>Discord Presence</source> | ||||||
|  |         <translation>Présence sur Discord</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="183"/> | ||||||
|  |         <source>Show Current Game in your Discord Status</source> | ||||||
|  |         <translation>Afficher votre jeu en cours dans votre statut Discord</translation> | ||||||
|  |     </message> | ||||||
|  | </context> | ||||||
| <context> | <context> | ||||||
|     <name>DirectConnect</name> |     <name>DirectConnect</name> | ||||||
|     <message> |     <message> | ||||||
|  |  | ||||||
							
								
								
									
										66
									
								
								dist/languages/hu_HU.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										66
									
								
								dist/languages/hu_HU.ts
									
										
									
									
										vendored
									
									
								
							|  | @ -3582,6 +3582,72 @@ Drag points to change position, or double-click table cells to edit values.</sou | ||||||
|         <translation>Angol</translation> |         <translation>Angol</translation> | ||||||
|     </message> |     </message> | ||||||
| </context> | </context> | ||||||
|  | <context> | ||||||
|  |     <name>ConfigureWeb</name> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="14"/> | ||||||
|  |         <source>Form</source> | ||||||
|  |         <translation>Forma</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="177"/> | ||||||
|  |         <source>Discord Presence</source> | ||||||
|  |         <translation>Discord jelenlét</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="183"/> | ||||||
|  |         <source>Show Current Game in your Discord Status</source> | ||||||
|  |         <translation>Jelenlegi játék megjelenítése a Discord állapotodban</translation> | ||||||
|  |     </message> | ||||||
|  | </context> | ||||||
|  | <context> | ||||||
|  |     <name>DirectConnect</name> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/multiplayer/direct_connect.ui" line="14"/> | ||||||
|  |         <source>Direct Connect</source> | ||||||
|  |         <translation>Közvetlen Kapcsolódás</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/multiplayer/direct_connect.ui" line="47"/> | ||||||
|  |         <source>Server Address</source> | ||||||
|  |         <translation type="unfinished"/> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/multiplayer/direct_connect.ui" line="54"/> | ||||||
|  |         <source><html><head/><body><p>Server address of the host</p></body></html></source> | ||||||
|  |         <translation type="unfinished"/> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/multiplayer/direct_connect.ui" line="64"/> | ||||||
|  |         <source>Port</source> | ||||||
|  |         <translation>Port</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/multiplayer/direct_connect.ui" line="71"/> | ||||||
|  |         <source><html><head/><body><p>Port number the host is listening on</p></body></html></source> | ||||||
|  |         <translation><html><head/><body><p>Annak a portnak a száma, amire a gazda figyel</p></body></html></translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/multiplayer/direct_connect.ui" line="77"/> | ||||||
|  |         <source>24872</source> | ||||||
|  |         <translation>24872</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/multiplayer/direct_connect.ui" line="97"/> | ||||||
|  |         <source>Nickname</source> | ||||||
|  |         <translation>Becenév</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/multiplayer/direct_connect.ui" line="111"/> | ||||||
|  |         <source>Password</source> | ||||||
|  |         <translation>Jelszó</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/multiplayer/direct_connect.ui" line="153"/> | ||||||
|  |         <source>Connect</source> | ||||||
|  |         <translation>Kapcsolás</translation> | ||||||
|  |     </message> | ||||||
|  | </context> | ||||||
| <context> | <context> | ||||||
|     <name>DirectConnectWindow</name> |     <name>DirectConnectWindow</name> | ||||||
|     <message> |     <message> | ||||||
|  |  | ||||||
							
								
								
									
										18
									
								
								dist/languages/id.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								dist/languages/id.ts
									
										
									
									
										vendored
									
									
								
							|  | @ -3584,6 +3584,24 @@ Drag points to change position, or double-click table cells to edit values.</sou | ||||||
|         <translation>Inggris</translation> |         <translation>Inggris</translation> | ||||||
|     </message> |     </message> | ||||||
| </context> | </context> | ||||||
|  | <context> | ||||||
|  |     <name>ConfigureWeb</name> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="14"/> | ||||||
|  |         <source>Form</source> | ||||||
|  |         <translation>Formulir</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="177"/> | ||||||
|  |         <source>Discord Presence</source> | ||||||
|  |         <translation>Status Discord</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="183"/> | ||||||
|  |         <source>Show Current Game in your Discord Status</source> | ||||||
|  |         <translation>Tampilkan Game Saat Ini ke Status Discord Anda</translation> | ||||||
|  |     </message> | ||||||
|  | </context> | ||||||
| <context> | <context> | ||||||
|     <name>DirectConnect</name> |     <name>DirectConnect</name> | ||||||
|     <message> |     <message> | ||||||
|  |  | ||||||
							
								
								
									
										18
									
								
								dist/languages/it.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								dist/languages/it.ts
									
										
									
									
										vendored
									
									
								
							|  | @ -3585,6 +3585,24 @@ Trascina i punti per cambiarne la posizione, o fai doppio clic sulla tabella per | ||||||
|         <translation>Inglese</translation> |         <translation>Inglese</translation> | ||||||
|     </message> |     </message> | ||||||
| </context> | </context> | ||||||
|  | <context> | ||||||
|  |     <name>ConfigureWeb</name> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="14"/> | ||||||
|  |         <source>Form</source> | ||||||
|  |         <translation>Modulo</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="177"/> | ||||||
|  |         <source>Discord Presence</source> | ||||||
|  |         <translation>Discord Presence</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="183"/> | ||||||
|  |         <source>Show Current Game in your Discord Status</source> | ||||||
|  |         <translation>Mostra il gioco attuale nel tuo stato di Discord</translation> | ||||||
|  |     </message> | ||||||
|  | </context> | ||||||
| <context> | <context> | ||||||
|     <name>DirectConnect</name> |     <name>DirectConnect</name> | ||||||
|     <message> |     <message> | ||||||
|  |  | ||||||
							
								
								
									
										18
									
								
								dist/languages/ja_JP.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								dist/languages/ja_JP.ts
									
										
									
									
										vendored
									
									
								
							|  | @ -3587,6 +3587,24 @@ Drag points to change position, or double-click table cells to edit values.</sou | ||||||
|         <translation>英語</translation> |         <translation>英語</translation> | ||||||
|     </message> |     </message> | ||||||
| </context> | </context> | ||||||
|  | <context> | ||||||
|  |     <name>ConfigureWeb</name> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="14"/> | ||||||
|  |         <source>Form</source> | ||||||
|  |         <translation>フォーム</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="177"/> | ||||||
|  |         <source>Discord Presence</source> | ||||||
|  |         <translation>Discord Presence</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="183"/> | ||||||
|  |         <source>Show Current Game in your Discord Status</source> | ||||||
|  |         <translation>プレイ中のゲームをDiscordに表示</translation> | ||||||
|  |     </message> | ||||||
|  | </context> | ||||||
| <context> | <context> | ||||||
|     <name>DirectConnect</name> |     <name>DirectConnect</name> | ||||||
|     <message> |     <message> | ||||||
|  |  | ||||||
							
								
								
									
										18
									
								
								dist/languages/ko_KR.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								dist/languages/ko_KR.ts
									
										
									
									
										vendored
									
									
								
							|  | @ -3585,6 +3585,24 @@ Drag points to change position, or double-click table cells to edit values.</sou | ||||||
|         <translation>English</translation> |         <translation>English</translation> | ||||||
|     </message> |     </message> | ||||||
| </context> | </context> | ||||||
|  | <context> | ||||||
|  |     <name>ConfigureWeb</name> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="14"/> | ||||||
|  |         <source>Form</source> | ||||||
|  |         <translation>종류</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="177"/> | ||||||
|  |         <source>Discord Presence</source> | ||||||
|  |         <translation>디스코드 있음</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="183"/> | ||||||
|  |         <source>Show Current Game in your Discord Status</source> | ||||||
|  |         <translation>사용자의 디스코드 상태에 현재 게임 표시하기</translation> | ||||||
|  |     </message> | ||||||
|  | </context> | ||||||
| <context> | <context> | ||||||
|     <name>DirectConnect</name> |     <name>DirectConnect</name> | ||||||
|     <message> |     <message> | ||||||
|  |  | ||||||
							
								
								
									
										18
									
								
								dist/languages/lt_LT.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								dist/languages/lt_LT.ts
									
										
									
									
										vendored
									
									
								
							|  | @ -3581,6 +3581,24 @@ Drag points to change position, or double-click table cells to edit values.</sou | ||||||
|         <translation>Anglų k.</translation> |         <translation>Anglų k.</translation> | ||||||
|     </message> |     </message> | ||||||
| </context> | </context> | ||||||
|  | <context> | ||||||
|  |     <name>ConfigureWeb</name> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="14"/> | ||||||
|  |         <source>Form</source> | ||||||
|  |         <translation>Forma</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="177"/> | ||||||
|  |         <source>Discord Presence</source> | ||||||
|  |         <translation>Discord nustatymai</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="183"/> | ||||||
|  |         <source>Show Current Game in your Discord Status</source> | ||||||
|  |         <translation>Rodyti jūsų žaidžiamą žaidimą Discord'e</translation> | ||||||
|  |     </message> | ||||||
|  | </context> | ||||||
| <context> | <context> | ||||||
|     <name>DirectConnect</name> |     <name>DirectConnect</name> | ||||||
|     <message> |     <message> | ||||||
|  |  | ||||||
							
								
								
									
										18
									
								
								dist/languages/nb.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								dist/languages/nb.ts
									
										
									
									
										vendored
									
									
								
							|  | @ -3584,6 +3584,24 @@ Dra punkter for å endre posisjon, eller dobbeltklikk på tabellceller for å re | ||||||
|         <translation>Engelsk</translation> |         <translation>Engelsk</translation> | ||||||
|     </message> |     </message> | ||||||
| </context> | </context> | ||||||
|  | <context> | ||||||
|  |     <name>ConfigureWeb</name> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="14"/> | ||||||
|  |         <source>Form</source> | ||||||
|  |         <translation>Form</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="177"/> | ||||||
|  |         <source>Discord Presence</source> | ||||||
|  |         <translation>Discord tilstedeværelse</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="183"/> | ||||||
|  |         <source>Show Current Game in your Discord Status</source> | ||||||
|  |         <translation>Vis Gjeldende Spill i Discord Statusen din.</translation> | ||||||
|  |     </message> | ||||||
|  | </context> | ||||||
| <context> | <context> | ||||||
|     <name>DirectConnect</name> |     <name>DirectConnect</name> | ||||||
|     <message> |     <message> | ||||||
|  |  | ||||||
							
								
								
									
										18
									
								
								dist/languages/nl.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								dist/languages/nl.ts
									
										
									
									
										vendored
									
									
								
							|  | @ -3585,6 +3585,24 @@ Sleep punten om de positie te wijzigen of dubbelklik op tabelcellen om waarden t | ||||||
|         <translation>Engels</translation> |         <translation>Engels</translation> | ||||||
|     </message> |     </message> | ||||||
| </context> | </context> | ||||||
|  | <context> | ||||||
|  |     <name>ConfigureWeb</name> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="14"/> | ||||||
|  |         <source>Form</source> | ||||||
|  |         <translation>Formulier</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="177"/> | ||||||
|  |         <source>Discord Presence</source> | ||||||
|  |         <translation>Discord Presence</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="183"/> | ||||||
|  |         <source>Show Current Game in your Discord Status</source> | ||||||
|  |         <translation>Toon Huidige Spel in je Discord Status</translation> | ||||||
|  |     </message> | ||||||
|  | </context> | ||||||
| <context> | <context> | ||||||
|     <name>DirectConnect</name> |     <name>DirectConnect</name> | ||||||
|     <message> |     <message> | ||||||
|  |  | ||||||
							
								
								
									
										18
									
								
								dist/languages/pl_PL.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								dist/languages/pl_PL.ts
									
										
									
									
										vendored
									
									
								
							|  | @ -3583,6 +3583,24 @@ Drag points to change position, or double-click table cells to edit values.</sou | ||||||
|         <translation>Angielski (English)</translation> |         <translation>Angielski (English)</translation> | ||||||
|     </message> |     </message> | ||||||
| </context> | </context> | ||||||
|  | <context> | ||||||
|  |     <name>ConfigureWeb</name> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="14"/> | ||||||
|  |         <source>Form</source> | ||||||
|  |         <translation>Formularz</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="177"/> | ||||||
|  |         <source>Discord Presence</source> | ||||||
|  |         <translation>Widoczność na Discordzie</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="183"/> | ||||||
|  |         <source>Show Current Game in your Discord Status</source> | ||||||
|  |         <translation>Pokaż obecnie włączoną grę w statusie na Discrodzie</translation> | ||||||
|  |     </message> | ||||||
|  | </context> | ||||||
| <context> | <context> | ||||||
|     <name>DirectConnect</name> |     <name>DirectConnect</name> | ||||||
|     <message> |     <message> | ||||||
|  |  | ||||||
							
								
								
									
										18
									
								
								dist/languages/pt_BR.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								dist/languages/pt_BR.ts
									
										
									
									
										vendored
									
									
								
							|  | @ -3585,6 +3585,24 @@ Arraste os pontos para alterar a posição ou clique duas vezes nas células da | ||||||
|         <translation>Inglês (English)</translation> |         <translation>Inglês (English)</translation> | ||||||
|     </message> |     </message> | ||||||
| </context> | </context> | ||||||
|  | <context> | ||||||
|  |     <name>ConfigureWeb</name> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="14"/> | ||||||
|  |         <source>Form</source> | ||||||
|  |         <translation>Formulário</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="177"/> | ||||||
|  |         <source>Discord Presence</source> | ||||||
|  |         <translation>Presença no Discord</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="183"/> | ||||||
|  |         <source>Show Current Game in your Discord Status</source> | ||||||
|  |         <translation>Mostrar o jogo atual no seu perfil do Discord</translation> | ||||||
|  |     </message> | ||||||
|  | </context> | ||||||
| <context> | <context> | ||||||
|     <name>DirectConnect</name> |     <name>DirectConnect</name> | ||||||
|     <message> |     <message> | ||||||
|  |  | ||||||
							
								
								
									
										18
									
								
								dist/languages/ro_RO.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								dist/languages/ro_RO.ts
									
										
									
									
										vendored
									
									
								
							|  | @ -3584,6 +3584,24 @@ Drag points to change position, or double-click table cells to edit values.</sou | ||||||
|         <translation>Engleză</translation> |         <translation>Engleză</translation> | ||||||
|     </message> |     </message> | ||||||
| </context> | </context> | ||||||
|  | <context> | ||||||
|  |     <name>ConfigureWeb</name> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="14"/> | ||||||
|  |         <source>Form</source> | ||||||
|  |         <translation>Model</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="177"/> | ||||||
|  |         <source>Discord Presence</source> | ||||||
|  |         <translation>Prezență pe Discord</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="183"/> | ||||||
|  |         <source>Show Current Game in your Discord Status</source> | ||||||
|  |         <translation>Afișează Jocul Prezent pe Statusul Discord</translation> | ||||||
|  |     </message> | ||||||
|  | </context> | ||||||
| <context> | <context> | ||||||
|     <name>DirectConnect</name> |     <name>DirectConnect</name> | ||||||
|     <message> |     <message> | ||||||
|  |  | ||||||
							
								
								
									
										18
									
								
								dist/languages/ru_RU.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								dist/languages/ru_RU.ts
									
										
									
									
										vendored
									
									
								
							|  | @ -3587,6 +3587,24 @@ Drag points to change position, or double-click table cells to edit values.</sou | ||||||
|         <translation>Английский</translation> |         <translation>Английский</translation> | ||||||
|     </message> |     </message> | ||||||
| </context> | </context> | ||||||
|  | <context> | ||||||
|  |     <name>ConfigureWeb</name> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="14"/> | ||||||
|  |         <source>Form</source> | ||||||
|  |         <translation>Форма</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="177"/> | ||||||
|  |         <source>Discord Presence</source> | ||||||
|  |         <translation>Интеграция с Discord</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="183"/> | ||||||
|  |         <source>Show Current Game in your Discord Status</source> | ||||||
|  |         <translation>Показывать текущую игру в статусе Discord</translation> | ||||||
|  |     </message> | ||||||
|  | </context> | ||||||
| <context> | <context> | ||||||
|     <name>DirectConnect</name> |     <name>DirectConnect</name> | ||||||
|     <message> |     <message> | ||||||
|  |  | ||||||
							
								
								
									
										18
									
								
								dist/languages/tr_TR.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								dist/languages/tr_TR.ts
									
										
									
									
										vendored
									
									
								
							|  | @ -3583,6 +3583,24 @@ Drag points to change position, or double-click table cells to edit values.</sou | ||||||
|         <translation>İngilizce</translation> |         <translation>İngilizce</translation> | ||||||
|     </message> |     </message> | ||||||
| </context> | </context> | ||||||
|  | <context> | ||||||
|  |     <name>ConfigureWeb</name> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="14"/> | ||||||
|  |         <source>Form</source> | ||||||
|  |         <translation>Form</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="177"/> | ||||||
|  |         <source>Discord Presence</source> | ||||||
|  |         <translation>Discord Görünümü</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="183"/> | ||||||
|  |         <source>Show Current Game in your Discord Status</source> | ||||||
|  |         <translation>Şu Anki Oyunu Discord Durumunda Göster</translation> | ||||||
|  |     </message> | ||||||
|  | </context> | ||||||
| <context> | <context> | ||||||
|     <name>DirectConnect</name> |     <name>DirectConnect</name> | ||||||
|     <message> |     <message> | ||||||
|  |  | ||||||
							
								
								
									
										18
									
								
								dist/languages/vi_VN.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								dist/languages/vi_VN.ts
									
										
									
									
										vendored
									
									
								
							|  | @ -3583,6 +3583,24 @@ Drag points to change position, or double-click table cells to edit values.</sou | ||||||
|         <translation>Tiếng Anh</translation> |         <translation>Tiếng Anh</translation> | ||||||
|     </message> |     </message> | ||||||
| </context> | </context> | ||||||
|  | <context> | ||||||
|  |     <name>ConfigureWeb</name> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="14"/> | ||||||
|  |         <source>Form</source> | ||||||
|  |         <translation>Định dạng</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="177"/> | ||||||
|  |         <source>Discord Presence</source> | ||||||
|  |         <translation type="unfinished"/> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="183"/> | ||||||
|  |         <source>Show Current Game in your Discord Status</source> | ||||||
|  |         <translation>Hiển thị game đang chơi trên trạng thái Discord</translation> | ||||||
|  |     </message> | ||||||
|  | </context> | ||||||
| <context> | <context> | ||||||
|     <name>DirectConnect</name> |     <name>DirectConnect</name> | ||||||
|     <message> |     <message> | ||||||
|  |  | ||||||
							
								
								
									
										18
									
								
								dist/languages/zh_CN.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								dist/languages/zh_CN.ts
									
										
									
									
										vendored
									
									
								
							|  | @ -3585,6 +3585,24 @@ Drag points to change position, or double-click table cells to edit values.</sou | ||||||
|         <translation>英语</translation> |         <translation>英语</translation> | ||||||
|     </message> |     </message> | ||||||
| </context> | </context> | ||||||
|  | <context> | ||||||
|  |     <name>ConfigureWeb</name> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="14"/> | ||||||
|  |         <source>Form</source> | ||||||
|  |         <translation>格式</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="177"/> | ||||||
|  |         <source>Discord Presence</source> | ||||||
|  |         <translation>Discord 状态</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="183"/> | ||||||
|  |         <source>Show Current Game in your Discord Status</source> | ||||||
|  |         <translation>在您的 Discord 状态中显示当前游戏</translation> | ||||||
|  |     </message> | ||||||
|  | </context> | ||||||
| <context> | <context> | ||||||
|     <name>DirectConnect</name> |     <name>DirectConnect</name> | ||||||
|     <message> |     <message> | ||||||
|  |  | ||||||
							
								
								
									
										18
									
								
								dist/languages/zh_TW.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								dist/languages/zh_TW.ts
									
										
									
									
										vendored
									
									
								
							|  | @ -3584,6 +3584,24 @@ Drag points to change position, or double-click table cells to edit values.</sou | ||||||
|         <translation>English</translation> |         <translation>English</translation> | ||||||
|     </message> |     </message> | ||||||
| </context> | </context> | ||||||
|  | <context> | ||||||
|  |     <name>ConfigureWeb</name> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="14"/> | ||||||
|  |         <source>Form</source> | ||||||
|  |         <translation>Form</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="177"/> | ||||||
|  |         <source>Discord Presence</source> | ||||||
|  |         <translation>Discord 狀態</translation> | ||||||
|  |     </message> | ||||||
|  |     <message> | ||||||
|  |         <location filename="../../src/citra_qt/configuration/configure_web.ui" line="183"/> | ||||||
|  |         <source>Show Current Game in your Discord Status</source> | ||||||
|  |         <translation>在 Discord 狀態中顯示正在玩的遊戲</translation> | ||||||
|  |     </message> | ||||||
|  | </context> | ||||||
| <context> | <context> | ||||||
|     <name>DirectConnect</name> |     <name>DirectConnect</name> | ||||||
|     <message> |     <message> | ||||||
|  |  | ||||||
|  | @ -81,6 +81,9 @@ add_executable(citra-qt | ||||||
|     configuration/configure_ui.cpp |     configuration/configure_ui.cpp | ||||||
|     configuration/configure_ui.h |     configuration/configure_ui.h | ||||||
|     configuration/configure_ui.ui |     configuration/configure_ui.ui | ||||||
|  |     configuration/configure_web.cpp | ||||||
|  |     configuration/configure_web.h | ||||||
|  |     configuration/configure_web.ui | ||||||
|     configuration/configure_cheats.cpp |     configuration/configure_cheats.cpp | ||||||
|     configuration/configure_cheats.h |     configuration/configure_cheats.h | ||||||
|     configuration/configure_cheats.ui |     configuration/configure_cheats.ui | ||||||
|  |  | ||||||
|  | @ -97,6 +97,12 @@ | ||||||
|    <header>configuration/configure_enhancements.h</header> |    <header>configuration/configure_enhancements.h</header> | ||||||
|    <container>1</container> |    <container>1</container> | ||||||
|   </customwidget> |   </customwidget> | ||||||
|  |   <customwidget> | ||||||
|  |    <class>ConfigureWeb</class> | ||||||
|  |    <extends>QWidget</extends> | ||||||
|  |    <header>configuration/configure_web.h</header> | ||||||
|  |    <container>1</container> | ||||||
|  |   </customwidget> | ||||||
|   <customwidget> |   <customwidget> | ||||||
|    <class>ConfigureUi</class> |    <class>ConfigureUi</class> | ||||||
|    <extends>QWidget</extends> |    <extends>QWidget</extends> | ||||||
|  |  | ||||||
|  | @ -16,6 +16,7 @@ | ||||||
| #include "citra_qt/configuration/configure_storage.h" | #include "citra_qt/configuration/configure_storage.h" | ||||||
| #include "citra_qt/configuration/configure_system.h" | #include "citra_qt/configuration/configure_system.h" | ||||||
| #include "citra_qt/configuration/configure_ui.h" | #include "citra_qt/configuration/configure_ui.h" | ||||||
|  | #include "citra_qt/configuration/configure_web.h" | ||||||
| #include "citra_qt/hotkeys.h" | #include "citra_qt/hotkeys.h" | ||||||
| #include "common/settings.h" | #include "common/settings.h" | ||||||
| #include "core/core.h" | #include "core/core.h" | ||||||
|  | @ -37,7 +38,7 @@ ConfigureDialog::ConfigureDialog(QWidget* parent, HotkeyRegistry& registry_, Cor | ||||||
|       camera_tab{std::make_unique<ConfigureCamera>(this)}, |       camera_tab{std::make_unique<ConfigureCamera>(this)}, | ||||||
|       debug_tab{std::make_unique<ConfigureDebug>(is_powered_on, this)}, |       debug_tab{std::make_unique<ConfigureDebug>(is_powered_on, this)}, | ||||||
|       storage_tab{std::make_unique<ConfigureStorage>(is_powered_on, this)}, |       storage_tab{std::make_unique<ConfigureStorage>(is_powered_on, this)}, | ||||||
|       ui_tab{std::make_unique<ConfigureUi>(this)} { |       web_tab{std::make_unique<ConfigureWeb>(this)}, ui_tab{std::make_unique<ConfigureUi>(this)} { | ||||||
|     Settings::SetConfiguringGlobal(true); |     Settings::SetConfiguringGlobal(true); | ||||||
| 
 | 
 | ||||||
|     ui->setupUi(this); |     ui->setupUi(this); | ||||||
|  | @ -52,6 +53,7 @@ ConfigureDialog::ConfigureDialog(QWidget* parent, HotkeyRegistry& registry_, Cor | ||||||
|     ui->tabWidget->addTab(camera_tab.get(), tr("Camera")); |     ui->tabWidget->addTab(camera_tab.get(), tr("Camera")); | ||||||
|     ui->tabWidget->addTab(debug_tab.get(), tr("Debug")); |     ui->tabWidget->addTab(debug_tab.get(), tr("Debug")); | ||||||
|     ui->tabWidget->addTab(storage_tab.get(), tr("Storage")); |     ui->tabWidget->addTab(storage_tab.get(), tr("Storage")); | ||||||
|  |     ui->tabWidget->addTab(web_tab.get(), tr("Web")); | ||||||
|     ui->tabWidget->addTab(ui_tab.get(), tr("UI")); |     ui->tabWidget->addTab(ui_tab.get(), tr("UI")); | ||||||
| 
 | 
 | ||||||
|     hotkeys_tab->Populate(registry); |     hotkeys_tab->Populate(registry); | ||||||
|  | @ -87,6 +89,7 @@ void ConfigureDialog::SetConfiguration() { | ||||||
|     audio_tab->SetConfiguration(); |     audio_tab->SetConfiguration(); | ||||||
|     camera_tab->SetConfiguration(); |     camera_tab->SetConfiguration(); | ||||||
|     debug_tab->SetConfiguration(); |     debug_tab->SetConfiguration(); | ||||||
|  |     web_tab->SetConfiguration(); | ||||||
|     ui_tab->SetConfiguration(); |     ui_tab->SetConfiguration(); | ||||||
|     storage_tab->SetConfiguration(); |     storage_tab->SetConfiguration(); | ||||||
| } | } | ||||||
|  | @ -102,6 +105,7 @@ void ConfigureDialog::ApplyConfiguration() { | ||||||
|     audio_tab->ApplyConfiguration(); |     audio_tab->ApplyConfiguration(); | ||||||
|     camera_tab->ApplyConfiguration(); |     camera_tab->ApplyConfiguration(); | ||||||
|     debug_tab->ApplyConfiguration(); |     debug_tab->ApplyConfiguration(); | ||||||
|  |     web_tab->ApplyConfiguration(); | ||||||
|     ui_tab->ApplyConfiguration(); |     ui_tab->ApplyConfiguration(); | ||||||
|     storage_tab->ApplyConfiguration(); |     storage_tab->ApplyConfiguration(); | ||||||
|     system.ApplySettings(); |     system.ApplySettings(); | ||||||
|  | @ -114,7 +118,7 @@ void ConfigureDialog::PopulateSelectionList() { | ||||||
|     ui->selectorList->clear(); |     ui->selectorList->clear(); | ||||||
| 
 | 
 | ||||||
|     const std::array<std::pair<QString, QList<QWidget*>>, 5> items{ |     const std::array<std::pair<QString, QList<QWidget*>>, 5> items{ | ||||||
|         {{tr("General"), {general_tab.get(), debug_tab.get(), ui_tab.get()}}, |         {{tr("General"), {general_tab.get(), web_tab.get(), debug_tab.get(), ui_tab.get()}}, | ||||||
|          {tr("System"), {system_tab.get(), camera_tab.get(), storage_tab.get()}}, |          {tr("System"), {system_tab.get(), camera_tab.get(), storage_tab.get()}}, | ||||||
|          {tr("Graphics"), {enhancements_tab.get(), graphics_tab.get()}}, |          {tr("Graphics"), {enhancements_tab.get(), graphics_tab.get()}}, | ||||||
|          {tr("Audio"), {audio_tab.get()}}, |          {tr("Audio"), {audio_tab.get()}}, | ||||||
|  | @ -154,6 +158,7 @@ void ConfigureDialog::RetranslateUI() { | ||||||
|     audio_tab->RetranslateUI(); |     audio_tab->RetranslateUI(); | ||||||
|     camera_tab->RetranslateUI(); |     camera_tab->RetranslateUI(); | ||||||
|     debug_tab->RetranslateUI(); |     debug_tab->RetranslateUI(); | ||||||
|  |     web_tab->RetranslateUI(); | ||||||
|     ui_tab->RetranslateUI(); |     ui_tab->RetranslateUI(); | ||||||
|     storage_tab->RetranslateUI(); |     storage_tab->RetranslateUI(); | ||||||
| } | } | ||||||
|  | @ -173,6 +178,7 @@ void ConfigureDialog::UpdateVisibleTabs() { | ||||||
|                                                  {camera_tab.get(), tr("Camera")}, |                                                  {camera_tab.get(), tr("Camera")}, | ||||||
|                                                  {debug_tab.get(), tr("Debug")}, |                                                  {debug_tab.get(), tr("Debug")}, | ||||||
|                                                  {storage_tab.get(), tr("Storage")}, |                                                  {storage_tab.get(), tr("Storage")}, | ||||||
|  |                                                  {web_tab.get(), tr("Web")}, | ||||||
|                                                  {ui_tab.get(), tr("UI")}}; |                                                  {ui_tab.get(), tr("UI")}}; | ||||||
| 
 | 
 | ||||||
|     ui->tabWidget->clear(); |     ui->tabWidget->clear(); | ||||||
|  |  | ||||||
|  | @ -29,6 +29,7 @@ class ConfigureAudio; | ||||||
| class ConfigureCamera; | class ConfigureCamera; | ||||||
| class ConfigureDebug; | class ConfigureDebug; | ||||||
| class ConfigureStorage; | class ConfigureStorage; | ||||||
|  | class ConfigureWeb; | ||||||
| class ConfigureUi; | class ConfigureUi; | ||||||
| 
 | 
 | ||||||
| class ConfigureDialog : public QDialog { | class ConfigureDialog : public QDialog { | ||||||
|  | @ -69,5 +70,6 @@ private: | ||||||
|     std::unique_ptr<ConfigureCamera> camera_tab; |     std::unique_ptr<ConfigureCamera> camera_tab; | ||||||
|     std::unique_ptr<ConfigureDebug> debug_tab; |     std::unique_ptr<ConfigureDebug> debug_tab; | ||||||
|     std::unique_ptr<ConfigureStorage> storage_tab; |     std::unique_ptr<ConfigureStorage> storage_tab; | ||||||
|  |     std::unique_ptr<ConfigureWeb> web_tab; | ||||||
|     std::unique_ptr<ConfigureUi> ui_tab; |     std::unique_ptr<ConfigureUi> ui_tab; | ||||||
| }; | }; | ||||||
|  |  | ||||||
							
								
								
									
										36
									
								
								src/citra_qt/configuration/configure_web.cpp
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								src/citra_qt/configuration/configure_web.cpp
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,36 @@ | ||||||
|  | // Copyright 2017 Citra Emulator Project
 | ||||||
|  | // Licensed under GPLv2 or any later version
 | ||||||
|  | // Refer to the license.txt file included.
 | ||||||
|  | 
 | ||||||
|  | #include <QIcon> | ||||||
|  | #include <QMessageBox> | ||||||
|  | #include <QtConcurrent/QtConcurrentRun> | ||||||
|  | #include "citra_qt/configuration/configure_web.h" | ||||||
|  | #include "citra_qt/uisettings.h" | ||||||
|  | #include "network/network_settings.h" | ||||||
|  | #include "ui_configure_web.h" | ||||||
|  | 
 | ||||||
|  | ConfigureWeb::ConfigureWeb(QWidget* parent) | ||||||
|  |     : QWidget(parent), ui(std::make_unique<Ui::ConfigureWeb>()) { | ||||||
|  |     ui->setupUi(this); | ||||||
|  | 
 | ||||||
|  | #ifndef USE_DISCORD_PRESENCE | ||||||
|  |     ui->discord_group->setVisible(false); | ||||||
|  | #endif | ||||||
|  |     SetConfiguration(); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | ConfigureWeb::~ConfigureWeb() = default; | ||||||
|  | 
 | ||||||
|  | void ConfigureWeb::SetConfiguration() { | ||||||
|  | 
 | ||||||
|  |     ui->toggle_discordrpc->setChecked(UISettings::values.enable_discord_presence.GetValue()); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | void ConfigureWeb::ApplyConfiguration() { | ||||||
|  |     UISettings::values.enable_discord_presence = ui->toggle_discordrpc->isChecked(); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | void ConfigureWeb::RetranslateUI() { | ||||||
|  |     ui->retranslateUi(this); | ||||||
|  | } | ||||||
							
								
								
									
										28
									
								
								src/citra_qt/configuration/configure_web.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								src/citra_qt/configuration/configure_web.h
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,28 @@ | ||||||
|  | // Copyright 2017 Citra Emulator Project
 | ||||||
|  | // Licensed under GPLv2 or any later version
 | ||||||
|  | // Refer to the license.txt file included.
 | ||||||
|  | 
 | ||||||
|  | #pragma once | ||||||
|  | 
 | ||||||
|  | #include <memory> | ||||||
|  | #include <QFutureWatcher> | ||||||
|  | #include <QWidget> | ||||||
|  | 
 | ||||||
|  | namespace Ui { | ||||||
|  | class ConfigureWeb; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | class ConfigureWeb : public QWidget { | ||||||
|  |     Q_OBJECT | ||||||
|  | 
 | ||||||
|  | public: | ||||||
|  |     explicit ConfigureWeb(QWidget* parent = nullptr); | ||||||
|  |     ~ConfigureWeb() override; | ||||||
|  | 
 | ||||||
|  |     void ApplyConfiguration(); | ||||||
|  |     void RetranslateUI(); | ||||||
|  |     void SetConfiguration(); | ||||||
|  | 
 | ||||||
|  | private: | ||||||
|  |     std::unique_ptr<Ui::ConfigureWeb> ui; | ||||||
|  | }; | ||||||
							
								
								
									
										53
									
								
								src/citra_qt/configuration/configure_web.ui
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										53
									
								
								src/citra_qt/configuration/configure_web.ui
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,53 @@ | ||||||
|  | <?xml version="1.0" encoding="UTF-8"?> | ||||||
|  | <ui version="4.0"> | ||||||
|  |  <class>ConfigureWeb</class> | ||||||
|  |  <widget class="QWidget" name="ConfigureWeb"> | ||||||
|  |   <property name="geometry"> | ||||||
|  |    <rect> | ||||||
|  |     <x>0</x> | ||||||
|  |     <y>0</y> | ||||||
|  |     <width>996</width> | ||||||
|  |     <height>561</height> | ||||||
|  |    </rect> | ||||||
|  |   </property> | ||||||
|  |   <property name="windowTitle"> | ||||||
|  |    <string>Form</string> | ||||||
|  |   </property> | ||||||
|  |   <layout class="QVBoxLayout" name="verticalLayout"> | ||||||
|  |    <item> | ||||||
|  |     <widget class="QGroupBox" name="discord_group"> | ||||||
|  |      <property name="title"> | ||||||
|  |       <string>Discord Presence</string> | ||||||
|  |      </property> | ||||||
|  |      <layout class="QVBoxLayout" name="verticalLayout_21"> | ||||||
|  |       <item> | ||||||
|  |        <widget class="QCheckBox" name="toggle_discordrpc"> | ||||||
|  |         <property name="text"> | ||||||
|  |          <string>Show Current Game in your Discord Status</string> | ||||||
|  |         </property> | ||||||
|  |        </widget> | ||||||
|  |       </item> | ||||||
|  |      </layout> | ||||||
|  |     </widget> | ||||||
|  |    </item> | ||||||
|  |    <item> | ||||||
|  |     <spacer name="verticalSpacer"> | ||||||
|  |      <property name="orientation"> | ||||||
|  |       <enum>Qt::Vertical</enum> | ||||||
|  |      </property> | ||||||
|  |      <property name="sizeHint" stdset="0"> | ||||||
|  |       <size> | ||||||
|  |        <width>20</width> | ||||||
|  |        <height>40</height> | ||||||
|  |       </size> | ||||||
|  |      </property> | ||||||
|  |     </spacer> | ||||||
|  |    </item> | ||||||
|  |   </layout> | ||||||
|  |  </widget> | ||||||
|  |  <tabstops> | ||||||
|  |   <tabstop>toggle_discordrpc</tabstop> | ||||||
|  |  </tabstops> | ||||||
|  |  <resources/> | ||||||
|  |  <connections/> | ||||||
|  | </ui> | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue