Skip to content

Commit

Permalink
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-ui into …
Browse files Browse the repository at this point in the history
…develop_2.0
  • Loading branch information
fehguy committed Jun 4, 2015
2 parents 3bd4edd + e932151 commit 1f6d89c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lang/translator.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1f6d89c

Please sign in to comment.