Bläddra i källkod

Fix the Setup Type dialog titles

I had put the title and subtitle in the wrong order. This corrects the issue.
Anthony Lavado 5 år sedan
förälder
incheckning
f80343bf9d

+ 1 - 1
deployment/windows/dialogs/setuptype.nsddef

@@ -4,7 +4,7 @@ This file was created by NSISDialogDesigner 1.4.4.0
 http://coolsoft.altervista.org/nsisdialogdesigner
 Do not edit manually!
 -->
-<Dialog Name="setuptype" Title="This controls how Jellyfin is installed." Subtitle="Setup Type">
+<Dialog Name="setuptype" Title="Setup Type" Subtitle="Control how Jellyfin is installed.">
   <Label Name="InstallasaServiceLabel" Location="12, 115" Size="426, 46" Text="Install Jellyfin as a service. This method is recommended for Advanced Users. Additional setup is required to access network shares." TabIndex="0" />
   <RadioButton Name="InstallasaService" Location="12, 88" Size="426, 24" Text="Install as a Service (Advanced Users)" TabIndex="1" />
   <Label Name="BasicInstallLabel" Location="12, 39" Size="426, 46" Text="The basic install will run Jellyfin in your current user account.$\nThis is recommended for new users and those with existing Jellyfin installs older than 10.4." TabIndex="2" />

+ 6 - 2
deployment/windows/dialogs/setuptype.nsdinc

@@ -26,7 +26,7 @@ Function fnc_setuptype_Create
   ${If} $hCtl_setuptype == error
     Abort
   ${EndIf}
-  !insertmacro MUI_HEADER_TEXT "This controls how Jellyfin is installed." "Setup Type"
+  !insertmacro MUI_HEADER_TEXT "Setup Type" "Control how Jellyfin is installed."
   
   ; === InstallasaServiceLabel (type: Label) ===
   ${NSD_CreateLabel} 8u 71u 280u 28u "Install Jellyfin as a service. This method is recommended for Advanced Users. Additional setup is required to access network shares."
@@ -49,4 +49,8 @@ Function fnc_setuptype_Create
   
 FunctionEnd
 
-
+; dialog show function
+Function fnc_setuptype_Show
+  Call fnc_setuptype_Create
+  nsDialogs::Show
+FunctionEnd