Revision 37f2ab4d
Von G. Richardson vor mehr als 4 Jahren hinzugefügt
SL/Controller/Letter.pm | ||
---|---|---|
151 | 151 |
my ($self, %params) = @_; |
152 | 152 |
|
153 | 153 |
if (!$self->letter->delete) { |
154 |
flash('error', t8('An error occured. Letter could not be deleted.')); |
|
154 |
flash('error', t8('An error occurred. Letter could not be deleted.'));
|
|
155 | 155 |
return $self->action_update; |
156 | 156 |
} |
157 | 157 |
|
SL/DATEV.pm | ||
---|---|---|
1634 | 1634 |
|
1635 | 1635 |
=item errors |
1636 | 1636 |
|
1637 |
Returns a list of errors that occured. If no errors occured, the export was a success.
|
|
1637 |
Returns a list of errors that occurred. If no errors occurred, the export was a success.
|
|
1638 | 1638 |
|
1639 | 1639 |
=item export |
1640 | 1640 |
|
SL/DB.pm | ||
---|---|---|
205 | 205 |
=item Return values |
206 | 206 |
|
207 | 207 |
C<with_transaction> adopts the behaviour of C<eval> in that it returns the |
208 |
result of the inner block, and C<undef> if an error occured. This way you can |
|
208 |
result of the inner block, and C<undef> if an error occurred. This way you can
|
|
209 | 209 |
use the same pattern you would normally use with C<eval> for |
210 | 210 |
C<with_transaction>: |
211 | 211 |
|
SL/X.pm | ||
---|---|---|
22 | 22 |
'SL::X::DBRoseError' => { |
23 | 23 |
isa => 'SL::X::DBError', |
24 | 24 |
fields => [ qw(class metaobject object) ], |
25 |
defaults => { error_template => [ '\'%s\' in object of type \'%s\' occured', qw(db_error class) ] }, |
|
25 |
defaults => { error_template => [ '\'%s\' in object of type \'%s\' occurred', qw(db_error class) ] },
|
|
26 | 26 |
}, |
27 | 27 |
'SL::X::DBUtilsError' => { |
28 | 28 |
isa => 'SL::X::DBError', |
locale/de/all | ||
---|---|---|
290 | 290 |
'Amount payable' => 'Noch zu bezahlender Betrag', |
291 | 291 |
'Amount payable less discount' => 'Noch zu bezahlender Betrag abzüglich Skonto', |
292 | 292 |
'Amounts differ too much' => 'Beträge weichen zu sehr voneinander ab.', |
293 |
'An error occured. Letter could not be deleted.' => 'Es ist ein Fehler aufgetreten. Der Brief konnte nicht gelöscht werden.', |
|
293 |
'An error occurred. Letter could not be deleted.' => 'Es ist ein Fehler aufgetreten. Der Brief konnte nicht gelöscht werden.',
|
|
294 | 294 |
'An error occurred while transferring the file.' => 'Bei Übertragung der Datei trat ein Fehler auf', |
295 | 295 |
'An exception occurred during execution.' => 'Während der Ausführung trat eine Ausnahme auf.', |
296 | 296 |
'An invalid character was used (invalid characters: #1).' => 'Ein ungültiges Zeichen wurde benutzt (ungültige Zeichen: #1).', |
locale/en/all | ||
---|---|---|
290 | 290 |
'Amount payable' => '', |
291 | 291 |
'Amount payable less discount' => '', |
292 | 292 |
'Amounts differ too much' => '', |
293 |
'An error occured. Letter could not be deleted.' => '', |
|
293 |
'An error occurred. Letter could not be deleted.' => '',
|
|
294 | 294 |
'An error occurred while transferring the file.' => '', |
295 | 295 |
'An exception occurred during execution.' => '', |
296 | 296 |
'An invalid character was used (invalid characters: #1).' => '', |
t/006spellcheck.t | ||
---|---|---|
43 | 43 |
fomr |
44 | 44 |
invoce |
45 | 45 |
lenght |
46 |
occured |
|
46 | 47 |
paramater |
47 | 48 |
pirce |
48 | 49 |
postition |
templates/mail/self_test/status_mail.txt | ||
---|---|---|
1 | 1 |
kivitendo selftest report. |
2 | 2 |
|
3 | 3 |
[% IF errors %] |
4 |
General error(s) have occured. |
|
4 |
General error(s) have occurred.
|
|
5 | 5 |
[% errors %] |
6 | 6 |
[% END %] |
7 | 7 |
|
Auch abrufbar als: Unified diff
Typos und spellcheck für occurred