aboutsummaryrefslogtreecommitdiff
path: root/files/de/web/api
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 21:46:22 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 21:46:22 -0500
commita065e04d529da1d847b5062a12c46d916408bf32 (patch)
treefe0f8bcec1ff39a3c499a2708222dcf15224ff70 /files/de/web/api
parent218934fa2ed1c702a6d3923d2aa2cc6b43c48684 (diff)
downloadtranslated-content-a065e04d529da1d847b5062a12c46d916408bf32.tar.gz
translated-content-a065e04d529da1d847b5062a12c46d916408bf32.tar.bz2
translated-content-a065e04d529da1d847b5062a12c46d916408bf32.zip
update based on https://github.com/mdn/yari/issues/2028
Diffstat (limited to 'files/de/web/api')
-rw-r--r--files/de/web/api/l10n.language.direction/index.html63
-rw-r--r--files/de/web/api/mozmobileconnection/index.html134
-rw-r--r--files/de/web/api/mozmobileconnection/selectnetworkautomatically/index.html57
3 files changed, 0 insertions, 254 deletions
diff --git a/files/de/web/api/l10n.language.direction/index.html b/files/de/web/api/l10n.language.direction/index.html
deleted file mode 100644
index c469794d54..0000000000
--- a/files/de/web/api/l10n.language.direction/index.html
+++ /dev/null
@@ -1,63 +0,0 @@
----
-title: L10n.language.direction
-slug: Web/API/L10n.language.direction
-translation_of: Archive/B2G_OS/API/L10n/language/direction
----
-<div class="syntaxbox">{{ non-standard_header() }}</div>
-
-<div class="syntaxbox"> </div>
-
-<div class="summary">
-<p><span class="seoSummary">The <code>language.direction</code> property returns the direction (<code>ltr</code> or <code>rtl</code>) of the currently active language.</span></p>
-</div>
-
-<h2 id="Syntax">Syntax</h2>
-
-<pre class="syntaxbox">var languageCode = navigator.mozL10n.language.direction;</pre>
-
-<h2 id="Value">Value</h2>
-
-<p>Returns the direction of the currently active language (<code>ltr</code> or <code>rtl</code>).</p>
-
-<h2 id="Example">Example</h2>
-
-<pre class="brush: js">navigator.mozL10n.ready(function() {
- console.log('The current language's direction is ' + navigator.mozL10n.language.direction);
-});
-</pre>
-
-<h2 id="Specification" name="Specification">Specification</h2>
-
-<p>Not part of any specification.</p>
-
-<h2 id="See_also">See also</h2>
-
-<ul>
- <li>{{domxref("L10n")}}</li>
- <li>{{domxref("L10n.language.code")}}</li>
-</ul>
-
-<section id="Quick_Links">
-<ol>
- <li data-default-state="open"><strong><a href="#">Guides</a></strong>
-
- <ol>
- <li><a href="/en-US/Apps/Build/Localization">Localization</a></li>
- </ol>
- </li>
- <li data-default-state="open"><strong><a href="#">Properties</a></strong>
- <ol>
- <li>{{ domxref("L10n.language.code") }}</li>
- <li>{{ domxref("L10n.language.direction") }}</li>
- <li>{{ domxref("L10n.readyState") }}</li>
- </ol>
- </li>
- <li data-default-state="open"><strong><a href="#">Methods</a></strong>
- <ol>
- <li>{{ domxref("L10n.get") }}</li>
- <li>{{ domxref("L10n.ready") }}</li>
- <li>{{ domxref("L10n.once") }}</li>
- </ol>
- </li>
-</ol>
-</section>
diff --git a/files/de/web/api/mozmobileconnection/index.html b/files/de/web/api/mozmobileconnection/index.html
deleted file mode 100644
index f4d2882aab..0000000000
--- a/files/de/web/api/mozmobileconnection/index.html
+++ /dev/null
@@ -1,134 +0,0 @@
----
-title: MozMobileConnection
-slug: Web/API/MozMobileConnection
-translation_of: Archive/B2G_OS/API/MozMobileConnection
----
-<p>{{APIRef("Firefox OS")}} {{ non-standard_header() }}</p>
-
-<p>{{ B2GOnlyHeader2('certified') }}</p>
-
-<div class="summary">
-<p><span class="seoSummary">This API is used to get information about the current mobile voice and data connection states of the device. It is accessible through {{domxref("window.navigator.mozMobileConnections","navigator.mozMobileConnections")}}, which returns an array of <code>MozMobileConnection</code> objects.</span></p>
-</div>
-
-<div class="note">
-<p><strong>Note</strong>: The syntax used to be <code>window.navigator.mozMobileConnection</code>, returning a single <a href="https://developer.mozilla.org/en-US/docs/Web/API/MozMobileConnection" title="This API is used to get information about the current mobile voice and data connection states of the device. It is accessible through navigator.mozMobileConnection."><code>MozMobileConnection</code></a> object, but this was updated in Firefox 1.3 due to the introduction of Multi-SIM support (Dual-SIM-Dual-Standby or DSDS).</p>
-</div>
-
-<h2 id="Syntax" name="Syntax">Interface overview</h2>
-
-<pre class="eval">callback EventHandler = any (Event event);
-
-interface MozMobileConnection : EventTarget
-{
- const long ICC_SERVICE_CLASS_VOICE = (1 &lt;&lt; 0);
- const long ICC_SERVICE_CLASS_DATA = (1 &lt;&lt; 1);
- const long ICC_SERVICE_CLASS_FAX = (1 &lt;&lt; 2);
- const long ICC_SERVICE_CLASS_SMS = (1 &lt;&lt; 3);
- const long ICC_SERVICE_CLASS_DATA_SYNC = (1 &lt;&lt; 4);
- const long ICC_SERVICE_CLASS_DATA_ASYNC = (1 &lt;&lt; 5);
- const long ICC_SERVICE_CLASS_PACKET = (1 &lt;&lt; 6);
- const long ICC_SERVICE_CLASS_PAD = (1 &lt;&lt; 7);
- const long ICC_SERVICE_CLASS_MAX = (1 &lt;&lt; 7);
-
- readonly attribute MozMobileConnectionInfo voice;
- readonly attribute MozMobileConnectionInfo data;
- readonly attribute DOMString networkSelectionMode;
- readonly attribute DOMString iccId;
-
- DOMRequest getNetworks();
- DOMRequest selectNetwork(MozMobileNetworkInfo network);
- DOMRequest selectNetworkAutomatically();
- DOMRequest sendMMI(DOMString mmi);
- DOMRequest cancelMMI();
- DOMRequest setCallForwardingOption(MozMobileCFInfo CFInfo);
- DOMRequest getCallForwardingOption(unsigned short reason);
-
- attribute EventHandler onvoicechange;
- attribute EventHandler ondatachange;
- attribute EventHandler onussdreceived;
- attribute EventHandler ondataerror;
- attribute EventHandler oncfstatechange;
-};
-</pre>
-
-<h2 id="Properties">Properties</h2>
-
-<dl>
- <dt> </dt>
- <dt>{{domxref("MozMobileConnection.voice")}} {{readonlyinline}}</dt>
- <dd>A {{domxref("MozMobileConnectionInfo")}} object that gives access to information about the voice connection.</dd>
- <dt>{{domxref("MozMobileConnection.data")}} {{readonlyinline}}</dt>
- <dd>A {{domxref("MozMobileConnectionInfo")}} object that gives access to information about the data connection.</dd>
- <dt>{{domxref("MozMobileConnection.iccId")}} {{readonlyinline}}</dt>
- <dd>A string that indicates the Integrated Circuit Card Identifier of the SIM this mobile connection corresponds to.</dd>
- <dt>{{domxref("MozMobileConnection.networkSelectionMode")}} {{readonlyinline}}</dt>
- <dd>A string that indicates the selection mode of the voice and data networks.</dd>
- <dt>{{domxref("MozMobileConnection.oncfstatechange")}}</dt>
- <dd>A handler for the {{event("cfstatechange")}} event. This event is fired when the call forwarding state changes.</dd>
- <dt>{{domxref("MozMobileConnection.ondatachange")}}</dt>
- <dd>A handler for the {{event("datachange")}} event. This event is fired whenever the {{domxref("MozMobileConnection.data","data")}} connection object changes values.</dd>
- <dt>{{domxref("MozMobileConnection.ondataerror")}}</dt>
- <dd>A handler for the {{event("dataerror")}} event. This event is fired whenever the {{domxref("MozMobileConnection.data","data")}} connection object receive an error from the <abbr title="Radio Interface Layer">RIL</abbr>.</dd>
- <dt>{{domxref("MozMobileConnection.onussdreceived")}}</dt>
- <dd>A handler for the {{event("ussdreceived")}} event. This event is fired whenever a new <abbr title="Unstructured Supplementary Service Data">USSD</abbr> message is received.</dd>
- <dt>{{domxref("MozMobileConnection.onvoicechange")}}</dt>
- <dd>A handler for the {{event("voicechange")}} event. This event is fired whenever the {{domxref("MozMobileConnection.voice","voice")}} connection object changes.</dd>
-</dl>
-
-<h3 id="Constants">Constants</h3>
-
-<ul>
- <li><code>ICC_SERVICE_CLASS_VOICE</code></li>
- <li><code>ICC_SERVICE_CLASS_DATA</code></li>
- <li><code>ICC_SERVICE_CLASS_FAX</code></li>
- <li><code>ICC_SERVICE_CLASS_SMS</code></li>
- <li><code>ICC_SERVICE_CLASS_DATA_SYNC</code></li>
- <li><code>ICC_SERVICE_CLASS_DATA_ASYNC</code></li>
- <li><code>ICC_SERVICE_CLASS_PACKET</code></li>
- <li><code>ICC_SERVICE_CLASS_PAD</code></li>
- <li><code>ICC_SERVICE_CLASS_MAX</code></li>
-</ul>
-
-<h2 id="Methods">Methods</h2>
-
-<div class="note">
-<p><strong>Note:</strong> All original methods from the <code>MozMobileConnection</code> interface are fully asynchronous. They all return a {{domxref("DOMRequest")}} which has a <code>onsuccess</code> and <code>onerror</code> event handler to handle the success or failur of the method call.</p>
-</div>
-
-<dl>
- <dt>{{domxref("MozMobileConnection.cancelMMI()")}}</dt>
- <dd>Cancel the current <abbr title="Man Machine Interface">MMI</abbr> request if one exists.</dd>
- <dt>{{domxref("MozMobileConnection.getCallForwardingOption()")}}</dt>
- <dd>Queries current call forward options.</dd>
- <dt>{{domxref("MozMobileConnection.getNetworks()")}}</dt>
- <dd>Search for available networks.</dd>
- <dt>{{domxref("MozMobileConnection.selectNetwork()")}}</dt>
- <dd>Manually selects a network, overriding the radio's current selection.</dd>
- <dt>{{domxref("MozMobileConnection.selectNetworkAutomatically()")}}</dt>
- <dd>Tell the radio to automatically select a network.</dd>
- <dt>{{domxref("MozMobileConnection.sendMMI()")}}</dt>
- <dd>Send a <abbr title="Man Machine Interface">MMI</abbr> message.</dd>
- <dt>{{domxref("MozMobileConnection.setCallForwardingOption()")}}</dt>
- <dd>Configures call forward options.</dd>
-</dl>
-
-<p>The <code>MozMobileConnection</code> interface also inherit from the {{domxref("EventTarget")}} interface</p>
-
-<p>{{page("/en-US/docs/DOM/EventTarget","Methods")}}</p>
-
-<h2 id="Specification" name="Specification">Specification</h2>
-
-<p>Not part of any specification</p>
-
-<h2 id="See_also">See also</h2>
-
-<ul>
- <li>{{domxref("window.navigator.mozMobileConnection","navigator.mozMobileConnection")}}</li>
- <li>{{domxref("MozMobileConnectionInfo")}}</li>
- <li>{{domxref("MozIccManager")}}</li>
- <li>{{domxref("MozMobileNetworkInfo")}}</li>
- <li>{{domxref("MozMobileCFInfo")}}</li>
- <li>{{domxref("MozMobileCellInfo")}}</li>
- <li>{{domxref("EventTarget")}}</li>
-</ul>
diff --git a/files/de/web/api/mozmobileconnection/selectnetworkautomatically/index.html b/files/de/web/api/mozmobileconnection/selectnetworkautomatically/index.html
deleted file mode 100644
index 242901b1c2..0000000000
--- a/files/de/web/api/mozmobileconnection/selectnetworkautomatically/index.html
+++ /dev/null
@@ -1,57 +0,0 @@
----
-title: MozMobileConnection.selectNetworkAutomatically
-slug: Web/API/MozMobileConnection/selectNetworkAutomatically
-translation_of: Archive/B2G_OS/API/MozMobileConnection/selectNetworkAutomatically
----
-<p>{{APIRef("Firefox OS")}} {{ non-standard_header() }}</p>
-
-<p>{{ B2GOnlyHeader2('certified') }}</p>
-
-<h2 id="Summary">Summary</h2>
-
-<p>The <code>selectNetworkAutomatically</code> method is used to tell the radio to automatically select a network.</p>
-
-<div class="note">
-<p><strong>Note:</strong> If the network is actually changed by this request, the <code>voicechange</code> and <code>datachange</code> events are fired.</p>
-</div>
-
-<h2 id="Syntax">Syntax</h2>
-
-<pre>var request = navigator.mozMobileConnection.selectNetworks();</pre>
-
-<h3 id="Return">Return</h3>
-
-<p>A {{domxref("DOMRequest")}} object to handle the success or failure of the method call.</p>
-
-<p>If the request fails, the request's <code>error</code> is one of:</p>
-
-<ul>
- <li><code>RadioNotAvailable</code></li>
- <li><code>RequestNotSupported</code></li>
- <li><code>IllegalSIMorME</code></li>
- <li><code>GenericFailure</code></li>
-</ul>
-
-<h2 id="Example">Example</h2>
-
-<pre class="brush: js">var switchNetwork = navigator.mozMobileConnection.selectNetworkAutomatically();
-
-switchNetwork.onsuccess = function () {
- console.log('Successful switch');
-}
-
-switchNetwork.onerror = function () {
- console.log('Unable to switch: ' + this.error.name);
-}
-</pre>
-
-<h2 id="Specification" name="Specification">Specification</h2>
-
-<p>Not part of any specification.</p>
-
-<h2 id="See_also">See also</h2>
-
-<ul>
- <li>{{domxref("MozMobileConnection")}}</li>
- <li>{{domxref("DOMRequest")}}</li>
-</ul>