Skip to content

Commit e8b4262

Browse files
committed
Added more titles for advanced options window
1 parent 7d083ff commit e8b4262

File tree

2 files changed

+29
-13
lines changed

2 files changed

+29
-13
lines changed

nsis/postgresql.nsi

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ Var Collation_editor
126126
Var Collation_text
127127

128128
Var currCommand
129-
130129
; Set 'install service' variable
131130
;Var service
132131

@@ -2359,45 +2358,56 @@ Function nsDialogMore
23592358
#!define PG_DEF_SERVICEID "postgrespro-enterprise-X64-9.6"
23602359
#isu
23612360

2362-
${NSD_CreateGroupBox} 0 0 100% 70u "$(MORE_SERVICE_TITLE)"
2361+
${NSD_CreateGroupBox} 0 0 100% 80u "$(MORE_SERVICE_TITLE)"
23632362
Pop $0
23642363

2365-
${NSD_CreateLabel} 10u 12u 120u 16u "$(MORE_WINUSER)"
2364+
${NSD_CreateLabel} 10u 12u 360u 16u "$(MORE_USER_HELP)"
2365+
Pop $Label
2366+
2367+
2368+
${NSD_CreateLabel} 10u 32u 120u 16u "$(MORE_WINUSER)"
23662369
Pop $Label
23672370

2368-
${NSD_CreateText} 130u 14u 160u 12u "$ServiceAccount_text"
2371+
${NSD_CreateText} 130u 30u 160u 12u "$ServiceAccount_text"
23692372
Pop $ServiceAccount_editor
23702373

2371-
${NSD_CreateLabel} 10u 32u 120u 12u "$(MORE_WINPASS)"
2374+
${NSD_CreateLabel} 10u 47u 120u 12u "$(MORE_WINPASS)"
23722375
Pop $Label
23732376

2374-
${NSD_CreatePassword} 130u 30u 160u 12u $servicePassword_text
2377+
${NSD_CreatePassword} 130u 45u 160u 12u $servicePassword_text
23752378
Pop $servicePassword_editor
23762379

23772380

2378-
${NSD_CreateLabel} 10u 52u 120u 16u "$(MORE_SERVICE_NAME)"
2381+
${NSD_CreateLabel} 10u 62u 120u 16u "$(MORE_SERVICE_NAME)"
23792382
Pop $Label
23802383

2381-
${NSD_CreateText} 130u 50u 160u 12u "$ServiceID_text"
2384+
${NSD_CreateText} 130u 60u 160u 12u "$ServiceID_text"
23822385
Pop $ServiceID_editor
23832386

23842387

23852388
${if} ${PG_MAJOR_VERSION} >= "10"
2386-
${NSD_CreateLabel} 10u 82u 120u 16u "$(MORE_COLATION)"
2389+
2390+
2391+
${NSD_CreateLabel} 10u 92u 100% 26u "$(MORE_ICU_HELP)"
23872392
Pop $Label
23882393

2389-
${NSD_CreateDropList} 130u 80u 100u 12u ""
2394+
${NSD_CreateLabel} 10u 122u 120u 16u "$(MORE_COLATION)"
2395+
Pop $Label
2396+
${NSD_CreateDropList} 130u 120u 100u 12u ""
23902397
Pop $Collation_editor
2398+
23912399
${NSD_CB_AddString} $Collation_editor "$(DEF_COLATE_NAME)"
23922400
;${NSD_CB_AddString} $Collation_editor "icu"
23932401
${NSD_CB_AddString} $Collation_editor "libc"
23942402
${NSD_CB_SelectString} $Collation_editor $Collation_text
23952403
${endif}
2396-
2404+
2405+
23972406
nsDialogs::Show
23982407

23992408
FunctionEnd
24002409

2410+
24012411
Function nsDialogsMorePageLeave
24022412
${NSD_GetText} $ServiceAccount_editor $ServiceAccount_text
24032413
${NSD_GetText} $servicePassword_editor $servicePassword_text

nsis/translates.nsi

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ LangString DLG_data-checksums ${LANG_RUSSIAN} "
145145
LangString DEF_COLATE_NAME ${LANG_ENGLISH} "icu"
146146
LangString DEF_COLATE_NAME ${LANG_RUSSIAN} "icu"
147147

148-
LangString MORE_WINUSER ${LANG_ENGLISH} "Windows existing user name:"
149-
LangString MORE_WINUSER ${LANG_RUSSIAN} "Ñóùåñòâóþùèé ïîëüçîâàòåëü Windows:"
148+
LangString MORE_WINUSER ${LANG_ENGLISH} "Windows user name:"
149+
LangString MORE_WINUSER ${LANG_RUSSIAN} "Ïîëüçîâàòåëü Windows:"
150150

151151

152152
LangString MORE_WINPASS ${LANG_ENGLISH} "Windows user password:"
@@ -163,3 +163,9 @@ LangString MORE_COLATION ${LANG_RUSSIAN} "
163163

164164
LangString MORE_SHOW_MORE ${LANG_ENGLISH} "Show advanced options..."
165165
LangString MORE_SHOW_MORE ${LANG_RUSSIAN} "Ïîêàçàòü äîïîëíèòåëüíûå ïàðàìåòðû ..."
166+
167+
LangString MORE_ICU_HELP ${LANG_ENGLISH} "Postgres Pro uses icu collation by default. If you are upgrading from vanilla PostgreSQL, choose libc."
168+
LangString MORE_ICU_HELP ${LANG_RUSSIAN} "Postgres Pro ïî óìîë÷àíèþ èñïîëüçóåò ïðàâèëà ñîðòèðîâêè icu. Ïðè ïåðåõîäå ñ âàíèëüíîé âåðñèè PostgreSQL, âûáåðèòå libc."
169+
170+
LangString MORE_USER_HELP ${LANG_ENGLISH} "Specify a Windows user that will start ${PRODUCT_NAME_SHORT} service."
171+
LangString MORE_USER_HELP ${LANG_RUSSIAN} "Óêàæèòå ïîëüçîâàòåëÿ Windows, êîòîðûé çàïóñòèò ñëóæáó ${PRODUCT_NAME_SHORT}."

0 commit comments

Comments
 (0)