Changeset 858 for trunk/Packages/Common/Locale.php
- Timestamp:
- Jan 21, 2016, 9:54:58 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/Common/Locale.php
r856 r858 51 51 $ClassName = 'LocaleText'.$Language; 52 52 $this->Texts = new $ClassName(); 53 } else throw new Exception( 'Language file '.$FileName.' not found');53 } else throw new Exception(sprintf(T('Language file %s not found'), $FileName)); 54 54 $this->Texts->Load(); 55 55 } … … 236 236 $this->CurrentLocale->Dir = $this->Dir; 237 237 $this->CurrentLocale->Load($Code); 238 } else throw new Exception( 'Unsupported locale code '.$Code);238 } else throw new Exception(sprintf(T('Unsupported locale code %s'), $Code)); 239 239 } 240 240 }
Note:
See TracChangeset
for help on using the changeset viewer.