Commit Graph

58 Commits

Author SHA1 Message Date
Sajjad Anwar
dffeedffc9 Moved area-keys to data, and process it during runtime 2014-10-23 15:52:29 -07:00
John Firebaugh
dd0e08b244 Write presets and imagery to standalone files 2014-10-23 15:52:29 -07:00
John Firebaugh
2edea8f5fd Add taginfo projects data
https://wiki.openstreetmap.org/wiki/Taginfo/Projects
2014-09-05 09:56:58 -07:00
John Firebaugh
9f00e465e9 Revert brand-related preset changes
I'm not convinced we shouldn't be encouraging simply tagging
`name=McDonald's`, `name=Shell`, etc., without `brand` or
`operator` at all.
2014-07-25 10:02:12 -07:00
Bryan Housel
4f141a153e name suggestions should set name and also brand (see #2300) 2014-07-22 14:44:25 -04:00
Christian Schwarz
81effc23cf Removed local countries.json 2014-06-05 20:33:38 +02:00
Christian Schwarz
b3acd56bbb Added support for localization of address fields 2014-06-03 22:49:42 +02:00
Bryan Housel
941ee1d88c Allow suggestion if preset with same name exists, pick suggestion w highest count..#2224 2014-05-28 13:17:48 -04:00
tyr
4de0c6cb4e do not write any data files if preset validation fails 2014-01-15 22:36:53 +01:00
tyr
80dbf3085e add consistency checks for fields of presets and presets in categories 2014-01-15 22:23:11 +01:00
John Firebaugh
e6af18800f Merge remote-tracking branch 'origin/quick-add' 2013-11-26 12:40:07 -08:00
Aaron Lidman
efd49c8f5b Simplify tag assignment
which reordered the tags as well :/
2013-11-26 09:57:46 -08:00
Aaron Lidman
dcb901e1c2 Added countThreshold to limit presets
Didn’t realize the presets would be so large, here’s a way of
throttling them based on the count property if we need to.
2013-11-25 16:39:39 -08:00
Aaron Lidman
3a3e601c33 Tags are now their own property 2013-11-25 14:50:59 -08:00
Aaron Lidman
3bbc5af92e Simplify suggestion preset building 2013-11-22 17:40:14 -08:00
Aaron Lidman
01b31896c4 Fixed dumb break 2013-11-21 18:37:54 -08:00
Aaron Lidman
c0bc25bfcd Copy presets from parent presets to quick add presets 2013-11-21 16:31:41 -08:00
Vladimir Agafonkin
831f4964aa fix build and tests, add missing methods to lodash build 2013-11-22 01:19:09 +02:00
John Firebaugh
4831f84480 Placate jshint 2013-11-21 14:39:00 -08:00
John Firebaugh
8ec53185df Build iD.Way.areaKeys from presets
This eliminates the possibility that a feature will
flip from area to line when you apply a preset.

Fixes #1996
2013-11-21 13:53:06 -08:00
Aaron Lidman
471a710f39 Improve quick add preset building 2013-11-21 13:25:53 -08:00
Aaron Lidman
7875aad238 Convert suggestions into presets 2013-11-20 15:45:27 -08:00
Aaron Lidman
19c0da82b1 Add name-suggestion-index sources 2013-10-31 15:11:51 -07:00
John Firebaugh
4dad690a01 Refine power=generator preset (fixes #1675) 2013-08-13 13:06:13 -07:00
John Firebaugh
9d954ac043 Permit translating all preset term lists
Transifex ignores empty strings, so ensure that every
preset terms list is a string by using placeholder text.
Hopefully this leads to more translators knowing what
to do with terms, and not to them translating the placeholder
literally.

Fixes #1633
2013-07-22 16:55:25 -07:00
John Firebaugh
182849cbe6 Make preset field placeholders translatable 2013-05-28 11:07:36 -07:00
John Firebaugh
275696caaa Fix icons for lines that use maki (fixes #1371)
Generate a single feature-icons.json and feature-icons.css.
In the JSON, features with a line icon are indicated by the
presence of a `line` property. PresetIcon looks for this to
determine whether or not to add the `preset-icon-line` class.
New line icons may be added by editing line-icons.json.
2013-04-24 12:32:36 -07:00
John Firebaugh
d8751fad8d Polish spriting code
* Smaller make-sprite.json.
* Convert operation sprite data to JSON, eliminating
  fragile stylesheet grepping.
2013-04-23 09:45:37 -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
61802674a4 Don't need keys in dist build 2013-04-22 14:45:54 -07:00
John Firebaugh
d66760326b Load translations on demand (fixes #1337) 2013-04-22 14:29:43 -07:00
Ansis Brammanis
d21d52d905 add maki as dependency, new sprite script
issue #1319
2013-04-19 14:51:48 -04:00
John Firebaugh
19bcd711ec Split categories into separate files; translate 2013-04-15 16:09:49 -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
Ansis Brammanis
bae7b13425 Localize maxspeed field (mph and km/h) 2013-04-01 19:36:39 -04:00
Ansis Brammanis
e82df13a28 wikipedia input field 2013-04-01 15:55:37 -04:00
Ansis Brammanis
b00c8d5e84 add intro translation strings to core.yaml 2013-03-29 13:41:35 -04: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
d6df439360 Merge remote-tracking branch 'systemed/master' into intro
Conflicts:
	build.js
	data/locales.js
2013-03-26 13:17:35 -04:00
Tom MacWright
b54e7255b6 Fix docs instead of doc in data 2013-03-25 17:33:53 -04:00
Ansis Brammanis
73bf7b108a intro tutorial work in progress 2013-03-25 13:22:37 -04:00
Tom MacWright
4ab03064b0 Add help UI style, help.title translation 2013-03-22 14:47:29 -04:00
Tom MacWright
64bec11fb9 Initial help ui 2013-03-22 13:40:30 -04:00
Tom MacWright
b921ce4348 Add initial inline docs, build script for doc.json 2013-03-22 13:09:18 -04:00
Ansis Brammanis
aa4d54c329 stop adding extra line break when building locales.js
fixes #1090
2013-03-20 10:57:54 -04:00
John Firebaugh
53820dc75d Validate preset json (fixes #1042) 2013-03-19 15:01:26 -07:00
Ansis Brammanis
f392b3cacc build.js now updates locales with local en changes 2013-03-19 15:31:13 -04:00
John Firebaugh
2fc4f041d7 Make preset search terms localizable (fixes #1043) 2013-03-18 16:08:30 -07:00
John Firebaugh
66b9054e38 Generate preset translations from .json files
This makes the .json files the one-stop-shop for adding/modifying
presets. You don't have to remember to also update presets.yaml.
2013-03-18 14:56:50 -07:00
John Firebaugh
d0336a0995 Extract preset names to translations (fixes #1044) 2013-03-14 17:27:34 -07:00