[l10n] Simplify pluralisation for issues' affected resources

Bug: 1183249, 1189877
Change-Id: Icbb77c1bc3d294ff2bb0da9f077377fd138c6499
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2882759
Commit-Queue: Wolfgang Beyer <[email protected]>
Reviewed-by: Simon Zünd <[email protected]>
diff --git a/front_end/panels/issues/AffectedCookiesView.ts b/front_end/panels/issues/AffectedCookiesView.ts
index 755bb87..165e477 100644
--- a/front_end/panels/issues/AffectedCookiesView.ts
+++ b/front_end/panels/issues/AffectedCookiesView.ts
@@ -17,7 +17,7 @@
   /**
   *@description Noun, singular or plural. Label for the kind and number of affected resources associated with a DevTools issue. A cookie is a small piece of data that a server sends to the user's web browser. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies.
   */
-  nCookies: '{n, plural, =1 { cookie} other { cookies}}',
+  nCookies: '{n, plural, =1 {# cookie} other {# cookies}}',
   /**
   *@description Noun, singular. Label for a column in a table which lists cookies in the affected resources section of a DevTools issue. Each cookie has a name.
   */
@@ -41,7 +41,7 @@
     this.issue = issue;
   }
 
-  protected getResourceName(count: number): Platform.UIString.LocalizedString {
+  protected getResourceNameWithCount(count: number): Platform.UIString.LocalizedString {
     return i18nString(UIStrings.nCookies, {n: count});
   }