From 6037e0939f41f962e8420a444b0d1efb689e74d1 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 | 109 ++++++++++++------ lib/private/SystemTag/SystemTag.php | 2 +- lib/public/SystemTag/ISystemTag.php | 2 +- 3 files changed, 77 insertions(+), 36 deletions(-) diff --git a/apps/systemtags/src/components/SystemTagPicker.vue b/apps/systemtags/src/components/SystemTagPicker.vue index db93e6be6cfe0..b6a1b652cdc91 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 be97bed27ddb6..8c64f2389d01e 100644 --- a/lib/private/SystemTag/SystemTag.php +++ b/lib/private/SystemTag/SystemTag.php @@ -66,7 +66,7 @@ public function getAccessLevel(): int { /** * {@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 77575494d16c6..593c127ba63c1 100644 --- a/lib/public/SystemTag/ISystemTag.php +++ b/lib/public/SystemTag/ISystemTag.php @@ -88,5 +88,5 @@ public function getAccessLevel(): int; * * @since 31.0.0 */ - public function getEtag(): ?string; + public function getETag(): ?string; }