Hans-Christoph Steiner
dc6eccc218
workaround Weblate bug for languages with no plurals
...
https://github.com/WeblateOrg/weblate/issues/520
2017-05-31 12:29:25 +02:00
Hans-Christoph Steiner
7c2125c248
only remove incomplete translations if saved in a git remote
2017-05-11 09:39:00 +02:00
Hans-Christoph Steiner
2ef9b279a8
remove all blank items from plurals
2017-05-10 23:18:28 +02:00
Hans-Christoph Steiner
38403338da
remove xmlns tools:ignore from translations
...
XML namespaces are a massive pain to deal with in, and they are totally
unneeded in the translation files. xmlns:tools is only needed in the
source file to ignore some lint warnings.
2017-05-10 23:18:28 +02:00
Hans-Christoph Steiner
3df626aed1
sync up translation scripts to use the same code
...
To keep these scripts simple and readible, it makes sense to keep them
as separate scripts. But they should use the same approach as much as
possible.
2017-05-10 23:18:28 +02:00
Hans-Christoph Steiner
082b6091fc
move all translation scripts to tools/
...
I think we should just move all the scripts to tools/, app/tools is
confusing, not very visible, and non-standard.
2017-05-10 23:18:28 +02:00
Hans-Christoph Steiner
b99e95304e
remove pull-trans.sh, weblate is merged via merge requests now
...
gitlab handles the squashing, then we have a publicly available history
of the unsquashed commits in the merge request.
2017-05-10 23:18:28 +02:00
Hans-Christoph Steiner
9d2e981d5e
add script to remove incomplete translations
...
closes #858
2017-04-07 14:50:53 +02:00
Daniel Martí
5052266450
pull-trans: fix "Added translation" commits
...
The weblate commits now take two forms:
Translated using Weblate ($LANG)
Added translation using Weblate ($LANG)
Adapt the regex to reflect both, avoiding the latter form from screwing
everything up.
2016-06-08 23:25:54 +01:00
Daniel Martí
128d390e9c
wait-for-emulator: don't prepend "unknown"
...
This way, error lines like this one:
Waiting for emulator to start: unknown: error: no devices found
Become:
Waiting for emulator to start: error: no devices found
2016-04-29 20:49:19 +01:00
Daniel Martí
7bc130d81a
wait-for-emulator: skip adb log messages
...
Otherwise, we'd interpret this as "booting", which is wrong:
$ adb -e shell getprop init.svc.bootanim
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: no devices found
2016-04-29 20:46:25 +01:00
Daniel Martí
7a220077c5
pull-trans: do not revert changes in HEAD
...
Using .. instead of ... means that changes in HEAD not yet pushed (and
hence not in the weblate branch) will be reverted.
2016-01-06 18:03:46 +01:00
Daniel Martí
c8f495ec16
Move wait-for-emulator out of F-Droid subdir
...
It doesn't specifically apply only to the client.
2015-10-01 19:50:37 -07:00
Daniel Martí
7e02518394
pull-trans: fix adding new files
...
Using find means that we limit ourselves to existing files.
2015-09-23 22:53:31 -07:00
Daniel Martí
6853f9a306
pull-trans: use team@ instead of admin@, typo fix
2015-09-17 19:37:42 -07:00
Daniel Martí
7440cf1b74
Add script to pull+squash from weblate. Fixes #140
2015-09-17 19:28:42 -07:00
Daniel Martí
06dd4c8dcb
Move F-Droid project into subdir, keeping a root gradle project
...
Also improved .gitignore a tad
2014-12-09 15:36:07 +01:00
Ron Rieve
3e5f3d45a6
Create zips to install and remove F-Droid as system app
...
Adds a script zip-build.sh which creates CWM-flashable zips to install/update and remove F-Droid as system/privileged app.
2014-09-03 01:47:32 +02:00
Daniel Martí
0f98042520
Remove broken support for repo and Android.mk
...
* The repo instructions are just a duplicate of the simple git submodules
* The Android.mk build instructions don't work and will never support what
e.g. gradle does
Anyone wanting to bundle F-Droid in a ROM can build it with git and gradle,
and then including the resulting apk.
2014-05-20 18:39:26 +02:00
Daniel Martí
9bd33003a0
Add a script to fix format problems automatically
2014-04-25 10:22:42 +02:00
Daniel Martí
2cdb634865
Fixes #6 : Spaces before ellipsis in German are OK
2014-04-10 15:23:19 +02:00
Daniel Martí
edd2de49c3
Use HEAD instead of LAST_STABLE_TAG
2014-04-01 15:16:24 +02:00
Daniel Martí
19aa5eb7f7
Make fix-ellipsis remove weird spaces too
2014-03-22 13:20:36 +01:00
Daniel Martí
12a9a1cf29
New script: Update repo xml data with git repo/submodule data
2014-03-17 14:01:08 +01:00
Daniel Martí
5292acfef0
Add support for arrays in remove-unused-trans
2014-02-10 09:23:27 +01:00
Daniel Martí
a01bcd6be2
Don't use find in fix-ellipsis
2014-01-29 23:44:49 +01:00
Daniel Martí
cb68daa7f9
New script: remove-unused-trans
2014-01-29 23:43:56 +01:00
Daniel Martí
3567d9e113
Make fix-ellipsis.sh more accurate
...
* Don't do dirs like res/layout
* Do xml files other than strings.xml like arrays.xml
2014-01-10 22:41:50 +01:00
Daniel Martí
648f23e15a
Add fix-ellipsis script
2014-01-08 13:09:41 +01:00
Daniel Martí
03dc389f85
Update change-package-name.sh
2014-01-08 13:06:53 +01:00
Ciaran Gultnieks
5fa4dde379
Remove all android2po/pootle-related stuff
...
No longer required
2013-11-08 22:04:13 +00:00
Daniel Martí
f801ed3b23
Move po scripts to tools/ dir
2013-09-22 00:12:36 +02:00
Daniel Martí
e1ef7491c4
Forgot one variable
2013-06-30 22:34:42 +02:00
Daniel Martí
55389ce735
Don't overwrite $PATH
2013-06-30 22:31:56 +02:00
Daniel Martí
bd906c2f68
change-package-name changes:
...
- It now takes two arguments, new package ID and new package name
- Source path is now resolved from the package ID
- Add -x so that executed commands are seen on screen
2013-06-27 15:39:17 +02:00
David Black
fd1b0cbb59
Script for changing the package name and app name
2013-06-13 16:14:26 +01:00