diff options
| author | Silarn <jrim@rimpo.org> | 2019-05-09 12:23:33 -0500 |
|---|---|---|
| committer | Silarn <jrim@rimpo.org> | 2019-05-09 12:23:33 -0500 |
| commit | 50fc72ca8d4d904c0260583bd2c31beabcf14f35 (patch) | |
| tree | 827280225ad9e8786170beba83acee03ebe0b812 | |
| parent | ed4eb2aae8fcf493c07a02cbca3df14f00c5e130 (diff) | |
Fix missing translations
| -rw-r--r-- | src/nexusinterface.cpp | 7 | ||||
| -rw-r--r-- | src/organizer_en.ts | 42 |
2 files changed, 25 insertions, 24 deletions
diff --git a/src/nexusinterface.cpp b/src/nexusinterface.cpp index a4c08f53..c677add0 100644 --- a/src/nexusinterface.cpp +++ b/src/nexusinterface.cpp @@ -641,7 +641,7 @@ void NexusInterface::nextRequest() } else if (getAccessManager()->validateWaiting()) { return; } else { - qCritical("You must authorize MO2 in Settings -> Nexus to use the Nexus API."); + qCritical() << tr("You must authorize MO2 in Settings -> Nexus to use the Nexus API."); } } @@ -650,7 +650,7 @@ void NexusInterface::nextRequest() QTime time = QTime::currentTime(); QTime targetTime; targetTime.setHMS((time.hour() + 1) % 23, 5, 0); - QString warning("You've exceeded the Nexus API rate limit and requests are now being throttled. " + QString warning = tr("You've exceeded the Nexus API rate limit and requests are now being throttled. " "Your next batch of requests will be available in approximately %1 minutes and %2 seconds."); qWarning() << warning.arg(time.secsTo(targetTime) / 60).arg(time.secsTo(targetTime) % 60); return; @@ -702,9 +702,8 @@ void NexusInterface::nextRequest() url = QString("%1/games/%2/mods/%3/files/%4/download_link?key=%5&expires=%6") .arg(info.m_URL).arg(info.m_GameName).arg(info.m_ModID).arg(info.m_FileID).arg(fileInfo->nexusKey).arg(fileInfo->nexusExpires); } else { - QString warning("Aborting download: Either you clicked on a premium-only link and your account is not premium, " + qWarning() << tr("Aborting download: Either you clicked on a premium-only link and your account is not premium, " "or the download link was generated by a different account than the one stored in Mod Organizer."); - qWarning() << warning; return; } } break; diff --git a/src/organizer_en.ts b/src/organizer_en.ts index b8f4914f..93997047 100644 --- a/src/organizer_en.ts +++ b/src/organizer_en.ts @@ -4490,12 +4490,27 @@ p, li { white-space: pre-wrap; } <translation type="unfinished"></translation> </message> <message> - <location filename="nexusinterface.cpp" line="820"/> + <location filename="nexusinterface.cpp" line="644"/> + <source>You must authorize MO2 in Settings -> Nexus to use the Nexus API.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="nexusinterface.cpp" line="653"/> + <source>You've exceeded the Nexus API rate limit and requests are now being throttled. Your next batch of requests will be available in approximately %1 minutes and %2 seconds.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="nexusinterface.cpp" line="705"/> + <source>Aborting download: Either you clicked on a premium-only link and your account is not premium, or the download link was generated by a different account than the one stored in Mod Organizer.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="nexusinterface.cpp" line="819"/> <source>empty response</source> <translation type="unfinished"></translation> </message> <message> - <location filename="nexusinterface.cpp" line="887"/> + <location filename="nexusinterface.cpp" line="886"/> <source>invalid response</source> <translation type="unfinished"></translation> </message> @@ -5097,10 +5112,6 @@ p, li { white-space: pre-wrap; } Missing files: </source> - <oldsource>Some of your profile-specific game INI files were missing. They will now be copied from the vanilla game folder. You might want double-check your settings. - -Missing files: -</oldsource> <translation type="unfinished"></translation> </message> <message> @@ -6087,6 +6098,11 @@ Select Show Details option to see the full change-log.</source> <translation type="unfinished"></translation> </message> <message> + <location filename="settings.cpp" line="802"/> + <source>Restart Mod Organizer?</source> + <translation type="unfinished"></translation> + </message> + <message> <location filename="settings.cpp" line="803"/> <source>In order to finish configuration changes, MO must be restarted. Restart it now?</source> @@ -6097,11 +6113,6 @@ Restart it now?</source> <source>Failed to create "%1", you may not have the necessary permission. path remains unchanged.</source> <translation type="unfinished"></translation> </message> - <message> - <location filename="settings.cpp" line="802"/> - <source>Restart Mod Organizer?</source> - <translation type="unfinished"></translation> - </message> </context> <context> <name>SettingsDialog</name> @@ -6362,11 +6373,6 @@ If you use pre-releases, never contact me directly by e-mail or via private mess p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8pt; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Allows Mod Organizer to connect to the Nexus for downloading mods, checking for updates, and other such things. Clicking &quot;Connect to Nexus&quot; will open a Nexus webpage to authorise Mod Organizer. You will need to be logged into your Nexus account. The authorisation is stored in the Windows Credential Manager. Your Nexus username and password are not required or stored by Mod Organizer.</p></body></html></source> - <oldsource><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Allows automatic log-in when the Nexus-Page for the game is clicked. Please note that the obfuscation with which the password is stored in modorganizer.ini is not very strong. If you're worried someone might steal your password, don't store it here.</span></p></body></html></oldsource> <translation type="unfinished"></translation> </message> <message> @@ -7286,15 +7292,12 @@ Please go along with the tutorial because some things can't be demonstrated <message> <location filename="tutorials/tutorial_firststeps_main.js" line="17"/> <source>The highlighted button provides hints on solving potential problems MO recognized automatically.</source> - <oldsource>The highlighted button provides hints on solving problems MO recognized automatically.</oldsource> <translation type="unfinished"></translation> </message> <message> <location filename="tutorials/tutorial_firststeps_main.js" line="19"/> <source> There IS a notification now but you may want to hold off on clearing it until after completing the tutorial.</source> - <oldsource> -There IS a problem now but you may want to hold off on fixing it until after completing the tutorial.</oldsource> <translation type="unfinished"></translation> </message> <message> @@ -7491,7 +7494,6 @@ Please open the "Nexus"-tab</source> <message> <location filename="tutorials/tutorial_primer_main.js" line="84"/> <source>Notifications about the current setup.</source> - <oldsource>Reports potential Problems about the current setup.</oldsource> <translation type="unfinished"></translation> </message> <message> |
