Completed
Push — master ( d2d28e...1c2760 )
by mw
35:37
created

languages/SMW_LanguageHu.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
/**
3
 * @file SMW_LanguageHu.php
4
 * @ingroup SMWLanguage
5
 */
6
7
/**
8
 * Protect against register_globals vulnerabilities.
9
 * This line must be present before any global variable is referenced.
10
 */
11
if ( !defined( 'MEDIAWIKI' ) ) {
12
	die();
13
}
14
15
global $smwgIP;
16
include_once ( $smwgIP . 'languages/SMW_Language.php' );
17
18
/**
19
 * Hungarian language labels for important SMW labels (datatypes, special properties, ...).
20
 *
21
 * Main translations:
22
 * - "type" / "datatype" --> "Típus", "Adattípus"
23
 * - "property" --> "Tulajdonság"
24
 * - "special property" --> "Speciális tulajdonság"
25
 * - "query" --> "Lekérdezés"
26
 * - "subquery" --> "Részlekérdezés"
27
 * - "query description" --> "Lekérdezés leírása"
28
 * - "printout statement" --> "Megjelenítés"
29
 *
30
 * @author Ronkay János Péter
31
 * @ingroup SMWLanguage
32
 * @ingroup Language
33
 */
34
class SMWLanguageHu extends SMWLanguage {
35
36
	protected $m_DatatypeLabels = array(
37
		'_wpg' => 'Oldal', // name of the page datatype
38
		'_txt' => 'Szöveg', // name of the text datatype
39
		'_cod' => 'Forráskód', // name of the (source) code datatype
40
		'_boo' => 'Logikai', // name of the boolean datatype
41
		'_num' => 'Szám', // name for the number datatype
42
		'_geo' => 'Földrajzi koordináta', // name of the geocoordinates datatype
43
		'_tem' => 'Hőmérséklet', // name of the temperature datatype
44
		'_dat' => 'Dátum', // name of the datetime (calendar) datatype
45
		'_ema' => 'E-Mail', // name of the e-mail datatype
46
		'_uri' => 'URL', // name of the URL datatype
47
		'_anu' => 'Annotált URI', // name of the annotation URI datatype (OWL annotation property)
48
		'_tel' => 'Telefonszám', // name of the telephone number URI datatype
49
		'_rec' => 'Rekord', // name of the record datatype
50
		'_qty' => 'Mennyiség', // name of the quantity datatype
51
		'_mlt_rec' => 'Monolingual text',
52
		'_eid' => 'External identifier',
53
	);
54
55
	protected $m_DatatypeAliases = array(
56
		'URI'			=> '_uri',
57
	);
58
59
	protected $m_SpecialProperties = array(
60
		// always start upper-case
61
		'_TYPE' => 'Típusa',
62
		'_URI'  => 'Megegyező URL',
63
		'_SUBP' => 'Altulajdonsága',
64
		'_SUBC' => 'Alkategóriája',
65
		'_UNIT' => 'Mértékegysége',
66
		'_IMPO' => 'Importálva',
67
		'_CONV' => 'Egyenértékű',
68
		'_SERV' => 'Nyújtott szolgáltatása',
69
		'_PVAL' => 'Lehetséges értéke',
70
		'_MDAT' => 'Utolsó módosítása',
71
		'_CDAT' => 'Létrehozva',
72
		'_NEWP' => 'Új oldal',
73
		'_LEDT' => 'Utolsó szerkesztője',
74
		'_ERRP' => 'Érvénytelen értéke',
75
		'_LIST' => 'Mezője',
76
		'_SOBJ' => 'Alobjektuma',
77
		'_ASK'  => 'Lekérdezése',
78
		'_ASKST'=> 'Lekérdezése szövege',
79
		'_ASKFO'=> 'Lekérdezése formátuma',
80
		'_ASKSI'=> 'Lekérdezése nagysága',
81
		'_ASKDE'=> 'Lekérdezése mélysége',
82
		'_ASKDU'=> 'Lekérdezése időtartama',
83
		'_MEDIA'=> 'Médiatípusa',
84
		'_MIME' => 'MIME-Típusa',
85
		'_ERRC' => 'Has processing error',
86
		'_ERRT' => 'Has processing error text',
87
		'_PREC'  => 'Display precision of',
88
		'_LCODE' => 'Language code',
89
		'_TEXT'  => 'Text',
90
		'_PDESC' => 'Has property description',
91
		'_PVAP'  => 'Allows pattern',
92
		'_DTITLE' => 'Display title of',
93
		'_PVUC' => 'Has uniqueness constraint',
94
		'_PEID' => 'External identifier',
95
		'_PEFU' => 'External formatter uri',
96
	);
97
98
	protected $m_SpecialPropertyAliases = array(
99
		'Adattípusa' => '_TYPE',
100
	);
101
102
	protected $m_Namespaces = array(
103
		SMW_NS_PROPERTY       => "Tulajdonság",
104
		SMW_NS_PROPERTY_TALK  => "Tulajdonságvita",
105
		SMW_NS_TYPE           => "Típus",
106
		SMW_NS_TYPE_TALK      => "Típusvita",
107
		SMW_NS_CONCEPT        => 'Koncepció',
108
		SMW_NS_CONCEPT_TALK   => 'Koncepcióvita',
109
	);
110
111
	//protected $m_dateformats = array( array( SMW_Y ), array( SMW_MY, SMW_YM ), array( SMW_DMY, SMW_MDY, SMW_YMD, SMW_YDM ) );
0 ignored issues
show
Unused Code Comprehensibility introduced by
46% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
112
	protected $m_dateformats = array( array( SMW_Y ), array( SMW_YM ), array( SMW_YMD ) );
113
114
	protected $m_months = array( "Január", "Február", "Március", "Április", "Május", "Június", "Július", "Augusztus", "Szeptember", "Október", "November", "December" );
115
116
	protected $m_monthsshort = array( "Jan", "Feb", "Már", "Ápr", "Máj", "Jún", "Júl", "Aug", "Sze", "Okt", "Nov", "Dec" );
117
118
}
119