Commit graph

8508 commits

Author SHA1 Message Date
Sean Yesmunt
dc6267f757 update changelog 2020-10-19 23:37:39 -04:00
Sean Yesmunt
a0320f8cef remove comment 2020-10-19 23:37:39 -04:00
Sean Yesmunt
a045ddf23e bump lbry-redux + pin icon tweaks 2020-10-19 23:37:39 -04:00
Sean Yesmunt
106f5a0ac2 initial comment pin PR with new commit 2020-10-19 23:37:39 -04:00
jessop
2f84d94c66 related add full width 2020-10-19 22:59:24 -04:00
Sean Yesmunt
264a85d837 Revert "comment pin action"
This reverts commit 636ab7427d.
2020-10-19 15:01:09 -04:00
Sean Yesmunt
4287003509 Revert "bump"
This reverts commit 0249e620fd.
2020-10-19 15:01:09 -04:00
jessop
0249e620fd bump 2020-10-19 14:48:01 -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
jessop
9fb13975b4 email resend requests limited to once per thirty seconds 2020-10-16 16:38:52 -04:00
Sean Yesmunt
2311fbdaae update changelog 2020-10-16 13:05:56 -04:00
Sean Yesmunt
8767d25cff v0.48.2 2020-10-16 12:16:14 -04:00
Sean Yesmunt
2b336ad385 v0.48.2-rc.4 2020-10-16 10:52:24 -04:00
Sean Yesmunt
3bb5c06f44 openItem => openPath 2020-10-16 10:49:01 -04:00
Sean Yesmunt
b3f1b7919c v0.48.2-rc.3 2020-10-16 10:29:30 -04:00
Sean Yesmunt
7ac27d7b37 bump electron-builder 2020-10-16 10:29:22 -04:00
Sean Yesmunt
65bb37a93a v0.48.2-rc.2 2020-10-16 00:07:55 -04:00
jessop
6284f86026 fix reward rates crash 2020-10-16 00:07:30 -04:00
Thomas Zarebczan
f5900795c4
Show own channels on blocked list 2020-10-15 19:10:58 -04:00
Sean Yesmunt
cc94c4e01e v0.48.2-rc.1 2020-10-15 19:07:05 -04:00
Sean Yesmunt
cfd4e8a05d rc fixes for electron 9 2020-10-15 19:06:47 -04:00
Thomas Zarebczan
ba786fa50e
Show unblock button on own blocked channels 2020-10-15 17:49:05 -04:00
Sean Yesmunt
bcb65cd9fa update changelog 2020-10-15 14:32:58 -04:00
Sean Yesmunt
c5a2126abe disable snapshot thumbnail on desktop to prevent desktop crashes
https://github.com/electron/electron/issues/20750\#issuecomment-709505902
2020-10-15 14:32:58 -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
44bcc943a0 add new sort icons for new/best/controversial 2020-10-14 16:51:48 -04:00
Sean Yesmunt
75d21d41b8 v0.48.1 2020-10-14 13:13:41 -04:00
Sean Yesmunt
f9c4348fd8 v0.48.1-rc.5 2020-10-14 11:35:35 -04:00
Sean Yesmunt
77aa580690 add spacing for ul/ol next to p elements 2020-10-14 11:33:39 -04:00
Sean Yesmunt
cd5cf5941a v0.48.1-rc.4 2020-10-14 11:12:04 -04:00
Sean Yesmunt
172e918de5 pass to 2020-10-13 15:31:07 -04:00
jessop
9268fa45e7 robots.txt defaults to disallow 2020-10-12 23:33:29 -04:00
Sean Yesmunt
4b98cf45f3 prevent clicking through help links 2020-10-12 23:21:23 -04:00
Sean Yesmunt
88c86ff447 add help link 2020-10-12 23:21:23 -04:00
Sean Yesmunt
4815aa9ff1 add reward rate + analytics link on channels page 2020-10-12 23:21:23 -04:00
Sean Yesmunt
65c39cbbc8 fix mobile comments on ios devices 2020-10-12 15:21:03 -04:00
Sean Yesmunt
c1eb7d9621 v0.48.1-rc.3 2020-10-12 15:02:17 -04:00
Sean Yesmunt
efb03d016b bump sdk to 0.83.0 2020-10-12 15:01:24 -04:00
jessop
a5a1f72555 openItem is now openPath 2020-10-12 09:50:56 -04:00
Sean Yesmunt
03f1fe3ee5 make youtube sync web only 2020-10-09 17:08:38 -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