diff --git a/locales/en.json b/locales/en.json index 488f369..8598b99 100644 --- a/locales/en.json +++ b/locales/en.json @@ -43,6 +43,8 @@ "compose": { "title": "Compose", "content": "What's on your mind?", + "comment": "Add a comment (optional)", + "commentHint": "Your comment will be included when this is syndicated", "submit": "Post", "cancel": "Cancel", "replyTo": "Replying to", diff --git a/package.json b/package.json index 881ec56..0344a8f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rmdes/indiekit-endpoint-microsub", - "version": "1.0.13", + "version": "1.0.14", "description": "Microsub endpoint for Indiekit. Enables subscribing to feeds and reading content using the Microsub protocol.", "keywords": [ "indiekit", diff --git a/views/compose.njk b/views/compose.njk index f1386bb..95a4e49 100644 --- a/views/compose.njk +++ b/views/compose.njk @@ -60,18 +60,17 @@ {% set isAction = likeOf or repostOf or bookmarkOf %} - {% if not isAction %} {{ textarea({ - label: __("microsub.compose.content"), + label: __("microsub.compose.content") if not isAction else __("microsub.compose.comment"), id: "content", name: "content", - rows: 5, - attributes: { autofocus: true } + rows: 5 if not isAction else 3, + attributes: { autofocus: true }, + hint: __("microsub.compose.commentHint") if isAction else false }) }}