forked from jsantell/firefox-patches
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1011436-update-audioeditor-string.patch
80 lines (71 loc) · 3.68 KB
/
1011436-update-audioeditor-string.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
From 3e119b259c5eb84fbf4b49fa0f9b1777e3d3e66a Mon Sep 17 00:00:00 2001
From: Jordan Santell <[email protected]>
Date: Fri, 16 May 2014 13:55:47 -0700
Subject: Bug 1011436 - Update localization property names for the web
audio tool, r=vp
---
browser/devtools/main.js | 4 ++--
.../en-US/chrome/browser/devtools/webaudioeditor.properties | 13 +++++++------
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/browser/devtools/main.js b/browser/devtools/main.js
index d82fa43..76b55b9 100644
--- a/browser/devtools/main.js
+++ b/browser/devtools/main.js
@@ -235,18 +235,18 @@ Tools.canvasDebugger = {
Tools.webAudioEditor = {
id: "webaudioeditor",
ordinal: 10,
visibilityswitch: "devtools.webaudioeditor.enabled",
icon: "chrome://browser/skin/devtools/tool-webaudio.svg",
invertIconForLightTheme: true,
url: "chrome://browser/content/devtools/webaudioeditor.xul",
- label: l10n("ToolboxWebAudioEditor.label", webAudioEditorStrings),
- tooltip: l10n("ToolboxWebAudioEditor.tooltip", webAudioEditorStrings),
+ label: l10n("ToolboxWebAudioEditor1.label", webAudioEditorStrings),
+ tooltip: l10n("ToolboxWebAudioEditor1.tooltip", webAudioEditorStrings),
isTargetSupported: function(target) {
return !target.isAddon;
},
build: function(iframeWindow, toolbox) {
let panel = new WebAudioEditorPanel(iframeWindow, toolbox);
return panel.open();
}
};
diff --git a/browser/locales/en-US/chrome/browser/devtools/webaudioeditor.properties b/browser/locales/en-US/chrome/browser/devtools/webaudioeditor.properties
index 8c71292..6018894 100644
--- a/browser/locales/en-US/chrome/browser/devtools/webaudioeditor.properties
+++ b/browser/locales/en-US/chrome/browser/devtools/webaudioeditor.properties
@@ -1,29 +1,30 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# LOCALIZATION NOTE These strings are used inside the Debugger
-# which is available from the Web Developer sub-menu -> 'Debugger'.
+# LOCALIZATION NOTE These strings are used inside the Web Audio tool
+# which is available in the developer tools' toolbox, once
+# enabled in the developer tools' preference "Web Audio".
# The correct localization of this file might be to keep it in
# English, or another language commonly spoken among web developers.
# You want to make that choice consistent across the developer tools.
# A good criteria is the language in which you'd find the best
# documentation on web development on the web.
-# LOCALIZATION NOTE (ToolboxWebAudioEditor.label):
+# LOCALIZATION NOTE (ToolboxWebAudioEditor1.label):
# This string is displayed in the title of the tab when the Web Audio Editor
# is displayed inside the developer tools window and in the Developer Tools Menu.
-ToolboxWebAudioEditor.label=Web Audio
+ToolboxWebAudioEditor1.label=Web Audio
-# LOCALIZATION NOTE (ToolboxWebAudioEditor.tooltip):
+# LOCALIZATION NOTE (ToolboxWebAudioEditor1.tooltip):
# This string is displayed in the tooltip of the tab when the Web Audio Editor is
# displayed inside the developer tools window.
-ToolboxWebAudioEditor.tooltip=Web Audio context visualizer and audio node inspector
+ToolboxWebAudioEditor1.tooltip=Web Audio context visualizer and audio node inspector
# LOCALIZATION NOTE (collapseInspector): This is the tooltip for the button
# that collapses the inspector in the web audio tool UI.
collapseInspector=Collapse inspector
# LOCALIZATION NOTE (expandInspector): This is the tooltip for the button
# that expands the inspector in the web audio tool UI.
expandInspector=Expand inspector
--
1.8.4.2