Update a few strings for clarity

This commit is contained in:
Florine W. Dekker 2023-08-29 21:00:09 +02:00
parent 80835d6a08
commit e024bc4cf8
Signed by: FWDekker
GPG Key ID: D3DCFAA8A4560BE0
6 changed files with 21 additions and 14 deletions

View File

@ -1,7 +1,7 @@
{
"name": "fwdekker/death-notifier",
"description": "Get notified when a famous person dies.",
"version": "1.1.0", "_comment_version": "Also update version in `package.json`!",
"version": "1.1.1", "_comment_version": "Also update version in `package.json`!",
"type": "project",
"license": "MIT",
"homepage": "https://git.fwdekker.com/tools/death-notifier",

BIN
package-lock.json generated

Binary file not shown.

View File

@ -1,6 +1,6 @@
{
"name": "death-notifier",
"version": "1.1.0", "_comment_version": "Also update version in `composer.json`!",
"version": "1.1.1", "_comment_version": "Also update version in `composer.json`!",
"description": "Get notified when a famous person dies.",
"author": "Florine W. Dekker",
"browser": "dist/bundle.js",
@ -27,10 +27,10 @@
"grunt-focus": "^1.0.0",
"grunt-run": "^0.8.1",
"grunt-text-replace": "^0.4.0",
"grunt-webpack": "^5.0.0",
"ts-loader": "^9.4.2",
"typescript": "^5.0.2",
"webpack": "^5.76.2",
"webpack-cli": "^5.0.1"
"grunt-webpack": "^6.0.0",
"ts-loader": "^9.4.4",
"typescript": "^5.2.2",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4"
}
}

View File

@ -5,17 +5,20 @@
cli_password = REPLACE THIS WITH A SECRET VALUE
[database]
# File to store SQLite database in.
# File to store SQLite database in. The default value assumes that you have configured your server to hide files
# starting with a `.`.
filename = .death-notifier.db
[logger]
# File to store general logs in.
# File to store general logs in. The default value assumes that you have configured your server to hide files starting
# with a `.`.
filename = .death-notifier.log
# Log level for general log events. See https://seldaek.github.io/monolog/doc/01-usage.html#log-levels
level = 250
[logger_db]
# File to store database logs in.
# File to store database logs in. The default value assumes that you have configured your server to hide files starting
# with a `.`.
filename = .death-notifier.db.log
# Log level for database log events. See https://seldaek.github.io/monolog/doc/01-usage.html#log-levels
level = 250

View File

@ -409,7 +409,7 @@
<input id="delete-account-actual-email" type="hidden" name="email" />
<label for="delete-account-email">Confirm email</label>
<label for="delete-account-email">Confirm email address</label>
<input id="delete-account-email" name="email" autocomplete="off" />
<small id="delete-account-email-hint" data-hint-for="delete-account-email"></small>

View File

@ -183,7 +183,7 @@ class NotifyStatusChangedEmail extends Email
public function get_subject(): string
{
return "$this->name may be $this->new_status";
return "Death Notifier: $this->name may be $this->new_status";
}
public function get_body(): string
@ -195,6 +195,10 @@ class NotifyStatusChangedEmail extends Email
"For more information, read their Wikipedia article at " .
"https://en.wikipedia.org/wiki/" . rawurlencode($this->name) .
"\n\n" .
"Note that Wikipedia is not a reliable source of information and is subject to vandalism and errors. " .
"Please check if reliable news sources have reported on $this->name before spreading this message to " .
"others." .
"\n\n" .
"You are receiving this message because of the preferences in your Death Notifier account. " .
"To unsubscribe from these messages, go to the Death Notifier website, log in, and change your email " .
"preferences." .
@ -237,7 +241,7 @@ class NotifyArticleDeletedEmail extends Email
public function get_subject(): string
{
return "$this->name article has been deleted";
return "Death Notifier: $this->name article has been deleted";
}
public function get_body(): string
@ -292,7 +296,7 @@ class NotifyArticleUndeletedEmail extends Email
public function get_subject(): string
{
return "$this->name article has been re-created";
return "Death Notifier: $this->name article has been re-created";
}
public function get_body(): string