We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In controller growl.addErrorMessage('ERROR.TRANSLATE', {vars: { username: 'PascalPrecht' }});
in Translate.json ERROR { TRANSLATE: "{{username}} is forced to logoff." },
in growlFactory.js
function broadcastMessage(message) { if (translate) { message.text = translate(message.text,message.vars); } $rootScope.$broadcast("growlMessage", message); }
function sendMessage(text, config, severity) { var _config = config || {}, message; message = { text: text, severity: severity, ttl: _config.ttl || _ttl, vars: _config.vars, enableHtml: _config.enableHtml || _enableHtml }; broadcastMessage(message); }
http://angular-translate.github.io/docs/#/guide/06_variable-replacement
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In controller
growl.addErrorMessage('ERROR.TRANSLATE', {vars: { username: 'PascalPrecht' }});
in Translate.json
ERROR {
TRANSLATE: "{{username}} is forced to logoff."
},
in growlFactory.js
function broadcastMessage(message) {
if (translate) {
message.text = translate(message.text,message.vars);
}
$rootScope.$broadcast("growlMessage", message);
}
http://angular-translate.github.io/docs/#/guide/06_variable-replacement
The text was updated successfully, but these errors were encountered: