File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ enable_update_checker = Enable Update Checker
352352enable_update_checker_helper  = Checks for new version releases periodically by connecting to gitea.io.
353353env_config_keys  = Environment Configuration
354354env_config_keys_prompt  = The following environment variables will also be applied to your configuration file:
355- config_write_file_prompt  = These configuration options will be written into:
355+ config_write_file_prompt  = These configuration options will be written into: %s 
356356
357357[home] 
358358nav_menu  = Navigation Menu
Original file line number Diff line number Diff line change 338338
339339					<div class="inline field">
340340						<div class="right-content">
341- 							{{ctx.Locale.Tr "install.config_write_file_prompt"}} <span class="ui label">{{.CustomConfFile}}</span> <button class="btn interact-fg" data-clipboard-text="{{.CustomConfFile}}">{{svg "octicon-copy" 14}}</button>
341+ 							{{$copyBtn := svg "octicon-copy" 14}}
342+ 							{{$filePath := HTMLFormat `<span class="ui label">%s</span> <button class="btn interact-fg" data-clipboard-text="%s">%s</button>` .CustomConfFile .CustomConfFile $copyBtn}}
343+ 							{{ctx.Locale.Tr "install.config_write_file_prompt" $filePath}}
342344						</div>
343345						<div class="tw-mt-4 tw-mb-2 tw-text-center">
344346							<button class="ui primary button">{{ctx.Locale.Tr "install.install_btn_confirm"}}</button>
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments