mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-04 11:44:00 +00:00
4.20.23
* Added: Accent Color customization, in `Appearance > Theme`. * Added: Previews for custom date/time formats in `Appearance > Localization`. * Changed: Assume Twitch clip and video thumbnails are Safe-For-Work. * Fixed: Changelog dates not using i18n formatting. (Closes #873) * Fixed: Icon picker string not localizing properly. * Removed `Gray (no Purple)` legacy CSS. It's been breaking more and more over time, and it's not necessary at all with the new Accent Color setting.
This commit is contained in:
parent
6310a2ed49
commit
a5e2dd9ef2
10 changed files with 198 additions and 114 deletions
21
src/i18n.js
21
src/i18n.js
|
@ -180,8 +180,13 @@ export class TranslationManager extends Module {
|
|||
ui: {
|
||||
path: 'Appearance > Localization >> Formatting',
|
||||
title: 'Date Format',
|
||||
description: 'The default date format. Custom date formats are formated using the [Day.js](https://github.com/iamkun/dayjs#readme) library.',
|
||||
description: 'The default date format. Custom date formats are formated using the [Day.js](https://day.js.org/docs/en/display/format) library.',
|
||||
component: 'setting-combo-box',
|
||||
extra: {
|
||||
before: true,
|
||||
mode: 'date',
|
||||
component: 'format-preview'
|
||||
},
|
||||
data: () => {
|
||||
const out = [], now = new Date;
|
||||
for (const [key,fmt] of Object.entries(this._.formats.date)) {
|
||||
|
@ -205,8 +210,13 @@ export class TranslationManager extends Module {
|
|||
ui: {
|
||||
path: 'Appearance > Localization >> Formatting',
|
||||
title: 'Time Format',
|
||||
description: 'The default time format. Custom time formats are formated using the [Day.js](https://github.com/iamkun/dayjs#readme) library.',
|
||||
description: 'The default time format. Custom time formats are formated using the [Day.js](https://day.js.org/docs/en/display/format) library.',
|
||||
component: 'setting-combo-box',
|
||||
extra: {
|
||||
before: true,
|
||||
mode: 'time',
|
||||
component: 'format-preview'
|
||||
},
|
||||
data: () => {
|
||||
const out = [], now = new Date;
|
||||
for (const [key,fmt] of Object.entries(this._.formats.time)) {
|
||||
|
@ -230,8 +240,13 @@ export class TranslationManager extends Module {
|
|||
ui: {
|
||||
path: 'Appearance > Localization >> Formatting',
|
||||
title: 'Date-Time Format',
|
||||
description: 'The default combined date-time format. Custom time formats are formated using the [Day.js](https://github.com/iamkun/dayjs#readme) library.',
|
||||
description: 'The default combined date-time format. Custom time formats are formated using the [Day.js](https://day.js.org/docs/en/display/format) library.',
|
||||
component: 'setting-combo-box',
|
||||
extra: {
|
||||
before: true,
|
||||
mode: 'datetime',
|
||||
component: 'format-preview'
|
||||
},
|
||||
data: () => {
|
||||
const out = [], now = new Date;
|
||||
for (const [key,fmt] of Object.entries(this._.formats.datetime)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue