Skip to content

Commit 504ab37

Browse files
committed
[NFC] Spelling
1 parent c18ef31 commit 504ab37

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

core/base/src/TApplication.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ void TApplication::GetOptions(Int_t *argc, char **argv)
409409
gROOT->SetWebDisplay("off");
410410
else {
411411
printf("\nWARNING!\n");
412-
printf("Web mode switch --web is disabled for security reason.\n");
412+
printf("Web mode switch --web is disabled for security reasons.\n");
413413
printf("See https://root.cern/about/security/#2023-11-26-open-port-for-control-of-web-gui-allows-read-and-write-access-to-file-system for more information.\n");
414414
printf("For environments controlling the security issues you can enable web display by calling\n");
415415
printf("gROOT->SetWebDisplay(); in ROOT prompt or in startup scripts\n\n");

core/base/src/TROOT.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ TROOT::TROOT(const char *name, const char *title, VoidFuncPtr_t *initfunc)
824824
const char *webdisplay_rc = gEnv->GetValue("WebGui.Display", "");
825825
if (webdisplay_rc && *webdisplay_rc && (strcmp(webdisplay_rc, "off") != 0)) {
826826
printf("\nWARNING!\n");
827-
printf("rootrc parameter \"WebGui.Display\" is disabled for security reason.\n");
827+
printf("rootrc parameter \"WebGui.Display\" is disabled for security reasons.\n");
828828
printf("See https://root.cern/about/security/#2023-11-26-open-port-for-control-of-web-gui-allows-read-and-write-access-to-file-system for more information.\n");
829829
printf("For environments controlling the security issues you can enable web display by calling\n");
830830
printf("gROOT->SetWebDisplay(); in ROOT prompt or in startup scripts\n\n");

core/gui/src/TGuiFactory.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ TBrowserImp *TGuiFactory::CreateBrowserImp(TBrowser *b, const char *title, UInt_
9999
browserName = gEnv->GetValue("Browser.Name", "");
100100
if (strcmp(browserName, "ROOT::RWebBrowserImp") == 0) {
101101
printf("\nWARNING!\n");
102-
printf("rootrc parameter \"Browser.Name\" with web browser disabled for security reason.\n");
102+
printf("rootrc parameter \"Browser.Name\" with web browser disabled for security reasons.\n");
103103
printf("See https://root.cern/about/security/#2023-11-26-open-port-for-control-of-web-gui-allows-read-and-write-access-to-file-system for more information.\n");
104104
printf("For environments controlling the security issues you can enable web display by calling\n");
105105
printf("gROOT->SetWebDisplay(); in ROOT prompt or in startup scripts\n\n");

gui/gui/src/TRootGuiFactory.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ TBrowserImp *TRootGuiFactory::CreateBrowserImp(TBrowser *b, const char *title,
145145

146146
if ((browserVersion == "ROOT::RWebBrowserImp") && !gROOT->IsWebDisplay()) {
147147
printf("\nWARNING!\n");
148-
printf("rootrc parameter \"Browser.Name\" with web browser disabled for security reason.\n");
148+
printf("rootrc parameter \"Browser.Name\" with web browser disabled for security reasons.\n");
149149
printf("See https://root.cern/about/security/#2023-11-26-open-port-for-control-of-web-gui-allows-read-and-write-access-to-file-system for more information.\n");
150150
printf("For environments controlling the security issues you can enable web display by calling\n");
151151
printf("gROOT->SetWebDisplay(); in ROOT prompt or in startup scripts\n\n");
@@ -183,7 +183,7 @@ TBrowserImp *TRootGuiFactory::CreateBrowserImp(TBrowser *b, const char *title,
183183

184184
if ((browserVersion == "ROOT::RWebBrowserImp") && !gROOT->IsWebDisplay()) {
185185
printf("\nWARNING!\n");
186-
printf("rootrc parameter \"Browser.Name\" with web browser disabled for security reason.\n");
186+
printf("rootrc parameter \"Browser.Name\" with web browser disabled for security reasons.\n");
187187
printf("See https://root.cern/about/security/#2023-11-26-open-port-for-control-of-web-gui-allows-read-and-write-access-to-file-system for more information.\n");
188188
printf("For environments controlling the security issues you can enable web display by calling\n");
189189
printf("gROOT->SetWebDisplay(); in ROOT prompt or in startup scripts\n\n");

tree/treeplayer/src/TTreePlayer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2963,7 +2963,7 @@ void TTreePlayer::StartViewer(Int_t ww, Int_t wh)
29632963

29642964
if ((hname == "RTreeViewer") && !gROOT->IsWebDisplay()) {
29652965
printf("\nWARNING!\n");
2966-
printf("rootrc parameter \"TreeViewer.Name\" with web-based viewer disabled for security reason.\n");
2966+
printf("rootrc parameter \"TreeViewer.Name\" with web-based viewer disabled for security reasons.\n");
29672967
printf("See https://root.cern/about/security/#2023-11-26-open-port-for-control-of-web-gui-allows-read-and-write-access-to-file-system for more information.\n");
29682968
printf("For environments controlling the security issues you can enable web display by calling\n");
29692969
printf("gROOT->SetWebDisplay(); in ROOT prompt or in startup scripts\n\n");

0 commit comments

Comments
 (0)