@@ -15,7 +15,6 @@ |
||
| 15 | 15 | use Prado\Exceptions\TErrorHandler; |
| 16 | 16 | use Prado\Exceptions\TPhpErrorException; |
| 17 | 17 | use Prado\Prado; |
| 18 | -use Prado\TApplication; |
|
| 19 | 18 | use Prado\Web\Javascripts\TJavaScript; |
| 20 | 19 | |
| 21 | 20 | /** |
@@ -110,13 +110,13 @@ |
||
| 110 | 110 | /** |
| 111 | 111 | * Factory method to instantiate a new MessageSource depending on the |
| 112 | 112 | * source type. The allowed source types are 'XLIFF', 'PHP', 'gettext' and |
| 113 | - * 'Database'. The source parameter depends on the source type. |
|
| 114 | - * For 'gettext', 'PHP' and 'XLIFF', 'source' should point to the directory |
|
| 115 | - * where the messages are stored. |
|
| 116 | - * For 'Database', 'source' must be a valid connection id. |
|
| 113 | + * 'Database'. The source parameter depends on the source type. |
|
| 114 | + * For 'gettext', 'PHP' and 'XLIFF', 'source' should point to the directory |
|
| 115 | + * where the messages are stored. |
|
| 116 | + * For 'Database', 'source' must be a valid connection id. |
|
| 117 | 117 | * |
| 118 | - * Custom message source are possible by supplying the a filename parameter |
|
| 119 | - * in the factory method. |
|
| 118 | + * Custom message source are possible by supplying the a filename parameter |
|
| 119 | + * in the factory method. |
|
| 120 | 120 | * |
| 121 | 121 | * @param string the message source type. |
| 122 | 122 | * @param string the location of the resource or the ConnectionID. |