Fix relative-date translation #4172

Merged
infinite-persistence merged 3 commits from fix-relative-date-translation into master 2020-05-11 20:54:06 +02:00
infinite-persistence commented 2020-05-11 10:29:55 +02:00 (Migrated from github.com)

PR Checklist

Please check all that apply to this PR using "x":

  • I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
  • I have checked that this PR does not introduce a breaking change
  • This PR introduces breaking changes and I have provided a detailed explanation below

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting)
  • Refactoring (no functional changes)
  • Documentation changes
  • Other - Please describe:

Fixes

Issue Number: 4124

What is the current behavior?

The relative date of an item (e.g. "xxx hours ago") isn't shown consistently, language-wise.

What is the new behavior?

Fixes #4124. All relative dates (claims, comments) will now be consistently translated. However, they will remain as English until the translations updated all the new strings. See commit comments for more details.

Other information

There's no breakage, but today's code does now load an individual Channel's page. I've verified that it is not due to my changes.

## PR Checklist <!-- For the checkbox formatting to work properly, make sure there are no spaces on either side of the "x" --> Please check all that apply to this PR using "x": - [x] I have checked that this PR is not a duplicate of an existing PR (open, closed or merged) - [x] I have checked that this PR does not introduce a breaking change - [ ] This PR introduces breaking changes and I have provided a detailed explanation below ## PR Type What kind of change does this PR introduce? - [x] Bugfix - [ ] Feature - [ ] Code style update (formatting) - [ ] Refactoring (no functional changes) - [ ] Documentation changes - [ ] Other - Please describe: ## Fixes Issue Number: 4124 ## What is the current behavior? The relative date of an item (e.g. "xxx hours ago") isn't shown consistently, language-wise. ## What is the new behavior? Fixes #4124. All relative dates (claims, comments) will now be consistently translated. However, they will remain as English until the translations updated all the new strings. See commit comments for more details. ## Other information <!-- If this PR contains a breaking change, please describe the impact and solution strategy for existing applications below. --> There's no breakage, but today's code does now load an individual Channel's page. I've verified that it is not due to my changes.
tzarebczan commented 2020-05-11 15:16:47 +02:00 (Migrated from github.com)

Thanks for the PR! We'll get this reviewed soon.

Can we show you some appreciation for the contribution?

Also, please consider signing up for our dev mailing list at the bottom of lbry.tech!

Thanks for the PR! We'll get this reviewed soon. Can we show you some [appreciation](https://lbry.com/faq/appreciation) for the contribution? Also, please consider signing up for our dev mailing list at the bottom of lbry.tech!
neb-b (Migrated from github.com) requested changes 2020-05-11 15:52:39 +02:00
neb-b (Migrated from github.com) left a comment

Nice one! Can you add a changelog entry too? Then it's ready to merge.
https://github.com/lbryio/lbry-desktop/blob/master/CHANGELOG.md

Nice one! Can you add a changelog entry too? Then it's ready to merge. https://github.com/lbryio/lbry-desktop/blob/master/CHANGELOG.md
infinite-persistence commented 2020-05-11 16:30:44 +02:00 (Migrated from github.com)

Changelog updated.

Changelog updated.
neb-b commented 2020-05-12 16:05:08 +02:00 (Migrated from github.com)

Thanks for the PR again! Can we show you some appreciation?
https://lbry.com/faq/appreciation

Thanks for the PR again! Can we show you some appreciation? https://lbry.com/faq/appreciation
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-desktop#4172
No description provided.