On Sat, Aug 22, 2009 at 07:52, Adrian Buehlmann<adr...@cadifra.com> wrote: > On 22.08.2009 00:29, Yuki KODAMA wrote: >> Note that the help texts of context menu still have limitation of 40 chars. >> In addition, if the text contains multibyte char(s), please note that >> "40 chars limitation" means 40 chars on single byte. >> For instance, if you write the text with all multi byte chars, the >> limitation is >> just 20 chars (or less). > > I don't think so. > > http://msdn.microsoft.com/en-us/library/bb776094(VS.85).aspx > > "It should be reasonably short (under 40 characters)" > > A character is a character (not a byte). So you have 40 "wide" characters > to go. >
Yeah, I think so. But I got these debug message on DebugView: [1448] [THG] CShellExt::GetCommandString: idCmd = 0, uFlags = 1 (GCS_HELPTEXTA), cchMax = 201 [1448] [THG] CShellExt::GetCommandString: name = "commit" [1448] [THG] CShellExt::GetCommandString: warning: length of help text is 68, which is not reasonably short (<40) [1448] [THG] CShellExt::GetCommandString: res = 0, pszName = "変更点をリポジトリにコミットします変更点をリポジトリにコミットします" It shows warning that help text overs 40 chars. So I've truncated help texts in "thg-cmenu-ja.reg" file. -- Yuki KODAMA ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Tortoisehg-develop mailing list Tortoisehg-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop