Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b12e8d14

Von Moritz Bunkus vor mehr als 17 Jahren hinzugefügt

  • ID b12e8d1411cb7af3a1a9b6f7637692f0758b4741
  • Vorgänger 4c23c478
  • Nachfolger 34dc226c

Die Funktionen zum Bearbeiten von HTML-, LaTeX-Vorlagen und Stylesheets neu geschrieben.

Unterschiede anzeigen:

SL/AM.pm
1220 1220
  $main::lxdebug->leave_sub();
1221 1221
}
1222 1222

  
1223
sub load_template {
1223

  
1224
sub prepare_template_filename {
1224 1225
  $main::lxdebug->enter_sub();
1225 1226

  
1226
  my ($self, $form) = @_;
1227
  my ($self, $myconfig, $form) = @_;
1228

  
1229
  my ($filename, $display_filename);
1230

  
1231
  if ($form->{type} eq "stylesheet") {
1232
    $filename = "css/$myconfig->{stylesheet}";
1233
    $display_filename = $myconfig->{stylesheet};
1234

  
1235
  } else {
1236
    $filename = $form->{formname};
1237

  
1238
    if ($form->{language}) {
1239
      my ($id, $template_code) = split(/--/, $form->{language});
1240
      $filename .= "_${template_code}";
1241
    }
1227 1242

  
1228
  open(TEMPLATE, "$form->{file}") or $form->error("$form->{file} : $!");
1243
    if ($form->{printer}) {
1244
      my ($id, $template_code) = split(/--/, $form->{printer});
1245
      $filename .= "_${template_code}";
1246
    }
1229 1247

  
1230
  while (<TEMPLATE>) {
1231
    $form->{body} .= $_;
1248
    $filename .= "." . ($form->{format} eq "html" ? "html" : "tex");
1249
    $filename =~ s|.*/||;
1250
    $display_filename = $filename;
1251
    $filename = "$myconfig->{templates}/$filename";
1232 1252
  }
1233 1253

  
1234
  close(TEMPLATE);
1254
  $main::lxdebug->leave_sub();
1255

  
1256
  return ($filename, $display_filename);
1257
}
1258

  
1259

  
1260
sub load_template {
1261
  $main::lxdebug->enter_sub();
1262

  
1263
  my ($self, $filename) = @_;
1264

  
1265
  my ($content, $lines) = ("", 0);
1266

  
1267
  local *TEMPLATE;
1268

  
1269
  if (open(TEMPLATE, $filename)) {
1270
    while (<TEMPLATE>) {
1271
      $content .= $_;
1272
      $lines++;
1273
    }
1274
    close(TEMPLATE);
1275
  }
1235 1276

  
1236 1277
  $main::lxdebug->leave_sub();
1278

  
1279
  return ($content, $lines);
1237 1280
}
1238 1281

  
1239 1282
sub save_template {
1240 1283
  $main::lxdebug->enter_sub();
1241 1284

  
1242
  my ($self, $form) = @_;
1285
  my ($self, $filename, $content) = @_;
1243 1286

  
1244
  open(TEMPLATE, ">$form->{file}") or $form->error("$form->{file} : $!");
1287
  local *TEMPLATE;
1245 1288

  
1246
  # strip
1247
  $form->{body} =~ s/\r\n/\n/g;
1248
  print TEMPLATE $form->{body};
1289
  my $error = "";
1249 1290

  
1250
  close(TEMPLATE);
1291
  if (open(TEMPLATE, ">$filename")) {
1292
    $content =~ s/\r\n/\n/g;
1293
    print(TEMPLATE $content);
1294
    close(TEMPLATE);
1295
  } else {
1296
    $error = $!;
1297
  }
1251 1298

  
1252 1299
  $main::lxdebug->leave_sub();
1300

  
1301
  return $error;
1253 1302
}
1254 1303

  
1255 1304
sub save_preferences {
SL/Form.pm
1469 1469

  
1470 1470
  $key = "all_printers" unless ($key);
1471 1471

  
1472
  my $query = qq|SELECT id, printer_description, printer_command FROM printers|;
1472
  my $query = qq|SELECT id, printer_description, printer_command, template_code FROM printers|;
1473 1473

  
1474 1474
  $self->{$key} = selectall_hashref_query($self, $dbh, $query);
1475 1475

  
......
1538 1538
  $main::lxdebug->leave_sub();
1539 1539
}
1540 1540

  
1541
sub _get_languages {
1542
  $main::lxdebug->enter_sub();
1543

  
1544
  my ($self, $dbh, $key) = @_;
1545

  
1546
  $key = "all_languages" unless ($key);
1547

  
1548
  my $query = qq|SELECT * FROM language ORDER BY id|;
1549

  
1550
  $self->{$key} = selectall_hashref_query($self, $dbh, $query);
1551

  
1552
  $main::lxdebug->leave_sub();
1553
}
1554

  
1541 1555
sub get_lists {
1542 1556
  $main::lxdebug->enter_sub();
1543 1557

  
......
1568 1582
    $self->_get_printers($dbh, $params{"printers"});
1569 1583
  }
1570 1584

  
1585
  if ($params{"languages"}) {
1586
    $self->_get_languages($dbh, $params{"languages"});
1587
  }
1588

  
1571 1589
  if ($params{"charts"}) {
1572 1590
    $self->_get_charts($dbh, $params{"charts"});
1573 1591
  }
bin/mozilla/am.pl
47 47
# end of main
48 48

  
49 49
sub add    { &{"add_$form->{type}"} }
50
sub edit   { &{"edit_$form->{type}"} }
51
sub save   { &{"save_$form->{type}"} }
52 50
sub delete { &{"delete_$form->{type}"} }
53 51

  
52
sub display {
53
  if ($form->{display_nextsub}) {
54
    &{ $form->{display_nextsub} }();
55
  } else {
56
    &{ $form->{nextsub} }();
57
  }
58
}
59

  
60
sub save {
61
  if ($form->{save_nextsub}) {
62
    &{ $form->{save_nextsub} }();
63
  } else {
64
    &{ $form->{nextsub} }();
65
  }
66
}
67

  
68
sub edit {
69
  if ($form->{edit_nextsub}) {
70
    &{ $form->{edit_nextsub} }();
71
  } else {
72
    &{ "edit_$form->{type}" }();
73
  }
74
}
75

  
54 76
sub add_account {
55 77
  $lxdebug->enter_sub();
56 78

  
......
2412 2434
  $lxdebug->leave_sub();
2413 2435
}
2414 2436

  
2415
sub display_stylesheet {
2437
sub display_template {
2416 2438
  $lxdebug->enter_sub();
2417 2439

  
2418
  $form->{file} = "css/$myconfig{stylesheet}";
2419
  &display_form;
2440
  $form->{edit} = 0;
2441
  display_template_form();
2420 2442

  
2421 2443
  $lxdebug->leave_sub();
2422 2444
}
2423 2445

  
2424
sub display_form {
2446
sub edit_template {
2425 2447
  $lxdebug->enter_sub();
2426 2448

  
2427
  $form->{file} =~ s/^(.:)*?\/|\.\.\///g;
2428
  $form->{file} =~ s/^\/*//g;
2429
  $form->{file} =~ s/$userspath//;
2449
  $form->{edit} = 1;
2450
  display_template_form();
2430 2451

  
2431
  $form->error("$!: $form->{file}") unless -f $form->{file};
2452
  $lxdebug->leave_sub();
2453
}
2432 2454

  
2433
  AM->load_template(\%$form);
2455
sub save_template {
2456
  $lxdebug->enter_sub();
2434 2457

  
2435
  $form->{title} = $form->{file};
2458
  $form->isblank("formname", $locale->text("You're not editing a file.")) unless ($form->{type} eq "stylesheet");
2436 2459

  
2437
  # if it is anything but html
2438
  if ($form->{file} !~ /\.html$/) {
2439
    $form->{body} = "<pre>\n$form->{body}\n</pre>";
2460
  my ($filename) = AM->prepare_template_filename(\%myconfig, $form);
2461
  if (my $error = AM->save_template($filename, $form->{content})) {
2462
    $form->error(sprintf($locale->text("Saving the file '%s' failed. OS error message: %s"), $filename, $error));
2440 2463
  }
2441 2464

  
2442
  $form->header;
2465
  $form->{edit} = 0;
2466
  display_template_form();
2443 2467

  
2444
  print qq|
2445
<body>
2468
  $lxdebug->leave_sub();
2469
}
2470

  
2471
sub display_template_form {
2472
  $lxdebug->enter_sub();
2446 2473

  
2447
$form->{body}
2474
  $form->{formname} =~ s|.*/||;
2475
  my $format = $form->{format} eq "html" ? "html" : "tex";
2448 2476

  
2449
<form method=post action=$form->{script}>
2477
  my $title = $form->{type} eq "stylesheet" ? $locale->text("Edit the stylesheet") : $locale->text("Edit templates");
2478
  $form->{title} = $title;
2450 2479

  
2451
<input name=file type=hidden value=$form->{file}>
2452
<input name=type type=hidden value=template>
2480
  my $edit_options;
2453 2481

  
2454
<input type=hidden name=path value=$form->{path}>
2455
<input type=hidden name=login value=$form->{login}>
2456
<input type=hidden name=password value=$form->{password}>
2482
  my @hidden = qw(login path password type format);
2457 2483

  
2458
<input name=action type=submit class=submit value="|
2459
    . $locale->text('Edit') . qq|">
2484
  if (($form->{type} ne "stylesheet") && !$form->{edit}) {
2485
    $edit_options = "<p>";
2460 2486

  
2461
  </form>
2487
    my %formname_setup =
2488
      (
2489
       "balance_sheet" => { "translation" => $locale->text('Balance Sheet'), "html" => 1 },
2490
       "bin_list" => $locale->text('Bin List'),
2491
       "bwa" => { "translation" => $locale->text('BWA'), "html" => 1 },
2492
       "check" => { "translation" => $locale->text('Check'), "html" => 1 },
2493
       "credit_note" => $locale->text('Credit Note'),
2494
       "income_statement" => { "translation" => $locale->text('Income Statement'), "html" => 1 },
2495
       "invoice" => $locale->text('Invoice'),
2496
       "packing_list" => $locale->text('Packing List'),
2497
       "pick_list" => $locale->text('Pick List'),
2498
       "proforma" => $locale->text('Proforma Invoice'),
2499
       "purchase_order" => $locale->text('Purchase Order'),
2500
       "receipt" => { "translation" => $locale->text('Receipt'), "tex" => 1 },
2501
       "request_quotation" => $locale->text('RFQ'),
2502
       "sales_order" => $locale->text('Confirmation'),
2503
       "sales_quotation" => $locale->text('Quotation'),
2504
       "statement" => $locale->text('Statement'),
2505
       "storno_invoice" => $locale->text('Storno Invoice'),
2506
       "storno_packing_list" => $locale->text('Storno Packing List'),
2507
       "ustva-2004" => { "translation" => $locale->text("USTVA 2004"), "tex" => 1 },
2508
       "ustva-2005" => { "translation" => $locale->text("USTVA 2005"), "tex" => 1 },
2509
       "ustva-2006" => { "translation" => $locale->text("USTVA 2006"), "tex" => 1 },
2510
       "ustva-2007" => { "translation" => $locale->text("USTVA 2007"), "tex" => 1 },
2511
       "ustva" => $locale->text("USTVA"),
2512
       "zahlungserinnerung" => $locale->text('Payment Reminder'),
2513
      );
2462 2514

  
2463
</body>
2464
</html>
2515
    my (@values, %labels, $file, $setup);
2516

  
2517
    while (($file, $setup) = each(%formname_setup)) {
2518
      next unless (!ref($setup) || $setup->{$format});
2519

  
2520
      push(@values, $file);
2521
      $labels{$file} = ref($setup) ? $setup->{translation} : $setup;
2522
    }
2523
    @values = sort({ $labels{$a} cmp $labels{$b} } @values);
2524

  
2525
    $edit_options .=
2526
      $locale->text("Template") . " " .
2527
      NTI($cgi->popup_menu("-name" => "formname", "-default" => $form->{formname},
2528
                           "-values" => \@values, "-labels" => \%labels));
2529

  
2530
    $form->get_lists("printers" => "ALL_PRINTERS",
2531
                     "languages" => "ALL_LANGUAGES");
2532

  
2533
    @values = ("");
2534
    %labels = ();
2535

  
2536
    foreach my $item (@{ $form->{ALL_LANGUAGES} }) {
2537
      next unless ($item->{template_code});
2538
      my $key = "$item->{id}--$item->{template_code}";
2539
      push(@values, $key);
2540
      $labels{$key} = $item->{description};
2541
    }
2542

  
2543
    if (1 != scalar(@values)) {
2544
      $edit_options .=
2545
        " " . $locale->text("Language") . " " .
2546
        NTI($cgi->popup_menu("-name" => "language", "-default" => $form->{language},
2547
                             "-values" => \@values, "-labels" => \%labels));
2548
    }
2549

  
2550
    @values = ("");
2551
    %labels = ();
2552

  
2553
    foreach my $item (@{ $form->{ALL_PRINTERS} }) {
2554
      next unless ($item->{template_code});
2555
      my $key = "$item->{id}--$item->{template_code}";
2556
      push(@values, $key);
2557
      $labels{$key} = $item->{printer_description};
2558
    }
2559

  
2560
    if (1 != scalar(@values)) {
2561
      $edit_options .=
2562
        " " . $locale->text("Printer") . " " .
2563
        NTI($cgi->popup_menu("-name" => "printer", "-default" => $form->{printer},
2564
                             "-values" => \@values, "-labels" => \%labels));
2565
    }
2566

  
2567
    $edit_options .= qq|
2568

  
2569
  <input type="hidden" name="display_nextsub" value="display_template">
2570

  
2571
  <input name="action" type="submit" class="submit" value="|
2572
    . $locale->text('Display') . qq|">
2573

  
2574
 </p>
2575

  
2576
 <hr>
2465 2577
|;
2466 2578

  
2467
  $lxdebug->leave_sub();
2468
}
2579
  } else {
2580
    push(@hidden, qw(formname language printer));
2581
  }
2469 2582

  
2470
sub edit_template {
2471
  $lxdebug->enter_sub();
2583
  if ($form->{formname} || ($form->{type} eq "stylesheet")) {
2584
    my ($filename, $display_filename) = AM->prepare_template_filename(\%myconfig, $form);
2585
    my ($content, $lines) = AM->load_template($filename);
2472 2586

  
2473
  AM->load_template(\%$form);
2587
    $body = qq|
2588
|;
2589

  
2590
    if ($form->{edit}) {
2591
      $form->{fokus} = "Form.content";
2592
      $body = qq|\n<p><div class="listtop">| . $locale->text('Edit file') . " '" . H($display_filename) . qq|'</div></p>\n<p>|
2593
        . NTI($cgi->textarea("-name" => "content",
2594
                             "-id" => "content",
2595
                             "-default" => $content,
2596
                             "-columns" => 100,
2597
                             "-rows" => 25))
2598
        . qq|</p>
2599

  
2600
 <p>
2601
  <input type="hidden" name="save_nextsub" value="save_template">
2602

  
2603
  <input type="submit" name="action" value="| . $locale->text('Save') . qq|">
2604
 </p>
2605
|;
2606

  
2607
    } else {
2608
      $content = "\n\n" unless ($content);
2609

  
2610
      $body = qq|
2611
  <p><div class="listtop">| . $locale->text('Display file') . " '" . H($display_filename) . qq|'</div></p>
2474 2612

  
2475
  $form->{title} = $locale->text('Edit Template');
2613
  <input type="hidden" name="edit_nextsub" value="edit_template">
2476 2614

  
2477
  # convert &nbsp to &amp;nbsp;
2478
  $form->{body} =~ s/&nbsp;/&amp;nbsp;/gi;
2615
  <p><input name="action" type="submit" class="submit" value="| . $locale->text('Edit') . qq|"></p>
2616

  
2617
  <p>
2618
    <pre class="filecontent">| . H($content) . qq|</pre>
2619
  </p>
2620
|;
2621

  
2622
      if ($lines > 25) {
2623
        $body .= qq|
2624
  <input name="action" type="submit" class="submit" value="|
2625
    . $locale->text('Edit') . qq|">
2626
|;
2627
      }
2628
    }
2629
  }
2479 2630

  
2480 2631
  $form->header;
2481 2632

  
2482 2633
  print qq|
2483 2634
<body>
2484 2635

  
2485
<form method=post action=$form->{script}>
2486

  
2487
<input name=file type=hidden value=$form->{file}>
2488
<input name=type type=hidden value=template>
2489

  
2490
<input type=hidden name=path value=$form->{path}>
2491
<input type=hidden name=login value=$form->{login}>
2492
<input type=hidden name=password value=$form->{password}>
2636
<div class="listheading">$title</div>
2493 2637

  
2494
<input name=callback type=hidden value="$form->{script}?action=display_form&file=$form->{file}&path=$form->{path}&login=$form->{login}&password=$form->{password}">
2638
<form method="post" name="Form" action="am.pl">
2495 2639

  
2496
<textarea name=body rows=25 cols=70>
2497
$form->{body}
2498
</textarea>
2640
|;
2641
  $form->hide_form(@hidden);
2499 2642

  
2500
<br>
2501
<input type=submit class=submit name=action value="|
2502
    . $locale->text('Save') . qq|">
2643
  print qq|
2644
$edit_options
2503 2645

  
2504
  </form>
2646
$body
2505 2647

  
2648
</form>
2506 2649

  
2507 2650
</body>
2508 2651
</html>
......
2511 2654
  $lxdebug->leave_sub();
2512 2655
}
2513 2656

  
2514
sub save_template {
2515
  $lxdebug->enter_sub();
2516

  
2517
  AM->save_template(\%$form);
2518
  $form->redirect($locale->text('Template saved!'));
2519

  
2520
  $lxdebug->leave_sub();
2521
}
2522

  
2523 2657
sub config {
2524 2658
  $lxdebug->enter_sub();
2525 2659

  
css/lx-office-erp.css
200 200
  }
201 201
}
202 202

  
203
.filecontent {
204
  border: 1px solid blue;
205
  padding-left: 2px;
206
  padding-right: 2px;
207
}
locale/de/all
370 370
  'Dimension units'             => 'Ma&szlig;einheiten',
371 371
  'Directory'                   => 'Verzeichnis',
372 372
  'Discount'                    => 'Rabatt',
373
  'Display'                     => 'Anzeigen',
374
  'Display file'                => 'Datei anzeigen',
373 375
  'Done'                        => 'Fertig',
374 376
  'Draft saved.'                => 'Entwurf gespeichert.',
375 377
  'Drawing'                     => 'Zeichnung',
......
437 439
  'Edit Service'                => 'Dienstleistung bearbeiten',
438 440
  'Edit Storno Credit Note'     => 'Storno Gutschrift bearbeiten',
439 441
  'Edit Storno Invoice'         => 'Stornorechnung bearbeiten',
440
  'Edit Template'               => 'Vorlage bearbeiten',
441 442
  'Edit User'                   => 'Benutzerdaten bearbeiten',
442 443
  'Edit Vendor'                 => 'Lieferant editieren',
443 444
  'Edit Vendor Invoice'         => 'Einkaufsrechnung bearbeiten',
445
  'Edit file'                   => 'Datei bearbeiten',
446
  'Edit templates'              => 'Vorlage bearbeiten',
444 447
  'Edit the purchase_order'     => 'Bearbeiten des Lieferantenauftrags',
445 448
  'Edit the request_quotation'  => 'Bearbeiten der Preisanfrage',
446 449
  'Edit the sales_order'        => 'Bearbeiten des Auftrags',
447 450
  'Edit the sales_quotation'    => 'Bearbeiten des Angebots',
451
  'Edit the stylesheet'         => 'Stilvorlage bearbeiten',
448 452
  'Edit units'                  => 'Einheiten bearbeiten',
449 453
  'Eingangsrechnungnummer'      => 'Eingansrechungsnummer',
450 454
  'Employee'                    => 'Bearbeiter',
......
768 772
  'Password changed!'           => 'Passwort ge?ndert!',
769 773
  'Payables'                    => 'Verbindlichkeiten',
770 774
  'Payment'                     => 'Zahlungsausgang',
775
  'Payment Reminder'            => 'Zahlungserinnerung',
771 776
  'Payment Terms'               => 'Zahlungskonditionen',
772 777
  'Payment Terms missing in row ' => 'Zahlungsfrist fehlt in Zeile ',
773 778
  'Payment Terms saved!'        => 'Zahlungskonditionen gespeichert!',
......
908 913
  'Save and RFQ'                => 'Speichern und Lieferantenanfrage',
909 914
  'Save as new'                 => 'als neu speichern',
910 915
  'Save draft'                  => 'Entwurf speichern',
916
  'Saving the file \'%s\' failed. OS error message: %s' => 'Das Speichern der Datei \'%s\' schlug fehl. Fehlermeldung des Betriebssystems: %s',
911 917
  'Screen'                      => 'Bildschirm',
912 918
  'Search Dunning'              => 'Mahnung suchen',
913 919
  'Select'                      => 'ausw?hlen',
......
1003 1009
  'Template'                    => 'Druckvorlage',
1004 1010
  'Template Code'               => 'Vorlagenk?rzel',
1005 1011
  'Template Code missing!'      => 'Vorlagenk?rzel fehlt!',
1006
  'Template saved!'             => 'Schablone gespeichert!',
1007 1012
  'Templates'                   => 'Vorlagen',
1008 1013
  'Terms missing in row '       => '+Tage fehlen in Zeile ',
1009 1014
  'The \'tag\' field must only consist of alphanumeric characters or the carachters - _ ( )' => 'Das Feld \'tag\' darf nur aus alphanumerischen Zeichen und den Zeichen - _ ( ) bestehen.',
......
1069 1074
  'Trial Balance'               => 'Saldenbilanz',
1070 1075
  'Type'                        => 'Typ',
1071 1076
  'Type of Business'            => 'Kunden-/Lieferantentyp',
1077
  'USTVA'                       => '',
1078
  'USTVA 2004'                  => '',
1079
  'USTVA 2005'                  => '',
1080
  'USTVA 2006'                  => '',
1081
  'USTVA 2007'                  => '',
1072 1082
  'USTVA-Hint: Method'          => 'Wenn Sie Ist-Versteuert sind, w?hlen Sie die Einnahmen-/?berschu?-Rechnung aus. Sind Sie Soll-Versteuert und bilanzverpflichtet, dann w?hlen Sie Bilanz aus.',
1073 1083
  'USTVA-Hint: Tax Authoritys'  => 'Bitte das Bundesland UND die Stadt bzw. den Einzugsbereich Ihres zust?ndigen Finanzamts ausw?hlen.',
1074 1084
  'USt-IdNr.'                   => 'USt-IdNr.',
1075 1085
  'UStVA'                       => 'UStVA',
1076 1086
  'UStVA (PDF-Dokument)'        => 'UStVa als PDF-Dokument',
1077
  'UStVA 2004'                  => '',
1078
  'UStVA 2005'                  => '',
1079
  'UStVA 2006'                  => '',
1080 1087
  'UStVA-Nr. 35'                => 'Kz. 35',
1081 1088
  'UStVA-Nr. 36'                => 'Kz. 36',
1082 1089
  'UStVA-Nr. 39'                => 'Kz. 37',
......
1194 1201
  'You have to chose which unit to save for each of them.' => 'Sie m&uuml;ssen f&uuml;r jeden Artikel die neue Einheit ausw&auml;hlen.',
1195 1202
  'You have to create new Buchungsgruppen for all the combinations of inventory, income and expense accounts that have been used already.' => 'Sie m&uuml;ssen neue Buchungsgruppen f&uuml;r alle Kombinationen aus Inventar-, Erl&ouml;s- und Aufwandskonto, die bereits benutzt wurden.',
1196 1203
  'You must enter a host and port for local and remote connections!' => '"Rechner" und "Port" m?ssen f?r lokale und externe Verbindungen eingetragen werden!',
1204
  'You\'re not editing a file.' => 'Sie bearbeiten momentan keine Datei.',
1197 1205
  'Zeitpunkt'                   => 'Zeitpunkt',
1198 1206
  'Zeitraum'                    => 'Zeitraum',
1199 1207
  'Zip, City'                   => 'PLZ, Ort',
locale/de/am
64 64
  'Aufwand EU o. UStId'         => 'Aufwand EU o. UStId',
65 65
  'Aufwand Inland'              => 'Aufwand Inland',
66 66
  'BWA'                         => 'BWA',
67
  'Balance Sheet'               => 'Bilanz',
67 68
  'Bestandskonto'               => 'Bestandskonto',
68 69
  'Bilanz'                      => 'Bilanz',
70
  'Bin List'                    => 'Lagerliste',
69 71
  'Books are open'              => 'Die B?cher sind ge?ffnet.',
70 72
  'Buchungsgruppe'              => 'Buchungsgruppe',
71 73
  'Buchungsgruppe bearbeiten'   => 'Buchungsgruppe bearbeiten',
......
81 83
  'Cannot save account!'        => 'Konto kann nicht gespeichert werden!',
82 84
  'Cannot save preferences!'    => 'Benutzereinstellungen k?nnen nicht gespeichert werden!',
83 85
  'Chart of Accounts'           => 'Konten?bersicht',
86
  'Check'                       => 'Check',
84 87
  'Close Books up to'           => 'Die B?cher abschlie?en bis zum',
85 88
  'Company'                     => 'Firma',
89
  'Confirmation'                => 'Auftragsbest?tigung',
86 90
  'Continue'                    => 'Weiter',
87 91
  'Cost Center'                 => 'Kostenstelle',
88 92
  'Costs'                       => 'Kosten',
93
  'Credit Note'                 => 'Gutschrift',
89 94
  'Customer Number'             => 'Kundennummer',
90 95
  'Customernumberinit'          => 'Kunden-/Lieferantennummernkreis',
91 96
  'DELETED'                     => 'Gel?scht',
......
104 109
  'Description'                 => 'Beschreibung',
105 110
  'Description missing!'        => 'Beschreibung fehlt.',
106 111
  'Discount'                    => 'Rabatt',
112
  'Display'                     => 'Anzeigen',
113
  'Display file'                => 'Datei anzeigen',
107 114
  'Dropdown Limit'              => 'Auswahllistenbegrenzung',
108 115
  'E-mail'                      => 'eMail',
109 116
  'ELSE'                        => 'Zusatz',
......
118 125
  'Edit Payment Terms'          => 'Zahlungskonditionen bearbeiten',
119 126
  'Edit Preferences for'        => 'Benutzereinstellungen f?r',
120 127
  'Edit Printer'                => 'Drucker bearbeiten',
121
  'Edit Template'               => 'Vorlage bearbeiten',
128
  'Edit file'                   => 'Datei bearbeiten',
129
  'Edit templates'              => 'Vorlage bearbeiten',
130
  'Edit the stylesheet'         => 'Stilvorlage bearbeiten',
122 131
  'Enforce transaction reversal for all dates' => 'Gegenbuchungen f?r jeden Zeitraum aktualisieren',
123 132
  'Enter longdescription'       => 'Langtext eingeben',
124 133
  'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Geben Sie Ihre und weitere W?hrungen mit bis zu drei Buchstaben pro W?hrung und W?hrungen durch Doppelpunkte getrennt ein (z.B. EUR:USD:CAD)',
......
142 151
  'History'                     => 'Historie',
143 152
  'History Search'              => 'Historien Suche',
144 153
  'Include in drop-down menus'  => 'In Aufklappmen? aufnehmen',
154
  'Income Statement'            => 'GuV',
145 155
  'Inventory'                   => 'Inventar',
146 156
  'Inventory Account'           => 'Warenbestand',
157
  'Invoice'                     => 'Rechnung',
147 158
  'Is this a summary account to record' => 'Buchungskonto in',
148 159
  'Language'                    => 'Sprache',
149 160
  'Language deleted!'           => 'Sprache gel?scht!',
......
190 201
  'POSTED'                      => 'Gebucht',
191 202
  'POSTED AS NEW'               => 'Als neu gebucht',
192 203
  'PRINTED'                     => 'Gedruckt',
204
  'Packing List'                => 'Lieferschein',
193 205
  'Part Number'                 => 'Artikelnummer',
194 206
  'Part description'            => 'Artikelbeschreibung',
195 207
  'Parts Inventory'             => 'Warenliste',
196 208
  'Password'                    => 'Passwort',
197 209
  'Payables'                    => 'Verbindlichkeiten',
198 210
  'Payment'                     => 'Zahlungsausgang',
211
  'Payment Reminder'            => 'Zahlungserinnerung',
199 212
  'Payment Terms'               => 'Zahlungskonditionen',
200 213
  'Payment Terms saved!'        => 'Zahlungskonditionen gespeichert!',
201 214
  'Payment terms deleted!'      => 'Zahlungskonditionen gel?scht!',
202 215
  'Phone'                       => 'Telefon',
216
  'Pick List'                   => 'Sammelliste',
203 217
  'Please enter values'         => 'Bitte Werte eingeben',
204 218
  'Postscript'                  => 'Postscript',
205 219
  'Preferences saved!'          => 'Einstellungen gespeichert!',
......
211 225
  'Printer deleted!'            => 'Drucker gel?scht!',
212 226
  'Printer saved!'              => 'Drucker gespeichert!',
213 227
  'Profit Center'               => 'Erfolgsbereich',
228
  'Proforma Invoice'            => 'Proformarechnung',
214 229
  'Project Number'              => 'Projektnummer',
215 230
  'Project description'         => 'Projektbeschreibung',
231
  'Purchase Order'              => 'Lieferantenauftrag',
216 232
  'Queue'                       => 'Warteschlange',
233
  'Quotation'                   => 'Angebot',
234
  'RFQ'                         => 'Anfrage',
217 235
  'Rate'                        => 'Rate',
218 236
  'Receipt'                     => 'Zahlungseingang',
219 237
  'Receivables'                 => 'Forderungen',
......
223 241
  'SAVED FOR DUNNING'           => 'Gespeichert',
224 242
  'SCREENED'                    => 'Angezeigt',
225 243
  'Save'                        => 'Speichern',
244
  'Saving the file \'%s\' failed. OS error message: %s' => 'Das Speichern der Datei \'%s\' schlug fehl. Fehlermeldung des Betriebssystems: %s',
226 245
  'Screen'                      => 'Bildschirm',
227 246
  'Select a Customer'           => 'Endkunde ausw?hlen',
228 247
  'Select a part'               => 'Artikel ausw&auml;hlen',
......
234 253
  'Signature'                   => 'Unterschrift',
235 254
  'Skonto'                      => 'Skonto',
236 255
  'Skonto Terms'                => 'Zahlungsziel Skonto',
256
  'Statement'                   => 'Sammelrechnung',
237 257
  'Steuersatz'                  => 'Steuersatz',
258
  'Storno Invoice'              => 'Stornorechnung',
259
  'Storno Packing List'         => 'Stornolieferschein',
238 260
  'Stylesheet'                  => 'Stilvorlage',
239 261
  'Tax'                         => 'Steuer',
240 262
  'Tax Accounts'                => 'Steuerkonto',
263
  'Template'                    => 'Druckvorlage',
241 264
  'Template Code'               => 'Vorlagenk?rzel',
242 265
  'Template Code missing!'      => 'Vorlagenk?rzel fehlt!',
243
  'Template saved!'             => 'Schablone gespeichert!',
244 266
  'The \'tag\' field must only consist of alphanumeric characters or the carachters - _ ( )' => 'Das Feld \'tag\' darf nur aus alphanumerischen Zeichen und den Zeichen - _ ( ) bestehen.',
245 267
  'The base unit does not exist or it is about to be deleted in row %d.' => 'Die Basiseinheit in Zeile %d existiert nicht oder soll gel&ouml;scht werden.',
246 268
  'The base unit does not exist.' => 'Die Basiseinheit existiert nicht.',
......
260 282
  'Transaction reversal enforced up to' => 'Fehleintragungen k?nnen bis zu dem angegebenen Zeitraum nur mit einer Kontraeintragung ausgebessert werden!',
261 283
  'Translation (%s)'            => '&Uuml;bersetzung (%s)',
262 284
  'Type of Business'            => 'Kunden-/Lieferantentyp',
285
  'USTVA'                       => 'USTVA',
286
  'USTVA 2004'                  => 'USTVA 2004',
287
  'USTVA 2005'                  => 'USTVA 2005',
288
  'USTVA 2006'                  => 'USTVA 2006',
289
  'USTVA 2007'                  => 'USTVA 2007',
263 290
  'UStVA-Nr. 35'                => 'Kz. 35',
264 291
  'UStVA-Nr. 36'                => 'Kz. 36',
265 292
  'UStVA-Nr. 39'                => 'Kz. 37',
......
316 343
  'Year End'                    => 'Jahresende',
317 344
  'Yes'                         => 'Ja',
318 345
  'You can use the following strings in the long description and all translations. They will be replaced by their actual values by Lx-Office before they\'re output.' => 'Sie k&ouml;nnen im Langtext und allen ?bersetzungen die folgenden Variablen benutzen, die vor der Ausgabe von Lx-Office automatisch ersetzt werden:',
346
  'You\'re not editing a file.' => 'Sie bearbeiten momentan keine Datei.',
319 347
  'bin_list'                    => 'Lagerliste',
320 348
  'dimension units'             => 'Ma&szlig;einheiten',
321 349
  'down'                        => 'runter',
......
368 396
  'delete_printer'              => 'delete_printer',
369 397
  'delivery_customer_selection' => 'delivery_customer_selection',
370 398
  'department_header'           => 'department_header',
371
  'display_form'                => 'display_form',
372
  'display_stylesheet'          => 'display_stylesheet',
399
  'display'                     => 'display',
400
  'display_template'            => 'display_template',
401
  'display_template_form'       => 'display_template_form',
373 402
  'doclose'                     => 'doclose',
374 403
  'edit'                        => 'edit',
375 404
  'edit_account'                => 'edit_account',
......
432 461
  'konto_erfassen'              => 'add_account',
433 462
  'weiter'                      => 'continue',
434 463
  'l?schen'                     => 'delete',
464
  'anzeigen'                    => 'display',
435 465
  'bearbeiten'                  => 'edit',
436 466
  'kontodaten_bearbeiten'       => 'edit_account',
437 467
  'speichern'                   => 'save',
locale/de/menu
41 41
  'Buchungsgruppen'             => 'Buchungsgruppen',
42 42
  'Cash'                        => 'Zahlungsverkehr',
43 43
  'Chart of Accounts'           => 'Konten?bersicht',
44
  'Check'                       => 'Check',
45 44
  'Checks'                      => 'Schecks',
46 45
  'Contacts'                    => 'Kontakte',
47 46
  'Customer'                    => 'Kunde',
......
57 56
  'History Search Engine'       => 'Historien Suchmaschiene',
58 57
  'Import CSV'                  => 'Import CSV',
59 58
  'Income Statement'            => 'GuV',
60
  'Invoice'                     => 'Rechnung',
61 59
  'Invoices'                    => 'Rechnungen',
62 60
  'Journal'                     => 'Buchungsjournal',
63 61
  'LaTeX Templates'             => 'LaTeX-Vorlagen',
......
75 73
  'List Printer'                => 'Drucker anzeigen',
76 74
  'Logout'                      => 'Abmeldung',
77 75
  'Master Data'                 => 'Stammdaten',
78
  'Packing List'                => 'Lieferschein',
79 76
  'Packing Lists'               => 'Lieferschein',
80 77
  'Parts'                       => 'Waren',
81 78
  'Payment'                     => 'Zahlungsausgang',
......
87 84
  'Programm'                    => 'Programm',
88 85
  'Projects'                    => 'Projekte',
89 86
  'Projecttransactions'         => 'Projektbuchungen',
90
  'Purchase Order'              => 'Lieferantenauftrag',
91 87
  'Purchase Orders'             => 'Lieferantenauftr?ge',
92
  'Quotation'                   => 'Angebot',
93 88
  'Quotations'                  => 'Angebote',
94
  'RFQ'                         => 'Anfrage',
95 89
  'RFQs'                        => 'Anfragen',
96 90
  'Receipt'                     => 'Zahlungseingang',
97 91
  'Receipts'                    => 'Zahlungseing?nge',
98 92
  'Reconciliation'              => 'Kontenabgleich',
99 93
  'Reports'                     => 'Berichte',
100 94
  'Sales Invoices'              => 'Kundenrechnung',
101
  'Sales Order'                 => 'Kundenauftrag',
102 95
  'Sales Orders'                => 'Auftr?ge',
103 96
  'Service units'               => 'Dienstleistungseinheiten',
104 97
  'Services'                    => 'Dienstleistungen',
105 98
  'Shipto'                      => 'Lieferanschriften',
106
  'Statement'                   => 'Sammelrechnung',
107 99
  'Stylesheet'                  => 'Stilvorlage',
108 100
  'System'                      => 'System',
101
  'Templates'                   => 'Vorlagen',
109 102
  'Trial Balance'               => 'Saldenbilanz',
110 103
  'Type of Business'            => 'Kunden-/Lieferantentyp',
111
  'UStVA'                       => 'UStVA',
112
  'UStVA 2004'                  => 'UStVA 2004',
113
  'UStVA 2005'                  => 'UStVA 2005',
114
  'UStVA 2006'                  => 'UStVA 2006',
115 104
  'UStVa'                       => 'UStVa',
116 105
  'UStVa Einstellungen'         => 'UStVa Einstellungen',
117 106
  'Units'                       => 'Einheiten',
locale/de/menunew
40 40
  'Buchungsgruppen'             => 'Buchungsgruppen',
41 41
  'Cash'                        => 'Zahlungsverkehr',
42 42
  'Chart of Accounts'           => 'Konten?bersicht',
43
  'Check'                       => 'Check',
44 43
  'Checks'                      => 'Schecks',
45 44
  'Contacts'                    => 'Kontakte',
46 45
  'Customer'                    => 'Kunde',
......
56 55
  'History Search Engine'       => 'Historien Suchmaschiene',
57 56
  'Import CSV'                  => 'Import CSV',
58 57
  'Income Statement'            => 'GuV',
59
  'Invoice'                     => 'Rechnung',
60 58
  'Invoices'                    => 'Rechnungen',
61 59
  'Journal'                     => 'Buchungsjournal',
62 60
  'LaTeX Templates'             => 'LaTeX-Vorlagen',
......
74 72
  'List Printer'                => 'Drucker anzeigen',
75 73
  'Logout'                      => 'Abmeldung',
76 74
  'Master Data'                 => 'Stammdaten',
77
  'Packing List'                => 'Lieferschein',
78 75
  'Packing Lists'               => 'Lieferschein',
79 76
  'Parts'                       => 'Waren',
80 77
  'Payment'                     => 'Zahlungsausgang',
......
86 83
  'Programm'                    => 'Programm',
87 84
  'Projects'                    => 'Projekte',
88 85
  'Projecttransactions'         => 'Projektbuchungen',
89
  'Purchase Order'              => 'Lieferantenauftrag',
90 86
  'Purchase Orders'             => 'Lieferantenauftr?ge',
91
  'Quotation'                   => 'Angebot',
92 87
  'Quotations'                  => 'Angebote',
93
  'RFQ'                         => 'Anfrage',
94 88
  'RFQs'                        => 'Anfragen',
95 89
  'Receipt'                     => 'Zahlungseingang',
96 90
  'Receipts'                    => 'Zahlungseing?nge',
97 91
  'Reconciliation'              => 'Kontenabgleich',
98 92
  'Reports'                     => 'Berichte',
99 93
  'Sales Invoices'              => 'Kundenrechnung',
100
  'Sales Order'                 => 'Kundenauftrag',
101 94
  'Sales Orders'                => 'Auftr?ge',
102 95
  'Service units'               => 'Dienstleistungseinheiten',
103 96
  'Services'                    => 'Dienstleistungen',
104 97
  'Shipto'                      => 'Lieferanschriften',
105
  'Statement'                   => 'Sammelrechnung',
106 98
  'Stylesheet'                  => 'Stilvorlage',
107 99
  'System'                      => 'System',
100
  'Templates'                   => 'Vorlagen',
108 101
  'Trial Balance'               => 'Saldenbilanz',
109 102
  'Type of Business'            => 'Kunden-/Lieferantentyp',
110
  'UStVA'                       => 'UStVA',
111
  'UStVA 2004'                  => 'UStVA 2004',
112
  'UStVA 2005'                  => 'UStVA 2005',
113
  'UStVA 2006'                  => 'UStVA 2006',
114 103
  'UStVa'                       => 'UStVa',
115 104
  'UStVa Einstellungen'         => 'UStVa Einstellungen',
116 105
  'Units'                       => 'Einheiten',
menu.ini
567 567
module=lxo-import/partsB.php
568 568

  
569 569

  
570
[System--HTML Templates]
570
[System--Templates]
571 571
module=menu.pl
572 572
action=acc_menu
573 573
target=acc_menu
574 574
submenu=1
575 575

  
576
[System--HTML Templates--Income Statement]
576
[System--Templates--HTML Templates]
577 577
module=am.pl
578
action=display_form
579
file=templates=income_statement.html
578
action=display_template_form
579
type=templates
580
format=html
580 581

  
581
[System--HTML Templates--BWA]
582
[System--Templates--LaTeX Templates]
582 583
module=am.pl
583
action=display_form
584
file=templates=bwa.html
584
action=display_template_form
585
type=templates
586
format=tex
585 587

  
586
[System--HTML Templates--Balance Sheet]
588
[System--Templates--Stylesheet]
587 589
module=am.pl
588
action=display_form
589
file=templates=balance_sheet.html
590

  
591
[System--HTML Templates--Invoice]
592
module=am.pl
593
action=display_form
594
file=templates=invoice.html
595

  
596
[System--HTML Templates--Packing List]
597
module=am.pl
598
action=display_form
599
file=templates=packing_list.html
600

  
601
[System--HTML Templates--Sales Order]
602
module=am.pl
603
action=display_form
604
file=templates=sales_order.html
605

  
606
[System--HTML Templates--Purchase Order]
607
module=am.pl
608
action=display_form
609
file=templates=purchase_order.html
610

  
611
[System--HTML Templates--Statement]
612
module=am.pl
613
action=display_form
614
file=templates=statement.html
615

  
616
[System--HTML Templates--Quotation]
617
module=am.pl
618
action=display_form
619
file=templates=sales_quotation.html
620

  
621
[System--HTML Templates--RFQ]
622
module=am.pl
623
action=display_form
624
file=templates=request_quotation.html
625

  
626
[System--HTML Templates--UStVA]
627
module=am.pl
628
action=display_form
629
file=templates=ustva.html
630

  
631
[System--LaTeX Templates]
632
module=menu.pl
633
action=acc_menu
634
target=acc_menu
635
submenu=1
636

  
637
[System--LaTeX Templates--Invoice]
638
module=am.pl
639
action=display_form
640
file=templates=invoice.tex
641

  
642
[System--LaTeX Templates--Packing List]
643
module=am.pl
644
action=display_form
645
file=templates=packing_list.tex
646

  
647
[System--LaTeX Templates--Sales Order]
648
module=am.pl
649
action=display_form
650
file=templates=sales_order.tex
651

  
652
[System--LaTeX Templates--Purchase Order]
653
module=am.pl
654
action=display_form
655
file=templates=purchase_order.tex
656

  
657
[System--LaTeX Templates--Statement]
658
module=am.pl
659
action=display_form
660
file=templates=statement.tex
661

  
662
[System--LaTeX Templates--Check]
663
module=am.pl
664
action=display_form
665
file=templates=check.tex
666

  
667
[System--LaTeX Templates--Receipt]
668
module=am.pl
669
action=display_form
670
file=templates=receipt.tex
671

  
672
[System--LaTeX Templates--Quotation]
673
module=am.pl
674
action=display_form
675
file=templates=sales_quotation.tex
676

  
677
[System--LaTeX Templates--RFQ]
678
module=am.pl
679
action=display_form
680
file=templates=request_quotation.tex
681

  
682
[System--LaTeX Templates--UStVA 2006]
683
module=am.pl
684
action=display_form
685
file=templates=ustva-2006.tex
686

  
687
[System--LaTeX Templates--UStVA 2005]
688
module=am.pl
689
action=display_form
690
file=templates=ustva-2005.tex
691

  
692
[System--LaTeX Templates--UStVA 2004]
693
module=am.pl
694
action=display_form
695
file=templates=ustva-2004.tex
696

  
697
[System--Stylesheet]
698
module=am.pl
699
action=display_stylesheet
590
action=display_template_form
591
type=stylesheet
700 592

  
701 593
[System--Audit Control]
702 594
module=am.pl

Auch abrufbar als: Unified diff