diff --git a/src/applications/people/storage/PhabricatorUserOAuthInfo.php b/src/applications/people/storage/PhabricatorUserOAuthInfo.php index 56f02e0798..e5140c25cf 100644 --- a/src/applications/people/storage/PhabricatorUserOAuthInfo.php +++ b/src/applications/people/storage/PhabricatorUserOAuthInfo.php @@ -44,9 +44,9 @@ final class PhabricatorUserOAuthInfo extends PhabricatorUserDAO { public static function getRappableTokenStatus($status) { static $map = array( self::TOKEN_STATUS_NONE => 'There is no token', - self::TOKEN_STATUS_GOOD => 'Your token\'s good', - self::TOKEN_STATUS_FAIL => 'Your token failed', - self::TOKEN_STATUS_EXPIRED => 'Your token\'s old', + self::TOKEN_STATUS_GOOD => 'Your token is good', + self::TOKEN_STATUS_FAIL => 'Your token has failed', + self::TOKEN_STATUS_EXPIRED => 'Your token is old', ); return idx($map, $status, 'This code\'s got bugs'); } diff --git a/src/applications/settings/panel/PhabricatorSettingsPanelOAuth.php b/src/applications/settings/panel/PhabricatorSettingsPanelOAuth.php index d785297119..8027e42dcc 100644 --- a/src/applications/settings/panel/PhabricatorSettingsPanelOAuth.php +++ b/src/applications/settings/panel/PhabricatorSettingsPanelOAuth.php @@ -164,7 +164,8 @@ final class PhabricatorSettingsPanelOAuth $status); $rappable_status = PhabricatorUserOAuthInfo::getRappableTokenStatus( $status); - $rap = 'Yo yo yo
'. + $beat = self::getBeat(); + $rap = $beat . "Yo yo yo
". 'My name\'s DJ Token and I\'m here to say
'. // pronounce as "dollar rappable status" for meter to work "$rappable_status, hey hey hey hey
". @@ -276,4 +277,16 @@ final class PhabricatorSettingsPanelOAuth } return $notice; } + + private static function getBeat() { + // Gangsta's Paradise (karaoke version). + // Chosen because it's the only thing I listen to. + $song_id = "Gangsta\\'s Paradise"; + + // Make a musical note which you can click for the beat. + $beat = ''; + return $beat; + } }