Vridlo/types/Name: Difference between revisions

From ALT Linux Wiki
No edit summary
No edit summary
Line 8: Line 8:
  The [http://userguide.icu-project.org/locale|ICU Locale] of the name, which it has been written in. Must contain registered list of locales plus some unregistered.
  The [http://userguide.icu-project.org/locale|ICU Locale] of the name, which it has been written in. Must contain registered list of locales plus some unregistered.


Combination of '''name''', '''kind''', '''icu_locale''' must be unique for the specific user.
Combination of '''text''', '''kind''', '''icu_locale''' must be unique for the specific user.

Revision as of 21:08, 13 December 2019

Name is a stuff structure that represents Name model. The name belongs to the user or team. It is described as:

  • text is string mandatory
Unique name scription for the specific ICU Locale. It can include first name, last name, nickname, or title.
  • kind is string mandatory
Type of name for the specific ICU Locale. Can be one of firstname, paternal, lastname, nickname, title
  • icu_locale is string mandatory
The Locale of the name, which it has been written in. Must contain registered list of locales plus some unregistered.

Combination of text, kind, icu_locale must be unique for the specific user.