Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
parent
93e3a48004
commit
b38dea0597
25901 changed files with 9982925 additions and 369 deletions
33
gaia/dev_apps/l20n-app/index.html
Executable file
33
gaia/dev_apps/l20n-app/index.html
Executable file
|
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<meta name="defaultLanguage" content="en-US">
|
||||
<meta name="availableLanguages" content="en-US">
|
||||
<script defer src="shared/js/intl/l20n.js"></script>
|
||||
<link rel="localization" href="locales/example.{locale}.l20n">
|
||||
|
||||
<title>L20n</title>
|
||||
|
||||
<style>
|
||||
html, body {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: #dff;
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1 data-l10n-id="hello"></h1>
|
||||
<p data-l10n-id="name">
|
||||
<input type="text">
|
||||
<input type="submit">
|
||||
</p>
|
||||
<div data-l10n-id="unreadEmails" data-l10n-args='{"emailCount": 5}'/>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
1
gaia/dev_apps/l20n-app/js/template.js
Executable file
1
gaia/dev_apps/l20n-app/js/template.js
Executable file
|
|
@ -0,0 +1 @@
|
|||
// App script goes here.
|
||||
8
gaia/dev_apps/l20n-app/locales/example.en-US.l20n
Executable file
8
gaia/dev_apps/l20n-app/locales/example.en-US.l20n
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
<hello "Hello, <em>world</em>!">
|
||||
<name 'Type <input placeholder="your name"> and <input value="send">'>
|
||||
|
||||
<unreadEmails[@cldr.plural($emailCount)] {
|
||||
one: "You have one unread email",
|
||||
other: "You have {{ $emailCount }} unread emails"
|
||||
}>
|
||||
|
||||
17
gaia/dev_apps/l20n-app/manifest.webapp
Executable file
17
gaia/dev_apps/l20n-app/manifest.webapp
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"name": "L20n Example App",
|
||||
"description": "Example app using l20n file format",
|
||||
"launch_path": "/index.html",
|
||||
"developer": {
|
||||
"name": "The Gaia Team",
|
||||
"url": "https://github.com/mozilla-b2g/gaia"
|
||||
},
|
||||
"default_locale": "en-US",
|
||||
"icons": {
|
||||
"84": "/style/icons/default_84.png",
|
||||
"126": "/style/icons/default_126.png",
|
||||
"142": "/style/icons/default_142.png",
|
||||
"189": "/style/icons/default_189.png",
|
||||
"284": "/style/icons/default_284.png"
|
||||
}
|
||||
}
|
||||
BIN
gaia/dev_apps/l20n-app/style/icons/default_126.png
Executable file
BIN
gaia/dev_apps/l20n-app/style/icons/default_126.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
BIN
gaia/dev_apps/l20n-app/style/icons/default_142.png
Executable file
BIN
gaia/dev_apps/l20n-app/style/icons/default_142.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 2.5 KiB |
BIN
gaia/dev_apps/l20n-app/style/icons/default_189.png
Executable file
BIN
gaia/dev_apps/l20n-app/style/icons/default_189.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 3.7 KiB |
BIN
gaia/dev_apps/l20n-app/style/icons/default_284.png
Executable file
BIN
gaia/dev_apps/l20n-app/style/icons/default_284.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 5.9 KiB |
BIN
gaia/dev_apps/l20n-app/style/icons/default_84.png
Executable file
BIN
gaia/dev_apps/l20n-app/style/icons/default_84.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
Loading…
Reference in a new issue