Ævar Arnfjörð Bjarmason
1facda11d6
A hacky in-process script for merging translations from Translatewiki
...
while working around all the bugs in #2305
2009-09-28 19:06:34 +00:00
Ævar Arnfjörð Bjarmason
088bd1dcb2
Deal with values which are arrays, before and after:
...
avar@aoeu:~/src/osm/sites/rails_port/config/locales$ perl ../../script/locale/diff --dump-flat de.yml|egrep "Nähe|Uni"
message.inbox.people_mapping_nearby: Mappern in deiner Nähe
message.outbox.people_mapping_nearby: Mappern in deiner Nähe
- "Universit\xC3\xA4t"
user.friend_map.nearby mapper: "Mapper in der Nähe: [[nearby_user]]"
user.view.nearby users: "Benutzer in der Nähe:"
user.view.no nearby users: Es gibt bisher keine Benutzer, die einen Standort in deiner Nähe angegeben haben.
avar@aoeu:~/src/osm/sites/rails_port/config/locales$ perl ../../script/locale/diff --dump-flat de.yml|egrep "Nähe|Uni"
message.inbox.people_mapping_nearby: Mappern in deiner Nähe
message.outbox.people_mapping_nearby: Mappern in deiner Nähe
- Universität
user.friend_map.nearby mapper: "Mapper in der Nähe: [[nearby_user]]"
user.view.nearby users: "Benutzer in der Nähe:"
user.view.no nearby users: Es gibt bisher keine Benutzer, die einen Standort in deiner Nähe angegeben haben.
2009-09-26 20:03:52 +00:00
Ævar Arnfjörð Bjarmason
2b2e754b3d
Quick hack to add --dump-flat to get a human-readable flat version of the hash
2009-09-23 20:36:09 +00:00
Ævar Arnfjörð Bjarmason
88060d443e
oops, wrong e-mail address
2009-09-07 19:29:25 +00:00
Tom Hughes
73340e1780
Add support for reloading the language table.
2009-09-03 21:55:42 +00:00
Ævar Arnfjörð Bjarmason
e2abf1254b
* Turn the hardcoded #<%= changeset.id %> into t('msg', :id =>
...
changeset.id). Some languages may have a different numeric
indicator than the ASCII pound symbol
* Instead of including a column on :user/edits with a "more" link
make the changeset ID link to the changeset page.
2009-07-29 11:05:17 +00:00
Ævar Arnfjörð Bjarmason
dc9e1da15b
Ignore geocoder.search_osm_namefinder.* messages that I don't intend to translate
2009-07-28 11:22:29 +00:00
Tom Hughes
ea45f3b71c
Make sure we always call fileparse() in scalar context.
2009-07-21 12:20:02 +00:00
Tom Hughes
e82496a9e5
Use File::Basename instead of having our own half-arsed version.
2009-07-21 09:51:33 +00:00
Ævar Arnfjörð Bjarmason
8d76bf978a
Use LoadFile(*DATA) to load the __DATA__ section as YAML
2009-06-29 01:42:40 +00:00
Ævar Arnfjörð Bjarmason
df07980b15
Add entries to is: blacklist
2009-06-29 01:41:33 +00:00
Ævar Arnfjörð Bjarmason
12f78fc254
Add browse.relation_member.entry to the blacklist
2009-06-28 18:52:41 +00:00
Ævar Arnfjörð Bjarmason
d8889d5ef6
Only report something in --untranslated-values if it exists in the
...
target translation. Users should use --keys to check what doesn't
exist in the target.
Add a blacklist for Icelandic at the end of the file.
2009-06-26 18:51:50 +00:00
Ævar Arnfjörð Bjarmason
b7e93a834c
Update synopsis to include --untranslated-values
2009-06-26 10:48:30 +00:00
Ævar Arnfjörð Bjarmason
2ec4555edf
Add a --validate-variables option to check that interpolated Ruby i18n
...
variables (C<{{foo}}> and C<[[foo]]>) are equivalent in the two
provided files.
Depend on 5.10 because I'm lazy and want to use smart-matching
2009-06-25 12:48:40 +00:00
Jonas Krückel
592ffc0253
removed anon_edits link from the de blacklist
2009-06-23 14:58:52 +00:00
Jonas Krückel
043ed6449c
removed urls (they need to point to a translated version (maybe still to be done) too)
...
added new string
2009-06-23 14:54:26 +00:00
Jonas Krückel
b6449d246b
removed license_url from blacklist
...
added de blacklist
2009-06-22 19:28:29 +00:00
Ævar Arnfjörð Bjarmason
abf35182a7
Remove debugging code
2009-06-22 19:07:03 +00:00
Ævar Arnfjörð Bjarmason
b26b6c9478
Add some more stuff to the translation blacklist
2009-06-22 18:43:10 +00:00
Ævar Arnfjörð Bjarmason
570491d8e2
sort untranslated_keys output again
2009-06-22 18:40:35 +00:00
Ævar Arnfjörð Bjarmason
ca911e928e
Support blacklists/whitelists for --untranslated-values output
2009-06-22 18:32:01 +00:00
Ævar Arnfjörð Bjarmason
2ad330d642
Change option names and improve POD
2009-06-22 16:32:58 +00:00
Ævar Arnfjörð Bjarmason
9721a9a96e
Add --untranslated-values to spot things that haven't been translated
2009-06-22 16:27:40 +00:00
Ævar Arnfjörð Bjarmason
d3dd0229cb
Don't use Data::Walk and instead construct a flattened list of hash
...
values using a custom recursive walker (stolen from yaml2po).
This makes reading the output a whole lot easier.
2009-06-22 16:05:28 +00:00
Tom Hughes
719a06fdfa
Add irs_process_scripts plugin to replace process control scripts used
...
by live site which were dropped in rails 2.3 core.
2009-06-15 11:32:41 +00:00
Thomas Wood
9f9efa7d45
Catch creation of en.po
2009-06-05 22:38:04 +00:00
Thomas Wood
902a44e630
Add bulk yaml production to yaml2po
2009-06-05 22:27:21 +00:00
Thomas Wood
bb214eebc2
Add the counterpart script, po2yaml, and use strctxt rather than #: for identifying strings.
2009-06-05 19:03:39 +00:00
Tom Hughes
c153de287a
Adjusted for new location of script.
2009-06-04 21:53:49 +00:00
Štefan Baebler
cd9bdcf28a
added svn:executable property
2009-06-04 05:38:26 +00:00
Tom Hughes
4e8f35012a
Reorganise locale scripts.
2009-06-03 23:05:38 +00:00
Thomas Wood
33e38572ed
Beginnings of a yaml2po script, to aid integration with places like transifex
...
The po2yaml script may come tomorrow :)
2009-06-03 20:02:25 +00:00
Ævar Arnfjörð Bjarmason
5d675b4233
A utility to print the structural differences between two files in config/locales
2009-06-02 22:28:55 +00:00
Shaun McDonald
62f999cd83
Updating for rails 2.2.2
2009-05-08 18:04:08 +00:00
Tom Hughes
088b4ae1e2
Do the statistics generation in a transaction.
2009-04-30 07:54:26 +00:00
Tom Hughes
5c734eb7ae
Use :joins instead of :include to pull in the changesets - this does an
...
inner join instead of a left outer join (which is fine as all objects should
have a changeset) and more importantly stops rails generating a subquery
that doesn't work.
2009-04-29 23:45:54 +00:00
Tom Hughes
6ee333cba7
Use postgres interval syntax.
2009-04-22 13:41:17 +00:00
Tom Hughes
9b2248e8fb
The active flag is still an integer for some reason, not a boolean.
...
Closes #1727 .
2009-04-22 13:34:12 +00:00
Tom Hughes
2e2b556a25
Fix statistics script to work with 0.6 database schema.
2009-04-16 11:38:02 +00:00
Tom Hughes
b8f3742bc3
Make the cleanup script work a chunk at a time so we don't run out of
...
memory when there are lots of sessions.
2008-08-08 15:49:29 +00:00
Tom Hughes
3336fd9469
Link to user pages.
2008-08-03 20:58:58 +00:00
Xin Zheng
6de965520b
added application.yml, refactored map method
2008-01-23 16:43:30 +00:00
Tom Hughes
f29300bf1a
Stop trying to report on the number of ways with tags because (a) almost all
...
ways have tags so it isn't very interesting and (b) it locks up the API every
night as it involved a join to a MyISAM table.
2008-01-07 00:33:54 +00:00
Tom Hughes
e8dbe46f7e
Use a consistent name for the variable holding the relation count.
2007-10-07 14:16:14 +00:00
Frederik Ramm
27834b0a82
add relations to stats
2007-10-05 01:10:23 +00:00
Frederik Ramm
78b440ffc1
preliminary commit 0.5 API with relations / untested after entity-relation rename, some changes still in queue
2007-08-29 22:00:26 +00:00
Tom Hughes
22bcfb1240
Replace the old session cleanup daemon with a new script to be run from
...
cron periodically.
2007-08-25 09:53:07 +00:00
Tom Hughes
0eee4fecbe
Fix counting of tagged ways, and handle having more users in the days
...
columns than the other columns.
2007-08-01 16:05:13 +00:00
Tom Hughes
d34bc8cb52
Fix the "number of users editing..." table.
2007-08-01 15:19:45 +00:00