@jjlmoya/utils-finance 1.16.0 → 1.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/package.json +1 -1
  2. package/src/category/index.ts +3 -1
  3. package/src/entries.ts +7 -1
  4. package/src/tests/locale_completeness.test.ts +1 -1
  5. package/src/tests/tool_validation.test.ts +2 -2
  6. package/src/tool/financialFreedom/bibliography.astro +14 -0
  7. package/src/tool/financialFreedom/bibliography.ts +12 -0
  8. package/src/tool/financialFreedom/component.astro +253 -0
  9. package/src/tool/financialFreedom/entry.ts +27 -0
  10. package/src/tool/financialFreedom/financial-freedom-calculator.css +346 -0
  11. package/src/tool/financialFreedom/i18n/de.ts +123 -0
  12. package/src/tool/financialFreedom/i18n/en.ts +182 -0
  13. package/src/tool/financialFreedom/i18n/es.ts +182 -0
  14. package/src/tool/financialFreedom/i18n/fr.ts +123 -0
  15. package/src/tool/financialFreedom/i18n/id.ts +123 -0
  16. package/src/tool/financialFreedom/i18n/it.ts +123 -0
  17. package/src/tool/financialFreedom/i18n/ja.ts +123 -0
  18. package/src/tool/financialFreedom/i18n/ko.ts +123 -0
  19. package/src/tool/financialFreedom/i18n/nl.ts +123 -0
  20. package/src/tool/financialFreedom/i18n/pl.ts +123 -0
  21. package/src/tool/financialFreedom/i18n/pt.ts +123 -0
  22. package/src/tool/financialFreedom/i18n/ru.ts +123 -0
  23. package/src/tool/financialFreedom/i18n/sv.ts +123 -0
  24. package/src/tool/financialFreedom/i18n/tr.ts +123 -0
  25. package/src/tool/financialFreedom/i18n/zh.ts +123 -0
  26. package/src/tool/financialFreedom/index.ts +10 -0
  27. package/src/tool/financialFreedom/logic.ts +68 -0
  28. package/src/tool/financialFreedom/seo.astro +13 -0
  29. package/src/tool/financialFreedom/ui.ts +26 -0
  30. package/src/tool/profitability/bibliography.astro +14 -0
  31. package/src/tool/profitability/bibliography.ts +12 -0
  32. package/src/tool/profitability/component.astro +249 -0
  33. package/src/tool/profitability/entry.ts +27 -0
  34. package/src/tool/profitability/i18n/de.ts +116 -0
  35. package/src/tool/profitability/i18n/en.ts +165 -0
  36. package/src/tool/profitability/i18n/es.ts +152 -0
  37. package/src/tool/profitability/i18n/fr.ts +112 -0
  38. package/src/tool/profitability/i18n/id.ts +112 -0
  39. package/src/tool/profitability/i18n/it.ts +112 -0
  40. package/src/tool/profitability/i18n/ja.ts +112 -0
  41. package/src/tool/profitability/i18n/ko.ts +112 -0
  42. package/src/tool/profitability/i18n/nl.ts +112 -0
  43. package/src/tool/profitability/i18n/pl.ts +112 -0
  44. package/src/tool/profitability/i18n/pt.ts +112 -0
  45. package/src/tool/profitability/i18n/ru.ts +112 -0
  46. package/src/tool/profitability/i18n/sv.ts +112 -0
  47. package/src/tool/profitability/i18n/tr.ts +112 -0
  48. package/src/tool/profitability/i18n/zh.ts +112 -0
  49. package/src/tool/profitability/index.ts +10 -0
  50. package/src/tool/profitability/logic.ts +43 -0
  51. package/src/tool/profitability/profitability-calculator.css +263 -0
  52. package/src/tool/profitability/seo.astro +15 -0
  53. package/src/tool/profitability/ui.ts +20 -0
  54. package/src/tools.ts +3 -1
@@ -0,0 +1,182 @@
1
+ import type { FinancialFreedomUI } from '../ui';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+
4
+ export const ui: FinancialFreedomUI = {
5
+ labelSavings: 'Ahorros Totales',
6
+ labelExpenses: 'Gastos Actuales',
7
+ labelMonthly: 'Mensuales',
8
+ labelYearly: 'Anuales',
9
+ labelTimeRemaining: 'Tu Autonomía Financiera',
10
+ labelYears: 'Años',
11
+ labelMonths: 'Meses',
12
+ labelDays: 'Días',
13
+ labelYearsShort: 'a',
14
+ labelMonthsShort: 'm',
15
+ labelDaysShort: 'd',
16
+ labelStatus: 'Estado de Seguridad Financiera',
17
+ labelRedZone: 'Zona Roja: Riesgo Alto',
18
+ labelYellowZone: 'Zona Amarilla: Estable',
19
+ labelGreenZone: 'Zona Verde: Libertad Financiera',
20
+ labelBurnRateDaily: 'Gasto Diario (Burn Rate)',
21
+ labelBurnRateMonthly: 'Gasto Mensual',
22
+ labelWhatIf: 'El Movimiento del 10%',
23
+ labelWhatIfDescription: 'Reduciendo tus gastos solo un 10%, podrías extender tu tiempo de supervivencia significativamente.',
24
+ labelGainTime: 'Tiempo Extra Ganado',
25
+ labelCopyResult: 'Copiar Resumen',
26
+ labelCopied: '¡Copiado!',
27
+ };
28
+
29
+ const slug = 'calculadora-libertad-financiera-autonomia';
30
+ const title = 'Calculadora de Libertad Financiera y Autonomía';
31
+ const description = 'Calcula cuánto tiempo durarán tus ahorros. Nuestra herramienta de autonomía financiera te ayuda a visualizar tu independencia financiera y planificar tu fondo de emergencia.';
32
+
33
+ const faq = [
34
+ {
35
+ question: '¿Qué es una buena autonomía financiera?',
36
+ answer: 'Los expertos recomiendan un mínimo de 3 a 6 meses de gastos en un fondo de emergencia. Sin embargo, para la libertad financiera real, una autonomía de 2 años o más se considera la "Zona de Libertad".',
37
+ },
38
+ {
39
+ question: '¿Incluye esta calculadora la inflación?',
40
+ answer: 'Esta herramienta está diseñada para el cálculo inmediato de activos líquidos contra gastos actuales. Para planes de jubilación a décadas vista, consulta una calculadora de interés compuesto.',
41
+ },
42
+ {
43
+ question: '¿Qué es el "Burn Rate" en finanzas personales?',
44
+ answer: 'El burn rate es el ritmo al que consumes tus ahorros para cubrir tus gastos. Conocer tu gasto diario te ayuda a interiorizar el coste de tu estilo de vida.',
45
+ },
46
+ ];
47
+
48
+ const howTo = [
49
+ {
50
+ name: 'Introduce tus ahorros líquidos',
51
+ text: 'Ingresa el total de efectivo o activos fácilmente accesibles que tienes disponibles.',
52
+ },
53
+ {
54
+ name: 'Configura tus gastos recurrentes',
55
+ text: 'Indica cuánto gastas al mes o al año para cubrir tu estilo de vida.',
56
+ },
57
+ {
58
+ name: 'Analiza tu zona de seguridad',
59
+ text: 'Comprueba si estás en la zona Roja, Amarilla o Verde y revisa tu gasto diario.',
60
+ },
61
+ ];
62
+
63
+ export const content: ToolLocaleContent<FinancialFreedomUI> = {
64
+ slug,
65
+ title,
66
+ description,
67
+ ui,
68
+ seo: [
69
+ {
70
+ type: 'title',
71
+ text: '¿Qué es la Autonomía Financiera?',
72
+ level: 2,
73
+ },
74
+ {
75
+ type: 'paragraph',
76
+ html: 'La <strong>autonomía financiera</strong> (o runway) es el tiempo que puedes vivir sin nuevos ingresos. Es la métrica definitiva de la libertad financiera. A diferencia de un saldo bancario, la autonomía te indica cuánto "tiempo humano" has comprado con tus ahorros. Conocer tu autonomía te permite tomar decisiones profesionales valientes o simplemente dormir mejor sabiendo que tienes una red de seguridad.',
77
+ },
78
+ {
79
+ type: 'title',
80
+ text: 'Cómo calcular tu tiempo de supervivencia',
81
+ level: 3,
82
+ },
83
+ {
84
+ type: 'paragraph',
85
+ html: 'Para hallar tu autonomía, dividimos tus ahorros líquidos totales entre tus gastos periódicos. Nuestra calculadora va más allá desglosando este tiempo en años, meses y días, dándote una sensación tangible de tu peso financiero. También calculamos tu <strong>Burn Rate</strong>: la cantidad exacta de dinero que sale de tu bolsillo cada día.',
86
+ },
87
+ {
88
+ type: 'comparative',
89
+ columns: 3,
90
+ items: [
91
+ {
92
+ title: 'Zona Roja',
93
+ description: '0-6 meses de autonomía.',
94
+ points: [
95
+ 'Fragilidad financiera alta',
96
+ 'Prioridad: ahorrar',
97
+ 'Evitar nuevas deudas',
98
+ 'Modo emergencia',
99
+ ],
100
+ },
101
+ {
102
+ title: 'Zona Amarilla',
103
+ description: '6-24 meses de autonomía.',
104
+ points: [
105
+ 'Tranquilidad mental',
106
+ 'Resiste imprevistos',
107
+ 'Planificar próximos pasos',
108
+ 'Red de seguridad estable',
109
+ ],
110
+ },
111
+ {
112
+ title: 'Zona Verde',
113
+ description: 'Más de 24 meses.',
114
+ highlight: true,
115
+ points: [
116
+ 'Libertad financiera',
117
+ 'Palanca total',
118
+ 'Negocia tu vida',
119
+ 'La zona de libertad',
120
+ ],
121
+ },
122
+ ],
123
+ },
124
+ {
125
+ type: 'title',
126
+ text: 'Extiende tu autonomía: La regla del 10%',
127
+ level: 3,
128
+ },
129
+ {
130
+ type: 'paragraph',
131
+ html: 'Pequeños cambios en el gasto tienen un impacto exponencial. Una reducción del 10% en tus gastos no solo ahorra ese dinero; reduce tu ritmo de gasto diario, haciendo que cada euro que ya tienes dure más tiempo. Este efecto de doble victoria es el secreto para alcanzar la independencia financiera años antes de lo previsto.',
132
+ },
133
+ ],
134
+ faq,
135
+ bibliography: [
136
+ {
137
+ name: 'Principios del Movimiento FIRE',
138
+ url: 'https://es.wikipedia.org/wiki/FIRE_(movimiento_financiero)',
139
+ },
140
+ {
141
+ name: 'Guía del Fondo de Emergencia',
142
+ url: 'https://www.investopedia.com/terms/e/emergency_fund.asp',
143
+ },
144
+ ],
145
+ howTo,
146
+ schemas: [
147
+ {
148
+ '@context': 'https://schema.org',
149
+ '@type': 'FinancialProduct',
150
+ name: title,
151
+ description,
152
+ },
153
+ {
154
+ '@context': 'https://schema.org',
155
+ '@type': 'FAQPage',
156
+ mainEntity: faq.map((f) => ({
157
+ '@type': 'Question',
158
+ name: f.question,
159
+ acceptedAnswer: { '@type': 'Answer', text: f.answer },
160
+ })),
161
+ },
162
+ {
163
+ '@context': 'https://schema.org',
164
+ '@type': 'HowTo',
165
+ name: title,
166
+ step: howTo.map((h, i) => ({
167
+ '@type': 'HowToStep',
168
+ position: i + 1,
169
+ name: h.name,
170
+ text: h.text,
171
+ })),
172
+ },
173
+ {
174
+ '@context': 'https://schema.org',
175
+ '@type': 'SoftwareApplication',
176
+ name: title,
177
+ applicationCategory: 'FinanceApplication',
178
+ operatingSystem: 'All',
179
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'USD' },
180
+ },
181
+ ],
182
+ };
@@ -0,0 +1,123 @@
1
+ import type { FinancialFreedomUI } from '../ui';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+
4
+ export const ui: FinancialFreedomUI = {
5
+ labelSavings: 'Épargne Totale',
6
+ labelExpenses: 'Dépenses Actuelles',
7
+ labelMonthly: 'Mensuelles',
8
+ labelYearly: 'Annuelles',
9
+ labelTimeRemaining: 'Votre Piste de Survie',
10
+ labelYears: 'Ans',
11
+ labelMonths: 'Mois',
12
+ labelDays: 'Jours',
13
+ labelYearsShort: 'a',
14
+ labelMonthsShort: 'm',
15
+ labelDaysShort: 'j',
16
+ labelStatus: 'État de Sécurité Financière',
17
+ labelRedZone: 'Zone Rouge : Risque Élevé',
18
+ labelYellowZone: 'Zone Jaune : Stable',
19
+ labelGreenZone: 'Zone Verte : Liberté Financière',
20
+ labelBurnRateDaily: 'Taux de Dépense Quotidien',
21
+ labelBurnRateMonthly: 'Taux de Dépense Mensuel',
22
+ labelWhatIf: 'Le Pouvoir des 10%',
23
+ labelWhatIfDescription: 'En réduisant vos dépenses de seulement 10%, vous pourriez prolonger votre survie de manière significative.',
24
+ labelGainTime: 'Temps de Survie Supplémentaire',
25
+ labelCopyResult: 'Copier le Résumé',
26
+ labelCopied: 'Copié !',
27
+ };
28
+
29
+ const slug = 'calculateur-liberte-financiere-piste-survie';
30
+ const title = 'Calculateur de Liberté Financière et Piste de Survie';
31
+ const description = 'Calculez exactement combien de temps durera votre épargne. Notre outil de piste de survie vous aide à visualiser votre indépendance financière.';
32
+
33
+ const faq = [
34
+ {
35
+ question: 'Qu\'est-ce qu\'une bonne piste de survie ?',
36
+ answer: 'Les experts recommandent généralement un minimum de 3 à 6 mois de dépenses. Pour une vraie liberté, visez 2 ans ou plus.',
37
+ },
38
+ {
39
+ question: 'Ce calculateur inclut-il l\'inflation ?',
40
+ answer: 'Cet outil est conçu pour le calcul immédiat des actifs liquides par rapport aux dépenses actuelles.',
41
+ },
42
+ {
43
+ question: 'Qu\'est-ce que le "Burn Rate" en finances personnelles ?',
44
+ answer: 'Le burn rate est le rythme auquel vous dépensez votre épargne pour couvrir vos frais de vie.',
45
+ },
46
+ ];
47
+
48
+ const howTo = [
49
+ {
50
+ name: 'Entrez votre épargne liquide',
51
+ text: 'Saisissez le total de vos liquidités disponibles.',
52
+ },
53
+ {
54
+ name: 'Définissez vos dépenses',
55
+ text: 'Indiquez combien vous dépensez par mois ou par an.',
56
+ },
57
+ {
58
+ name: 'Analysez votre zone de sécurité',
59
+ text: 'Vérifiez si vous êtes en zone Rouge, Jaune ou Verte.',
60
+ },
61
+ ];
62
+
63
+ export const content: ToolLocaleContent<FinancialFreedomUI> = {
64
+ slug,
65
+ title,
66
+ description,
67
+ ui,
68
+ seo: [
69
+ {
70
+ type: 'title',
71
+ text: 'Qu\'est-ce que la Piste de Survie Financière ?',
72
+ level: 2,
73
+ },
74
+ {
75
+ type: 'paragraph',
76
+ html: 'La <strong>piste de survie</strong> (ou runway) est la durée pendant laquelle vous pouvez vivre sans nouveau revenu. C\'est l\'indicateur ultime de la liberté financière. Contrairement à un simple solde bancaire, la piste vous indique combien de "temps humain" vous avez acheté avec votre épargne.',
77
+ },
78
+ ],
79
+ faq,
80
+ bibliography: [
81
+ {
82
+ name: 'Principes du Mouvement FIRE',
83
+ url: 'https://fr.wikipedia.org/wiki/FIRE_movement',
84
+ },
85
+ ],
86
+ howTo,
87
+ schemas: [
88
+ {
89
+ '@context': 'https://schema.org',
90
+ '@type': 'FinancialProduct',
91
+ name: title,
92
+ description,
93
+ },
94
+ {
95
+ '@context': 'https://schema.org',
96
+ '@type': 'FAQPage',
97
+ mainEntity: faq.map((f) => ({
98
+ '@type': 'Question',
99
+ name: f.question,
100
+ acceptedAnswer: { '@type': 'Answer', text: f.answer },
101
+ })),
102
+ },
103
+ {
104
+ '@context': 'https://schema.org',
105
+ '@type': 'HowTo',
106
+ name: title,
107
+ step: howTo.map((h, i) => ({
108
+ '@type': 'HowToStep',
109
+ position: i + 1,
110
+ name: h.name,
111
+ text: h.text,
112
+ })),
113
+ },
114
+ {
115
+ '@context': 'https://schema.org',
116
+ '@type': 'SoftwareApplication',
117
+ name: title,
118
+ applicationCategory: 'FinanceApplication',
119
+ operatingSystem: 'All',
120
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'USD' },
121
+ },
122
+ ],
123
+ };
@@ -0,0 +1,123 @@
1
+ import type { FinancialFreedomUI } from '../ui';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+
4
+ export const ui: FinancialFreedomUI = {
5
+ labelSavings: 'Total Tabungan',
6
+ labelExpenses: 'Pengeluaran Saat Ini',
7
+ labelMonthly: 'Bulanan',
8
+ labelYearly: 'Tahunan',
9
+ labelTimeRemaining: 'Runway Bertahan Hidup Anda',
10
+ labelYears: 'Tahun',
11
+ labelMonths: 'Bulan',
12
+ labelDays: 'Hari',
13
+ labelYearsShort: 'th',
14
+ labelMonthsShort: 'bl',
15
+ labelDaysShort: 'hr',
16
+ labelStatus: 'Status Keamanan Finansial',
17
+ labelRedZone: 'Zona Merah: Risiko Tinggi',
18
+ labelYellowZone: 'Zona Kuning: Stabil',
19
+ labelGreenZone: 'Zona Hijau: Kebebasan Finansial',
20
+ labelBurnRateDaily: 'Tingkat Pengeluaran Harian',
21
+ labelBurnRateMonthly: 'Tingkat Pengeluaran Bulanan',
22
+ labelWhatIf: 'Strategi 10%',
23
+ labelWhatIfDescription: 'Dengan mengurangi pengeluaran sebesar 10%, Anda dapat memperpanjang runway Anda secara signifikan.',
24
+ labelGainTime: 'Ekstra Waktu Bertahan',
25
+ labelCopyResult: 'Salin Ringkasan',
26
+ labelCopied: 'Disalin!',
27
+ };
28
+
29
+ const slug = 'kalkulator-kebebasan-finansial-runway-bertahan-hidup';
30
+ const title = 'Kalkulator Kebebasan Finansial & Survival Runway';
31
+ const description = 'Hitung tepat berapa lama tabungan Anda akan bertahan. Alat runway kami membantu Anda memvisualisasikan kemandirian finansial Anda.';
32
+
33
+ const faq = [
34
+ {
35
+ question: 'Berapa runway yang baik?',
36
+ answer: 'Pakar merekomendasikan minimal 3 hingga 6 bulan. Untuk kebebasan sejati, targetkan 2 tahun atau lebih.',
37
+ },
38
+ {
39
+ question: 'Apakah kalkulator ini termasuk inflasi?',
40
+ answer: 'Alat ini dirancang untuk perhitungan segera aset likuid terhadap pengeluaran saat ini.',
41
+ },
42
+ {
43
+ question: 'Apa itu "Burn Rate" dalam keuangan pribadi?',
44
+ answer: 'Burn rate adalah tingkat di mana Anda menghabiskan tabungan Anda untuk menutupi biaya hidup.',
45
+ },
46
+ ];
47
+
48
+ const howTo = [
49
+ {
50
+ name: 'Masukkan total tabungan',
51
+ text: 'Masukkan total uang tunai atau aset likuid yang Anda miliki.',
52
+ },
53
+ {
54
+ name: 'Atur pengeluaran rutin',
55
+ text: 'Masukkan berapa banyak yang Anda habiskan per bulan atau tahun.',
56
+ },
57
+ {
58
+ name: 'Analisis zona keamanan',
59
+ text: 'Periksa apakah Anda berada di zona Merah, Kuning, atau Hijau.',
60
+ },
61
+ ];
62
+
63
+ export const content: ToolLocaleContent<FinancialFreedomUI> = {
64
+ slug,
65
+ title,
66
+ description,
67
+ ui,
68
+ seo: [
69
+ {
70
+ type: 'title',
71
+ text: 'Apa itu Survival Runway Finansial?',
72
+ level: 2,
73
+ },
74
+ {
75
+ type: 'paragraph',
76
+ html: '<strong>Survival runway</strong> adalah jumlah waktu Anda dapat bertahan hidup tanpa pendapatan baru. Ini adalah metrik utama kebebasan finansial.',
77
+ },
78
+ ],
79
+ faq,
80
+ bibliography: [
81
+ {
82
+ name: 'Prinsip Gerakan FIRE',
83
+ url: 'https://id.wikipedia.org/wiki/FIRE_movement',
84
+ },
85
+ ],
86
+ howTo,
87
+ schemas: [
88
+ {
89
+ '@context': 'https://schema.org',
90
+ '@type': 'FinancialProduct',
91
+ name: title,
92
+ description,
93
+ },
94
+ {
95
+ '@context': 'https://schema.org',
96
+ '@type': 'FAQPage',
97
+ mainEntity: faq.map((f) => ({
98
+ '@type': 'Question',
99
+ name: f.question,
100
+ acceptedAnswer: { '@type': 'Answer', text: f.answer },
101
+ })),
102
+ },
103
+ {
104
+ '@context': 'https://schema.org',
105
+ '@type': 'HowTo',
106
+ name: title,
107
+ step: howTo.map((h, i) => ({
108
+ '@type': 'HowToStep',
109
+ position: i + 1,
110
+ name: h.name,
111
+ text: h.text,
112
+ })),
113
+ },
114
+ {
115
+ '@context': 'https://schema.org',
116
+ '@type': 'SoftwareApplication',
117
+ name: title,
118
+ applicationCategory: 'FinanceApplication',
119
+ operatingSystem: 'All',
120
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'USD' },
121
+ },
122
+ ],
123
+ };
@@ -0,0 +1,123 @@
1
+ import type { FinancialFreedomUI } from '../ui';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+
4
+ export const ui: FinancialFreedomUI = {
5
+ labelSavings: 'Risparmi Totali',
6
+ labelExpenses: 'Spese Attuali',
7
+ labelMonthly: 'Mensili',
8
+ labelYearly: 'Annuali',
9
+ labelTimeRemaining: 'Tua Autonomia Finanziaria',
10
+ labelYears: 'Anni',
11
+ labelMonths: 'Mesi',
12
+ labelDays: 'Giorni',
13
+ labelYearsShort: 'a',
14
+ labelMonthsShort: 'm',
15
+ labelDaysShort: 'g',
16
+ labelStatus: 'Stato di Sicurezza Finanziaria',
17
+ labelRedZone: 'Zona Rossa: Rischio Alto',
18
+ labelYellowZone: 'Zona Gialla: Stabile',
19
+ labelGreenZone: 'Zona Verde: Libertà Finanziaria',
20
+ labelBurnRateDaily: 'Tasso di Spesa Giornaliero',
21
+ labelBurnRateMonthly: 'Tasso di Spesa Mensile',
22
+ labelWhatIf: 'La Regola del 10%',
23
+ labelWhatIfDescription: 'Riducendo le tue spese del solo 10%, potresti estendere la tua autonomia in modo significativo.',
24
+ labelGainTime: 'Tempo Extra Guadagnato',
25
+ labelCopyResult: 'Copia Riepilogo',
26
+ labelCopied: 'Copiato!',
27
+ };
28
+
29
+ const slug = 'calcolatore-liberta-finanziaria-autonomia';
30
+ const title = 'Calcolatore Libertà Finanziaria e Autonomia';
31
+ const description = 'Calcola quanto dureranno i tuoi risparmi. Il nostro strumento di autonomia finanziaria ti aiuta a visualizzare la tua indipendenza.';
32
+
33
+ const faq = [
34
+ {
35
+ question: 'Qual è una buona autonomia?',
36
+ answer: 'Gli esperti consigliano da 3 a 6 mesi. Per la libertà reale, punta a 2 anni o più.',
37
+ },
38
+ {
39
+ question: 'Questo calcolatore include l\'inflazione?',
40
+ answer: 'Questo strumento è progettato per il calcolo immediato dei beni liquidi rispetto alle spese attuali.',
41
+ },
42
+ {
43
+ question: 'Cos\'è il "Burn Rate" nella finanza personale?',
44
+ answer: 'Il burn rate è il ritmo con cui spendi i tuoi risparmi per coprire le spese di vita.',
45
+ },
46
+ ];
47
+
48
+ const howTo = [
49
+ {
50
+ name: 'Inserisci i tuoi risparmi',
51
+ text: 'Inserisci il totale dei contanti o delle attività liquide.',
52
+ },
53
+ {
54
+ name: 'Definisci le tue spese',
55
+ text: 'Indica quanto spendi al mese o all\'anno.',
56
+ },
57
+ {
58
+ name: 'Analizza la tua zona di sicurezza',
59
+ text: 'Controlla se sei in zona Rossa, Gialla o Verde.',
60
+ },
61
+ ];
62
+
63
+ export const content: ToolLocaleContent<FinancialFreedomUI> = {
64
+ slug,
65
+ title,
66
+ description,
67
+ ui,
68
+ seo: [
69
+ {
70
+ type: 'title',
71
+ text: 'Cos\'è l\'autonomia finanziaria?',
72
+ level: 2,
73
+ },
74
+ {
75
+ type: 'paragraph',
76
+ html: 'L\'<strong>autonomia finanziaria</strong> (runway) è il tempo che puoi vivere senza nuove entrate. È la metrica definitiva della libertà finanziaria.',
77
+ },
78
+ ],
79
+ faq,
80
+ bibliography: [
81
+ {
82
+ name: 'Principi del Movimento FIRE',
83
+ url: 'https://it.wikipedia.org/wiki/FIRE_movement',
84
+ },
85
+ ],
86
+ howTo,
87
+ schemas: [
88
+ {
89
+ '@context': 'https://schema.org',
90
+ '@type': 'FinancialProduct',
91
+ name: title,
92
+ description,
93
+ },
94
+ {
95
+ '@context': 'https://schema.org',
96
+ '@type': 'FAQPage',
97
+ mainEntity: faq.map((f) => ({
98
+ '@type': 'Question',
99
+ name: f.question,
100
+ acceptedAnswer: { '@type': 'Answer', text: f.answer },
101
+ })),
102
+ },
103
+ {
104
+ '@context': 'https://schema.org',
105
+ '@type': 'HowTo',
106
+ name: title,
107
+ step: howTo.map((h, i) => ({
108
+ '@type': 'HowToStep',
109
+ position: i + 1,
110
+ name: h.name,
111
+ text: h.text,
112
+ })),
113
+ },
114
+ {
115
+ '@context': 'https://schema.org',
116
+ '@type': 'SoftwareApplication',
117
+ name: title,
118
+ applicationCategory: 'FinanceApplication',
119
+ operatingSystem: 'All',
120
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'USD' },
121
+ },
122
+ ],
123
+ };
@@ -0,0 +1,123 @@
1
+ import type { FinancialFreedomUI } from '../ui';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+
4
+ export const ui: FinancialFreedomUI = {
5
+ labelSavings: '総貯蓄額',
6
+ labelExpenses: '現在の支出',
7
+ labelMonthly: '月次',
8
+ labelYearly: '年次',
9
+ labelTimeRemaining: '生存可能期間(ランウェイ)',
10
+ labelYears: '年',
11
+ labelMonths: 'ヶ月',
12
+ labelDays: '日',
13
+ labelYearsShort: '年',
14
+ labelMonthsShort: '月',
15
+ labelDaysShort: '日',
16
+ labelStatus: '財務的安全ステータス',
17
+ labelRedZone: 'レッドゾーン:高リスク',
18
+ labelYellowZone: 'イエローゾーン:安定',
19
+ labelGreenZone: 'グリーンゾーン:財務的自由',
20
+ labelBurnRateDaily: '1日あたりの支出額',
21
+ labelBurnRateMonthly: '1ヶ月あたりの支出額',
22
+ labelWhatIf: '10%の節約効果',
23
+ labelWhatIfDescription: '支出をわずか10%削減するだけで、生存可能期間を大幅に延ばすことができます。',
24
+ labelGainTime: '延長される生存期間',
25
+ labelCopyResult: '概要をコピー',
26
+ labelCopied: 'コピーしました!',
27
+ };
28
+
29
+ const slug = 'financial-freedom-calculator';
30
+ const title = '財務的自由&生存期間(ランウェイ)計算機';
31
+ const description = '貯蓄がいつまで持つかを正確に計算します。このツールは、あなたの経済的自立を視覚化し、緊急資金の計画を支援します。';
32
+
33
+ const faq = [
34
+ {
35
+ question: '理想的な生存期間はどのくらいですか?',
36
+ answer: '専門家は一般的に、最低3〜6ヶ月分の支出を推奨しています。真の自由のためには、2年以上のランウェイを目指しましょう。',
37
+ },
38
+ {
39
+ question: 'この計算機はインフレを考慮していますか?',
40
+ answer: 'このツールは、現在の支出に対する流動資産の即時計算用に設計されています。',
41
+ },
42
+ {
43
+ question: '個人の財務における「バーンレート」とは何ですか?',
44
+ answer: 'バーンレートとは、生活費を賄うために貯蓄を消費する速度のことです。',
45
+ },
46
+ ];
47
+
48
+ const howTo = [
49
+ {
50
+ name: '総貯蓄額を入力',
51
+ text: '現在利用可能な現金または流動資産の合計を入力してください。',
52
+ },
53
+ {
54
+ name: '定期的な支出を設定',
55
+ text: '1ヶ月または1年あたりの支出額を入力してください。',
56
+ },
57
+ {
58
+ name: '安全ゾーンを分析',
59
+ text: 'レッド、イエロー、グリーンのどのゾーンにいるかを確認してください。',
60
+ },
61
+ ];
62
+
63
+ export const content: ToolLocaleContent<FinancialFreedomUI> = {
64
+ slug,
65
+ title,
66
+ description,
67
+ ui,
68
+ seo: [
69
+ {
70
+ type: 'title',
71
+ text: '財務的ランウェイとは?',
72
+ level: 2,
73
+ },
74
+ {
75
+ type: 'paragraph',
76
+ html: '<strong>生存期間(ランウェイ)</strong>とは、新たな収入がなくても生活できる期間のことです。これは財務的自由の究極の指標です。',
77
+ },
78
+ ],
79
+ faq,
80
+ bibliography: [
81
+ {
82
+ name: 'FIREムーブメントの原則',
83
+ url: 'https://ja.wikipedia.org/wiki/FIRE_ムーブメント',
84
+ },
85
+ ],
86
+ howTo,
87
+ schemas: [
88
+ {
89
+ '@context': 'https://schema.org',
90
+ '@type': 'FinancialProduct',
91
+ name: title,
92
+ description,
93
+ },
94
+ {
95
+ '@context': 'https://schema.org',
96
+ '@type': 'FAQPage',
97
+ mainEntity: faq.map((f) => ({
98
+ '@type': 'Question',
99
+ name: f.question,
100
+ acceptedAnswer: { '@type': 'Answer', text: f.answer },
101
+ })),
102
+ },
103
+ {
104
+ '@context': 'https://schema.org',
105
+ '@type': 'HowTo',
106
+ name: title,
107
+ step: howTo.map((h, i) => ({
108
+ '@type': 'HowToStep',
109
+ position: i + 1,
110
+ name: h.name,
111
+ text: h.text,
112
+ })),
113
+ },
114
+ {
115
+ '@context': 'https://schema.org',
116
+ '@type': 'SoftwareApplication',
117
+ name: title,
118
+ applicationCategory: 'FinanceApplication',
119
+ operatingSystem: 'All',
120
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'USD' },
121
+ },
122
+ ],
123
+ };