Add EN/UK/PL translations across index, footer, and why-ours pages
- index.php: translate hardcoded hero kicker, stat, explore CTA, tools section title/sub, and learn-more arrow; add Pricing nav link - footer.php: fully translate tagline, privacy note, nav links, and disclaimer into all 4 languages via dbnToolsT() - includes/i18n.php: 15 new keys per language (hero_kicker, footer_*, tools_section_*, pricing_nav_link, why_ours_trust_link, learn_more) - translations/why-ours.php: complete uk + pl translations (70 keys each) - assets/css/tools.css: add .lt-nav__secondary-link style Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -200,6 +200,20 @@ function dbnToolsTranslations(): array
|
||||
'pricing_error_retry' => 'Error — try again',
|
||||
'pricing_error_checkout' => 'Could not start checkout.',
|
||||
'pricing_credits_label' => 'credits',
|
||||
'hero_kicker' => 'AI Legal Tools · Norway · Free for members',
|
||||
'stat_passages_indexed' => 'Legal passages indexed',
|
||||
'explore_tools' => 'Explore tools ↓',
|
||||
'tools_section_title' => 'Built for families navigating a complex system.',
|
||||
'tools_section_sub' => 'Seven purpose-built AI tools — from audio transcription to deep legal research. Every tool processes your documents in memory and discards them when you\'re done.',
|
||||
'learn_more' => 'Learn more →',
|
||||
'pricing_nav_link' => 'Pricing →',
|
||||
'why_ours_trust_link' => 'Why our tools give different answers than ChatGPT →',
|
||||
'footer_tagline' => 'AI legal tools for families navigating Norwegian child-welfare cases.',
|
||||
'footer_privacy_note' => 'Your documents are processed in memory and discarded when your session ends. Nothing is stored or retained.',
|
||||
'footer_legal_lib' => 'Legal library',
|
||||
'footer_report' => 'Report an issue',
|
||||
'footer_about_caveau' => 'About CaveauAI',
|
||||
'footer_disclaimer' => 'AI output is for advocacy support only — not legal advice. Always verify with a licensed Norwegian lawyer.',
|
||||
],
|
||||
'no' => [
|
||||
'meta_title' => 'Do Better Norge - juridiske AI-verktøy',
|
||||
@@ -333,6 +347,20 @@ function dbnToolsTranslations(): array
|
||||
'pricing_error_retry' => 'Feil — prøv igjen',
|
||||
'pricing_error_checkout' => 'Kunne ikke starte kassen.',
|
||||
'pricing_credits_label' => 'kreditter',
|
||||
'hero_kicker' => 'Juridiske AI-verktøy · Norge · Gratis for medlemmer',
|
||||
'stat_passages_indexed' => 'juridiske tekstutdrag indeksert',
|
||||
'explore_tools' => 'Utforsk verktøy ↓',
|
||||
'tools_section_title' => 'Laget for familier som navigerer i et komplekst system.',
|
||||
'tools_section_sub' => 'Syv spesialbygde AI-verktøy — fra lydtranskripsjon til dyp juridisk forskning. Hvert verktøy behandler dokumentene dine i minnet og sletter dem når du er ferdig.',
|
||||
'learn_more' => 'Les mer →',
|
||||
'pricing_nav_link' => 'Priser →',
|
||||
'why_ours_trust_link' => 'Hvorfor verktøyene våre gir andre svar enn ChatGPT →',
|
||||
'footer_tagline' => 'Juridiske AI-verktøy for familier i norske barnevernssaker.',
|
||||
'footer_privacy_note' => 'Dokumentene dine behandles i minnet og slettes når økten avsluttes. Ingenting lagres.',
|
||||
'footer_legal_lib' => 'Juridisk bibliotek',
|
||||
'footer_report' => 'Rapporter et problem',
|
||||
'footer_about_caveau' => 'Om CaveauAI',
|
||||
'footer_disclaimer' => 'KI-resultater er kun til støtte for saksforberedelse — ikke juridisk rådgivning. Bekreft alltid med en norsk advokat.',
|
||||
],
|
||||
'uk' => [
|
||||
'meta_title' => 'Do Better Norge - юридичні AI інструменти',
|
||||
@@ -466,6 +494,20 @@ function dbnToolsTranslations(): array
|
||||
'pricing_error_retry' => 'Помилка — спробуйте ще раз',
|
||||
'pricing_error_checkout' => 'Не вдалося розпочати оплату.',
|
||||
'pricing_credits_label' => 'кредитів',
|
||||
'hero_kicker' => 'Правові AI-інструменти · Норвегія · Безкоштовно для членів',
|
||||
'stat_passages_indexed' => 'правових уривків проіндексовано',
|
||||
'explore_tools' => 'Дослідити інструменти ↓',
|
||||
'tools_section_title' => 'Створено для сімей, що долають складну систему.',
|
||||
'tools_section_sub' => 'Сім спеціально розроблених AI-інструментів — від транскрипції аудіо до глибоких правових досліджень. Кожен інструмент обробляє ваші документи в пам\'яті та відкидає їх після завершення.',
|
||||
'learn_more' => 'Дізнатися більше →',
|
||||
'pricing_nav_link' => 'Ціни →',
|
||||
'why_ours_trust_link' => 'Чому наші інструменти дають інші відповіді, ніж ChatGPT →',
|
||||
'footer_tagline' => 'Правові AI-інструменти для сімей у норвезьких справах про захист дітей.',
|
||||
'footer_privacy_note' => 'Ваші документи обробляються в пам\'яті та видаляються після завершення сеансу. Нічого не зберігається.',
|
||||
'footer_legal_lib' => 'Правова бібліотека',
|
||||
'footer_report' => 'Повідомити про проблему',
|
||||
'footer_about_caveau' => 'Про CaveauAI',
|
||||
'footer_disclaimer' => 'Вихідні дані AI призначені лише для підтримки підготовки справи — не для юридичних порад. Завжди перевіряйте у ліцензованого норвезького юриста.',
|
||||
],
|
||||
'pl' => [
|
||||
'meta_title' => 'Do Better Norge - prawne narzędzia AI',
|
||||
@@ -599,6 +641,20 @@ function dbnToolsTranslations(): array
|
||||
'pricing_error_retry' => 'Błąd — spróbuj ponownie',
|
||||
'pricing_error_checkout' => 'Nie można uruchomić płatności.',
|
||||
'pricing_credits_label' => 'kredytów',
|
||||
'hero_kicker' => 'Prawne narzędzia AI · Norwegia · Bezpłatnie dla członków',
|
||||
'stat_passages_indexed' => 'przepisów prawnych zindeksowanych',
|
||||
'explore_tools' => 'Przeglądaj narzędzia ↓',
|
||||
'tools_section_title' => 'Stworzone dla rodzin poruszających się w skomplikowanym systemie.',
|
||||
'tools_section_sub' => 'Siedem dedykowanych narzędzi AI — od transkrypcji audio po dogłębne badania prawne. Każde narzędzie przetwarza Twoje dokumenty w pamięci i usuwa je po zakończeniu.',
|
||||
'learn_more' => 'Dowiedz się więcej →',
|
||||
'pricing_nav_link' => 'Cennik →',
|
||||
'why_ours_trust_link' => 'Dlaczego nasze narzędzia dają inne odpowiedzi niż ChatGPT →',
|
||||
'footer_tagline' => 'Prawne narzędzia AI dla rodzin w norweskich sprawach dotyczących ochrony dzieci.',
|
||||
'footer_privacy_note' => 'Twoje dokumenty są przetwarzane w pamięci i usuwane po zakończeniu sesji. Nic nie jest przechowywane.',
|
||||
'footer_legal_lib' => 'Biblioteka prawna',
|
||||
'footer_report' => 'Zgłoś problem',
|
||||
'footer_about_caveau' => 'O CaveauAI',
|
||||
'footer_disclaimer' => 'Wyniki AI służą wyłącznie jako wsparcie w przygotowaniu sprawy — nie jako porada prawna. Zawsze weryfikuj z licencjonowanym norweskim prawnikiem.',
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user