Changeset 609 for trunk/Modules/FrontPage
- Timestamp:
- Nov 26, 2013, 10:45:01 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/FrontPage/FrontPage.php
r608 r609 39 39 if($this->System->User->Role == LICENCE_ANONYMOUS) 40 40 { 41 $Message = 'Jméno nebo heslo bylo zadáno špatně.';41 $Message = T('Incorrect name or password'); 42 42 $MessageType = MESSAGE_CRITICAL; 43 43 } else 44 44 { 45 $Message = 'Přihlášení proběhlo úspěšně. Vítej <strong>'.$this->System->User->Name.'</strong>!';45 $Message = sprintf(T('Login successful. Welcome <strong>%s</strong>!'), $this->System->User->Name); 46 46 $MessageType = MESSAGE_INFORMATION; 47 47 } 48 48 } else 49 49 { 50 $Message = 'Nebylo zadáno jméno a heslo.';50 $Message = T('User name or password was not entered'); 51 51 $MessageType = MESSAGE_CRITICAL; 52 52 } … … 58 58 $this->System->ModuleManager->Modules['Log']->WriteLog('Odhlášení', LOG_TYPE_USER); 59 59 $this->System->User->Logout(); 60 $Message = 'Byl jsi odhlášen.';60 $Message = T('You were logged out'); 61 61 $MessageType = MESSAGE_INFORMATION; 62 62 }
Note:
See TracChangeset
for help on using the changeset viewer.