For Bug 42150

This commit is contained in:
Julia Radzhabova 2021-07-12 11:12:02 +03:00
parent cc271cd723
commit b1534675c4
4 changed files with 38 additions and 27 deletions

View file

@ -334,13 +334,6 @@ define([
menuAlign: 'tr-br', menuAlign: 'tr-br',
style: 'min-width: auto;', style: 'min-width: auto;',
items: [ items: [
// {
// caption: this.mniPosition,
// value: 'position',
// checkable: true,
// checked: Common.localStorage.getItem(this.appPrefix + "comments-sort") === 'position',
// toggleGroup: 'sortcomments'
// },
{ {
caption: this.mniDateDesc, caption: this.mniDateDesc,
value: 'date-desc', value: 'date-desc',
@ -369,6 +362,20 @@ define([
checked: Common.localStorage.getItem(this.appPrefix + "comments-sort") === 'author-desc', checked: Common.localStorage.getItem(this.appPrefix + "comments-sort") === 'author-desc',
toggleGroup: 'sortcomments' toggleGroup: 'sortcomments'
} }
// {
// caption: this.mniPositionAsc,
// value: 'position-asc',
// checkable: true,
// checked: Common.localStorage.getItem(this.appPrefix + "comments-sort") === 'position-asc',
// toggleGroup: 'sortcomments'
// }
// {
// caption: this.mniPositionDesc,
// value: 'position-desc',
// checkable: true,
// checked: Common.localStorage.getItem(this.appPrefix + "comments-sort") === 'position-desc',
// toggleGroup: 'sortcomments'
// }
] ]
}) })
}); });
@ -818,11 +825,12 @@ define([
textOpenAgain : "Open Again", textOpenAgain : "Open Again",
textHintAddComment : 'Add Comment', textHintAddComment : 'Add Comment',
textSort: 'Sort comments', textSort: 'Sort comments',
mniPosition: 'Sort by Position', mniPositionAsc: 'From top',
mniAuthorAsc: 'Sort by Author A to Z', mniPositionDesc: 'From bottom',
mniAuthorDesc: 'Sort by Author Z to A', mniAuthorAsc: 'Author A to Z',
mniDateDesc: 'Sort by Newest', mniAuthorDesc: 'Author Z to A',
mniDateAsc: 'Sort by Oldest', mniDateDesc: 'Newest',
mniDateAsc: 'Oldest',
textClosePanel: 'Close comments' textClosePanel: 'Close comments'
}, Common.Views.Comments || {})) }, Common.Views.Comments || {}))
}); });

View file

@ -247,11 +247,12 @@
"Common.Views.Comments.textResolve": "Resolve", "Common.Views.Comments.textResolve": "Resolve",
"Common.Views.Comments.textResolved": "Resolved", "Common.Views.Comments.textResolved": "Resolved",
"Common.Views.Comments.textSort": "Sort comments", "Common.Views.Comments.textSort": "Sort comments",
"Common.Views.Comments.mniPosition": "Sort by Position", "Common.Views.Comments.mniAuthorAsc": "Author A to Z",
"Common.Views.Comments.mniAuthorAsc": "Sort by Author A to Z", "Common.Views.Comments.mniAuthorDesc": "Author Z to A",
"Common.Views.Comments.mniAuthorDesc": "Sort by Author Z to A", "Common.Views.Comments.mniDateDesc": "Newest",
"Common.Views.Comments.mniDateDesc": "Sort by Newest", "Common.Views.Comments.mniDateAsc": "Oldest",
"Common.Views.Comments.mniDateAsc": "Sort by Oldest", "Common.Views.Comments.mniPositionAsc": "From top",
"Common.Views.Comments.mniPositionDesc": "From bottom",
"Common.Views.Comments.textClosePanel": "Close comments", "Common.Views.Comments.textClosePanel": "Close comments",
"Common.Views.CopyWarningDialog.textDontShow": "Don't show this message again", "Common.Views.CopyWarningDialog.textDontShow": "Don't show this message again",
"Common.Views.CopyWarningDialog.textMsg": "Copy, cut and paste actions using the editor toolbar buttons and context menu actions will be performed within this editor tab only.<br><br>To copy or paste to or from applications outside the editor tab use the following keyboard combinations:", "Common.Views.CopyWarningDialog.textMsg": "Copy, cut and paste actions using the editor toolbar buttons and context menu actions will be performed within this editor tab only.<br><br>To copy or paste to or from applications outside the editor tab use the following keyboard combinations:",

View file

@ -140,11 +140,12 @@
"Common.Views.Comments.textResolve": "Resolve", "Common.Views.Comments.textResolve": "Resolve",
"Common.Views.Comments.textResolved": "Resolved", "Common.Views.Comments.textResolved": "Resolved",
"Common.Views.Comments.textSort": "Sort comments", "Common.Views.Comments.textSort": "Sort comments",
"Common.Views.Comments.mniPosition": "Sort by Position", "Common.Views.Comments.mniAuthorAsc": "Author A to Z",
"Common.Views.Comments.mniAuthorAsc": "Sort by Author A to Z", "Common.Views.Comments.mniAuthorDesc": "Author Z to A",
"Common.Views.Comments.mniAuthorDesc": "Sort by Author Z to A", "Common.Views.Comments.mniDateDesc": "Newest",
"Common.Views.Comments.mniDateDesc": "Sort by Newest", "Common.Views.Comments.mniDateAsc": "Oldest",
"Common.Views.Comments.mniDateAsc": "Sort by Oldest", "Common.Views.Comments.mniPositionAsc": "From top",
"Common.Views.Comments.mniPositionDesc": "From bottom",
"Common.Views.Comments.textClosePanel": "Close comments", "Common.Views.Comments.textClosePanel": "Close comments",
"Common.Views.CopyWarningDialog.textDontShow": "Don't show this message again", "Common.Views.CopyWarningDialog.textDontShow": "Don't show this message again",
"Common.Views.CopyWarningDialog.textMsg": "Copy, cut and paste actions using the editor toolbar buttons and context menu actions will be performed within this editor tab only.<br><br>To copy or paste to or from applications outside the editor tab use the following keyboard combinations:", "Common.Views.CopyWarningDialog.textMsg": "Copy, cut and paste actions using the editor toolbar buttons and context menu actions will be performed within this editor tab only.<br><br>To copy or paste to or from applications outside the editor tab use the following keyboard combinations:",

View file

@ -188,11 +188,12 @@
"Common.Views.Comments.textResolve": "Resolve", "Common.Views.Comments.textResolve": "Resolve",
"Common.Views.Comments.textResolved": "Resolved", "Common.Views.Comments.textResolved": "Resolved",
"Common.Views.Comments.textSort": "Sort comments", "Common.Views.Comments.textSort": "Sort comments",
"Common.Views.Comments.mniPosition": "Sort by Position", "Common.Views.Comments.mniAuthorAsc": "Author A to Z",
"Common.Views.Comments.mniAuthorAsc": "Sort by Author A to Z", "Common.Views.Comments.mniAuthorDesc": "Author Z to A",
"Common.Views.Comments.mniAuthorDesc": "Sort by Author Z to A", "Common.Views.Comments.mniDateDesc": "Newest",
"Common.Views.Comments.mniDateDesc": "Sort by Newest", "Common.Views.Comments.mniDateAsc": "Oldest",
"Common.Views.Comments.mniDateAsc": "Sort by Oldest", "Common.Views.Comments.mniPositionAsc": "From top",
"Common.Views.Comments.mniPositionDesc": "From bottom",
"Common.Views.Comments.textClosePanel": "Close comments", "Common.Views.Comments.textClosePanel": "Close comments",
"Common.Views.CopyWarningDialog.textDontShow": "Don't show this message again", "Common.Views.CopyWarningDialog.textDontShow": "Don't show this message again",
"Common.Views.CopyWarningDialog.textMsg": "Copy, cut and paste actions using the editor toolbar buttons and context menu actions will be performed within this editor tab only.<br><br>To copy or paste to or from applications outside the editor tab use the following keyboard combinations:", "Common.Views.CopyWarningDialog.textMsg": "Copy, cut and paste actions using the editor toolbar buttons and context menu actions will be performed within this editor tab only.<br><br>To copy or paste to or from applications outside the editor tab use the following keyboard combinations:",