16 Commits

Author SHA1 Message Date
Christopher Allan Webber
c01572e97f devtools: Use pybabel in virtualenv or on path depending on which is present.
* devtools/update_translations.sh (PYBABEL): New variable, points to
  whichever pybabel we should use.
2016-03-29 12:00:28 -07:00
Christopher Allan Webber
c09a54f840 devtools: Switching "#!/usr/bin/env bash" -> "#!/bin/sh" again
This makes things easier on Guix and etc.  We don't need Bash
specifically, just something Bourne-compatible, which all Posix
machines should theoretically provide.

* devtools/update_translations.sh: Updated shebang.
2016-03-29 11:47:02 -07:00
Loic Dachary
c17f755eea Fix #5315 - use env in shebangs 2016-01-14 10:25:23 -08:00
Christopher Allan Webber
d85f70bd15 Not sure why these changes never got pushed up ... 2015-03-05 15:03:00 -06:00
Christopher Allan Webber
33cdeef94f Might as well make the Transifex->Pootle switch official on a scripts level
This commit sponsored by Ben Sturmfels.  Thank you!
2015-02-14 15:39:49 -06:00
Boris Bobrov
94e90c77d0 Added facilities for Pootle.
Previously we used Transifex as a web-tool for translations. Some time
ago Transifex went proprietary and we decided to move to Pootle.

Old script for updating translations was renamed and a new one was
added. Also a script for making the layout more Pootle-friendly was
added.

To accomplish the transition first run the old script:
./devtools/update_translations_transifex.sh

Then run the layout changing script:
./devtools/move_translations_for_pootle.sh

Commit and push. After that use the new
./devtools/update_translations_pootle.sh
to update the translations.

Closes bug: #913
2015-01-16 15:20:32 -06:00
Christopher Allan Webber
1439e4965f Fix the output file to the correct one in the new i18n compile loop 2014-12-13 10:04:10 -06:00
Christopher Allan Webber
f5a829fabf Just spacing things out to look a bit cleaner. 2014-12-13 10:04:10 -06:00
Christopher Allan Webber
8471c5b4d2 Submitting workaround to skip compiling Lojban. Sniff :(
We'll eventually support Lojban again.  This issue fixes #1071, but
leaves #1070 open.
2014-12-13 10:04:10 -06:00
Elrond
756274b631 transifex: Wait a bit after push.
We're seeing somewhat inconsistent data in tx pull.
My theory is: The server needs longer to process the
uploaded new template and work that into the translations.
2012-04-21 23:13:05 +02:00
Will Kahn-Greene
df900eed17 Update copyright headers for shell scripts 2012-02-09 10:20:42 -05:00
Christopher Allan Webber
76d6323fff Adding a line reminding user to push up commits 2012-01-29 13:32:41 -06:00
Christopher Allan Webber
8e5596fb1d Hm, maybe this is better... that didn't fix the stop-in-the-middle issue. 2012-01-29 13:30:32 -06:00
Christopher Allan Webber
f4b206166e Update update_translations script to consider several things conditionally
Specifically, previously if there was nothing to git add, whole script would just die
2012-01-29 13:22:21 -06:00
Christopher Allan Webber
1b5bbc0a85 make this script executable 2012-01-13 20:27:53 -06:00
Christopher Allan Webber
4670ff1c56 Simple translation update script 2012-01-13 20:26:36 -06:00