Esquemas de datos¶
Weblate uses JSON Schema to define layout of external JSON files.
Weblate Translation Memory Schema¶
type |
array |
||
items |
The Translation Memory Item |
||
type |
object |
||
properties |
|||
|
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 |
||
|
The String Origin |
||
Filename or component name |
|||
type |
string |
||
examples |
test.tmx |
||
proyecto/componente |
|||
default |
|||
|
Cadena de origen |
||
type |
string |
||
examples |
Hola |
||
minLength |
1 |
||
default |
|||
|
The Source Language |
||
ISO 639-1 / ISO 639-2 / IETF BCP 47 |
|||
type |
string |
||
examples |
es |
||
pauta |
^[^ ]+$ |
||
default |
|||
|
The Target String |
||
type |
string |
||
examples |
Ahoj |
||
minLength |
1 |
||
default |
|||
|
The Target Language |
||
ISO 639-1 / ISO 639-2 / IETF BCP 47 |
|||
type |
string |
||
examples |
cs |
||
pauta |
^[^ ]+$ |
||
default |
|||
additionalProperties |
Falso |
||
definiciones |
Ver también
Exportación de datos de usuarios de Weblate¶
type |
object |
||||
properties |
|||||
|
Básico |
||||
type |
object |
||||
properties |
|||||
|
Nombre de usuario |
||||
type |
string |
||||
examples |
administrador |
||||
default |
|||||
|
Nombre completo |
||||
type |
string |
||||
examples |
Weblate Admin |
||||
default |
|||||
|
Correo electrónico |
||||
type |
string |
||||
examples |
|||||
default |
|||||
formato |
correo electrónico |
||||
|
Fecha de incorporación |
||||
type |
string |
||||
examples |
18-11-2019T18:53:54.862Z |
||||
default |
|||||
formato |
fecha-hora |
||||
additionalProperties |
Falso |
||||
|
Perfil |
||||
type |
object |
||||
properties |
|||||
|
Idioma |
||||
type |
string |
||||
examples |
cs |
||||
pauta |
^[^ ]*$ |
||||
default |
|||||
|
Número de cadenas sugeridas |
||||
type |
integer |
||||
examples |
1 |
||||
default |
0 |
||||
|
Número de cadenas sin traducir |
||||
type |
integer |
||||
examples |
24 |
||||
default |
0 |
||||
|
Cantidad de entradas compartidas cargadas |
||||
type |
integer |
||||
examples |
1 |
||||
default |
0 |
||||
|
Hide completed translations on the dashboard |
||||
type |
boolean |
||||
examples |
Falso |
||||
default |
Verdadero |
||||
|
Mostrar traducciones secundarias en modo zen |
||||
type |
boolean |
||||
examples |
Verdadero |
||||
default |
Verdadero |
||||
|
Ocultar origen si existe traducción secundaria |
||||
type |
boolean |
||||
examples |
Falso |
||||
default |
Verdadero |
||||
|
Enlace del editor |
||||
type |
string |
||||
examples |
|||||
pauta |
^.*$ |
||||
default |
|||||
|
Modo del editor de traducciones |
||||
type |
integer |
||||
examples |
0 |
||||
default |
0 |
||||
|
Modo de editor zen |
||||
type |
integer |
||||
examples |
0 |
||||
default |
0 |
||||
|
Caracteres especiales |
||||
type |
string |
||||
examples |
|||||
pauta |
^.*$ |
||||
default |
|||||
|
Theme |
||||
type |
string |
||||
examples |
auto |
||||
pauta |
^(auto|dark|light)$ |
||||
default |
auto |
||||
|
Vista predeterminada del cuadro de mando |
||||
type |
integer |
||||
examples |
1 |
||||
default |
0 |
||||
|
Lista de componentes predeterminados |
||||
default |
null |
||||
anyOf |
type |
null |
|||
type |
integer |
||||
|
Idiomas traducidos |
||||
type |
array |
||||
default |
|||||
items |
Código de idioma |
||||
type |
string |
||||
examples |
cs |
||||
pauta |
^.*$ |
||||
default |
|||||
|
Idiomas secundarios |
||||
type |
array |
||||
default |
|||||
items |
Código de idioma |
||||
type |
string |
||||
examples |
sk |
||||
pauta |
^.*$ |
||||
default |
|||||
|
Proyectos monitorizados |
||||
type |
array |
||||
default |
|||||
items |
«Slug» del proyecto |
||||
type |
string |
||||
examples |
weblate |
||||
pauta |
^.*$ |
||||
default |
|||||
additionalProperties |
Falso |
||||
|
Registro de auditoría |
||||
type |
array |
||||
default |
|||||
items |
Elementos |
||||
type |
object |
||||
properties |
|||||
|
Dirección IP |
||||
anyOf |
type |
null |
|||
type |
string |
||||
examples |
127.0.0.1 |
||||
pauta |
^.*$ |
||||
default |
|||||
|
Agente de usuario |
||||
type |
string |
||||
examples |
PC / Linux / Firefox 70.0 |
||||
pauta |
^.*$ |
||||
default |
|||||
|
Cronomarcador |
||||
type |
string |
||||
examples |
2019-11-18T18:58:30.845Z |
||||
default |
|||||
formato |
fecha-hora |
||||
|
Actividad |
||||
type |
string |
||||
examples |
acceso |
||||
pauta |
^.*$ |
||||
default |
|||||
additionalProperties |
Falso |
||||
definiciones |
Ver también
Weblate Messaging¶
Schema for Weblate Fedora Messaging |
||
type |
object |
|
properties |
||
|
Change ID |
|
Numerical ID of change |
||
type |
integer |
|
|
Change Action |
|
Verbose name of the change, see Change actions source code for possible values |
||
type |
string |
|
|
Cronomarcador |
|
ISO formatted timestamp |
||
type |
string |
|
formato |
fecha-hora |
|
|
Target |
|
New value of the change (eg. new translation of the string) |
||
type |
string / array |
|
|
Old Value |
|
Old value of the change (eg. previous translation of the string) |
||
type |
string / array |
|
|
Source |
|
Cadena de origen |
||
type |
string / array |
|
|
URL |
|
Absolute URL to view the related object |
||
type |
string |
|
|
Author |
|
Author username (this can be different from user for example when accepting suggestions) |
||
type |
string |
|
|
Acting username |
|
type |
string |
|
|
«Slug» del proyecto |
|
type |
string |
|
|
Component slug |
|
type |
string |
|
|
Translation Language Code |
|
type |
string |
|
additionalProperties |
Falso |
|
definiciones |
Ver también