mirror of
https://github.com/rancher/rke.git
synced 2025-09-09 11:01:40 +00:00
Vendor update
This commit is contained in:
10
vendor/golang.org/x/text/unicode/cldr/base.go
generated
vendored
10
vendor/golang.org/x/text/unicode/cldr/base.go
generated
vendored
@@ -2,16 +2,6 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// Package cldr provides a parser for LDML and related XML formats.
|
||||
// This package is inteded to be used by the table generation tools
|
||||
// for the various internationalization-related packages.
|
||||
// As the XML types are generated from the CLDR DTD, and as the CLDR standard
|
||||
// is periodically amended, this package may change considerably over time.
|
||||
// This mostly means that data may appear and disappear between versions.
|
||||
// That is, old code should keep compiling for newer versions, but data
|
||||
// may have moved or changed.
|
||||
// CLDR version 22 is the first version supported by this package.
|
||||
// Older versions may not work.
|
||||
package cldr
|
||||
|
||||
import (
|
||||
|
2
vendor/golang.org/x/text/unicode/cldr/cldr.go
generated
vendored
2
vendor/golang.org/x/text/unicode/cldr/cldr.go
generated
vendored
@@ -5,7 +5,7 @@
|
||||
//go:generate go run makexml.go -output xml.go
|
||||
|
||||
// Package cldr provides a parser for LDML and related XML formats.
|
||||
// This package is inteded to be used by the table generation tools
|
||||
// This package is intended to be used by the table generation tools
|
||||
// for the various internationalization-related packages.
|
||||
// As the XML types are generated from the CLDR DTD, and as the CLDR standard
|
||||
// is periodically amended, this package may change considerably over time.
|
||||
|
57
vendor/golang.org/x/text/unicode/cldr/xml.go
generated
vendored
57
vendor/golang.org/x/text/unicode/cldr/xml.go
generated
vendored
@@ -1,4 +1,4 @@
|
||||
// This file was generated by go generate; DO NOT EDIT
|
||||
// Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT.
|
||||
|
||||
package cldr
|
||||
|
||||
@@ -126,6 +126,7 @@ type SupplementalData struct {
|
||||
Population string `xml:"population,attr"`
|
||||
LanguagePopulation []*struct {
|
||||
Common
|
||||
LiteracyPercent string `xml:"literacyPercent,attr"`
|
||||
WritingPercent string `xml:"writingPercent,attr"`
|
||||
PopulationPercent string `xml:"populationPercent,attr"`
|
||||
OfficialStatus string `xml:"officialStatus,attr"`
|
||||
@@ -185,6 +186,11 @@ type SupplementalData struct {
|
||||
Day string `xml:"day,attr"`
|
||||
Territories string `xml:"territories,attr"`
|
||||
} `xml:"weekendEnd"`
|
||||
WeekOfPreference []*struct {
|
||||
Common
|
||||
Locales string `xml:"locales,attr"`
|
||||
Ordering string `xml:"ordering,attr"`
|
||||
} `xml:"weekOfPreference"`
|
||||
} `xml:"weekData"`
|
||||
TimeData *struct {
|
||||
Common
|
||||
@@ -512,12 +518,22 @@ type SupplementalData struct {
|
||||
Common
|
||||
LanguageMatches []*struct {
|
||||
Common
|
||||
ParadigmLocales []*struct {
|
||||
Common
|
||||
Locales string `xml:"locales,attr"`
|
||||
} `xml:"paradigmLocales"`
|
||||
MatchVariable []*struct {
|
||||
Common
|
||||
Id string `xml:"id,attr"`
|
||||
Value string `xml:"value,attr"`
|
||||
} `xml:"matchVariable"`
|
||||
LanguageMatch []*struct {
|
||||
Common
|
||||
Desired string `xml:"desired,attr"`
|
||||
Oneway string `xml:"oneway,attr"`
|
||||
Percent string `xml:"percent,attr"`
|
||||
Supported string `xml:"supported,attr"`
|
||||
Percent string `xml:"percent,attr"`
|
||||
Distance string `xml:"distance,attr"`
|
||||
Oneway string `xml:"oneway,attr"`
|
||||
} `xml:"languageMatch"`
|
||||
} `xml:"languageMatches"`
|
||||
} `xml:"languageMatching"`
|
||||
@@ -690,6 +706,15 @@ type LDML struct {
|
||||
Common
|
||||
Registry string `xml:"registry,attr"`
|
||||
} `xml:"mapping"`
|
||||
ParseLenients []*struct {
|
||||
Common
|
||||
Scope string `xml:"scope,attr"`
|
||||
Level string `xml:"level,attr"`
|
||||
ParseLenient []*struct {
|
||||
Common
|
||||
Sample string `xml:"sample,attr"`
|
||||
} `xml:"parseLenient"`
|
||||
} `xml:"parseLenients"`
|
||||
} `xml:"characters"`
|
||||
Delimiters *struct {
|
||||
Common
|
||||
@@ -731,6 +756,7 @@ type LDML struct {
|
||||
Count string `xml:"count,attr"`
|
||||
} `xml:"relativeTimePattern"`
|
||||
} `xml:"relativeTime"`
|
||||
RelativePeriod []*Common `xml:"relativePeriod"`
|
||||
} `xml:"field"`
|
||||
} `xml:"fields"`
|
||||
TimeZoneNames *TimeZoneNames `xml:"timeZoneNames"`
|
||||
@@ -801,6 +827,14 @@ type LDML struct {
|
||||
Noexpr []*Common `xml:"noexpr"`
|
||||
} `xml:"messages"`
|
||||
} `xml:"posix"`
|
||||
CharacterLabels *struct {
|
||||
Common
|
||||
CharacterLabelPattern []*struct {
|
||||
Common
|
||||
Count string `xml:"count,attr"`
|
||||
} `xml:"characterLabelPattern"`
|
||||
CharacterLabel []*Common `xml:"characterLabel"`
|
||||
} `xml:"characterLabels"`
|
||||
Segmentations *struct {
|
||||
Common
|
||||
Segmentation []*struct {
|
||||
@@ -1096,7 +1130,8 @@ type Calendar struct {
|
||||
Common
|
||||
DateFormatItem []*struct {
|
||||
Common
|
||||
Id string `xml:"id,attr"`
|
||||
Id string `xml:"id,attr"`
|
||||
Count string `xml:"count,attr"`
|
||||
} `xml:"dateFormatItem"`
|
||||
} `xml:"availableFormats"`
|
||||
AppendItems []*struct {
|
||||
@@ -1135,6 +1170,7 @@ type Calendar struct {
|
||||
Count string `xml:"count,attr"`
|
||||
} `xml:"relativeTimePattern"`
|
||||
} `xml:"relativeTime"`
|
||||
RelativePeriod []*Common `xml:"relativePeriod"`
|
||||
} `xml:"field"`
|
||||
} `xml:"fields"`
|
||||
}
|
||||
@@ -1434,7 +1470,18 @@ type Numbers struct {
|
||||
Count string `xml:"count,attr"`
|
||||
} `xml:"pattern"`
|
||||
} `xml:"miscPatterns"`
|
||||
MinimalPairs []*struct {
|
||||
Common
|
||||
PluralMinimalPairs []*struct {
|
||||
Common
|
||||
Count string `xml:"count,attr"`
|
||||
} `xml:"pluralMinimalPairs"`
|
||||
OrdinalMinimalPairs []*struct {
|
||||
Common
|
||||
Ordinal string `xml:"ordinal,attr"`
|
||||
} `xml:"ordinalMinimalPairs"`
|
||||
} `xml:"minimalPairs"`
|
||||
}
|
||||
|
||||
// Version is the version of CLDR from which the XML definitions are generated.
|
||||
const Version = "29"
|
||||
const Version = "31"
|
||||
|
Reference in New Issue
Block a user