Changeset 8 for Common/Locale.php
- Timestamp:
- Jan 22, 2016, 5:13:22 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Common/Locale.php
r6 r8 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.