Procházet zdrojové kódy

Use keyboard accelerators on task dialog command links.

Martijn Laan před 6 roky
rodič
revize
ddb5bdcdba
4 změnil soubory, kde provedl 22 přidání a 22 odebrání
  1. 1 1
      Examples/CodeClasses.iss
  2. 10 10
      Files/Default.isl
  3. 10 10
      Files/Languages/Dutch.isl
  4. 1 1
      ISHelp/isxfunc.xml

+ 1 - 1
Examples/CodeClasses.iss

@@ -95,7 +95,7 @@ begin
   case TaskDialogMsgBox('Choose A or B',
                         'You can choose A or B.',   
                         mbInformation,
-                        MB_YESNOCANCEL, ['I choose A'#13#10'A will be chosen.', 'I choose B'#13#10'B will be chosen.'],
+                        MB_YESNOCANCEL, ['I choose &A'#13#10'A will be chosen.', 'I choose &B'#13#10'B will be chosen.'],
                         IDYES) of
     IDYES: MsgBox('You chose A.', mbInformation, MB_OK);
     IDNO: MsgBox('You chose B.', mbInformation, MB_OK);

+ 10 - 10
Files/Default.isl

@@ -68,10 +68,10 @@ UninstallAppRunningError=Uninstall has detected that %1 is currently running.%n%
 PrivilegesRequiredOverrideInstruction=Choose install mode
 PrivilegesRequiredOverrideDialogText1=%1 can be installed for all users (requires administrative privileges), or for you only.
 PrivilegesRequiredOverrideDialogText2=%1 can be installed for you only, or for all users (requires administrative privileges).
-PrivilegesRequiredOverrideAllUsers=Install for all users
-PrivilegesRequiredOverrideAllUsersRecommended=Install for all users (recommended)
-PrivilegesRequiredOverrideCurrentUser=Install for me only
-PrivilegesRequiredOverrideCurrentUserRecommended=Install for me only (recommended)
+PrivilegesRequiredOverrideAllUsers=Install for &all users
+PrivilegesRequiredOverrideAllUsersRecommended=Install for &all users (recommended)
+PrivilegesRequiredOverrideCurrentUser=Install for &me only
+PrivilegesRequiredOverrideCurrentUserRecommended=Install for &me only (recommended)
 
 ; *** Misc. errors
 ErrorCreatingDir=Setup was unable to create the directory "%1"
@@ -248,8 +248,8 @@ SelectDirectoryLabel=Please specify the location of the next disk.
 ; *** Installation phase messages
 SetupAborted=Setup was not completed.%n%nPlease correct the problem and run Setup again.
 AbortRetryIgnoreChooseAction=Choose action
-AbortRetryIgnoreRetry=Try again
-AbortRetryIgnoreIgnore=Ignore the error and continue
+AbortRetryIgnoreRetry=&Try again
+AbortRetryIgnoreIgnore=&Ignore the error and continue
 AbortRetryIgnoreCancel=Cancel installation
 
 ; *** Installation status messages
@@ -281,13 +281,13 @@ ErrorRegWriteKey=Error writing to registry key:%n%1\%2
 ErrorIniEntry=Error creating INI entry in file "%1".
 
 ; *** File copying errors
-FileAbortRetryIgnoreSkipNotRecommended=Skip this file (not recommended)
-FileAbortRetryIgnoreIgnoreNotRecommended=Ignore the error and continue (not recommended)
+FileAbortRetryIgnoreSkipNotRecommended=&Skip this file (not recommended)
+FileAbortRetryIgnoreIgnoreNotRecommended=&Ignore the error and continue (not recommended)
 SourceIsCorrupted=The source file is corrupted
 SourceDoesntExist=The source file "%1" does not exist
 ExistingFileReadOnly2=The existing file could not be replaced because it is marked read-only.
-ExistingFileReadOnlyRetry=Remove the read-only attribute and try again
-ExistingFileReadOnlyKeepExisting=Keep the existing file
+ExistingFileReadOnlyRetry=&Remove the read-only attribute and try again
+ExistingFileReadOnlyKeepExisting=&Keep the existing file
 ErrorReadingExistingDest=An error occurred while trying to read the existing file:
 FileExists=The file already exists.%n%nWould you like Setup to overwrite it?
 ExistingFileNewer=The existing file is newer than the one Setup is trying to install. It is recommended that you keep the existing file.%n%nDo you want to keep the existing file?

+ 10 - 10
Files/Languages/Dutch.isl

@@ -51,10 +51,10 @@ UninstallAppRunningError=Het verwijderprogramma heeft vastgesteld dat %1 op dit
 PrivilegesRequiredOverrideInstruction=Kies installatie modus
 PrivilegesRequiredOverrideDialogText1=%1 kan geïnstalleerd worden voor alle gebruikers (vereist aanmelding als een systeembeheerder), of voor u alleen.
 PrivilegesRequiredOverrideDialogText2=%1 kan geïnstalleerd worden voor u alleen, of voor alle gebruikers (vereist aanmelding als een systeembeheerder).
-PrivilegesRequiredOverrideAllUsers=Installeer voor alle gebruikers
-PrivilegesRequiredOverrideAllUsersRecommended=Installeer voor alle gebruikers (aanbevolen)
-PrivilegesRequiredOverrideCurrentUser=Installeer voor mij alleen
-PrivilegesRequiredOverrideCurrentUserRecommended=Installeer voor mij alleen (aanbevolen)
+PrivilegesRequiredOverrideAllUsers=Installeer voor &alle gebruikers
+PrivilegesRequiredOverrideAllUsersRecommended=Installeer voor &alle gebruikers (aanbevolen)
+PrivilegesRequiredOverrideCurrentUser=Installeer voor &mij alleen
+PrivilegesRequiredOverrideCurrentUserRecommended=Installeer voor &mij alleen (aanbevolen)
 
 ; *** Misc. errors
 ErrorCreatingDir=Setup kan de map "%1" niet maken
@@ -228,8 +228,8 @@ SelectDirectoryLabel=Geef de locatie van de volgende diskette.
 ; *** Installation phase messages
 SetupAborted=Setup is niet voltooid.%n%nCorrigeer het probleem en voer Setup opnieuw uit.
 AbortRetryIgnoreChooseAction=Kies actie
-AbortRetryIgnoreRetry=Probeer opnieuw
-AbortRetryIgnoreIgnore=Negeer de fout en ga door
+AbortRetryIgnoreRetry=&Probeer opnieuw
+AbortRetryIgnoreIgnore=&Negeer de fout en ga door
 AbortRetryIgnoreCancel=Breek installatie af
 
 ; *** Installation status messages
@@ -261,13 +261,13 @@ ErrorRegWriteKey=Fout bij het schrijven naar registersleutel:%n%1\%2
 ErrorIniEntry=Fout bij het maken van een INI-instelling in bestand "%1".
 
 ; *** File copying errors
-FileAbortRetryIgnoreSkipNotRecommended=Sla dit bestand over (niet aanbevolen)
-FileAbortRetryIgnoreIgnoreRecommended=Negeer de fout en ga door (niet aanbevolen)
+FileAbortRetryIgnoreSkipNotRecommended=&Sla dit bestand over (niet aanbevolen)
+FileAbortRetryIgnoreIgnoreRecommended=&Negeer de fout en ga door (niet aanbevolen)
 SourceIsCorrupted=Het bronbestand is beschadigd
 SourceDoesntExist=Het bronbestand "%1" bestaat niet
 ExistingFileReadOnly2=Het bestaande bestand kon niet vervangen worden omdat het een alleen-lezen markering heeft.
-ExistingFileReadOnlyRetry=Verwijder de alleen-lezen markering en probeer het opnieuw
-ExistingFileReadOnlyKeepExisting=Behoud het bestaande bestand
+ExistingFileReadOnlyRetry=&Verwijder de alleen-lezen markering en probeer het opnieuw
+ExistingFileReadOnlyKeepExisting=&Behoud het bestaande bestand
 ErrorReadingExistingDest=Er is een fout opgetreden bij het lezen van het bestaande bestand:
 FileExists=Het bestand bestaat al.%n%nWilt u dat Setup het overschrijft?
 ExistingFileNewer=Het bestaande bestand is nieuwer dan het bestand dat Setup probeert te installeren. U wordt aanbevolen het bestaande bestand te behouden.%n%nWilt u het bestaande bestand behouden?

+ 1 - 1
ISHelp/isxfunc.xml

@@ -2378,7 +2378,7 @@ end;</pre></example>
   case TaskDialogMsgBox('Choose A or B',
                         'You can choose A or B.',   
                         mbInformation,
-                        MB_YESNOCANCEL, ['I choose A'#13#10'A will be chosen.', 'I choose B'#13#10'B will be chosen.'],
+                        MB_YESNOCANCEL, ['I choose &amp;A'#13#10'A will be chosen.', 'I choose &amp;B'#13#10'B will be chosen.'],
                         IDYES) of
     IDYES: MsgBox('You chose A.', mbInformation, MB_OK);
     IDNO: MsgBox('You chose B.', mbInformation, MB_OK);