Skip to content

Commit

Permalink
v2.13.0: added Welsh
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay LaPorte committed Apr 2, 2019
1 parent e883d08 commit 0efd66b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
10 changes: 5 additions & 5 deletions lib/lang/cy.js
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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) /, "");
}
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -256,6 +256,10 @@
{
"name": "Rizki Aditya",
"web": "https://medium.com/@rizaditya"
},
{
"name": "stanno",
"web": "https://github.com/stanno"
}
],
"repository": {
Expand Down

0 comments on commit 0efd66b

Please sign in to comment.