Skip to content

Commit

Permalink
Merge pull request #12 from RoseTheFlower/patch-1
Browse files Browse the repository at this point in the history
Improved the grammar and wording of the JS prompt
  • Loading branch information
shdwmtr authored Jan 17, 2024
2 parents c248596 + 4297385 commit 4164bf4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/utils/config/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -454,10 +454,10 @@ const nlohmann::json themeConfig::getThemeData(bool raw) noexcept

if (hasJavaScriptPatch && Settings::Get<bool>("allow-javascript") == false) {
int result = MsgBox(
"The selected theme uses JavaScript to enhance your Steam experience.\n"
"You have JavaScript disabled in Millennium settings therefor the selected skin may not function properly.\n\n"
"ONLY enable JavaScript if you trust the developer, manually reviewed the code, or its an official theme.\n\n"
"Would you like to enable JavaScript execution?",
"The selected theme may be using JavaScript to enhance your Steam experience.\n"
"You have JavaScript disabled in Millennium settings, therefore, the selected skin may not function properly.\n\n"
"Enable JavaScript ONLY IF you trust the developer, have manually reviewed the code, or it's an official theme.\n\n"
"Would you like to enable JavaScript execution?",
"Notice",
MB_YESNO | MB_ICONINFORMATION
);
Expand Down Expand Up @@ -521,4 +521,4 @@ void themeConfig::updateEvents::triggerUpdate() {
for (const auto& listener : listeners) {
listener();
}
}
}

0 comments on commit 4164bf4

Please sign in to comment.