Fix unresolved "You sent ${amount} LBC" #329

Merged
infinite-persistence merged 1 commit from 4429-unresolved-string into master 2020-06-29 20:41:54 +02:00
infinite-persistence commented 2020-06-24 07:34:04 +02:00 (Migrated from github.com)

Fixes:

[lbry-desktop] 4429: Unresolved string: "You sent ${amount} LBC"

Changes:

Corrected error in commit c9492522.

## Fixes: [lbry-desktop] [4429](https://github.com/lbryio/lbry-desktop/issues/4429): `Unresolved string: "You sent ${amount} LBC"` ## Changes: Corrected error in commit c9492522.
TigerxWood commented 2020-06-28 23:32:09 +02:00 (Migrated from github.com)

Are you sure that is the problem? I just updated the strings in #323 for translation, but the strings are not yet in the file for translations. Because if the cause is of the problem is using ( ' ) instead of ( ` ) then many strings will have this problem. I will update soon the app-strings.jsx with all the missing strings from lbry-desktop and lbry-redux and I hope this problem will be solved.

Are you sure that is the problem? I just updated the strings in #323 for translation, but the strings are not yet in the file for translations. Because if the cause is of the problem is using ( ' ) instead of ( ` ) then many strings will have this problem. I will update soon the app-strings.jsx with all the missing strings from lbry-desktop and lbry-redux and I hope this problem will be solved.
infinite-persistence commented 2020-06-29 04:54:07 +02:00 (Migrated from github.com)

Yes. Totally different scenario.

@sean, FYI for the desktop side

Yes. Totally different scenario. - Read: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals - Backticks are not needed for `%xxx%` type of substitution because the `__( )` macro is doing the substitution instead. @sean, FYI for the desktop side
TigerxWood commented 2020-06-29 08:36:03 +02:00 (Migrated from github.com)

Yes, you are right. I introduced that (') by mistake when I changed it for localisation.

Yes, you are right. I introduced that (') by mistake when I changed it for localisation.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-redux#329
No description provided.