aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorAndy Scherzinger <info@andy-scherzinger.de>2024-09-23 21:05:19 +0200
committerGitHub <noreply@github.com>2024-09-23 21:05:19 +0200
commitea1833b48a78cb59ebceb67787cd627bc1019716 (patch)
tree90a92ff303a9dcc928b1c6993ac5f21125e52e04 /apps
parent2be8b76834f2fc2e9af923bfb9ca9601c368b093 (diff)
parentc75aeb344f50a5c36220dcd96c52e0f763a19cd1 (diff)
downloadnextcloud-server-ea1833b48a78cb59ebceb67787cd627bc1019716.tar.gz
nextcloud-server-ea1833b48a78cb59ebceb67787cd627bc1019716.zip
Merge pull request #48298 from nextcloud/backport/44945/stable30
[stable30] fix(i18n): Changed grammar
Diffstat (limited to 'apps')
-rw-r--r--apps/files/js/mainfileinfodetailview.js3
-rw-r--r--apps/files/js/tagsplugin.js2
-rw-r--r--apps/files/src/views/favorites.ts2
3 files changed, 4 insertions, 3 deletions
diff --git a/apps/files/js/mainfileinfodetailview.js b/apps/files/js/mainfileinfodetailview.js
index 458a532daaf..d3b448470e0 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', 'Favored') : t('files', 'Favor'),
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 6b4acaaef96..54bff6283fd 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', 'Favored') : t('files', 'Not favored'),
iconClass: getStarIconClass(state)
});
}
diff --git a/apps/files/src/views/favorites.ts b/apps/files/src/views/favorites.ts
index a57f5593dcb..a57356498bc 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'),