-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path1082695-l10n.patch
109 lines (94 loc) · 5.97 KB
/
1082695-l10n.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
From: Jordan Santell <[email protected]>
Date: Sat, 9 May 2015 12:43:14 -0700
Subject: Bug 1082695 - Update localizations for performance tool, simplify the recording messages, and handle console.profile displayed text in JS rather than in the l10n string. r=vp
diff --git a/browser/locales/en-US/chrome/browser/devtools/profiler.dtd b/browser/locales/en-US/chrome/browser/devtools/profiler.dtd
index 987f0c2..960e191 100644
--- a/browser/locales/en-US/chrome/browser/devtools/profiler.dtd
+++ b/browser/locales/en-US/chrome/browser/devtools/profiler.dtd
@@ -8,40 +8,54 @@
<!-- LOCALIZATION NOTE : FILE 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 (profilerUI.emptyNotice1/2): This is the label shown
- in the call list view when empty. -->
+<!-- TODO remove -->
<!ENTITY profilerUI.emptyNotice1 "Click on the">
+<!-- TODO remove -->
<!ENTITY profilerUI.emptyNotice2 "button to start recording JavaScript function calls.">
<!-- LOCALIZATION NOTE (profilerUI.stopNotice1/2): This is the label shown
- in the call list view while recording a profile. -->
+<!-- TODO remove -->
<!ENTITY profilerUI.stopNotice1 "Click on the">
+<!-- TODO remove -->
<!ENTITY profilerUI.stopNotice2 "button again to stop profiling.">
+<!-- LOCALIZATION NOTE (profilerUI.startRecording/profilerUI.stopRecording): These are
+ - the labels shown on the main recording buttons to start/stop recording. -->
+<!ENTITY profilerUI.startRecording "Start Recording Performance">
+<!ENTITY profilerUI.stopRecording "Stop Recording Performance">
+
<!-- LOCALIZATION NOTE (profilerUI.bufferStatusTooltip): This string
- is displayed as the tooltip for the buffer capacity during a recording. -->
<!ENTITY profilerUI.bufferStatusTooltip "The profiler stores samples in a circular buffer, and once the buffer reaches the limit for a recording, newer samples begin to overwrite samples at the beginning of the recording.">
<!-- LOCALIZATION NOTE (profilerUI.bufferStatusFull): This string
- is displayed when the profiler's circular buffer has started to overlap. -->
<!ENTITY profilerUI.bufferStatusFull "The buffer is full. Older samples are now being overwritten.">
<!-- LOCALIZATION NOTE (profilerUI.loadingNotice): This is the label shown
- in the call list view while loading a profile. -->
<!ENTITY profilerUI.loadingNotice "Loading…">
<!-- LOCALIZATION NOTE (profilerUI.recordButton): This string is displayed
- on a button that starts a new profile. -->
+<!-- TODO remove -->
<!ENTITY profilerUI.recordButton.tooltip "Record JavaScript function calls.">
+<!-- LOCALIZATION NOTE (profilerUI.recordButton2): This string is displayed
+ - on a button that starts a new profile. -->
+<!ENTITY profilerUI.recordButton2.tooltip "Toggle the recording state of a performance recording.">
+
<!-- LOCALIZATION NOTE (profilerUI.importButton): This string is displayed
- on a button that opens a dialog to import a saved profile data file. -->
<!ENTITY profilerUI.importButton "Import…">
<!-- LOCALIZATION NOTE (profilerUI.exportButton): This string is displayed
- on a button that opens a dialog to export a saved profile data file. -->
<!ENTITY profilerUI.exportButton "Save">
@@ -126,8 +140,21 @@
- is displayed next to a checkbox determining whether or not JIT optimization data
- should be shown. -->
<!ENTITY profilerUI.showJITOptimizations "Show JIT Optimizations">
<!ENTITY profilerUI.showJITOptimizations.tooltiptext "Show JIT optimization data sampled in each frame of the JS call tree.">
<!-- LOCALIZATION NOTE (profilerUI.JITOptimizationsTitle): This string
- is displayed as the title of the JIT Optimizations panel. -->
<!ENTITY profilerUI.JITOptimizationsTitle "JIT Optimizations">
+
+<!-- LOCALIZATION NOTE (profilerUI.console.recordingNoticeStart/recordingNoticeEnd):
+ - This string is displayed when a recording is selected that started via console.profile.
+ - Wraps the command used to start, like "Currently recording via console.profile("label")" -->
+<!ENTITY profilerUI.console.recordingNoticeStart "Currently recording via">
+<!ENTITY profilerUI.console.recordingNoticeEnd "">
+
+<!-- LOCALIZATION NOTE (profilerUI.console.stopCommandStart/stopCommandEnd):
+ - This string is displayed when a recording is selected that started via console.profile.
+ - Indicates how to stop the recording, wrapping the command, like
+ - "Stop recording by entering console.profilEnd("label") into the console." -->
+<!ENTITY profilerUI.console.stopCommandStart "Stop recording by entering">
+<!ENTITY profilerUI.console.stopCommandEnd "into the console.">
diff --git a/browser/locales/en-US/chrome/browser/devtools/profiler.properties b/browser/locales/en-US/chrome/browser/devtools/profiler.properties
index a5b61eec..5bb4a1c 100644
--- a/browser/locales/en-US/chrome/browser/devtools/profiler.properties
+++ b/browser/locales/en-US/chrome/browser/devtools/profiler.properties
@@ -134,14 +134,16 @@ jit.optimizationFailure=Optimization failed
jit.samples2=#1 sample;#1 samples
# LOCALIZATION NOTE (jit.empty):
# This string is displayed when there are no JIT optimizations to display.
jit.empty=No JIT optimizations recorded for this frame.
# LOCALIZATION NOTE (consoleProfile.recordingNotice/stopCommand):
# These strings are displayed when a recording is in progress, that was started from the console.
+# TODO REMOVE
consoleProfile.recordingNotice=Currently recording profile "%S".
+# TODO REMOVE
consoleProfile.stopCommand=Stop profiling by typing \"console.profileEnd(\'%S\')\" into the console.
# LOCALIZATION NOTE (profiler.bufferStatus):
# This string is displayed illustrating how full the profiler's circular buffer is.
profiler.bufferStatus=Buffer capacity: %S%
--
2.2.1