Skip to content

Commit

Permalink
remove 'notranslate' 4 (#2513)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbe authored Feb 19, 2021
1 parent 56d9a67 commit 11a98a5
Show file tree
Hide file tree
Showing 1,000 changed files with 1,476 additions and 1,476 deletions.
2 changes: 1 addition & 1 deletion files/en-us/web/api/abstractworker/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ <h2 id="Example">Example</h2>

<p>This code snippet demonstrates the creation of a new <code>Worker</code> using the {{domxref("Worker.Worker", "Worker()")}} constructor; it also shows how to then send a message to the worker.</p>

<pre class="brush: js notranslate">var myWorker = new Worker('worker.js');
<pre class="brush: js">var myWorker = new Worker('worker.js');

first.onchange = function() {
myWorker.postMessage([first.value, second.value]);
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/abstractworker/onerror/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">myWorker.onerror = function() { ... };</pre>
<pre class="brush: js">myWorker.onerror = function() { ... };</pre>

<h2 id="Example">Example</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/addresserrors/addressline/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>addressLineError</em> = <em>AddressErrors</em>.addressLine;</pre>
<pre class="brush: js">var <em>addressLineError</em> = <em>AddressErrors</em>.addressLine;</pre>

<h3 id="Value">Value</h3>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/addresserrors/city/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>cityError</em> = <em>AddressErrors</em>.city;</pre>
<pre class="brush: js">var <em>cityError</em> = <em>AddressErrors</em>.city;</pre>

<h3 id="Value">Value</h3>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/addresserrors/country/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>countryError</em> = <em>AddressErrors</em>.country;</pre>
<pre class="brush: js">var <em>countryError</em> = <em>AddressErrors</em>.country;</pre>

<h3 id="Value">Value</h3>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>localityError</em> = <em>AddressErrors</em>.dependentLocality;</pre>
<pre class="brush: js">var <em>localityError</em> = <em>AddressErrors</em>.dependentLocality;</pre>

<h3 id="Value">Value</h3>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/addresserrors/languagecode/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>languageError</em> = <em>AddressErrors</em>.languageCode;</pre>
<pre class="brush: js">var <em>languageError</em> = <em>AddressErrors</em>.languageCode;</pre>

<h3 id="Value">Value</h3>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/addresserrors/organization/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>organizationError</em> = <em>AddressErrors</em>.organization;</pre>
<pre class="brush: js">var <em>organizationError</em> = <em>AddressErrors</em>.organization;</pre>

<h3 id="Value">Value</h3>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/addresserrors/phone/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>phoneError</em> = <em>AddressErrors</em>.phone;</pre>
<pre class="brush: js">var <em>phoneError</em> = <em>AddressErrors</em>.phone;</pre>

<h3 id="Value">Value</h3>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/addresserrors/postalcode/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>postcodeError</em> = <em>AddressErrors</em>.postCode;</pre>
<pre class="brush: js">var <em>postcodeError</em> = <em>AddressErrors</em>.postCode;</pre>

<h3 id="Value">Value</h3>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/addresserrors/recipient/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>recipientError</em> = <em>AddressErrors</em>.recipient;</pre>
<pre class="brush: js">var <em>recipientError</em> = <em>AddressErrors</em>.recipient;</pre>

<h3 id="Value">Value</h3>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/addresserrors/region/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>regionError</em> = <em>AddressErrors</em>.region;</pre>
<pre class="brush: js">var <em>regionError</em> = <em>AddressErrors</em>.region;</pre>

<h3 id="Value">Value</h3>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/addresserrors/regioncode/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>regionCodeError</em> = <em>AddressErrors</em>.regionCode;</pre>
<pre class="brush: js">var <em>regionCodeError</em> = <em>AddressErrors</em>.regionCode;</pre>

<h3 id="Value">Value</h3>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/addresserrors/sortingcode/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>sortingCodeError</em> = <em>AddressErrors</em>.sortingCode;</pre>
<pre class="brush: js">var <em>sortingCodeError</em> = <em>AddressErrors</em>.sortingCode;</pre>

<h3 id="Value">Value</h3>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">void <var>ext</var>.drawArraysInstancedANGLE(<var>mode</var>, <var>first</var>, <var>count</var>, <var>primcount</var>);
<pre class="brush: js">void <var>ext</var>.drawArraysInstancedANGLE(<var>mode</var>, <var>first</var>, <var>count</var>, <var>primcount</var>);
</pre>

<h3 id="Parameters">Parameters</h3>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<h2 id="Syntax">Syntax</h2>

This comment has been minimized.

Copy link
@jaysonmaldlonado1

jaysonmaldlonado1 Apr 19, 2021

THANK YOU


<pre class="brush: js notranslate">void <var>ext</var>.drawElementsInstancedANGLE(<var>mode</var>, <var>count</var>, <var>type</var>, <var>offset</var>, <var>primcount</var>);
<pre class="brush: js">void <var>ext</var>.drawElementsInstancedANGLE(<var>mode</var>, <var>count</var>, <var>type</var>, <var>offset</var>, <var>primcount</var>);
</pre>

<h3 id="Parameters">Parameters</h3>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">void <var>ext</var>.vertexAttribDivisorANGLE(<var>index</var>, <var>divisor</var>);
<pre class="brush: js">void <var>ext</var>.vertexAttribDivisorANGLE(<var>index</var>, <var>divisor</var>);
</pre>

<h3 id="Parameters">Parameters</h3>
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/attr/localname/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate"><var>name</var> = <var>attribute</var>.localName
<pre class="brush: js"><var>name</var> = <var>attribute</var>.localName

This comment has been minimized.

Copy link
@jaysonmaldlonado1

jaysonmaldlonado1 Apr 19, 2021

pre class="brush: js">name = attribute.localName
Write

This comment has been minimized.

Copy link
@jaysonmaldlonado1

jaysonmaldlonado1 Apr 19, 2021

name = attribute.localName # # # # # #

This comment has been minimized.

Copy link
@jaysonmaldlonado1
</pre>

<h3 id="Return_value">Return value</h3>
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/attr/namespaceuri/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<h2 id="Syntax">Syntax</h2>

<pre
class="brush: js notranslate"><var>namespace</var> = <var>attribute</var>.namespaceURI</pre>
class="brush: js"><var>namespace</var> = <var>attribute</var>.namespaceURI</pre>

<h2 id="Example">Example</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/attr/prefix/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate"><var>string</var> = <var>attribute</var>.prefix
<pre class="brush: js"><var>string</var> = <var>attribute</var>.prefix
</pre>

<h2 id="Examples">Examples</h2>
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audiocontext/audiocontext/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>audioCtx</em> = new AudioContext();
<pre class="brush: js">var <em>audioCtx</em> = new AudioContext();
var <em>audioCtx</em> = new AudioContext(<em>options</em>);
</pre>

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/audiocontext/baselatency/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
<h2 id="Syntax">Syntax</h2>

<pre
class="brush: js notranslate">var <em>baseLatency</em> = <em>audioCtx</em>.baseLatency;</pre>
class="brush: js">var <em>baseLatency</em> = <em>audioCtx</em>.baseLatency;</pre>

<h3 id="Value">Value</h3>

<p>A double representing the base latency in seconds.</p>

<h2 id="Example">Example</h2>

<pre class="brush: js notranslate">// default latency ("interactive")
<pre class="brush: js">// default latency ("interactive")
const audioCtx1 = new AudioContext();
console.log(audioCtx1.baseLatency); // 0.00

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var jsNode = audioCtx.createJavaScriptNode(bufferSize, numInputChannels, numOutputChannels);
<pre class="brush: js">var jsNode = audioCtx.createJavaScriptNode(bufferSize, numInputChannels, numOutputChannels);
</pre>

<h3 id="Parameters">Parameters</h3>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var audioCtx = new AudioContext();
<pre class="brush: js">var audioCtx = new AudioContext();
var destination = audioCtx.createMediaStreamDestination();</pre>

<h3 id="Returns">Returns</h3>
Expand All @@ -37,7 +37,7 @@ <h2 id="Examples">Examples</h2>

<p>From here, you can play and save the opus file.</p>

<pre class="brush: html notranslate">&lt;!DOCTYPE html&gt;
<pre class="brush: html">&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;createMediaStreamDestination() demo&lt;/title&gt;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<h2 id="Syntax">Syntax</h2>

<pre
class="brush: js notranslate"><em>audioSourceNode</em> = <em>audioContext</em>.createMediaStreamSource(<em>stream</em>);</pre>
class="brush: js"><em>audioSourceNode</em> = <em>audioContext</em>.createMediaStreamSource(<em>stream</em>);</pre>

<h3 id="Parameters">Parameters</h3>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<h2 id="Syntax">Syntax</h2>

<pre
class="brush: js notranslate">var <em>audioCtx</em> = new AudioContext();
class="brush: js">var <em>audioCtx</em> = new AudioContext();
var <em>track</em> = <em>audioCtx</em>.createMediaStreamTrackSource(<em>track</em>);</pre>

<h3 id="Parameters">Parameters</h3>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<h2 id="Syntax">Syntax</h2>

<pre
class="brush: js notranslate">var timestamp = AudioContext.getOutputTimestamp()</pre>
class="brush: js">var timestamp = AudioContext.getOutputTimestamp()</pre>

<h3 id="Parameters">Parameters</h3>

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/audiocontext/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ <h2 id="Examples">Examples</h2>

<p>Basic audio context declaration:</p>

<pre class="brush: js notranslate">var audioCtx = new AudioContext();</pre>
<pre class="brush: js">var audioCtx = new AudioContext();</pre>

<p>Cross browser variant:</p>

<pre class="brush: js notranslate">var AudioContext = window.AudioContext || window.webkitAudioContext;
<pre class="brush: js">var AudioContext = window.AudioContext || window.webkitAudioContext;
var audioCtx = new AudioContext();

var oscillatorNode = audioCtx.createOscillator();
Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/audiocontext/outputlatency/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>outputLatency</em> = <em>audioCtx</em>.outputLatency;
<pre class="brush: js">var <em>outputLatency</em> = <em>audioCtx</em>.outputLatency;
</pre>

<h3 id="Value">Value</h3>
Expand All @@ -33,7 +33,7 @@ <h3 id="Value">Value</h3>

<h2 id="Example">Example</h2>

<pre class="brush: js notranslate">const audioCtx = new AudioContext();
<pre class="brush: js">const audioCtx = new AudioContext();
console.log(audioCtx.outputLatency);</pre>

<h2 id="Specifications">Specifications</h2>
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audiocontext/resume/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate"><em>completePromise</em> = <em>audioContext</em>.resume();
<pre class="brush: js"><em>completePromise</em> = <em>audioContext</em>.resume();
</pre>

<h3 id="Parameters">Parameters</h3>
Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/audiocontext/suspend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var audioCtx = new AudioContext();
<pre class="brush: js">var audioCtx = new AudioContext();
audioCtx.suspend().then(function() { ... });
</pre>

Expand All @@ -30,7 +30,7 @@ <h2 id="Example">Example</h2>

<p>The following snippet is taken from our <a href="https://github.com/mdn/webaudio-examples/blob/master/audiocontext-states/index.html">AudioContext states demo</a> (<a href="https://mdn.github.io/webaudio-examples/audiocontext-states/">see it running live</a>.) When the suspend/resume button is clicked, the {{domxref("BaseAudioContext/state", "AudioContext.state")}} is queried — if it is <code>running</code>, <code>suspend()</code> is called; if it is <code>suspended</code>, {{domxref("AudioContext/resume", "resume()")}} is called. In each case, the text label of the button is updated as appropriate once the promise resolves.</p>

<pre class="brush: js notranslate">susresBtn.onclick = function() {
<pre class="brush: js">susresBtn.onclick = function() {
  if(audioCtx.state === 'running') {
    audioCtx.suspend().then(function() {
      susresBtn.textContent = 'Resume context';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate"><em>audioContextOptions</em>.latencyHint = <em>"interactive"</em>;
<pre class="brush: js"><em>audioContextOptions</em>.latencyHint = <em>"interactive"</em>;
<em>audioContextOptions</em>.latencyHint = <em>0.2</em>;

var <em>latencyHint</em> = <em>audioContextOptions</em>.latencyHint;</pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate"><em>audioContextOptions</em>.sampleRate = <em>44100</em>;
<pre class="brush: js"><em>audioContextOptions</em>.sampleRate = <em>44100</em>;

var <em>sampleRate</em> = <em>audioContextOptions</em>.sampleRate;</pre>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audiodestinationnode/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ <h2 id="Example">Example</h2>

<p>There is no complex set up for using an <code>AudioDestinationNode</code> — by default, this represents the output of the user's system (e.g. their speakers), so you can get it hooked up inside an audio graph using only a few lines of code:</p>

<pre class="brush: js notranslate">var audioCtx = new AudioContext();
<pre class="brush: js">var audioCtx = new AudioContext();
var source = audioCtx.createMediaElementSource(myMediaElement);
source.connect(gainNode);
gainNode.connect(audioCtx.destination);</pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="syntaxbox notranslate">var <var>backgroundFetchRegistration</var> = BackgroundFetchManager.fetch();</pre>
<pre class="syntaxbox">var <var>backgroundFetchRegistration</var> = BackgroundFetchManager.fetch();</pre>

<h3 id="Parameters">Parameters</h3>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/backgroundfetchmanager/get/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="syntaxbox notranslate">var <var>backgroundFetchRegistration</var> = BackgroundFetchManager.get();</pre>
<pre class="syntaxbox">var <var>backgroundFetchRegistration</var> = BackgroundFetchManager.get();</pre>

<h3 id="Parameters">Parameters</h3>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="syntaxbox notranslate">var <var>stringArray</var> = BackgroundFetchManager.getIds();</pre>
<pre class="syntaxbox">var <var>stringArray</var> = BackgroundFetchManager.getIds();</pre>

<h3 id="Parameters">Parameters</h3>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate"><em>baseAudioContextInstance</em>.audioWorklet;
<pre class="brush: js"><em>baseAudioContextInstance</em>.audioWorklet;
</pre>

<h3 id="Value">Value</h3>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<h2 id="Syntax">Syntax</h2>

<pre
class="brush: js notranslate">var <var>analyserNode</var> = <var>baseAudioContext</var>.createAnalyser();</pre>
class="brush: js">var <var>analyserNode</var> = <var>baseAudioContext</var>.createAnalyser();</pre>

<h3 id="Returns">Returns</h3>

Expand Down
Loading

0 comments on commit 11a98a5

Please sign in to comment.