/* * Copyright (c) 2025 Aldrik Ramaekers * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #include "locales.hpp" locale_entry en_locales[] = { // General UI strings. {"ui.unsavedProject", "[unsaved project]"}, {"ui.workingOn", "Working on"}, {"ui.invoiceRequirementP1", "Company info ↗"}, {"ui.invoiceRequirementP2", "needs to be completed before adding invoices."}, {"ui.next", "Next >>"}, {"ui.prev", "<< Prev"}, // Status strings. {"status.saved", "[Saved to disk]"}, {"status.saveFailed", "[Save failed]"}, // General form buttons. {"form.create", "+ Create"}, {"form.back", "Back"}, {"form.save", "Save"}, {"form.yes", "Yes"}, {"form.no", "No"}, {"form.change", "Change"}, {"form.view", "View"}, {"form.delete", "Delete"}, {"form.cancel", "Cancel"}, {"form.confirmDelete", "Are you sure you want to delete this item?"}, {"form.confirmCancelProject", "Are you sure you want to cancel this Project?"}, {"form.required", "required"}, // Default cost centers {"costcenter.general_expenses", "General Expenses"}, {"costcenter.administration_general_management", "Administration & General Management"}, {"costcenter.finance_accounting", "Finance & Accounting"}, {"costcenter.information_technology", "Information Technology (IT)"}, {"costcenter.sales_marketing", "Sales & Marketing"}, {"costcenter.operations_production", "Operations / Production"}, {"costcenter.supply_chain_logistics", "Supply Chain & Logistics"}, {"costcenter.research_development", "Research & Development"}, {"costcenter.facilities_maintenance", "Facilities & Maintenance"}, {"costcenter.customer_service_support", "Customer Service & Support"}, {"costcenter.other_specialized", "Other / Specialized"}, // Tax category strings. {"taxcategory.AE", "VAT Reverse Charge"}, {"taxcategory.E", "Exempt from Tax"}, {"taxcategory.S", "Standard rate"}, {"taxcategory.Z", "Zero rated goods"}, {"taxcategory.G", "Free export item, VAT not charged"}, {"taxcategory.O", "Services outside scope of tax"}, {"taxcategory.K#G", "Intra-community supply of goods"}, {"taxcategory.K#S", "Intra-community supply of services"}, // Countries { "country.AT", "Austria" }, { "country.BE", "Belgium" }, { "country.BG", "Bulgaria" }, { "country.HR", "Croatia" }, { "country.CY", "Cyprus" }, { "country.CZ", "Czech Republic" }, { "country.DK", "Denmark" }, { "country.EE", "Estonia" }, { "country.FI", "Finland" }, { "country.FR", "France" }, { "country.DE", "Germany" }, { "country.GR", "Greece" }, { "country.HU", "Hungary" }, { "country.IE", "Ireland" }, { "country.IT", "Italy" }, { "country.LV", "Latvia" }, { "country.LT", "Lithuania" }, { "country.LU", "Luxembourg" }, { "country.MT", "Malta" }, { "country.NL", "Netherlands" }, { "country.PL", "Poland" }, { "country.PT", "Portugal" }, { "country.RO", "Romania" }, { "country.SK", "Slovakia" }, { "country.SI", "Slovenia" }, { "country.ES", "Spain" }, { "country.SE", "Sweden" }, // Navigation. {"nav.invoices", "Invoices"}, {"nav.expenses", "Expenses"}, {"nav.contacts", "Contacts"}, {"nav.reports", "Reports"}, {"nav.reports.results", "Earnings"}, {"nav.reports.tax", "Tax return"}, {"nav.projects", "Projects"}, {"nav.settings", "Settings"}, // Contact strings. {"contact.form.identifier", "Identifier"}, {"contact.form.fullname", "Full name / name of business"}, {"contact.form.address1", "Street name + house number, appt. number, etc."}, {"contact.form.address2", "Address line 2"}, {"contact.form.country", "Country"}, {"contact.form.type", "Customer type"}, {"contact.form.type.business", "Business"}, {"contact.form.type.consumer", "Consumer"}, {"contact.form.taxnumber", "Tax number"}, {"contact.form.businessnumber", "Business number"}, {"contact.form.email", "Email address"}, {"contact.form.phonenumber", "Phone number"}, {"contact.form.bankaccount", "Bank account"}, {"contact.form.city", "City"}, {"contact.form.postal", "Postal"}, {"contact.form.region", "Region"}, {"contact.table.identifier", "Identifier"}, {"contact.table.name", "Name"}, {"contact.table.address", "Address"}, // Project strings. {"project.form.identifier", "Identifier"}, {"project.form.description", "Description"}, {"project.table.identifier", "Identifier"}, {"project.table.status", "Status"}, {"project.table.description", "Description"}, {"project.state.running", "Running"}, {"project.state.cancelled", "Cancelled"}, {"project.state.paused", "Paused"}, // Settings strings. {"settings.table.company", "Company"}, {"settings.table.vatrates", "VAT Rates"}, {"settings.table.costcenters", "Cost Centers"}, {"settings.table.services", "Services"}, {"settings.vat.table.country", "Country"}, {"settings.vat.table.rates", "Rates"}, {"settings.costcenters.table.code", "Code"}, {"settings.costcenters.table.description", "Description"}, {"settings.services.ai_service", "AI Service"}, {"settings.services.ai_service.provider", "Provider"}, {"settings.services.ai_service.privkey", "Public key"}, {"settings.services.ai_service.pubkey", "Private key"}, // Invoice/expense strings. {"invoice.form.costcenter", "Cost center"}, {"invoice.form.project", "Project"}, {"invoice.form.invoicenumber", "Invoice number"}, {"invoice.form.supplier", "Supplier"}, {"invoice.form.issuedat", "Invoice issued at"}, {"invoice.form.expiresat", "Invoice expires at"}, {"invoice.form.deliveredat", "Product/service delivered at"}, {"invoice.form.billinginformation", "Billing information"}, {"invoice.form.billedTo", "Billed to"}, {"invoice.form.triangulation", "Shipping information differs from billing information (triangulation)"}, {"invoice.form.shippinginformation", "Shipping information"}, {"invoice.form.add", "+ Billing item"}, {"invoice.form.currency", "Currency"}, {"invoice.form.finalSettlement", "Final settlement in"}, {"invoice.table.invoicenumber", "Invoice number"}, {"invoice.table.amount", "Amount"}, {"invoice.table.description", "Description"}, {"invoice.table.price", "Price"}, {"invoice.table.discount", "Discount"}, {"invoice.table.net", "Net"}, {"invoice.table.tax%", "Tax %"}, {"invoice.table.tax", "Tax"}, {"invoice.table.total", "Total"}, {"invoice.table.customer", "Customer"}, {"invoice.table.addressee", "Addressee"}, {"invoice.table.issuedat", "Issued At"}, {"invoice.table.status", "Status"}, {"invoice.table.sender", "Sender"}, {"invoice.status.concept", "Concept"}, {"invoice.status.sent", "Sent"}, {"invoice.status.reminded", "Reminded"}, {"invoice.status.paid", "Paid"}, {"invoice.status.expired", "Expired"}, {"invoice.status.cancelled", "Cancelled"}, {"invoice.status.refunded", "Refunded"}, {"invoice.status.corrected", "Corrected"}, {"invoice.status.received", "Received"}, // Income statement strings. {"statement.uncategorized", "Uncategorized"}, {"statement.revenue", "Revenue"}, {"statement.tax", "Tax"}, {"statement.expenses", "Expenses"}, {"statement.profit", "Profit"}, // Import service. {"import.status.starting","Starting import"}, {"import.status.uploading_file","Uploading file"}, {"import.status.querying","Querying AI provider"}, {"import.status.waiting_for_result","Waiting for result"}, {"import.status.done","Import completed"}, {"import.error.upload","Failure: Upload failed"}, {"import.error.query","Failure: Querying service failed"}, {"import.error.import","Failure: Failed to import result from service"}, }; int en_locale_count = sizeof(en_locales) / sizeof(en_locales[0]);