add skewness and kurtosis to value metric in insights explorer

This commit is contained in:
MaysWind
2026-04-16 01:24:07 +08:00
parent 02d8b132f5
commit 7a821abbb6
30 changed files with 181 additions and 54 deletions
+2
View File
@@ -1824,6 +1824,8 @@
"Variance": "Varianz",
"Standard Deviation": "Standardabweichung",
"Coefficient of Variation": "Variationskoeffizient",
"Skewness": "Skewness",
"Kurtosis": "Kurtosis",
"Account List": "Kontoliste",
"This Week": "Diese Woche",
"This Month": "Dieser Monat",
+2
View File
@@ -1824,6 +1824,8 @@
"Variance": "Variance",
"Standard Deviation": "Standard Deviation",
"Coefficient of Variation": "Coefficient of Variation",
"Skewness": "Skewness",
"Kurtosis": "Kurtosis",
"Account List": "Account List",
"This Week": "This Week",
"This Month": "This Month",
+2
View File
@@ -1824,6 +1824,8 @@
"Variance": "Variance",
"Standard Deviation": "Standard Deviation",
"Coefficient of Variation": "Coefficient of Variation",
"Skewness": "Skewness",
"Kurtosis": "Kurtosis",
"Account List": "Lista de Cuentas",
"This Week": "Esta Semana",
"This Month": "Este Mes",
+2
View File
@@ -1824,6 +1824,8 @@
"Variance": "Variance",
"Standard Deviation": "Standard Deviation",
"Coefficient of Variation": "Coefficient of Variation",
"Skewness": "Skewness",
"Kurtosis": "Kurtosis",
"Account List": "Liste des comptes",
"This Week": "Cette semaine",
"This Month": "Ce mois",
+2 -2
View File
@@ -170,7 +170,7 @@ import {
import type { LocaleDefaultSettings } from '@/core/setting.ts';
import type { ErrorResponse } from '@/core/api.ts';
import { DISPLAY_HIDDEN_AMOUNT, INCOMPLETE_AMOUNT_SUFFIX } from '@/consts/numeral.ts';
import { AMOUNT_FACTOR, DISPLAY_HIDDEN_AMOUNT, INCOMPLETE_AMOUNT_SUFFIX } from '@/consts/numeral.ts';
import { UTC_TIMEZONE, ALL_TIMEZONES } from '@/consts/timezone.ts';
import { ALL_CURRENCIES } from '@/consts/currency.ts';
import { DEFAULT_EXPENSE_CATEGORIES, DEFAULT_INCOME_CATEGORIES, DEFAULT_TRANSFER_CATEGORIES } from '@/consts/category.ts';
@@ -2189,7 +2189,7 @@ export function useI18n() {
const currencyName = getCurrencyName(finalCurrencyCode);
if (isNumber(value)) {
const isPlural: boolean = value !== 100 && value !== -100;
const isPlural: boolean = value !== AMOUNT_FACTOR && value !== -AMOUNT_FACTOR;
const textualValue = formatAmount(value, numberFormatOptions);
if (!finalCurrencyCode) {
+2
View File
@@ -1824,6 +1824,8 @@
"Variance": "Variance",
"Standard Deviation": "Standard Deviation",
"Coefficient of Variation": "Coefficient of Variation",
"Skewness": "Skewness",
"Kurtosis": "Kurtosis",
"Account List": "Elenco account",
"This Week": "Questa settimana",
"This Month": "Questo mese",
+2
View File
@@ -1824,6 +1824,8 @@
"Variance": "Variance",
"Standard Deviation": "Standard Deviation",
"Coefficient of Variation": "Coefficient of Variation",
"Skewness": "Skewness",
"Kurtosis": "Kurtosis",
"Account List": "口座リスト",
"This Week": "今週",
"This Month": "今月",
+2
View File
@@ -1824,6 +1824,8 @@
"Variance": "Variance",
"Standard Deviation": "Standard Deviation",
"Coefficient of Variation": "Coefficient of Variation",
"Skewness": "Skewness",
"Kurtosis": "Kurtosis",
"Account List": "ಖಾತೆಗಳ ಪಟ್ಟಿ",
"This Week": "ಈ ವಾರ",
"This Month": "ಈ ತಿಂಗಳು",
+2
View File
@@ -1824,6 +1824,8 @@
"Variance": "Variance",
"Standard Deviation": "Standard Deviation",
"Coefficient of Variation": "Coefficient of Variation",
"Skewness": "Skewness",
"Kurtosis": "Kurtosis",
"Account List": "계좌 목록",
"This Week": "이번 주",
"This Month": "이번 달",
+2
View File
@@ -1824,6 +1824,8 @@
"Variance": "Variance",
"Standard Deviation": "Standard Deviation",
"Coefficient of Variation": "Coefficient of Variation",
"Skewness": "Skewness",
"Kurtosis": "Kurtosis",
"Account List": "Rekeningenlijst",
"This Week": "Deze week",
"This Month": "Deze maand",
+2
View File
@@ -1824,6 +1824,8 @@
"Variance": "Variância",
"Standard Deviation": "Desvio Padrão",
"Coefficient of Variation": "Coeficiente de Variação",
"Skewness": "Skewness",
"Kurtosis": "Kurtosis",
"Account List": "Lista de Contas",
"This Week": "Esta Semana",
"This Month": "Este Mês",
+2
View File
@@ -1824,6 +1824,8 @@
"Variance": "Variance",
"Standard Deviation": "Standard Deviation",
"Coefficient of Variation": "Coefficient of Variation",
"Skewness": "Skewness",
"Kurtosis": "Kurtosis",
"Account List": "Список счетов",
"This Week": "На этой неделе",
"This Month": "В этом месяце",
+2
View File
@@ -1824,6 +1824,8 @@
"Variance": "Variance",
"Standard Deviation": "Standard Deviation",
"Coefficient of Variation": "Coefficient of Variation",
"Skewness": "Skewness",
"Kurtosis": "Kurtosis",
"Account List": "Seznam računov",
"This Week": "Ta teden",
"This Month": "Ta mesec",
+2
View File
@@ -1824,6 +1824,8 @@
"Variance": "Variance",
"Standard Deviation": "Standard Deviation",
"Coefficient of Variation": "Coefficient of Variation",
"Skewness": "Skewness",
"Kurtosis": "Kurtosis",
"Account List": "கணக்குகளின் பட்டியல்",
"This Week": "இந்த வாரம்",
"This Month": "இந்த மாதம்",
+2
View File
@@ -1824,6 +1824,8 @@
"Variance": "Variance",
"Standard Deviation": "Standard Deviation",
"Coefficient of Variation": "Coefficient of Variation",
"Skewness": "Skewness",
"Kurtosis": "Kurtosis",
"Account List": "รายการบัญชี",
"This Week": "สัปดาห์นี้",
"This Month": "เดือนนี้",
+2
View File
@@ -1824,6 +1824,8 @@
"Variance": "Variance",
"Standard Deviation": "Standard Deviation",
"Coefficient of Variation": "Coefficient of Variation",
"Skewness": "Skewness",
"Kurtosis": "Kurtosis",
"Account List": "Hesap Listesi",
"This Week": "Bu Hafta",
"This Month": "Bu Ay",
+2
View File
@@ -1824,6 +1824,8 @@
"Variance": "Variance",
"Standard Deviation": "Standard Deviation",
"Coefficient of Variation": "Coefficient of Variation",
"Skewness": "Skewness",
"Kurtosis": "Kurtosis",
"Account List": "Список рахунків",
"This Week": "Цього тижня",
"This Month": "Цього місяця",
+2
View File
@@ -1824,6 +1824,8 @@
"Variance": "Variance",
"Standard Deviation": "Standard Deviation",
"Coefficient of Variation": "Coefficient of Variation",
"Skewness": "Skewness",
"Kurtosis": "Kurtosis",
"Account List": "Danh sách tài khoản",
"This Week": "Tuần này",
"This Month": "Tháng này",
+2
View File
@@ -1824,6 +1824,8 @@
"Variance": "方差",
"Standard Deviation": "标准差",
"Coefficient of Variation": "变异系数",
"Skewness": "偏度",
"Kurtosis": "峰度",
"Account List": "账户列表",
"This Week": "本周",
"This Month": "本月",
+2
View File
@@ -1824,6 +1824,8 @@
"Variance": "變異數",
"Standard Deviation": "標準差",
"Coefficient of Variation": "變異係數",
"Skewness": "偏度",
"Kurtosis": "峰度",
"Account List": "帳戶清單",
"This Week": "本週",
"This Month": "本月",