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

RE: [TSVN] Translation items - where are they used?

From: Lübbe Onken <l.onken_at_rac.de>
Date: 2005-10-11 09:43:39 CEST

Fernando P. Nájera Cano wrote:
> Hi,

Hi Fernando,
 
> I have a question about translation. I often don't know how exactly
> should I translate an item.

You could open src/resources/TortoiseProcENG.rc and
src/resources/TortoiseMergeENG.rc in any text editor and search for the
original strings. Then you will see the dialogs in which they are used plus
some other locations like string tables (menu entries) and so on.

> Another question: Accelerators. I'm blind while putting accelerators,
> because I don't know in which dialogs/menus the sentence is used.

Just the same. You see all ressource strings of a dialog in a normal editor.
Just be careful that the editor doesn't touch the character encoding.
Notepad is fine.

--- Example ---
IDD_ADD DIALOGEX 0, 0, 244, 154
STYLE DS_SETFONT | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP
|
    WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
CAPTION "TortoiseSVN : Add"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    CONTROL "",IDC_ADDLIST,"SysListView32",LVS_REPORT |
                    LVS_SHOWSELALWAYS | LVS_ALIGNLEFT | WS_BORDER |
                    WS_TABSTOP,7,7,230,107
    CONTROL "Select / deselect &all",IDC_SELECTALL,"Button",
                    BS_AUTO3STATE | WS_TABSTOP,7,119,230,10
    DEFPUSHBUTTON "&OK",IDOK,73,133,50,14
    PUSHBUTTON "&Cancel",IDCANCEL,131,133,50,14
    PUSHBUTTON "&Help",IDHELP,187,133,50,14
END
--- Example ---

This dialog uses the strings:
"TortoiseSVN : Add"
"Select / deselect &all"
"&OK"
"&Cancel"
"&Help"

Cheers
- Lübbe

--
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Oct 11 09:44:15 2005

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.