Kushan Joshi
6ef52256f3
Migrating to lodash v4
2016-05-17 12:37:25 +05:30
Peter Dobratz
2d9327c5b9
phone placeholder from country being edited
...
Prefer to pull in phone placeholder text based on the country currently
being edited. Fallback to using placeholder text based on user’s
locale settings.
rename phone placeholders to phone formats
add Germany example phone number
See [German Wikipedia article
E.123](https://de.wikipedia.org/wiki/E.123 )
check for null in focus
check that input.node() is not null in i.focus()
2016-05-12 14:13:35 -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
d5dcc1ff1a
More cleanups to iD-sprite and styles, remove old png and json files
2015-10-29 23:18:21 -04:00
Bryan Housel
549a14fd55
Add actual tag values as comments for Transifex in presets.yaml
...
(re: #2646 )
2015-05-29 23:50:16 -04:00
Michael Maier
a540637d4d
fix: build.js tests wrong fields in validatePresetFields()
...
validatePresetFields() tested old fields from file, not newly aggregated ones
2015-04-30 02:36:51 +02:00
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