Bug 1340971 - Use proper plural form in editor.searchResults and sourceSearch.resultsSummary1 r=davidwalsh,flod draft
authorMiriam <bmiriam1230@gmail.com>
Tue, 11 Jun 2019 19:25:15 +0000
changeset 11634 ea47ace974960e642951f4ba58f56d97a4a7faa3
parent 11633 d101dc4a685d66a6c8e7e138b7fb1f2f54525c46
child 11635 438d3a8d571c243d6ef01c75f35b5409b50d7820
push id257
push userflodolo@mozilla.com
push dateWed, 12 Jun 2019 13:12:29 +0000
reviewersdavidwalsh, flod
bugs1340971
Bug 1340971 - Use proper plural form in editor.searchResults and sourceSearch.resultsSummary1 r=davidwalsh,flod Added proper plural form to editor.searchResults and sourceSearch.resultsSummary1. Updated the comments and IDs for the new strings as well. Replaced all instances of old string references with new string references. Differential Revision: https://phabricator.services.mozilla.com/D32881 X-Channel-Repo: mozilla-central X-Channel-Converted-Revision: 65258ed1ea60bc841a784c5c9010c76d3c0db6b6 X-Channel-Repo: releases/mozilla-beta X-Channel-Revision: 78928eb0791ef5074dab80bfeac2d96490d7267d X-Channel-Repo: releases/mozilla-release X-Channel-Revision: df853c362664989e025d1206b59c37c435186a91
devtools/client/debugger.properties
--- a/devtools/client/debugger.properties
+++ b/devtools/client/debugger.properties
@@ -312,31 +312,36 @@ sourceSearch.search.placeholder2=Find in fileā€¦
 sourceSearch.search.again.key2=CmdOrCtrl+G
 
 # LOCALIZATION NOTE (sourceSearch.search.againPrev.key2): Key shortcut to highlight
 # the previous occurrence of the last search triggered from a source search
 # Do not localize "CmdOrCtrl+Shift+G", or change the format of the string. These are
 # key identifiers, not messages displayed to the user.
 sourceSearch.search.againPrev.key2=CmdOrCtrl+Shift+G
 
+# LOCALIZATION NOTE (sourceSearch.resultsSummary1): Shows a summary of
+# the number of matches for autocomplete
+sourceSearch.resultsSummary1=%d results
+
 # LOCALIZATION NOTE (sourceSearch.search.again.key3): Key shortcut to highlight
 # the next occurrence of the last search triggered from a source search
 # Do not localize "Cmd+G", or change the format of the string. These are
 # key identifiers, not messages displayed to the user.
 sourceSearch.search.again.key3=Cmd+G
 
 # LOCALIZATION NOTE (sourceSearch.search.againPrev.key3): Key shortcut to highlight
 # the previous occurrence of the last search triggered from a source search
 # Do not localize "Cmd+Shift+G", or change the format of the string. These are
 # key identifiers, not messages displayed to the user.
 sourceSearch.search.againPrev.key3=Cmd+Shift+G
 
-# LOCALIZATION NOTE (sourceSearch.resultsSummary1): Shows a summary of
-# the number of matches for autocomplete
-sourceSearch.resultsSummary1=%d results
+# LOCALIZATION NOTE (sourceSearch.resultsSummary2): Semi-colon list of plural forms.
+# See: http://developer.mozilla.org/en/docs/Localization_and_Plurals
+# Shows a summary of the number of matches for autocomplete
+sourceSearch.resultsSummary2=#1 result;#1 results
 
 # LOCALIZATION NOTE (noMatchingStringsText): The text to display in the
 # global search results when there are no matching strings after filtering.
 noMatchingStringsText=No matches found
 
 # LOCALIZATION NOTE (emptySearchText): This is the text that appears in the
 # filter text box when it is empty and the scripts container is selected.
 emptySearchText=Search scripts (%S)
@@ -493,16 +498,21 @@ callStack.group.collapseTooltip=Collapse
 # LOCALIZATION NOTE (components.header): Header for the
 # Framework Components pane in the right sidebar.
 components.header=Components
 
 # LOCALIZATION NOTE (editor.searchResults): Editor Search bar message
 # for the summarizing the selected search result. e.g. 5 of 10 results.
 editor.searchResults=%d of %d results
 
+# LOCALIZATION NOTE (editor.searchResults1): Semi-colon list of plural forms.
+# See: http://developer.mozilla.org/en/docs/Localization_and_Plurals
+# Editor Search bar message to summarize the selected search result. e.g. 5 of 10 results.
+editor.searchResults1=%d of #1 result;%d of #1 results
+
 # LOCALIZATION NOTE (editor.singleResult): Copy shown when there is one result.
 editor.singleResult=1 result
 
 # LOCALIZATION NOTE (editor.noResultsFound): Editor Search bar message
 # for when no results found.
 editor.noResultsFound=No results found
 
 # LOCALIZATION NOTE (editor.searchResults.nextResult): Editor Search bar