git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Unify the style of user messages
@ 2012-03-19 17:51 Vincent van Ravesteijn
  2012-03-19 17:51 ` [PATCH 1/2] Unification of user message strings Vincent van Ravesteijn
  2012-03-19 17:51 ` [PATCH 2/2] Make some strings translatable Vincent van Ravesteijn
  0 siblings, 2 replies; 10+ messages in thread
From: Vincent van Ravesteijn @ 2012-03-19 17:51 UTC (permalink / raw)
  To: git; +Cc: gitster




While working on the translations, I came accross these strings. There doesn't seem to be a rule on how these messages should be formatted (or there is, then I didn't look well enough).

To me it feels better to standardize the style, so I looked in the sourcecode for which style is used most and composed some guidelines to unify the messages:
    - messages start with a capital,
    - short messages do not end with a full stop,
    - paths, filenames, and commands are quoted by single quotes (if not separated by the normal text by a ':'),
    - 'could not' is used rather than 'cannot'. 

There could of course be much more changes, but I don't know whether these changes are appreciated. Also, the guidelines might be disputable. Maybe it is not the best timing because we are in rc phase and the people start to translate. On the other hand, we might better change it before all translations are finished.

The second patch makes a few string translatable. 

Vincent

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-03-20 12:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-19 17:51 [PATCH 0/2] Unify the style of user messages Vincent van Ravesteijn
2012-03-19 17:51 ` [PATCH 1/2] Unification of user message strings Vincent van Ravesteijn
2012-03-19 19:39   ` Junio C Hamano
2012-03-19 20:16     ` Vincent van Ravesteijn
2012-03-19 20:53   ` Jeff King
2012-03-19 21:36     ` Junio C Hamano
2012-03-20  7:47       ` Vincent van Ravesteijn
2012-03-20 12:01         ` Jakub Narebski
2012-03-20 12:33           ` Vincent van Ravesteijn
2012-03-19 17:51 ` [PATCH 2/2] Make some strings translatable Vincent van Ravesteijn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).