Changeset 6023
- Timestamp:
- Mar 24, 2008, 5:39:30 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/branches/stable-2.10.x/webapp/lib/OpenPNE/Amazon.php
r6020 r6023 35 35 ); 36 36 37 /**38 * SearchIndexとローカライズされた表示名の変換テーブル39 *40 * @var array41 */42 var $_searchIndexToDisplayName = array(43 'ja' => array(44 'Books', '和書',45 'ForeignBooks' => '洋書',46 'Music' => 'CDポピュラー',47 'Classical' => 'CDクラシック',48 'DVD' => 'DVD',49 'VideoGames' => 'ゲーム',50 'Software' => 'ソフトウェア',51 'Electronics' => 'エレクトロニクス',52 'Kitchen' => 'キッチン',53 'Toys' => 'おもちゃ&ホビー',54 'SportingGoods' => 'スポーツ',55 'HealthPersonalCare' => 'ヘルス&ビューティー',56 'Watches' => '時計',57 'Baby' => 'ベビー&マタニティ',58 'Apparel' => 'アパレル&シューズ',59 ),60 );61 62 37 function ItemSearch($search_index, $options = array()) 63 38 { … … 70 45 return $result; 71 46 } 72 73 function getSearchIndexDisplayName()74 {75 $locale = $this->getLocale();76 return $_searchIndexToDisplayName[$locale];77 }78 47 } 79 48
Note: See TracChangeset
for help on using the changeset viewer.