This commit is contained in:
2026-01-19 18:02:55 +01:00
parent 87044adcb0
commit 30f87f26da
19 changed files with 10631 additions and 3773 deletions

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
@@ -21,20 +21,20 @@ namespace EveryThing.Pages.Invoices
{
public class PrintTranslation
{
public string Email { get; set; } = "E-pošta";
public string Email { get; set; } = "E-pošta";
public string Telephone { get; set; } = "Tel.";
public string IdTax { get; set; } = "ID za DDV";
public string Iban { get; set; } = "IBAN";
public string SwiftBic { get; set; } = "SWIFT/BIC";
public string InvoiceType { get; set; } = "Faktura";
public string Number { get; set; } = "št.";
public string Number { get; set; } = "št.";
public string Date { get; set; } = "Datum";
public string OrderNumber { get; set; } = "Številka naroèila";
public string DeliveryNote { get; set; } = "Številka dobavnice:";
public string OrderNumber { get; set; } = "Številka naročila";
public string DeliveryNote { get; set; } = "Številka dobavnice:";
public string DeliveryTime { get; set; } = "Dobavni rok";
public string DateOfDispatch { get; set; } = "Datum odpreme";
public string Article { get; set; } = "Artikel";
public string Quantity { get; set; } = "Kolièina";
public string Quantity { get; set; } = "Količina";
public string Price { get; set; } = "Cena";
public string Amount { get; set; } = "Znesek";
public string Dimensions { get; set; } = "Dimenzije";
@@ -49,7 +49,7 @@ namespace EveryThing.Pages.Invoices
{
[Display(Name = "Slovensko")]
Slovenian = 1,
[Display(Name = "Nemško")]
[Display(Name = "Nemško")]
German = 2
}
@@ -155,19 +155,19 @@ namespace EveryThing.Pages.Invoices
}
else if (Invoice.State == Invoice.InvoiceState.Inquiry)
{
Translation.InvoiceType = "Povpraševanje";
Translation.InvoiceType = "Povpraševanje";
}
else if (Invoice.State == Invoice.InvoiceState.OfferConfirmation)
{
Translation.InvoiceType = "Potrditev naroèila";
Translation.InvoiceType = "Potrditev naročila";
}
else
{
Translation.InvoiceType = "Naroèilo";
Translation.InvoiceType = "Naročilo";
}
break;
case Invoice.InvoiceType.Invoice:
Translation.InvoiceType = "Raèun";
Translation.InvoiceType = "Račun";
break;
case Invoice.InvoiceType.DeliveryNote:
Translation.InvoiceType = "Dobavnica";
@@ -181,7 +181,7 @@ namespace EveryThing.Pages.Invoices
}
if (invoiceState == Invoice.InvoiceState.Offer)
Translation.OrderNumber = "Št. povpraševanja.";
Translation.OrderNumber = "Št. povpraševanja.";
break;
case PrintTranslationLanguage.German:
Translation = new PrintTranslation
@@ -191,20 +191,20 @@ namespace EveryThing.Pages.Invoices
Date = "Datum",
DateOfDispatch = "Lieferdatum",
DeliveryTime = "Lieferdatum",
Dimensions = "Maße",
Dimensions = "Maße",
Director = "Direktor",
Email = "Email",
Iban = "IBAN",
IdTax = "Ihre UID Nr.",
Number = "Num.",
OrderNumber = invoiceState == Invoice.InvoiceState.Offer ? "Anfrage No." : "Bestellnummer",
Price = "Preis(€)",
Price = "Preis(€)",
Quantity = "Menge(Stk)",
SwiftBic = "SWIFT/BIC",
Total = "Gesamtsumme",
Project = "Projekt",
Issued = "Bearbeiter:",
Received = "Empfänger:",
Received = "Empfänger:",
DeliveryNote = "Lieferschein:"
};
switch (Invoice.Type)
@@ -221,7 +221,7 @@ namespace EveryThing.Pages.Invoices
}
else if (Invoice.State == Invoice.InvoiceState.OfferConfirmation)
{
Translation.InvoiceType = "Auftragsbestätigung";
Translation.InvoiceType = "Auftragsbestätigung";
}
else
{