@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,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: '일일 지출률',
21
+ labelBurnRateMonthly: '월간 지출률',
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: '한 달 또는 일 년 지출액을 입력하세요.',
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://ko.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
+ };
@@ -0,0 +1,123 @@
1
+ import type { FinancialFreedomUI } from '../ui';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+
4
+ export const ui: FinancialFreedomUI = {
5
+ labelSavings: 'Totale Spaargelden',
6
+ labelExpenses: 'Huidige Uitgaven',
7
+ labelMonthly: 'Maandelijks',
8
+ labelYearly: 'Jaarlijks',
9
+ labelTimeRemaining: 'Jouw Financiële Runway',
10
+ labelYears: 'Jaar',
11
+ labelMonths: 'Maanden',
12
+ labelDays: 'Dagen',
13
+ labelYearsShort: 'j',
14
+ labelMonthsShort: 'm',
15
+ labelDaysShort: 'd',
16
+ labelStatus: 'Finansiële Veiligheidsstatus',
17
+ labelRedZone: 'Rode Zone: Hoog Risico',
18
+ labelYellowZone: 'Gele Zone: Stabiel',
19
+ labelGreenZone: 'Groene Zone: Finansiële Vrijheid',
20
+ labelBurnRateDaily: 'Dagelijks Uitgavepatroon',
21
+ labelBurnRateMonthly: 'Maandelijks Uitgavepatroon',
22
+ labelWhatIf: 'De 10%-Regel',
23
+ labelWhatIfDescription: 'Door je uitgaven met slechts 10% te verlagen, kun je je runway aanzienlijk verlengen.',
24
+ labelGainTime: 'Extra Overlevingstijd',
25
+ labelCopyResult: 'Samenvatting Kopiëren',
26
+ labelCopied: 'Gekopieerd!',
27
+ };
28
+
29
+ const slug = 'financiele-vrijheid-calculator-overlevingstijd';
30
+ const title = 'Financiële Vrijheid & Survival Runway Calculator';
31
+ const description = 'Bereken precies hoe lang je spaargeld meegaat. Onze runway-tool helpt je bij het plannen van je financiële onafhankelijkheid.';
32
+
33
+ const faq = [
34
+ {
35
+ question: 'Wat is een goede runway?',
36
+ answer: 'Experts raden minimaal 3 tot 6 maanden aan. Voor echte vrijheid mik je op 2 jaar of meer.',
37
+ },
38
+ {
39
+ question: 'Houdt deze calculator rekening met inflatie?',
40
+ answer: 'Deze tool is ontworpen voor de directe berekening van liquide middelen tegenover huidige uitgaven.',
41
+ },
42
+ {
43
+ question: 'Wat is "Burn Rate" in persoonlijke financiën?',
44
+ answer: 'Burn rate is de snelheid waarmee je je spaargeld verbruikt om je levensonderhoud te deken.',
45
+ },
46
+ ];
47
+
48
+ const howTo = [
49
+ {
50
+ name: 'Voer je totale spaargeld in',
51
+ text: 'Voer het totaalbedrag aan liquide middelen in.',
52
+ },
53
+ {
54
+ name: 'Stel je uitgaven in',
55
+ text: 'Geef aan hoeveel je per maand of jaar uitgeeft.',
56
+ },
57
+ {
58
+ name: 'Analyseer je veiligheidszone',
59
+ text: 'Controleer of je in de rode, gele of groene zone zit.',
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: 'Wat is een Financiële Runway?',
72
+ level: 2,
73
+ },
74
+ {
75
+ type: 'paragraph',
76
+ html: 'De <strong>survival runway</strong> is de hoeveelheid tijd die je kunt leven zonder nieuw inkomen. Het is de ultieme maatstaf voor financiële vrijheid.',
77
+ },
78
+ ],
79
+ faq,
80
+ bibliography: [
81
+ {
82
+ name: 'Principes van de FIRE-beweging',
83
+ url: 'https://nl.wikipedia.org/wiki/FIRE-beweging',
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: 'Całkowite Oszczędności',
6
+ labelExpenses: 'Aktualne Wydatki',
7
+ labelMonthly: 'Miesięcznie',
8
+ labelYearly: 'Rocznie',
9
+ labelTimeRemaining: 'Twoja Droga do Przetrwania',
10
+ labelYears: 'Lat',
11
+ labelMonths: 'Miesięcy',
12
+ labelDays: 'Dni',
13
+ labelYearsShort: 'l',
14
+ labelMonthsShort: 'm',
15
+ labelDaysShort: 'd',
16
+ labelStatus: 'Status Bezpieczeństwa Finansowego',
17
+ labelRedZone: 'Strefa Czerwona: Wysokie Ryzyko',
18
+ labelYellowZone: 'Strefa Żółta: Stabilnie',
19
+ labelGreenZone: 'Strefa Zielona: Wolność Finansowa',
20
+ labelBurnRateDaily: 'Dzienne Tempo Wydatków',
21
+ labelBurnRateMonthly: 'Miesięczne Tempo Wydatków',
22
+ labelWhatIf: 'Reguła 10%',
23
+ labelWhatIfDescription: 'Zmniejszając wydatki o zaledwie 10%, możesz znacznie wydłużyć swój czas przetrwania.',
24
+ labelGainTime: 'Dodatkowy Czas Przetrwania',
25
+ labelCopyResult: 'Kopiuj Podsumowanie',
26
+ labelCopied: 'Skopiowano!',
27
+ };
28
+
29
+ const slug = 'kalkulator-wolnosci-finansowej-czas-przetrwania';
30
+ const title = 'Kalkulator Wolności Finansowej i Czasu Przetrwania';
31
+ const description = 'Oblicz dokładnie, na jak długo starczą Twoje oszczędności. Nasze narzędzie pomaga zwizualizować niezależność finansową.';
32
+
33
+ const faq = [
34
+ {
35
+ question: 'Jaki czas przetrwania jest dobry?',
36
+ answer: 'Eksperci zalecają minimum 3 do 6 miesięcy. Dla prawdziwej wolności celuj w 2 lata lub więcej.',
37
+ },
38
+ {
39
+ question: 'Czy ten kalkulator uwzględnia inflację?',
40
+ answer: 'To narzędzie jest przeznaczone do natychmiastowego obliczania aktywów płynnych w stosunku do bieżących wydatków.',
41
+ },
42
+ {
43
+ question: 'Co to jest "Burn Rate" w finansach osobistych?',
44
+ answer: 'Burn rate to tempo, w jakim zużywasz swoje oszczędności na pokrycie kosztów życia.',
45
+ },
46
+ ];
47
+
48
+ const howTo = [
49
+ {
50
+ name: 'Wprowadź swoje oszczędności',
51
+ text: 'Wpisz całkowitą kwotę dostępnej gotówki lub aktywów płynnych.',
52
+ },
53
+ {
54
+ name: 'Ustal wydatki',
55
+ text: 'Wprowadź, ile wydajesz miesięcznie lub rocznie.',
56
+ },
57
+ {
58
+ name: 'Analizuj strefę bezpieczeństwa',
59
+ text: 'Sprawdź, czy jesteś w strefie Czerwonej, Żółtej czy Zielonej.',
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: 'Czym jest finansowy czas przetrwania?',
72
+ level: 2,
73
+ },
74
+ {
75
+ type: 'paragraph',
76
+ html: '<strong>Czas przetrwania</strong> (runway) to okres, w którym możesz żyć bez nowych dochodów. To ostateczna miara wolności finansowej.',
77
+ },
78
+ ],
79
+ faq,
80
+ bibliography: [
81
+ {
82
+ name: 'Zasady ruchu FIRE',
83
+ url: 'https://pl.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: 'Poupanças Totais',
6
+ labelExpenses: 'Gastos Atuais',
7
+ labelMonthly: 'Mensais',
8
+ labelYearly: 'Anuais',
9
+ labelTimeRemaining: 'Tua Pista de Sobrevivência',
10
+ labelYears: 'Anos',
11
+ labelMonths: 'Meses',
12
+ labelDays: 'Dias',
13
+ labelYearsShort: 'a',
14
+ labelMonthsShort: 'm',
15
+ labelDaysShort: 'd',
16
+ labelStatus: 'Estado de Segurança Financeira',
17
+ labelRedZone: 'Zona Vermelha: Alto Risco',
18
+ labelYellowZone: 'Zona Amarela: Estável',
19
+ labelGreenZone: 'Zona Verde: Liberdade Financeira',
20
+ labelBurnRateDaily: 'Taxa de Gasto Diário',
21
+ labelBurnRateMonthly: 'Taxa de Gasto Mensal',
22
+ labelWhatIf: 'A Regra dos 10%',
23
+ labelWhatIfDescription: 'Ao reduzir os teus gastos em apenas 10%, poderias estender a tua pista significativamente.',
24
+ labelGainTime: 'Tempo Extra Ganho',
25
+ labelCopyResult: 'Copiar Resumo',
26
+ labelCopied: 'Copiado!',
27
+ };
28
+
29
+ const slug = 'calculadora-liberdade-financeira-pista-sobrevivencia';
30
+ const title = 'Calculadora de Liberdade Financeira e Pista de Sobrevivência';
31
+ const description = 'Calcula exatamente quanto tempo as tuas poupanças vão durar. A nossa ferramenta de pista ajuda-te a visualizar a tua independência.';
32
+
33
+ const faq = [
34
+ {
35
+ question: 'O que é uma boa pista?',
36
+ answer: 'Especialistas recomendam de 3 a 6 meses. Para liberdade real, foca em 2 anos ou mais.',
37
+ },
38
+ {
39
+ question: 'Esta calculadora inclui a inflação?',
40
+ answer: 'Esta ferramenta foi concebida para o cálculo imediato de ativos líquidos face aos gastos atuais.',
41
+ },
42
+ {
43
+ question: 'O que é o "Burn Rate" em finanças pessoais?',
44
+ answer: 'O burn rate é o ritmo a que consomes as tuas poupanças para cobrir os teus gastos.',
45
+ },
46
+ ];
47
+
48
+ const howTo = [
49
+ {
50
+ name: 'Insere as tuas poupanças',
51
+ text: 'Insere o total de dinheiro líquido disponível.',
52
+ },
53
+ {
54
+ name: 'Define os teus gastos',
55
+ text: 'Indica quanto gastas por mês ou por ano.',
56
+ },
57
+ {
58
+ name: 'Analisa a tua zona de segurança',
59
+ text: 'Verifica se estás na zona Vermelha, Amarela ou 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: 'O que é a Pista de Sobrevivência Financeira?',
72
+ level: 2,
73
+ },
74
+ {
75
+ type: 'paragraph',
76
+ html: 'A <strong>pista de sobrevivência</strong> (runway) é o tempo que podes viver sem novos rendimentos. É a métrica definitiva da liberdade financeira.',
77
+ },
78
+ ],
79
+ faq,
80
+ bibliography: [
81
+ {
82
+ name: 'Princípios do Movimento FIRE',
83
+ url: 'https://pt.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: 'Ежедневные Траты',
21
+ labelBurnRateMonthly: 'Ежемесячные Траты',
22
+ labelWhatIf: 'Правило 10%',
23
+ labelWhatIfDescription: 'Сократив расходы всего на 10%, вы сможете значительно продлить свой запас выживания.',
24
+ labelGainTime: 'Дополнительное Время',
25
+ labelCopyResult: 'Копировать Сводку',
26
+ labelCopied: 'Скопировано!',
27
+ };
28
+
29
+ const slug = 'kalkulyator-finansovoj-svobody-zapas-vyzhivaniya';
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: 'Что такое "Burn Rate" в личных финансах?',
44
+ answer: 'Burn rate (скорость сжигания) — это темп, с которым вы тратите свои сбережения на покрытие расходов.',
45
+ },
46
+ ];
47
+
48
+ const howTo = [
49
+ {
50
+ name: 'Введите общие сбережения',
51
+ text: 'Введите общую сумму наличных или ликвидных активов.',
52
+ },
53
+ {
54
+ name: 'Установите расходы',
55
+ text: 'Укажите, сколько вы тратите в месяц или год.',
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> (runway) — это время, которое вы можете прожить без новых доходов. Это главный показатель финансовой свободы.',
77
+ },
78
+ ],
79
+ faq,
80
+ bibliography: [
81
+ {
82
+ name: 'Принципы движения FIRE',
83
+ url: 'https://ru.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
+ };