Revision 7fc5e2cc
Von Moritz Bunkus vor mehr als 16 Jahren hinzugefügt
locale/de/ct | ||
---|---|---|
240 | 240 |
'lieferadresse_l?schen' => 'delete_shipto', |
241 | 241 |
'neue_ware' => 'new_part', |
242 | 242 |
'speichern' => 'save', |
243 |
'speichern_und_kreditorenbuchung_erfassen' => 'save_and_ap_transaction', |
|
243 | 244 |
'speichern_und_debitorenbuchung_erfassen' => 'save_and_ar_transaction', |
244 | 245 |
'speichern_und_schlie?en' => 'save_and_close', |
245 | 246 |
'speichern_und_rechnung_erfassen' => 'save_and_invoice', |
246 | 247 |
'speichern_und_auftrag_erfassen' => 'save_and_order', |
247 | 248 |
'speichern_und_angebot' => 'save_and_quotation', |
249 |
'speichern_und_lieferantenanfrage' => 'save_and_rfq', |
|
248 | 250 |
}; |
249 | 251 |
|
250 | 252 |
1; |
templates/webpages/ct/form_footer_de.html | ||
---|---|---|
10 | 10 |
<br> |
11 | 11 |
<input class="submit" type="submit" name="action" accesskey="s" value="Speichern"> |
12 | 12 |
<input class="submit" type="submit" name="action" accesskey="s" value="Speichern und schlie?en"> |
13 |
<input class="submit" type="submit" name="action" value="[% IF is_cumstomer %]Speichern und Debitorenbuchung erfassen[% ELSE %]Speichern und Kreditorenbuchung erfassen[% END %]"> |
|
13 |
[%- IF is_cumstomer %] |
|
14 |
<input class="submit" type="submit" name="action" value="Speichern und Debitorenbuchung erfassen"> |
|
15 |
[%- ELSE %] |
|
16 |
<input class="submit" type="submit" name="action" value="Speichern und Kreditorenbuchung erfassen"> |
|
17 |
[%- END %] |
|
14 | 18 |
<input class="submit" type="submit" name="action" value="Speichern und Rechnung erfassen"> |
15 | 19 |
<input class="submit" type="submit" name="action" value="Speichern und Auftrag erfassen"> |
16 |
<input class="submit" type="submit" name="action" value="[% IF is_customer %]Speichern und Angebot[% ELSE %]Speichern und Lieferantenanfrage[% END %]"> |
|
20 |
[%- IF is_customer %] |
|
21 |
<input class="submit" type="submit" name="action" value="Speichern und Angebot"> |
|
22 |
[%- ELSE %] |
|
23 |
<input class="submit" type="submit" name="action" value="Speichern und Lieferantenanfrage"> |
|
24 |
[%- END %] |
|
17 | 25 |
[%- IF id AND is_orphaned %] |
18 | 26 |
<input class="submit" type="submit" name="action" value="L?schen"> |
19 | 27 |
[%- END %] |
templates/webpages/ct/form_footer_master.html | ||
---|---|---|
10 | 10 |
<br> |
11 | 11 |
<input class="submit" type="submit" name="action" accesskey="s" value="<translate>Save</translate>"> |
12 | 12 |
<input class="submit" type="submit" name="action" accesskey="s" value="<translate>Save and Close</translate>"> |
13 |
<input class="submit" type="submit" name="action" value="[% IF is_cumstomer %]<translate>Save and AR Transaction</translate>[% ELSE %]<translate>Save and AP Transaction</translate>[% END %]"> |
|
13 |
[%- IF is_cumstomer %] |
|
14 |
<input class="submit" type="submit" name="action" value="<translate>Save and AR Transaction</translate>"> |
|
15 |
[%- ELSE %] |
|
16 |
<input class="submit" type="submit" name="action" value="<translate>Save and AP Transaction</translate>"> |
|
17 |
[%- END %] |
|
14 | 18 |
<input class="submit" type="submit" name="action" value="<translate>Save and Invoice</translate>"> |
15 | 19 |
<input class="submit" type="submit" name="action" value="<translate>Save and Order</translate>"> |
16 |
<input class="submit" type="submit" name="action" value="[% IF is_customer %]<translate>Save and Quotation</translate>[% ELSE %]<translate>Save and RFQ</translate>[% END %]"> |
|
20 |
[%- IF is_customer %] |
|
21 |
<input class="submit" type="submit" name="action" value="<translate>Save and Quotation</translate>"> |
|
22 |
[%- ELSE %] |
|
23 |
<input class="submit" type="submit" name="action" value="<translate>Save and RFQ</translate>"> |
|
24 |
[%- END %] |
|
17 | 25 |
[%- IF id AND is_orphaned %] |
18 | 26 |
<input class="submit" type="submit" name="action" value="<translate>Delete</translate>"> |
19 | 27 |
[%- END %] |
Auch abrufbar als: Unified diff
Aufgrund einer Schwäche im Parser von locales.pl darf innerhalb eines <input type="submit">-Tags nur einmal ein <translate>...</translate> vorkommen. Ansonsten wird nur der erste zu übersetzende Begriff auch als Name einer Perl-Unterfunktion erkannt und entsprechend in die Locale-Datei geschrieben.