SMWLanguageZh_tw Class Reference
[SMWLanguageLanguage]

Traditional Chinese language labels for important SMW labels (namespaces, datatypes,. More...

Inherits SMWLanguage.

List of all members.

Protected Attributes

 $m_DatatypeLabels
 $m_DatatypeAliases
 $m_SpecialProperties
 $m_SpecialPropertyAliases
 $m_Namespaces
 $m_dateformats = array( array( SMW_Y ), array( SMW_MY, SMW_YM ), array( SMW_MDY, SMW_DMY, SMW_YMD, SMW_YDM ) )
 Preferred interpretations for dates with 1, 2, and 3 components.
 $m_months = array( "1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月" )
 Twelve strings naming the months.


Detailed Description

Traditional Chinese language labels for important SMW labels (namespaces, datatypes,.

..).

Author:
張致信 (Roc Michael roc.no1@gmail.com)

Definition at line 23 of file SMW_LanguageZh_tw.php.


Member Data Documentation

SMWLanguageZh_tw::$m_DatatypeLabels [protected]

Initial value:

 array(
                '_wpg' => '頁面',     // 'Page', // name of page datatype
                '_str' => '字串',     // 'String',  // name of the string type
                '_txt' => '文字',     // 'Text',  // name of the text type
                '_cod' => 'Code',  // name of the (source) code type //TODO: translate
                '_boo' => '布林',     // 'Boolean',  // name of the boolean type
                '_num' => '數字',     // 'Number',  // name for the datatype of numbers
                '_geo' => '地理學的座標', // 'Geographic coordinates', // name of the geocoord type
                '_tem' => '溫度',     // 'Temperature',  // name of the temperature type
                '_dat' => '日期',     // 'Date',  // name of the datetime (calendar) type
                '_ema' => 'Email',      // 'Email',  // name of the email type
                '_uri' => 'URL',        // 'URL',  // name of the URL type
                '_anu' => 'URI的註解',       // 'Annotation URI'  // name of the annotation URI type (OWL annotation property)
                '_tel' => 'Telephone number',  // name of the telephone (URI) type //TODO: translate
                '_rec' => 'Record', // name of record data type //TODO: translate
                '_qty' => 'Quantity', // name of the number type with units of measurement //TODO: translate
        )

Reimplemented from SMWLanguage.

Definition at line 25 of file SMW_LanguageZh_tw.php.

SMWLanguageZh_tw::$m_DatatypeAliases [protected]

Initial value:

 array(
                '浮點數'       => '_num',    // '_num',
                '整數'         => '_num' ,    // '_num',
                 '列舉'        => '_str',     // '_str'
                // SMW0.7 compatibility:
                'Float'       => '_num',
                'Integer'     => '_num',
                'Enumeration' => '_str',
                'URI'         => '_uri',
        )

Reimplemented from SMWLanguage.

Definition at line 43 of file SMW_LanguageZh_tw.php.

SMWLanguageZh_tw::$m_SpecialProperties [protected]

Initial value:

 array(
                // always start upper-case
                '_TYPE' => '設有型態',      // 'Has type',
                '_URI'  => '對應的URI',      // 'Equivalent URI',
                '_SUBP' => '所屬的子性質',        // 'Subproperty of',
                '_SUBC' => 'Subcategory of', // TODO: translate
                '_UNIT' => '顯示單位',      // Display unit
                '_IMPO' => '輸入來源',     // Imported from
                '_CONV' => '符合於',  // Corresponds to
                '_SERV' => '提供服務',      // Provides service
                '_PVAL' => '允許值',      // Allows value
                '_MDAT' => 'Modification date',  // TODO: translate
                '_ERRP' => 'Has improper value for', // TODO: translate
                '_LIST' => 'Has fields', // TODO: translate
                '_SOBJ' => 'Has subobject', // TODO: translate
        )

Reimplemented from SMWLanguage.

Definition at line 54 of file SMW_LanguageZh_tw.php.

SMWLanguageZh_tw::$m_SpecialPropertyAliases [protected]

Initial value:

 array(
                'Display unit' => '_UNIT'
        )

Reimplemented from SMWLanguage.

Definition at line 72 of file SMW_LanguageZh_tw.php.

SMWLanguageZh_tw::$m_Namespaces [protected]

Initial value:

 array(
                SMW_NS_PROPERTY       => '性質',      // 'Property',
                SMW_NS_PROPERTY_TALK  => '性質討論',        // 'Property_talk',
                SMW_NS_TYPE           => '型態',      // 'Type',
                SMW_NS_TYPE_TALK      => '型態討論',        // 'Type_talk'
                SMW_NS_CONCEPT        => '概念',       // 'Concept'
                SMW_NS_CONCEPT_TALK   => '概念討論',        // 'Concept_talk'
        )

Reimplemented from SMWLanguage.

Definition at line 76 of file SMW_LanguageZh_tw.php.

SMWLanguageZh_tw::$m_dateformats = array( array( SMW_Y ), array( SMW_MY, SMW_YM ), array( SMW_MDY, SMW_DMY, SMW_YMD, SMW_YDM ) ) [protected]

Preferred interpretations for dates with 1, 2, and 3 components.

There is an array for each case, and the constants define the obvious order (e.g. SMW_YDM means "first Year, then Day, then Month). Unlisted combinations will not be accepted at all.

Reimplemented from SMWLanguage.

Definition at line 85 of file SMW_LanguageZh_tw.php.

SMWLanguageZh_tw::$m_months = array( "1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月" ) [protected]

Twelve strings naming the months.

English is always supported in Type:Date, but we still need the English defaults to ensure that labels are returned by getMonthLabel()

Reimplemented from SMWLanguage.

Definition at line 87 of file SMW_LanguageZh_tw.php.


The documentation for this class was generated from the following file:

Generated on Sun Mar 18 07:15:43 2012 for Semantic MediaWiki by  doxygen 1.5.6