Skip to content

Commit

Permalink
1.7.0: Added Italian translation by Lukino2000.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason LaPorte committed Jul 29, 2014
1 parent f9f9e59 commit dad9bbd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 4 additions & 4 deletions lib/lang/it.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ function join_with_shared_prefix(a, b, joiner) {
}

function strip_prefix(period) {
if (period.slice(0) === "in serata") return "sera";
if (period.slice(0) === "in mattinata") return "mattina";
if (period.slice(0,6) === "nella ") return period.slice(6);
if (period.slice(0,4) === "nel ") return period.slice(4);
if(period === "in serata") return "sera";
if(period === "in mattinata") return "mattina";
if(period.slice(0,6) === "nella ") return period.slice(6);
if(period.slice(0,4) === "nel ") return period.slice(4);
return period;
}

Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "forecast-io-translations",
"version": "1.6.1",
"version": "1.7.0",
"description": "translate the Forecast API into any language",
"author": {
"name": "The Dark Sky Company",
Expand Down Expand Up @@ -37,6 +37,10 @@
"name": "Pamela Ocampo",
"email": "[email protected]",
"web": "https://github.com/pamo"
},
{
"name": "Lukino2000",
"web": "https://github.com/Lukino2000"
}
],
"repository": {
Expand Down

0 comments on commit dad9bbd

Please sign in to comment.