From 56113eccec2248bdc8dc60f1b0b6e89ced623ad3 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Tue, 15 Apr 2025 15:23:09 +0200 Subject: [PATCH] fix(NcRichContenteditable): add correct tooltip regression of the migration from Tooltip directive to native tooltips. It needs to be a string not an object. Also use `n` as you never can know how plurals are translated (there are possible more than two plural forms). Signed-off-by: Ferdinand Thiessen --- l10n/messages.pot | 6 ++++-- .../NcRichContenteditable/NcRichContenteditable.vue | 8 ++------ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/l10n/messages.pot b/l10n/messages.pot index 877375b3e0..bca69961fa 100644 --- a/l10n/messages.pot +++ b/l10n/messages.pot @@ -244,8 +244,10 @@ msgstr "" msgid "Medium skin tone" msgstr "" -msgid "Message limit of {count} characters reached" -msgstr "" +msgid "Message limit of %n character reached" +msgid_plural "Message limit of %n characters reached" +msgstr[0] "" +msgstr[1] "" msgid "Month picker" msgstr "" diff --git a/src/components/NcRichContenteditable/NcRichContenteditable.vue b/src/components/NcRichContenteditable/NcRichContenteditable.vue index ae7d88ebdd..632086ad25 100644 --- a/src/components/NcRichContenteditable/NcRichContenteditable.vue +++ b/src/components/NcRichContenteditable/NcRichContenteditable.vue @@ -284,7 +284,7 @@ export default {