~ubuntu-branches/ubuntu/quantal/vice/quantal

« back to all changes in this revision

Viewing changes to src/arch/win32/uidrivec64vic20.c

  • Committer: Bazaar Package Importer
  • Author(s): Zed Pobre
  • Date: 2006-07-30 19:15:59 UTC
  • mto: (9.1.1 lenny) (1.1.6 upstream)
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: james.westby@ubuntu.com-20060730191559-g31ymd2mk102kzff
Tags: upstream-1.19
ImportĀ upstreamĀ versionĀ 1.19

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
#include "res.h"
41
41
#include "resources.h"
42
42
#include "system.h"
 
43
#include "translate.h"
43
44
#include "uidrivec64vic20.h"
44
45
#include "uilib.h"
45
46
#include "winmain.h"
430
431
        psp[i].hInstance = winmain_instance;
431
432
#ifdef _ANONYMOUS_UNION
432
433
        psp[i].pszTemplate
433
 
            = MAKEINTRESOURCE(IDD_DRIVE_SETTINGS_DIALOG_C64VIC20);
 
434
            = MAKEINTRESOURCE(translate_res(IDD_DRIVE_SETTINGS_DIALOG_C64VIC20));
434
435
        psp[i].pszIcon = NULL;
435
436
#else
436
437
        psp[i].DUMMYUNIONNAME.pszTemplate
437
 
            = MAKEINTRESOURCE(IDD_DRIVE_SETTINGS_DIALOG_C64VIC20);
 
438
            = MAKEINTRESOURCE(translate_res(IDD_DRIVE_SETTINGS_DIALOG_C64VIC20));
438
439
        psp[i].u2.pszIcon = NULL;
439
440
#endif
440
441
        psp[i].lParam = 0;
442
443
    }
443
444
 
444
445
    psp[0].pfnDlgProc = callback_8;
445
 
    psp[0].pszTitle = TEXT("Drive 8");
 
446
    psp[0].pszTitle = translate_text(IDS_DRIVE_8);
446
447
    psp[1].pfnDlgProc = callback_9;
447
 
    psp[1].pszTitle = TEXT("Drive 9");
 
448
    psp[1].pszTitle = translate_text(IDS_DRIVE_9);
448
449
    psp[2].pfnDlgProc = callback_10;
449
 
    psp[2].pszTitle = TEXT("Drive 10");
 
450
    psp[2].pszTitle = translate_text(IDS_DRIVE_10);
450
451
    psp[3].pfnDlgProc = callback_11;
451
 
    psp[3].pszTitle = TEXT("Drive 11");
 
452
    psp[3].pszTitle = translate_text(IDS_DRIVE_11);
452
453
 
453
454
    psh.dwSize = sizeof(PROPSHEETHEADER);
454
455
    psh.dwFlags = PSH_PROPSHEETPAGE | PSH_NOAPPLYNOW;
455
456
    psh.hwndParent = hwnd;
456
457
    psh.hInstance = winmain_instance;
457
 
    psh.pszCaption = TEXT("Drive Settings");
 
458
    psh.pszCaption = translate_text(IDS_DRIVE_SETTINGS);
458
459
    psh.nPages = 4;
459
460
#ifdef _ANONYMOUS_UNION
460
461
    psh.pszIcon = NULL;