mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-07 06:40:54 +00:00
4.0.0-rc19.1
* Changed: Remember which sections of the settings menu a user has expanded and restore that state when re-opening the menu. * Changed: Begin tracking which settings a user has seen, so that a future update can begin highlighting newly added settings. * Changed: Clean up the new localization code a bit more.
This commit is contained in:
parent
35316b8827
commit
3e9e1b2ede
21 changed files with 242 additions and 38 deletions
|
@ -8,6 +8,7 @@ import dayjs from 'dayjs';
|
|||
import Parser from '@ffz/icu-msgparser';
|
||||
|
||||
import {get} from 'utilities/object';
|
||||
import {duration_to_string} from 'utilities/time';
|
||||
|
||||
|
||||
// ============================================================================
|
||||
|
@ -58,11 +59,11 @@ export const DEFAULT_TYPES = {
|
|||
return this.formatDateTime(val, node.f);
|
||||
},
|
||||
|
||||
duration(val, node) {
|
||||
|
||||
duration(val) {
|
||||
return duration_to_string(val);
|
||||
},
|
||||
|
||||
localestring(val, node) {
|
||||
localestring(val) {
|
||||
return this.toLocaleString(val);
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue