From d7a178d2596b7c7af654a049782e34c6ad4a8bef Mon Sep 17 00:00:00 2001 From: infiinte-persistence Date: Fri, 9 Oct 2020 14:58:46 +0800 Subject: [PATCH] Str-context-split: "Post" Splitting the context between "Markdown post" (noun) vs. "Post something" (verb) --- static/app-strings.json | 3 ++- ui/component/commentCreate/view.jsx | 4 ++-- ui/component/publishFile/view.jsx | 2 +- ui/component/publishForm/view.jsx | 7 ++++++- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/static/app-strings.json b/static/app-strings.json index 81e649822..85ea452ad 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -192,7 +192,8 @@ "Comments": "Comments", "Comment": "Comment", "Your comment": "Your comment", - "Post": "Post", + "Post --[button to submit something]--": "Post", + "Post --[noun, markdown post tab button]--": "Post", "Posting...": "Posting...", "Incompatible daemon": "Incompatible daemon", "Incompatible daemon running": "Incompatible daemon running", diff --git a/ui/component/commentCreate/view.jsx b/ui/component/commentCreate/view.jsx index 45bb59720..94754239e 100644 --- a/ui/component/commentCreate/view.jsx +++ b/ui/component/commentCreate/view.jsx @@ -120,7 +120,7 @@ export function CommentCreate(props: Props) { label={isFetchingChannels ? __('Comment') : undefined} />
-
); @@ -170,7 +170,7 @@ export function CommentCreate(props: Props) { : __('Reply') : isPostingComment ? __('Posting...') - : __('Post') + : __('Post --[button to submit something]--') } requiresAuth={IS_WEB} /> diff --git a/ui/component/publishFile/view.jsx b/ui/component/publishFile/view.jsx index 4bc6e4e74..74e0e5356 100644 --- a/ui/component/publishFile/view.jsx +++ b/ui/component/publishFile/view.jsx @@ -371,7 +371,7 @@ function PublishFile(props: Props) { )} {isPublishPost && ( , @@ -339,7 +344,7 @@ function PublishForm(props: Props) {