/
SMW_LanguageEs.php
110 lines (96 loc) 路 3.66 KB
/
SMW_LanguageEs.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?php
/**
* @file
* @ingroup SMWLanguage
*/
/**
* Protect against register_globals vulnerabilities.
* This line must be present before any global variable is referenced.
*/
if ( !defined( 'MEDIAWIKI' ) ) {
die();
}
global $smwgIP;
include_once ( $smwgIP . 'languages/SMW_Language.php' );
/**
* Spanish language labels for important SMW labels (namespaces, datatypes,...).
*
* @author Javier Calzada Prado, Carmen Jorge Garc铆a-Reyes, Universidad Carlos III de Madrid, Jes煤s Espino Garc铆a
* @author Toniher
* @ingroup SMWLanguage
* @ingroup Language
*/
class SMWLanguageEs extends SMWLanguage {
protected $m_DatatypeLabels = array(
'_wpg' => 'P谩gina', // name of page datatype
'_txt' => 'Texto', // name of the text type (very long strings)
'_cod' => 'C贸digo', // name of the (source) code type
'_boo' => 'Booleano', // name of the boolean type
'_num' => 'N煤mero', // name for the datatype of numbers
'_geo' => 'Coordenadas geogr谩ficas', // name of the geocoord type
'_tem' => 'Temperatura', // name of the temperature type
'_dat' => 'Fecha', // name of the datetime (calendar) type
'_ema' => 'Direcci贸n electr贸nica', // name of the email type
'_uri' => 'URL', // name of the URL type
'_anu' => 'Anotaci贸n-URI', // name of the annotation URI type (OWL annotation property)
'_tel' => 'N煤mero de tel茅fono', // name of the telephone (URI) type
'_rec' => 'Registro', // name of record data type
'_qty' => 'Cantidad', // name of the number type with units of measurement
'_mlt_rec' => 'Monolingual text',
);
protected $m_DatatypeAliases = array(
'URI' => '_uri',
'N煤mero entero' => '_num',
'N煤mero con coma' => '_num',
'Cadena de caracteres' => '_txt', // old name of the string type
'Enumeraci贸n' => '_txt',
);
protected $m_SpecialProperties = array(
// always start upper-case
'_TYPE' => 'Tiene tipo de datos',
'_URI' => 'URI equivalente',
'_SUBP' => 'Subpropiedad de',
'_SUBC' => 'Subcategor铆a de',
'_UNIT' => 'Unidades de medida',
'_IMPO' => 'Importado de',
'_CONV' => 'Corresponde a',
'_SERV' => 'Provee servicio',
'_PVAL' => 'Permite el valor',
'_MDAT' => 'Fecha de modificaci贸n',
'_CDAT' => 'Fecha de creaci贸n',
'_NEWP' => 'Es p谩gina nueva',
'_LEDT' => '脷ltimo editor es',
'_ERRP' => 'Tiene valor incorrecto para',
'_LIST' => 'Tiene campos',
'_SOBJ' => 'Tiene subobjeto',
'_ASK' => 'Tiene consulta',
'_ASKST'=> 'Cadena de consulta',
'_ASKFO'=> 'Formato de consulta',
'_ASKSI'=> 'Tama帽o de consulta',
'_ASKDE'=> 'Profundidad de consulta',
'_ASKDU'=> 'Duraci贸n de consulta',
'_MEDIA'=> 'Tipo Media',
'_MIME' => 'Tipo MIME',
'_ERRC' => 'Has processing error',
'_ERRT' => 'Has processing error text',
'_PREC' => 'Display precision of',
'_LCODE' => 'Language code',
'_TEXT' => 'Text',
'_PDESC' => 'Has property description',
'_PVAP' => 'Allows pattern'
);
protected $m_SpecialPropertyAliases = array(
'Unidad de medida' => '_UNIT',
);
protected $m_Namespaces = array(
SMW_NS_PROPERTY => "Atributo",
SMW_NS_PROPERTY_TALK => "Atributo_discusi贸n",
SMW_NS_TYPE => "Tipo",
SMW_NS_TYPE_TALK => "Tipo_discusi贸n",
SMW_NS_CONCEPT => 'Concepto',
SMW_NS_CONCEPT_TALK => 'Concepto_discusi贸n'
);
protected $m_dateformats = array( array( SMW_Y ), array( SMW_MY, SMW_YM ), array( SMW_MDY, SMW_DMY, SMW_YMD, SMW_YDM ) );
protected $m_months = array( "enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre" );
protected $m_monthsshort = array( "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic" );
}