-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhance and fix translation on JSON api and AJAX #353
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me know in case of any further questions.
@@ -336,7 +336,7 @@ | |||
"</div>" | |||
], | |||
"tests": [ | |||
"assert(code.match(/filter/gi), 'message: You should be making use of the .filter method.');" | |||
"assert(code.match(/filter/gi), 'message: 你应该使用 .filter 这个方法。');" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might wanna consider onsider <code>.filter</code>
?
"description": [ | ||
"我们还可以通过浏览器<code>navigator</code>获得我们当前所在的位置<code>geolocation</code>。", | ||
"位置的信息包括经度<code>longitude</code>和纬度<code>latitude</code>。", | ||
"在浏览器中还有一个很棒的功能就是我们还可以通过<code>navigator</code>来获得我们当前所在的地理位置<code>geolocation</code>。", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
还有一件很棒的事情,我们可以获取用户的当前位置。每个浏览器都有自带的 Navigator
接口供我们调用。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
昨晚我就想了有点怪,不过感觉怎么感觉还是很绕口233 不过再改改吧。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 💯
In this PR:
Fix Issue: #346
Enhance and fix translation on challenge JSON api and AJAX.