Bug 1537772 - Change wording in UI from runtime to browser r=jdescottes,flod

Differential Revision: https://phabricator.services.mozilla.com/D24664

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Mellina Yonashiro 2019-03-27 05:13:01 +00:00
parent 8d5360a8fa
commit 01153338f3
4 changed files with 19 additions and 19 deletions

View File

@ -38,15 +38,15 @@ class CompatibilityWarning extends PureComponent {
switch (status) {
case COMPATIBILITY_STATUS.TOO_OLD:
statusClassName = "js-compatibility-warning-too-old";
localizationId = "about-debugging-runtime-version-too-old";
localizationId = "about-debugging-browser-version-too-old";
break;
case COMPATIBILITY_STATUS.TOO_RECENT:
statusClassName = "js-compatibility-warning-too-recent";
localizationId = "about-debugging-runtime-version-too-recent";
localizationId = "about-debugging-browser-version-too-recent";
break;
case COMPATIBILITY_STATUS.TOO_OLD_67_DEBUGGER:
statusClassName = "js-compatibility-warning-too-old-67-debugger";
localizationId = "about-debugging-runtime-version-too-old-67-debugger";
localizationId = "about-debugging-browser-version-too-old-67-debugger";
break;
}

View File

@ -55,7 +55,7 @@ class SidebarRuntimeItem extends PureComponent {
const { deviceName, getString, isUnknown, name } = this.props;
const displayName = isUnknown ?
getString("about-debugging-sidebar-runtime-item-waiting-for-runtime") : name;
getString("about-debugging-sidebar-runtime-item-waiting-for-browser") : name;
const localizationId = deviceName
? "about-debugging-sidebar-runtime-item-name"

View File

@ -32,7 +32,7 @@ function toMainProcessComponentData(process) {
const id = process.processFront.actorID;
const icon = "chrome://devtools/skin/images/settings.svg";
const name = l10n.getString("about-debugging-main-process-name");
const description = l10n.getString("about-debugging-main-process-description");
const description = l10n.getString("about-debugging-main-process-description2");
return {
name,

View File

@ -50,10 +50,10 @@ about-debugging-sidebar-item-connect-button = Connect
# successfully connecting to them. Temporary UI, do not localize.
about-debugging-sidebar-item-connected-label = Connected
# Text displayed in sidebar items for remote devices where a compatible runtime (eg
# Text displayed in sidebar items for remote devices where a compatible browser (eg
# Firefox) has not been detected yet. Typically, Android phones connected via USB with
# USB debugging enabled, but where Firefox is not started.
about-debugging-sidebar-runtime-item-waiting-for-runtime = Waiting for runtime
about-debugging-sidebar-runtime-item-waiting-for-browser = Waiting for browser
# Title for runtime sidebar items that are related to a specific device (USB, WiFi).
about-debugging-sidebar-runtime-item-name =
@ -193,27 +193,27 @@ about-debugging-runtime-profile-button = Profile Runtime
# https://developer.mozilla.org/en-US/docs/Tools/about%3Adebugging#Service_workers_not_compatible
about-debugging-runtime-service-workers-not-compatible = Your browser configuration is not compatible with Service Workers. <a>Learn more</a>
# This string is displayed in the runtime page if the remote runtime version is too old.
# This string is displayed in the runtime page if the remote browser version is too old.
# "Troubleshooting" link points to https://developer.mozilla.org/docs/Tools/WebIDE/Troubleshooting
# { $runtimeVersion } is the version of the remote runtime (for instance "67.0a1")
# { $runtimeVersion } is the version of the remote browser (for instance "67.0a1")
# { $minVersion } is the minimum version that is compatible with the current Firefox instance (same format)
about-debugging-runtime-version-too-old = The connected runtime has an old version ({ $runtimeVersion }). The minimum supported version is ({ $minVersion }). This is an unsupported setup and may cause DevTools to fail. Please update the connected runtime. <a>Troubleshooting</a>
about-debugging-browser-version-too-old = The connected browser has an old version ({ $runtimeVersion }). The minimum supported version is ({ $minVersion }). This is an unsupported setup and may cause DevTools to fail. Please update the connected browser. <a>Troubleshooting</a>
# Dedicated message for a backward compatibility issue that occurs when connecting:
# - from Fx 67 to 66 or to 65
# - from Fx 68 to 66
# Those are normally in range for DevTools compatibility policy, but specific non
# backward compatible changes broke the debugger in those scenarios (Bug 1528219).
# { $runtimeVersion } is the version of the remote runtime (for instance "67.0a1")
about-debugging-runtime-version-too-old-67-debugger = The Debugger panel may not work with the connected runtime. Please use Firefox { $runtimeVersion } if you need to use the Debugger with this runtime.
# { $runtimeVersion } is the version of the remote browser (for instance "67.0a1")
about-debugging-browser-version-too-old-67-debugger = The Debugger panel may not work with the connected browser. Please use Firefox { $runtimeVersion } if you need to use the Debugger with this browser.
# This string is displayed in the runtime page if the remote runtime version is too recent.
# This string is displayed in the runtime page if the remote browser version is too recent.
# "Troubleshooting" link points to https://developer.mozilla.org/en-US/docs/Tools/WebIDE/Troubleshooting
# { $runtimeID } is the build ID of the remote runtime (for instance "20181231", format is yyyyMMdd)
# { $runtimeID } is the build ID of the remote browser (for instance "20181231", format is yyyyMMdd)
# { $localID } is the build ID of the current Firefox instance (same format)
# { $runtimeVersion } is the version of the remote runtime (for instance "67.0a1")
# { $localVersion } is the version of your current runtime (same format)
about-debugging-runtime-version-too-recent = The connected runtime is more recent ({ $runtimeVersion }, buildID { $runtimeID }) than your { -brand-shorter-name } ({ $localVersion }, buildID { $localID }). This is an unsupported setup and may cause DevTools to fail. Please update Firefox. <a>Troubleshooting</a>
# { $runtimeVersion } is the version of the remote browser (for instance "67.0a1")
# { $localVersion } is the version of your current browser (same format)
about-debugging-browser-version-too-recent = The connected browser is more recent ({ $runtimeVersion }, buildID { $runtimeID }) than your { -brand-shorter-name } ({ $localVersion }, buildID { $localID }). This is an unsupported setup and may cause DevTools to fail. Please update Firefox. <a>Troubleshooting</a>
# Displayed for runtime info in runtime pages.
# { $name } is brand name such as "Firefox Nightly"
@ -347,5 +347,5 @@ about-debugging-worker-push-service =
about-debugging-main-process-name = Main Process
# Displayed as description for the Main Process debug target in the Processes category.
# Only for remote runtimes, if `devtools.aboutdebugging.process-debugging` is true.
about-debugging-main-process-description = Main Process for the target runtime
# Only for remote browsers, if `devtools.aboutdebugging.process-debugging` is true.
about-debugging-main-process-description2 = Main Process for the target browser