[QoL] Add message for when you aren't hatching eggs (#1969)
* Add message for when you aren't hatching eggs * Add prompt to message * Remove noEggs message after a delay
This commit is contained in:
parent
e2507a2112
commit
9e3fe2d53a
|
@ -19,5 +19,6 @@ export const menuUiHandler: SimpleTranslationEntries = {
|
||||||
"importData": "Daten importieren",
|
"importData": "Daten importieren",
|
||||||
"exportData": "Daten exportieren",
|
"exportData": "Daten exportieren",
|
||||||
"cancel": "Abbrechen",
|
"cancel": "Abbrechen",
|
||||||
"losingProgressionWarning": "Du wirst jeglichen Fortschritt seit Anfang dieses Kampfes verlieren. Fortfahren?"
|
"losingProgressionWarning": "Du wirst jeglichen Fortschritt seit Anfang dieses Kampfes verlieren. Fortfahren?",
|
||||||
|
"noEggs": "You are not hatching\nany eggs at the moment!"
|
||||||
} as const;
|
} as const;
|
||||||
|
|
|
@ -19,5 +19,6 @@ export const menuUiHandler: SimpleTranslationEntries = {
|
||||||
"importData": "Import Data",
|
"importData": "Import Data",
|
||||||
"exportData": "Export Data",
|
"exportData": "Export Data",
|
||||||
"cancel": "Cancel",
|
"cancel": "Cancel",
|
||||||
"losingProgressionWarning": "You will lose any progress since the beginning of the battle. Proceed?"
|
"losingProgressionWarning": "You will lose any progress since the beginning of the battle. Proceed?",
|
||||||
|
"noEggs": "You are not hatching\nany eggs at the moment!"
|
||||||
} as const;
|
} as const;
|
||||||
|
|
|
@ -19,5 +19,6 @@ export const menuUiHandler: SimpleTranslationEntries = {
|
||||||
"importData": "Importar Datos",
|
"importData": "Importar Datos",
|
||||||
"exportData": "Exportar Datos",
|
"exportData": "Exportar Datos",
|
||||||
"cancel": "Cancelar",
|
"cancel": "Cancelar",
|
||||||
"losingProgressionWarning": "Perderás cualquier progreso desde el inicio de la batalla. ¿Continuar?"
|
"losingProgressionWarning": "Perderás cualquier progreso desde el inicio de la batalla. ¿Continuar?",
|
||||||
|
"noEggs": "You are not hatching\nany eggs at the moment!"
|
||||||
} as const;
|
} as const;
|
||||||
|
|
|
@ -19,5 +19,6 @@ export const menuUiHandler: SimpleTranslationEntries = {
|
||||||
"importData": "Importer données",
|
"importData": "Importer données",
|
||||||
"exportData": "Exporter données",
|
"exportData": "Exporter données",
|
||||||
"cancel": "Retour",
|
"cancel": "Retour",
|
||||||
"losingProgressionWarning": "Vous allez perdre votre progression depuis le début du combat. Continuer ?"
|
"losingProgressionWarning": "Vous allez perdre votre progression depuis le début du combat. Continuer ?",
|
||||||
|
"noEggs": "You are not hatching\nany eggs at the moment!"
|
||||||
} as const;
|
} as const;
|
||||||
|
|
|
@ -19,5 +19,6 @@ export const menuUiHandler: SimpleTranslationEntries = {
|
||||||
"importData": "Importa Dati",
|
"importData": "Importa Dati",
|
||||||
"exportData": "Esporta Dati",
|
"exportData": "Esporta Dati",
|
||||||
"cancel": "Annulla",
|
"cancel": "Annulla",
|
||||||
"losingProgressionWarning": "Perderai tutti i progressi dall'inizio della battaglia. Procedere?"
|
"losingProgressionWarning": "Perderai tutti i progressi dall'inizio della battaglia. Procedere?",
|
||||||
|
"noEggs": "You are not hatching\nany eggs at the moment!"
|
||||||
} as const;
|
} as const;
|
||||||
|
|
|
@ -19,5 +19,6 @@ export const menuUiHandler: SimpleTranslationEntries = {
|
||||||
"importData": "데이터 불러오기",
|
"importData": "데이터 불러오기",
|
||||||
"exportData": "데이터 내보내기",
|
"exportData": "데이터 내보내기",
|
||||||
"cancel": "취소",
|
"cancel": "취소",
|
||||||
"losingProgressionWarning": "전투 시작으로부터의 진행 상황을 잃게 됩니다. 계속하시겠습니까?"
|
"losingProgressionWarning": "전투 시작으로부터의 진행 상황을 잃게 됩니다. 계속하시겠습니까?",
|
||||||
|
"noEggs": "You are not hatching\nany eggs at the moment!"
|
||||||
} as const;
|
} as const;
|
||||||
|
|
|
@ -19,5 +19,6 @@ export const menuUiHandler: SimpleTranslationEntries = {
|
||||||
"importData": "Importar dados",
|
"importData": "Importar dados",
|
||||||
"exportData": "Exportar dados",
|
"exportData": "Exportar dados",
|
||||||
"cancel": "Cancelar",
|
"cancel": "Cancelar",
|
||||||
"losingProgressionWarning": "Você vai perder todo o progresso desde o início da batalha. Confirmar?"
|
"losingProgressionWarning": "Você vai perder todo o progresso desde o início da batalha. Confirmar?",
|
||||||
|
"noEggs": "You are not hatching\nany eggs at the moment!"
|
||||||
} as const;
|
} as const;
|
||||||
|
|
|
@ -19,5 +19,6 @@ export const menuUiHandler: SimpleTranslationEntries = {
|
||||||
"importData": "导入数据",
|
"importData": "导入数据",
|
||||||
"exportData": "导出数据",
|
"exportData": "导出数据",
|
||||||
"cancel": "取消",
|
"cancel": "取消",
|
||||||
"losingProgressionWarning": "你将失去自战斗开始以来的所有进度。是否\n继续?"
|
"losingProgressionWarning": "你将失去自战斗开始以来的所有进度。是否\n继续?",
|
||||||
|
"noEggs": "You are not hatching\nany eggs at the moment!"
|
||||||
} as const;
|
} as const;
|
||||||
|
|
|
@ -19,5 +19,6 @@ export const menuUiHandler: SimpleTranslationEntries = {
|
||||||
"importData": "導入數據",
|
"importData": "導入數據",
|
||||||
"exportData": "導出數據",
|
"exportData": "導出數據",
|
||||||
"cancel": "取消",
|
"cancel": "取消",
|
||||||
"losingProgressionWarning": "你將失去自戰鬥開始以來的所有進度。是否\n繼續?"
|
"losingProgressionWarning": "你將失去自戰鬥開始以來的所有進度。是否\n繼續?",
|
||||||
|
"noEggs": "You are not hatching\nany eggs at the moment!"
|
||||||
} as const;
|
} as const;
|
||||||
|
|
|
@ -322,6 +322,7 @@ export default class MenuUiHandler extends MessageUiHandler {
|
||||||
ui.setOverlayMode(Mode.EGG_LIST);
|
ui.setOverlayMode(Mode.EGG_LIST);
|
||||||
success = true;
|
success = true;
|
||||||
} else {
|
} else {
|
||||||
|
ui.showText(i18next.t("menuUiHandler:noEggs"), null, () => ui.showText(""), Utils.fixedInt(1500));
|
||||||
error = true;
|
error = true;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue