added l10n comments about code blocks
This commit is contained in:
Родитель
cd80f2bfa1
Коммит
06af785c05
|
@ -24,7 +24,7 @@
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
{%- trans %}
|
{%- trans %}
|
||||||
One difference from a hosted app is that a packaged app must
|
One difference from a hosted app is that a packaged app must
|
||||||
specify a launch_path in the manifest, whereas it's an optional
|
specify a launch_path in the manifest, whereas it's an optional
|
||||||
manifest field for a hosted app.
|
manifest field for a hosted app.
|
||||||
{% endtrans -%}
|
{% endtrans -%}
|
||||||
|
@ -55,6 +55,7 @@
|
||||||
<dl>
|
<dl>
|
||||||
<dt>{{ _('Privileged app') }}</dt>
|
<dt>{{ _('Privileged app') }}</dt>
|
||||||
<dd>
|
<dd>
|
||||||
|
{# L10n: Do not localize text in <code></code> #}
|
||||||
{%- trans %}
|
{%- trans %}
|
||||||
A privileged app is approved by the Firefox Marketplace
|
A privileged app is approved by the Firefox Marketplace
|
||||||
using a special process. It is meant to provide
|
using a special process. It is meant to provide
|
||||||
|
@ -62,7 +63,7 @@
|
||||||
sensitive APIs on a device. It is equivalent to a native
|
sensitive APIs on a device. It is equivalent to a native
|
||||||
app on a platform like iOS or Android. To specify that an app
|
app on a platform like iOS or Android. To specify that an app
|
||||||
is a privileged app, add the <code>type</code> field to its
|
is a privileged app, add the <code>type</code> field to its
|
||||||
<code>manifest.webapp</code> file and set it to
|
<code>manifest.webapp</code> file and set it to
|
||||||
<code>privileged</code>. A privileged app has the following
|
<code>privileged</code>. A privileged app has the following
|
||||||
characteristics:
|
characteristics:
|
||||||
{% endtrans -%}
|
{% endtrans -%}
|
||||||
|
@ -96,6 +97,7 @@
|
||||||
</dd>
|
</dd>
|
||||||
<dt>{{ _('Certified app') }}</dt>
|
<dt>{{ _('Certified app') }}</dt>
|
||||||
<dd>
|
<dd>
|
||||||
|
{# L10n: Do not localize text in <code></code> #}
|
||||||
{%- trans %}
|
{%- trans %}
|
||||||
A certified app is intended for a critical system function
|
A certified app is intended for a critical system function
|
||||||
like the default dialer or the system settings app on a
|
like the default dialer or the system settings app on a
|
||||||
|
@ -107,9 +109,9 @@
|
||||||
implicit, meaning they do not require explicit user approval.
|
implicit, meaning they do not require explicit user approval.
|
||||||
A certified app must be approved for a device by the OEM or
|
A certified app must be approved for a device by the OEM or
|
||||||
carrier in order to have this implicit approval to use
|
carrier in order to have this implicit approval to use
|
||||||
critical APIs. To specify that an app is a certified app,
|
critical APIs. To specify that an app is a certified app,
|
||||||
add the <code>type</code> field to its
|
add the <code>type</code> field to its
|
||||||
<code>manifest.webapp</code> file and set it to
|
<code>manifest.webapp</code> file and set it to
|
||||||
<code>certified</code>. The following is the CSP for a
|
<code>certified</code>. The following is the CSP for a
|
||||||
certified app, which is slightly different from the CSP for
|
certified app, which is slightly different from the CSP for
|
||||||
a privileged app:
|
a privileged app:
|
||||||
|
@ -125,6 +127,7 @@
|
||||||
{% endtrans -%}
|
{% endtrans -%}
|
||||||
<dt>{{ _('Plain packaged app') }}</dt>
|
<dt>{{ _('Plain packaged app') }}</dt>
|
||||||
<dd>
|
<dd>
|
||||||
|
{# L10n: Do not localize text in <code></code> #}
|
||||||
{%- trans %}
|
{%- trans %}
|
||||||
You can also make a regular app that is simply packaged in a
|
You can also make a regular app that is simply packaged in a
|
||||||
zip file. The Marketplace signs it, but does not perform the
|
zip file. The Marketplace signs it, but does not perform the
|
||||||
|
@ -136,7 +139,7 @@
|
||||||
the device when the user first uses it, with no downloading.
|
the device when the user first uses it, with no downloading.
|
||||||
This type of packaged app does not require the <code>type</code>
|
This type of packaged app does not require the <code>type</code>
|
||||||
field in its <code>manifest.webapp</code> file, because the
|
field in its <code>manifest.webapp</code> file, because the
|
||||||
default value for <code>type</code> (<code>web</code>)
|
default value for <code>type</code> (<code>web</code>)
|
||||||
is correct.
|
is correct.
|
||||||
{% endtrans -%}
|
{% endtrans -%}
|
||||||
</dd>
|
</dd>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче