Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 19235aa

Browse files
committed
Set lc_messages = en_EN.utf-8 for 1C build
1 parent 07e4b81 commit 19235aa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

nsis/postgresql.nsi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,7 @@ Section $(componentServer) sec1
692692
FileWrite $0 "online_analyze.local_tracking = 'on'$\r$\n"
693693
FileWrite $0 "plantuner.fix_empty_table = 'on' $\r$\n"
694694
FileWrite $0 "online_analyze.enable = on$\r$\n"
695+
FileWrite $0 "lc_messages = 'en_EN.utf-8'$\r$\n"
695696
FileClose $0
696697
${else}
697698
ClearErrors
@@ -1268,7 +1269,6 @@ Function WriteInstallOptions
12681269
WriteRegStr HKLM "${PG_REG_SERVICE_KEY}" "Service Account" $ServiceAccount_text
12691270

12701271
;for pgAdmin
1271-
;MessageBox MB_OK|MB_ICONINFORMATION "${PG_REG_KEY_FOR_PGADIN}$ServiceID_text"
12721272
WriteRegStr HKLM "${PG_REG_KEY_FOR_PGADIN}$ServiceID_text" "Data Directory" $DATA_DIR
12731273
WriteRegStr HKLM "${PG_REG_KEY_FOR_PGADIN}$ServiceID_text" "Database Superuser" $UserName_text
12741274
WriteRegStr HKLM "${PG_REG_KEY_FOR_PGADIN}$ServiceID_text" "Display Name" $Branding_text
@@ -1319,7 +1319,6 @@ Function un.DeleteInstallOptions
13191319
DeleteRegKey /ifempty HKLM "${PG_OLD_REG_SERVICE_KEY}"
13201320
${endif}
13211321
;for pgAdmin
1322-
;MessageBox MB_OK|MB_ICONINFORMATION "${PG_REG_KEY_FOR_PGADIN}$ServiceID_text"
13231322
DeleteRegValue HKLM "${PG_REG_KEY_FOR_PGADIN}$ServiceID_text" "Data Directory"
13241323
DeleteRegValue HKLM "${PG_REG_KEY_FOR_PGADIN}$ServiceID_text" "Database Superuser"
13251324
DeleteRegValue HKLM "${PG_REG_KEY_FOR_PGADIN}$ServiceID_text" "Display Name"

0 commit comments

Comments
 (0)