[Pkg-javascript-commits] [node-gettext-parser] 01/05: New upstream version 1.2.1

Mathias Behrle mbehrle at moszumanska.debian.org
Fri Dec 2 15:27:58 UTC 2016


This is an automated email from the git hooks/post-receive script.

mbehrle pushed a commit to branch master
in repository node-gettext-parser.

commit 07a3311c02b0553a8cbdbb08dd59bdf019a73812
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Fri Dec 2 16:18:32 2016 +0100

    New upstream version 1.2.1
---
 .travis.yml  | 17 ++++-------------
 README.md    | 12 +++++-------
 package.json | 29 ++++++++++++++++++-----------
 3 files changed, 27 insertions(+), 31 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 276a0c0..b00f478 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,21 +1,12 @@
 language: node_js
 node_js:
   - "0.10"
-  - 0.12
-  - iojs
+  - "0.12"
+  - "4"
+  - "6"
 
 before_install:
   - npm install -g grunt-cli
 
 notifications:
-  email:
-    recipients:
-      - andris at kreata.ee
-    on_success: change
-    on_failure: change
-  webhooks:
-    urls:
-      - https://webhooks.gitter.im/e/0ed18fd9b3e529b3c2cc
-    on_success: change  # options: [always|never|change] default: always
-    on_failure: always  # options: [always|never|change] default: always
-    on_start: false     # default: false
+  email: false
diff --git a/README.md b/README.md
index ea8ed5f..caa61c3 100644
--- a/README.md
+++ b/README.md
@@ -1,14 +1,12 @@
-> **NB!** This project is **unmaintained!** If anyone wants to take over please write to andris.reinman at gmail.com to get ownership of this repo and npm package
-
 gettext-parser
 ==============
 
-[![Build Status](https://secure.travis-ci.org/andris9/gettext-parser.png)](http://travis-ci.org/andris9/gettext-parser)
+[![Build Status](https://secure.travis-ci.org/smhg/gettext-parser.png)](http://travis-ci.org/smhg/gettext-parser)
 [![NPM version](https://badge.fury.io/js/gettext-parser.png)](http://badge.fury.io/js/gettext-parser)
 
 Parse and compile gettext *po* and *mo* files with node.js, nothing more, nothing less.
 
-This module is slightly based on my other gettext related module [node-gettext](https://github.com/andris9/node-gettext). The plan is to move all parsing and compiling logic from node-gettext to here and leave only translation related functions (domains, plural handling, lookups etc.).
+This module is slightly based on another gettext related module [node-gettext](https://github.com/andris9/node-gettext). The plan is to move all parsing and compiling logic from node-gettext to here and leave only translation related functions (domains, plural handling, lookups etc.).
 
 ## Usage
 
@@ -153,11 +151,11 @@ Headers can be found from the `headers` object, all keys are lowercase and the v
 
 ### Translations
 
-Translations can be found from the `translations` object which in turn holds context objects for `msgctx`. Default context can be found from `translations[""]`.
+Translations can be found from the `translations` object which in turn holds context objects for `msgctxt`. Default context can be found from `translations[""]`.
 
 Context objects include all the translations, where `msgid` value is the key. The value is an object with the following possible properties:
 
-  * **msgctx** context for this translation, if not present the default context applies
+  * **msgctxt** context for this translation, if not present the default context applies
   * **msgid** string to be translated
   * **msgid_plural** the plural form of the original string (might not be present)
   * **msgstr** an array of translations
@@ -183,7 +181,7 @@ Example
     },
     "another context": {
       "%s example": {
-        "msgctx": "another context",
+        "msgctxt": "another context",
         "msgid": "%s example",
         "msgid_plural": "%s examples",
         "msgstr": ["% näide", "%s näidet"],
diff --git a/package.json b/package.json
index 93196af..8b2436d 100644
--- a/package.json
+++ b/package.json
@@ -1,28 +1,35 @@
 {
   "name": "gettext-parser",
   "description": "Parse and compile gettext po and mo files to/from json, nothing more, nothing less",
-  "version": "1.2.0",
+  "version": "1.2.1",
   "author": "Andris Reinman",
-  "homepage": "http://github.com/andris9/gettext-parser",
+  "contributors": [
+    {
+      "name": "Sam Hauglustaine"
+    }
+  ],
+  "homepage": "http://github.com/smhg/gettext-parser",
   "repository": {
     "type": "git",
-    "url": "http://github.com/andris9/gettext-parser.git"
+    "url": "http://github.com/smhg/gettext-parser.git"
   },
   "scripts": {
-    "test": "grunt"
+    "test": "grunt",
+    "preversion": "npm test",
+    "postversion": "git push && git push --tags"
   },
   "main": "./index",
   "license": "MIT",
   "dependencies": {
-    "encoding": "^0.1.12"
+    "encoding": "0.1.12"
   },
   "devDependencies": {
-    "chai": "^3.5.0",
-    "grunt": "^1.0.1",
-    "grunt-cli": "^1.2.0",
-    "grunt-contrib-jshint": "^1.0.0",
-    "grunt-mocha-test": "^0.12.7",
-    "mocha": "^2.5.3"
+    "chai": "3.5.0",
+    "grunt": "1.0.1",
+    "grunt-cli": "1.2.0",
+    "grunt-contrib-jshint": "1.1.0",
+    "grunt-mocha-test": "0.13.2",
+    "mocha": "3.2.0"
   },
   "keywords": [
     "i18n",

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-gettext-parser.git



More information about the Pkg-javascript-commits mailing list