Esquemas de datos

Weblate uses JSON Schema to define layout of external JSON files.

Weblate Translation Memory Schema

https://weblate.org/schemas/weblate-memory.schema.json

type

array

items

The Translation Memory Item

type

object

properties

  • category

The String Category

1 is global, 2 is shared, 10000000+ are project specific, 20000000+ are user specific

type

integer

examples

1

minimum

0

default

1

  • origin

The String Origin

Filename or component name

type

string

examples

test.tmx

proyecto/componente

default

  • fuente

Cadena de origen

type

string

examples

Hola

minLength

1

default

  • source_language

The Source Language

ISO 639-1 / ISO 639-2 / IETF BCP 47

type

string

examples

es

pauta

^[^ ]+$

default

  • target

The Target String

type

string

examples

Ahoj

minLength

1

default

  • target_language

The Target Language

ISO 639-1 / ISO 639-2 / IETF BCP 47

type

string

examples

cs

pauta

^[^ ]+$

default

additionalProperties

Falso

definiciones

Exportación de datos de usuarios de Weblate

https://weblate.org/schemas/weblate-userdata.schema.json

type

object

properties

  • basic

Básico

type

object

properties

  • nombre de usuario

Nombre de usuario

type

string

examples

administrador

default

  • full_name

Nombre completo

type

string

examples

Weblate Admin

default

  • correo electrónico

Correo electrónico

type

string

examples

noreply@example.com

default

formato

correo electrónico

  • date_joined

Fecha de incorporación

type

string

examples

18-11-2019T18:53:54.862Z

default

formato

fecha-hora

additionalProperties

Falso

  • perfil

Perfil

type

object

properties

  • language

Idioma

type

string

examples

cs

pauta

^[^ ]*$

default

  • sugerida

Número de cadenas sugeridas

type

integer

examples

1

default

0

  • traducido

Número de cadenas sin traducir

type

integer

examples

24

default

0

  • Cargado por

Cantidad de entradas compartidas cargadas

type

integer

examples

1

default

0

  • hide_completed

Hide completed translations on the dashboard

type

boolean

examples

Falso

default

Verdadero

  • secondary_in_zen

Mostrar traducciones secundarias en modo zen

type

boolean

examples

Verdadero

default

Verdadero

  • hide_source_secondary

Ocultar origen si existe traducción secundaria

type

boolean

examples

Falso

default

Verdadero

  • editor_link

Enlace del editor

type

string

examples

pauta

^.*$

default

  • translate_mode

Modo del editor de traducciones

type

integer

examples

0

default

0

  • zen_mode

Modo de editor zen

type

integer

examples

0

default

0

  • special_chars

Caracteres especiales

type

string

examples

pauta

^.*$

default

  • theme

Theme

type

string

examples

auto

pauta

^(auto|dark|light)$

default

auto

  • dashboard_view

Vista predeterminada del cuadro de mando

type

integer

examples

1

default

0

  • dashboard_component_list

Lista de componentes predeterminados

default

null

anyOf

type

null

type

integer

  • languages

Idiomas traducidos

type

array

default

items

Código de idioma

type

string

examples

cs

pauta

^.*$

default

  • secondary_languages

Idiomas secundarios

type

array

default

items

Código de idioma

type

string

examples

sk

pauta

^.*$

default

  • mirado

Proyectos monitorizados

type

array

default

items

«Slug» del proyecto

type

string

examples

weblate

pauta

^.*$

default

additionalProperties

Falso

  • registro de auditoría

Registro de auditoría

type

array

default

items

Elementos

type

object

properties

  • address

Dirección IP

anyOf

type

null

type

string

examples

127.0.0.1

pauta

^.*$

default

  • Agente_ de usuario

Agente de usuario

type

string

examples

PC / Linux / Firefox 70.0

pauta

^.*$

default

  • fecha de inicio

Cronomarcador

type

string

examples

2019-11-18T18:58:30.845Z

default

formato

fecha-hora

  • actividad

Actividad

type

string

examples

acceso

pauta

^.*$

default

additionalProperties

Falso

definiciones

Weblate Messaging

https://weblate.org/schemas/weblate-messaging.schema.json

Schema for Weblate Fedora Messaging

type

object

properties

  • change_id

Change ID

Numerical ID of change

type

integer

  • action

Change Action

Verbose name of the change, see Change actions source code for possible values

type

string

  • fecha de inicio

Cronomarcador

ISO formatted timestamp

type

string

formato

fecha-hora

  • target

Target

New value of the change (eg. new translation of the string)

type

string / array

  • old

Old Value

Old value of the change (eg. previous translation of the string)

type

string / array

  • fuente

Source

Cadena de origen

type

string / array

  • url

URL

Absolute URL to view the related object

type

string

  • author

Author

Author username (this can be different from user for example when accepting suggestions)

type

string

  • user

Acting username

type

string

  • proyecto

«Slug» del proyecto

type

string

  • component

Component slug

type

string

  • traducción

Translation Language Code

type

string

additionalProperties

Falso

definiciones