Permalink
Browse files

Locale exclusively handled by SVN, bug 664558

  • Loading branch information...
davedash committed Jun 15, 2011
1 parent fce70eb commit b4e88d48becfa89ea2911dfb920e8edadf3b3a35
Showing with 40 additions and 4 deletions.
  1. +1 −0 .gitignore
  2. +0 −3 .gitmodules
  3. +6 −0 bin/update_prod.sh
  4. +7 −0 bin/update_staging.sh
  5. +2 −0 docs/index.rst
  6. +24 −0 docs/l10n.rst
  7. +0 −1 locale
View
@@ -15,3 +15,4 @@ media/data/*tsv.bz2
.coverage
media/js/libs/highcharts.src.js
.#*
+locale
View
@@ -1,3 +0,0 @@
-[submodule "locale"]
- path = locale
- url = git://github.com/fwenzel/reporter-locales.git
View
@@ -7,6 +7,12 @@ VENDOR_DIR="$INPUT_DIR/vendor"
SYNC_DIR="/data/input/www/django/input.mozilla.com/reporter/"
+# update locales
+pushd locale > /dev/null
+$SVN revert -R .
+$SVN up
+popd > /dev/null
+
echo -e "Updating vendor..."
cd $VENDOR_DIR
git pull
View
@@ -5,10 +5,17 @@
HERE=`dirname $0`
GIT=`which git`
+SVN=`which svn`
PYTHON=`which python2.6`
pushd "$HERE/../" > /dev/null
+# update locales
+pushd locale > /dev/null
+$SVN revert -R .
+$SVN up
+popd > /dev/null
+
# pull actual code
$GIT pull -q origin master
$GIT submodule update --init
View
@@ -12,6 +12,8 @@ Contents:
:maxdepth: 2
sphinxsearch
+ elasticsearch
+ l10n
Indices and tables
==================
View
@@ -0,0 +1,24 @@
+============
+Localization
+============
+
+Getting locales
+---------------
+
+If you want to have locales in your instance of input do the following::
+
+ svn clone https://svn.mozilla.org/projects/reporter/locale
+
+Updating localizations
+----------------------
+
+To update the localizations do the following::
+
+ pushd locale
+ svn revert -R .
+ svn up
+ popd
+ ./manage.py extract; ./manage.py verbatimize --rename; ./manage.py merge
+ pushd locale
+ svn commit -m 'Extracted strings'
+ popd
1 locale
Submodule locale deleted from 2bbc66

0 comments on commit b4e88d4

Please sign in to comment.