diff options
| -rw-r--r-- | src/citra_qt/configuration/configure_graphics.ui | 22 | ||||
| -rw-r--r-- | src/citra_qt/configuration/configure_system.cpp | 3 | ||||
| -rw-r--r-- | src/citra_qt/configuration/configure_web.cpp | 18 |
3 files changed, 22 insertions, 21 deletions
diff --git a/src/citra_qt/configuration/configure_graphics.ui b/src/citra_qt/configuration/configure_graphics.ui index b340149d5..5667b14b6 100644 --- a/src/citra_qt/configuration/configure_graphics.ui +++ b/src/citra_qt/configuration/configure_graphics.ui | |||
| @@ -63,57 +63,57 @@ | |||
| 63 | <widget class="QComboBox" name="resolution_factor_combobox"> | 63 | <widget class="QComboBox" name="resolution_factor_combobox"> |
| 64 | <item> | 64 | <item> |
| 65 | <property name="text"> | 65 | <property name="text"> |
| 66 | <string notr="true">Auto (Window Size)</string> | 66 | <string>Auto (Window Size)</string> |
| 67 | </property> | 67 | </property> |
| 68 | </item> | 68 | </item> |
| 69 | <item> | 69 | <item> |
| 70 | <property name="text"> | 70 | <property name="text"> |
| 71 | <string notr="true">Native (400x240)</string> | 71 | <string>Native (400x240)</string> |
| 72 | </property> | 72 | </property> |
| 73 | </item> | 73 | </item> |
| 74 | <item> | 74 | <item> |
| 75 | <property name="text"> | 75 | <property name="text"> |
| 76 | <string notr="true">2x Native (800x480)</string> | 76 | <string>2x Native (800x480)</string> |
| 77 | </property> | 77 | </property> |
| 78 | </item> | 78 | </item> |
| 79 | <item> | 79 | <item> |
| 80 | <property name="text"> | 80 | <property name="text"> |
| 81 | <string notr="true">3x Native (1200x720)</string> | 81 | <string>3x Native (1200x720)</string> |
| 82 | </property> | 82 | </property> |
| 83 | </item> | 83 | </item> |
| 84 | <item> | 84 | <item> |
| 85 | <property name="text"> | 85 | <property name="text"> |
| 86 | <string notr="true">4x Native (1600x960)</string> | 86 | <string>4x Native (1600x960)</string> |
| 87 | </property> | 87 | </property> |
| 88 | </item> | 88 | </item> |
| 89 | <item> | 89 | <item> |
| 90 | <property name="text"> | 90 | <property name="text"> |
| 91 | <string notr="true">5x Native (2000x1200)</string> | 91 | <string>5x Native (2000x1200)</string> |
| 92 | </property> | 92 | </property> |
| 93 | </item> | 93 | </item> |
| 94 | <item> | 94 | <item> |
| 95 | <property name="text"> | 95 | <property name="text"> |
| 96 | <string notr="true">6x Native (2400x1440)</string> | 96 | <string>6x Native (2400x1440)</string> |
| 97 | </property> | 97 | </property> |
| 98 | </item> | 98 | </item> |
| 99 | <item> | 99 | <item> |
| 100 | <property name="text"> | 100 | <property name="text"> |
| 101 | <string notr="true">7x Native (2800x1680)</string> | 101 | <string>7x Native (2800x1680)</string> |
| 102 | </property> | 102 | </property> |
| 103 | </item> | 103 | </item> |
| 104 | <item> | 104 | <item> |
| 105 | <property name="text"> | 105 | <property name="text"> |
| 106 | <string notr="true">8x Native (3200x1920)</string> | 106 | <string>8x Native (3200x1920)</string> |
| 107 | </property> | 107 | </property> |
| 108 | </item> | 108 | </item> |
| 109 | <item> | 109 | <item> |
| 110 | <property name="text"> | 110 | <property name="text"> |
| 111 | <string notr="true">9x Native (3600x2160)</string> | 111 | <string>9x Native (3600x2160)</string> |
| 112 | </property> | 112 | </property> |
| 113 | </item> | 113 | </item> |
| 114 | <item> | 114 | <item> |
| 115 | <property name="text"> | 115 | <property name="text"> |
| 116 | <string notr="true">10x Native (4000x2400)</string> | 116 | <string>10x Native (4000x2400)</string> |
| 117 | </property> | 117 | </property> |
| 118 | </item> | 118 | </item> |
| 119 | </widget> | 119 | </widget> |
diff --git a/src/citra_qt/configuration/configure_system.cpp b/src/citra_qt/configuration/configure_system.cpp index 9b1e6711d..88a067c12 100644 --- a/src/citra_qt/configuration/configure_system.cpp +++ b/src/citra_qt/configuration/configure_system.cpp | |||
| @@ -78,7 +78,8 @@ void ConfigureSystem::ReadSystemSettings() { | |||
| 78 | 78 | ||
| 79 | // set the console id | 79 | // set the console id |
| 80 | u64 console_id = Service::CFG::GetConsoleUniqueId(); | 80 | u64 console_id = Service::CFG::GetConsoleUniqueId(); |
| 81 | ui->label_console_id->setText("Console ID: 0x" + QString::number(console_id, 16).toUpper()); | 81 | ui->label_console_id->setText( |
| 82 | tr("Console ID: 0x%1").arg(QString::number(console_id, 16).toUpper())); | ||
| 82 | } | 83 | } |
| 83 | 84 | ||
| 84 | void ConfigureSystem::applyConfiguration() { | 85 | void ConfigureSystem::applyConfiguration() { |
diff --git a/src/citra_qt/configuration/configure_web.cpp b/src/citra_qt/configuration/configure_web.cpp index 38ce19c0f..bf8c21ac7 100644 --- a/src/citra_qt/configuration/configure_web.cpp +++ b/src/citra_qt/configuration/configure_web.cpp | |||
| @@ -24,15 +24,15 @@ ConfigureWeb::~ConfigureWeb() {} | |||
| 24 | void ConfigureWeb::setConfiguration() { | 24 | void ConfigureWeb::setConfiguration() { |
| 25 | ui->web_credentials_disclaimer->setWordWrap(true); | 25 | ui->web_credentials_disclaimer->setWordWrap(true); |
| 26 | ui->telemetry_learn_more->setOpenExternalLinks(true); | 26 | ui->telemetry_learn_more->setOpenExternalLinks(true); |
| 27 | ui->telemetry_learn_more->setText("<a " | 27 | ui->telemetry_learn_more->setText(tr("<a " |
| 28 | "href='https://citra-emu.org/entry/" | 28 | "href='https://citra-emu.org/entry/" |
| 29 | "telemetry-and-why-thats-a-good-thing/'>Learn more</a>"); | 29 | "telemetry-and-why-thats-a-good-thing/'>Learn more</a>")); |
| 30 | 30 | ||
| 31 | ui->web_signup_link->setOpenExternalLinks(true); | 31 | ui->web_signup_link->setOpenExternalLinks(true); |
| 32 | ui->web_signup_link->setText("<a href='https://services.citra-emu.org/'>Sign up</a>"); | 32 | ui->web_signup_link->setText(tr("<a href='https://services.citra-emu.org/'>Sign up</a>")); |
| 33 | ui->web_token_info_link->setOpenExternalLinks(true); | 33 | ui->web_token_info_link->setOpenExternalLinks(true); |
| 34 | ui->web_token_info_link->setText( | 34 | ui->web_token_info_link->setText( |
| 35 | "<a href='https://citra-emu.org/wiki/citra-web-service/'>What is my token?</a>"); | 35 | tr("<a href='https://citra-emu.org/wiki/citra-web-service/'>What is my token?</a>")); |
| 36 | 36 | ||
| 37 | ui->toggle_telemetry->setChecked(Settings::values.enable_telemetry); | 37 | ui->toggle_telemetry->setChecked(Settings::values.enable_telemetry); |
| 38 | ui->edit_username->setText(QString::fromStdString(Settings::values.citra_username)); | 38 | ui->edit_username->setText(QString::fromStdString(Settings::values.citra_username)); |
| @@ -40,8 +40,8 @@ void ConfigureWeb::setConfiguration() { | |||
| 40 | // Connect after setting the values, to avoid calling OnLoginChanged now | 40 | // Connect after setting the values, to avoid calling OnLoginChanged now |
| 41 | connect(ui->edit_token, &QLineEdit::textChanged, this, &ConfigureWeb::OnLoginChanged); | 41 | connect(ui->edit_token, &QLineEdit::textChanged, this, &ConfigureWeb::OnLoginChanged); |
| 42 | connect(ui->edit_username, &QLineEdit::textChanged, this, &ConfigureWeb::OnLoginChanged); | 42 | connect(ui->edit_username, &QLineEdit::textChanged, this, &ConfigureWeb::OnLoginChanged); |
| 43 | ui->label_telemetry_id->setText("Telemetry ID: 0x" + | 43 | ui->label_telemetry_id->setText( |
| 44 | QString::number(Core::GetTelemetryId(), 16).toUpper()); | 44 | tr("Telemetry ID: 0x%1").arg(QString::number(Core::GetTelemetryId(), 16).toUpper())); |
| 45 | user_verified = true; | 45 | user_verified = true; |
| 46 | } | 46 | } |
| 47 | 47 | ||
| @@ -60,8 +60,8 @@ void ConfigureWeb::applyConfiguration() { | |||
| 60 | 60 | ||
| 61 | void ConfigureWeb::RefreshTelemetryID() { | 61 | void ConfigureWeb::RefreshTelemetryID() { |
| 62 | const u64 new_telemetry_id{Core::RegenerateTelemetryId()}; | 62 | const u64 new_telemetry_id{Core::RegenerateTelemetryId()}; |
| 63 | ui->label_telemetry_id->setText("Telemetry ID: 0x" + | 63 | ui->label_telemetry_id->setText( |
| 64 | QString::number(new_telemetry_id, 16).toUpper()); | 64 | tr("Telemetry ID: 0x%1").arg(QString::number(new_telemetry_id, 16).toUpper())); |
| 65 | } | 65 | } |
| 66 | 66 | ||
| 67 | void ConfigureWeb::OnLoginChanged() { | 67 | void ConfigureWeb::OnLoginChanged() { |