mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-10 02:08:38 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>Example</title>
|
||||
<link href="locnote1htmlrules.xml" rel="its-rules"/>
|
||||
</head>
|
||||
<body>
|
||||
<span id="DisableInfo">The {0} has been disabled.</span>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
|
||||
<its:locNoteRule locNoteType="alert" selector="//h:span[@id='DisableInfo']">
|
||||
<its:locNote>
|
||||
The variable {0} has three possible values: 'printer', 'stacker' and 'stapler options'.
|
||||
</its:locNote>
|
||||
</its:locNoteRule>
|
||||
</its:rules>
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>Example</title>
|
||||
<link href="locnote2htmlrules.xml" rel="its-rules"/>
|
||||
</head>
|
||||
<body>
|
||||
<section id="FileNotFound">
|
||||
<h2>FileNotFound</h2>
|
||||
<p>
|
||||
Indicates that the resource file {0} could not be loaded.
|
||||
</p>
|
||||
<span>Cannot find the file {0}.</span>
|
||||
</section>
|
||||
<section id="DivByZero">
|
||||
<h2>FileNotFound</h2>
|
||||
<p>A division by 0 was going to be computed.</p>
|
||||
<span>Invalid parameter.</span>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
|
||||
<its:translateRule selector="//h:section/h:p" translate="no"/>
|
||||
<its:locNoteRule locNoteType="description" selector="//h:section/h:span" locNotePointer="../h:p"/>
|
||||
</its:rules>
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>EXAMPLE</title>
|
||||
<link href="locnote3htmlrules.xml" rel="its-rules"/>
|
||||
</head>
|
||||
<body>
|
||||
<span id="NotFound">Cannot find {0} on {1}.</span>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
|
||||
<its:locNoteRule locNoteType="description" selector="//h:span[@id='NotFound']" locNoteRef="ErrorsInfo.html/#NotFound"/>
|
||||
</its:rules>
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>EXAMPLE</title>
|
||||
<link href="locnote4htmlrules.xml" rel="its-rules"/>
|
||||
</head>
|
||||
<body>
|
||||
<p id="FileNotFound" title="Comments.html#FileNotFound">
|
||||
<span>Cannot find the file {0}.</span>
|
||||
</p>
|
||||
<p id="DivByZero" title="Comments.html#DivByZero">
|
||||
<span>Invalid parameter.</span>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
|
||||
<its:locNoteRule locNoteType="description" selector="//h:body/h:p/h:span" locNoteRefPointer="../@title"/>
|
||||
</its:rules>
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<link href="locnote5htmlrules.xml" rel="its-rules"/>
|
||||
<title>EXAMPLE</title>
|
||||
</head>
|
||||
<body>
|
||||
<p id="1">
|
||||
This is a hippoptamus:
|
||||
<img src="hippo.png" alt="Hippo in the Chobe River"/>
|
||||
.
|
||||
</p>
|
||||
<p id="2">
|
||||
This is an elephant:
|
||||
<img src="elephants.png" alt="Elephants taking a mud bath"/>
|
||||
.
|
||||
</p>
|
||||
<p id="DisableInfo">The {0} has been disabled.</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
|
||||
<its:locNoteRule selector="//h:p[@id='1']/h:img/@alt" locNoteType="alert">
|
||||
<its:locNote>Do not translate the word "Chobe"</its:locNote>
|
||||
</its:locNoteRule>
|
||||
<its:locNoteRule selector="//h:p[@id='2']/h:img/@alt" locNoteType="description">
|
||||
<its:locNote>This text will be displayed over the image.</its:locNote>
|
||||
</its:locNoteRule>
|
||||
<its:locNoteRule locNoteType="alert" selector="//h:p[@id='DisableInfo']">
|
||||
<its:locNote>
|
||||
The variable
|
||||
{0}
|
||||
has three possible values: 'printer', 'stacker' and 'stapler options'.
|
||||
</its:locNote>
|
||||
</its:locNoteRule>
|
||||
</its:rules>
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>EXAMPLE</title>
|
||||
<link href="locnote6htmlrules.xml" rel="its-rules"/>
|
||||
</head>
|
||||
<body>
|
||||
<span id="1">
|
||||
This is a hippoptamus:
|
||||
<img src="hippo.png" alt="Hippo in the Chobe River"/>
|
||||
.
|
||||
</span>
|
||||
<span id="2">
|
||||
This is an elephant:
|
||||
<img src="elephants.png" alt="Elephants taking a mud bath"/>
|
||||
.
|
||||
</span>
|
||||
<span id="DisableInfo">The {0} has been disabled.</span>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
|
||||
<its:locNoteRule selector="//@alt" locNoteType="description">
|
||||
<its:locNote>This text will be displayed over the image.</its:locNote>
|
||||
</its:locNoteRule>
|
||||
<its:locNoteRule selector="//h:span[@id='1']/h:img/@alt" locNoteType="alert">
|
||||
<its:locNote>Do not translate the word "Chobe"</its:locNote>
|
||||
</its:locNoteRule>
|
||||
<its:locNoteRule locNoteType="alert" selector="//h:span[@id='DisableInfo']">
|
||||
<its:locNote>
|
||||
The variable
|
||||
{0}
|
||||
has three possible values: 'printer', 'stacker' and 'stapler options'.
|
||||
</its:locNote>
|
||||
</its:locNoteRule>
|
||||
</its:rules>
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>LocNote test: Default</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>This is a <span its-loc-note="Check with terminology engineer" its-loc-note-type="ALERT">motherboard</span>.</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>EXAMPLE</title>
|
||||
<link href="locnote8htmlrules.xml" rel="its-rules"/>
|
||||
</head>
|
||||
<body>
|
||||
<span id="1">
|
||||
This is a hippoptamus:
|
||||
<img src="hippo.png" alt="Hippo in the Chobe River"/>
|
||||
.
|
||||
</span>
|
||||
<span id="2">
|
||||
This is an elephant:
|
||||
<img src="elephants.png" alt="Elephants taking a mud bath"/>
|
||||
.
|
||||
</span>
|
||||
<span id="DisableInfo">The {0} has been disabled.</span>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
|
||||
<its:param name="spanIdParam">DisableInfo</its:param>
|
||||
<its:locNoteRule selector="//@alt" locNoteType="description">
|
||||
<its:locNote>This text will be displayed over the image.</its:locNote>
|
||||
</its:locNoteRule>
|
||||
<its:locNoteRule selector="//h:span[@id='1']/h:img/@alt" locNoteType="alert">
|
||||
<its:locNote>Do not translate the word "Chobe"</its:locNote>
|
||||
</its:locNoteRule>
|
||||
<its:locNoteRule locNoteType="alert" selector="//h:span[@id=$spanIdParam]">
|
||||
<its:locNote>
|
||||
The variable
|
||||
{0}
|
||||
has three possible values: 'printer', 'stacker' and 'stapler options'.
|
||||
</its:locNote>
|
||||
</its:locNoteRule>
|
||||
</its:rules>
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang=en>
|
||||
<head>
|
||||
<script type="application/its+xml">
|
||||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
|
||||
<its:param name="locnoteparam">DisableInfo</its:param>
|
||||
<its:locNoteRule locNoteType="alert" selector="//h:p[@id=$locnoteparam]">
|
||||
<its:locNote>The variable {0} has three possible values: 'printer',
|
||||
'stacker' and 'stapler options'.</its:locNote>
|
||||
</its:locNoteRule>
|
||||
</its:rules>
|
||||
</script>
|
||||
<meta charset=utf-8>
|
||||
<title>Example</title>
|
||||
</head>
|
||||
<body>
|
||||
<p id="DisableInfo">The {0} has been disabled.</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
<msgList>
|
||||
<head>
|
||||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
|
||||
<its:param name="DisableInfoParam">DisableInfo</its:param>
|
||||
<its:locNoteRule selector="//@alt" locNoteType="description">
|
||||
<its:locNote>This text will be displayed over the image.</its:locNote>
|
||||
</its:locNoteRule>
|
||||
<its:locNoteRule selector="//msg[@id='1']/img/@alt" locNoteType="alert">
|
||||
<its:locNote>Do not translate the word "Chobe"</its:locNote>
|
||||
</its:locNoteRule>
|
||||
<its:locNoteRule locNoteType="alert" selector="//msg[@id=$DisableInfoParam]">
|
||||
<its:locNote>
|
||||
The variable
|
||||
{0}
|
||||
has three possible values: 'printer', 'stacker' and 'stapler options'.
|
||||
</its:locNote>
|
||||
</its:locNoteRule>
|
||||
</its:rules>
|
||||
</head>
|
||||
<body>
|
||||
<msg id="1">
|
||||
This is a hippoptamus:
|
||||
<img src="hippo.png" alt="Hippo in the Chobe River"/>
|
||||
.
|
||||
</msg>
|
||||
<msg id="2">
|
||||
This is an elephant:
|
||||
<img src="elephants.png" alt="Elephants taking a mud bath"/>
|
||||
.
|
||||
</msg>
|
||||
<msg id="DisableInfo">The {0} has been disabled.</msg>
|
||||
</body>
|
||||
</msgList>
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
<msgList>
|
||||
<head>
|
||||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="locnote11xmlrules.xml"/>
|
||||
</head>
|
||||
<body>
|
||||
<msg id="1">
|
||||
This is a hippoptamus:
|
||||
<img src="hippo.png" alt="Hippo in the Chobe River"/>
|
||||
.
|
||||
</msg>
|
||||
<msg id="2">
|
||||
This is an elephant:
|
||||
<img src="elephants.png" alt="Elephants taking a mud bath"/>
|
||||
.
|
||||
</msg>
|
||||
<msg id="DisableInfo">The {0} has been disabled.</msg>
|
||||
</body>
|
||||
</msgList>
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
|
||||
<its:param name="DisableInfoParam">DisableInfo</its:param>
|
||||
<its:locNoteRule selector="//@alt" locNoteType="description">
|
||||
<its:locNote>This text will be displayed over the image.</its:locNote>
|
||||
</its:locNoteRule>
|
||||
<its:locNoteRule selector="//msg[@id='1']/img/@alt" locNoteType="alert">
|
||||
<its:locNote>Do not translate the word "Chobe"</its:locNote>
|
||||
</its:locNoteRule>
|
||||
<its:locNoteRule locNoteType="alert" selector="//msg[@id=$DisableInfoParam]">
|
||||
<its:locNote>
|
||||
The variable
|
||||
{0}
|
||||
has three possible values: 'printer', 'stacker' and 'stapler options'.
|
||||
</its:locNote>
|
||||
</its:locNoteRule>
|
||||
</its:rules>
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
<myRes>
|
||||
<head>
|
||||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
|
||||
<its:locNoteRule locNoteType="alert" selector="//msg[@id='DisableInfo']">
|
||||
<its:locNote>The variable {0} has three possible values: 'printer',
|
||||
'stacker' and 'stapler options'.</its:locNote>
|
||||
</its:locNoteRule>
|
||||
</its:rules>
|
||||
</head>
|
||||
<body>
|
||||
<msg id="DisableInfo">The {0} has been disabled.</msg>
|
||||
</body>
|
||||
</myRes>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<Res>
|
||||
<prolog>
|
||||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
|
||||
<its:translateRule selector="//msg/notes" translate="no"/>
|
||||
<its:locNoteRule locNoteType="description" selector="//msg/data"
|
||||
locNotePointer="../notes"/>
|
||||
</its:rules>
|
||||
</prolog>
|
||||
<body>
|
||||
<msg id="FileNotFound">
|
||||
<notes>Indicates that the resource file {0} could not be loaded.</notes>
|
||||
<data>Cannot find the file {0}.</data>
|
||||
</msg>
|
||||
<msg id="DivByZero">
|
||||
<notes>A division by 0 was going to be computed.</notes>
|
||||
<data>Invalid parameter.</data>
|
||||
</msg>
|
||||
</body>
|
||||
</Res>
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
<myRes>
|
||||
<head>
|
||||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
|
||||
<its:locNoteRule locNoteType="description"
|
||||
selector="//msg[@id='NotFound']"
|
||||
locNoteRef="ErrorsInfo.html/#NotFound" />
|
||||
</its:rules>
|
||||
</head>
|
||||
<body>
|
||||
<msg id="NotFound">Cannot find {0} on {1}.</msg>
|
||||
</body>
|
||||
</myRes>
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
<dataFile>
|
||||
<prolog>
|
||||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
|
||||
<its:locNoteRule locNoteType="description" selector="//body/string/data"
|
||||
locNoteRefPointer="../@noteFile" />
|
||||
</its:rules>
|
||||
</prolog>
|
||||
<body>
|
||||
<string id="FileNotFound" noteFile="Comments.html#FileNotFound">
|
||||
<data>Cannot find the file {0}.</data>
|
||||
</string>
|
||||
<string id="DivByZero" noteFile="Comments.html#DivByZero">
|
||||
<data>Invalid parameter.</data>
|
||||
</string>
|
||||
</body>
|
||||
</dataFile>
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
<msgList>
|
||||
<head>
|
||||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="locnote5xmlrules.xml">
|
||||
<its:locNoteRule selector="//msg[@id='1']/img/@alt" locNoteType="alert">
|
||||
<its:locNote>Do not translate the word "Chobe"</its:locNote>
|
||||
</its:locNoteRule>
|
||||
</its:rules>
|
||||
</head>
|
||||
<body>
|
||||
<msg id="1">This is a hippoptamus: <img src="hippo.png" alt="Hippo in the Chobe River"/>.</msg>
|
||||
<msg id="2">This is an elephant: <img src="elephants.png" alt="Elephants taking a mud bath"/>.</msg>
|
||||
<msg id="DisableInfo">The {0} has been disabled.</msg>
|
||||
</body>
|
||||
</msgList>
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
|
||||
<its:locNoteRule selector="//@alt" locNoteType="description">
|
||||
<its:locNote>This text will be displayed over the image.</its:locNote>
|
||||
</its:locNoteRule>
|
||||
<its:locNoteRule locNoteType="alert" selector="//msg[@id='DisableInfo']">
|
||||
<its:locNote>The variable {0} has three possible values: 'printer',
|
||||
'stacker' and 'stapler options'.</its:locNote>
|
||||
</its:locNoteRule>
|
||||
</its:rules>
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
<msgList>
|
||||
<head>
|
||||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
|
||||
<its:locNoteRule selector="//@alt" locNoteType="description">
|
||||
<its:locNote>This text will be displayed over the image.</its:locNote>
|
||||
</its:locNoteRule>
|
||||
<its:locNoteRule selector="//msg[@id='1']/img/@alt" locNoteType="alert">
|
||||
<its:locNote>Do not translate the word "Chobe"</its:locNote>
|
||||
</its:locNoteRule>
|
||||
<its:locNoteRule locNoteType="alert" selector="//msg[@id='DisableInfo']">
|
||||
<its:locNote>The variable {0} has three possible values: 'printer',
|
||||
'stacker' and 'stapler options'.</its:locNote>
|
||||
</its:locNoteRule>
|
||||
</its:rules>
|
||||
</head>
|
||||
<body>
|
||||
<msg id="1">This is a hippoptamus: <img src="hippo.png" alt="Hippo in the Chobe River"/>.</msg>
|
||||
<msg id="2">This is an elephant: <img src="elephants.png" alt="Elephants taking a mud bath"/>.</msg>
|
||||
<msg id="DisableInfo">The {0} has been disabled.</msg>
|
||||
</body>
|
||||
</msgList>
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
<Res>
|
||||
<prolog>
|
||||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
|
||||
<its:translateRule selector="//msg/notes" translate="no"/>
|
||||
<its:locNoteRule locNoteType="description" selector="//msg/data" locNotePointer="../notes"/>
|
||||
</its:rules>
|
||||
</prolog>
|
||||
<body>
|
||||
<msg id="FileNotFound">
|
||||
<notes>
|
||||
Indicates that the resource file {0} could not be loaded.
|
||||
</notes>
|
||||
<data>Cannot find the file {0}.</data>
|
||||
</msg>
|
||||
<msg id="DivByZero">
|
||||
<notes>A division by 0 was going to be computed.</notes>
|
||||
<data>Invalid parameter.</data>
|
||||
</msg>
|
||||
</body>
|
||||
</Res>
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0"?>
|
||||
<Res xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
|
||||
<body its:locNote="The variable {0} is the name of the host.">
|
||||
<msg id="HostNotFound">
|
||||
<data>Host {0} cannot be found.</data>
|
||||
</msg>
|
||||
<msg id="HostDisconnected">
|
||||
<data>The connection with {0} has been lost.</data>
|
||||
</msg>
|
||||
<msg id="FileNotFound">
|
||||
<data its:locNote="{0} is a filename" its:locNoteType="alert">{0} not found.</data>
|
||||
</msg>
|
||||
<msg id="CannotLog">
|
||||
<data its:locNoteRef="myLocNotes.htm#CannotLog" its:locNoteType="alert">Cannot log with this username.</data>
|
||||
</msg>
|
||||
</body>
|
||||
</Res>
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0"?>
|
||||
<Doc xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
|
||||
<body>
|
||||
<p><its:span locNote="If possible keep the non-English terms in the translated version too">Everything started when
|
||||
Zebulon discovered that he had a <its:span locNoteRef="http://en.wikipedia.org/wiki/Doppelganger">doppelgänger</its:span>
|
||||
who was a <b>serious</b> baseball <its:span locNoteRef="http://en.wikipedia.org/wiki/Aficionado">aficionado</its:span>.</its:span></p>
|
||||
</body>
|
||||
</Doc>
|
||||
Loading…
Add table
Add a link
Reference in a new issue