mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 02:31:04 +01:00
fix typo
This commit is contained in:
parent
1ac3db82ac
commit
6f6bcab533
|
@ -2,7 +2,7 @@ package context
|
|||
|
||||
import "golang.org/x/text/language"
|
||||
|
||||
// I18nReadOnly is the interface which ontains the read-only i18n features.
|
||||
// I18nReadOnly is the interface which contains the read-only i18n features.
|
||||
// Read the "i18n" package fo details.
|
||||
type I18nReadOnly interface {
|
||||
Tags() []language.Tag
|
||||
|
@ -16,8 +16,8 @@ type I18nReadOnly interface {
|
|||
type Locale interface {
|
||||
// Index returns the current locale index from the languages list.
|
||||
Index() int
|
||||
// Tag returns the full language Tag attached tothis Locale,
|
||||
// it should be uniue across different Locales.
|
||||
// Tag returns the full language Tag attached to this Locale,
|
||||
// it should be unique across different Locales.
|
||||
Tag() *language.Tag
|
||||
// Language should return the exact languagecode of this `Locale`
|
||||
//that the user provided on `New` function.
|
||||
|
|
Loading…
Reference in New Issue
Block a user