Spanish specific: Added a disclaimer popup "not translated by Edge"

This commit is contained in:
Vlyan
2021-01-20 17:19:42 +01:00
parent 72e0d22a80
commit a5dd8e3eda
4 changed files with 11 additions and 3 deletions

View File

@@ -39,6 +39,11 @@ export default class HooksL5r5e {
$("#logo")
.on("click", () => new game.l5r5e.HelpDialog().render(true))
.prop("title", game.i18n.localize("l5r5e.logo.alt"));
// Spanish specific - Disclaimer "not translated by Edge"
if (game.i18n.lang === "es") {
ui.notifications.info(game.i18n.localize("l5r5e.global.edge_translation_disclaimer"));
}
}
/**