From e0e33eb148f33d5d4e9df004c25b4ce9dbe8ae5e Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Fri, 21 Aug 2020 11:18:47 -0400 Subject: [PATCH] additional copy changes --- .env.defaults | 2 +- static/app-strings.json | 14 ++++++-------- ui/component/sideNavigation/view.jsx | 24 ++++++++++++++---------- ui/component/userEmailNew/view.jsx | 12 +++++------- ui/component/userEmailVerify/view.jsx | 19 ++++++++----------- ui/page/home/view.jsx | 26 ++++++++++---------------- ui/page/signInVerify/view.jsx | 2 +- ui/scss/init/_gui.scss | 5 +++++ 8 files changed, 50 insertions(+), 54 deletions(-) diff --git a/.env.defaults b/.env.defaults index ac65b6a58..4a59b0967 100644 --- a/.env.defaults +++ b/.env.defaults @@ -16,7 +16,7 @@ DOMAIN=lbry.tv URL=https://lbry.tv # UI SITE_TITLE=lbry.tv -SITE_NAME=LBRY +SITE_NAME=lbry.tv SITE_DESCRIPTION=Meet LBRY, an open, free, and community-controlled content wonderland. LOGO_TITLE=lbry.tv SIMPLE_SITE=false diff --git a/static/app-strings.json b/static/app-strings.json index aeddf3c47..61fed921c 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -506,7 +506,7 @@ "Create a new account or sign in.": "Create a new account or sign in.", "Terms of Service": "Terms of Service", "Learn More": "Learn More", - "Confirm Your Email": "Confirm Your Email", + "Confirm your account": "Confirm your account", "Start Over": "Start Over", "Your YouTube Channel": "Your YouTube Channel", "Your YouTube Channels": "Your YouTube Channels", @@ -575,7 +575,7 @@ "earned and bound in tips": "earned and bound in tips", "currently staked": "currently staked", "Sync balance and preferences across devices.": "Sync balance and preferences across devices.", - "By continuing, I agree to the %terms% and confirm I am over the age of 13.": "By continuing, I agree to the %terms% and confirm I am over the age of 13.", + "By creating an account, you agree to our %terms% and confirm you're over the age of 13.": "By creating an account, you agree to our %terms% and confirm you're over the age of 13.", "Advanced Editor": "Advanced Editor", "If you bid more than %amount% LBC, when someone navigates to %uri%, it will load your published content. However, you can get a longer version of this URL for any bid.": "If you bid more than %amount% LBC, when someone navigates to %uri%, it will load your published content. However, you can get a longer version of this URL for any bid.", "%nameOrTitle% has been published to lbry://%name%. Click here to view it.": "%nameOrTitle% has been published to lbry://%name%. Click here to view it.", @@ -590,8 +590,7 @@ "Sign In to LBRY": "Sign In to LBRY", "Check Your Email": "Check Your Email", "sign in": "sign in", - "An email was sent to %email%. Follow the link to %verify_text%.": "An email was sent to %email%. Follow the link to %verify_text%.", - "Resend Email": "Resend Email", + "Resend link": "Resend link", "Sync your balance and preferences across devices.": "Sync your balance and preferences across devices.", "Add Email": "Add Email", "New email sent.": "New email sent.", @@ -640,7 +639,7 @@ "Awesome! You just subscribed to your first channel.": "Awesome! You just subscribed to your first channel.", "Sign in": "Sign in", "with lbry.tv to receive notifications related to new content.": "with lbry.tv to receive notifications related to new content.", - "An email was sent to %email%. Follow the link to %verify_text%. After, this page will update automatically.": "An email was sent to %email%. Follow the link to %verify_text%. After, this page will update automatically.", + "We just sent an email to %email% with a link for you to %verify_text%.": "We just sent an email to %email% with a link for you to %verify_text%.", "Your email preferences": "Your email preferences", "allow you to receive notifications related to new content.": "allow you to receive notifications related to new content.", "files": "files", @@ -776,8 +775,7 @@ "Find Channels to Follow": "Find Channels to Follow", "Sign in with lbry.tv to receive notifications about new content.": "Sign in with lbry.tv to receive notifications about new content.", "Find new channels to follow": "Find new channels to follow", - "You aren't currently following any channels. %discover_channels_link%.": "You aren't currently following any channels. %discover_channels_link%.", - "LBRY Works Better If You Are Following Channels": "LBRY Works Better If You Are Following Channels", + "%SITE_NAME% is more fun if you're following channels": "%SITE_NAME% is more fun if you're following channels", "Saved zip archive to %outputPath%": "Saved zip archive to %outputPath%", "Share Usage and Diagnostic Data": "Share Usage and Diagnostic Data", "This is information like error logging, performance tracking, and usage statistics. It includes your IP address and basic system details, but no other identifying information (unless you sign in to lbry.tv)": "This is information like error logging, performance tracking, and usage statistics. It includes your IP address and basic system details, but no other identifying information (unless you sign in to lbry.tv)", @@ -849,7 +847,7 @@ "Rewards validation is optional.": "Rewards validation is optional.", "Continue Without Rewards": "Continue Without Rewards", "If you'd like to participate our %rewards_program% to earn credits, please complete one of the steps below to be validated. %Refresh% or %Skip%.": "If you'd like to participate our %rewards_program% to earn credits, please complete one of the steps below to be validated. %Refresh% or %Skip%.", - "verify your email": "verify your email", + "verify your account": "verify your account", "rename your existing wallet in the lbry/wallets directory": "rename your existing wallet in the lbry/wallets directory", "Your wallet data will remain intact. If you sign in with a different account, the wallets will be merged. To prevent this, you need to %rename_wallet_instructions%": "Your wallet data will remain intact. If you sign in with a different account, the wallets will be merged. To prevent this, you need to %rename_wallet_instructions%", "rename your existing wallet": "rename your existing wallet", diff --git a/ui/component/sideNavigation/view.jsx b/ui/component/sideNavigation/view.jsx index 2ba88b3c1..e4ca81e7c 100644 --- a/ui/component/sideNavigation/view.jsx +++ b/ui/component/sideNavigation/view.jsx @@ -13,6 +13,18 @@ import { IS_MAC } from 'component/app/view'; const ESCAPE_KEY_CODE = 27; const BACKSLASH_KEY_CODE = 220; +const HOME = { + label: 'Home', + navigate: `/`, + icon: ICONS.HOME, +}; + +const RECENT_FROM_FOLLOWING = { + label: 'Following', + navigate: `/$/${PAGES.CHANNELS_FOLLOWING}`, + icon: ICONS.SUBSCRIBE, +}; + type Props = { subscriptions: Array, email: ?string, @@ -50,16 +62,8 @@ function SideNavigation(props: Props) { extra?: Node, hideForUnauth?: boolean, }> = [ - { - label: 'Home', - navigate: `/`, - icon: ICONS.HOME, - }, - { - label: 'Following', - navigate: `/$/${PAGES.CHANNELS_FOLLOWING}`, - icon: ICONS.SUBSCRIBE, - }, + HOME, + RECENT_FROM_FOLLOWING, { label: 'Your Tags', navigate: `/$/${PAGES.TAGS_FOLLOWING}`, diff --git a/ui/component/userEmailNew/view.jsx b/ui/component/userEmailNew/view.jsx index 2854b4d9b..4776e103f 100644 --- a/ui/component/userEmailNew/view.jsx +++ b/ui/component/userEmailNew/view.jsx @@ -1,6 +1,6 @@ // @flow import * as PAGES from 'constants/pages'; -import { DOMAIN } from 'config'; +import { SITE_NAME } from 'config'; import React, { useState } from 'react'; import { FormField, Form } from 'component/common/form'; import Button from 'component/button'; @@ -89,7 +89,7 @@ function UserEmailNew(props: Props) { return (
-

+

- ), + terms: