Componentize IDS_SHOWFULLHISTORY_LINK and IDS_SHOW_HISTORY

Also renames history_ui_strings.grdp to history_strings.grdp, to match
the name of the component.
And fixes missing inputs for the generate_localizer action in GN.

BUG= 568486

Review URL: https://codereview.chromium.org/1675353004

Cr-Commit-Position: refs/heads/master@{#374952}
diff --git a/components/components_strings.grd b/components/components_strings.grd
index 53fd5cd..dec87c64 100644
--- a/components/components_strings.grd
+++ b/components/components_strings.grd
@@ -195,7 +195,7 @@
       <part file="error_page_strings.grdp" />
       <part file="find_in_page_strings.grdp" />
       <part file="flags_ui_strings.grdp" />
-      <part file="history_ui_strings.grdp" />
+      <part file="history_strings.grdp" />
       <part file="login_dialog_strings.grdp" />
       <part file="omnibox_strings.grdp" />
       <part file="password_manager_strings.grdp" />
diff --git a/components/history_ui_strings.grdp b/components/history_strings.grdp
similarity index 94%
rename from components/history_ui_strings.grdp
rename to components/history_strings.grdp
index b36bf0c..74633486 100644
--- a/components/history_ui_strings.grdp
+++ b/components/history_strings.grdp
@@ -145,6 +145,19 @@
   <message name="IDS_HISTORY_SEARCHRESULTSFOR" desc="Format string for search results">
     Search results for '<ph name="SEARCH_STRING">$1</ph>'
   </message>
+  <if expr="not use_titlecase">
+    <message name="IDS_HISTORY_SHOW_HISTORY" desc="The show history menu in the app menu">
+      &amp;History
+    </message>
+  </if>
+  <if expr="use_titlecase">
+    <message name="IDS_HISTORY_SHOW_HISTORY" desc="In Title Case: The show history menu in the app menu">
+      &amp;History
+    </message>
+  </if>
+  <message name="IDS_HISTORY_SHOWFULLHISTORY_LINK" desc="The label of the Show Full History link at the bottom of the back/forward menu.">
+    Show Full History
+  </message>
   <message name="IDS_HISTORY_TITLE" desc="Title for the history tab.">
     History
   </message>