Skip to content

Commit

Permalink
fix(translations): Changed grammar
Browse files Browse the repository at this point in the history
[skip-ci]

Signed-off-by: rakekniven <[email protected]>
  • Loading branch information
rakekniven authored and nickvergessen committed Sep 19, 2024
1 parent 086b11f commit e818627
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion apps/files/js/mainfileinfodetailview.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)')
Expand Down
2 changes: 1 addition & 1 deletion apps/files/js/tagsplugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
});
}
Expand Down
2 changes: 1 addition & 1 deletion apps/files/src/views/favorites.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down

0 comments on commit e818627

Please sign in to comment.