Bug 1488503: Validation for network location. r=jdescottes,flod draft
authorDaisuke Akatsuka <dakatsuka@mozilla.com>
Thu, 21 Mar 2019 11:17:04 +0000
changeset 11267 9395fb69cec4
parent 11266 45b986e010a2
child 11268 67410440f844
push id172
push userflodolo@mozilla.com
push dateFri, 22 Mar 2019 07:37:36 +0000
reviewersjdescottes, flod
bugs1488503
Bug 1488503: Validation for network location. r=jdescottes,flod Differential Revision: https://phabricator.services.mozilla.com/D23993 X-Channel-Repo: mozilla-central X-Channel-Converted-Revision: 4354c226d3388236c307849644c135f9532f3d4a X-Channel-Repo: releases/mozilla-beta X-Channel-Revision: 629d26021667fd762f2320fc19dc27cf1f65d502 X-Channel-Repo: releases/mozilla-release X-Channel-Revision: 15f10287a218572a7fd47acabb40208645b4462d
devtools/client/aboutdebugging.ftl
--- a/devtools/client/aboutdebugging.ftl
+++ b/devtools/client/aboutdebugging.ftl
@@ -134,16 +134,26 @@ about-debugging-network-locations-empty-
 # the Connect page. A host is a hostname and a port separated by a colon, as suggested by
 # the input's placeholder "localhost:6080".
 about-debugging-network-locations-host-input-label = Host
 
 # Text of a button displayed next to existing network locations in the Connect page.
 # Clicking on it removes the network location from the list.
 about-debugging-network-locations-remove-button = Remove
 
+# Text used as error message if the format of the input value was invalid in the network locations form of the Setup page.
+# Variables:
+#   $host-value (string) - The input value submitted by the user in the network locations form
+about-debugging-network-location-form-invalid = Invalid host “{ $host-value }”. The expected format is “hostname:portnumber”.
+
+# Text used as error message if the input value was already registered in the network locations form of the Setup page.
+# Variables:
+#   $host-value (string) - The input value submitted by the user in the network locations form
+about-debugging-network-location-form-duplicate = The host “{ $host-value }” is already registered
+
 # Runtime Page strings
 
 # Below are the titles for the various categories of debug targets that can be found
 # on "runtime" pages of about:debugging.
 # Title of the temporary extensions category (only available for "This Firefox" runtime).
 about-debugging-runtime-temporary-extensions =
   .name = Temporary Extensions
 # Title of the extensions category.