r87323 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87322‎ | r87323 | r87324 >
Date:12:35, 3 May 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
added i18n file from bug 28786
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageId.php (added) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageId.php
@@ -0,0 +1,86 @@
 2+<?php
 3+/**
 4+ * @file
 5+ * @ingroup Language
 6+ * @ingroup SMWLanguage
 7+ * @author Ivan Lanin
 8+ */
 9+
 10+/*
 11+ * Protect against register_globals vulnerabilities.
 12+ * This line must be present before any global variable is referenced.
 13+ */
 14+if ( !defined( 'MEDIAWIKI' ) ) die();
 15+
 16+global $smwgIP;
 17+include_once( $smwgIP . 'languages/SMW_Language.php' );
 18+
 19+
 20+/**
 21+ * Indonesian language labels for important SMW labels (namespaces, datatypes,...).
 22+ *
 23+ * @ingroup Language
 24+ * @ingroup SMWLanguage
 25+ * @author Ivan Lanin
 26+ */
 27+class SMWLanguageId extends SMWLanguage {
 28+
 29+ protected $m_DatatypeLabels = array(
 30+ '_wpg' => 'Halaman', // name of page datatype
 31+ '_str' => 'String', // name of the string type
 32+ '_txt' => 'Teks', // name of the text type
 33+ '_cod' => 'Kode', // name of the (source) code type
 34+ '_boo' => 'Boole', // name of the boolean type
 35+ '_num' => 'Angka', // name for the datatype of numbers
 36+ '_geo' => 'Koordinat geografis', // name of the geocoord type
 37+ '_tem' => 'Suhu', // name of the temperature type
 38+ '_dat' => 'Tanggal', // name of the datetime (calendar) type
 39+ '_ema' => 'Surel', // name of the email type
 40+ '_uri' => 'URL', // name of the URL type
 41+ '_anu' => 'URI anotasi', // name of the annotation URI type (OWL annotation property)
 42+ '_tel' => 'Nomor telepon', // name of the telephone (URI) type
 43+ '_rec' => 'Rekaman', // name of record data type
 44+ );
 45+
 46+ protected $m_DatatypeAliases = array(
 47+ 'URI' => '_uri',
 48+ 'Enumerasi' => '_str',
 49+ 'Nomor telepon' => '_tel',
 50+ );
 51+
 52+ protected $m_SpecialProperties = array(
 53+ // always start upper-case
 54+ '_TYPE' => 'Memiliki tipe',
 55+ '_URI' => 'URI ekuivalen',
 56+ '_SUBP' => 'Subproperti dari',
 57+ '_SUBC' => 'Subkategori dari',
 58+ '_UNIT' => 'Unit tampilan',
 59+ '_IMPO' => 'Diimpor dari',
 60+ '_CONV' => 'Berhubungan dengan',
 61+ '_SERV' => 'Memberikan layanan',
 62+ '_PVAL' => 'Mengizinkan nilai',
 63+ '_MDAT' => 'Tanggal modifikasi',
 64+ '_ERRP' => 'Memiliki nilai yang tidak tepat untuk',
 65+ '_LIST' => 'Memiliki bidang',
 66+ );
 67+
 68+ protected $m_SpecialPropertyAliases = array(
 69+ 'Unit tampilan' => '_UNIT'
 70+ );
 71+
 72+ protected $m_Namespaces = array(
 73+ SMW_NS_PROPERTY => 'Properti',
 74+ SMW_NS_PROPERTY_TALK => 'Pembicaraan_Properti',
 75+ SMW_NS_TYPE => 'Tipe',
 76+ SMW_NS_TYPE_TALK => 'Pembicaraan_Tipe',
 77+ SMW_NS_CONCEPT => 'Konsep',
 78+ SMW_NS_CONCEPT_TALK => 'Pembicaraan_Konsep'
 79+ );
 80+
 81+ protected $m_dateformats = array( array( SMW_Y ), array( SMW_MY, SMW_YM ), array( SMW_MDY, SMW_DMY, SMW_YMD, SMW_YDM ) );
 82+
 83+ protected $m_months = array( "Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember" );
 84+
 85+ protected $m_monthsshort = array( "Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Agu", "Sep", "Okt", "Nov", "Des" );
 86+
 87+}
Property changes on: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageId.php
___________________________________________________________________
Added: svn:eol-style
188 + native

Status & tagging log