[Pkg-javascript-commits] [gettext.js] 01/03: Imported Upstream version 0.5.3
Mathias Behrle
mbehrle at moszumanska.debian.org
Tue Jul 26 18:57:09 UTC 2016
This is an automated email from the git hooks/post-receive script.
mbehrle pushed a commit to branch master
in repository gettext.js.
commit 13f83027386e72eda7c6e693a846106feda28406
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Tue Jul 26 13:38:42 2016 +0200
Imported Upstream version 0.5.3
---
README.md | 2 +-
dist/gettext.js | 2 +-
dist/gettext.min.js | 2 +-
lib/gettext.js | 2 +-
package.json | 5 +++--
5 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index fbb92b8..9e05f9b 100644
--- a/README.md
+++ b/README.md
@@ -100,7 +100,7 @@ You could do it from your dom
or from javascript
```javascript
-i18n.setLocate('fr');
+i18n.setLocale('fr');
```
diff --git a/dist/gettext.js b/dist/gettext.js
index cd8e5cd..6510c52 100644
--- a/dist/gettext.js
+++ b/dist/gettext.js
@@ -2,7 +2,7 @@
(function (root, undef) {
var i18n = function (options) {
options = options || {};
- this.__version = '0.5.2';
+ this.__version = '0.5.3';
// default values that could be overriden in i18n() construct
var defaults = {
diff --git a/dist/gettext.min.js b/dist/gettext.min.js
index 2acbab8..b4e2239 100644
--- a/dist/gettext.min.js
+++ b/dist/gettext.min.js
@@ -1,2 +1,2 @@
/*! gettext.js - Guillaume Potier - MIT Licensed */
-!function(t,r){var e=function(t){t=t||{},this.__version="0.5.2";var e={domain:"messages",locale:document.documentElement.getAttribute("lang")||"en",plural_func:function(t){return{nplurals:2,plural:1!=t?1:0}},ctxt_delimiter:String.fromCharCode(4)},n={isObject:function(t){var r=typeof t;return"function"===r||"object"===r&&!!t},isArray:function(t){return"[object Array]"===toString.call(t)}},a={},l=t.locale||e.locale,u=t.domain||e.domain,o={},s={},i=t.ctxt_delimiter||e.ctxt_delimiter;t.messa [...]
+!function(t,r){var e=function(t){t=t||{},this.__version="0.5.3";var e={domain:"messages",locale:document.documentElement.getAttribute("lang")||"en",plural_func:function(t){return{nplurals:2,plural:1!=t?1:0}},ctxt_delimiter:String.fromCharCode(4)},n={isObject:function(t){var r=typeof t;return"function"===r||"object"===r&&!!t},isArray:function(t){return"[object Array]"===toString.call(t)}},a={},l=t.locale||e.locale,u=t.domain||e.domain,o={},s={},i=t.ctxt_delimiter||e.ctxt_delimiter;t.messa [...]
\ No newline at end of file
diff --git a/lib/gettext.js b/lib/gettext.js
index cd8e5cd..6510c52 100644
--- a/lib/gettext.js
+++ b/lib/gettext.js
@@ -2,7 +2,7 @@
(function (root, undef) {
var i18n = function (options) {
options = options || {};
- this.__version = '0.5.2';
+ this.__version = '0.5.3';
// default values that could be overriden in i18n() construct
var defaults = {
diff --git a/package.json b/package.json
index a00f268..ceeb4a3 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "gettext.js",
- "version": "0.5.2",
+ "version": "0.5.3",
"scripts": {
"test": "node node_modules/karma/bin/karma start tests/karma.config.js",
"test-dev": "node node_modules/karma/bin/karma start tests/karma.config.dev.js",
@@ -23,5 +23,6 @@
},
"spm": {
"main": "lib/gettext.js"
- }
+ },
+ "main": "lib/gettext.js"
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/gettext.js.git
More information about the Pkg-javascript-commits
mailing list