[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: TSVN context menu accelerator

From: Grzegorz Adamiak <grzegorz.adamiak_at_gmail.com>
Date: Wed, 28 Oct 2009 14:34:30 +0100

--- Jean-Marc van Leerdam [2009-10-28 12:05]:
> 2009/10/28 Olaf van der Spek <olafvdspek_at_gmail.com>:
>>>> Is the TSVN context menu accelerator (T) customizable?
>>>> Trouble is that T is also used to create a shortcut in my case.
>>>>
>>> No it is not customizable. You can press the accelerator multiple
>>> times to cycle through the available menu options.
>> I know. Could it be made customizable?
>
> I doubt it. The translations currently rely on the English menu title
> including the accelerator. I don't think that can be changed easily to
> accommodate dynamic accelerators.
>

Actually, it is customizable. Try this on your Tortoise_xx.po file (I used
Tortoise.pot as there's no English .po):

Index: Tortoise.pot
===================================================================
--- Tortoise.pot (wersja 16975)
+++ Tortoise.pot (kopia robocza)
@@ -1037,7 +1037,7 @@

  #. Resource IDs: (9)
  msgid "&TortoiseSVN"
-msgstr ""
+msgstr "Tortoise&SVN"

  #. Resource IDs: (1096)
  msgid "&TortoiseUDiff"

Then just make your custom language dll with ResText. No need to compile anything.

-- Grzegorz

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2412113

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-10-28 14:41:46 CET

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.