Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix slack message in double #46

Merged
merged 1 commit into from
Jul 19, 2019
Merged

Fix slack message in double #46

merged 1 commit into from
Jul 19, 2019

Conversation

welcoMattic
Copy link
Contributor

Fix #44

@@ -41,25 +41,26 @@ public function buildAttachment(): array
$cfpAttachment = SlackNotifier::ATTACHMENT;
$template = '🔊 CFP for %s (%s) is closing %s';
$conferenceLink = sprintf('<%s|%s>', $this->conference->getCfpUrl(), $this->conference->getName());
$countdown = 'in *' . $this->remainingDays . ' day' . $this->remainingDays > 1 ? 's' : '' . '* !';
Copy link
Member

@Korbeil Korbeil Jul 18, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pretty sure we can make this a lot cleaner and use translation plural syntax 😉

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it's mentioned in #47

@welcoMattic welcoMattic merged commit 2d5f1a8 into master Jul 19, 2019
@welcoMattic welcoMattic deleted the fix/slack-messages branch July 19, 2019 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix double Slack message for added conferences
2 participants