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
Fix translations #2185
Fix translations #2185
Conversation
ng-click="loading ? cancel() : handleFile()"> | ||
<span>{{userMessage | translate }}</span> | ||
ng-click="loading ? cancel() : handleFile()" | ||
translate> |
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 need to keep using the translate
filter. Why is this change needed?
ng-click="loading ? cancel() : handleFileUrl()"> | ||
{{userMessage | translate}} | ||
ng-click="loading ? cancel() : handleFileUrl()" | ||
translate> |
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.
Idem
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 remove the part about the translate
filter and I will merge it.
According to angular-gettext doc it should work. But ok if it's necessary. |
0e78d70
to
9b07e3e
Compare
@gberaudo filter re-added |
9b07e3e
to
1c689bd
Compare
|
Waiting for the build to finish. Will merge as soon as Travis is green. |
Thanks @oterral. |
This PR replace uses of
gettextCatalog
bygettext
to fix the translation and also remove use of tranlsate filter when it's unneeded.