mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-04-07 14:09:22 +08:00
[win] online-installer: replacing app name with a placeholder
This commit is contained in:
@ -140,8 +140,8 @@ ru.LABEL_NO_OPTIONS =Дополнительные опции недоступн
|
||||
en.LABEL_NO_VER_AVAIL =No version available
|
||||
ru.LABEL_NO_VER_AVAIL =Нет доступной версии
|
||||
|
||||
en.LABEL_WARN_CLOSE =This will install ONLYOFFICE Desktop Editors on your computer.\nIt is reccomended that you close all other applications before continuing.
|
||||
ru.LABEL_WARN_CLOSE =Программа установит ONLYOFFICE Desktop Editors на ваш компьютер.\nРекомендуется закрыть все прочие приложения перед тем, как продолжить.
|
||||
en.LABEL_WARN_CLOSE =This will install %1 on your computer.\nIt is reccomended that you close all other applications before continuing.
|
||||
ru.LABEL_WARN_CLOSE =Программа установит %1 на ваш компьютер.\nРекомендуется закрыть все прочие приложения перед тем, как продолжить.
|
||||
|
||||
en.LABEL_ALMOST_DONE =Just a bit more and we're done
|
||||
ru.LABEL_ALMOST_DONE =Еще немного и мы закончим
|
||||
|
||||
@ -198,8 +198,10 @@ void MainWindow::initInstallationMode(const std::wstring &url)
|
||||
});
|
||||
|
||||
/* Comment section */
|
||||
wstring warn_text = _TR(LABEL_WARN_CLOSE);
|
||||
NS_Utils::Replace(warn_text, L"%1", _T(WINDOW_NAME));
|
||||
Label *comntLbl = new Label(m_cenPanel);
|
||||
comntLbl->setText(_TR(LABEL_WARN_CLOSE), true);
|
||||
comntLbl->setText(warn_text, true);
|
||||
comntLbl->setGeometry(0, m_cenPanel->size().height - 130, m_cenPanel->size().width, 48);
|
||||
setLabelStyle(comntLbl);
|
||||
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
#define LABEL_UNKN_PACK "unknown package"
|
||||
#define LABEL_NO_OPTIONS "No additional options available."
|
||||
#define LABEL_NO_VER_AVAIL "No version available"
|
||||
#define LABEL_WARN_CLOSE "This will install ONLYOFFICE Desktop Editors on your computer.\nIt is reccomended that you close all other applications before continuing."
|
||||
#define LABEL_WARN_CLOSE "This will install %1 on your computer.\nIt is reccomended that you close all other applications before continuing."
|
||||
#define LABEL_ALMOST_DONE "Just a bit more and we're done"
|
||||
#define LABEL_INSTALL_COMPL "%1 has been successfully installed on your computer.\nTo run the application after closing this installer, select the check box."
|
||||
#define LABEL_ERR_PROD_CODE "Error while retrieving product code."
|
||||
|
||||
Reference in New Issue
Block a user