Revize d6054e93
Přidáno uživatelem Jan Šedivý před asi 6 roky(ů)
app/AdminModule/component/Surface/SurfaceTypeEditFormFactory.php | ||
---|---|---|
39 | 39 |
$form = new Form(); |
40 | 40 |
|
41 | 41 |
$form->addText(SurfaceTypeRepository::COLUMN_SURFACE_TYPE, 'Surface Type') |
42 |
->addRule(Form::REQUIRED, 'Pole %label je povinné.');
|
|
42 |
->addRule(Form::REQUIRED, 'Field %label is required.');
|
|
43 | 43 |
|
44 | 44 |
$form->addInteger(SurfaceTypeRepository::COLUMN_SORTER, 'Sorter') |
45 |
->addRule(Form::REQUIRED, 'Pole %label je povinné.');
|
|
45 |
->addRule(Form::REQUIRED, 'Field %label is required.');
|
|
46 | 46 |
|
47 | 47 |
$form->addSubmit('submit', 'Save'); |
48 | 48 |
|
... | ... | |
82 | 82 |
$this->presenter->redirect('Surface:'); |
83 | 83 |
} else |
84 | 84 |
{ |
85 |
$this->presenter->flashMessage('Uživatele se nepodařilo upravit.', EFlashMessage::ERROR);
|
|
85 |
$this->presenter->flashMessage('Surface type could not be saved.', EFlashMessage::ERROR);
|
|
86 | 86 |
} |
87 | 87 |
} |
88 | 88 |
} |
Také k dispozici: Unified diff
Re #7336 anglická lokalizace textů