Merge pull request #1316 from bnupaladin/develop_2.0
Update translator.js
This commit is contained in:
@@ -29,7 +29,7 @@ window.SwaggerTranslator = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
_tryTranslate: function(word) {
|
_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) {
|
learn: function(wordsMap) {
|
||||||
|
|||||||
Reference in New Issue
Block a user