mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-20 01:53:28 +00:00
Merge pull request #2772 from M1dgard/fix-terms
Fix "terms" translations (closes #2756)
This commit is contained in:
@@ -46,7 +46,7 @@ iD.presets.Preset = function(id, preset, fields) {
|
||||
};
|
||||
|
||||
preset.terms = function() {
|
||||
return preset.t('terms', {'default': ''}).split(',');
|
||||
return preset.t('terms', {'default': ''}).toLowerCase().split(/\s*,+\s*/);
|
||||
};
|
||||
|
||||
preset.isFallback = function() {
|
||||
|
||||
Reference in New Issue
Block a user