diff --git a/src/web/count-down.html b/src/web/count-down.html index ce901b3..3c1e717 100644 --- a/src/web/count-down.html +++ b/src/web/count-down.html @@ -1,5 +1,5 @@ - + Confirmation diff --git a/src/web/count-down.js b/src/web/count-down.js index 352b3c6..0cce87f 100644 --- a/src/web/count-down.js +++ b/src/web/count-down.js @@ -10,6 +10,8 @@ Office.onReady(() => { l10n = L10n.get(language); l10n.ready.then(() => l10n.translateAll()); + document.documentElement.setAttribute("lang", language); + Office.context.ui.addHandlerAsync(Office.EventType.DialogParentMessageReceived, onMessageFromParent); sendStatusToParent("ready"); }); diff --git a/src/web/dialog.html b/src/web/dialog.html index 6e42945..5c008e5 100644 --- a/src/web/dialog.html +++ b/src/web/dialog.html @@ -1,5 +1,5 @@ - + Confirmation diff --git a/src/web/dialog.js b/src/web/dialog.js index 96b6d56..fe4d152 100644 --- a/src/web/dialog.js +++ b/src/web/dialog.js @@ -18,6 +18,8 @@ Office.onReady(() => { safeBccConfirmation = new SafeBccConfirmation(language); attachmentsConfirmation = new AttachmentsConfirmation(language); + document.documentElement.setAttribute("lang", language); + Office.context.ui.addHandlerAsync(Office.EventType.DialogParentMessageReceived, onMessageFromParent); sendStatusToParent("ready"); });