Skip to content

Commit

Permalink
Fixed translation issue that might be causing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Ninjasoturi committed Aug 29, 2021
1 parent 67e346e commit fe59eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logic/show_raid_poll.php
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ function show_raid_poll($raid, $inline = false)
}
// Add start raid message
if($cnt_all > 0 && $config->RAID_POLL_SHOW_START_LINK) {
$msg = raid_poll_message($msg, CR . '<b>' . str_replace('START_CODE', '<a href="https://t.me/' . str_replace('@', '', $config->BOT_NAME) . '?start=c0de-' . $raid['id'] . '">' . getTranslation('telegram_bot_start') . '</a>', getPublicTranslation('start_raid')) . '</b>' . SP . '<i>' . getPublicTranslation('start_raid_info') . '</i>' . CR);
$msg = raid_poll_message($msg, CR . '<b>' . str_replace('START_CODE', '<a href="https://t.me/' . str_replace('@', '', $config->BOT_NAME) . '?start=c0de-' . $raid['id'] . '">' . getPublicTranslation('telegram_bot_start') . '</a>', getPublicTranslation('start_raid')) . '</b>' . SP . '<i>' . getPublicTranslation('start_raid_info') . '</i>' . CR);
}
// Add hint for late attendances.
if($config->RAID_LATE_MSG && $cnt_latewait > 0) {
Expand Down

0 comments on commit fe59eae

Please sign in to comment.