lemmy-ui icon indicating copy to clipboard operation
lemmy-ui copied to clipboard

Change textarea tip for locked posts

Open testman42 opened this issue 6 months ago • 3 comments

Requirements

  • [x] This is a bug report, and if not, please post to https://lemmy.ml/c/lemmy_support instead.
  • [x] Please check to see if this issue already exists.
  • [x] It's a single bug. Do not report multiple bugs in one issue.
  • [x] It's a frontend issue, not a backend issue; Otherwise please create an issue on the backend repo instead.

Summary

Image

>Type here to comment >can't type ~~don't show the comment field then~~ make the box say so then

Steps to Reproduce

  1. Log into Lemmy account
  2. Open a locked post like https://lemmy.ml/post/31577176
  3. See a textarea for making a comment
  4. Can't write into box

mfw

Technical Details

Firefox 139 on desktop Linux

Lemmy Instance Version

0.19.12-beta.12

Lemmy Instance URL

https://lemmy.ml

testman42 avatar Jun 12 '25 15:06 testman42

I prefer it this way, then you don't think there's a bug from an entire missing textarea.

dessalines avatar Jun 16 '25 15:06 dessalines

Good point. But then would it at least make sense to change the text from "type here" to "this post is locked, comments can not be added" or something like that?

testman42 avatar Jun 17 '25 08:06 testman42

Sure, that'd be a good idea.

dessalines avatar Jun 18 '25 13:06 dessalines

Do we replace I18NextService.i18n.t("comment_here") with I18NextService.i18n.t("locked_post") or do we add an entry to the translatable strings like "dont_comment_here": "This post is locked, you can not add a comment."?

jfaustino avatar Jul 17 '25 23:07 jfaustino

I'd say adding a new string would be best.

dessalines avatar Jul 28 '25 18:07 dessalines