Skip to content

Commit 4aa381c

Browse files
locale fixes
1 parent dbfa0d8 commit 4aa381c

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

locales/pivot.fr.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ callWithJQuery ($) ->
3939
"Moyenne": tpl.average(frFmt)
4040
"Minimum": tpl.min(frFmt)
4141
"Maximum": tpl.max(frFmt)
42-
"Premier": tpl.min(frFmt)
43-
"Dernier": tpl.max(frFmt)
42+
"Premier": tpl.first(frFmt)
43+
"Dernier": tpl.last(frFmt)
4444
"Ratio de sommes": tpl.sumOverSum(frFmt)
4545
"Borne supérieure 80%": tpl.sumOverSumBound80(true, frFmt)
4646
"Borne inférieure 80%": tpl.sumOverSumBound80(false, frFmt)

locales/pivot.nl.coffee

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ callWithJQuery = (pivotModule) ->
66
# Plain browser env
77
else
88
pivotModule jQuery
9-
9+
1010
callWithJQuery ($) ->
1111
nf = $.pivotUtilities.numberFormat
1212
tpl = $.pivotUtilities.aggregatorTemplates
@@ -15,7 +15,7 @@ callWithJQuery ($) ->
1515
frFmtInt = nf(digitsAfterDecimal: 0, thousandsSep: " ", decimalSep: ",")
1616
frFmtPct = nf(digitsAfterDecimal: 1, scaler: 100, suffix: "%", thousandsSep: " ", decimalSep: ",")
1717

18-
$.pivotUtilities.locales.nl =
18+
$.pivotUtilities.locales.nl =
1919
localeStrings:
2020
renderError: "Er is een fout opgetreden bij het renderen van de kruistabel."
2121
computeError: "Er is een fout opgetreden bij het berekenen van de kruistabel."
@@ -28,7 +28,7 @@ callWithJQuery ($) ->
2828
vs: "versus"
2929
by: "per"
3030

31-
aggregators:
31+
aggregators:
3232
"Aantal": tpl.count(frFmtInt)
3333
"Aantal unieke waarden": tpl.countUnique(frFmtInt)
3434
"Lijst unieke waarden": tpl.listUnique(", ")
@@ -37,6 +37,8 @@ callWithJQuery ($) ->
3737
"Gemiddelde": tpl.average(frFmt)
3838
"Minimum": tpl.min(frFmt)
3939
"Maximum": tpl.max(frFmt)
40+
"Eerste": tpl.first(frFmt)
41+
"Laatste": tpl.last(frFmt)
4042
"Som over som": tpl.sumOverSum(frFmt)
4143
"80% bovengrens": tpl.sumOverSumBound80(true, frFmt)
4244
"80% ondergrens": tpl.sumOverSumBound80(false, frFmt)

0 commit comments

Comments
 (0)