Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editorial: shortcut strings are localizable #897

Merged
merged 10 commits into from
Jun 10, 2020
24 changes: 14 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1298,12 +1298,11 @@ <h3>
</pre>
<p>
The <dfn>dir</dfn> member specifies the <dfn>base direction</dfn> for
the <a>directionality-capable members</a> of the <a>manifest</a>. The
<a>dir</a> member's value can be set to one of the <a>text-direction
values</a>.
the <a>localizable members</a> of the <a>manifest</a>. The <a>dir</a>
member's value can be set to one of the <a>text-direction values</a>.
</p>
<p>
The <dfn>directionality-capable members</dfn> are:
The <dfn>localizable members</dfn> are:
</p>
<ul>
<li>
Expand All @@ -1315,12 +1314,17 @@ <h3>
<li>
<a>short_name</a> member.
</li>
<li>{{ShortcutItem}}'s {{ShortcutItem/name}} member.
</li>
<li>{{ShortcutItem}}'s {{ShortcutItem/short_name}} member.
</li>
<li>{{ShortcutItem}}'s {{ShortcutItem/description}} member.
</li>
</ul>
<p>
The <dfn data-lt="text-direction value">text-direction values</dfn>
defined by <dfn>TextDirectionType</dfn>, are the following, implying
that the value of the <a>directionality-capable members</a> is by
default:
that the value of the <a>localizable members</a> is by default:
</p>
<dl data-dfn-for="TextDirectionType">
<dt>
Expand All @@ -1343,8 +1347,8 @@ <h3>
</dd>
</dl>
<p data-link-for="TextDirectionType">
When displaying the <a>directionality-capable members</a> to an
end-user, if the <a>base direction</a> is <a>ltr</a> or <a>rtl</a>:
When displaying the <a>localizable members</a> to an end-user,
if the <a>base direction</a> is <a>ltr</a> or <a>rtl</a>:
</p>
<ol>
<li data-link-for="TextDirectionType">If the member is being
Expand All @@ -1367,8 +1371,8 @@ <h3>
<p>
The <dfn>lang</dfn> member is a <a>language tag</a> (<a>string</a>)
that specifies the primary language for the values of the manifest's
<a>directionality-capable members</a> (as knowing the language can
also help with directionality).
<a>localizable members</a> (as knowing the language can also help
with directionality).
</p>
<p>
A <dfn>language tag</dfn> is a <a>string</a> that matches the
Expand Down