Skip to content

Commit

Permalink
fixed name of filter-by
Browse files Browse the repository at this point in the history
  • Loading branch information
wachterjohannes committed Apr 20, 2017
1 parent f9811fa commit 49c6bbf
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Resources/public/dist/components/articles/list/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions Resources/public/js/components/articles/list/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ define([
publishedWithDraft: 'public.published-with-draft',
filterMe: 'sulu_article.list.filter.me',
filterAll: 'sulu_article.list.filter.all',
filterBy: 'sulu_article.list.filter.by',
filterByAuthor: 'sulu_article.list.filter.by-author',
filterByCategory: 'sulu_article.list.filter.by-category',
openGhostOverlay: {
info: 'sulu_article.settings.open-ghost-overlay.info',
Expand Down Expand Up @@ -400,8 +400,8 @@ define([
}.bind(this)
},
{
id: 'filterBy',
title: this.translations.filterBy + '...',
id: 'filterByAuthor',
title: this.translations.filterByAuthor + '...',
callback: this.openContactSelectionOverlay.bind(this)
},
{
Expand Down Expand Up @@ -437,7 +437,7 @@ define([
selectCallback: function(data) {
this.applyFilterToList.call(
this,
'filterBy',
'filterByAuthor',
data.contactItem
);
}.bind(this)
Expand Down Expand Up @@ -523,8 +523,8 @@ define([
case 'all':
title = this.translations.filterAll;
break;
case 'filterBy':
title = this.translations.filterBy + ' ' + contact.firstName + ' ' + contact.lastName;
case 'filterByAuthor':
title = this.translations.filterByAuthor + ' ' + contact.firstName + ' ' + contact.lastName;
break;
case 'me':
title = this.translations.filterMe;
Expand Down
4 changes: 2 additions & 2 deletions Resources/translations/sulu/backend.de.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@
<source>sulu_article.list.filter.all</source>
<target>Alle</target>
</trans-unit>
<trans-unit id="list-filter-03" resname="sulu_article.list.filter.by">
<source>sulu_article.list.filter.by</source>
<trans-unit id="list-filter-03" resname="sulu_article.list.filter.by-author">
<source>sulu_article.list.filter.by-author</source>
<target>Nur von</target>
</trans-unit>
<trans-unit id="list-filter-04" resname="sulu_article.list.filter.by-category">
Expand Down
4 changes: 2 additions & 2 deletions Resources/translations/sulu/backend.en.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@
<source>sulu_article.list.filter.all</source>
<target>All</target>
</trans-unit>
<trans-unit id="list-filter-03" resname="sulu_article.list.filter.by">
<source>sulu_article.list.filter.all</source>
<trans-unit id="list-filter-03" resname="sulu_article.list.filter.by-author">
<source>sulu_article.list.filter.by-author</source>
<target>Only from</target>
</trans-unit>
<trans-unit id="list-filter-04" resname="sulu_article.list.filter.by-category">
Expand Down

0 comments on commit 49c6bbf

Please sign in to comment.