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

@@ -25,7 +25,8 @@
"add": "Add",
"edit": "Edit",
"delete": "Delete",
"drop_here": "Drop here"
"drop_here": "Drop here",
"edge_translation_disclaimer": ""
},
"logo": {
"title": "Need help?",

View File

@@ -25,7 +25,8 @@
"add": "Añadir",
"edit": "Editar",
"delete": "Borrar",
"drop_here": "Dejar caer aquí"
"drop_here": "Dejar caer aquí",
"edge_translation_disclaimer": "Edge Studio nos da su permiso para ofrecer este módulo a la comunidad, pero tanto los textos así como los códigos que lo constituyen no tienen su aprobación explícita."
},
"logo": {
"títle": "¿Necesitas ayuda?",

View File

@@ -25,7 +25,8 @@
"add": "Ajouter",
"edit": "Modifier",
"delete": "Supprimer",
"drop_here": "Déposez ici"
"drop_here": "Déposez ici",
"edge_translation_disclaimer": ""
},
"logo": {
"title": "Besoin d'aide ?",

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"));
}
}
/**