37 Commits

Author SHA1 Message Date
Jeremy Bowman
85107918b5
Fix Mac dev setup issues [#5442].
A trailing slash in devtools/compile_translations.sh caused that script to fail
because the parameter to pybabel's -l option ended up blank instead of
containing the language code.

A few files and directories were missing from .gitignore and hence wound up
in the list of local changes to be committed.
2020-05-13 13:55:00 +10:00
Christopher Allan Webber
d1ac2d52fd devtools: Update maketarball.sh to use #!/bin/sh as shebang
* devtools/maketarball.sh: Updated shebang.
2016-03-29 12:06:44 -07:00
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
Christopher Allan Webber
20adec8f26 Update make_example_database.sh to use #!/bin/sh instead of #!/usr/bin/env
* devtools/make_example_database.sh: Update shebang.
2016-03-26 11:39:08 -07:00
Christopher Allan Webber
118ca330df Also switch "#!/usr/bin/env bash" to "#!/bin/sh" in compile-translations.sh 2016-02-24 13:45:03 -08:00
Christopher Allan Webber
493698a536 Switch to #!/bin/sh (don't use "env" unless we have to)
env causes problems in GuixSD and maybe even some other places.
2016-02-10 11:11:02 -08:00
Loic Dachary
c17f755eea Fix #5315 - use env in shebangs 2016-01-14 10:25:23 -08:00
Boris Bobrov
ab53aea8f4 Add workaround for incompilable Interlingua locale
For now we cannot compile Interlingua (ia) locale; please see issue
1070 for details.
2016-01-07 19:50:27 +03:00
ayleph
dcd8c8348a Redirect which stderr to /dev/null 2015-04-22 17:18:35 -05: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
572106e230 Script and makefile adjustments for updating extlib 2015-02-17 15:48:27 -06:00
Christopher Allan Webber
aac69eb9aa choose pybabel depending on whether one is available in the environment
This commit sponsored by Erik Mekhsian.  Thank you!
2015-02-14 16:02:11 -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
Christopher Allan Webber
de7e19f0ab Move compiling translations into its own script 2015-02-14 15:38:39 -06:00
Boris Bobrov
deb8f9c513 fixed wrong git mv in Pootle transition script 2015-01-19 15:34:46 -06:00
Christopher Allan Webber
820e4294a6 Compile .po files to the LC_MESSAGES subdir
This ought to make both python's gettext and pootle happy :P
2015-01-18 16:02:44 -06:00
Christopher Allan Webber
dfea462c8e Exclude the LC_MESSAGES stuff (and master pulling) 2015-01-18 14:03:11 -06:00
Boris Bobrov
042b3ba4b4 Exclude index dir from sync with Pootle
Pootle creates some dir with index file. It has nothing to do with our
files, so it should be excluded in the rsync call.
2015-01-16 15:20:32 -06:00
Christopher Allan Webber
26217cbe0d Update the pootle translation updating script to compile the right files
Made similar changes in the Transifex script, so ported those over.

Also, the script did not seem to be running the compile step as it
wasn't finding the files (different file structure), but it is doing
fine now.
2015-01-16 15:20:32 -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
Christopher Allan Webber
09b0d5118d Just made it so the "okay to wipe your database" echo doesn't add a newline 2013-11-05 13:41:13 -06:00
tilly-Q
3a99517d43 This commit made it so that the script now extracts two different archive. One
for the chosen database, and one for the media to go in the UserDev directory.
This will make the mg-dev-example-environments branch more efficient.
2013-10-31 17:10:03 -04:00
tilly-Q
79a5fe72cf This was a very minor update. In the mg-dev-example-environment branch I changed
the naming system for the databases, and in this branch I just changed the
default name to the new default. The new naming system is based on migrations
not milestones.
2013-10-31 16:19:49 -04:00
Christopher Allan Webber
880f396bd9 Remove .pyc files from tarball when running maketarball.sh 2013-03-12 21:36:12 -05: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
1da5052ff7 Removing youcanhelp stuff
This was never used. It doesn't support Texinfo files. It was only half
completed. Best to remove it.
2012-02-09 10:24:29 -05: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
Elrond
9c94700413 Move maketarball.sh into devtools/
Now that there is a devtools directory, use it!
2012-01-14 12:54:16 +01: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