Inno Setup - How to localize a string in Pascal Script?

后端 未结 1 2065
刺人心
刺人心 2021-01-06 14:28

How to change the \'Next\' with a language? It is possible?

procedure CurPageChanged(CurPageID: Integ         


        
相关标签:
1条回答
  • 2021-01-06 14:53

    To localize a string for Pascal Script, define a custom message in the language file:

    [CustomMessages]
    NextButtonCaption=Next
    

    And then use this custom message using the CustomMessage function function in your code:

    starttimer(
      WizardForm.Handle, WizardForm.NEXTBUTTON.Handle, 
      CustomMessage('NextButtonCaption'), 5)
    
    0 讨论(0)
提交回复
热议问题