Commit e52551db authored by David Walsh's avatar David Walsh Committed by Jason Laster
Browse files

Bug 1520957 - [release 119] Fix 7628 - Localize the XHR breakpoint list item...

Bug 1520957 - [release 119] Fix 7628 - Localize the XHR breakpoint list item labels (#7679). r=dwalsh
parent 2a658479
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -480,7 +480,7 @@ export function updateXHRBreakpoint(
      ...breakpoint,
      path,
      method,
      text: `URL contains "${path}"`
      text: L10N.getFormatStr("xhrBreakpoints.item.label", path)
    };

    return dispatch({
+1 −1
Original line number Diff line number Diff line
@@ -166,7 +166,7 @@ export function createXHRBreakpoint(
    method,
    disabled: false,
    loading: false,
    text: `URL contains "${path}"`
    text: L10N.getFormatStr("xhrBreakpoints.item.label", path)
  };

  return { ...properties, ...overrides };
+3 −0
Original line number Diff line number Diff line
@@ -568,6 +568,9 @@ xhrBreakpoints.header=XHR Breakpoints
xhrBreakpoints.placeholder=Break when URL contains
xhrBreakpoints.label=Add XHR breakpoint

# LOCALIZATION NOTE (xhrBreakpoints.item.label): message displayed when reaching a breakpoint for XHR requests. %S is replaced by the path provided as condition for the breakpoint.
xhrBreakpoints.item.label=URL contains “%S”

# LOCALIZATION NOTE (pauseOnAnyXHR): The pause on any XHR checkbox description
# when the debugger will pause on any XHR requests.
pauseOnAnyXHR=Pause on any URL