Merge pull request #48298 from nextcloud/backport/44945/stable30

[stable30] fix(i18n): Changed grammar
This commit is contained in:
Andy Scherzinger 2024-09-23 21:05:19 +02:00 committed by GitHub
commit ea1833b48a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 7 additions and 6 deletions

View file

@ -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)')

View file

@ -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)
});
}

View file

@ -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'),

4
dist/files-init.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long