Updater: Use built-in strings as placeholders for the first run (#479)
This commit is contained in:
parent
cc2b061c03
commit
b4591b6e2f
@ -25,8 +25,8 @@
|
|||||||
"LUA_MENU_EDIT_STATS": "Modifier les statistiques",
|
"LUA_MENU_EDIT_STATS": "Modifier les statistiques",
|
||||||
|
|
||||||
"UPDATER_POPUP_NO_UPDATES_AVAILABLE": "Aucune mise à jour disponible",
|
"UPDATER_POPUP_NO_UPDATES_AVAILABLE": "Aucune mise à jour disponible",
|
||||||
"UPDATER_POPUP_AVAILABLE_UPDATE_TEXT": "Une mise à jour est disponible,\npoursuivre l'installation ?",
|
"MENU_CCS_NEW_PATCH_NOTICE": "Une mise à jour est disponible,\npoursuivre l'installation ?",
|
||||||
"UPDATER_POPUP_SUCCESSFUL": "Mise à jour réussie",
|
"UPDATER_POPUP_SUCCESSFUL": "Mise à jour réussie",
|
||||||
"UPDATER_POPUP_RESTART_POPUP_TEXT": "La mise à jour nécessite un redémarrage",
|
"MENU_CCS_RESTART_CONFIRMATION_TEXT": "La mise à jour nécessite un redémarrage",
|
||||||
"UPDATER_POPUP_CHECKING_FOR_UPDATES": "Vérification des mises à jour..."
|
"UPDATER_POPUP_CHECKING_FOR_UPDATES": "Vérification des mises à jour..."
|
||||||
}
|
}
|
@ -56,9 +56,10 @@
|
|||||||
"LUA_MENU_EDIT_STATS": "Edit Stats",
|
"LUA_MENU_EDIT_STATS": "Edit Stats",
|
||||||
|
|
||||||
"UPDATER_POPUP_NO_UPDATES_AVAILABLE": "No updates available",
|
"UPDATER_POPUP_NO_UPDATES_AVAILABLE": "No updates available",
|
||||||
"UPDATER_POPUP_AVAILABLE_UPDATE_TEXT": "An update is available, proceed with installation?",
|
"MENU_CCS_NEW_PATCH_NOTICE": "An update is available, proceed with installation?",
|
||||||
|
"MENU_DOWNLOAD_AUTOUPDATE_PATCH": " ",
|
||||||
"UPDATER_POPUP_SUCCESSFUL": "Update successful",
|
"UPDATER_POPUP_SUCCESSFUL": "Update successful",
|
||||||
"UPDATER_POPUP_RESTART_POPUP_TEXT": "Update requires restart",
|
"MENU_CCS_RESTART_CONFIRMATION_TEXT": "Update requires restart",
|
||||||
"UPDATER_POPUP_CHECKING_FOR_UPDATES": "Checking for updates...",
|
"UPDATER_POPUP_CHECKING_FOR_UPDATES": "Checking for updates...",
|
||||||
|
|
||||||
"MPHUD_FPS": "FPS: ",
|
"MPHUD_FPS": "FPS: ",
|
||||||
|
@ -22,9 +22,9 @@
|
|||||||
"MENU_NO_DONT_ASK": "Non, ne plus me le demander",
|
"MENU_NO_DONT_ASK": "Non, ne plus me le demander",
|
||||||
|
|
||||||
"UPDATER_POPUP_NO_UPDATES_AVAILABLE": "Aucune mise à jour disponible",
|
"UPDATER_POPUP_NO_UPDATES_AVAILABLE": "Aucune mise à jour disponible",
|
||||||
"UPDATER_POPUP_AVAILABLE_UPDATE_TEXT": "Une mise à jour est disponible,\npoursuivre l'installation ?",
|
"MENU_CCS_NEW_PATCH_NOTICE": "Une mise à jour est disponible,\npoursuivre l'installation ?",
|
||||||
"UPDATER_POPUP_SUCCESSFUL": "Mise à jour réussie",
|
"UPDATER_POPUP_SUCCESSFUL": "Mise à jour réussie",
|
||||||
"UPDATER_POPUP_RESTART_POPUP_TEXT": "La mise à jour nécessite un redémarrage",
|
"MENU_CCS_RESTART_CONFIRMATION_TEXT": "La mise à jour nécessite un redémarrage",
|
||||||
"UPDATER_POPUP_CHECKING_FOR_UPDATES": "Vérification des mises à jour...",
|
"UPDATER_POPUP_CHECKING_FOR_UPDATES": "Vérification des mises à jour...",
|
||||||
|
|
||||||
"MPHUD_FPS": "IPS: ",
|
"MPHUD_FPS": "IPS: ",
|
||||||
|
@ -24,9 +24,9 @@
|
|||||||
"MENU_NO_DONT_ASK": "Нет, больше не спрашивать",
|
"MENU_NO_DONT_ASK": "Нет, больше не спрашивать",
|
||||||
|
|
||||||
"UPDATER_POPUP_NO_UPDATES_AVAILABLE": "У вас установлены все последние обновления",
|
"UPDATER_POPUP_NO_UPDATES_AVAILABLE": "У вас установлены все последние обновления",
|
||||||
"UPDATER_POPUP_AVAILABLE_UPDATE_TEXT": "Доступно обновление клиента игры,\nначать установку сейчас?",
|
"MENU_CCS_NEW_PATCH_NOTICE": "Доступно обновление клиента игры,\nначать установку сейчас?",
|
||||||
"UPDATER_POPUP_SUCCESSFUL": "Обновление завершено",
|
"UPDATER_POPUP_SUCCESSFUL": "Обновление завершено",
|
||||||
"UPDATER_POPUP_RESTART_POPUP_TEXT": "Для применения изменений необходим перезапуск игры",
|
"MENU_CCS_RESTART_CONFIRMATION_TEXT": "Для применения изменений необходим перезапуск игры",
|
||||||
"UPDATER_POPUP_CHECKING_FOR_UPDATES": "Проверка наличия обновлений...",
|
"UPDATER_POPUP_CHECKING_FOR_UPDATES": "Проверка наличия обновлений...",
|
||||||
|
|
||||||
"MPHUD_FPS": "К/С: ",
|
"MPHUD_FPS": "К/С: ",
|
||||||
|
@ -28,7 +28,7 @@ function startupdatecheck(popup, autoclose)
|
|||||||
|
|
||||||
LUI.yesnopopup({
|
LUI.yesnopopup({
|
||||||
title = Engine.Localize("@MENU_NOTICE"),
|
title = Engine.Localize("@MENU_NOTICE"),
|
||||||
text = Engine.Localize("UPDATER_POPUP_AVAILABLE_UPDATE_TEXT"),
|
text = Engine.Localize("@MENU_CCS_NEW_PATCH_NOTICE") .. " " .. Engine.Localize("@MENU_DOWNLOAD_AUTOUPDATE_PATCH"),
|
||||||
callback = function(result)
|
callback = function(result)
|
||||||
if (result) then
|
if (result) then
|
||||||
startupdatedownload(popup, autoclose)
|
startupdatedownload(popup, autoclose)
|
||||||
@ -75,7 +75,7 @@ function startupdatedownload(popup, autoclose)
|
|||||||
if (updater.isrestartrequired()) then
|
if (updater.isrestartrequired()) then
|
||||||
LUI.confirmationpopup({
|
LUI.confirmationpopup({
|
||||||
title = Engine.Localize("@MENU_CCS_RESTART_CONFIRMATION_TITLE"),
|
title = Engine.Localize("@MENU_CCS_RESTART_CONFIRMATION_TITLE"),
|
||||||
text = Engine.Localize("UPDATER_POPUP_RESTART_POPUP_TEXT"),
|
text = Engine.Localize("@MENU_CCS_RESTART_CONFIRMATION_TEXT"),
|
||||||
buttontext = Engine.Localize("@MENU_CCS_RESTART_BUTTON_LABEL"),
|
buttontext = Engine.Localize("@MENU_CCS_RESTART_BUTTON_LABEL"),
|
||||||
callback = function()
|
callback = function()
|
||||||
updater.relaunch()
|
updater.relaunch()
|
||||||
|
Loading…
Reference in New Issue
Block a user