diff --git a/data/sidebar.yml b/data/sidebar.yml index d907588..26178c0 100644 --- a/data/sidebar.yml +++ b/data/sidebar.yml @@ -48,7 +48,7 @@ abs_href: "/tools" icon: fad fa-toolbox active_id: tools - has_new_until_utc: 1758726438 + has_new_until_utc: 1759856025 - title_key: text.downloads raw_href: "https://files.nibblepoker.lu/" diff --git a/data/strings/en/commons.yml b/data/strings/en/commons.yml index cda46b0..95155a3 100644 --- a/data/strings/en/commons.yml +++ b/data/strings/en/commons.yml @@ -102,8 +102,37 @@ country.argentina: "Argentina" country.australia: "Australia" country.austria: "Austria" country.azerbaijan: "Azerbaijan" +country.azores: "Azores" country.bahamas: "Bahamas" - country.belgium: "Belgium" - +country.bulgaria: "Bulgaria" +country.corsica: "Corsica" +country.croatia: "Croatia" +country.cyprus: "Cyprus" +country.czechia: "Czechia" +country.denmark: "Denmark" +country.estonia: "Estonia" +country.finland: "Finland" +country.france: "France" +country.france.corsica: "France - Corsica" +country.germany: "Germany" +country.greece: "Greece" +country.hungary: "Hungary" +country.ireland: "Ireland" +country.italy: "Italy" +country.latvia: "Latvia" +country.lithuania: "lithuania" country.luxembourg: "Luxembourg" +country.madeira: "Madeira" +country.malta: "Malta" +country.monaco: "Monaco" +country.netherlands: "Netherlands" +country.poland: "Poland" +country.portugal: "Portugal" +country.portugal.azores: "Portugal - Azores" +country.portugal.madeira: "Portugal - Madeira" +country.romania: "Romania" +country.slovenia: "Slovenia" +country.slovakia: "Slovakia" +country.spain: "Spain" +country.sweden: "Sweden" diff --git a/data/strings/en/vat-calculator.yml b/data/strings/en/vat-calculator.yml index 97cc112..c3e0398 100644 --- a/data/strings/en/vat-calculator.yml +++ b/data/strings/en/vat-calculator.yml @@ -1,7 +1,7 @@ # EN - VAT Calculator meta.title: "VAT Calculator" -meta.description: "Simple VAT calculator with a selection of common rates for over X countries." +meta.description: "Simple VAT calculator with a selection of common rates for 32 countries/regions." preset.label: "Official rates" @@ -17,8 +17,10 @@ rate.option.custom: "Custom rate" rate.type.standard: "Standard" rate.type.intermediate: "Intermediate" +rate.type.preferential: "Preferential" rate.type.reduced: "Reduced" rate.type.reduced.super: "Super reduced" +rate.type.special: "Special" option.decimal-places: "Decimal places count" option.trim-zeroes: "Trim trailing zeroes" @@ -47,4 +49,4 @@ rounding.mode.floor.half: "Towards negative infinity if equidistant (Half f license.text.1: "This tool uses the decimal.js-light library, which is licensed under the MIT license." -license.text.2: "The rest of this tool's code is released in the public domain." +license.text.2: "The rest of this tool's code is released in the public domain." diff --git a/data/strings/fr/commons.yml b/data/strings/fr/commons.yml index bceecc6..2e2e2c2 100644 --- a/data/strings/fr/commons.yml +++ b/data/strings/fr/commons.yml @@ -92,6 +92,47 @@ format.yaml: "YAML" action.generate: "Générer" +country.afghanistan: "Afghanistan" +country.albania: "Albanie" +country.algeria: "Algérie" +country.andorra: "Andorre" +country.angola: "Angola" +country.anguilla: "Anguilla" +country.argentina: "Argentine" +country.australia: "Australie" +country.austria: "Autriche" +country.azerbaijan: "Azerbaïdjan" +country.azores: "Açores" +country.bahamas: "Bahamas" country.belgium: "Belgique" - +country.bulgaria: "Bulgarie" +country.corsica: "Corse" +country.croatia: "Croatie" +country.cyprus: "Chypre" +country.czechia: "Tchéquie" +country.denmark: "Danemark" +country.estonia: "Estonie" +country.finland: "Finlande" +country.france: "France" +country.france.corsica: "France - Corse" +country.germany: "Allemagne" +country.greece: "Grèce" +country.hungary: "Hongrie" +country.ireland: "Irlande" +country.italy: "Italie" +country.latvia: "Lettonie" +country.lithuania: "Lituanie" country.luxembourg: "Luxembourg" +country.madeira: "Madère" +country.malta: "Malte" +country.monaco: "Monaco" +country.netherlands: "Pays-Bas" +country.poland: "Pologne" +country.portugal: "Portugal" +country.portugal.azores: "Portugal - Açores" +country.portugal.madeira: "Portugal - Madère" +country.romania: "Roumanie" +country.slovenia: "Slovénie" +country.slovakia: "Slovaquie" +country.spain: "Espagne" +country.sweden: "Suède" diff --git a/data/strings/fr/vat-calculator.yml b/data/strings/fr/vat-calculator.yml index 498be49..22756df 100644 --- a/data/strings/fr/vat-calculator.yml +++ b/data/strings/fr/vat-calculator.yml @@ -1,7 +1,7 @@ # FR - VAT Calculator meta.title: "Calculateur de TVA" -meta.description: "Simple calculateur de TVA avec une selection de taux communs pour plus de X pays." +meta.description: "Simple calculateur de TVA avec une selection de taux communs pour 32 pays/régions." preset.label: "Taux officiel" @@ -17,8 +17,10 @@ rate.option.custom: "Taux personalisé" rate.type.standard: "Standard" rate.type.intermediate: "Intermédiaire" +rate.type.preferential: "Préférentiel" rate.type.reduced: "Réduit" rate.type.reduced.super: "Super réduit" +rate.type.special: "Spécial" option.decimal-places: "Nombre de décimales" option.trim-zeroes: "Supprimer les zéros de fin" @@ -47,4 +49,4 @@ rounding.mode.floor.half: "Vers moins l'infini (Demi plancher)" license.text.1: "Cet outil utilise la bibliothèque decimal.js-light, qui est distribuée sous licence MIT." -license.text.2: "Le reste du code de cet outil est placé dans le domaine public." +license.text.2: "Le reste du code de cet outil est placé dans le domaine public." diff --git a/data/tools/iban-generator.yml b/data/tools/iban-generator.yml index 8c6324d..220a960 100644 --- a/data/tools/iban-generator.yml +++ b/data/tools/iban-generator.yml @@ -24,7 +24,7 @@ tools: image_url: "/resources/NibblePoker/images/tools/iban-generator/main.png" image_alt_key: "" general: - icon: "fa-duotone fa-solid fa-credit-card-front" + icon: "fa-duotone fa-credit-card-front" title_key: "meta.title" subtitle_key: "article.subtitle" tags: diff --git a/data/tools/uuid-generator.yml b/data/tools/uuid-generator.yml index 3c96825..c5e9075 100644 --- a/data/tools/uuid-generator.yml +++ b/data/tools/uuid-generator.yml @@ -24,7 +24,7 @@ tools: image_url: "/resources/NibblePoker/images/tools/uuid-generator/main.png" image_alt_key: "" general: - icon: "fab fa-python" + icon: "fa-duotone fa-memo-pad" title_key: "meta.title" subtitle_key: "article.subtitle" tags: diff --git a/data/tools/vat-calculator.yml b/data/tools/vat-calculator.yml index 34a6822..d4630d3 100644 --- a/data/tools/vat-calculator.yml +++ b/data/tools/vat-calculator.yml @@ -24,8 +24,9 @@ tools: image_url: "/resources/NibblePoker/images/tools/vat-calculator/main-quiet.png" image_alt_key: "" general: - icon: "fab fa-python" + icon: "fa-solid fa-memo-pad" title_key: "meta.title" subtitle_key: "article.subtitle" tags: - "calculator" + - "finance" diff --git a/static/resources/NibblePoker/images/tools/vat-calculator/main-noisy.png b/static/resources/NibblePoker/images/tools/vat-calculator/main-noisy.png index 1abc967..3040aa7 100644 Binary files a/static/resources/NibblePoker/images/tools/vat-calculator/main-noisy.png and b/static/resources/NibblePoker/images/tools/vat-calculator/main-noisy.png differ diff --git a/static/resources/NibblePoker/images/tools/vat-calculator/main-quiet.png b/static/resources/NibblePoker/images/tools/vat-calculator/main-quiet.png index 3b2815e..de271af 100644 Binary files a/static/resources/NibblePoker/images/tools/vat-calculator/main-quiet.png and b/static/resources/NibblePoker/images/tools/vat-calculator/main-quiet.png differ diff --git a/templates/applets/vat-calculator.jinja b/templates/applets/vat-calculator.jinja index db782c1..85c3195 100644 --- a/templates/applets/vat-calculator.jinja +++ b/templates/applets/vat-calculator.jinja @@ -1,12 +1,137 @@ - {% set all_vat_data = [ - ["afghanistan", [[10, "standard"]], - "https://ard.gov.af/file_download/432/FAQs+of+VAT+English.pdf"], - ["belgium", [[6, "reduced"],[12, "intermediate"],[21, "standard"]], - "https://finance.belgium.be/en/enterprises/vat/vat-obligation/rates-and-calculation/vat-rates"], - ["luxembourg", [[3, "reduced.super"],[8, "reduced"],[14, "intermediate"],[17, "standard"]], - "https://logistics.public.lu/en/formalities-procedures/taxes/value-added-tax/national-operations.html"], + ["afghanistan", + [[10, "standard"]], [ + "https://ard.gov.af/file_download/432/FAQs+of+VAT+English.pdf", + ]], + ["austria", + [[10, "reduced"],[13, "reduced"],[20, "standard"]], [ + "https://www.usp.gv.at/en/themen/steuern-finanzen/umsatzsteuer-ueberblick/steuersaetze-und-steuerbefreiungen-der-umsatzsteuer.html", + ]], + ["belgium", + [[6, "reduced"],[12, "intermediate"],[21, "standard"]], [ + "https://finance.belgium.be/en/enterprises/vat/vat-obligation/rates-and-calculation/vat-rates", + ]], + ["bulgaria", + [[9, "reduced"],[20, "standard"]], [ + "https://www.bulgaria-tax-law.bg/vat-rates-eu-member-states.html"]], + ["croatia", + [[5, "reduced"],[13, "reduced"],[25, "standard"]], [ + "https://porezna-uprava.gov.hr/en/value-added-tax-h-e-reinafter-vat-information-on-the-general-rules-rates-and-exemptions-registering-for-and-paying-vat-obtaining-a-refund/7313", + ]], + ["cyprus", + [[3, "reduced"],[5, "reduced"],[9, "reduced"],[19, "standard"]], [ + "https://www.mof.gov.cy/mof/tax/taxdep.nsf/All/6F2D9F654287FF02C2258251002C8130", + ]], + ["czechia", + [[12, "reduced"],[21, "standard"]], [ + "https://portal.gov.cz/en/informace/general-rules-and-vat-rates-INF-205", + ]], + ["denmark", + [[25, "standard"]], [ + "https://skat.dk/erhverv/moms/fradrag-for-moms", + ]], + ["estonia", + [[9, "reduced"],[13, "reduced"],[24, "standard"]], [ + "https://www.emta.ee/en/business-client/taxes-and-payment/value-added-tax", + "https://www.e-resident.gov.ee/blog/posts/a-guide-to-vat-for-e-residents/", + ]], + ["finland", + [[10, "reduced"],[14, "reduced"],[25.5, "standard"]], [ + "https://www.vero.fi/en/businesses-and-corporations/taxes-and-charges/vat/rates-of-vat/", + ]], + ["france", + [[2.1, "reduced"],[5.5, "reduced"],[10, "intermediate"],[20, "standard"]], [ + "https://www.economie.gouv.fr/cedef/les-fiches-pratiques/quels-sont-les-taux-de-tva-en-vigueur-en-france-et-dans-lunion", + ]], + ["france.corsica", + [[0.9, "special"],[2.1, "reduced"],[5.5, "reduced"],[10, "intermediate"],[13, "special"],[20, "standard"]], [ + "https://www.economie.gouv.fr/particuliers/impots-et-fiscalite/gerer-mes-autres-impots-et-taxes/tva-quels-sont-les-taux-de-votre", + ]], + ["germany", + [[7, "reduced"],[19, "standard"]], [ + "https://www.bundesfinanzministerium.de/Content/DE/Downloads/BMF_Schreiben/Steuerarten/Umsatzsteuer/Merkblaetter/2024-03-05-Umsatzsteuer-Merkblatt-Personenbefoerderung-Kraftomnibusse-englisch.pdf", + ]], + ["greece", + [[6, "reduced.super"],[13, "reduced"],[24, "standard"]], [ + "https://www.gov.gr/en/sdg/taxes/vat/general/basic-vat-rates", + ]], + ["hungary", + [[5, "preferential"],[18, "preferential"],[27, "standard"]], [ + "https://nav.gov.hu/pfile/file?path=/en/taxation/taxinfo/vat-liabilities-of-foreign-marketers-in-hungary", + ]], + ["ireland", + [[4.8, "reduced"],[9, "reduced"],[13.5, "reduced"],[23, "standard"]], [ + "https://www.revenue.ie/en/vat/vat-rates/search-vat-rates/current-vat-rates.aspx", + ]], + ["italy", + [[4, "reduced"],[5, "reduced"],[10, "reduced"],[22, "standard"]], [ + "https://www.agenziaentrate.gov.it/portale/web/english/nse/services/vat-mini-one-stop-shop/faq/vat-rates", + "https://www.agenziaentrate.gov.it/portale/web/english/general-vat-rules-and-rates" + ]], + ["latvia", + [[5, "reduced"],[12, "reduced"],[21, "standard"]], [ + "https://www.fm.gov.lv/lv/tax-rates", + ]], + ["lithuania", + [[5, "reduced"],[9, "reduced"],[21, "standard"]], [ + "https://finmin.lrv.lt/en/competence-areas/taxation/main-taxes/value-added-tax/", + ]], + ["luxembourg", + [[3, "reduced.super"],[8, "reduced"],[14, "intermediate"],[17, "standard"]], [ + "https://logistics.public.lu/en/formalities-procedures/taxes/value-added-tax/national-operations.html", + ]], + ["malta", + [[5, "reduced"],[7, "reduced"],[12, "reduced"],[18, "standard"]], [ + "https://mtca.gov.mt/business-tax/vat1/vat-compliance/vat-rates/vat-rates", + ]], + ["monaco", + [[2.1, "reduced"],[5.5, "reduced"],[10, "intermediate"],[20, "standard"]], [ + "https://monentreprise.gouv.mc/en/themes/accounting-obligations-and-tax/tax/vat", + "https://www.economie.gouv.fr/particuliers/impots-et-fiscalite/gerer-mes-autres-impots-et-taxes/tva-quels-sont-les-taux-de-votre" + ]], + ["netherlands", + [[9, "reduced"],[21, "standard"]], [ + "https://business.gov.nl/regulation/vat-rates-exemptions/", + ]], + ["poland", + [[5, "reduced"],[8, "reduced"],[23, "standard"]], [ + "https://www.podatki.gov.pl/en/value-added-tax/general-vat-rules-and-rates/list-of-vat-rates/", + ]], + ["portugal", + [[6, "reduced"],[13, "intermediate"],[23, "standard"]], [ + "https://www2.gov.pt/en/cidadaos-europeus-viajar-viver-e-fazer-negocios-em-portugal/impostos-para-atividades-economicas-em-portugal/imposto-sobre-valor-acrescentado-iva-em-portugal", + ]], + ["portugal.azores", + [[4, "reduced"],[9, "intermediate"],[16, "standard"]], [ + "https://www2.gov.pt/en/cidadaos-europeus-viajar-viver-e-fazer-negocios-em-portugal/impostos-para-atividades-economicas-em-portugal/imposto-sobre-valor-acrescentado-iva-em-portugal", + ]], + ["portugal.madeira", + [[5, "reduced"],[12, "intermediate"],[22, "standard"]], [ + "https://www2.gov.pt/en/cidadaos-europeus-viajar-viver-e-fazer-negocios-em-portugal/impostos-para-atividades-economicas-em-portugal/imposto-sobre-valor-acrescentado-iva-em-portugal", + ]], + ["romania", + [[5, "reduced"],[9, "reduced"],[19, "standard"]], [ + "https://mfinante.gov.ro/referinte-tva", + "https://www.mfinante.gov.ro/static/10/Mfp/legislatie/Ghid_TVA_parteaI.htm" + ]], + ["slovakia", + [[5, "reduced"],[19, "reduced"],[23, "standard"]], [ + "https://www.slovensko.sk/en/life-situation/life-situation/_value-added-tax/", + ]], + ["slovenia", + [[9.5, "reduced"],[22, "standard"]], [ + "https://www.fu.gov.si/en/taxes_and_other_duties/areas_of_work/value_added_tax_vat", + ]], + ["spain", + [[4, "reduced"],[10, "reduced"],[21, "standard"]], [ + "https://sede.agenciatributaria.gob.es/Sede/en_gb/iva/calculo-iva-repercutido-clientes/tipos-impositivos-iva.html" + "https://sede.agenciatributaria.gob.es/Sede/iva.html", + ]], + ["sweden", + [[6, "reduced"],[12, "reduced"],[25, "standard"]], [ + "https://www.skatteverket.se/servicelankar/otherlanguages/englishengelska/businessesandemployers/startingandrunningaswedishbusiness/declaringtaxesbusinesses/vat/vatratesandvatexemption.4.676f4884175c97df419255d.html", + ]], ] %} @@ -80,28 +205,28 @@ + class="radio-solid border mr-xxs radio-unchecked-subtle" checked> - + {% if not is_standalone %}{% endif %} + class="radio-solid border mr-xxs radio-unchecked-subtle"> - + {% if not is_standalone %}{% endif %} diff --git a/templates/base_www.jinja b/templates/base_www.jinja index 1916f4e..9c3ae93 100644 --- a/templates/base_www.jinja +++ b/templates/base_www.jinja @@ -12,11 +12,11 @@ - + - - - + + + {% block extra_preloads %}{% endblock %}