-
Notifications
You must be signed in to change notification settings - Fork 1
/
lang_pl.go
89 lines (88 loc) · 1.79 KB
/
lang_pl.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
package humanize
// Polish l10n. For description see lang_structs.go.
var langPl = languageProvider{
times: times{
ranges: []timeRanges{
{Minute, 1, false, 20, "sekundę", []timeRange{
{2, "%d sekund"},
{5, "%d sekundy"},
{LongTime, "%d sekund"},
}},
{Hour, Minute, false, 20, "minutę", []timeRange{
{2, "%d minut"},
{5, "%d minuty"},
{Hour, "%d minut"},
}},
{Day, Hour, false, 20, "godzinę", []timeRange{
{2, "%d godzin"},
{5, "%d godziny"},
{LongTime, "%d godzin"},
}},
{Week, Day, false, 20, "1 dzień", []timeRange{
{LongTime, "%d dni"},
}},
{Month, Week, true, 20, "tydzień", []timeRange{
{2, "%d tygodni"},
{5, "%d tygodnie"},
{LongTime, "%d tygodni"},
}},
{Year, Month, false, 20, "miesiąc", []timeRange{
{2, "%d miesięcy"},
{5, "%d miesiące"},
{LongTime, "%d miesięcy"},
}},
{LongTime, Year, false, 20, "rok", []timeRange{
{2, "%d lat"},
{5, "%d lata"},
{LongTime, "%d lat"},
}},
},
future: "za %s",
past: "%s temu",
now: "teraz",
remainderSep: "i",
units: inputTimeUnits{
"sekund": 1,
"minut": Minute,
"godzin": Hour,
"dzie": Day,
"dni": Day,
"ty": Week,
"miesi": Month,
"rok": Year,
"lat": Year,
},
},
prefixes: map[string]string{
// SI.
"Y": "jotta",
"Z": "zetta",
"E": "eksa",
"P": "peta",
"T": "tera",
"G": "giga",
"M": "mega",
"k": "kilo",
"h": "hekto",
"da": "deka",
"d": "decy",
"c": "centy",
"m": "mili",
"µ": "mikro",
"n": "nano",
"p": "piko",
"f": "femto",
"a": "atto",
"z": "zepto",
"y": "jokto",
// Bit.
"Yi": "yobi",
"Zi": "zebi",
"Ei": "exbi",
"Pi": "pebi",
"Ti": "tebi",
"Gi": "gibi",
"Mi": "mebi",
"Ki": "kibi",
},
}