From e818627c47275817ba4ec7b93c82817390adac89 Mon Sep 17 00:00:00 2001 From: rakekniven <2069590+rakekniven@users.noreply.github.com> Date: Sat, 20 Apr 2024 22:04:52 +0200 Subject: [PATCH] fix(translations): Changed grammar [skip-ci] Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com> --- apps/files/js/mainfileinfodetailview.js | 3 ++- apps/files/js/tagsplugin.js | 2 +- apps/files/src/views/favorites.ts | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/files/js/mainfileinfodetailview.js b/apps/files/js/mainfileinfodetailview.js index 458a532daaf3f..d7e875de20f6f 100644 --- a/apps/files/js/mainfileinfodetailview.js +++ b/apps/files/js/mainfileinfodetailview.js @@ -159,7 +159,8 @@ timestamp: this.model.get('mtime'), date: OC.Util.relativeModifiedDate(this.model.get('mtime')), hasFavoriteAction: hasFavoriteAction, - starAltText: isFavorite ? t('files', 'Favorited') : t('files', 'Favorite'), + // TRANSLATORS "Favour" is a verb + starAltText: isFavorite ? t('files', 'Favoured') : t('files', 'Favour'), starClass: isFavorite ? 'icon-starred' : 'icon-star', permalink: this._makePermalink(this.model.get('id')), permalinkTitle: t('files', 'Copy direct link (only works for people who have access to this file/folder)') diff --git a/apps/files/js/tagsplugin.js b/apps/files/js/tagsplugin.js index 6b4acaaef96d6..d06bcff727e44 100644 --- a/apps/files/js/tagsplugin.js +++ b/apps/files/js/tagsplugin.js @@ -32,7 +32,7 @@ function renderStar (state) { return OCA.Files.Templates['favorite_mark']({ isFavorite: state, - altText: state ? t('files', 'Favorited') : t('files', 'Not favorited'), + altText: state ? t('files', 'Favoured') : t('files', 'Not favoured'), iconClass: getStarIconClass(state) }); } diff --git a/apps/files/src/views/favorites.ts b/apps/files/src/views/favorites.ts index c6846724bbacf..8d561b4f5b87c 100644 --- a/apps/files/src/views/favorites.ts +++ b/apps/files/src/views/favorites.ts @@ -46,7 +46,7 @@ export const registerFavoritesView = async () => { Navigation.register(new View({ id: 'favorites', name: t('files', 'Favorites'), - caption: t('files', 'List of favorites files and folders.'), + caption: t('files', 'List of favorite files and folders.'), emptyTitle: t('files', 'No favorites yet'), emptyCaption: t('files', 'Files and folders you mark as favorite will show up here'),