Files
OldThink/Resources/Locale/en-US/administration/ui/admin-notes.ftl
Pieter-Jan Briers d776c4b392 Improve admin message seen/dismiss state. (#26223)
Fixes #26211

Admin messages now have separate "seen" and "dismissed" fields. The idea is that an admin should be able to tell whether a user pressed the "dismiss for now" button. Instead of using "seen" as "show this message to players when they join", "dismissed" is now used for this.

Existing notes in the database will automatically be marked as dismissed on migration. A note cannot be dismissed without being seen (enforced via constraint in the database too, aren't I fancy).

As part of this, it has become impossible for a player to play without dismissing the message in some form. Instead of a shitty popup window, the popup is now a fullscreen overlay that blocks clicks behind it, making the game unplayable. Also, if a user somehow has multiple messages they will be combined into one popup.

Also I had enough respect for the codebase to make it look better and clean up the code somewhat. Yippee.
2024-03-21 16:15:46 +01:00

83 lines
3.3 KiB
Plaintext

# UI
admin-notes-title = Notes for {$player}
admin-notes-new-note = New note
admin-notes-show-more = Show more
admin-notes-for = Note for: {$player}
admin-notes-id = Id: {$id}
admin-notes-type = Type: {$type}
admin-notes-severity = Severity: {$severity}
admin-notes-secret = Secret
admin-notes-notsecret = Not secret
admin-notes-expires = Expires on: {$expires}
admin-notes-expires-never = Does not expire
admin-notes-edited-never = Never
admin-notes-round-id = Round Id: {$id}
admin-notes-round-id-unknown = Round Id: Unknown
admin-notes-created-by = Created by: {$author}
admin-notes-created-at = Created At: {$date}
admin-notes-last-edited-by = Last edited by: {$author}
admin-notes-last-edited-at = Last edited at: {$date}
admin-notes-edit = Edit
admin-notes-delete = Delete
admin-notes-hide = Hide
admin-notes-delete-confirm = Confirm delete
admin-notes-edited = Last edit by {$author} on {$date}
admin-notes-unbanned = Unbanned by {$admin} on {$date}
admin-notes-message-desc = [color=white]You have received { $count ->
[1] an administrative message
*[other] administrative messages
} since the last time you played on this server.[/color]
admin-notes-message-admin = From [bold]{ $admin }[/bold], written on { TOSTRING($date, "f") }:
admin-notes-message-wait = The accept button will be enabled after {$time} seconds.
admin-notes-message-accept = Dismiss permanently
admin-notes-message-dismiss = Dismiss for now
admin-notes-message-seen = Seen
admin-notes-banned-from = Banned from
admin-notes-the-server = the server
admin-notes-permanently = permanently
admin-notes-for = for {$player}
admin-notes-days = {$days} days
admin-notes-hours = {$hours} hours
admin-notes-minutes = {$minutes} minutes
# Note editor UI
admin-note-editor-title-new = Creating a new note for {$player}
admin-note-editor-title-existing = Editing note {$id} on {$player} by {$author}
admin-note-editor-pop-out = Pop out
admin-note-editor-secret = Secret?
admin-note-editor-secret-tooltip = Checking this will make the note not be visible by the player
admin-note-editor-type-note = Note
admin-note-editor-type-message = Message
admin-note-editor-type-watchlist = Watchlist
admin-note-editor-type-server-ban = Server Ban
admin-note-editor-type-role-ban = Role Ban
admin-note-editor-severity-select = Select
admin-note-editor-severity-none = None
admin-note-editor-severity-low = Low
admin-note-editor-severity-medium = Medium
admin-note-editor-severity-high = High
admin-note-editor-expiry-checkbox = Permanent?
admin-note-editor-expiry-checkbox-tooltip = Check this to make it expire
admin-note-editor-expiry-label = Expires on:
admin-note-editor-expiry-label-params = Expires on: {$date} (in {$expiresIn})
admin-note-editor-expiry-label-expired = Expired
admin-note-editor-expiry-placeholder = Enter expiration date (yyyy-MM-dd HH:mm:ss)
admin-note-editor-submit = Submit
admin-note-editor-submit-confirm = Are you sure?
# Verb
admin-notes-verb-text = Open Admin Notes
# Watchlist and message login
admin-notes-watchlist = Watchlist for {$player}: {$message}
admin-notes-new-message = You've received an admin message from {$admin}: {$message}
admin-notes-fallback-admin-name = [System]
# Admin remarks
admin-remarks-command-description = Opens the admin remarks page
admin-remarks-command-error = Admin remarks have been disabled
admin-remarks-title = Admin remarks
# Misc
system-user = [System]