From f536c86049205a45601476a7ce3961378a8f80c9 Mon Sep 17 00:00:00 2001 From: skjnldsv Date: Fri, 25 Oct 2024 17:25:42 +0200 Subject: [PATCH] fix(systemtags): translations and etag method casing Signed-off-by: skjnldsv --- .../src/components/SystemTagPicker.vue | 103 ++++++++++++------ lib/private/SystemTag/SystemTag.php | 2 +- lib/public/SystemTag/ISystemTag.php | 2 +- 3 files changed, 74 insertions(+), 33 deletions(-) diff --git a/apps/systemtags/src/components/SystemTagPicker.vue b/apps/systemtags/src/components/SystemTagPicker.vue index db93e6be6cf..b6a1b652cdc 100644 --- a/apps/systemtags/src/components/SystemTagPicker.vue +++ b/apps/systemtags/src/components/SystemTagPicker.vue @@ -7,6 +7,7 @@ 1 && this.toRemove.length === 1) { - return `${addStringPlural}
${removeStringSingular}` + return `${addStringPlural} ${removeStringSingular}` } if (this.toAdd.length === 1 && this.toRemove.length > 1) { - return `${addStringSingular}
${removeStringPlural}` + return `${addStringSingular} ${removeStringPlural}` } // Both plural - return `${addStringPlural}
${removeStringPlural}` + return `${addStringPlural} ${removeStringPlural}` }, }, @@ -452,6 +489,10 @@ export default defineComponent({ } } +.systemtags-picker--done :deep(.empty-content__icon) { + opacity: 1; +} + // Rendered chip in note .nc-chip { display: inline !important; diff --git a/lib/private/SystemTag/SystemTag.php b/lib/private/SystemTag/SystemTag.php index be97bed27dd..8c64f2389d0 100644 --- a/lib/private/SystemTag/SystemTag.php +++ b/lib/private/SystemTag/SystemTag.php @@ -66,7 +66,7 @@ class SystemTag implements ISystemTag { /** * {@inheritdoc} */ - public function getEtag(): ?string { + public function getETag(): ?string { return $this->etag; } } diff --git a/lib/public/SystemTag/ISystemTag.php b/lib/public/SystemTag/ISystemTag.php index 77575494d16..593c127ba63 100644 --- a/lib/public/SystemTag/ISystemTag.php +++ b/lib/public/SystemTag/ISystemTag.php @@ -88,5 +88,5 @@ interface ISystemTag { * * @since 31.0.0 */ - public function getEtag(): ?string; + public function getETag(): ?string; }