Public Access
feat(hint): targets, automatic hints and formatting
Target fields on the admin hints page. The dashboard shows the four automatic hints after admin hints when their condition is true, using data Core already serves. HintText renders **bold** and safe links (app path or https) as React elements, never HTML, in hints and news. Auto-close without tick hides for this session, X for 7 days, tick + X for good.
This commit is contained in:
1 parent
ae904d946a
commit
8598024bce
14 files changed
+578
-53
No files matched your search
+29
-4
@@ -739,13 +739,19 @@
|
||||
"CLOSE": "Close",
|
||||
"DO_NOT_SHOW_AGAIN": "Do not show again",
|
||||
"OK": "OK",
|
||||
"SAVE_FAILED": "The hint could not be saved."
|
||||
"SAVE_FAILED": "The hint could not be saved.",
|
||||
"AUTO_NO_STEAM": "[Link your Steam account](/settings) to sync your library.",
|
||||
"AUTO_EMPTY_LIBRARY": "Your library is still empty. [Import your games](/import).",
|
||||
"AUTO_PILE_GREW_one": "Your pile grew by **{{count}}** game this month. [See the trend](/stats).",
|
||||
"AUTO_PILE_GREW_other": "Your pile grew by **{{count}}** games this month. [See the trend](/stats).",
|
||||
"AUTO_LINK_QUEUE_one": "**{{count}}** pair waits in the [link queue](/audit/links).",
|
||||
"AUTO_LINK_QUEUE_other": "**{{count}}** pairs wait in the [link queue](/audit/links)."
|
||||
},
|
||||
"ADMIN_HINTS": {
|
||||
"NEW": "New hint",
|
||||
"TEXT_EN": "Text (English)",
|
||||
"TEXT_DE": "Text (German, optional)",
|
||||
"TEXT_HELP": "Plain text, max 500 characters. Without a German text, German users see the English one.",
|
||||
"TEXT_HELP": "Plain text, max 500 characters. Use **bold** and [text](/path) or [text](https://...) for links. Without a German text, German users see the English one.",
|
||||
"KIND": "Type",
|
||||
"KIND_DISMISS": "Dismiss: closes after 30 s or with X",
|
||||
"KIND_ACCEPT": "Accept: stays until the user clicks OK",
|
||||
@@ -767,7 +773,26 @@
|
||||
"STATUS_ENDED": "Ended",
|
||||
"RANGE": "{{start}} to {{end}}",
|
||||
"DONE_COUNT_one": "Closed for good by {{count}} user",
|
||||
"DONE_COUNT_other": "Closed for good by {{count}} users"
|
||||
"DONE_COUNT_other": "Closed for good by {{count}} users",
|
||||
"TARGET": "Who sees it",
|
||||
"TARGET_NO_STEAM": "Only users without a linked Steam account",
|
||||
"TARGET_EMPTY_LIBRARY": "Only users with an empty library",
|
||||
"TARGET_ROLE": "Role (this role and higher)",
|
||||
"TARGET_ROLE_ALL": "All roles",
|
||||
"TARGET_NEW_DAYS": "Only users registered in the last N days (empty: any)",
|
||||
"TARGET_HELP": "All ticked groups must match. Nothing ticked: all users.",
|
||||
"TARGET_ALL": "All users",
|
||||
"TARGET_SUMMARY_NO_STEAM": "Without Steam",
|
||||
"TARGET_SUMMARY_ROLE": "{{role}} and higher",
|
||||
"TARGET_SUMMARY_NEW_one": "Registered in the last day",
|
||||
"TARGET_SUMMARY_NEW_other": "Registered in the last {{count}} days",
|
||||
"TARGET_SUMMARY_EMPTY_LIBRARY": "Empty library",
|
||||
"AUTO_TITLE": "Automatic hints",
|
||||
"AUTO_NO_STEAM": "No Steam account linked",
|
||||
"AUTO_EMPTY_LIBRARY": "Empty library",
|
||||
"AUTO_PILE_GREW": "The pile grew this month",
|
||||
"AUTO_LINK_QUEUE": "Open pairs in the link queue (auditors)",
|
||||
"AUTO_SAVED": "Saved."
|
||||
},
|
||||
"NEWS": {
|
||||
"TITLE": "What's new",
|
||||
@@ -806,7 +831,7 @@
|
||||
"TITLE_DE": "Title (German, optional)",
|
||||
"TEXT_EN": "Text (English)",
|
||||
"TEXT_DE": "Text (German, optional)",
|
||||
"TEXT_HELP": "Plain text. Title max 100, text max 2000 characters. Without a German text, German users see the English one.",
|
||||
"TEXT_HELP": "Plain text. Title max 100, text max 2000 characters. Use **bold** and [text](/path) or [text](https://...) in the text. Without a German text, German users see the English one.",
|
||||
"PREVIEW": "Preview",
|
||||
"CREATE": "Publish",
|
||||
"SAVE": "Save",
|
||||
|
||||
Reference in new issue
Block a user