Remove strings with trailing spaces as it's not obvious in Transifex.

## Issue
Fixes 4665 `Translated strings with trailing spaces not shown correctly`

## Changes
While there are other strings with trailing spaces, "Trending for " was the only one that mattered. The rest are standalone paragragphs or used in a single line, so it doesn't matter if the translation included the space or not.
This commit is contained in:
infiinte-persistence 2020-08-27 14:36:55 +08:00 committed by Sean Yesmunt
parent 6377dc86e0
commit de780a1fd8
2 changed files with 4 additions and 5 deletions

View file

@ -369,7 +369,6 @@
"Share on Facebook": "Share on Facebook", "Share on Facebook": "Share on Facebook",
"Share On Twitter": "Share On Twitter", "Share On Twitter": "Share On Twitter",
"View on lbry.tv": "View on lbry.tv", "View on lbry.tv": "View on lbry.tv",
"Your Email - ": "Your Email - ",
"You will receive an SMS text message confirming that your phone number is correct. Does not work for Canada and possibly other regions": "You will receive an SMS text message confirming that your phone number is correct. Does not work for Canada and possibly other regions", "You will receive an SMS text message confirming that your phone number is correct. Does not work for Canada and possibly other regions": "You will receive an SMS text message confirming that your phone number is correct. Does not work for Canada and possibly other regions",
"Standard messaging rates apply. LBRY will not text or call you otherwise. Having trouble?": "Standard messaging rates apply. LBRY will not text or call you otherwise. Having trouble?", "Standard messaging rates apply. LBRY will not text or call you otherwise. Having trouble?": "Standard messaging rates apply. LBRY will not text or call you otherwise. Having trouble?",
"You currently have the highest bid for this name.": "You currently have the highest bid for this name.", "You currently have the highest bid for this name.": "You currently have the highest bid for this name.",
@ -539,7 +538,7 @@
"You are about to delete your saved password.": "You are about to delete your saved password.", "You are about to delete your saved password.": "You are about to delete your saved password.",
"Your wallet will still be encrypted, but you will have to remember and enter it manually on startup.": "Your wallet will still be encrypted, but you will have to remember and enter it manually on startup.", "Your wallet will still be encrypted, but you will have to remember and enter it manually on startup.": "Your wallet will still be encrypted, but you will have to remember and enter it manually on startup.",
"Your channel will be used for publishing and commenting.": "Your channel will be used for publishing and commenting.", "Your channel will be used for publishing and commenting.": "Your channel will be used for publishing and commenting.",
"You can have more than one or change it later.": "You can have more than one or change it later.", "You can have more than one or remove this later.": "You can have more than one or remove this later.",
"Your Channel": "Your Channel", "Your Channel": "Your Channel",
"channel": "channel", "channel": "channel",
"Create": "Create", "Create": "Create",
@ -1025,7 +1024,7 @@
"You have one blocked channel.": "You have one blocked channel.", "You have one blocked channel.": "You have one blocked channel.",
"You have %channels% blocked channels.": "You have %channels% blocked channels.", "You have %channels% blocked channels.": "You have %channels% blocked channels.",
"Drop here to publish!": "Drop here to publish!", "Drop here to publish!": "Drop here to publish!",
"Trending for ": "Trending for ", "Trending for %tagName%": "Trending for %tagName%",
"Recent From Following": "Recent From Following", "Recent From Following": "Recent From Following",
"Top Content from Today": "Top Content from Today", "Top Content from Today": "Top Content from Today",
"Top Channels On LBRY": "Top Channels On LBRY", "Top Channels On LBRY": "Top Channels On LBRY",
@ -1282,6 +1281,5 @@
"Not Now": "Not Now", "Not Now": "Not Now",
"Enter your phone number and we will send you a verification code. We will not share your phone number with third parties.": "Enter your phone number and we will send you a verification code. We will not share your phone number with third parties.", "Enter your phone number and we will send you a verification code. We will not share your phone number with third parties.": "Enter your phone number and we will send you a verification code. We will not share your phone number with third parties.",
"Number": "Number", "Number": "Number",
"You can have more than one or remove this later.": "You can have more than one or remove this later.",
"--end--": "--end--" "--end--": "--end--"
} }

View file

@ -128,8 +128,9 @@ export default function getHomePageRowData(
if (followedTags.length) { if (followedTags.length) {
followedTags.forEach((tag: Tag) => { followedTags.forEach((tag: Tag) => {
const tagName = `#${toCapitalCase(tag.name)}`;
individualTagDataItems.push({ individualTagDataItems.push({
title: __(`Trending for `) + `#${toCapitalCase(tag.name)}`, title: __('Trending for %tagName%', { tagName: tagName }),
link: `/$/${PAGES.DISCOVER}?t=${tag.name}`, link: `/$/${PAGES.DISCOVER}?t=${tag.name}`,
options: { options: {
pageSize: 4, pageSize: 4,