Bryan Housel
440b01a6ca
Use json-stringify-pretty-compact for compacter json
...
(this reduces a few file sizes and will make for better github diffs)
2018-06-15 11:48:07 -04:00
Bryan Housel
82133d4577
Upgrade 'std/esm' to 'esm', fixing the build issues on Node 10
...
(closes #5028 , re: a065f2f2 )
'std/esm' has been replaced with just 'esm'
This fixes the build for Node 10 and we can return to using
the current version now that we've dropped support for Node 4
2018-05-11 09:41:26 -04:00
Bryan Housel
89798ad865
Add community translation resource and npm run translations
2018-04-07 13:44:44 -04:00
Bryan Housel
13789cc86e
Hardcode ckb as RTL and ku as LTR
...
(closes #4783 )
2018-03-06 15:41:13 -05:00
Bryan Housel
c8e89b7a05
Update @std/esm to v0.20.0
2018-01-29 09:46:35 -05:00
Wojciech Dzikowski
1c831b2b7f
Lodash dependencies removed from build scripts
...
1. @std/esm added to handle ES6 imports in older node version
2. Swapped lodash dependencies for lodash-es in build scripts
2017-10-17 16:58:08 +02:00
Bryan Housel
9f1d476594
Attempt to remove d3, lodash from bundle, but leave available for tests
2017-09-26 14:19:14 -04:00
Bryan Housel
3d208311bd
Change imagery Transifex to YAML, use translated name and description
2017-06-16 00:51:04 -04:00
Bryan Housel
7be29479af
Download and merge imagery resource from Transifex
2017-06-15 16:17:14 -04:00
Bryan Housel
7843478633
Download and merge imagery resource from Transifex
2017-06-15 14:44:02 -04:00
Bryan Housel
ab9f48d416
Slow down transifex just a bit more
2017-04-12 12:45:45 -04:00
Bryan Housel
5494d0990a
Pull RTL/LTR from Transifex
...
(closes #3489 )
2016-11-27 23:56:17 -05:00
Bryan Housel
a614ebcfb5
Fix generation of locales.json
2016-10-26 16:47:16 -04:00
Bryan Housel
577637f97a
npm run translations
2016-10-26 16:38:16 -04:00
Bryan Housel
8fb5f3a5a1
Degunk data sources by named-importing single toplevel key
...
See: https://github.com/openstreetmap/iD/issues/3403#issuecomment-245150454
This change drops the iD.js bundle size from 4.5MB to 3.4MB, and makes it
much more readable, which is nice for debugging. This does not affect the
minified bundle size.
2016-10-26 16:29:49 -04:00
Tom MacWright
604d1e2719
import lodash ( #3257 )
2016-07-19 12:04:16 -04:00
Bryan Housel
8a578fc1d8
Slow down Transifex
...
per: http://docs.transifex.com/api/#api-rate-limits
Rackspace seems to rate limit GET requests to 5/sec
2016-06-07 14:41:33 -04:00
Bryan Housel
8a99e3de7e
Transifex API is now https
2016-06-07 12:56:06 -04:00
Bryan Housel
84c98dacb7
Restore generated files in git and 4 space json
...
90cd412bbe (commitcomment-15780969)
2016-02-01 12:27:29 -05:00
Bryan Housel
90cd412bbe
Don't check in as many data/ generated files, less agressive minification
...
(partial revert of c2833ba to help prevent merge conflicts)
2016-01-29 23:28:37 -05:00
Bryan Housel
c2833baba0
Generate smaller files
2016-01-19 22:56:36 -05:00
Bryan Housel
bd03cc4a64
Exclude empty translation files from Transifex ( closes #2528 )
...
re: https://github.com/openstreetmap/iD/issues/2528#issuecomment-75840469
2015-05-28 22:09:34 -04:00
Bryan Housel
b4982afdf1
Remove delve dependency, wasn't actually used..
2015-05-28 14:19:55 -04:00
John Firebaugh
39544265a8
Use reviewed vi translations
...
On request of vi coordinator (1ec5)
2013-08-06 13:57:21 -07:00
John Firebaugh
92ee0e1ac4
Fix update_locales for zh-TW and similar ( fixes #1634 )
2013-07-18 17:54:46 -07:00
John Firebaugh
53f7c106cc
Remove obsolete validation
2013-07-18 17:35:29 -07:00
John Firebaugh
fdc2b9dec6
Add some validation for #1423
2013-05-09 16:13:24 -07:00
John Firebaugh
499aa6fb7c
Language tags use dash separator ( fixes #1434 )
2013-05-08 12:02:33 -07:00
John Firebaugh
e0892eb1b7
Don't request locales we don't have; use fallback locales
2013-04-22 14:55:30 -07:00
John Firebaugh
d66760326b
Load translations on demand ( fixes #1337 )
2013-04-22 14:29:43 -07:00
John Firebaugh
687b7516d6
Split locales into individual files
...
This avoids a fragile regexp for the en special case.
2013-04-06 18:26:37 -07:00
John Firebaugh
2c68e0efd7
presets.yaml shouldn't be edited either
2013-04-03 16:18:02 -07:00
John Firebaugh
f897504443
Add warning to generated file
2013-04-03 16:12:47 -07:00
Tom MacWright
b59f28424c
Translatable documentation, Fixes #1108
...
* Adds Marked
* Fixes a global leak in toGeoJSON
* Removes marked from package.json
* Adds documentation to core.yaml
* Removes stray console.log from tests
2013-03-27 14:34:34 -04:00
Ansis Brammanis
f392b3cacc
build.js now updates locales with local en changes
2013-03-19 15:31:13 -04:00
Ansis Brammanis
3606ccf85f
use local english source in make translate
2013-03-15 18:18:57 -04:00
John Firebaugh
b840b7e118
Update translations
2013-03-14 17:58:32 -07:00
Ansis Brammanis
383c12babc
add preset translations to transifex
2013-03-13 18:24:53 -04:00
Ansis Brammanis
8094d6e682
add script for pulling translations from transifex
2013-03-13 17:46:34 -04:00