]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
new translate with tests
authorMoshe Simantov <ms@development.co.il>
Tue, 30 Oct 2012 10:01:45 +0000 (12:01 +0200)
committerMoshe Simantov <ms@development.co.il>
Tue, 30 Oct 2012 10:01:45 +0000 (12:01 +0200)
lang/he.js

index ce65d4a3090a932b6cc1aa7ea5f168cf4cdba4c8..b54d061273148900d1f50e2eaf040a479570a985 100644 (file)
@@ -1,32 +1,33 @@
 // moment.js language configuration
-// language : hebrew (he)
+// language : Hebrew (he)
+// author : Tomer Cohen : https://github.com/tomer
 // author : Moshe Simantov : https://github.com/DevelopmentIL
 (function () {
     var lang = {
             months : "ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),
-            monthsShort : "ינו_פבר_מרץ_אפר_מאי_יונ_יול_אוג_ספט_אוק_נוב_דצמ".split("_"),
+            monthsShort : "ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),            
             weekdays : "ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),
-            weekdaysShort : "ר×\90ש_שנ×\99_ש×\9c×\99_ר×\91×\99\97×\9e×\99_ש×\99ש_ש×\91ת".split("_"),
-            weekdaysMin : "א'_ב'_ג'_ד'_ה'_ו'_ש'".split("_"),
+            weekdaysShort : "×\90׳_×\91׳_×\92׳_×\93׳_×\94׳_×\95׳_ש׳".split("_"),
+            weekdaysMin : "א_ב_ג_ד_ה_ו_ש".split("_"),
             longDateFormat : {
-                LT : "h:mm A",
+                LT : "HH:mm",
                 L : "DD/MM/YYYY",
-                LL : "D MMMM YYYY",
-                LLL : "D MMMM YYYY LT",
-                LLLL : "dddd, D MMMM YYYY LT"
+                LL : "D [ב]MMMM YYYY",
+                LLL : "D [ב]MMMM YYYY LT",
+                LLLL : "dddd, D [ב]MMMM YYYY LT"
             },
             calendar : {
-                sameDay : '[היום ב]LT',
-                nextDay : '[מחר ב]LT',
-                nextWeek : 'dddd [ב]LT', 
-                lastDay : '[אתמול ב]LT',
-                lastWeek : 'dddd [האחרון ב]LT', 
+                sameDay : '[היום ב־]LT',
+                nextDay : '[מחר ב־]LT',
+                nextWeek : 'dddd [בשעה] LT', 
+                lastDay : '[אתמול ב־]LT',
+                lastWeek : '[ביום] dddd [האחרון בשעה] LT', 
                 sameElse : 'L'
             },
             relativeTime : {
                 future : "בעוד %s",
                 past : "לפני %s",
-                s : "×\9cפנ×\99 ×\9b×\9e×\94 שניות",
+                s : "×\9eספר שניות",
                 m : "דקה",
                 mm : "%d דקות",
                 h : "שעה",
@@ -39,7 +40,7 @@
                 yy : "%d שנים"
             },
             ordinal : function (number) {
-                return '';
+                return ''; // Function is not required for the Hebrew language.
             }
         };