Merge branch 'develop_2.0' of github.com:swagger-api/swagger-ui into develop_2.0

This commit is contained in:
Tony Tam
2015-06-03 22:48:08 -07:00

View File

@@ -29,7 +29,7 @@ window.SwaggerTranslator = {
},
_tryTranslate: function(word) {
return this._words[word] !== undefined ? this._words[word] : word;
return this._words[$.trim(word)] !== undefined ? this._words[$.trim(word)] : word;
},
learn: function(wordsMap) {