Changeset View
Changeset View
Standalone View
Standalone View
src/applications/badges/icon/PhabricatorBadgesIconSet.php
Show All 9 Lines | final class PhabricatorBadgesIconSet | ||||
} | } | ||||
protected function newIcons() { | protected function newIcons() { | ||||
$map = array( | $map = array( | ||||
'fa-star' => pht('Superstar'), | 'fa-star' => pht('Superstar'), | ||||
'fa-user' => pht('Average Person'), | 'fa-user' => pht('Average Person'), | ||||
'fa-bug' => pht('Ladybug'), | 'fa-bug' => pht('Ladybug'), | ||||
'fa-users' => pht('Triplets'), | 'fa-users' => pht('Triplets'), | ||||
'fa-book' => pht('Nominomicon'), | 'fa-book' => pht('Nominomicon'), | ||||
'fa-rocket' => pht('Escape Route'), | 'fa-rocket' => pht('Escape Route'), | ||||
'fa-life-ring' => pht('Foam Circle'), | 'fa-life-ring' => pht('Foam Circle'), | ||||
'fa-birthday-cake' => pht('Cake Day'), | 'fa-birthday-cake' => pht('Cake Day'), | ||||
'fa-camera-retro' => pht('Leica Enthusiast'), | 'fa-camera-retro' => pht('Leica Enthusiast'), | ||||
'fa-beer' => pht('Liquid Lunch'), | 'fa-beer' => pht('Liquid Lunch'), | ||||
'fa-gift' => pht('Free Stuff'), | 'fa-gift' => pht('Free Stuff'), | ||||
'fa-eye' => pht('Eye See You'), | 'fa-eye' => pht('Eye See You'), | ||||
'fa-heart' => pht('Love is Love'), | 'fa-heart' => pht('Love is Love'), | ||||
'fa-trophy' => pht('Winner at Things'), | 'fa-trophy' => pht('Winner at Things'), | ||||
'fa-umbrella' => pht('Rain Defender'), | 'fa-umbrella' => pht('Rain Defender'), | ||||
'fa-graduation-cap' => pht('In Debt'), | 'fa-graduation-cap' => pht('In Debt'), | ||||
'fa-empire' => pht('The Empire'), | |||||
'fa-first-order' => pht('First Order'), | |||||
'fa-rebel' => pht('Rebel'), | |||||
'fa-space-shuttle' => pht('Star Ship'), | |||||
'fa-anchor' => pht('Anchors Away'), | |||||
'fa-code' => pht('Coder'), | |||||
'fa-briefcase' => pht('Serious Business'), | |||||
'fa-globe' => pht('International'), | |||||
'fa-desktop' => pht('Glowing Rectangle'), | |||||
); | ); | ||||
$icons = array(); | $icons = array(); | ||||
foreach ($map as $key => $label) { | foreach ($map as $key => $label) { | ||||
$icons[] = id(new PhabricatorIconSetIcon()) | $icons[] = id(new PhabricatorIconSetIcon()) | ||||
->setKey($key) | ->setKey($key) | ||||
->setLabel($label); | ->setLabel($label); | ||||
} | } | ||||
return $icons; | return $icons; | ||||
} | } | ||||
} | } |