]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Angebotssuche: Einige Strings waren noch nciht von Auftrag->Angebot übersetzt.
authorSven Schöling <s.schoeling@linet-services.de>
Thu, 4 Mar 2010 16:04:01 +0000 (17:04 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Thu, 4 Mar 2010 16:04:01 +0000 (17:04 +0100)
Fix für Bug 1294

bin/mozilla/oe.pl
doc/changelog
locale/de/login
locale/de/oe
locale/de/todo
templates/webpages/oe/search_de.html
templates/webpages/oe/search_master.html

index cdc8ac24693f5aa3a793c651f16d80b002e05df8..1532bf798de24e5867c2d310a40975f3bee179fe 100644 (file)
@@ -685,7 +685,10 @@ sub search {
 
   $form->header();
 
-  print $form->parse_html_template('oe/search', { %myconfig });
+  print $form->parse_html_template('oe/search', {
+    %myconfig,
+    is_order => $form->{type} =~ /_order/,
+  });
 
   $main::lxdebug->leave_sub();
 }
@@ -786,7 +789,7 @@ sub orders {
   my %column_defs = (
     'ids'                     => { 'text' => '', },
     'transdate'               => { 'text' => $locale->text('Date'), },
-    'reqdate'                 => { 'text' => $locale->text('Required by'), },
+    'reqdate'                 => { 'text' => $form->{type} =~ /_order/ ? $locale->text('Required by') : $locale->text('Valid until') },
     'id'                      => { 'text' => $locale->text('ID'), },
     'ordnumber'               => { 'text' => $locale->text('Order'), },
     'quonumber'               => { 'text' => $form->{type} eq "request_quotation" ? $locale->text('RFQ') : $locale->text('Quotation'), },
index 6c7298195276ce66f458a04492184806c0b36fac..2a84350a24637d1a2442fc4f0da048e6a9fa3519 100644 (file)
   1051 1055 1057 1058 1072 1073 1077 1079 1081 1082 1095 1098 1100 1101 1108
   1110 1118 1125 1127 1130 1133 1135 1136 1138 1144 1146 1147 1150 1151 1155
   1164 1173 1177 1186 1188 1190 1191 1195 1197 1198 1199 1200 1201 1209 1213
-  1243 1248 1250 1262 1286 1287 1289
+  1243 1248 1250 1262 1286 1287 1289 1294
 
 
 2009-06-02 - Version 2.6.0
index ab13646c5b57a66590bd05bd3b5811a37a4e9d2f..801703d890fe1c1e948b6ea3cebd49d21bfb7eb4 100644 (file)
@@ -338,6 +338,7 @@ $self->{texts} = {
   'USt-IdNr.'                   => 'USt-IdNr.',
   'Unit'                        => 'Einheit',
   'Unknown dependency \'%s\'.'  => 'Unbekannte Abh&auml;ngigkeit \'%s\'.',
+  'Valid until'                 => 'gültig bis',
   'Value'                       => 'Wert',
   'Variable'                    => 'Variable',
   'Vendor'                      => 'Lieferant',
index 8e37a069a64fdc4b29773ae891b42cdd37ccc47a..e7d53573a4ae99c371367de10d5256bd1aaa012f 100644 (file)
@@ -311,6 +311,7 @@ $self->{texts} = {
   'USt-IdNr.'                   => 'USt-IdNr.',
   'Unit'                        => 'Einheit',
   'Unknown dependency \'%s\'.'  => 'Unbekannte Abh&auml;ngigkeit \'%s\'.',
+  'Valid until'                 => 'gültig bis',
   'Value'                       => 'Wert',
   'Variable'                    => 'Variable',
   'Vendor'                      => 'Lieferant',
index 5a1ce5ad502039967feb20bae8cdceab9625cf40..d23059827bd20373d3e0464286f041e8c239ad78 100644 (file)
@@ -334,6 +334,7 @@ $self->{texts} = {
   'USt-IdNr.'                   => 'USt-IdNr.',
   'Unit'                        => 'Einheit',
   'Unknown dependency \'%s\'.'  => 'Unbekannte Abh&auml;ngigkeit \'%s\'.',
+  'Valid until'                 => 'gültig bis',
   'Value'                       => 'Wert',
   'Variable'                    => 'Variable',
   'Vendor'                      => 'Lieferant',
index 0ebe9e01c0e8352a32c7486297e6ad92e4b01d2c..20b38eb2d09b216dbca93ad138747e9f9ff43ea0 100644 (file)
@@ -1,4 +1,5 @@
 [%- USE HTML %]
+[%- USE T8 %]
 [%- SET vclabel = vc == 'customer' ? 'Kunde' : 'Lieferant' %]
 [%- SET vcnumberlabel = vc == 'customer' ? 'Kundennummer' : 'Lieferantennummer' %]
 <body>
      </td>
     </tr>
     <tr>
-     <th align="right">Auftragsdatum Von</th>
+     <th align="right">[% IF is_order %][% 'Order Date' | $T8 %][% ELSE %][% 'Quotation Date' | $T8 %][% END %] [% 'From' | $T8 %]</th>
      <td>
-      <input name="transdatefrom" id="transdatefrom" size="11" title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
+      <input name="transdatefrom" id="transdatefrom" size="11" title="[% dateformat | html %]" onBlur="check_right_date_format(this)">
       <input type="button" name="transdatefrom" id="trigger3" value="?">
      </td>
      <th align="right">bis</th>
      </td>
     </tr>
     <tr>
-     <th align="right">Lieferdatum Von</th>
+     <th align="right">[% IF is_order %][% 'Delivery Date' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] [% 'From' | $T8 %]</th>
      <td>
       <input name=reqdatefrom id=reqdatefrom size=11 title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
       <input type=button name=reqdatefrom id="trigger5" value=?>
         </td>
         <td>
          <input name="l_reqdate" id="l_reqdate" class="checkbox" type="checkbox" value="Y" checked>
-         <label for="l_reqdate">Lieferdatum</label>
+         <label for="l_reqdate">[% IF is_order %][% 'Required by' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %]</label>
         </td>
        </tr>
        <tr>
index cc0a2cbf3c1b497cd228cf984f621d32bdf056fc..a21ddcb3a760bf3456a72dd78633d03f6c33e7ab 100644 (file)
@@ -1,4 +1,5 @@
 [%- USE HTML %]
+[%- USE T8 %]
 [%- SET vclabel = vc == 'customer' ? '<translate>Customer</translate>' : '<translate>Vendor</translate>' %]
 [%- SET vcnumberlabel = vc == 'customer' ? '<translate>Customer Number</translate>' : '<translate>Vendor Number</translate>' %]
 <body>
      </td>
     </tr>
     <tr>
-     <th align="right"><translate>Order Date</translate> <translate>From</translate></th>
+     <th align="right">[% IF is_order %][% 'Order Date' | $T8 %][% ELSE %][% 'Quotation Date' | $T8 %][% END %] [% 'From' | $T8 %]</th>
      <td>
-      <input name="transdatefrom" id="transdatefrom" size="11" title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
+      <input name="transdatefrom" id="transdatefrom" size="11" title="[% dateformat | html %]" onBlur="check_right_date_format(this)">
       <input type="button" name="transdatefrom" id="trigger3" value="?">
      </td>
      <th align="right"><translate>Bis</translate></th>
      </td>
     </tr>
     <tr>
-     <th align="right"><translate>Delivery Date</translate> <translate>From</translate></th>
+     <th align="right">[% IF is_order %][% 'Delivery Date' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] [% 'From' | $T8 %]</th>
      <td>
       <input name=reqdatefrom id=reqdatefrom size=11 title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
       <input type=button name=reqdatefrom id="trigger5" value=?>
         </td>
         <td>
          <input name="l_reqdate" id="l_reqdate" class="checkbox" type="checkbox" value="Y" checked>
-         <label for="l_reqdate"><translate>Required by</translate></label>
+         <label for="l_reqdate">[% IF is_order %][% 'Required by' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %]</label>
         </td>
        </tr>
        <tr>