Eric House
b3852ba603
cast to int so doesn't get turned into a string on the java side
2014-06-18 06:46:45 -07:00
Eric House
3e107a82e2
include word count and file size
2014-06-18 05:18:22 -07:00
Eric House
45ebb8d3b9
put dict list info in shelf for faster response
2014-06-07 17:57:43 -07:00
Eric House
d54bbb3beb
don't barf when something not found in git history -- just return nothing, as it's the dev case
2014-06-07 17:50:35 -07:00
Eric House
d55dd7e206
change format of downloadable dict info. Late checkin: Android code's
...
been counting on this for several days.
2014-06-03 07:43:47 -07:00
Eric House
092c0f54c8
include md5sums of dicts in json
2014-05-28 20:45:55 -07:00
Eric House
5d0a6babae
add function to list all wordlists by lang in a json -- toward not
...
using webview for download function.
2014-05-28 07:14:45 -07:00
Eric House
937e1fa9a9
don't upgrade app and translations at the same time (since new app may
...
behave differently once installed)
2014-05-28 06:43:37 -07:00
Eric House
f87bf2f95d
allow non-English strings.xml files to have duplicate text
2014-05-22 06:07:55 -07:00
Eric House
9a9a4e2991
add option to replace %s with %1$d etc.
2014-05-20 20:53:48 -07:00
Eric House
1ebf51d3ab
when building from modified tree, still use latest commit number for
...
about box for easier debugging. Shouldn't matter for releases.
2014-05-19 07:15:21 -07:00
Eric House
f8dbc91cb0
don't set constant if R.java has uncommitted changes
2014-05-19 07:10:29 -07:00
Eric House
c42e5f2c0f
keep elipses char where it belongs when reversing rest of strings
2014-05-11 20:15:10 -07:00
Eric House
49001c6893
various changes so dbg and bt versions build again -- and may work, but
...
that's not tested yet.
2014-05-11 19:55:05 -07:00
Eric House
2a3b8c7a74
when reversing words, preserve capitalization (i.e. start don't end with a cap)
2014-05-10 06:52:26 -07:00
Eric House
c06f0e157d
first cut at file to clean up variant trees by removing anything not
...
under version control
2014-05-10 06:50:55 -07:00
Eric House
30b966b902
generate fake translations automatically
2014-05-06 07:47:29 -07:00
Eric House
c0afd40337
update test section to work again
2014-05-06 07:25:00 -07:00
Eric House
0ff09868cb
Query user before removing build dir
2014-05-06 06:58:57 -07:00
Eric House
477019757e
make getopt flags match what usage says is there
2014-05-04 16:39:56 -07:00
Eric House
1fcf9027cb
when looking for a translation for locale xx_YY, if there is none try
...
again for just xx. And silently drop strings in the translation file
with names that don't exist in English, though eventually that
shouldn't happen. With this change a newly installed app on a
claiming-to-be-Czech emulator picks up the Czech translation within
moments.
2014-05-04 16:26:35 -07:00
Eric House
6d60e45eb9
tweak fake translation generation (and include new strings)
2014-05-02 22:08:44 -07:00
Eric House
43f90cb3b0
use -1 as array index
2014-05-02 22:03:02 -07:00
Eric House
ad65b93ef2
changes necessary to actually return a translation based on revision
...
hash of R.java passed by client, or none if it already has it. Rough,
but works.
2014-05-02 22:00:25 -07:00
Eric House
8d6f46fa22
snapshot. Should work for current case where the newest R.java is older than the app connecting
2014-05-01 08:15:42 -07:00
Eric House
7b40abfa2f
more features and some refactoring
2014-05-01 08:14:40 -07:00
Eric House
164387b37d
update to use mygit
2014-04-30 07:25:23 -07:00
Eric House
6d194e5362
don't chdir (which isn't cool when a cgi); use subprocess's cwd param instead
2014-04-30 07:08:59 -07:00
Eric House
d91c307792
include hash of current R.java in xlation update json, not of the entire app
2014-04-30 03:29:47 -07:00
Eric House
a3bcef18f0
add more functionality
2014-04-29 21:15:50 -07:00
Eric House
a7c4730eb5
start of a file to interact with git for getting xlations
2014-04-29 06:53:02 -07:00
Eric House
4279457471
name change to remind what script is doing
2014-04-29 06:43:11 -07:00
Eric House
b4d5130588
Merge remote branch 'origin/android_localize' into android_localize
2014-04-29 06:39:35 -07:00
Eric House
7ea037d56a
work with arrays of locales
2014-04-29 06:33:14 -07:00
Eric House
be817feb55
add git rev hash as constant (and usage())
2014-04-27 20:03:08 -07:00
Eric House
b87a7e808c
don't fail building if scp fails
2014-04-27 19:08:04 -07:00
Eric House
8612a5f624
use IDs rather than english strings as keys in passing
...
translations. Requires parallel change on client, and currently
doesn't quite work because e.g. \n is not replaced before the
translation is rendered.
2014-04-24 06:24:38 -07:00
Eric House
1e5a474692
remove unneeded param
2014-04-24 06:21:10 -07:00
Eric House
6d7d4955a0
more informative log message
2014-04-23 19:38:16 -07:00
Eric House
780b22678e
add param caller expects
2014-04-23 19:35:35 -07:00
Eric House
36f839f8d1
more stuff to not reverse/capitalize (e.g. "\n"); print to stdout by default
2014-04-23 19:35:10 -07:00
Eric House
19c32b0444
Merge branch 'android_branch' into android_localize
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2014-04-23 07:44:51 -07:00
Eric House
e25a0e7dbc
changes for translation downloading
2014-04-23 07:39:36 -07:00
Eric House
66768c7e7d
better formatting and key identity checking
2014-04-22 07:30:32 -07:00
Eric House
94597ee287
record R.java where it won't be used. I want to see how often, and in what ways, it changes.
2014-04-21 19:46:27 -07:00
Eric House
45b1b0bfa8
script to produce the translation array that's downloaded to device
2014-04-21 07:13:41 -07:00
Eric House
0bf8b45157
implement reverse fake-locale
2014-04-20 21:36:41 -07:00
Eric House
5d3beb6404
script to generate fake locales from English strings.xml for use testing downloading translations
2014-04-20 21:26:43 -07:00
Eric House
e0404801ba
fix clean builds
2014-04-18 19:25:40 -07:00
Eric House
538cd7b154
disallow duplicate strings in strings.xml, manually appending #<digit>. Will eventually filter that out of displayed strings.
2014-04-16 21:14:53 -07:00