Skip to content

Commit

Permalink
Improved the Hebrew translation
Browse files Browse the repository at this point in the history
There's a special Hebrew form for two hours/days/months/years. Also, removed two useless lines.
  • Loading branch information
hillai committed Jul 26, 2014
1 parent b5a364d commit 120a063
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions locales/jquery.timeago.he.js
Expand Up @@ -2,17 +2,15 @@
jQuery.timeago.settings.strings = {
prefixAgo: "לפני",
prefixFromNow: "עוד",
suffixAgo: "",
suffixFromNow: "",
seconds: "פחות מדקה",
minute: "דקה",
minutes: "%d דקות",
hour: "שעה",
hours: "%d שעות",
hours: function(number){return (number==2) ? "שעתיים" : "%d שעות"},
day: "יום",
days: "%d ימים",
days: function(number){return (number==2) ? "יומיים" : "%d ימים"},
month: "חודש",
months: "%d חודשים",
months: function(number){return (number==2) ? "חודשיים" : "%d חודשים"},
year: "שנה",
years: "%d שנים"
years: function(number){return (number==2) ? "שנתיים" : "%d שנים"}
};

0 comments on commit 120a063

Please sign in to comment.