Skip to content

Commit

Permalink
Minor tweak to let PoEdit find these translatable strings easier (thx…
Browse files Browse the repository at this point in the history
… onurguzel)
  • Loading branch information
linc committed Sep 16, 2011
1 parent f86f20f commit f9d2354
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions applications/dashboard/models/class.activitymodel.php
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ public function SendNotification($ActivityID, $Story = '', $Force = FALSE) {
//$Email->From(Gdn::Config('Garden.SupportEmail'), Gdn::Config('Garden.SupportName'));
$Email->Message(
sprintf(
T($Story == '' ? 'EmailNotification' : 'EmailStoryNotification'),
$Story == '' ? T('EmailNotification') : T('EmailStoryNotification'),
$ActivityHeadline,
ExternalUrl($Activity->Route == '' ? '/' : $Activity->Route),
$Story
Expand Down Expand Up @@ -502,7 +502,7 @@ public function QueueNotification($ActivityID, $Story = '', $Position = 'last',
//$Email->From(Gdn::Config('Garden.SupportEmail'), Gdn::Config('Garden.SupportName'));
$Email->Message(
sprintf(
T($Story == '' ? 'EmailNotification' : 'EmailStoryNotification'),
$Story == '' ? T('EmailNotification') : T('EmailStoryNotification'),
$ActivityHeadline,
ExternalUrl($Activity->Route == '' ? '/' : $Activity->Route, TRUE),
$Story
Expand Down

0 comments on commit f9d2354

Please sign in to comment.