Bug 1588925 - fix typo in crash guard string, r=flod,fluent-reviewers
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Wed, 16 Oct 2019 11:57:56 +0000
changeset 559172 5822005ac4b091b550b8c010bf4e2e4df737a37e
parent 559171 1331f32961e817061e36bf3d8c370231dea125f0
child 559173 75773bf8c23c778943f0132d6d1ca83ea16c45ff
push id12175
push userccoroiu@mozilla.com
push dateThu, 17 Oct 2019 19:29:09 +0000
treeherdermozilla-beta@d333b6ef1fd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersflod, fluent-reviewers
bugs1588925
milestone71.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1588925 - fix typo in crash guard string, r=flod,fluent-reviewers Differential Revision: https://phabricator.services.mozilla.com/D49400
python/l10n/fluent_migrations/bug_1588925_aboutSupport_crash_guard_typo.py
toolkit/locales/en-US/toolkit/about/aboutSupport.ftl
new file mode 100644
--- /dev/null
+++ b/python/l10n/fluent_migrations/bug_1588925_aboutSupport_crash_guard_typo.py
@@ -0,0 +1,27 @@
+# coding=utf8
+
+# Any copyright is dedicated to the Public Domain.
+# http://creativecommons.org/publicdomain/zero/1.0/
+
+from __future__ import absolute_import
+import fluent.syntax.ast as FTL
+from fluent.migrate.helpers import transforms_from
+from fluent.migrate import COPY_PATTERN
+
+TARGET_FILE = "toolkit/toolkit/about/aboutSupport.ftl"
+SOURCE_FILE = TARGET_FILE
+
+
+def migrate(ctx):
+    """Bug 1588925 - Fix broken identifier for about:support d3d9 video crash guard string, part {index}"""
+
+
+    ctx.add_transforms(
+        TARGET_FILE,
+        SOURCE_FILE,
+        transforms_from(
+"""
+d3d9video-crash-guard = {COPY_PATTERN(from_path, "d3d9video-crash-buard")}
+""",
+        from_path=SOURCE_FILE),
+    )
--- a/toolkit/locales/en-US/toolkit/about/aboutSupport.ftl
+++ b/toolkit/locales/en-US/toolkit/about/aboutSupport.ftl
@@ -249,17 +249,17 @@ blocklisted-bug = Blocklisted due to kno
 bug-link = bug { $bugNumber }
 
 # Variables
 # $failureCode (string) - String that can be searched in the source tree.
 unknown-failure = Blocklisted; failure code { $failureCode }
 
 d3d11layers-crash-guard = D3D11 Compositor
 d3d11video-crash-guard = D3D11 Video Decoder
-d3d9video-crash-buard = D3D9 Video Decoder
+d3d9video-crash-guard = D3D9 Video Decoder
 glcontext-crash-guard = OpenGL
 
 reset-on-next-restart = Reset on Next Restart
 gpu-process-kill-button = Terminate GPU Process
 gpu-device-reset = Device Reset
 gpu-device-reset-button = Trigger Device Reset
 uses-tiling = Uses Tiling
 content-uses-tiling = Uses Tiling (Content)