Page MenuHomePhabricator

Make "magic words" in comment text localizable
Open, WishlistPublic

Description

It would be nice if the hardcoded values here were configurable, like the prefixes in maniphest.statuses.

Event Timeline

nkovacs raised the priority of this task from to Wishlist.
nkovacs updated the task description. (Show Details)
nkovacs added a project: Maniphest.
nkovacs added a subscriber: nkovacs.

What prefixes do you want to configure?

When you commit and include "refs T42" in the commit message, it shows up in the task as "user added a commit: sha1". I'd like to change that refs prefix.

Sorry, I mean "if there was a configuration option, what would you set it to?"

Primarily I'd like to localize it, if people are writing commit messages in another language, it looks weird to add "fixes" or "references" in english. But it also seemed strange that you can configure this for statuses, but not for refs.

Ah, okay, that makes sense. If you just wanted to add some other english text we could probably have just hard-coded it in for now, but we should do this properly if you want to localize it.

epriestley renamed this task from Configurable prefixes for task refs in commit messages to Make "magic words" in comment text localizable.Dec 5 2015, 11:50 PM
epriestley edited projects, added Localization; removed Maniphest.

T11319#185560 has some additional discussion about somewhat-related-ish issues.