Skip translating blank string; Add new strings from Settings Page.

This commit is contained in:
infiinte-persistence 2020-06-24 19:22:52 +08:00 committed by Sean Yesmunt
parent b010325618
commit adb2a60d58
2 changed files with 12 additions and 3 deletions

View file

@ -1235,7 +1235,7 @@
"Channel to show support as": "Channel to show support as",
"Buy More LBC": "Buy More LBC",
"Support This Content": "Support This Content",
"Make this support permanent": "Make this support permanent",
"Make this a tip": "Make this a tip",
"Custom support amount": "Custom support amount",
"(%lbc_balance% available)": "(%lbc_balance% available)",
"Loading your channels...": "Loading your channels...",
@ -1247,5 +1247,14 @@
"Your changes will be live in a few minutes": "Your changes will be live in a few minutes",
"Submitting": "Submitting",
"Thumbnail Recommended ratio is 1:1": "Thumbnail Recommended ratio is 1:1",
"Cover Recommended ratio is 6.25:1": "Cover Recommended ratio is 6.25:1"
"Cover Recommended ratio is 6.25:1": "Cover Recommended ratio is 6.25:1",
"Old Password": "Old Password",
"New Password": "New Password",
"Set Password": "Set Password",
"App Notifications": "App Notifications",
"Notification settings for the desktop app.": "Notification settings for the desktop app.",
"Get notified when a publish or channel is confirmed.": "Get notified when a publish or channel is confirmed.",
"Email Preferences": "Email Preferences",
"Opt out of any topics you don't want to receive email about.": "Opt out of any topics you don't want to receive email about.",
"Uncheck your email below if you want to stop receiving messages.": "Uncheck your email below if you want to stop receiving messages."
}

View file

@ -40,7 +40,7 @@ export default function SettingAccountPassword(props: Props) {
return (
<Card
title={__('Account Password')}
subtitle={hasPassword ? __('') : __('You do not currently have a password set.')}
subtitle={hasPassword ? '' : __('You do not currently have a password set.')}
actions={
isAddingPassword ? (
<div>