Skip to content

Commit

Permalink
Merge pull request JanStevens#78 from wardvijf/master
Browse files Browse the repository at this point in the history
Title is translatable
  • Loading branch information
JanStevens committed Mar 20, 2015
2 parents bdbd426 + 7a0bba4 commit ee0fcc0
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ Thanks Marco Rinck for the original code, the following people have contributed
* [Anaphase](https://github.com/Anaphase)
* [soumya92](https://github.com/soumya92)
* [willjk](https://github.com/willjk)
* [wardvijf](https://github.com/wardvijf)

# License
Copyright (C) 2015 Marco Rinck
Expand Down
2 changes: 1 addition & 1 deletion build/angular-growl.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion build/angular-growl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* angular-growl-v2 - v0.7.3 - 2015-01-26
* angular-growl-v2 - v0.7.3 - 2015-02-22
* http://janstevens.github.io/angular-growl-2
* Copyright (c) 2015 Marco Rinck,Jan Stevens; Licensed MIT
*/
Expand Down Expand Up @@ -186,6 +186,7 @@ angular.module('angular-growl').provider('growl', function () {
function broadcastMessage(message) {
if (translate && message.translateMessage) {
message.text = translate(message.text, message.variables);
message.title = translate(message.title);
} else {
var polation = $interpolate(message.text);
message.text = polation(message.variables);
Expand Down
2 changes: 1 addition & 1 deletion build/angular-growl.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build/angular-growl.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/growlFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ angular.module("angular-growl").provider("growl", function () {
function broadcastMessage (message) {
if (translate && message.translateMessage) {
message.text = translate(message.text, message.variables);
message.title = translate(message.title);
} else {
var polation = $interpolate(message.text);
message.text = polation(message.variables);
Expand Down

0 comments on commit ee0fcc0

Please sign in to comment.