Skip to content

Commit

Permalink
Use keyboard accelerators on task dialog command links.
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnlaan committed Jan 17, 2019
1 parent 6717e2f commit ddb5bdc
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion Examples/CodeClasses.iss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
20 changes: 10 additions & 10 deletions Files/Default.isl
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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?
Expand Down
20 changes: 10 additions & 10 deletions Files/Languages/Dutch.isl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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?
Expand Down
2 changes: 1 addition & 1 deletion ISHelp/isxfunc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ddb5bdc

Please sign in to comment.