-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
[i18n] Translate angular-bootstrap #28650
[i18n] Translate angular-bootstrap #28650
Conversation
💔 Build Failed |
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, please fix missing quotes.
I've checked with pseudo-locale.
💔 Build Failed |
retest |
💔 Build Failed |
💔 Build Failed |
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.
Please translate src/ui/public/angular-bootstrap/pagination/pagination.js
@maryia-lapata I've translated |
💚 Build Succeeded |
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, just one suggestion
@@ -183,8 +193,12 @@ angular.module('ui.bootstrap.pagination', []) | |||
|
|||
.constant('pagerConfig', { | |||
itemsPerPage: 10, | |||
previousText: '« Previous', | |||
nextText: 'Next »', | |||
previousText: i18n.translate('common.ui.angularBootstrap.pagination.pagerConfig.previousLabel', { |
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.
Maybe we should move «
out of translation label to exclude symbol order change:
previousText: '« ' + i18n.translate('common.ui.angularBootstrap.pagination.pagerConfig.previousLabel', {
defaultMessage: 'Previous'
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.
currentText: 'Today', | ||
clearText: 'Clear', | ||
closeText: 'Done', | ||
currentText: i18n.translate('common.ui.angularBootstrap.datepicker.datepickerPopupConfig.todayLabel', { |
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.
💚 Build Succeeded |
previousText: 'Previous', | ||
nextText: 'Next', | ||
lastText: 'Last', | ||
firstText: i18n.translate('common.ui.angularBootstrap.pagination.paginationConfig.firstLabel', { |
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.
3f7d5c5
to
a942578
Compare
💔 Build Failed |
retest |
💚 Build Succeeded |
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
localize angular-bootstrap/datepicker
localize angular-bootstrap/datepicker
src/ui/public/angular-bootstrap
strings inside
src/ui/public/angular-bootstrap/pagination/pagination.js
are not localized yet.