From c52ddb9e03a09f2319603233ce93becb21398545 Mon Sep 17 00:00:00 2001 From: infinite-persistence Date: Tue, 23 Feb 2021 10:45:55 +0800 Subject: [PATCH] i18n update: Creator Tools --- static/app-strings.json | 6 +++++- ui/component/commentMenuList/view.jsx | 8 +++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/static/app-strings.json b/static/app-strings.json index 6bd4e3beb..1bafb3b6a 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -890,6 +890,8 @@ "Change Inviter": "Change Inviter", "You haven't uploaded anything yet. This is where you can find them when you do!": "You haven't uploaded anything yet. This is where you can find them when you do!", "You haven't uploaded anything with this channel yet!": "You haven't uploaded anything with this channel yet!", + "You haven't uploaded anything": "You haven't uploaded anything", + "Upload something to start tracking your stats!": "Upload something to start tracking your stats!", "You haven't created a channel yet, let's fix that!": "You haven't created a channel yet, let's fix that!", "Upload Something": "Upload Something", "Amount cannot be zero": "Amount cannot be zero", @@ -1181,7 +1183,7 @@ "Try out the app!": "Try out the app!", "Download the app to track files you've viewed and downloaded.": "Download the app to track files you've viewed and downloaded.", "Create a New Channel": "Create a New Channel", - "Create a new channel": "Create a new channel", + "Create a new channel": "Create a new channel", "Thumbnail source": "Thumbnail source", "Cover source": "Cover source", "Your changes will be live in a few minutes": "Your changes will be live in a few minutes", @@ -1577,5 +1579,7 @@ "Yeah, well, that's just, like, your opinion, man.": "Yeah, well, that's just, like, your opinion, man.", "Moon cheese is an acquired taste": "Moon cheese is an acquired taste", "Level %current_level%": "Level %current_level%", + "Creator tools": "Creator tools", + "Interacting as %channelName%": "Interacting as %channelName%", "--end--": "--end--" } diff --git a/ui/component/commentMenuList/view.jsx b/ui/component/commentMenuList/view.jsx index e0729b843..be935ab61 100644 --- a/ui/component/commentMenuList/view.jsx +++ b/ui/component/commentMenuList/view.jsx @@ -16,8 +16,8 @@ type Props = { linkedComment?: any, isPinned: boolean, pinComment: (string, boolean) => Promise, - blockChannel: string => void, - fetchComments: string => void, + blockChannel: (string) => void, + fetchComments: (string) => void, handleEditComment: () => void, contentChannelPermanentUrl: any, activeChannelClaim: ?ChannelClaim, @@ -139,7 +139,9 @@ function CommentMenuList(props: Props) { {activeChannelClaim && (
-
Interacting as {activeChannelClaim.name}
+
+ {__('Interacting as %channelName%', { channelName: activeChannelClaim.name })} +
)}