Re: Accelerator key problem in translation
From: Oto BREZINA <brezina_at_printflow.sk>
Date: 2007-09-14 22:58:28 CEST Dear Stefan. Ok.After some more investigation PLS fix me if I'm incorrect in any point. Original (ENG) texts are stored in TortoiseProcENG.rc where are "Grouped". We may take worst case there I see is &OK - ok it does not appear in lot multi choice menus, but sometimes there are some example (shorted): IDD_CHECKOUT DIALOGEX 0, 0, 300, 200 STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Checkout" FONT 8, "MS Shell Dlg", 400, 0, 0x1 BEGIN LTEXT "&URL of repository:",IDC_URLOFREPO,13,18,223,8 LTEXT "Checkout &directory:",IDC_EXPORT_CHECKOUTDIR,13,42,223,8 CONTROL "Omit e&xternals",IDC_NOEXTERNALS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,107,274,10 CONTROL "&HEAD revision",IDC_REVISION_HEAD,"Button",BS_AUTORADIOBUTTON,13,139,123,10 CONTROL "&Revision",IDC_REVISION_N,"Button",BS_AUTORADIOBUTTON,13,155,74,10 PUSHBUTTON "Show &log",IDC_SHOW_LOG,201,153,86,14 DEFPUSHBUTTON "&OK",IDOK,129,179,50,14 PUSHBUTTON "&Cancel",IDCANCEL,189,179,48,14 PUSHBUTTON "&Help",IDHELP,243,179,50,14 END as you can see there are 7 acc keys, which I personally never expected in some "group", but they are. So if I use &OK (SK: &OK :) ) I should not use &O in none of these. For example normally (and may I done) I would translate Issue 1: &Cancel as (SK: Z&rušiť - this is typical wide used version) and &Revision as (SK: &Revízia - trying to keep same short cut, and nice if first letter of "main" word is acc. key) Issue 2: Show &log as (SK: Zobraziť &denník - nice translation) and Checkout &directory as (SK: A&dresár získania - trying keep some short cut) I tool which I recommend to have will report that this overlap. This move problem from menu keys overlap to dialog keys overlap so it is wider then I expect. Maybe .rc file can be right place to get data from so tool can read .rc and .po and make report should be easy and proper way. It seems that they are also grouped BEGIN-END. Do I miss something? Are text (with acc.keys) taken from more places (outside .rc) ? Has .php script access to this files? - only side technical problem I think. Have a nice day. Oto --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org For additional commands, e-mail: dev-help@tortoisesvn.tigris.org Received on Fri Sep 14 22:59:35 2007 |
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.