mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-10 20:25:06 +01:00
Quick and dirty telemetry removal to buy us time to fix #53
This commit is contained in:
parent
2e4f53ec2b
commit
1c5154dc60
5
dist/languages/da_DK.ts
vendored
5
dist/languages/da_DK.ts
vendored
@ -3893,11 +3893,6 @@ Please check your FFmpeg installation used for compilation.</source>
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GMainWindow</name>
|
<name>GMainWindow</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="144"/>
|
|
||||||
<source><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonymous data is collected</a> to help improve Citra. <br/><br/>Would you like to share your usage data with us?</source>
|
|
||||||
<translation><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonym data bliver indsamlet</a>for at hjælpe med at forbedre Citra.<br/><br/>Har du lyst til at dele din brugsdata med os?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
||||||
<source>Telemetry</source>
|
<source>Telemetry</source>
|
||||||
|
5
dist/languages/de.ts
vendored
5
dist/languages/de.ts
vendored
@ -3895,11 +3895,6 @@ Please check your FFmpeg installation used for compilation.</source>
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GMainWindow</name>
|
<name>GMainWindow</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="144"/>
|
|
||||||
<source><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonymous data is collected</a> to help improve Citra. <br/><br/>Would you like to share your usage data with us?</source>
|
|
||||||
<translation>Möchten Sie <a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>anonyme Nutzungsdaten</a> an das Citra Team senden und so helfen, Citra weiter zu verbessern?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
||||||
<source>Telemetry</source>
|
<source>Telemetry</source>
|
||||||
|
5
dist/languages/el.ts
vendored
5
dist/languages/el.ts
vendored
@ -3894,11 +3894,6 @@ Please check your FFmpeg installation used for compilation.</source>
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GMainWindow</name>
|
<name>GMainWindow</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="144"/>
|
|
||||||
<source><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonymous data is collected</a> to help improve Citra. <br/><br/>Would you like to share your usage data with us?</source>
|
|
||||||
<translation><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Συλλέγονται ανώνυμα δεδομένα</a> για τη βελτίωση του Citra. <br/><br/>Θέλετε να μοιραστείτε τα δεδομένα χρήσης σας με εμάς;</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
||||||
<source>Telemetry</source>
|
<source>Telemetry</source>
|
||||||
|
5
dist/languages/es_ES.ts
vendored
5
dist/languages/es_ES.ts
vendored
@ -3896,11 +3896,6 @@ Por favor, compruebe la instalación de FFmpeg usada para la compilación.</tran
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GMainWindow</name>
|
<name>GMainWindow</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="144"/>
|
|
||||||
<source><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonymous data is collected</a> to help improve Citra. <br/><br/>Would you like to share your usage data with us?</source>
|
|
||||||
<translation><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Se recogen datos anónimos</a> para ayudar a mejorar Citra. <br/><br/>¿Quieres compartir tus datos de uso con nosotros?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
||||||
<source>Telemetry</source>
|
<source>Telemetry</source>
|
||||||
|
5
dist/languages/fi.ts
vendored
5
dist/languages/fi.ts
vendored
@ -3893,11 +3893,6 @@ Please check your FFmpeg installation used for compilation.</source>
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GMainWindow</name>
|
<name>GMainWindow</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="144"/>
|
|
||||||
<source><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonymous data is collected</a> to help improve Citra. <br/><br/>Would you like to share your usage data with us?</source>
|
|
||||||
<translation><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonyymiä tietoa kerätään</a>parantaaksemme Citraa. <br/><br/>Haluaisitko jakaa käyttötetoa meidän kanssa?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
||||||
<source>Telemetry</source>
|
<source>Telemetry</source>
|
||||||
|
5
dist/languages/fr.ts
vendored
5
dist/languages/fr.ts
vendored
@ -3896,11 +3896,6 @@ Veuillez vérifier votre installation FFmpeg utilisée pour la compilation.</tra
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GMainWindow</name>
|
<name>GMainWindow</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="144"/>
|
|
||||||
<source><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonymous data is collected</a> to help improve Citra. <br/><br/>Would you like to share your usage data with us?</source>
|
|
||||||
<translation><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Des données anonymes sont collectées</a> afin d'aider à l'amélioration de Citra. <br/><br/>Souhaitez vous communiquer vos données avec nous ?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
||||||
<source>Telemetry</source>
|
<source>Telemetry</source>
|
||||||
|
5
dist/languages/hu_HU.ts
vendored
5
dist/languages/hu_HU.ts
vendored
@ -3892,11 +3892,6 @@ Please check your FFmpeg installation used for compilation.</source>
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GMainWindow</name>
|
<name>GMainWindow</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="144"/>
|
|
||||||
<source><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonymous data is collected</a> to help improve Citra. <br/><br/>Would you like to share your usage data with us?</source>
|
|
||||||
<translation type="unfinished"/>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
||||||
<source>Telemetry</source>
|
<source>Telemetry</source>
|
||||||
|
5
dist/languages/id.ts
vendored
5
dist/languages/id.ts
vendored
@ -3895,11 +3895,6 @@ Please check your FFmpeg installation used for compilation.</source>
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GMainWindow</name>
|
<name>GMainWindow</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="144"/>
|
|
||||||
<source><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonymous data is collected</a> to help improve Citra. <br/><br/>Would you like to share your usage data with us?</source>
|
|
||||||
<translation><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Data anonim dikumpulkan</a>untuk membantu Citra menjadi lebih baik. <br/><br/>Apakah Anda ingin membagikan penggunaan data Anda dengan kami?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
||||||
<source>Telemetry</source>
|
<source>Telemetry</source>
|
||||||
|
5
dist/languages/it.ts
vendored
5
dist/languages/it.ts
vendored
@ -3896,11 +3896,6 @@ Verifica l'installazione di FFmpeg usata per la compilazione.</translation>
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GMainWindow</name>
|
<name>GMainWindow</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="144"/>
|
|
||||||
<source><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonymous data is collected</a> to help improve Citra. <br/><br/>Would you like to share your usage data with us?</source>
|
|
||||||
<translation><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Vengono raccolti dati anonimi </a> per aiutare lo sviluppo di Citra. <br/><br/>Vuoi condividere i tuoi dati di utilizzo con noi?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
||||||
<source>Telemetry</source>
|
<source>Telemetry</source>
|
||||||
|
5
dist/languages/ja_JP.ts
vendored
5
dist/languages/ja_JP.ts
vendored
@ -3897,11 +3897,6 @@ Please check your FFmpeg installation used for compilation.</source>
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GMainWindow</name>
|
<name>GMainWindow</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="144"/>
|
|
||||||
<source><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonymous data is collected</a> to help improve Citra. <br/><br/>Would you like to share your usage data with us?</source>
|
|
||||||
<translation><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>匿名のデータ</a>がCitraの改善のために収集されます<br/><br/>利用状況データの提供に同意しますか?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
||||||
<source>Telemetry</source>
|
<source>Telemetry</source>
|
||||||
|
5
dist/languages/ko_KR.ts
vendored
5
dist/languages/ko_KR.ts
vendored
@ -3896,11 +3896,6 @@ Please check your FFmpeg installation used for compilation.</source>
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GMainWindow</name>
|
<name>GMainWindow</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="144"/>
|
|
||||||
<source><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonymous data is collected</a> to help improve Citra. <br/><br/>Would you like to share your usage data with us?</source>
|
|
||||||
<translation>Citra를 개선하기위해 <a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>익명데이터가 수집됩니다</a>. <br/><br/>사용 데이터를 공유하시겠습니까?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
||||||
<source>Telemetry</source>
|
<source>Telemetry</source>
|
||||||
|
5
dist/languages/lt_LT.ts
vendored
5
dist/languages/lt_LT.ts
vendored
@ -3891,11 +3891,6 @@ Please check your FFmpeg installation used for compilation.</source>
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GMainWindow</name>
|
<name>GMainWindow</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="144"/>
|
|
||||||
<source><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonymous data is collected</a> to help improve Citra. <br/><br/>Would you like to share your usage data with us?</source>
|
|
||||||
<translation><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anoniminiai duomenys yra renkami </a> kad padėtumėte Citra komandai. <br/><br/>Ar norite pasidalinti savo duomenimis su mumis?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
||||||
<source>Telemetry</source>
|
<source>Telemetry</source>
|
||||||
|
5
dist/languages/nb.ts
vendored
5
dist/languages/nb.ts
vendored
@ -3894,11 +3894,6 @@ Please check your FFmpeg installation used for compilation.</source>
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GMainWindow</name>
|
<name>GMainWindow</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="144"/>
|
|
||||||
<source><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonymous data is collected</a> to help improve Citra. <br/><br/>Would you like to share your usage data with us?</source>
|
|
||||||
<translation><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonym data samles inn</a> for å forbedre Citra. <br/><br/>Vil du dele dine brukerdata med oss?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
||||||
<source>Telemetry</source>
|
<source>Telemetry</source>
|
||||||
|
5
dist/languages/nl.ts
vendored
5
dist/languages/nl.ts
vendored
@ -3896,11 +3896,6 @@ Controleer de FFmpeg-installatie die wordt gebruikt voor de compilatie.</transla
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GMainWindow</name>
|
<name>GMainWindow</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="144"/>
|
|
||||||
<source><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonymous data is collected</a> to help improve Citra. <br/><br/>Would you like to share your usage data with us?</source>
|
|
||||||
<translation><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonieme gegevens worden verzameld</a> om Citra te helpen verbeteren. <br/><br/> Wilt u uw gebruiksgegevens met ons delen?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
||||||
<source>Telemetry</source>
|
<source>Telemetry</source>
|
||||||
|
5
dist/languages/pl_PL.ts
vendored
5
dist/languages/pl_PL.ts
vendored
@ -3893,11 +3893,6 @@ Please check your FFmpeg installation used for compilation.</source>
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GMainWindow</name>
|
<name>GMainWindow</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="144"/>
|
|
||||||
<source><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonymous data is collected</a> to help improve Citra. <br/><br/>Would you like to share your usage data with us?</source>
|
|
||||||
<translation><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonimowe dane są zbierane</a> w celu wsparcia rozwoju Citry. <br/><br/>Czy chciałbyś się z nami podzielić danymi użytkowania?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
||||||
<source>Telemetry</source>
|
<source>Telemetry</source>
|
||||||
|
5
dist/languages/pt_BR.ts
vendored
5
dist/languages/pt_BR.ts
vendored
@ -3895,11 +3895,6 @@ Please check your FFmpeg installation used for compilation.</source>
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GMainWindow</name>
|
<name>GMainWindow</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="144"/>
|
|
||||||
<source><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonymous data is collected</a> to help improve Citra. <br/><br/>Would you like to share your usage data with us?</source>
|
|
||||||
<translation><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Dados anônimos são recolhidos</a> para ajudar a melhorar o Citra. <br/><br/>Gostaria de compartilhar os seus dados de utilização conosco?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
||||||
<source>Telemetry</source>
|
<source>Telemetry</source>
|
||||||
|
5
dist/languages/ro_RO.ts
vendored
5
dist/languages/ro_RO.ts
vendored
@ -3894,11 +3894,6 @@ Please check your FFmpeg installation used for compilation.</source>
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GMainWindow</name>
|
<name>GMainWindow</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="144"/>
|
|
||||||
<source><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonymous data is collected</a> to help improve Citra. <br/><br/>Would you like to share your usage data with us?</source>
|
|
||||||
<translation><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Date anonime sunt colectate</a> pentru a ajuta îmbunătățirea lui Citra. <br/><br/> Doriți să partajați uzul de datele cu noi?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
||||||
<source>Telemetry</source>
|
<source>Telemetry</source>
|
||||||
|
5
dist/languages/ru_RU.ts
vendored
5
dist/languages/ru_RU.ts
vendored
@ -3898,11 +3898,6 @@ Please check your FFmpeg installation used for compilation.</source>
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GMainWindow</name>
|
<name>GMainWindow</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="144"/>
|
|
||||||
<source><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonymous data is collected</a> to help improve Citra. <br/><br/>Would you like to share your usage data with us?</source>
|
|
||||||
<translation>Для оказания помощи в улучшении приложения Citra <a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>проводится сбор анонимных данных</a>. <br/><br/>Поделиться данными об использовании?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
||||||
<source>Telemetry</source>
|
<source>Telemetry</source>
|
||||||
|
5
dist/languages/tr_TR.ts
vendored
5
dist/languages/tr_TR.ts
vendored
@ -3893,11 +3893,6 @@ Please check your FFmpeg installation used for compilation.</source>
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GMainWindow</name>
|
<name>GMainWindow</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="144"/>
|
|
||||||
<source><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonymous data is collected</a> to help improve Citra. <br/><br/>Would you like to share your usage data with us?</source>
|
|
||||||
<translation><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Citrayı geliştirmeye yardımcı olmak için</a> anonim veri toplandı. <br/><br/>Kullanım verinizi bizimle paylaşmak ister misiniz?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
||||||
<source>Telemetry</source>
|
<source>Telemetry</source>
|
||||||
|
5
dist/languages/vi_VN.ts
vendored
5
dist/languages/vi_VN.ts
vendored
@ -3893,11 +3893,6 @@ Please check your FFmpeg installation used for compilation.</source>
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GMainWindow</name>
|
<name>GMainWindow</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="144"/>
|
|
||||||
<source><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonymous data is collected</a> to help improve Citra. <br/><br/>Would you like to share your usage data with us?</source>
|
|
||||||
<translation><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Dữ liệu ẩn danh được thu thập</a> để giúp cải thiện Citra. <br/><br/>Bạn có muốn chia sẻ dữ liệu của bạn với chúng tôi?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
||||||
<source>Telemetry</source>
|
<source>Telemetry</source>
|
||||||
|
5
dist/languages/zh_CN.ts
vendored
5
dist/languages/zh_CN.ts
vendored
@ -3896,11 +3896,6 @@ Please check your FFmpeg installation used for compilation.</source>
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GMainWindow</name>
|
<name>GMainWindow</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="144"/>
|
|
||||||
<source><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonymous data is collected</a> to help improve Citra. <br/><br/>Would you like to share your usage data with us?</source>
|
|
||||||
<translation><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>我们收集匿名数据</a>来帮助改进 Citra 。<br/><br/>您愿意和我们分享你的使用数据吗?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
||||||
<source>Telemetry</source>
|
<source>Telemetry</source>
|
||||||
|
5
dist/languages/zh_TW.ts
vendored
5
dist/languages/zh_TW.ts
vendored
@ -3894,11 +3894,6 @@ Please check your FFmpeg installation used for compilation.</source>
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GMainWindow</name>
|
<name>GMainWindow</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="144"/>
|
|
||||||
<source><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonymous data is collected</a> to help improve Citra. <br/><br/>Would you like to share your usage data with us?</source>
|
|
||||||
<translation><a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>收集匿名的使用資料</a>可以用來改善 Citra。<br/><br/>您同意將您的使用資料分享給 Citra 嗎?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
<location filename="../../src/lime_qt/main.cpp" line="147"/>
|
||||||
<source>Telemetry</source>
|
<source>Telemetry</source>
|
||||||
|
@ -266,8 +266,7 @@ void Config::ReadValues() {
|
|||||||
// Web Service
|
// Web Service
|
||||||
NetSettings::values.enable_telemetry =
|
NetSettings::values.enable_telemetry =
|
||||||
sdl2_config->GetBoolean("WebService", "enable_telemetry", false);
|
sdl2_config->GetBoolean("WebService", "enable_telemetry", false);
|
||||||
NetSettings::values.web_api_url =
|
NetSettings::values.web_api_url = sdl2_config->GetString("WebService", "web_api_url", "");
|
||||||
sdl2_config->GetString("WebService", "web_api_url", "https://api.citra-emu.org");
|
|
||||||
NetSettings::values.citra_username = sdl2_config->GetString("WebService", "citra_username", "");
|
NetSettings::values.citra_username = sdl2_config->GetString("WebService", "citra_username", "");
|
||||||
NetSettings::values.citra_token = sdl2_config->GetString("WebService", "citra_token", "");
|
NetSettings::values.citra_token = sdl2_config->GetString("WebService", "citra_token", "");
|
||||||
}
|
}
|
||||||
|
@ -357,7 +357,7 @@ gdbstub_port=24689
|
|||||||
# 0 (default): No, 1: Yes
|
# 0 (default): No, 1: Yes
|
||||||
enable_telemetry =
|
enable_telemetry =
|
||||||
# URL for Web API
|
# URL for Web API
|
||||||
web_api_url = https://api.citra-emu.org
|
web_api_url =
|
||||||
# Username and token for Citra Web Service
|
# Username and token for Citra Web Service
|
||||||
# See https://profile.citra-emu.org/ for more info
|
# See https://profile.citra-emu.org/ for more info
|
||||||
citra_username =
|
citra_username =
|
||||||
|
@ -328,8 +328,7 @@ void Config::ReadValues() {
|
|||||||
// Web Service
|
// Web Service
|
||||||
NetSettings::values.enable_telemetry =
|
NetSettings::values.enable_telemetry =
|
||||||
sdl2_config->GetBoolean("WebService", "enable_telemetry", false);
|
sdl2_config->GetBoolean("WebService", "enable_telemetry", false);
|
||||||
NetSettings::values.web_api_url =
|
NetSettings::values.web_api_url = sdl2_config->GetString("WebService", "web_api_url", "");
|
||||||
sdl2_config->GetString("WebService", "web_api_url", "https://api.citra-emu.org");
|
|
||||||
NetSettings::values.citra_username = sdl2_config->GetString("WebService", "citra_username", "");
|
NetSettings::values.citra_username = sdl2_config->GetString("WebService", "citra_username", "");
|
||||||
NetSettings::values.citra_token = sdl2_config->GetString("WebService", "citra_token", "");
|
NetSettings::values.citra_token = sdl2_config->GetString("WebService", "citra_token", "");
|
||||||
|
|
||||||
|
@ -365,7 +365,7 @@ renderer_debug =
|
|||||||
# 0 (default): No, 1: Yes
|
# 0 (default): No, 1: Yes
|
||||||
enable_telemetry =
|
enable_telemetry =
|
||||||
# URL for Web API
|
# URL for Web API
|
||||||
web_api_url = https://api.citra-emu.org
|
web_api_url =
|
||||||
# Username and token for Citra Web Service
|
# Username and token for Citra Web Service
|
||||||
# See https://profile.citra-emu.org/ for more info
|
# See https://profile.citra-emu.org/ for more info
|
||||||
citra_username =
|
citra_username =
|
||||||
|
@ -839,9 +839,7 @@ void Config::ReadWebServiceValues() {
|
|||||||
NetSettings::values.enable_telemetry =
|
NetSettings::values.enable_telemetry =
|
||||||
ReadSetting(QStringLiteral("enable_telemetry"), false).toBool();
|
ReadSetting(QStringLiteral("enable_telemetry"), false).toBool();
|
||||||
NetSettings::values.web_api_url =
|
NetSettings::values.web_api_url =
|
||||||
ReadSetting(QStringLiteral("web_api_url"), QStringLiteral("https://api.citra-emu.org"))
|
ReadSetting(QStringLiteral("web_api_url"), QStringLiteral("")).toString().toStdString();
|
||||||
.toString()
|
|
||||||
.toStdString();
|
|
||||||
NetSettings::values.citra_username =
|
NetSettings::values.citra_username =
|
||||||
ReadSetting(QStringLiteral("citra_username")).toString().toStdString();
|
ReadSetting(QStringLiteral("citra_username")).toString().toStdString();
|
||||||
NetSettings::values.citra_token =
|
NetSettings::values.citra_token =
|
||||||
@ -1319,8 +1317,7 @@ void Config::SaveWebServiceValues() {
|
|||||||
|
|
||||||
WriteSetting(QStringLiteral("enable_telemetry"), NetSettings::values.enable_telemetry, false);
|
WriteSetting(QStringLiteral("enable_telemetry"), NetSettings::values.enable_telemetry, false);
|
||||||
WriteSetting(QStringLiteral("web_api_url"),
|
WriteSetting(QStringLiteral("web_api_url"),
|
||||||
QString::fromStdString(NetSettings::values.web_api_url),
|
QString::fromStdString(NetSettings::values.web_api_url), QStringLiteral(""));
|
||||||
QStringLiteral("https://api.citra-emu.org"));
|
|
||||||
WriteSetting(QStringLiteral("citra_username"),
|
WriteSetting(QStringLiteral("citra_username"),
|
||||||
QString::fromStdString(NetSettings::values.citra_username));
|
QString::fromStdString(NetSettings::values.citra_username));
|
||||||
WriteSetting(QStringLiteral("citra_token"),
|
WriteSetting(QStringLiteral("citra_token"),
|
||||||
|
@ -57,7 +57,6 @@ ConfigureDialog::ConfigureDialog(QWidget* parent, HotkeyRegistry& registry_, Cor
|
|||||||
ui->tabWidget->addTab(ui_tab.get(), tr("UI"));
|
ui->tabWidget->addTab(ui_tab.get(), tr("UI"));
|
||||||
|
|
||||||
hotkeys_tab->Populate(registry);
|
hotkeys_tab->Populate(registry);
|
||||||
web_tab->SetWebServiceConfigEnabled(enable_web_config);
|
|
||||||
|
|
||||||
PopulateSelectionList();
|
PopulateSelectionList();
|
||||||
|
|
||||||
|
@ -11,41 +11,12 @@
|
|||||||
#include "network/network_settings.h"
|
#include "network/network_settings.h"
|
||||||
#include "ui_configure_web.h"
|
#include "ui_configure_web.h"
|
||||||
|
|
||||||
static constexpr char token_delimiter{':'};
|
|
||||||
|
|
||||||
static std::string GenerateDisplayToken(const std::string& username, const std::string& token) {
|
|
||||||
if (username.empty() || token.empty()) {
|
|
||||||
return {};
|
|
||||||
}
|
|
||||||
|
|
||||||
const std::string unencoded_display_token{username + token_delimiter + token};
|
|
||||||
QByteArray b{unencoded_display_token.c_str()};
|
|
||||||
QByteArray b64 = b.toBase64();
|
|
||||||
return b64.toStdString();
|
|
||||||
}
|
|
||||||
|
|
||||||
static std::string UsernameFromDisplayToken(const std::string& display_token) {
|
|
||||||
const std::string unencoded_display_token{
|
|
||||||
QByteArray::fromBase64(display_token.c_str()).toStdString()};
|
|
||||||
return unencoded_display_token.substr(0, unencoded_display_token.find(token_delimiter));
|
|
||||||
}
|
|
||||||
|
|
||||||
static std::string TokenFromDisplayToken(const std::string& display_token) {
|
|
||||||
const std::string unencoded_display_token{
|
|
||||||
QByteArray::fromBase64(display_token.c_str()).toStdString()};
|
|
||||||
return unencoded_display_token.substr(unencoded_display_token.find(token_delimiter) + 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
ConfigureWeb::ConfigureWeb(QWidget* parent)
|
ConfigureWeb::ConfigureWeb(QWidget* parent)
|
||||||
: QWidget(parent), ui(std::make_unique<Ui::ConfigureWeb>()) {
|
: QWidget(parent), ui(std::make_unique<Ui::ConfigureWeb>()) {
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
connect(ui->button_regenerate_telemetry_id, &QPushButton::clicked, this,
|
|
||||||
&ConfigureWeb::RefreshTelemetryID);
|
|
||||||
connect(ui->button_verify_login, &QPushButton::clicked, this, &ConfigureWeb::VerifyLogin);
|
|
||||||
connect(&verify_watcher, &QFutureWatcher<bool>::finished, this, &ConfigureWeb::OnLoginVerified);
|
|
||||||
|
|
||||||
#ifndef USE_DISCORD_PRESENCE
|
#ifndef USE_DISCORD_PRESENCE
|
||||||
ui->discord_group->setVisible(false);
|
ui->discord_group->setEnabled(false);
|
||||||
#endif
|
#endif
|
||||||
SetConfiguration();
|
SetConfiguration();
|
||||||
}
|
}
|
||||||
@ -53,113 +24,13 @@ ConfigureWeb::ConfigureWeb(QWidget* parent)
|
|||||||
ConfigureWeb::~ConfigureWeb() = default;
|
ConfigureWeb::~ConfigureWeb() = default;
|
||||||
|
|
||||||
void ConfigureWeb::SetConfiguration() {
|
void ConfigureWeb::SetConfiguration() {
|
||||||
ui->web_credentials_disclaimer->setWordWrap(true);
|
|
||||||
ui->telemetry_learn_more->setOpenExternalLinks(true);
|
|
||||||
ui->telemetry_learn_more->setText(tr("<a "
|
|
||||||
"href='https://citra-emu.org/entry/"
|
|
||||||
"telemetry-and-why-thats-a-good-thing/'><span "
|
|
||||||
"style=\"text-decoration: underline; "
|
|
||||||
"color:#039be5;\">Learn more</span></a>"));
|
|
||||||
|
|
||||||
ui->web_signup_link->setOpenExternalLinks(true);
|
|
||||||
ui->web_signup_link->setText(
|
|
||||||
tr("<a href='https://profile.citra-emu.org/'><span style=\"text-decoration: underline; "
|
|
||||||
"color:#039be5;\">Sign up</span></a>"));
|
|
||||||
ui->web_token_info_link->setOpenExternalLinks(true);
|
|
||||||
ui->web_token_info_link->setText(
|
|
||||||
tr("<a href='https://citra-emu.org/wiki/citra-web-service/'><span style=\"text-decoration: "
|
|
||||||
"underline; color:#039be5;\">What is my token?</span></a>"));
|
|
||||||
|
|
||||||
ui->toggle_telemetry->setChecked(NetSettings::values.enable_telemetry);
|
|
||||||
|
|
||||||
if (NetSettings::values.citra_username.empty()) {
|
|
||||||
ui->username->setText(tr("Unspecified"));
|
|
||||||
} else {
|
|
||||||
ui->username->setText(QString::fromStdString(NetSettings::values.citra_username));
|
|
||||||
}
|
|
||||||
|
|
||||||
ui->edit_token->setText(QString::fromStdString(
|
|
||||||
GenerateDisplayToken(NetSettings::values.citra_username, NetSettings::values.citra_token)));
|
|
||||||
|
|
||||||
// Connect after setting the values, to avoid calling OnLoginChanged now
|
|
||||||
connect(ui->edit_token, &QLineEdit::textChanged, this, &ConfigureWeb::OnLoginChanged);
|
|
||||||
ui->label_telemetry_id->setText(
|
|
||||||
tr("Telemetry ID: 0x%1").arg(QString::number(Core::GetTelemetryId(), 16).toUpper()));
|
|
||||||
user_verified = true;
|
|
||||||
|
|
||||||
ui->toggle_discordrpc->setChecked(UISettings::values.enable_discord_presence.GetValue());
|
ui->toggle_discordrpc->setChecked(UISettings::values.enable_discord_presence.GetValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfigureWeb::ApplyConfiguration() {
|
void ConfigureWeb::ApplyConfiguration() {
|
||||||
NetSettings::values.enable_telemetry = ui->toggle_telemetry->isChecked();
|
|
||||||
UISettings::values.enable_discord_presence = ui->toggle_discordrpc->isChecked();
|
UISettings::values.enable_discord_presence = ui->toggle_discordrpc->isChecked();
|
||||||
if (user_verified) {
|
|
||||||
NetSettings::values.citra_username =
|
|
||||||
UsernameFromDisplayToken(ui->edit_token->text().toStdString());
|
|
||||||
NetSettings::values.citra_token =
|
|
||||||
TokenFromDisplayToken(ui->edit_token->text().toStdString());
|
|
||||||
} else {
|
|
||||||
QMessageBox::warning(
|
|
||||||
this, tr("Token not verified"),
|
|
||||||
tr("Token was not verified. The change to your token has not been saved."));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void ConfigureWeb::RefreshTelemetryID() {
|
|
||||||
const u64 new_telemetry_id{Core::RegenerateTelemetryId()};
|
|
||||||
ui->label_telemetry_id->setText(
|
|
||||||
tr("Telemetry ID: 0x%1").arg(QString::number(new_telemetry_id, 16).toUpper()));
|
|
||||||
}
|
|
||||||
|
|
||||||
void ConfigureWeb::OnLoginChanged() {
|
|
||||||
if (ui->edit_token->text().isEmpty()) {
|
|
||||||
user_verified = true;
|
|
||||||
|
|
||||||
const QPixmap pixmap = QIcon::fromTheme(QStringLiteral("checked")).pixmap(16);
|
|
||||||
ui->label_token_verified->setPixmap(pixmap);
|
|
||||||
} else {
|
|
||||||
user_verified = false;
|
|
||||||
|
|
||||||
const QPixmap pixmap = QIcon::fromTheme(QStringLiteral("failed")).pixmap(16);
|
|
||||||
ui->label_token_verified->setPixmap(pixmap);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void ConfigureWeb::VerifyLogin() {
|
|
||||||
ui->button_verify_login->setDisabled(true);
|
|
||||||
ui->button_verify_login->setText(tr("Verifying..."));
|
|
||||||
verify_watcher.setFuture(QtConcurrent::run(
|
|
||||||
[username = UsernameFromDisplayToken(ui->edit_token->text().toStdString()),
|
|
||||||
token = TokenFromDisplayToken(ui->edit_token->text().toStdString())] {
|
|
||||||
return Core::VerifyLogin(username, token);
|
|
||||||
}));
|
|
||||||
}
|
|
||||||
|
|
||||||
void ConfigureWeb::OnLoginVerified() {
|
|
||||||
ui->button_verify_login->setEnabled(true);
|
|
||||||
ui->button_verify_login->setText(tr("Verify"));
|
|
||||||
if (verify_watcher.result()) {
|
|
||||||
user_verified = true;
|
|
||||||
|
|
||||||
const QPixmap pixmap = QIcon::fromTheme(QStringLiteral("checked")).pixmap(16);
|
|
||||||
ui->label_token_verified->setPixmap(pixmap);
|
|
||||||
ui->username->setText(
|
|
||||||
QString::fromStdString(UsernameFromDisplayToken(ui->edit_token->text().toStdString())));
|
|
||||||
} else {
|
|
||||||
const QPixmap pixmap = QIcon::fromTheme(QStringLiteral("failed")).pixmap(16);
|
|
||||||
ui->label_token_verified->setPixmap(pixmap);
|
|
||||||
ui->username->setText(tr("Unspecified"));
|
|
||||||
QMessageBox::critical(this, tr("Verification failed"),
|
|
||||||
tr("Verification failed. Check that you have entered your token "
|
|
||||||
"correctly, and that your internet connection is working."));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfigureWeb::RetranslateUI() {
|
void ConfigureWeb::RetranslateUI() {
|
||||||
ui->retranslateUi(this);
|
ui->retranslateUi(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfigureWeb::SetWebServiceConfigEnabled(bool enabled) {
|
|
||||||
ui->label_disable_info->setVisible(!enabled);
|
|
||||||
ui->groupBoxWebConfig->setEnabled(enabled);
|
|
||||||
}
|
|
||||||
|
@ -22,7 +22,6 @@ public:
|
|||||||
void ApplyConfiguration();
|
void ApplyConfiguration();
|
||||||
void RetranslateUI();
|
void RetranslateUI();
|
||||||
void SetConfiguration();
|
void SetConfiguration();
|
||||||
void SetWebServiceConfigEnabled(bool enabled);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void RefreshTelemetryID();
|
void RefreshTelemetryID();
|
||||||
|
@ -14,163 +14,6 @@
|
|||||||
<string>Form</string>
|
<string>Form</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
<item>
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
||||||
<item>
|
|
||||||
<widget class="QGroupBox" name="groupBoxWebConfig">
|
|
||||||
<property name="title">
|
|
||||||
<string>Lime3DS Web Service</string>
|
|
||||||
</property>
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayoutCitraWebService">
|
|
||||||
<item>
|
|
||||||
<widget class="QLabel" name="web_credentials_disclaimer">
|
|
||||||
<property name="text">
|
|
||||||
<string>Currently not supported by Lime. By providing your username and token, you agree to allow Citra to collect additional usage data, which may include user identifying information.</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<layout class="QGridLayout" name="gridLayoutCitraUsername">
|
|
||||||
<item row="2" column="3">
|
|
||||||
<widget class="QPushButton" name="button_verify_login">
|
|
||||||
<property name="sizePolicy">
|
|
||||||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
||||||
<horstretch>0</horstretch>
|
|
||||||
<verstretch>0</verstretch>
|
|
||||||
</sizepolicy>
|
|
||||||
</property>
|
|
||||||
<property name="layoutDirection">
|
|
||||||
<enum>Qt::RightToLeft</enum>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Verify</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="2" column="0">
|
|
||||||
<widget class="QLabel" name="web_signup_link">
|
|
||||||
<property name="text">
|
|
||||||
<string>Sign up</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="0" column="1" colspan="3">
|
|
||||||
<widget class="QLabel" name="username"/>
|
|
||||||
</item>
|
|
||||||
<item row="1" column="0">
|
|
||||||
<widget class="QLabel" name="label_token">
|
|
||||||
<property name="text">
|
|
||||||
<string>Token: </string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="1" column="4">
|
|
||||||
<widget class="QLabel" name="label_token_verified"/>
|
|
||||||
</item>
|
|
||||||
<item row="0" column="0">
|
|
||||||
<widget class="QLabel" name="label_username">
|
|
||||||
<property name="text">
|
|
||||||
<string>Username: </string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="1" column="1" colspan="3">
|
|
||||||
<widget class="QLineEdit" name="edit_token">
|
|
||||||
<property name="maxLength">
|
|
||||||
<number>80</number>
|
|
||||||
</property>
|
|
||||||
<property name="echoMode">
|
|
||||||
<enum>QLineEdit::Password</enum>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="2" column="1">
|
|
||||||
<widget class="QLabel" name="web_token_info_link">
|
|
||||||
<property name="text">
|
|
||||||
<string>What is my token?</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="2" column="2">
|
|
||||||
<spacer name="horizontalSpacer">
|
|
||||||
<property name="orientation">
|
|
||||||
<enum>Qt::Horizontal</enum>
|
|
||||||
</property>
|
|
||||||
<property name="sizeHint" stdset="0">
|
|
||||||
<size>
|
|
||||||
<width>40</width>
|
|
||||||
<height>20</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QLabel" name="label_disable_info">
|
|
||||||
<property name="text">
|
|
||||||
<string>Web Service configuration can only be changed when a public room isn't being hosted.</string>
|
|
||||||
</property>
|
|
||||||
<property name="wordWrap">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QGroupBox" name="groupBox">
|
|
||||||
<property name="title">
|
|
||||||
<string>Telemetry</string>
|
|
||||||
</property>
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
||||||
<item>
|
|
||||||
<widget class="QCheckBox" name="toggle_telemetry">
|
|
||||||
<property name="text">
|
|
||||||
<string>Share anonymous usage data with the Lime3DS team</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QLabel" name="telemetry_learn_more">
|
|
||||||
<property name="text">
|
|
||||||
<string>Learn more</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<layout class="QGridLayout" name="gridLayoutTelemetryId">
|
|
||||||
<item row="0" column="0">
|
|
||||||
<widget class="QLabel" name="label_telemetry_id">
|
|
||||||
<property name="text">
|
|
||||||
<string>Telemetry ID:</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="0" column="1">
|
|
||||||
<widget class="QPushButton" name="button_regenerate_telemetry_id">
|
|
||||||
<property name="sizePolicy">
|
|
||||||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
||||||
<horstretch>0</horstretch>
|
|
||||||
<verstretch>0</verstretch>
|
|
||||||
</sizepolicy>
|
|
||||||
</property>
|
|
||||||
<property name="layoutDirection">
|
|
||||||
<enum>Qt::RightToLeft</enum>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Regenerate</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<widget class="QGroupBox" name="discord_group">
|
<widget class="QGroupBox" name="discord_group">
|
||||||
<property name="title">
|
<property name="title">
|
||||||
@ -203,10 +46,6 @@
|
|||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<tabstops>
|
<tabstops>
|
||||||
<tabstop>edit_token</tabstop>
|
|
||||||
<tabstop>button_verify_login</tabstop>
|
|
||||||
<tabstop>toggle_telemetry</tabstop>
|
|
||||||
<tabstop>button_regenerate_telemetry_id</tabstop>
|
|
||||||
<tabstop>toggle_discordrpc</tabstop>
|
<tabstop>toggle_discordrpc</tabstop>
|
||||||
</tabstops>
|
</tabstops>
|
||||||
<resources/>
|
<resources/>
|
||||||
|
@ -123,33 +123,6 @@ __declspec(dllexport) unsigned long NvOptimusEnablement = 0x00000001;
|
|||||||
|
|
||||||
constexpr int default_mouse_timeout = 2500;
|
constexpr int default_mouse_timeout = 2500;
|
||||||
|
|
||||||
/**
|
|
||||||
* "Callouts" are one-time instructional messages shown to the user. In the config settings, there
|
|
||||||
* is a bitfield "callout_flags" options, used to track if a message has already been shown to the
|
|
||||||
* user. This is 32-bits - if we have more than 32 callouts, we should retire and recycle old ones.
|
|
||||||
*/
|
|
||||||
enum class CalloutFlag : uint32_t {
|
|
||||||
Telemetry = 0x1,
|
|
||||||
};
|
|
||||||
|
|
||||||
void GMainWindow::ShowTelemetryCallout() {
|
|
||||||
if (UISettings::values.callout_flags.GetValue() &
|
|
||||||
static_cast<uint32_t>(CalloutFlag::Telemetry)) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
UISettings::values.callout_flags =
|
|
||||||
UISettings::values.callout_flags.GetValue() | static_cast<uint32_t>(CalloutFlag::Telemetry);
|
|
||||||
const QString telemetry_message =
|
|
||||||
tr("<a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonymous "
|
|
||||||
"data is collected</a> to help improve Citra. "
|
|
||||||
"<br/><br/>Would you like to share your usage data with us?");
|
|
||||||
if (QMessageBox::question(this, tr("Telemetry"), telemetry_message) == QMessageBox::Yes) {
|
|
||||||
NetSettings::values.enable_telemetry = true;
|
|
||||||
system.ApplySettings();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
const int GMainWindow::max_recent_files_item;
|
const int GMainWindow::max_recent_files_item;
|
||||||
|
|
||||||
static QString PrettyProductName() {
|
static QString PrettyProductName() {
|
||||||
@ -263,8 +236,8 @@ GMainWindow::GMainWindow(Core::System& system_)
|
|||||||
game_list->LoadCompatibilityList();
|
game_list->LoadCompatibilityList();
|
||||||
game_list->PopulateAsync(UISettings::values.game_dirs);
|
game_list->PopulateAsync(UISettings::values.game_dirs);
|
||||||
|
|
||||||
// Show one-time "callout" messages to the user
|
NetSettings::values.enable_telemetry = false;
|
||||||
ShowTelemetryCallout();
|
system.ApplySettings();
|
||||||
|
|
||||||
mouse_hide_timer.setInterval(default_mouse_timeout);
|
mouse_hide_timer.setInterval(default_mouse_timeout);
|
||||||
connect(&mouse_hide_timer, &QTimer::timeout, this, &GMainWindow::HideMouseCursor);
|
connect(&mouse_hide_timer, &QTimer::timeout, this, &GMainWindow::HideMouseCursor);
|
||||||
|
Loading…
Reference in New Issue
Block a user