1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-09-17 02:16:54 +00:00
* Changed: The settings for Animated Emotes and chat user color correction now default to enabled or disabled based on your vanilla Twitch settings.
* Changed: Strip automatic error reporting from builds till it can be fixed.
* Fixed: Native viewer count and uptime not hiding correctly when a stream goes live.
* API Added: Settings can now depend on `localStorage` values by using `ls.{name}` keys for JSON or `ls.raw.{name}` for raw strings.
* Maintenance: Update dependencies.
This commit is contained in:
SirStendec 2021-06-18 14:27:14 -04:00
parent ce38c3c251
commit 2340992977
17 changed files with 2689 additions and 1438 deletions

View file

@ -1333,10 +1333,15 @@ export const AddonEmotes = {
if ( emote_set ) {
const type = emote_set.type;
if ( type === EmoteTypes.Global )
source = this.i18n.t('emote.global', 'Twitch Global');
if ( type === EmoteTypes.Global ) {
if ( emote_set.owner?.login ) {
source = this.i18n.t('tooltip.channel', 'Channel: {source}', {
source: emote_set.owner.displayName || emote_set.owner.login
});
} else
source = this.i18n.t('emote.global', 'Twitch Global');
else if ( type === EmoteTypes.BitsTier ) {
} else if ( type === EmoteTypes.BitsTier ) {
source = this.i18n.t('emote.bits', 'Twitch Bits Reward');
if ( emote_set.owner?.login )
source = this.i18n.t('emote.bits-owner', '{source}\nChannel: {channel}', {