fix: update Terms of Service text for clarity and consistency (#214)

* fix: update Terms of Service text for clarity and consistency

- Modified the Terms of Service text in the invoice form tests to include apply for better accuracy.
- Updated footer descriptions across multiple language files to clarify terms of use and include a link to the Terms of Service.
- Enhanced the About page and Changelog layout to ensure consistent presentation of Terms of Service information.

* i18n fixes
This commit is contained in:
Vlad Sazonau 2026-04-18 02:17:29 +02:00 committed by GitHub
parent 0b371690a4
commit 4967bb319c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 46 additions and 22 deletions

View file

@ -181,7 +181,7 @@ test.describe("Invoice Generator Page", () => {
const termsOfServiceLink = page.getByTestId("mobile-terms-of-service-link");
// Check that Terms of Service are displayed
await expect(termsOfServiceLink).toBeVisible();
await expect(termsOfServiceLink).toHaveText("Terms of Service");
await expect(termsOfServiceLink).toHaveText("Terms of Service apply");
await expect(termsOfServiceLink).toHaveAttribute("href", "/tos");
// Test desktop view
@ -196,7 +196,7 @@ test.describe("Invoice Generator Page", () => {
);
// Check that Terms of Service are displayed
await expect(termsOfServiceLink2).toBeVisible();
await expect(termsOfServiceLink2).toHaveText("Terms of Service");
await expect(termsOfServiceLink2).toHaveText("Terms of Service apply");
await expect(termsOfServiceLink2).toHaveAttribute("href", "/tos");
});

View file

@ -55,7 +55,7 @@
"noSignup": "Keine Anmeldung erforderlich. 100% kostenlos und Open-Source."
},
"footer": {
"description": "Ein kostenloses Open-Source-Tool zur Erstellung professioneller PDF-Rechnungen mit Live-Vorschau. Keine Buchhaltungssoftware. Keine Compliance-Garantien. Es gelten die Nutzungsbedingungen. Bitte lesen Sie unsere Nutzungsbedingungen fur weitere Details.",
"description": "Ein kostenloses Open-Source-Tool zur Erstellung professioneller PDF-Rechnungen mit Live-Vorschau.<br></br><br></br>Keine Buchhaltungssoftware. Keine Compliance-Garantien. Durch die Nutzung dieses Tools stimmen Sie den <tosLink>Nutzungsbedingungen</tosLink> zu.",
"product": "Produkt",
"links": {
"features": "Funktionen",

View file

@ -3,7 +3,6 @@
"tagline": "Free Invoice Generator with Live PDF Preview",
"hero": {
"title": "Create professional invoices in seconds",
"description": "EasyInvoicePDF is a <span>free, open-source</span> invoice generator with <span>real-time preview</span>. Create, customize, and download professional invoices. <span>No sign-up required.</span>"
},
"features": {
@ -48,7 +47,7 @@
"noSignup": "No sign-up required. 100% free and open-source."
},
"footer": {
"description": "Create professional invoices in seconds with our free & open-source invoice maker. 100% in-browser, no sign-up required. Includes live PDF preview and a Stripe-style template - perfect for freelancers, startups, and small businesses. Not accounting software. No compliance guarantees. Terms apply. Please review our Terms of Service for more details.",
"description": "Create professional invoices in seconds with our free & open-source invoice maker. 100% in-browser, no sign-up required. Includes live PDF preview and a Stripe-style template - perfect for freelancers, startups, and small businesses.<br></br><br></br>Not accounting software. No compliance guarantees. By using this tool, you agree to the <tosLink>Terms of Service</tosLink>.",
"product": "Product",
"links": {
"features": "Features",

View file

@ -55,7 +55,7 @@
"noSignup": "No requiere registro. 100% gratuito y de código abierto."
},
"footer": {
"description": "Una herramienta gratuita de codigo abierto para crear facturas PDF profesionales con vista previa en tiempo real. No es software de contabilidad. Sin garantias de cumplimiento. Se aplican los terminos. Por favor, revise nuestros Terminos de Servicio para mas detalles.",
"description": "Una herramienta gratuita de código abierto para crear facturas PDF profesionales con vista previa en tiempo real.<br></br><br></br>No es software de contabilidad. Sin garantías de cumplimiento. Al usar esta herramienta, aceptas los <tosLink>Términos del servicio</tosLink>.",
"product": "Producto",
"links": {
"features": "Características",

View file

@ -47,7 +47,7 @@
"noSignup": "Aucune inscription requise. 100% gratuit et open-source."
},
"footer": {
"description": "Un outil gratuit et open-source pour créer des factures PDF professionnelles avec aperçu en temps réel. Pas un logiciel de comptabilite. Aucune garantie de conformite. Les conditions s'appliquent. Veuillez consulter nos Conditions d'utilisation pour plus de details.",
"description": "Un outil gratuit et open-source pour créer des factures PDF professionnelles avec aperçu en temps réel.<br></br><br></br>Pas un logiciel de comptabilité. Aucune garantie de conformité. En utilisant cet outil, vous acceptez les <tosLink>Conditions d'utilisation</tosLink>.",
"product": "Produit",
"links": {
"features": "Fonctionnalités",

View file

@ -47,7 +47,7 @@
"noSignup": "Nessuna registrazione richiesta. 100% gratuito e open-source."
},
"footer": {
"description": "Uno strumento gratuito e open-source per creare fatture PDF professionali con anteprima in tempo reale. Non e un software di contabilita. Nessuna garanzia di conformita. Si applicano i termini. Si prega di consultare i nostri Termini di Servizio per ulteriori dettagli.",
"description": "Uno strumento gratuito e open-source per creare fatture PDF professionali con anteprima in tempo reale.<br></br><br></br>Non è un software di contabilità. Nessuna garanzia di conformità. Utilizzando questo strumento, accetti i <tosLink>Termini di servizio</tosLink>.",
"product": "Prodotto",
"links": {
"features": "Funzionalità",

View file

@ -47,7 +47,7 @@
"noSignup": "Geen registratie vereist. 100% gratis en open-source."
},
"footer": {
"description": "Een gratis, open-source tool voor het maken van professionele PDF-facturen met realtime voorbeeld. Geen boekhoudsoftware. Geen nalevingsgaranties. Voorwaarden zijn van toepassing. Lees onze Servicevoorwaarden voor meer informatie.",
"description": "Een gratis, open-source tool voor het maken van professionele PDF-facturen met realtime voorbeeld.<br></br><br></br>Geen boekhoudsoftware. Geen nalevingsgaranties. Door deze tool te gebruiken, gaat u akkoord met de <tosLink>Servicevoorwaarden</tosLink>.",
"product": "Product",
"links": {
"features": "Functies",

View file

@ -55,7 +55,7 @@
"noSignup": "Bez rejestracji. W 100% darmowe i open-source."
},
"footer": {
"description": "Darmowe narzedzie open-source do tworzenia profesjonalnych faktur PDF z podgladem w czasie rzeczywistym. Nie jest oprogramowaniem ksiegowym. Brak gwarancji zgodnosci. Obowiazuja warunki. Prosimy zapoznac sie z naszymi Warunkami korzystania z uslugi, aby uzyskac wiecej informacji.",
"description": "Darmowe narzędzie open-source do tworzenia profesjonalnych faktur PDF z podglądem w czasie rzeczywistym.<br></br><br></br>Nie jest oprogramowaniem księgowym. Brak gwarancji zgodności. Korzystając z tego narzędzia, akceptujesz <tosLink>Regulamin</tosLink>.",
"product": "Produkt",
"links": {
"features": "Funkcje",

View file

@ -55,7 +55,7 @@
"noSignup": "Não requer cadastro. 100% gratuito e de código aberto."
},
"footer": {
"description": "Uma ferramenta gratuita de codigo aberto para criar faturas PDF profissionais com pre-visualizacao em tempo real. Nao e um software de contabilidade. Sem garantias de conformidade. Os termos se aplicam. Por favor, revise nossos Termos de Servico para mais detalhes.",
"description": "Uma ferramenta gratuita de código aberto para criar faturas PDF profissionais com pré-visualização em tempo real.<br></br><br></br>Não é um software de contabilidade. Sem garantias de conformidade. Ao usar esta ferramenta, você concorda com os <tosLink>Termos de serviço</tosLink>.",
"product": "Produto",
"links": {
"features": "Recursos",

View file

@ -55,7 +55,7 @@
"noSignup": "Без регистрации. 100% бесплатно и с открытым исходным кодом."
},
"footer": {
"description": "Бесплатный инструмент с открытым исходным кодом для создания профессиональных PDF-инвойсов с предпросмотром в реальном времени. Не является бухгалтерским программным обеспечением. Никаких гарантий соответствия. Применяются условия. Пожалуйста, ознакомьтесь с нашими Условиями использования для получения дополнительной информации.",
"description": "Бесплатный инструмент с открытым исходным кодом для создания профессиональных PDF-инвойсов с предпросмотром в реальном времени.<br></br><br></br>Не является бухгалтерским программным обеспечением. Никаких гарантий соответствия. Используя этот инструмент, вы соглашаетесь с <tosLink>Условиями использования</tosLink>.",
"product": "Продукт",
"links": {
"features": "Возможности",

View file

@ -55,7 +55,7 @@
"noSignup": "Без реєстрації. 100% безкоштовно та з відкритим кодом."
},
"footer": {
"description": "Безкоштовний інструмент з відкритим кодом для створення професійних PDF-рахунків з попереднім переглядом у реальному часі. Не є бухгалтерським програмним забезпеченням. Жодних гарантій відповідності. Умови застосовуються. Будь ласка, ознайомтеся з нашими Умовами використання для отримання додаткової інформації.",
"description": "Створюйте професійні рахунки за секунди за допомогою нашого безкоштовного інструменту з відкритим кодом. 100% у браузері, без реєстрації. Включає попередній перегляд PDF та шаблон у стилі Stripe - ідеально для фрілансерів, стартапів і малого бізнесу.<br></br><br></br>Не є бухгалтерським програмним забезпеченням. Жодних гарантій відповідності. Використовуючи цей інструмент, ви погоджуєтесь з <tosLink>Умовами використання</tosLink>.",
"product": "Продукт",
"links": {
"features": "Можливості",

View file

@ -306,7 +306,7 @@ export function InvoiceClientPage({
className="underline hover:text-black"
data-testid="mobile-terms-of-service-link"
>
Terms of Service
Terms of Service apply
</Link>
</div>
</div>
@ -371,7 +371,7 @@ export function InvoiceClientPage({
className="underline hover:text-black"
data-testid="desktop-terms-of-service-link"
>
Terms of Service
Terms of Service apply
</Link>
</div>
</div>

View file

@ -738,15 +738,14 @@ export function AppPageClient({
Includes live PDF preview and a Stripe-style template - perfect
for freelancers, startups, and small businesses.
<br /> <br />
Not accounting software. No compliance guarantees. Terms apply.
Please review our{" "}
Not accounting software. No compliance guarantees. By using this
tool, you agree to the{" "}
<Link
href="/tos"
className="text-slate-700 underline hover:text-slate-900"
>
Terms of Service
</Link>{" "}
for more details.
</Link>
</>
),
footerCreatedBy: "Made by",

View file

@ -158,7 +158,17 @@ export default function AboutPage({ params }: { params: { locale: Locale } }) {
</ul>
}
translations={{
footerDescription: t("footer.description"),
footerDescription: t.rich("footer.description", {
br: () => <br />,
tosLink: (chunks) => (
<Link
href="/tos"
className="text-slate-700 underline hover:text-slate-900"
>
{chunks}
</Link>
),
}),
footerCreatedBy: t("footer.createdBy"),
product: t("footer.product"),
}}

View file

@ -102,8 +102,24 @@ export default function ChangelogLayout({ children }: ChangelogLayoutProps) {
{children}
<Footer
translations={{
footerDescription:
"Create professional invoices in seconds with our free & open-source invoice maker. 100% in-browser, no sign-up required. Includes live PDF preview and a Stripe-style template - perfect for freelancers, startups, and small businesses.",
footerDescription: (
<>
Create professional invoices in seconds with our free &
open-source invoice maker. 100% in-browser, no sign-up required.
Includes live PDF preview and a Stripe-style template - perfect
for freelancers, startups, and small businesses.
<br /> <br />
Not accounting software. No compliance guarantees. By using this
tool, you agree to the{" "}
<Link
href="/tos"
className="text-slate-700 underline hover:text-slate-900"
>
Terms of Service
</Link>
.
</>
),
footerCreatedBy: "Made by",
product: "Product",
}}