-
Notifications
You must be signed in to change notification settings - Fork 182
Add globalization #178
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
Add globalization #178
Conversation
59f97ed to
d6eb119
Compare
| .idea | ||
| !intl/ | ||
| intl/* | ||
| !intl/en/ |
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.
I would use two lines. Please see : https://github.com/strongloop-internal/loopback-knowledge-base/pull/51/files
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.
Nitpick: We usually leave one blank line at the end of file.
|
only one comment about wrapping |
lib/mysql.js
Outdated
|
|
||
| if (operatorValue.multiline) | ||
| console.warn('MySQL regex syntax does not respect the `m` flag'); | ||
| g.warn('{{MySQL}} regex syntax does not respect the {{`m`}} flag'); |
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.
ditto
|
@0candy reviewed; added a bunch of nitpicks... I leave it to you to address them or leave them as it is now |
fe72d6a to
b8d0858
Compare
|
|
||
| var g = require('strong-globalize')(); | ||
|
|
||
| var async = require('async'); |
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.
Nitpick: What is this extra line between variables?
|
Two minor comments which feel free to ignore. code changes LGTM. Please check CI tests. |
intl/en/messages.json
Outdated
| "610db3e4d1e877d985000ed09fb01fb9": "callback should be a function", | ||
| "a354e762822e356af4bfa3299fd29b0a": "{{MySQL}} regex syntax does not respect the {{`g`}} flag", | ||
| "cecffcfbf707d97548dcd5859c80b171": "{{MySQL}} regex syntax does not respect the {{`i`}} flag", | ||
| "d230064cbc14fe9bfcf2fb2072c16fb2": "{{MySQL}} regex syntax does not respect the {{`m`}} flag" |
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.
you forgot to to do slt-globalize -e and slt-globalize -l to update this file?
|
@slnode test please |
strongloop/loopback#2422