From 0efd66b69c69d4627b1998afda7b6fa17d23afd2 Mon Sep 17 00:00:00 2001 From: Jay LaPorte Date: Tue, 2 Apr 2019 11:56:45 -0400 Subject: [PATCH] v2.13.0: added Welsh --- lib/lang/cy.js | 10 +++++----- package.json | 6 +++++- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/lib/lang/cy.js b/lib/lang/cy.js index d3e02b7b..fd467b8e 100644 --- a/lib/lang/cy.js +++ b/lib/lang/cy.js @@ -1,5 +1,10 @@ "use strict"; +// strip prefixes (dros/yn/ar) +function strip_prefix(a) { + return a === "dros nos" ? "y nos" : a.replace(/^(?:yn|ar) /, ""); +} + module.exports = { "clear": "clir", "no-precipitation": "dim gwlybaniaeth", @@ -137,8 +142,3 @@ module.exports = { return str; }, }; - -// strip prefixes (dros/yn/ar) -function strip_prefix(a) { - return a === "dros nos" ? "y nos" : a.replace(/^(?:yn|ar) /, ""); -} diff --git a/package.json b/package.json index 89b1cc2c..e79f940f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "translations", - "version": "2.12.2", + "version": "2.13.0", "description": "translate the Dark Sky API into any language", "author": { "name": "The Dark Sky Company", @@ -256,6 +256,10 @@ { "name": "Rizki Aditya", "web": "https://medium.com/@rizaditya" + }, + { + "name": "stanno", + "web": "https://github.com/stanno" } ], "repository": {