Commit graph

515 commits

Author SHA1 Message Date
Sean Yesmunt 264a85d837 Revert "comment pin action"
This reverts commit 636ab7427d.
2020-10-19 15:01:09 -04:00
jessop 636ab7427d comment pin action
owners can pin and unpin comments

tweak pin icon styles

move commenting activeChannel from localStorage to redux
2020-10-19 14:48:01 -04:00
Sean Yesmunt 3bb5c06f44 openItem => openPath 2020-10-16 10:49:01 -04:00
infiinte-persistence e947307f86 Fix typo "Logging in in as ..." 2020-10-15 00:09:01 -04:00
infiinte-persistence 5b2cd12d2b Analytics string + rearrangement 2020-10-14 17:44:44 -04:00
infiinte-persistence 511a746871 Str-context-split: "To" and "From"
## Note from Russian translator
"To/From" in the 'automatic dark mode setting' cannot be re-used for the one in the 'Tip Modal'.

## Change
Wanted to split this into "general" and "time", but I'm guessing it won't satisfy all languages, so we'll just use the usage as the context since there's just 2 instances.
2020-10-14 17:44:44 -04:00
infiinte-persistence 80b4600f60 Str-context-split: "Follow"
## Issue
4192
2020-10-14 17:44:44 -04:00
infiinte-persistence d7a178d259 Str-context-split: "Post"
Splitting the context between "Markdown post" (noun) vs. "Post something" (verb)
2020-10-14 17:44:44 -04:00
infiinte-persistence 6dd40df93b Str-context-split: "Support"
Chinese, Spanish and other translators reported the difficulty in using "Support" as both a noun and verb in their language.
2020-10-14 17:44:44 -04:00
infiinte-persistence 567316cfbe Support for multiple string context + "About" as initial example.
## Issue
4796 - i18n: Allow support for string overloading (multiple contexts)

## Approach
- Minimal code and process change.
- Handle on a case-by-case basis when reported by translators.
- Split the affected key in the string json by appending the context.
- Translators need to be aware of the new format and not translate context itself. Code is added to detect bad translations and will revert to English.

Sample in json:
  "About --[About section in Help Page]--": "About",
  "About --[tab title in Channel Page]--":  "About",

Sample in client code:
  title={__('About --[About section in Help Page]--')}

- "--[ ]--" was chosen as it's unique enough (unlikely for real strings to use it) and hopefully not that distracting in the client code.
- In the key itself, spaces are allowed after the string (i.e. before '--[') for neatness. It will be trimmed by the system.

## First example
"About" is used in 3 places:
   - Channel Page
   - Help Page
   - Footer (in Odysee branch)

For Russian, the word "About" is "O" and is usually not used standalone, but requires something behind it. A translator said so, and seems to be the case in other sites as well.
   "O xxx"
   "O yyy"

## Other languages
For other languages that are not impacted, they can just clone the same translation for each of the split keys, just like in English.

## Possible enhancement in Transifex
I see that Transifex's API includes a `context` entry. It might be possible to move the context-metadata there during the upload, so translators will never see the "--[]--" messiness (it will be shown as "Context: xxx" in the Transifex GUI).

I'm not sure how to test the Transifex side, so I did not investigate further.
2020-10-14 17:44:44 -04:00
infiinte-persistence e8e6000b13 Translate the footer.
Most of the items in the footer don't need to be translated, but it was troublesome trying to make `sections[]` re-resolve the label on a language change, if we want to selectively translate certain labels only.

So, just translate everything for now. Translators can simply clone the English string if it doesn't need a translation.
2020-10-14 17:44:44 -04:00
Sean Yesmunt 8bb6643a41 switch back to 'slimed to death' 2020-10-09 11:38:50 -04:00
Sean Yesmunt 4b6058beff remove duplicate strings 2020-10-08 22:02:22 -04:00
Sean Yesmunt 7a9cfdfaa5 remove duplicate string 2020-10-08 22:01:03 -04:00
Thomas Zarebczan a0003340da
Strings update
f
2020-10-08 21:58:14 -04:00
Sean Yesmunt c1bd9ad6af update app-strings 2020-10-08 13:15:22 -04:00
Sean Yesmunt 39f08f878f update app-strings 2020-10-08 12:16:00 -04:00
infiinte-persistence 1100a07108 Comment v69 strings and misc. 2020-10-08 10:37:17 -04:00
Sean Yesmunt c43eff8587 comments v69 2020-10-07 17:11:22 -04:00
infiinte-persistence 3e70d5a398 String: restored consolidation; added 2 odysee strings in Publish Page 2020-10-07 16:25:03 -04:00
infiinte-persistence 4294e0109a String: fix variable-resolving problems 2020-10-07 16:25:03 -04:00
infiinte-persistence 54cdf2a7e6 Add comment sorting strings 2020-10-07 16:25:03 -04:00
infiinte-persistence bb56d92147 Remove old 'Subscription' strings 2020-10-07 16:25:03 -04:00
jessop e61f8551a3 upgrade electron
disable cors switch

electron version test

v8

wip

v9

bump

nativeImage

clean
2020-10-07 10:14:54 -04:00
Sean Yesmunt c1b5280446 move youtube badge to 'channel about' section 2020-10-06 16:30:03 -04:00
infiinte-persistence 329f6b3da6 Comment: Change 'shift+enter' to 'ctrl|cmd+enter' for quick submit.
ctrl+enter is generally used for this action, while shift+enter generally used to insert a <br>.
2020-10-06 02:02:11 -04:00
Sean Yesmunt 00b23cbee4 moar alignment 2020-10-05 14:28:19 -04:00
infiinte-persistence ae191afeec String corrections
- "The publisher has chosen to" -- Fix incomplete string, probably broken by linter.
- Fix hardcoded email in invite snackbar.
- Fix 'Upload Settings' to new lower-case style.
- Add few more missing ones.
- Consolidated "Claim xxx" strings together.
- Removed duplicate "Confirming..." due to branch merging.
2020-10-05 10:39:04 -04:00
Sean Yesmunt ec3a763f5d move button ref to top of component 2020-10-02 12:13:23 -04:00
jessop 3913c03163 shift enter to comment 2020-10-02 12:13:23 -04:00
infiinte-persistence 589903f5e8 PublishPreview: strings and changelog 2020-10-02 10:25:17 -04:00
infiinte-persistence 6850a8f264 Remove duplicate strings
... and sneak in some corrections.
2020-10-02 10:22:55 -04:00
jessop e954bce821 allow reaction list without channel
uncomment

reacts requireauth, commentReact handles missing channels

enable config, better track pending reacts
2020-10-01 15:23:15 -04:00
infiinte-persistence 5df4ed2783 String scrub from odysee/release merge
- More missing strings
- Moved strings around to keep related strings together (easier for translators to guess the context)
- Removed translation macro for blank string
- Fix typo for 'Neetwork'
2020-09-30 14:06:11 -04:00
Sean Yesmunt 0ee1ad69e9 fix lbry.tv typo 2020-09-30 10:32:01 -04:00
jessop ad88f7de7f disable while reacting, dont call api twice 2020-09-29 17:12:32 -04:00
jessop 63ce107cc1 comment reactions 2020-09-29 17:12:32 -04:00
Sean Yesmunt 29f524981f table alignment fixes 2020-09-29 17:12:32 -04:00
Sean Yesmunt 295fec0370 copy changes 2020-09-29 17:12:32 -04:00
Sean Yesmunt bc89d774ba add youtube sync to first run 2020-09-29 17:12:32 -04:00
Sean Yesmunt 83a6589cd0 new lbc icon 2020-09-29 17:12:32 -04:00
Sean Yesmunt 37f18abb26 copy 2020-09-29 17:12:32 -04:00
Sean Yesmunt 11c797fa0c Get x LBC => Claim x LBC 2020-09-29 17:12:32 -04:00
Sean Yesmunt 14355ed966 fix copy 2020-09-29 17:12:32 -04:00
Sean Yesmunt 6602f0505e copy 2020-09-29 17:12:32 -04:00
Sean Yesmunt 1f2fabe81b Use sentence case for all card titles 2020-09-29 17:12:32 -04:00
Sean Yesmunt 391cc76bd8 use consitent style for 'empty wallet' message on pages that require LBC 2020-09-29 17:12:32 -04:00
Sean Yesmunt 87247feb23 copy 2020-09-29 17:12:32 -04:00
Sean Yesmunt 88fac1b30b copy changes 2020-09-29 17:12:32 -04:00
Sean Yesmunt 2dee81b624 Sign In => Log in 2020-09-29 17:12:32 -04:00
infiinte-persistence 427f788cf8 String update 2020-09-29 12:09:16 -04:00
infiinte-persistence 4e6fdd890c Remove development strings
## Issue
- Prevent translators from translating useless strings.

## Notes
- While 'Mark all as read' is technically valid, I've removed it since Notifications are not enabled in Desktop. When it is enabled, then we should include all the notification-related strings (there are a bunch).
2020-09-29 12:09:16 -04:00
Sean Yesmunt 65f1339630 bump lbry-redux/inc + bring in fix from release branch 2020-09-21 14:11:25 -04:00
jessop df13f97588 sync error messaging 2020-09-21 14:11:25 -04:00
jessop 99955ba59c password fix 2 2020-09-21 14:11:25 -04:00
jessop 5f54469971 fix race condition 2020-09-21 14:11:25 -04:00
jessop 3b23f09bed fix sync clean wallet bug
remove previous changes,keep syncpref in wallet, change anon wallet pref key to local

sync choices wip

dont relocate syncenable setting

bump

no prefs on web unauth

bugfix redux bump

pull after sync change

bump
2020-09-21 14:11:25 -04:00
Sean Yesmunt 2ad7088553 Revert "bump lbry-redux/inc + bring in fix from release branch"
This reverts commit 70284e5dfd.
2020-09-21 13:07:09 -04:00
Sean Yesmunt 70284e5dfd bump lbry-redux/inc + bring in fix from release branch 2020-09-21 13:06:29 -04:00
kasramp 0d3d3f49e4 Add Persian language to upload menu language dropdown 2020-09-21 12:13:21 -04:00
infiinte-persistence 631b069f9a Missing translation in the Discover page. 2020-09-21 11:57:16 -04:00
infiinte-persistence 6f515ac5f4 String update 2020-09-15 12:55:12 -04:00
infiinte-persistence 92611af9c0 String: Updates to match changes in lbry-redux 2020-09-10 11:06:35 -04:00
infiinte-persistence 8e76fee162 String: Usual updates 2020-09-10 11:06:35 -04:00
infiinte-persistence dd73e4a164 Translator-found missing strings 2020-09-08 12:17:38 -04:00
infiinte-persistence d1db6fb3b3 Block Toast untranslated strings 2020-09-04 11:51:31 -04:00
infiinte-persistence 694c6b528c Remove unused string; re-organized one. 2020-09-04 11:51:31 -04:00
infiinte-persistence 7edd9f7c92 Fix partially untranslated text in the Upgrade Modal
## Issue
- "See the" was not encapsulated with the translation macro.
- Split-strings are not translatable for some languages.

## Change
Combine the entire sentence into a single string with variable.
2020-09-04 11:51:31 -04:00
Thomas Zarebczan 20f932f935 add comment stats to creator analytics
+ fix up other minor issues and added weekly change figure to recent content

app strings
2020-08-31 14:34:41 -04:00
infiinte-persistence de780a1fd8 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.
2020-08-27 13:58:44 -04:00
Sean Yesmunt 4035c18f8e Publishes => Uploads 2020-08-25 12:25:25 -04:00
jessop c78e1e2970 patch null blocked error 2020-08-25 09:53:22 -04:00
infiinte-persistence bd34a720a2 String update for 0.47.2 2020-08-25 09:50:42 -04:00
Sean Yesmunt e0e33eb148 additional copy changes 2020-08-21 11:47:41 -04:00
Sean Yesmunt 7e35de3760 Register => Sign Up 2020-08-21 11:47:41 -04:00
infiinte-persistence d276a0fa62 String update for 0.47.2 2020-08-21 00:17:54 -04:00
Sean Yesmunt 692862c769 collapsable sidebar initial commit 2020-08-11 17:04:14 -04:00
jessop 5f5203a211 put file properties such as type and duration over thumb 2020-08-05 14:59:04 -04:00
infiinte-persistence 443d7469de Regular string update 2020-08-03 09:43:43 -04:00
Julie Sigwart e1d1b572d1 typo fix 2020-08-03 09:43:27 -04:00
eatdostacos 43155c4b87 Add one new string 2020-07-29 18:01:25 -04:00
Sean Yesmunt d76ece04bc group similar settings in preparation of tabular settings page 2020-07-27 14:19:18 -04:00
jessop d9bf72a351 all settings constants come from redux
sync settings

backout nav cases and anon preference key

more robust backout header

put notificationSettings under backout bar

review changes
2020-07-27 11:53:14 -04:00
Sean Yesmunt 4b6c772adc copy changes 2020-07-27 10:48:05 -04:00
Sean Yesmunt 201417efcf Publish => Upload 2020-07-27 10:48:05 -04:00
infiinte-persistence 58adba306a Block mature content: Updates based on feedback. 2020-07-24 16:59:02 -04:00
infiinte-persistence 4c57cdd99f Block mature content when accessed directly from URL
## Issue:
Fixes 4549 `Mature content + navigating to URLs directly`
_If a user navigates to mature content directly, we currently show the page even if mature content setting is not enabled. With our recent mature content verification setting, we should hide the page until the user turns it on - we can prompt directly on the file page._

## Changes:
1. Show basic info of the claim like URL and Title, so that user knows which page is being blocked.
2. Initially, I had 2 "boxes" -- one for the title and another for the message. It felt a bit messy, so `FileTitle` was augmented to house everything in one box.
2020-07-24 16:59:02 -04:00
Sean Yesmunt 8960a4f5cb simplify wunderbar copy 2020-07-23 11:16:32 -04:00
infiinte-persistence 80cce34a85 Strings for 0.47.1 2020-07-23 09:33:53 -04:00
Sean Yesmunt ed1ee8ac98 better handle channel thumbnail upload and remove spee.ch text 2020-07-22 12:26:31 -04:00
infiinte-persistence 7bef092013 Add option to retry video stream on failure
## Issue
Closes 4475 Option to retry video stream on failure
2020-07-15 16:10:10 -04:00
infiinte-persistence 0c3a3ae47e Changed YT label from "last updated" to "last checked"
"updated" can be confusing if there is no new content.

PR 4523
2020-07-15 15:27:03 -04:00
infiinte-persistence cba2ccf1cb Show "YT Creator" label in File Page as well.
## Issue
Closes 3964 `Add Youtuber info to file page`

## Changes
(1) Refactor the YT-info query into `YoutubeBadge` component.
(2) For the File Page case, don't show "- last sync <date>" since the date has nothing to do with the file.

## Test
[x] YT Channel page
[x] YT Channel's claim page
[x] Non YT Channel page
[x] Non YT Channel's claim page
[x] No channel (anonymous) claim page
[x] Various RENDER_MODES
2020-07-15 15:27:03 -04:00
eatdostacos 90f49d959a Remove unneeded app string from button 2020-07-14 15:58:02 -04:00
eatdostacos 9b10b775cd Add a LBRY status card to help page with links to new FAQ page and status page 2020-07-14 15:58:02 -04:00
infiinte-persistence 2cba296db2 String update and fixes for 0.47.0-rcX 2020-07-13 09:51:04 -04:00
infiinte-persistence 86484eb13f TipModal: Move "Buy More" next to price selection.
Having the "Buy More LBC" at the bottom seems out of place, since the context of LBC/amount is in the middle of the modal.
2020-07-09 13:04:18 -04:00
infiinte-persistence 94337820f3 Restore lost strings from lbry-first merge. 2020-07-09 13:00:44 -04:00
Sean Yesmunt 81344b9826 make sure lbryfirst error makes it up to UI 2020-07-09 11:01:12 -04:00
infiinte-persistence 7feb123a45 Improve auto string addition to produce better diffs and ease merging.
## Issue
- The diff for new strings are polluted by the need to add a comma to the previous entry.
- Having to re-add the newline at the end of file before commiting is a repetitive pain.

## Caveats to this approach
- When manually adding strings, developers need to put it above the `--end--` entry. Hopefully it is obvious without having to put verbose comments like "^--- add new string before this line ---^"
- Translators will surely ask how to translate "--end--".
2020-07-08 15:01:05 -04:00
infiinte-persistence 3f8d447b2a Add 'Forgot Password' button when changing passwords in the Settings Page.
This will directly go into the Reset Password page. This scenario is only possible after already signed in.
2020-07-08 14:36:04 -04:00
infiinte-persistence 19a94d3039 Revert "Add password reset ... (4468)" to redo using redirect page method. 2020-07-08 14:36:04 -04:00
infiinte-persistence e5c4246e15 Add password reset link to settings page (4468) 2020-07-08 14:36:04 -04:00
Sean Yesmunt f9325a816e only start lbryFirst daemon for approved users 2020-07-08 14:23:43 -04:00
Thomas Zarebczan 4291c36c58 Initial commit for LBRY-First
fix killing daemon

bump lbry-first
2020-07-08 14:23:43 -04:00
jessopb 66d929a294
Merge pull request #4455 from lbryio/custom-metadata
build custom metadata from config
2020-07-07 12:35:23 -04:00
Suisse00 11c5e9a307 Normalize email place holder value
Use a more neutral exemple domain already in use
2020-07-07 09:31:08 -04:00
infiinte-persistence 6158455850 Add remaining "New Channel" strings 2020-07-07 09:29:27 -04:00
infiinte-persistence 505c9697df Remove development strings 2020-07-07 09:29:27 -04:00
infiinte-persistence 92be15ae04 ShareModal: Change "..." icon to "Links" 2020-07-07 09:29:05 -04:00
infiinte-persistence 12db7c519f Revert the Links Modal; we'll augment the Share Modal to include the download link.
This reverts commit cb47ed61375b4de32adacd89ce46d5da183150b5.
2020-07-07 09:29:05 -04:00
infiinte-persistence 3a2284a244 Add dialog to copy various types of links for a claim.
## Issue
Fixes 4293 `Better download link support`

- [x] make it so you can right click a download button > copy download URL
   Given that this could be useful in mobile/web as well, I used a button+modal instead of the right-click approach.

- [ ] in share dialog, show download URL to copy for non-video content
   This is already implemented, albeit hidden in the "More..." expansion.
2020-07-07 09:29:05 -04:00
jessop 96f6f66ace build custom metadata from config 2020-07-06 13:09:36 -04:00
Suisse00 406ca3b998 Un hardcoded price filter label options 2020-07-03 17:05:23 -04:00
jessopb 64d67026cc
Merge branch 'master' into feat-newChannelCreate 2020-07-03 10:53:16 -04:00
jessop 2315727385 tweaks 2020-07-03 10:32:48 -04:00
jessop 1f32d454db error handling, ux tweaks, apiLogPublish 2020-07-02 18:27:49 -04:00
jessop ffa248a353 limit tags, new channel link 2020-07-02 12:18:59 -04:00
eatdostacos dad10f1118 small correction to string 2020-07-02 10:34:11 -04:00
eatdostacos aede386c22 Add/Correct Strings 2020-07-02 10:34:11 -04:00
jessop 36f93343f6 new channel creating and editing 2020-07-01 22:01:48 -04:00
infiinte-persistence be7eaff6f1 Add modal to remove uri from Blocked list.
Issue 3800
2020-06-29 16:05:23 -04:00
eatdostacos d9a0e7c655 Add link to buy LBC when you don't have enough for paid content
I added the link and I updated the strings to accomodate updated content.
2020-06-29 09:47:26 -04:00
infiinte-persistence adb2a60d58 Skip translating blank string; Add new strings from Settings Page. 2020-06-29 09:46:42 -04:00
infiinte-persistence 39db18046f Pause 'Autoplay' when scrolled off screen.
Fixes #-4021.

## Changes:
When the autoplay overlay gets partially off-screen, the timer will be stopped. We can tweak how much down it needs to be scrolled.

When timer is paused, the countdown resets.

The pausing mechanism has no effect on the floating player (since the 'top' can never go negative). This behavior is the same as another big video platform.
2020-06-25 00:23:47 -04:00
infiinte-persistence d7b1cde274 Add claim-overwrite prevention.
---Fixes:
#-2882: "Fix UX around publishing to already published URL".

---Changes:
1. Improved the error message (change color to red; emphasized the URL; tweaked the sentences a bit).
2. The `Publish` button will be grayed out in this scenario, until user explicitly decides to edit existing claim instead.
2020-06-22 15:21:42 -04:00
jessop e3a5d71e34 channel update submitting state 2020-06-22 12:42:20 -04:00
jessop e065c81f88 support channel pending state 2020-06-22 11:27:03 -04:00
infiinte-persistence 8e85d77c71 Add 'revoke modal' strings 2020-06-22 10:27:55 -04:00
infiinte-persistence 391b5d2b50 Delete unused or duplicate strings. 2020-06-22 10:27:55 -04:00
infiinte-persistence 2f8af4e1fa Allow upgrade nag bar to be dismissed per session
#-4368:
"Users on third party builds may have to wait a few hours for the update and the bar is annoying."
2020-06-22 09:50:35 -04:00
Alex Grin 8440a31a28 typo 2020-06-22 09:35:39 -04:00
eatdostacos c1df38f41c Update app-strings (Rebased) 2020-06-22 09:30:09 -04:00
jessopb dbac4aca39
Revert "improve channel update" 2020-06-19 13:10:34 -04:00
jessop 1b185942e4 appstrings 2020-06-19 12:42:17 -04:00
jessop 99753f7717 improve channel edit 2020-06-19 12:41:45 -04:00
infiinte-persistence 644e76fd81 Tip-Modal: Add settings persistence and UX improvements.
--- Issues:
(1) #-4394 add persistence to new support modal.
(2) Should collapse the custom field when presets are selected.
Even though the Send button repeats the amount for Tip, it's still confusing to see both the Preset being active and Custom numeric field visible.
(3) Missing localization tags.
2020-06-18 22:01:49 -04:00
infiinte-persistence a20ea08ac7 Show "unmute" option on videos automatically muted by browser.
Implementation:
- The code is placed in <VideoJs> instead of <VideoViewer> as we need to control the video itself. It's more self-contained here, rather than trying to pass refs around between parent and child.
- useState cannot be used as it will cause a re-render when the hint it clicked and dismissed. The DOM is used to hide the button.
2020-06-16 17:14:22 -04:00
eatdostacos bcbb0685e4 Add new app strings from tip/support merge 2020-06-16 16:11:33 -04:00
infiinte-persistence 22f272d53e Accumulated string updates. 2020-06-15 10:51:26 -04:00
infiinte-persistence 140364cb67 Fix translation issues in the Publish modal dialog.
Two issues:
1. Values not marked with __()
2. Split sentence.

For #2, it seems like there are translations that don't make sense when combined, because the values are being translated independently from full sentence in Transifex. Decided to just make it full sentences.
2020-06-15 10:51:26 -04:00
eatdostacos 5458112fb6 Add string from recent commit 2020-06-09 09:39:24 -04:00
infiinte-persistence 0b7d8dea9a Strings from MoonPay, tipping, and more. 2020-06-09 09:27:21 -04:00
infiinte-persistence 2feb7dc41d Sync strings for 2 commits about data collection.
87e8957f: fix other data collection message...
179722b1: Update message about third party sharing
2020-06-09 09:27:21 -04:00
TigerxWood 8099088415 Made uniform display of text views
Too many forms of word "views" and "view" to translate, with caps and without. We need to choose the same in all places.
2020-06-09 09:26:41 -04:00
TigerxWood 374323713b Make strings from fileDetails translatable
Text  for files sizes can be translated as Mo (from Mega octet) so KB, MB, GB etc will be Ko, Mo, Go etc. in other languages.
2020-06-09 09:24:15 -04:00
Sean Yesmunt 1dcf16b0b4 fix download link on desktop 2020-06-08 16:26:49 -04:00
Sean Yesmunt a8c3ec54ae only delete origin header for sdk calls - leave everything else as is 2020-06-08 11:52:21 -04:00
jessop 9758286ad8 fix channel revoke confirmation 2020-06-08 09:42:58 -04:00
jessopb 6a59d2b2f9
Revert "fix channel revoke confirmation" 2020-06-08 07:50:09 -04:00