From c4665f84f0c864d6c3d7173e2e18abcf698ed692 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 23 Mar 2014 16:23:53 +0200 Subject: [PATCH 1/2] Bug fixes --- app/views/accounts/notifications.blade.php | 3 ++- public/js/script.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/accounts/notifications.blade.php b/app/views/accounts/notifications.blade.php index 3dd004f7394c..40ae1af08e6e 100755 --- a/app/views/accounts/notifications.blade.php +++ b/app/views/accounts/notifications.blade.php @@ -30,7 +30,8 @@ }(document, 'script', 'facebook-jssdk'));
   - Follow @invoiceninja + + Follow @invoiceninja diff --git a/public/js/script.js b/public/js/script.js index 11a0fc3446ae..dbbaac137766 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -69,6 +69,7 @@ function GetReportTemplate4(doc, invoice, layout, checkMath) { y += displaySubtotals(doc, layout, invoice, y+20, 480) + 20; + /* if (checkMath && NINJA.parseFloat(total).toFixed(4) != NINJA.parseFloat(invoice.amount).toFixed(4)) { var doc = new jsPDF('p', 'pt'); @@ -78,7 +79,7 @@ function GetReportTemplate4(doc, invoice, layout, checkMath) { onerror('Failed to generate PDF ' + total + ', ' + invoice.amount ); return doc; } - + */ doc.setDrawColor(200,200,200); doc.setFillColor(230,230,230); From 951cc78c76b7ef2370c1917a2b32504a20e757bc Mon Sep 17 00:00:00 2001 From: S3NS4Ti0N Date: Sun, 23 Mar 2014 15:28:14 +0100 Subject: [PATCH 2/2] Update fields.php added german translation --- app/lang/de/fields.php | 84 +++++++++++++++++++++--------------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/app/lang/de/fields.php b/app/lang/de/fields.php index 10f5d738c39a..b2b291ddaa6a 100644 --- a/app/lang/de/fields.php +++ b/app/lang/de/fields.php @@ -3,52 +3,52 @@ return array( // client - 'organization' => 'Organization', + 'organization' => 'Organisation', 'name' => 'Name', - 'website' => 'Website', - 'work_phone' => 'Phone', - 'address' => 'Address', - 'address1' => 'Street', - 'address2' => 'Apt/Suite', - 'city' => 'City', - 'state' => 'State/Province', - 'postal_code' => 'Postal Code', - 'country_id' => 'Country', - 'contacts' => 'Contacts', - 'first_name' => 'First Name', - 'last_name' => 'Last Name', - 'phone' => 'Phone', + 'website' => 'Webseite', + 'work_phone' => 'Telefon', + 'address' => 'Adresse', + 'address1' => 'Straße', + 'address2' => 'Adresszusatz', + 'city' => 'Stadt', + 'state' => 'Bundesland', + 'postal_code' => 'Postleitzahl', + 'country_id' => 'Land', + 'contacts' => 'Kontakte', + 'first_name' => 'Vorname', + 'last_name' => 'Nachname', + 'phone' => 'Telefon', 'email' => 'Email', - 'additional_info' => 'Additional Info', + 'additional_info' => 'Zusätzliche Info', 'payment_terms' => 'Payment Terms', - 'currency_id' => 'Currency', - 'size_id' => 'Size', - 'industry_id' => 'Industry', - 'private_notes' => 'Private Notes', + 'currency_id' => 'Währung', + 'size_id' => 'Größe', + 'industry_id' => 'Kategorie', + 'private_notes' => 'Notizen', // invoice - 'invoice' => 'Invoice', - 'client' => 'Client', - 'invoice_date' => 'Invoice Date', - 'due_date' => 'Due Date', - 'invoice_number' => 'Invoice Number', - 'invoice_number_short' => 'Invoice #', - 'po_number' => 'PO Number', - 'po_number_short' => 'PO #', - 'frequency_id' => 'How often', - 'dicount' => 'Discount', - 'taxes' => 'Taxes', - 'tax' => 'Tax', - 'item' => 'Item', - 'description' => 'Description', - 'unit_cost' => 'Unit Cost', - 'quantity' => 'Quantity', - 'line_total' => 'Line Total', - 'subtotal' => 'Subtotal', - 'paid_to_date' => 'Paid to Date', - 'balance_due' => 'Balance Due', + 'invoice' => 'Rechnung', + 'client' => 'Kunde', + 'invoice_date' => 'Rechnungsdatum', + 'due_date' => 'Fällig am', + 'invoice_number' => 'Rechungsnummer', + 'invoice_number_short' => 'Rechnung #', + 'po_number' => 'Bestell Nummer', + 'po_number_short' => 'BN #', + 'frequency_id' => 'Wie oft', + 'dicount' => 'Rabatt', + 'taxes' => 'Steuern', + 'tax' => 'Steuer', + 'item' => 'Artikel', + 'description' => 'Beschreibung', + 'unit_cost' => 'Kosten pro Einheit', + 'quantity' => 'Menge', + 'line_total' => 'Summe', + 'subtotal' => 'Zwischensumme', + 'paid_to_date' => 'Zahlungsdatum', + 'balance_due' => 'Rechnungsbetrag', 'invoice_design_id' => 'Design', - 'terms' => 'Terms', - 'your_invoice' => 'Your Invoice', + 'terms' => 'Bedingungen', + 'your_invoice' => 'Ihre Rechnung', -); \ No newline at end of file +);