@playkit-js/moderation 3.3.2-canary.0-f27469a → 3.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -77,7 +77,11 @@ export class ModerationPlugin extends KalturaPlayer.core.BasePlugin {
|
|
|
77
77
|
if (moderationFlag) {
|
|
78
78
|
this.logger.debug('Moderation plugin submit OK');
|
|
79
79
|
this._displayToast({
|
|
80
|
-
text: (
|
|
80
|
+
text: (
|
|
81
|
+
<span role='alert' aria-live="polite" aria-label="Report Content">
|
|
82
|
+
<Text id="moderation.send_success">The report was sent successfully</Text>
|
|
83
|
+
</span>
|
|
84
|
+
) as any,
|
|
81
85
|
icon: (
|
|
82
86
|
<div className={styles.toastIcon}>
|
|
83
87
|
<SuccessIcon />
|
|
@@ -94,7 +98,11 @@ export class ModerationPlugin extends KalturaPlayer.core.BasePlugin {
|
|
|
94
98
|
.catch((e: any) => {
|
|
95
99
|
this.logger.warn(e);
|
|
96
100
|
this._displayToast({
|
|
97
|
-
text: (
|
|
101
|
+
text: (
|
|
102
|
+
<span role='alert' aria-live="polite" aria-label="Report Content">
|
|
103
|
+
<Text id="moderation.send_fail">The report failed to send</Text>
|
|
104
|
+
</span>
|
|
105
|
+
) as any,
|
|
98
106
|
icon: (
|
|
99
107
|
<div className={styles.toastIcon}>
|
|
100
108
|
<ErrorIcon />
|