Download http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central/ and unzip it / install it.
Clone Gaia:
git clone git://github.com/mozilla-b2g/gaia.git
cd gaia
DEBUG=1 make profile
| #! /bin/env python | |
| import os | |
| import sys | |
| from subprocess import Popen | |
| from tempfile import TemporaryFile | |
| from translate.tools import phppo2pypo | |
| # How can we access settings.STANDALONE_DOMAINS from here? | |
| standalone_domains = ['firefoxcup'] |
| #! /bin/env python | |
| import os | |
| import sys | |
| from subprocess import Popen | |
| from tempfile import TemporaryFile | |
| from translate.tools import phppo2pypo | |
| # How can we access settings.STANDALONE_DOMAINS from here? | |
| standalone_domains = ['firefoxcup'] |
| """ | |
| silme.core.Entity represents single key:value pair | |
| """ | |
| __all__ = ['is_string','is_entity','Entity'] | |
| def is_string(v): | |
| return isinstance(v, basestring) | |
| def is_entity(o): |
| @namespace url(http://www.w3.org/1999/xhtml); | |
| @-moz-document url-prefix("https://www.yammer.com/mozilla.com") { | |
| /* | |
| * Change header background | |
| * ======================== | |
| * | |
| */ |
| #!/bin/bash | |
| function msg { | |
| echo | |
| echo "########################################" | |
| echo -e $@ | |
| echo "########################################" | |
| echo | |
| } |
| #!/bin/bash | |
| HERE=$(cd `dirname $0`; pwd) | |
| if [ $# -eq 0 ]; then | |
| if [[ ! -d "$HERE/b2g" || ! -d "$HERE/gaia" ]]; then | |
| echo "The b2g and/or gaia directories appear to be missing." | |
| echo "Run '$0 update' first." | |
| exit 1 | |
| fi |
| git clone git://github.com/jcarpenter/gaia.git | |
| cd gaia | |
| git remote add upstream https://github.com/mozilla-b2g/gaia | |
| git pull upstream master | |
| # create the 'copyedits' branch locally | |
| git checkout -b copyedits | |
| #...edit the files... |
Download http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central/ and unzip it / install it.
Clone Gaia:
git clone git://github.com/mozilla-b2g/gaia.git
cd gaia
DEBUG=1 make profile
| diff --git a/apps/music/index.html b/apps/music/index.html | |
| index ae95940..b64d3ef 100644 | |
| --- a/apps/music/index.html | |
| +++ b/apps/music/index.html | |
| @@ -4,15 +4,17 @@ | |
| <meta charset="utf-8" /> | |
| <meta http-equiv="pragma" content="no-cache" /> | |
| <title>Music</title> | |
| + <!-- Localization --> | |
| + <meta name="locales" content="en-US, pl" /> |
| { | |
| "type": "LOL", | |
| "body": [ | |
| { | |
| "type": "Entity", | |
| "id": { | |
| "type": "Identifier", | |
| "name": "hello" | |
| }, | |
| "value": { |