Created
November 26, 2019 15:00
-
-
Save bodrovis/f7c5247ed8dd5b74d139e76fd4662b51 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function() { | |
var polyglot = new Polyglot({ | |
phrases: { | |
"hello": "Hello, %{name}!", | |
"unread": "You have %{smart_count} unread message |||| You have %{smart_count} unread messages" | |
} | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment