Skip to content

Commit 81e7679

Browse files
Bananeweizenmickaelistria
authored andcommitted
Fix problem filter scope wording
* use "selected elements" instead of "selected element" in all implementations * use "their children" due to the plural form of "elements" * remove double blank in working set related scope
1 parent ffb0cdc commit 81e7679

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

bundles/org.eclipse.search/new search/org/eclipse/search/ui/text/FileTextSearchScope.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public static FileTextSearchScope newWorkspaceScope(String[] fileNamePatterns, b
7474
* @param roots the roots resources defining the scope.
7575
* @param fileNamePatterns file name pattern that all files have to match <code>null</code> to include all file names.
7676
* @param includeDerived defines if derived files and files inside derived containers are included in the scope.
77-
* @return a scope containing the resources and its children if they match the given file name patterns.
77+
* @return a scope containing the resources and their children if they match the given file name patterns.
7878
*/
7979
public static FileTextSearchScope newSearchScope(IResource[] roots, String[] fileNamePatterns, boolean includeDerived) {
8080
roots= removeRedundantEntries(roots, includeDerived);

bundles/org.eclipse.ui.ide/schema/markerSupport.exsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ If this value is not set the value is ON_ANY
591591
<meta.section type="examples"/>
592592
</appinfo>
593593
<documentation>
594-
The following is an example of a problem filter definition in the marker support. This example only shows java warnings on the selected element and its children and filters out those with the String NON-NLS
594+
The following is an example of a problem filter definition in the marker support. This example only shows java warnings on the selected elements and their children and filters out those with the String NON-NLS
595595
&lt;p&gt;
596596
&lt;pre&gt;
597597
&lt;extension point=&quot;org.eclipse.ui.ide.markerSupport&quot;&gt;

bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/messages.properties

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ filtersDialog_showItemsOfType = Show items of &type:
7373
filtersDialog_anyResource = No filter, show all &elements
7474
filtersDialog_anyResourceInSameProject = On elements in selected pro&jects
7575
filtersDialog_selectedResource = On selected ele&ments only
76-
filtersDialog_selectedAndChildren = On selected elements and its c&hildren
77-
filtersDialog_workingSet = On wor&king set: {0}
76+
filtersDialog_selectedAndChildren = On selected elements and their c&hildren
77+
filtersDialog_workingSet = On wor&king set: {0}
7878
filtersDialog_currentWorkingSet = On selected wor&king set
7979
filtersDialog_workingSetSelect = &Select...
80-
filtersDialog_noWorkingSet = On wor&king set: <no working set selected>
80+
filtersDialog_noWorkingSet = On wor&king set: <no working set selected>
8181
filtersDialog_selectAll = Select &All
8282
filtersDialog_deselectAll = &Deselect All
8383
filtersDialog_selectAllTypes = Sele&ct All
@@ -238,8 +238,8 @@ ProblemFilterDialog_Contains_Description = On any description containing {0}
238238
ProblemFilterDialog_Does_Not_Contain_Description = On any description not containing {0}
239239
ProblemFilterDialog_any = Filter on any element
240240
ProblemFilterDialog_sameContainer = Filter on any in the same container
241-
ProblemFilterDialog_selectedAndChildren = Filter on selected element and its children
242-
ProblemFilterDialog_selected = Filter on selected element only
241+
ProblemFilterDialog_selectedAndChildren = Filter on selected elements and their children
242+
ProblemFilterDialog_selected = Filter on selected elements only
243243
ProblemFilterDialog_workingSet = Filter on working set {0}
244244

245245
ProblemFilterRegistry_nullType = Marker type {0} referenced in {1} does not exist.

0 commit comments

Comments
 (0)