Use em-dash instead of two dashes for 'Issue closed' followup comment

Created on 21 June 2010, almost 15 years ago
Updated 26 October 2023, over 1 year ago

I know this might be tough, as the text is filtered through t(), but is it possible to output an em-dash instead of a double-hyphen in the auto-close message that is put on an issue when it's closed?

Line 559, project_issue.module:

function theme_project_issue_auto_close_message($auto_close_days) {
  $auto_close_interval = format_interval($auto_close_days * 24 * 60 * 60, 2);
  return t('Automatically closed -- issue fixed for !interval with no activity.', array('!interval' => $auto_close_interval));
}

Could we get that '--' changed to an em dash somehow? It would be more semantically correct (see http://www.grammarbook.com/punctuation/dashes.asp and http://www.alistapart.com/articles/emen/)... and less of a bother to this grammar nazi's eyes :D

πŸ“Œ Task
Status

Closed: outdated

Version

1.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States geerlingguy

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024