Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] Translation of reflog messages?

"Lay, Stefan" <stefan.lay@xxxxxxx> wrote:
> Do we need to externalize reflog messages?
> 
> We proposed a change to externalize all translatable Strings in egit.core (http://egit.eclipse.org/r/#change,332).
> It contains code that writes to the reflog, for example in BranchOperation:
> 
> RefUpdate u = repository.updateRef(Constants.HEAD);
> u.setRefLogMessage("checkout: moving to " + refName, false);
> 
> Is this message subject to translation? Or maybe only part of it, namely the name of the git command "checkout"?
> Are there tools which parse the reflog message and rely on standardized texts?

Nope.  Currently nobody relies on the format of the message part of a
reflog record.  So translating them should not break an application.

Since these are strictly local to the repository, it probably makes
sense to translate these messages for the user, so they make sense
to them when they are reading a reflog history in some sort of
browser UI.

I say, translate them.

-- 
Shawn.


Back to the top