fix: use display name in code
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
		| @@ -167,7 +167,7 @@ void AccountListPage::on_actionAddMicrosoft_triggered() | ||||
|             tr( | ||||
|                 "Microsoft accounts are only usable on macOS 10.13 or newer, with fully updated %1.\n\n" | ||||
|                 "Please update both your operating system and %1." | ||||
|             ).arg(BuildConfig.LAUNCHER_NAME), | ||||
|             ).arg(BuildConfig.LAUNCHER_DISPLAYNAME), | ||||
|             QMessageBox::Warning | ||||
|         )->exec(); | ||||
|         return; | ||||
|   | ||||
| @@ -279,7 +279,7 @@ void LogPage::on_btnPaste_clicked() | ||||
|         MessageLevel::Launcher, | ||||
|         QString("%2: Log upload triggered at: %1").arg( | ||||
|             QDateTime::currentDateTime().toString(Qt::RFC2822Date), | ||||
|             BuildConfig.LAUNCHER_NAME | ||||
|             BuildConfig.LAUNCHER_DISPLAYNAME | ||||
|         ) | ||||
|     ); | ||||
|     auto url = GuiUtil::uploadPaste(m_model->toPlainText(), this); | ||||
| @@ -289,7 +289,7 @@ void LogPage::on_btnPaste_clicked() | ||||
|             MessageLevel::Launcher, | ||||
|             QString("%2: Log uploaded to: %1").arg( | ||||
|                 url, | ||||
|                 BuildConfig.LAUNCHER_NAME | ||||
|                 BuildConfig.LAUNCHER_DISPLAYNAME | ||||
|             ) | ||||
|         ); | ||||
|     } | ||||
| @@ -297,7 +297,7 @@ void LogPage::on_btnPaste_clicked() | ||||
|     { | ||||
|         m_model->append( | ||||
|             MessageLevel::Error, | ||||
|             QString("%1: Log upload failed!").arg(BuildConfig.LAUNCHER_NAME) | ||||
|             QString("%1: Log upload failed!").arg(BuildConfig.LAUNCHER_DISPLAYNAME) | ||||
|         ); | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -265,7 +265,7 @@ void ListModel::searchRequestFailed(QString reason) | ||||
|                               //: %1 refers to the launcher itself | ||||
|                               QString("%1 %2") | ||||
|                                   .arg(m_parent->displayName()) | ||||
|                                   .arg(tr("API version too old!\nPlease update %1!").arg(BuildConfig.LAUNCHER_NAME))); | ||||
|                                   .arg(tr("API version too old!\nPlease update %1!").arg(BuildConfig.LAUNCHER_DISPLAYNAME))); | ||||
|     } | ||||
|     jobPtr.reset(); | ||||
|  | ||||
|   | ||||
| @@ -321,7 +321,7 @@ void ModpackListModel::searchRequestFailed(QString reason) | ||||
|                               //: %1 refers to the launcher itself | ||||
|                               QString("%1 %2") | ||||
|                                   .arg(m_parent->displayName()) | ||||
|                                   .arg(tr("API version too old!\nPlease update %1!").arg(BuildConfig.LAUNCHER_NAME))); | ||||
|                                   .arg(tr("API version too old!\nPlease update %1!").arg(BuildConfig.LAUNCHER_DISPLAYNAME))); | ||||
|     } | ||||
|     jobPtr.reset(); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sefa Eyeoglu
					Sefa Eyeoglu