diff --git a/addons/mail/i18n/mail.pot b/addons/mail/i18n/mail.pot
index 8b01ae59808..4fcc3ebc30e 100644
--- a/addons/mail/i18n/mail.pot
+++ b/addons/mail/i18n/mail.pot
@@ -6029,6 +6029,7 @@ msgstr ""
#. module: mail
#. openerp-web
#: code:addons/mail/static/src/components/rtc_option_list/rtc_option_list.xml:0
+#: code:addons/mail/static/src/models/rtc_call_viewer/rtc_call_viewer.js:0
#, python-format
msgid "Settings"
msgstr ""
@@ -6480,6 +6481,13 @@ msgstr ""
msgid "The FullScreen mode was denied by the browser"
msgstr ""
+#. module: mail
+#. openerp-web
+#: code:addons/mail/static/src/models/rtc_call_viewer/rtc_call_viewer.js:0
+#, python-format
+msgid "Change Layout"
+msgstr ""
+
#. module: mail
#: model:ir.model.fields,help:mail.field_res_partner__vat
#: model:ir.model.fields,help:mail.field_res_users__vat
diff --git a/addons/mail/static/src/components/rtc_call_viewer/rtc_call_viewer.xml b/addons/mail/static/src/components/rtc_call_viewer/rtc_call_viewer.xml
index 558c64d5ebc..337644b0a1d 100644
--- a/addons/mail/static/src/components/rtc_call_viewer/rtc_call_viewer.xml
+++ b/addons/mail/static/src/components/rtc_call_viewer/rtc_call_viewer.xml
@@ -51,7 +51,7 @@
-
-
+
diff --git a/addons/mail/static/src/models/rtc_call_viewer/rtc_call_viewer.js b/addons/mail/static/src/models/rtc_call_viewer/rtc_call_viewer.js
index 3ca387c068b..9b150182f7e 100644
--- a/addons/mail/static/src/models/rtc_call_viewer/rtc_call_viewer.js
+++ b/addons/mail/static/src/models/rtc_call_viewer/rtc_call_viewer.js
@@ -179,6 +179,13 @@ registerModel({
}
return this.messaging.userSetting.rtcLayout;
},
+ /**
+ * @private
+ * @returns {string}
+ */
+ _computeLayoutSettingsTitle() {
+ return this.env._t("Change Layout");
+ },
/**
* @private
*/
@@ -195,6 +202,13 @@ registerModel({
}
return unlink();
},
+ /**
+ * @private
+ * @returns {string}
+ */
+ _computeSettingsTitle() {
+ return this.env._t("Settings");
+ },
/**
* @private
*/
@@ -333,6 +347,12 @@ registerModel({
default: 'tiled',
compute: '_computeLayout',
}),
+ /**
+ * Text content that is displayed on title of the layout settings dialog.
+ */
+ layoutSettingsTitle: attr({
+ compute: '_computeLayoutSettingsTitle',
+ }),
/**
* If set, the card to be displayed as the "main/spotlight" card.
*/
@@ -357,6 +377,12 @@ registerModel({
inverse: 'callViewer',
isCausal: true,
}),
+ /**
+ * Text content that is displayed on title of the settings dialog.
+ */
+ settingsTitle: attr({
+ compute: '_computeSettingsTitle',
+ }),
/**
* Determines if we show the overlay with the control buttons.
*/