Просмотр исходного кода

Add CurrencyAccounting options + data

* also added initial number tests
joeybloggs 9 лет назад
Родитель
Сommit
72922a9182
100 измененных файлов с 244 добавлено и 63 удалено
  1. 12 1
      cmd/resources/generate_resources.go
  2. 4 3
      locale.go
  3. 40 15
      number.go
  4. 144 0
      number_test.go
  5. 0 0
      resources/locales/af/calendar.go
  6. 0 0
      resources/locales/af/currency.go
  7. 1 1
      resources/locales/af/number.go
  8. 0 0
      resources/locales/af_NA/calendar.go
  9. 0 0
      resources/locales/af_NA/currency.go
  10. 1 1
      resources/locales/af_NA/number.go
  11. 1 1
      resources/locales/agq/calendar.go
  12. 0 0
      resources/locales/agq/currency.go
  13. 1 1
      resources/locales/agq/number.go
  14. 1 1
      resources/locales/ak/calendar.go
  15. 0 0
      resources/locales/ak/currency.go
  16. 1 1
      resources/locales/ak/number.go
  17. 0 0
      resources/locales/am/calendar.go
  18. 0 0
      resources/locales/am/currency.go
  19. 1 1
      resources/locales/am/number.go
  20. 0 0
      resources/locales/ar/calendar.go
  21. 0 0
      resources/locales/ar/currency.go
  22. 1 1
      resources/locales/ar/number.go
  23. 0 0
      resources/locales/ar_AE/calendar.go
  24. 0 0
      resources/locales/ar_AE/currency.go
  25. 1 1
      resources/locales/ar_AE/number.go
  26. 0 0
      resources/locales/ar_DJ/calendar.go
  27. 0 0
      resources/locales/ar_DJ/currency.go
  28. 1 1
      resources/locales/ar_DJ/number.go
  29. 0 0
      resources/locales/ar_DZ/calendar.go
  30. 0 0
      resources/locales/ar_DZ/currency.go
  31. 1 1
      resources/locales/ar_DZ/number.go
  32. 0 0
      resources/locales/ar_EH/calendar.go
  33. 0 0
      resources/locales/ar_EH/currency.go
  34. 1 1
      resources/locales/ar_EH/number.go
  35. 0 0
      resources/locales/ar_ER/calendar.go
  36. 0 0
      resources/locales/ar_ER/currency.go
  37. 1 1
      resources/locales/ar_ER/number.go
  38. 0 0
      resources/locales/ar_LB/calendar.go
  39. 0 0
      resources/locales/ar_LB/currency.go
  40. 1 1
      resources/locales/ar_LB/number.go
  41. 0 0
      resources/locales/ar_LY/calendar.go
  42. 0 0
      resources/locales/ar_LY/currency.go
  43. 1 1
      resources/locales/ar_LY/number.go
  44. 0 0
      resources/locales/ar_MA/calendar.go
  45. 0 0
      resources/locales/ar_MA/currency.go
  46. 1 1
      resources/locales/ar_MA/number.go
  47. 0 0
      resources/locales/ar_MR/calendar.go
  48. 0 0
      resources/locales/ar_MR/currency.go
  49. 1 1
      resources/locales/ar_MR/number.go
  50. 0 0
      resources/locales/ar_SO/calendar.go
  51. 0 0
      resources/locales/ar_SO/currency.go
  52. 1 1
      resources/locales/ar_SO/number.go
  53. 0 0
      resources/locales/ar_SS/calendar.go
  54. 0 0
      resources/locales/ar_SS/currency.go
  55. 1 1
      resources/locales/ar_SS/number.go
  56. 0 0
      resources/locales/ar_TN/calendar.go
  57. 0 0
      resources/locales/ar_TN/currency.go
  58. 1 1
      resources/locales/ar_TN/number.go
  59. 1 1
      resources/locales/as/calendar.go
  60. 1 1
      resources/locales/as/number.go
  61. 1 1
      resources/locales/asa/calendar.go
  62. 0 0
      resources/locales/asa/currency.go
  63. 1 1
      resources/locales/asa/number.go
  64. 1 1
      resources/locales/ast/calendar.go
  65. 0 0
      resources/locales/ast/currency.go
  66. 1 1
      resources/locales/ast/number.go
  67. 0 0
      resources/locales/az/calendar.go
  68. 0 0
      resources/locales/az/currency.go
  69. 1 1
      resources/locales/az/number.go
  70. 0 0
      resources/locales/az_Cyrl/calendar.go
  71. 0 0
      resources/locales/az_Cyrl/currency.go
  72. 1 1
      resources/locales/az_Cyrl/number.go
  73. 1 1
      resources/locales/bas/calendar.go
  74. 0 0
      resources/locales/bas/currency.go
  75. 1 1
      resources/locales/bas/number.go
  76. 0 0
      resources/locales/be/calendar.go
  77. 0 0
      resources/locales/be/currency.go
  78. 1 1
      resources/locales/be/number.go
  79. 1 1
      resources/locales/bem/calendar.go
  80. 1 1
      resources/locales/bem/number.go
  81. 1 1
      resources/locales/bez/calendar.go
  82. 0 0
      resources/locales/bez/currency.go
  83. 1 1
      resources/locales/bez/number.go
  84. 0 0
      resources/locales/bg/calendar.go
  85. 0 0
      resources/locales/bg/currency.go
  86. 1 1
      resources/locales/bg/number.go
  87. 1 1
      resources/locales/bm/calendar.go
  88. 0 0
      resources/locales/bm/currency.go
  89. 1 1
      resources/locales/bm/number.go
  90. 0 0
      resources/locales/bn/calendar.go
  91. 0 0
      resources/locales/bn/currency.go
  92. 1 1
      resources/locales/bn/number.go
  93. 0 0
      resources/locales/bo/calendar.go
  94. 1 1
      resources/locales/bo/number.go
  95. 0 0
      resources/locales/bo_IN/calendar.go
  96. 1 1
      resources/locales/bo_IN/currency.go
  97. 1 1
      resources/locales/bo_IN/number.go
  98. 1 1
      resources/locales/br/calendar.go
  99. 0 0
      resources/locales/br/currency.go
  100. 1 1
      resources/locales/br/number.go

+ 12 - 1
cmd/resources/generate_resources.go

@@ -161,8 +161,15 @@ func main() {
 		if len(ldml.Numbers.DecimalFormats) > 0 && len(ldml.Numbers.DecimalFormats[0].DecimalFormatLength) > 0 {
 			number.Formats.Decimal = ldml.Numbers.DecimalFormats[0].DecimalFormatLength[0].DecimalFormat[0].Pattern[0].Data()
 		}
+
 		if len(ldml.Numbers.CurrencyFormats) > 0 && len(ldml.Numbers.CurrencyFormats[0].CurrencyFormatLength) > 0 {
+
 			number.Formats.Currency = ldml.Numbers.CurrencyFormats[0].CurrencyFormatLength[0].CurrencyFormat[0].Pattern[0].Data()
+			number.Formats.CurrencyAccounting = number.Formats.Currency
+
+			if len(ldml.Numbers.CurrencyFormats[0].CurrencyFormatLength[0].CurrencyFormat) > 1 {
+				number.Formats.CurrencyAccounting = ldml.Numbers.CurrencyFormats[0].CurrencyFormatLength[0].CurrencyFormat[1].Pattern[0].Data()
+			}
 		}
 		if len(ldml.Numbers.PercentFormats) > 0 && len(ldml.Numbers.PercentFormats[0].PercentFormatLength) > 0 {
 			number.Formats.Percent = ldml.Numbers.PercentFormats[0].PercentFormatLength[0].PercentFormat[0].Pattern[0].Data()
@@ -677,6 +684,10 @@ func main() {
 			number.Formats.Currency = baseNum.Formats.Currency
 		}
 
+		if number.Formats.CurrencyAccounting == "" {
+			number.Formats.CurrencyAccounting = baseNum.Formats.CurrencyAccounting
+		}
+
 		if number.Formats.Percent == "" {
 			number.Formats.Percent = baseNum.Formats.Percent
 		}
@@ -686,7 +697,7 @@ func main() {
 
 			val, ok := number.Currencies[k]
 			if !ok {
-				number.Currencies[k] = v
+				// number.Currencies[k] = v
 				continue
 			}
 

+ 4 - 3
locale.go

@@ -32,9 +32,10 @@ type Symbols struct {
 
 // NumberFormats contains the number format information related to formatting
 type NumberFormats struct {
-	Decimal  string
-	Currency string
-	Percent  string
+	Decimal            string
+	Currency           string
+	CurrencyAccounting string
+	Percent            string
 }
 
 // Currency contains the Currency related formatting information

+ 40 - 15
number.go

@@ -26,6 +26,15 @@ type numberFormat struct {
 	groupSizeMain    int // all other groups
 }
 
+// CurrencyType is the type of Currency your converting
+type CurrencyType int
+
+// Currency Types such as Standard vs Accounting notation i.e. -$123.50 vs ($123.50)
+const (
+	CurrencyStandard CurrencyType = iota
+	CurrencyAccounting
+)
+
 var (
 	// numberFormats keeps a copy of all numberFormat instances that have been
 	// loaded before, to prevent parsing a single number format string multiple
@@ -40,16 +49,28 @@ var (
 	prefixSuffixRegex = regexp.MustCompile(`(.*?)[#,\.0]+(.*)`)
 )
 
+func getCurrencyPattern(typ CurrencyType, nf NumberFormats) string {
+
+	if typ == CurrencyStandard {
+		return nf.Currency
+	}
+
+	return nf.CurrencyAccounting
+}
+
 // FmtCurrency takes a float number and a currency key and returns a string
 // with a properly formatted currency amount with the correct currency symbol.
-// If a symbol cannot be found for the reqested currency, this will panic, use
-// FmtCurrencySafe for non panicing variant.
-func (n Number) FmtCurrency(currency string, number float64) string {
-
-	format := n.parseFormat(n.Formats.Currency, true)
-	result := n.formatNumber(format, number)
+// If a symbol cannot be found for the reqested currency, this will return blank,
+// use FmtCurrencySafe for variant.
+func (n Number) FmtCurrency(typ CurrencyType, currency string, number float64) string {
+
+	formatted, err := n.FmtCurrencySafe(typ, currency, number)
+	if err != nil {
+		fmt.Println(err)
+		return ""
+	}
 
-	return strings.Replace(result, "¤", n.Currencies[currency].Symbol, -1)
+	return formatted
 }
 
 // FmtCurrencySafe takes a float number and a currency key and returns a string
@@ -57,9 +78,9 @@ func (n Number) FmtCurrency(currency string, number float64) string {
 // If a symbol cannot be found for the reqested currency, the the key is used
 // instead. If the currency key requested is not recognized, it is used as the
 // symbol, and an error is returned with the formatted string.
-func (n Number) FmtCurrencySafe(currency string, number float64) (formatted string, err error) {
+func (n Number) FmtCurrencySafe(typ CurrencyType, currency string, number float64) (formatted string, err error) {
 
-	format := n.parseFormat(n.Formats.Currency, true)
+	format := n.parseFormat(getCurrencyPattern(typ, n.Formats), true)
 	result := n.formatNumber(format, number)
 
 	c, ok := n.Currencies[currency]
@@ -78,17 +99,21 @@ func (n Number) FmtCurrencySafe(currency string, number float64) (formatted stri
 // any decimal places. AKA, it would return $100 rather than $100.00.
 // If a symbol cannot be found for the reqested currency, this will panic, use
 // FmtCurrencyWholeSafe for non panicing variant.
-func (n Number) FmtCurrencyWhole(currency string, number float64) string {
-	format := n.parseFormat(n.Formats.Currency, false)
-	result := n.formatNumber(format, number)
+func (n Number) FmtCurrencyWhole(typ CurrencyType, currency string, number float64) string {
+
+	formatted, err := n.FmtCurrencyWholeSafe(typ, currency, number)
+	if err != nil {
+		fmt.Println(err)
+		return ""
+	}
 
-	return strings.Replace(result, "¤", n.Currencies[currency].Symbol, -1)
+	return formatted
 }
 
 // FmtCurrencyWholeSafe does exactly what FormatCurrency does, but it leaves off
 // any decimal places. AKA, it would return $100 rather than $100.00.
-func (n Number) FmtCurrencyWholeSafe(currency string, number float64) (formatted string, err error) {
-	format := n.parseFormat(n.Formats.Currency, false)
+func (n Number) FmtCurrencyWholeSafe(typ CurrencyType, currency string, number float64) (formatted string, err error) {
+	format := n.parseFormat(getCurrencyPattern(typ, n.Formats), false)
 	result := n.formatNumber(format, number)
 
 	c, ok := n.Currencies[currency]

+ 144 - 0
number_test.go

@@ -0,0 +1,144 @@
+package ut_test
+
+import (
+	"testing"
+
+	"github.com/go-playground/universal-translator"
+	_ "github.com/go-playground/universal-translator/resources/locales"
+
+	. "gopkg.in/go-playground/assert.v1"
+)
+
+// NOTES:
+// - Run "go test" to run tests
+// - Run "gocov test | gocov report" to report on test converage by file
+// - Run "gocov test | gocov annotate -" to report on all code and functions, those ,marked with "MISS" were never called
+//
+// or
+//
+// -- may be a good idea to change to output path to somewherelike /tmp
+// go test -coverprofile cover.out && go tool cover -html=cover.out -o cover.html
+//
+
+func TestCurrency(t *testing.T) {
+
+	en, err := ut.GetTranslator("en")
+	Equal(t, err, nil)
+
+	result, err := en.FmtCurrencySafe(ut.CurrencyStandard, "USD", 12345.6789)
+	Equal(t, err, nil)
+	Equal(t, result, "$12,345.68")
+
+	result = en.FmtCurrency(ut.CurrencyStandard, "USD", 12345.6789)
+	Equal(t, result, "$12,345.68")
+
+	result, err = en.FmtCurrencySafe(ut.CurrencyAccounting, "USD", 12345.6789)
+	Equal(t, err, nil)
+	Equal(t, result, "$12,345.68")
+
+	result = en.FmtCurrency(ut.CurrencyAccounting, "USD", 12345.6789)
+	Equal(t, result, "$12,345.68")
+
+	result, err = en.FmtCurrencySafe(ut.CurrencyStandard, "USD", -12345.6789)
+	Equal(t, err, nil)
+	Equal(t, result, "-$12,345.68")
+
+	result = en.FmtCurrency(ut.CurrencyStandard, "USD", -12345.6789)
+	Equal(t, result, "-$12,345.68")
+
+	result, err = en.FmtCurrencySafe(ut.CurrencyAccounting, "USD", -12345.6789)
+	Equal(t, err, nil)
+	Equal(t, result, "($12,345.68)")
+
+	result = en.FmtCurrency(ut.CurrencyAccounting, "USD", -12345.6789)
+	Equal(t, result, "($12,345.68)")
+
+	result, err = en.FmtCurrencySafe(ut.CurrencyStandard, "WHAT???", 12345.6789)
+	NotEqual(t, err, nil)
+	Equal(t, err.Error(), "**** WARNING **** unknown currency: WHAT???")
+
+	result = en.FmtCurrency(ut.CurrencyStandard, "WHAT???", 12345.6789)
+	Equal(t, result, "")
+
+	result, err = en.FmtCurrencySafe(ut.CurrencyAccounting, "WHAT???", 12345.6789)
+	NotEqual(t, err, nil)
+	Equal(t, err.Error(), "**** WARNING **** unknown currency: WHAT???")
+
+	result = en.FmtCurrency(ut.CurrencyAccounting, "WHAT???", 12345.6789)
+	Equal(t, result, "")
+
+	// try some really big numbers to make sure weird floaty stuff doesn't
+	// happen
+	result, err = en.FmtCurrencySafe(ut.CurrencyStandard, "USD", 12345000000000.6789)
+	Equal(t, err, nil)
+	Equal(t, result, "$12,345,000,000,000.68")
+
+	result = en.FmtCurrency(ut.CurrencyStandard, "USD", 12345000000000.6789)
+	Equal(t, result, "$12,345,000,000,000.68")
+
+	result, err = en.FmtCurrencySafe(ut.CurrencyAccounting, "USD", 12345000000000.6789)
+	Equal(t, err, nil)
+	Equal(t, result, "$12,345,000,000,000.68")
+
+	result = en.FmtCurrency(ut.CurrencyAccounting, "USD", 12345000000000.6789)
+	Equal(t, result, "$12,345,000,000,000.68")
+
+	result, err = en.FmtCurrencySafe(ut.CurrencyStandard, "USD", -12345000000000.6789)
+	Equal(t, err, nil)
+	Equal(t, result, "-$12,345,000,000,000.68")
+
+	result = en.FmtCurrency(ut.CurrencyStandard, "USD", -12345000000000.6789)
+	Equal(t, result, "-$12,345,000,000,000.68")
+
+	result, err = en.FmtCurrencySafe(ut.CurrencyAccounting, "USD", -12345000000000.6789)
+	Equal(t, err, nil)
+	Equal(t, result, "($12,345,000,000,000.68)")
+
+	result = en.FmtCurrency(ut.CurrencyAccounting, "USD", -12345000000000.6789)
+	Equal(t, result, "($12,345,000,000,000.68)")
+
+	saq, err := ut.GetTranslator("saq")
+	Equal(t, err, nil)
+
+	// Try something that needs a partial fallback
+	// no Formatting or symbols for "saq" in locales
+	result, err = saq.FmtCurrencySafe(ut.CurrencyStandard, "USD", 12345.6789)
+	Equal(t, err, nil)
+	Equal(t, result, "1234568")
+
+	result = saq.FmtCurrency(ut.CurrencyStandard, "USD", 12345.6789)
+	Equal(t, result, "1234568")
+
+	result, err = saq.FmtCurrencySafe(ut.CurrencyAccounting, "USD", 12345.6789)
+	Equal(t, err, nil)
+	Equal(t, result, "1234568")
+
+	result = saq.FmtCurrency(ut.CurrencyAccounting, "USD", 12345.6789)
+	Equal(t, result, "1234568")
+
+	ar, err := ut.GetTranslator("ar")
+	Equal(t, err, nil)
+
+	// // And one more for with some unusual symbols for good measure
+	result, err = ar.FmtCurrencySafe(ut.CurrencyStandard, "USD", -12345.6789)
+	Equal(t, err, nil)
+	Equal(t, result, "\u200F-US$\u00A012٬345٫68")
+
+	result = ar.FmtCurrency(ut.CurrencyStandard, "USD", -12345.6789)
+	Equal(t, result, "\u200F-US$\u00A012٬345٫68")
+
+	result, err = ar.FmtCurrencySafe(ut.CurrencyAccounting, "USD", -12345.6789)
+	Equal(t, err, nil)
+	Equal(t, result, "\u200F-US$\u00A012٬345٫68")
+
+	result = ar.FmtCurrency(ut.CurrencyAccounting, "USD", -12345.6789)
+	Equal(t, result, "\u200F-US$\u00A012٬345٫68")
+
+	// And one more for with some unusual symbols for good measure
+	result, err = en.FmtCurrencySafe(ut.CurrencyStandard, "USD", 0.0084)
+	Equal(t, err, nil)
+	Equal(t, result, "$0.01")
+
+	result = en.FmtCurrency(ut.CurrencyStandard, "USD", 0.0084)
+	Equal(t, result, "$0.01")
+}

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/af/calendar.go


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/af/currency.go


+ 1 - 1
resources/locales/af/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: ",", Group: "\u00a0", Negative: "-", Percent: "%", PerMille: "‰"}
-	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤#,##0.00", Percent: "#,##0%"}
+	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤#,##0.00", CurrencyAccounting: "¤#,##0.00;(¤#,##0.00)", Percent: "#,##0%"}
 )

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/af_NA/calendar.go


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/af_NA/currency.go


+ 1 - 1
resources/locales/af_NA/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: ",", Group: "\u00a0", Negative: "-", Percent: "%", PerMille: "‰"}
-	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤#,##0.00", Percent: "#,##0%"}
+	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤#,##0.00", CurrencyAccounting: "¤#,##0.00;(¤#,##0.00)", Percent: "#,##0%"}
 )

+ 1 - 1
resources/locales/agq/calendar.go

@@ -2,4 +2,4 @@ package agq
 
 import "github.com/go-playground/universal-translator"
 
-var calendar = ut.Calendar{Formats: ut.CalendarFormats{Date: ut.CalendarDateFormat{Full: "EEEE d MMMM y", Long: "d MMMM y", Medium: "d MMM, y", Short: "d/M/y"}, Time: ut.CalendarDateFormat{Full: "HH:mm:ss zzzz", Long: "HH:mm:ss z", Medium: "HH:mm:ss", Short: "HH:mm"}, DateTime: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{7: "dum", 9: "dzu", 10: "lɔm", 12: "fwo", 1: "nùm", 4: "taa", 5: "see", 6: "nzu", 2: "kɨz", 3: "tɨd", 8: "fɔe", 11: "kaa"}, Narrow: ut.CalendarMonthFormatNameValue{5: "s", 6: "z", 9: "d", 10: "l", 1: "n", 3: "t", 4: "t", 7: "k", 8: "f", 11: "c", 12: "f", 2: "k"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{3: "ndzɔ̀ŋɔ̀tƗ̀dʉ̀ghà", 4: "ndzɔ̀ŋɔ̀tǎafʉ̄ghā", 5: "ndzɔ̀ŋèsèe", 8: "ndzɔ̀ŋɔ̀kwîfɔ̀e", 9: "ndzɔ̀ŋɔ̀tƗ̀fʉ̀ghàdzughù", 11: "ndzɔ̀ŋɔ̀chwaʔàkaa wo", 1: "ndzɔ̀ŋɔ̀nùm", 2: "ndzɔ̀ŋɔ̀kƗ̀zùʔ", 12: "ndzɔ̀ŋèfwòo", 10: "ndzɔ̀ŋɔ̀ghǔuwelɔ̀m", 6: "ndzɔ̀ŋɔ̀nzùghò", 7: "ndzɔ̀ŋɔ̀dùmlo"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{0: "nts", 1: "kpa", 2: "ghɔ", 3: "tɔm", 4: "ume", 5: "ghɨ", 6: "dzk"}, Narrow: ut.CalendarDayFormatNameValue{0: "n", 1: "k", 2: "g", 3: "t", 4: "u", 5: "g", 6: "d"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{0: "tsuʔntsɨ", 1: "tsuʔukpà", 2: "tsuʔughɔe", 3: "tsuʔutɔ̀mlò", 4: "tsuʔumè", 5: "tsuʔughɨ̂m", 6: "tsuʔndzɨkɔʔɔ"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue(nil), Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"pm": "a.k", "am": "a.g"}}}}
+var calendar = ut.Calendar{Formats: ut.CalendarFormats{Date: ut.CalendarDateFormat{Full: "EEEE d MMMM y", Long: "d MMMM y", Medium: "d MMM, y", Short: "d/M/y"}, Time: ut.CalendarDateFormat{Full: "HH:mm:ss zzzz", Long: "HH:mm:ss z", Medium: "HH:mm:ss", Short: "HH:mm"}, DateTime: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{9: "dzu", 10: "lɔm", 12: "fwo", 1: "nùm", 2: "kɨz", 4: "taa", 5: "see", 7: "dum", 3: "tɨd", 6: "nzu", 8: "fɔe", 11: "kaa"}, Narrow: ut.CalendarMonthFormatNameValue{6: "z", 12: "f", 3: "t", 4: "t", 5: "s", 8: "f", 9: "d", 10: "l", 11: "c", 1: "n", 2: "k", 7: "k"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{3: "ndzɔ̀ŋɔ̀tƗ̀dʉ̀ghà", 7: "ndzɔ̀ŋɔ̀dùmlo", 9: "ndzɔ̀ŋɔ̀tƗ̀fʉ̀ghàdzughù", 12: "ndzɔ̀ŋèfwòo", 1: "ndzɔ̀ŋɔ̀nùm", 4: "ndzɔ̀ŋɔ̀tǎafʉ̄ghā", 5: "ndzɔ̀ŋèsèe", 6: "ndzɔ̀ŋɔ̀nzùghò", 8: "ndzɔ̀ŋɔ̀kwîfɔ̀e", 10: "ndzɔ̀ŋɔ̀ghǔuwelɔ̀m", 11: "ndzɔ̀ŋɔ̀chwaʔàkaa wo", 2: "ndzɔ̀ŋɔ̀kƗ̀zùʔ"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{6: "dzk", 0: "nts", 1: "kpa", 2: "ghɔ", 3: "tɔm", 4: "ume", 5: "ghɨ"}, Narrow: ut.CalendarDayFormatNameValue{4: "u", 5: "g", 6: "d", 0: "n", 1: "k", 2: "g", 3: "t"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{0: "tsuʔntsɨ", 1: "tsuʔukpà", 2: "tsuʔughɔe", 3: "tsuʔutɔ̀mlò", 4: "tsuʔumè", 5: "tsuʔughɨ̂m", 6: "tsuʔndzɨkɔʔɔ"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue(nil), Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "a.g", "pm": "a.k"}}}}

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/agq/currency.go


+ 1 - 1
resources/locales/agq/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: ",", Group: "\u00a0", Negative: "", Percent: "", PerMille: ""}
-	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "#,##0.00¤", Percent: "#,##0%"}
+	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "#,##0.00¤", CurrencyAccounting: "#,##0.00¤", Percent: "#,##0%"}
 )

+ 1 - 1
resources/locales/ak/calendar.go

@@ -2,4 +2,4 @@ package ak
 
 import "github.com/go-playground/universal-translator"
 
-var calendar = ut.Calendar{Formats: ut.CalendarFormats{Date: ut.CalendarDateFormat{Full: "EEEE, y MMMM dd", Long: "y MMMM d", Medium: "y MMM d", Short: "yy/MM/dd"}, Time: ut.CalendarDateFormat{Full: "h:mm:ss a zzzz", Long: "h:mm:ss a z", Medium: "h:mm:ss a", Short: "h:mm a"}, DateTime: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{10: "Ɔ-A", 12: "M-Ɔ", 3: "E-Ɔ", 4: "E-O", 6: "O-A", 7: "A-K", 8: "D-Ɔ", 1: "S-Ɔ", 2: "K-Ɔ", 5: "E-K", 9: "F-Ɛ", 11: "Ɔ-O"}, Narrow: ut.CalendarMonthFormatNameValue(nil), Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{9: "Fankwa-Ɛbɔ", 10: "Ɔbɛsɛ-Ahinime", 11: "Ɔberɛfɛw-Obubuo", 4: "Ebɔbira-Oforisuo", 5: "Esusow Aketseaba-Kɔtɔnimba", 6: "Obirade-Ayɛwohomumu", 7: "Ayɛwoho-Kitawonsa", 12: "Mumu-Ɔpɛnimba", 1: "Sanda-Ɔpɛpɔn", 2: "Kwakwar-Ɔgyefuo", 3: "Ebɔw-Ɔbenem", 8: "Difuu-Ɔsandaa"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{5: "Fia", 6: "Mem", 0: "Kwe", 1: "Dwo", 2: "Ben", 3: "Wuk", 4: "Yaw"}, Narrow: ut.CalendarDayFormatNameValue{2: "B", 3: "W", 4: "Y", 5: "F", 6: "M", 0: "K", 1: "D"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{4: "Yawda", 5: "Fida", 6: "Memeneda", 0: "Kwesida", 1: "Dwowda", 2: "Benada", 3: "Wukuda"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue(nil), Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "AN", "pm": "EW"}}}}
+var calendar = ut.Calendar{Formats: ut.CalendarFormats{Date: ut.CalendarDateFormat{Full: "EEEE, y MMMM dd", Long: "y MMMM d", Medium: "y MMM d", Short: "yy/MM/dd"}, Time: ut.CalendarDateFormat{Full: "h:mm:ss a zzzz", Long: "h:mm:ss a z", Medium: "h:mm:ss a", Short: "h:mm a"}, DateTime: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{8: "D-Ɔ", 9: "F-Ɛ", 12: "M-Ɔ", 1: "S-Ɔ", 3: "E-Ɔ", 4: "E-O", 6: "O-A", 7: "A-K", 2: "K-Ɔ", 5: "E-K", 10: "Ɔ-A", 11: "Ɔ-O"}, Narrow: ut.CalendarMonthFormatNameValue(nil), Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{11: "Ɔberɛfɛw-Obubuo", 1: "Sanda-Ɔpɛpɔn", 7: "Ayɛwoho-Kitawonsa", 8: "Difuu-Ɔsandaa", 5: "Esusow Aketseaba-Kɔtɔnimba", 6: "Obirade-Ayɛwohomumu", 9: "Fankwa-Ɛbɔ", 10: "Ɔbɛsɛ-Ahinime", 12: "Mumu-Ɔpɛnimba", 2: "Kwakwar-Ɔgyefuo", 3: "Ebɔw-Ɔbenem", 4: "Ebɔbira-Oforisuo"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{3: "Wuk", 4: "Yaw", 5: "Fia", 6: "Mem", 0: "Kwe", 1: "Dwo", 2: "Ben"}, Narrow: ut.CalendarDayFormatNameValue{1: "D", 2: "B", 3: "W", 4: "Y", 5: "F", 6: "M", 0: "K"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{5: "Fida", 6: "Memeneda", 0: "Kwesida", 1: "Dwowda", 2: "Benada", 3: "Wukuda", 4: "Yawda"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue(nil), Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "AN", "pm": "EW"}}}}

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ak/currency.go


+ 1 - 1
resources/locales/ak/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: ".", Group: ",", Negative: "", Percent: "", PerMille: ""}
-	formats = ut.NumberFormats{Decimal: "", Currency: "¤#,##0.00", Percent: ""}
+	formats = ut.NumberFormats{Decimal: "", Currency: "¤#,##0.00", CurrencyAccounting: "¤#,##0.00", Percent: ""}
 )

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/am/calendar.go


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/am/currency.go


+ 1 - 1
resources/locales/am/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: ".", Group: ",", Negative: "-", Percent: "%", PerMille: "‰"}
-	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤#,##0.00", Percent: "#,##0%"}
+	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤#,##0.00", CurrencyAccounting: "¤#,##0.00;(¤#,##0.00)", Percent: "#,##0%"}
 )

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ar/calendar.go


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ar/currency.go


+ 1 - 1
resources/locales/ar/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: "٫", Group: "٬", Negative: "\u200f-", Percent: "٪", PerMille: "؉"}
-	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", Percent: "#,##0%"}
+	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", CurrencyAccounting: "¤\u00a0#,##0.00", Percent: "#,##0%"}
 )

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ar_AE/calendar.go


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ar_AE/currency.go


+ 1 - 1
resources/locales/ar_AE/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: "٫", Group: "٬", Negative: "\u200f-", Percent: "٪", PerMille: "؉"}
-	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", Percent: "#,##0%"}
+	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", CurrencyAccounting: "¤\u00a0#,##0.00", Percent: "#,##0%"}
 )

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ar_DJ/calendar.go


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ar_DJ/currency.go


+ 1 - 1
resources/locales/ar_DJ/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: "٫", Group: "٬", Negative: "\u200f-", Percent: "٪", PerMille: "؉"}
-	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", Percent: "#,##0%"}
+	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", CurrencyAccounting: "¤\u00a0#,##0.00", Percent: "#,##0%"}
 )

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ar_DZ/calendar.go


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ar_DZ/currency.go


+ 1 - 1
resources/locales/ar_DZ/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: ",", Group: ".", Negative: "\u200f-", Percent: "٪", PerMille: "؉"}
-	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", Percent: "#,##0%"}
+	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", CurrencyAccounting: "¤\u00a0#,##0.00", Percent: "#,##0%"}
 )

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ar_EH/calendar.go


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ar_EH/currency.go


+ 1 - 1
resources/locales/ar_EH/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: "٫", Group: "٬", Negative: "\u200f-", Percent: "٪", PerMille: "؉"}
-	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", Percent: "#,##0%"}
+	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", CurrencyAccounting: "¤\u00a0#,##0.00", Percent: "#,##0%"}
 )

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ar_ER/calendar.go


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ar_ER/currency.go


+ 1 - 1
resources/locales/ar_ER/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: "٫", Group: "٬", Negative: "\u200f-", Percent: "٪", PerMille: "؉"}
-	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", Percent: "#,##0%"}
+	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", CurrencyAccounting: "¤\u00a0#,##0.00", Percent: "#,##0%"}
 )

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ar_LB/calendar.go


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ar_LB/currency.go


+ 1 - 1
resources/locales/ar_LB/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: ",", Group: ".", Negative: "\u200f-", Percent: "٪", PerMille: "؉"}
-	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", Percent: "#,##0%"}
+	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", CurrencyAccounting: "¤\u00a0#,##0.00", Percent: "#,##0%"}
 )

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ar_LY/calendar.go


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ar_LY/currency.go


+ 1 - 1
resources/locales/ar_LY/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: ",", Group: ".", Negative: "\u200f-", Percent: "٪", PerMille: "؉"}
-	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", Percent: "#,##0%"}
+	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", CurrencyAccounting: "¤\u00a0#,##0.00", Percent: "#,##0%"}
 )

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ar_MA/calendar.go


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ar_MA/currency.go


+ 1 - 1
resources/locales/ar_MA/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: ",", Group: ".", Negative: "\u200f-", Percent: "٪", PerMille: "؉"}
-	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", Percent: "#,##0%"}
+	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", CurrencyAccounting: "¤\u00a0#,##0.00", Percent: "#,##0%"}
 )

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ar_MR/calendar.go


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ar_MR/currency.go


+ 1 - 1
resources/locales/ar_MR/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: ",", Group: ".", Negative: "\u200f-", Percent: "٪", PerMille: "؉"}
-	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", Percent: "#,##0%"}
+	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", CurrencyAccounting: "¤\u00a0#,##0.00", Percent: "#,##0%"}
 )

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ar_SO/calendar.go


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ar_SO/currency.go


+ 1 - 1
resources/locales/ar_SO/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: "٫", Group: "٬", Negative: "\u200f-", Percent: "٪", PerMille: "؉"}
-	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", Percent: "#,##0%"}
+	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", CurrencyAccounting: "¤\u00a0#,##0.00", Percent: "#,##0%"}
 )

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ar_SS/calendar.go


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ar_SS/currency.go


+ 1 - 1
resources/locales/ar_SS/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: "٫", Group: "٬", Negative: "\u200f-", Percent: "٪", PerMille: "؉"}
-	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", Percent: "#,##0%"}
+	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", CurrencyAccounting: "¤\u00a0#,##0.00", Percent: "#,##0%"}
 )

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ar_TN/calendar.go


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ar_TN/currency.go


+ 1 - 1
resources/locales/ar_TN/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: ",", Group: ".", Negative: "\u200f-", Percent: "٪", PerMille: "؉"}
-	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", Percent: "#,##0%"}
+	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", CurrencyAccounting: "¤\u00a0#,##0.00", Percent: "#,##0%"}
 )

+ 1 - 1
resources/locales/as/calendar.go

@@ -2,4 +2,4 @@ package as
 
 import "github.com/go-playground/universal-translator"
 
-var calendar = ut.Calendar{Formats: ut.CalendarFormats{Date: ut.CalendarDateFormat{Full: "EEEE, d MMMM, y", Long: "d MMMM, y", Medium: "dd-MM-y", Short: "d-M-y"}, Time: ut.CalendarDateFormat{Full: "h.mm.ss a zzzz", Long: "h.mm.ss a z", Medium: "h.mm.ss a", Short: "h.mm. a"}, DateTime: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{6: "জুন", 7: "জুলাই", 11: "নভে", 12: "ডিসে", 2: "ফেব্ৰু", 3: "মাৰ্চ", 5: "মে", 9: "সেপ্ট", 10: "অক্টো", 1: "জানু", 4: "এপ্ৰিল", 8: "আগ"}, Narrow: ut.CalendarMonthFormatNameValue(nil), Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{2: "ফেব্ৰুৱাৰী", 5: "মে", 9: "ছেপ্তেম্বৰ", 10: "অক্টোবৰ", 11: "নৱেম্বৰ", 12: "ডিচেম্বৰ", 1: "জানুৱাৰী", 4: "এপ্ৰিল", 6: "জুন", 7: "জুলাই", 8: "আগষ্ট", 3: "মাৰ্চ"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{1: "সোম", 2: "মঙ্গল", 3: "বুধ", 4: "বৃহষ্পতি", 5: "শুক্ৰ", 6: "শনি", 0: "ৰবি"}, Narrow: ut.CalendarDayFormatNameValue(nil), Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{5: "শুক্ৰবাৰ", 6: "শনিবাৰ", 0: "দেওবাৰ", 1: "সোমবাৰ", 2: "মঙ্গলবাৰ", 3: "বুধবাৰ", 4: "বৃহষ্পতিবাৰ"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue(nil), Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "পূৰ্বাহ্ণ", "pm": "অপৰাহ্ণ"}}}}
+var calendar = ut.Calendar{Formats: ut.CalendarFormats{Date: ut.CalendarDateFormat{Full: "EEEE, d MMMM, y", Long: "d MMMM, y", Medium: "dd-MM-y", Short: "d-M-y"}, Time: ut.CalendarDateFormat{Full: "h.mm.ss a zzzz", Long: "h.mm.ss a z", Medium: "h.mm.ss a", Short: "h.mm. a"}, DateTime: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{11: "নভে", 3: "মাৰ্চ", 4: "এপ্ৰিল", 5: "মে", 7: "জুলাই", 8: "আগ", 10: "অক্টো", 1: "জানু", 2: "ফেব্ৰু", 6: "জুন", 9: "সেপ্ট", 12: "ডিসে"}, Narrow: ut.CalendarMonthFormatNameValue(nil), Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{5: "মে", 9: "ছেপ্তেম্বৰ", 10: "অক্টোবৰ", 12: "ডিচেম্বৰ", 1: "জানুৱাৰী", 2: "ফেব্ৰুৱাৰী", 3: "মাৰ্চ", 4: "এপ্ৰিল", 6: "জুন", 7: "জুলাই", 8: "আগষ্ট", 11: "নৱেম্বৰ"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{0: "ৰবি", 1: "সোম", 2: "মঙ্গল", 3: "বুধ", 4: "বৃহষ্পতি", 5: "শুক্ৰ", 6: "শনি"}, Narrow: ut.CalendarDayFormatNameValue(nil), Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{0: "দেওবাৰ", 1: "সোমবাৰ", 2: "মঙ্গলবাৰ", 3: "বুধবাৰ", 4: "বৃহষ্পতিবাৰ", 5: "শুক্ৰবাৰ", 6: "শনিবাৰ"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue(nil), Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "পূৰ্বাহ্ণ", "pm": "অপৰাহ্ণ"}}}}

+ 1 - 1
resources/locales/as/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: "", Group: "", Negative: "", Percent: "", PerMille: ""}
-	formats = ut.NumberFormats{Decimal: "#,##,##0.###", Currency: "¤\u00a0#,##,##0.00", Percent: "#,##,##0%"}
+	formats = ut.NumberFormats{Decimal: "#,##,##0.###", Currency: "¤\u00a0#,##,##0.00", CurrencyAccounting: "¤\u00a0#,##,##0.00", Percent: "#,##,##0%"}
 )

+ 1 - 1
resources/locales/asa/calendar.go

@@ -2,4 +2,4 @@ package asa
 
 import "github.com/go-playground/universal-translator"
 
-var calendar = ut.Calendar{Formats: ut.CalendarFormats{Date: ut.CalendarDateFormat{Full: "EEEE, d MMMM y", Long: "d MMMM y", Medium: "d MMM y", Short: "dd/MM/y"}, Time: ut.CalendarDateFormat{Full: "HH:mm:ss zzzz", Long: "HH:mm:ss z", Medium: "HH:mm:ss", Short: "HH:mm"}, DateTime: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{7: "Jul", 8: "Ago", 9: "Sep", 10: "Okt", 2: "Feb", 4: "Apr", 5: "Mei", 6: "Jun", 11: "Nov", 1: "Jan", 3: "Mac", 12: "Dec"}, Narrow: ut.CalendarMonthFormatNameValue{4: "A", 5: "M", 8: "A", 9: "S", 11: "N", 12: "D", 2: "F", 3: "M", 6: "J", 7: "J", 10: "O", 1: "J"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{6: "Juni", 8: "Agosti", 12: "Desemba", 1: "Januari", 4: "Aprili", 5: "Mei", 7: "Julai", 9: "Septemba", 10: "Oktoba", 11: "Novemba", 2: "Februari", 3: "Machi"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{0: "Jpi", 1: "Jtt", 2: "Jnn", 3: "Jtn", 4: "Alh", 5: "Ijm", 6: "Jmo"}, Narrow: ut.CalendarDayFormatNameValue{0: "J", 1: "J", 2: "J", 3: "J", 4: "A", 5: "I", 6: "J"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{1: "Jumatatu", 2: "Jumanne", 3: "Jumatano", 4: "Alhamisi", 5: "Ijumaa", 6: "Jumamosi", 0: "Jumapili"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue(nil), Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "icheheavo", "pm": "ichamthi"}}}}
+var calendar = ut.Calendar{Formats: ut.CalendarFormats{Date: ut.CalendarDateFormat{Full: "EEEE, d MMMM y", Long: "d MMMM y", Medium: "d MMM y", Short: "dd/MM/y"}, Time: ut.CalendarDateFormat{Full: "HH:mm:ss zzzz", Long: "HH:mm:ss z", Medium: "HH:mm:ss", Short: "HH:mm"}, DateTime: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{1: "Jan", 2: "Feb", 4: "Apr", 8: "Ago", 12: "Dec", 10: "Okt", 11: "Nov", 3: "Mac", 5: "Mei", 6: "Jun", 7: "Jul", 9: "Sep"}, Narrow: ut.CalendarMonthFormatNameValue{5: "M", 8: "A", 2: "F", 3: "M", 6: "J", 7: "J", 9: "S", 10: "O", 11: "N", 12: "D", 1: "J", 4: "A"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{9: "Septemba", 11: "Novemba", 12: "Desemba", 3: "Machi", 4: "Aprili", 6: "Juni", 7: "Julai", 8: "Agosti", 10: "Oktoba", 1: "Januari", 2: "Februari", 5: "Mei"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{6: "Jmo", 0: "Jpi", 1: "Jtt", 2: "Jnn", 3: "Jtn", 4: "Alh", 5: "Ijm"}, Narrow: ut.CalendarDayFormatNameValue{3: "J", 4: "A", 5: "I", 6: "J", 0: "J", 1: "J", 2: "J"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{1: "Jumatatu", 2: "Jumanne", 3: "Jumatano", 4: "Alhamisi", 5: "Ijumaa", 6: "Jumamosi", 0: "Jumapili"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue(nil), Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "icheheavo", "pm": "ichamthi"}}}}

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/asa/currency.go


+ 1 - 1
resources/locales/asa/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: "", Group: "", Negative: "", Percent: "", PerMille: ""}
-	formats = ut.NumberFormats{Decimal: "", Currency: "#,##0.00\u00a0¤", Percent: ""}
+	formats = ut.NumberFormats{Decimal: "", Currency: "#,##0.00\u00a0¤", CurrencyAccounting: "#,##0.00\u00a0¤", Percent: ""}
 )

+ 1 - 1
resources/locales/ast/calendar.go

@@ -2,4 +2,4 @@ package ast
 
 import "github.com/go-playground/universal-translator"
 
-var calendar = ut.Calendar{Formats: ut.CalendarFormats{Date: ut.CalendarDateFormat{Full: "EEEE, d MMMM 'de' y", Long: "d MMMM 'de' y", Medium: "d MMM y", Short: "d/M/yy"}, Time: ut.CalendarDateFormat{Full: "HH:mm:ss zzzz", Long: "HH:mm:ss z", Medium: "HH:mm:ss", Short: "HH:mm"}, DateTime: ut.CalendarDateFormat{Full: "{1} 'a' 'les' {0}", Long: "{1} 'a' 'les' {0}", Medium: "{1}, {0}", Short: "{1} {0}"}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{1: "Xin", 2: "Feb", 5: "May", 6: "Xun", 8: "Ago", 10: "Och", 11: "Pay", 3: "Mar", 4: "Abr", 7: "Xnt", 9: "Set", 12: "Avi"}, Narrow: ut.CalendarMonthFormatNameValue{1: "X", 2: "F", 4: "A", 6: "X", 10: "O", 12: "A", 3: "M", 5: "M", 7: "X", 8: "A", 9: "S", 11: "P"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{2: "febreru", 4: "abril", 6: "xunu", 7: "xunetu", 8: "agostu", 9: "setiembre", 12: "avientu", 1: "xineru", 5: "mayu", 10: "ochobre", 11: "payares", 3: "marzu"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{3: "mié", 4: "xue", 5: "vie", 6: "sáb", 0: "dom", 1: "llu", 2: "mar"}, Narrow: ut.CalendarDayFormatNameValue{1: "L", 2: "M", 3: "M", 4: "X", 5: "V", 6: "S", 0: "D"}, Short: ut.CalendarDayFormatNameValue{5: "vi", 6: "sá", 0: "do", 1: "ll", 2: "ma", 3: "mi", 4: "xu"}, Wide: ut.CalendarDayFormatNameValue{2: "martes", 3: "miércoles", 4: "xueves", 5: "vienres", 6: "sábadu", 0: "domingu", 1: "llunes"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "AM", "pm": "PM"}, Narrow: ut.CalendarPeriodFormatNameValue{"am": "a", "pm": "p"}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "mañana", "pm": "tardi"}}}}
+var calendar = ut.Calendar{Formats: ut.CalendarFormats{Date: ut.CalendarDateFormat{Full: "EEEE, d MMMM 'de' y", Long: "d MMMM 'de' y", Medium: "d MMM y", Short: "d/M/yy"}, Time: ut.CalendarDateFormat{Full: "HH:mm:ss zzzz", Long: "HH:mm:ss z", Medium: "HH:mm:ss", Short: "HH:mm"}, DateTime: ut.CalendarDateFormat{Full: "{1} 'a' 'les' {0}", Long: "{1} 'a' 'les' {0}", Medium: "{1}, {0}", Short: "{1} {0}"}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{1: "Xin", 2: "Feb", 6: "Xun", 8: "Ago", 10: "Och", 11: "Pay", 3: "Mar", 4: "Abr", 5: "May", 7: "Xnt", 9: "Set", 12: "Avi"}, Narrow: ut.CalendarMonthFormatNameValue{1: "X", 4: "A", 5: "M", 7: "X", 9: "S", 10: "O", 11: "P", 12: "A", 2: "F", 3: "M", 6: "X", 8: "A"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{3: "marzu", 5: "mayu", 7: "xunetu", 8: "agostu", 9: "setiembre", 10: "ochobre", 11: "payares", 2: "febreru", 4: "abril", 6: "xunu", 12: "avientu", 1: "xineru"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{3: "mié", 4: "xue", 5: "vie", 6: "sáb", 0: "dom", 1: "llu", 2: "mar"}, Narrow: ut.CalendarDayFormatNameValue{1: "L", 2: "M", 3: "M", 4: "X", 5: "V", 6: "S", 0: "D"}, Short: ut.CalendarDayFormatNameValue{2: "ma", 3: "mi", 4: "xu", 5: "vi", 6: "sá", 0: "do", 1: "ll"}, Wide: ut.CalendarDayFormatNameValue{3: "miércoles", 4: "xueves", 5: "vienres", 6: "sábadu", 0: "domingu", 1: "llunes", 2: "martes"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"pm": "PM", "am": "AM"}, Narrow: ut.CalendarPeriodFormatNameValue{"am": "a", "pm": "p"}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "mañana", "pm": "tardi"}}}}

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/ast/currency.go


+ 1 - 1
resources/locales/ast/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: "٫", Group: "٬", Negative: "\u200f-", Percent: "٪", PerMille: "؉"}
-	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "#,##0.00\u00a0¤", Percent: "#,##0%"}
+	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "#,##0.00\u00a0¤", CurrencyAccounting: "#,##0.00\u00a0¤", Percent: "#,##0%"}
 )

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/az/calendar.go


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/az/currency.go


+ 1 - 1
resources/locales/az/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: ",", Group: ".", Negative: "-", Percent: "%", PerMille: "‰"}
-	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", Percent: "#,##0%"}
+	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", CurrencyAccounting: "¤\u00a0#,##0.00", Percent: "#,##0%"}
 )

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/az_Cyrl/calendar.go


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/az_Cyrl/currency.go


+ 1 - 1
resources/locales/az_Cyrl/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: ",", Group: ".", Negative: "-", Percent: "%", PerMille: "‰"}
-	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", Percent: "#,##0%"}
+	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", CurrencyAccounting: "¤\u00a0#,##0.00", Percent: "#,##0%"}
 )

+ 1 - 1
resources/locales/bas/calendar.go

@@ -2,4 +2,4 @@ package bas
 
 import "github.com/go-playground/universal-translator"
 
-var calendar = ut.Calendar{Formats: ut.CalendarFormats{Date: ut.CalendarDateFormat{Full: "EEEE d MMMM y", Long: "d MMMM y", Medium: "d MMM, y", Short: "d/M/y"}, Time: ut.CalendarDateFormat{Full: "HH:mm:ss zzzz", Long: "HH:mm:ss z", Medium: "HH:mm:ss", Short: "HH:mm"}, DateTime: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{11: "may", 12: "liɓ", 2: "mac", 3: "mat", 4: "mto", 6: "hil", 7: "nje", 9: "dip", 1: "kɔn", 5: "mpu", 8: "hik", 10: "bio"}, Narrow: ut.CalendarMonthFormatNameValue{10: "b", 1: "k", 2: "m", 4: "m", 7: "n", 9: "d", 11: "m", 12: "l", 3: "m", 5: "m", 6: "h", 8: "h"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{8: "Hìkaŋ", 1: "Kɔndɔŋ", 2: "Màcɛ̂l", 3: "Màtùmb", 4: "Màtop", 5: "M̀puyɛ", 6: "Hìlòndɛ̀", 7: "Njèbà", 9: "Dìpɔ̀s", 10: "Bìòôm", 12: "Lìbuy li ńyèe", 11: "Màyɛsèp"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{1: "nja", 2: "uum", 3: "ŋge", 4: "mbɔ", 5: "kɔɔ", 6: "jon", 0: "nɔy"}, Narrow: ut.CalendarDayFormatNameValue{2: "u", 3: "ŋ", 4: "m", 5: "k", 6: "j", 0: "n", 1: "n"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{4: "ŋgwà mbɔk", 5: "ŋgwà kɔɔ", 6: "ŋgwà jôn", 0: "ŋgwà nɔ̂y", 1: "ŋgwà njaŋgumba", 2: "ŋgwà ûm", 3: "ŋgwà ŋgê"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue(nil), Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "I bikɛ̂glà", "pm": "I ɓugajɔp"}}}}
+var calendar = ut.Calendar{Formats: ut.CalendarFormats{Date: ut.CalendarDateFormat{Full: "EEEE d MMMM y", Long: "d MMMM y", Medium: "d MMM, y", Short: "d/M/y"}, Time: ut.CalendarDateFormat{Full: "HH:mm:ss zzzz", Long: "HH:mm:ss z", Medium: "HH:mm:ss", Short: "HH:mm"}, DateTime: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{10: "bio", 11: "may", 6: "hil", 9: "dip", 3: "mat", 4: "mto", 5: "mpu", 7: "nje", 8: "hik", 12: "liɓ", 1: "kɔn", 2: "mac"}, Narrow: ut.CalendarMonthFormatNameValue{8: "h", 9: "d", 10: "b", 11: "m", 2: "m", 5: "m", 6: "h", 7: "n", 12: "l", 1: "k", 3: "m", 4: "m"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{2: "Màcɛ̂l", 3: "Màtùmb", 4: "Màtop", 6: "Hìlòndɛ̀", 8: "Hìkaŋ", 1: "Kɔndɔŋ", 5: "M̀puyɛ", 7: "Njèbà", 9: "Dìpɔ̀s", 10: "Bìòôm", 11: "Màyɛsèp", 12: "Lìbuy li ńyèe"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{0: "nɔy", 1: "nja", 2: "uum", 3: "ŋge", 4: "mbɔ", 5: "kɔɔ", 6: "jon"}, Narrow: ut.CalendarDayFormatNameValue{0: "n", 1: "n", 2: "u", 3: "ŋ", 4: "m", 5: "k", 6: "j"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{1: "ŋgwà njaŋgumba", 2: "ŋgwà ûm", 3: "ŋgwà ŋgê", 4: "ŋgwà mbɔk", 5: "ŋgwà kɔɔ", 6: "ŋgwà jôn", 0: "ŋgwà nɔ̂y"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue(nil), Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "I bikɛ̂glà", "pm": "I ɓugajɔp"}}}}

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/bas/currency.go


+ 1 - 1
resources/locales/bas/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: ",", Group: "\u00a0", Negative: "", Percent: "", PerMille: ""}
-	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "#,##0.00\u00a0¤", Percent: "#,##0\u00a0%"}
+	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "#,##0.00\u00a0¤", CurrencyAccounting: "#,##0.00\u00a0¤", Percent: "#,##0\u00a0%"}
 )

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/be/calendar.go


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/be/currency.go


+ 1 - 1
resources/locales/be/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: ",", Group: "\u00a0", Negative: "-", Percent: "%", PerMille: "‰"}
-	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "#,##0.00\u00a0¤", Percent: "#,##0\u00a0%"}
+	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "#,##0.00\u00a0¤", CurrencyAccounting: "¤#,##0.00;(¤#,##0.00)", Percent: "#,##0\u00a0%"}
 )

+ 1 - 1
resources/locales/bem/calendar.go

@@ -2,4 +2,4 @@ package bem
 
 import "github.com/go-playground/universal-translator"
 
-var calendar = ut.Calendar{Formats: ut.CalendarFormats{Date: ut.CalendarDateFormat{Full: "EEEE, d MMMM y", Long: "d MMMM y", Medium: "d MMM y", Short: "dd/MM/y"}, Time: ut.CalendarDateFormat{Full: "h:mm:ss a zzzz", Long: "h:mm:ss a z", Medium: "h:mm:ss a", Short: "h:mm a"}, DateTime: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{6: "Jun", 7: "Jul", 8: "Oga", 9: "Sep", 10: "Okt", 11: "Nov", 3: "Mac", 5: "Mei", 4: "Epr", 12: "Dis", 1: "Jan", 2: "Feb"}, Narrow: ut.CalendarMonthFormatNameValue{9: "S", 11: "N", 12: "D", 1: "J", 3: "M", 5: "M", 7: "J", 8: "O", 2: "F", 4: "E", 6: "J", 10: "O"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{2: "Februari", 3: "Machi", 5: "Mei", 11: "Novemba", 9: "Septemba", 10: "Oktoba", 12: "Disemba", 1: "Januari", 4: "Epreo", 6: "Juni", 7: "Julai", 8: "Ogasti"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue(nil), Narrow: ut.CalendarDayFormatNameValue(nil), Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{1: "Palichimo", 2: "Palichibuli", 3: "Palichitatu", 4: "Palichine", 5: "Palichisano", 6: "Pachibelushi", 0: "Pa Mulungu"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue(nil), Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "uluchelo", "pm": "akasuba"}}}}
+var calendar = ut.Calendar{Formats: ut.CalendarFormats{Date: ut.CalendarDateFormat{Full: "EEEE, d MMMM y", Long: "d MMMM y", Medium: "d MMM y", Short: "dd/MM/y"}, Time: ut.CalendarDateFormat{Full: "h:mm:ss a zzzz", Long: "h:mm:ss a z", Medium: "h:mm:ss a", Short: "h:mm a"}, DateTime: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{7: "Jul", 1: "Jan", 2: "Feb", 5: "Mei", 8: "Oga", 9: "Sep", 10: "Okt", 11: "Nov", 12: "Dis", 3: "Mac", 4: "Epr", 6: "Jun"}, Narrow: ut.CalendarMonthFormatNameValue{1: "J", 6: "J", 7: "J", 8: "O", 9: "S", 11: "N", 2: "F", 3: "M", 4: "E", 5: "M", 10: "O", 12: "D"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{3: "Machi", 4: "Epreo", 5: "Mei", 6: "Juni", 8: "Ogasti", 10: "Oktoba", 12: "Disemba", 1: "Januari", 7: "Julai", 9: "Septemba", 11: "Novemba", 2: "Februari"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue(nil), Narrow: ut.CalendarDayFormatNameValue(nil), Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{4: "Palichine", 5: "Palichisano", 6: "Pachibelushi", 0: "Pa Mulungu", 1: "Palichimo", 2: "Palichibuli", 3: "Palichitatu"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue(nil), Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "uluchelo", "pm": "akasuba"}}}}

+ 1 - 1
resources/locales/bem/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: "", Group: "", Negative: "", Percent: "", PerMille: ""}
-	formats = ut.NumberFormats{Decimal: "", Currency: "¤#,##0.00", Percent: ""}
+	formats = ut.NumberFormats{Decimal: "", Currency: "¤#,##0.00", CurrencyAccounting: "¤#,##0.00;(¤#,##0.00)", Percent: ""}
 )

+ 1 - 1
resources/locales/bez/calendar.go

@@ -2,4 +2,4 @@ package bez
 
 import "github.com/go-playground/universal-translator"
 
-var calendar = ut.Calendar{Formats: ut.CalendarFormats{Date: ut.CalendarDateFormat{Full: "EEEE, d MMMM y", Long: "d MMMM y", Medium: "d MMM y", Short: "dd/MM/y"}, Time: ut.CalendarDateFormat{Full: "HH:mm:ss zzzz", Long: "HH:mm:ss z", Medium: "HH:mm:ss", Short: "HH:mm"}, DateTime: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{1: "Hut", 4: "Tai", 6: "Sit", 8: "Nan", 9: "Tis", 10: "Kum", 12: "Kmb", 2: "Vil", 3: "Dat", 5: "Han", 7: "Sab", 11: "Kmj"}, Narrow: ut.CalendarMonthFormatNameValue{2: "V", 7: "S", 8: "N", 9: "T", 10: "K", 1: "H", 3: "D", 4: "T", 5: "H", 6: "S", 11: "K", 12: "K"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{3: "pa mwedzi gwa wudatu", 5: "pa mwedzi gwa wuhanu", 6: "pa mwedzi gwa sita", 8: "pa mwedzi gwa nane", 12: "pa mwedzi gwa kumi na mbili", 2: "pa mwedzi gwa wuvili", 4: "pa mwedzi gwa wutai", 7: "pa mwedzi gwa saba", 9: "pa mwedzi gwa tisa", 10: "pa mwedzi gwa kumi", 11: "pa mwedzi gwa kumi na moja", 1: "pa mwedzi gwa hutala"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{3: "Hid", 4: "Hit", 5: "Hih", 6: "Lem", 0: "Mul", 1: "Vil", 2: "Hiv"}, Narrow: ut.CalendarDayFormatNameValue{1: "J", 2: "H", 3: "H", 4: "H", 5: "W", 6: "J", 0: "M"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{5: "pa hihanu", 6: "pa shahulembela", 0: "pa mulungu", 1: "pa shahuviluha", 2: "pa hivili", 3: "pa hidatu", 4: "pa hitayi"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue(nil), Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "pamilau", "pm": "pamunyi"}}}}
+var calendar = ut.Calendar{Formats: ut.CalendarFormats{Date: ut.CalendarDateFormat{Full: "EEEE, d MMMM y", Long: "d MMMM y", Medium: "d MMM y", Short: "dd/MM/y"}, Time: ut.CalendarDateFormat{Full: "HH:mm:ss zzzz", Long: "HH:mm:ss z", Medium: "HH:mm:ss", Short: "HH:mm"}, DateTime: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{2: "Vil", 4: "Tai", 5: "Han", 11: "Kmj", 10: "Kum", 12: "Kmb", 1: "Hut", 3: "Dat", 6: "Sit", 7: "Sab", 8: "Nan", 9: "Tis"}, Narrow: ut.CalendarMonthFormatNameValue{1: "H", 3: "D", 9: "T", 10: "K", 7: "S", 8: "N", 11: "K", 12: "K", 2: "V", 4: "T", 5: "H", 6: "S"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{4: "pa mwedzi gwa wutai", 5: "pa mwedzi gwa wuhanu", 7: "pa mwedzi gwa saba", 8: "pa mwedzi gwa nane", 9: "pa mwedzi gwa tisa", 10: "pa mwedzi gwa kumi", 11: "pa mwedzi gwa kumi na moja", 1: "pa mwedzi gwa hutala", 2: "pa mwedzi gwa wuvili", 3: "pa mwedzi gwa wudatu", 6: "pa mwedzi gwa sita", 12: "pa mwedzi gwa kumi na mbili"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{1: "Vil", 2: "Hiv", 3: "Hid", 4: "Hit", 5: "Hih", 6: "Lem", 0: "Mul"}, Narrow: ut.CalendarDayFormatNameValue{5: "W", 6: "J", 0: "M", 1: "J", 2: "H", 3: "H", 4: "H"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{2: "pa hivili", 3: "pa hidatu", 4: "pa hitayi", 5: "pa hihanu", 6: "pa shahulembela", 0: "pa mulungu", 1: "pa shahuviluha"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue(nil), Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "pamilau", "pm": "pamunyi"}}}}

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/bez/currency.go


+ 1 - 1
resources/locales/bez/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: "", Group: "", Negative: "", Percent: "", PerMille: ""}
-	formats = ut.NumberFormats{Decimal: "", Currency: "#,##0.00¤", Percent: ""}
+	formats = ut.NumberFormats{Decimal: "", Currency: "#,##0.00¤", CurrencyAccounting: "#,##0.00¤", Percent: ""}
 )

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/bg/calendar.go


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/bg/currency.go


+ 1 - 1
resources/locales/bg/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: ",", Group: "\u00a0", Negative: "-", Percent: "%", PerMille: "‰"}
-	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "#,##0.00\u00a0¤", Percent: "#,##0%"}
+	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "#,##0.00\u00a0¤", CurrencyAccounting: "#,##0.00\u00a0¤;(#,##0.00\u00a0¤)", Percent: "#,##0%"}
 )

+ 1 - 1
resources/locales/bm/calendar.go

@@ -2,4 +2,4 @@ package bm
 
 import "github.com/go-playground/universal-translator"
 
-var calendar = ut.Calendar{Formats: ut.CalendarFormats{Date: ut.CalendarDateFormat{Full: "EEEE d MMMM y", Long: "d MMMM y", Medium: "d MMM, y", Short: "d/M/y"}, Time: ut.CalendarDateFormat{Full: "HH:mm:ss zzzz", Long: "HH:mm:ss z", Medium: "HH:mm:ss", Short: "HH:mm"}, DateTime: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{6: "zuw", 8: "uti", 9: "sɛt", 10: "ɔku", 1: "zan", 2: "feb", 4: "awi", 5: "mɛ", 11: "now", 12: "des", 3: "mar", 7: "zul"}, Narrow: ut.CalendarMonthFormatNameValue{2: "F", 3: "M", 4: "A", 5: "M", 9: "S", 10: "Ɔ", 1: "Z", 6: "Z", 7: "Z", 8: "U", 11: "N", 12: "D"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{1: "zanwuye", 2: "feburuye", 3: "marisi", 4: "awirili", 5: "mɛ", 8: "uti", 11: "nowanburu", 12: "desanburu", 6: "zuwɛn", 7: "zuluye", 9: "sɛtanburu", 10: "ɔkutɔburu"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{0: "kar", 1: "ntɛ", 2: "tar", 3: "ara", 4: "ala", 5: "jum", 6: "sib"}, Narrow: ut.CalendarDayFormatNameValue{0: "K", 1: "N", 2: "T", 3: "A", 4: "A", 5: "J", 6: "S"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{0: "kari", 1: "ntɛnɛ", 2: "tarata", 3: "araba", 4: "alamisa", 5: "juma", 6: "sibiri"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue(nil), Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue(nil)}}}
+var calendar = ut.Calendar{Formats: ut.CalendarFormats{Date: ut.CalendarDateFormat{Full: "EEEE d MMMM y", Long: "d MMMM y", Medium: "d MMM, y", Short: "d/M/y"}, Time: ut.CalendarDateFormat{Full: "HH:mm:ss zzzz", Long: "HH:mm:ss z", Medium: "HH:mm:ss", Short: "HH:mm"}, DateTime: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{1: "zan", 2: "feb", 3: "mar", 5: "mɛ", 6: "zuw", 8: "uti", 4: "awi", 7: "zul", 9: "sɛt", 10: "ɔku", 11: "now", 12: "des"}, Narrow: ut.CalendarMonthFormatNameValue{7: "Z", 9: "S", 1: "Z", 2: "F", 3: "M", 4: "A", 5: "M", 6: "Z", 10: "Ɔ", 11: "N", 8: "U", 12: "D"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{9: "sɛtanburu", 10: "ɔkutɔburu", 11: "nowanburu", 2: "feburuye", 3: "marisi", 7: "zuluye", 8: "uti", 12: "desanburu", 1: "zanwuye", 4: "awirili", 5: "mɛ", 6: "zuwɛn"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{0: "kar", 1: "ntɛ", 2: "tar", 3: "ara", 4: "ala", 5: "jum", 6: "sib"}, Narrow: ut.CalendarDayFormatNameValue{1: "N", 2: "T", 3: "A", 4: "A", 5: "J", 6: "S", 0: "K"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{5: "juma", 6: "sibiri", 0: "kari", 1: "ntɛnɛ", 2: "tarata", 3: "araba", 4: "alamisa"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue(nil), Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue(nil)}}}

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/bm/currency.go


+ 1 - 1
resources/locales/bm/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: "", Group: "", Negative: "", Percent: "", PerMille: ""}
-	formats = ut.NumberFormats{Decimal: "", Currency: "¤#,##0.00", Percent: ""}
+	formats = ut.NumberFormats{Decimal: "", Currency: "¤#,##0.00", CurrencyAccounting: "¤#,##0.00;(¤#,##0.00)", Percent: ""}
 )

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/bn/calendar.go


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/bn/currency.go


+ 1 - 1
resources/locales/bn/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: "", Group: "", Negative: "", Percent: "", PerMille: ""}
-	formats = ut.NumberFormats{Decimal: "#,##,##0.###", Currency: "#,##,##0.00¤", Percent: "#,##,##0%"}
+	formats = ut.NumberFormats{Decimal: "#,##,##0.###", Currency: "#,##,##0.00¤", CurrencyAccounting: "#,##,##0.00¤;(#,##,##0.00¤)", Percent: "#,##,##0%"}
 )

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/bo/calendar.go


+ 1 - 1
resources/locales/bo/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: ".", Group: ",", Negative: "", Percent: "", PerMille: ""}
-	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", Percent: "#,##0%"}
+	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", CurrencyAccounting: "¤\u00a0#,##0.00", Percent: "#,##0%"}
 )

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/bo_IN/calendar.go


+ 1 - 1
resources/locales/bo_IN/currency.go

@@ -2,4 +2,4 @@ package bo_IN
 
 import "github.com/go-playground/universal-translator"
 
-var currencies = ut.CurrencyFormatValue{"CNY": ut.Currency{Currency: "CNY", DisplayName: "ཡུ་ཨན་", Symbol: "CN¥"}, "INR": ut.Currency{Currency: "INR", DisplayName: "རྒྱ་གར་སྒོར་", Symbol: ""}, "USD": ut.Currency{Currency: "USD", DisplayName: "ཨ་རིའི་སྒོར་", Symbol: ""}, "XXX": ut.Currency{Currency: "XXX", DisplayName: "མ་རྟོགས་པའི་ནུས་མེད་དངུལ་ལོར", Symbol: ""}}
+var currencies = ut.CurrencyFormatValue{"CNY": ut.Currency{Currency: "CNY", DisplayName: "ཡུ་ཨན་", Symbol: "CN¥"}}

+ 1 - 1
resources/locales/bo_IN/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: ".", Group: ",", Negative: "", Percent: "", PerMille: ""}
-	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", Percent: "#,##0%"}
+	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "¤\u00a0#,##0.00", CurrencyAccounting: "¤\u00a0#,##0.00", Percent: "#,##0%"}
 )

+ 1 - 1
resources/locales/br/calendar.go

@@ -2,4 +2,4 @@ package br
 
 import "github.com/go-playground/universal-translator"
 
-var calendar = ut.Calendar{Formats: ut.CalendarFormats{Date: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}, Time: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}, DateTime: ut.CalendarDateFormat{Full: "{1} 'da' {0}", Long: "{1} 'da' {0}", Medium: "{1} {0}", Short: "{1} {0}"}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{4: "Ebr.", 7: "Goue.", 9: "Gwen.", 11: "Du", 1: "Gen.", 3: "Meur.", 6: "Mezh.", 8: "Eost", 10: "Here", 12: "Ker.", 2: "Cʼhwe.", 5: "Mae"}, Narrow: ut.CalendarMonthFormatNameValue{9: "09", 10: "10", 1: "01", 3: "03", 4: "04", 8: "08", 11: "11", 12: "12", 2: "02", 5: "05", 6: "06", 7: "07"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{1: "Genver", 4: "Ebrel", 7: "Gouere", 8: "Eost", 9: "Gwengolo", 10: "Here", 11: "Du", 2: "Cʼhwevrer", 3: "Meurzh", 5: "Mae", 6: "Mezheven", 12: "Kerzu"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{0: "Sul", 1: "Lun", 2: "Meu.", 3: "Mer.", 4: "Yaou", 5: "Gwe.", 6: "Sad."}, Narrow: ut.CalendarDayFormatNameValue{6: "Sa", 0: "Su", 1: "L", 2: "Mz", 3: "Mc", 4: "Y", 5: "G"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{3: "Mercʼher", 4: "Yaou", 5: "Gwener", 6: "Sadorn", 0: "Sul", 1: "Lun", 2: "Meurzh"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"pm": "G.M.", "am": "A.M."}, Narrow: ut.CalendarPeriodFormatNameValue{"am": "am", "pm": "gm"}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "a-raok merenn", "pm": "goude merenn"}}}}
+var calendar = ut.Calendar{Formats: ut.CalendarFormats{Date: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}, Time: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}, DateTime: ut.CalendarDateFormat{Full: "{1} 'da' {0}", Long: "{1} 'da' {0}", Medium: "{1} {0}", Short: "{1} {0}"}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{2: "Cʼhwe.", 3: "Meur.", 4: "Ebr.", 5: "Mae", 6: "Mezh.", 7: "Goue.", 8: "Eost", 1: "Gen.", 11: "Du", 10: "Here", 12: "Ker.", 9: "Gwen."}, Narrow: ut.CalendarMonthFormatNameValue{11: "11", 1: "01", 2: "02", 4: "04", 7: "07", 8: "08", 12: "12", 3: "03", 5: "05", 6: "06", 9: "09", 10: "10"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{10: "Here", 12: "Kerzu", 2: "Cʼhwevrer", 3: "Meurzh", 6: "Mezheven", 8: "Eost", 9: "Gwengolo", 11: "Du", 1: "Genver", 4: "Ebrel", 5: "Mae", 7: "Gouere"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{2: "Meu.", 3: "Mer.", 4: "Yaou", 5: "Gwe.", 6: "Sad.", 0: "Sul", 1: "Lun"}, Narrow: ut.CalendarDayFormatNameValue{3: "Mc", 4: "Y", 5: "G", 6: "Sa", 0: "Su", 1: "L", 2: "Mz"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{1: "Lun", 2: "Meurzh", 3: "Mercʼher", 4: "Yaou", 5: "Gwener", 6: "Sadorn", 0: "Sul"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "A.M.", "pm": "G.M."}, Narrow: ut.CalendarPeriodFormatNameValue{"am": "am", "pm": "gm"}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "a-raok merenn", "pm": "goude merenn"}}}}

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
resources/locales/br/currency.go


+ 1 - 1
resources/locales/br/number.go

@@ -4,5 +4,5 @@ import "github.com/go-playground/universal-translator"
 
 var (
 	symbols = ut.Symbols{Decimal: "", Group: "", Negative: "", Percent: "", PerMille: ""}
-	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "#,##0.00\u00a0¤", Percent: "#,##0\u00a0%"}
+	formats = ut.NumberFormats{Decimal: "#,##0.###", Currency: "#,##0.00\u00a0¤", CurrencyAccounting: "#,##0.00\u00a0¤", Percent: "#,##0\u00a0%"}
 )

Некоторые файлы не были показаны из-за большого количества измененных файлов