Browse Source

Upload Yii 1.1.18

master v1.1.18
parent
commit
053cc7c2db
  1. 28
      CHANGELOG
  2. 10
      UPGRADE
  3. 2
      demos/blog/protected/models/LoginForm.php
  4. 0
      demos/blog/protected/yiic
  5. 4
      framework/YiiBase.php
  6. 6
      framework/base/CApplication.php
  7. 9
      framework/base/CComponent.php
  8. 2
      framework/base/CModule.php
  9. 31
      framework/base/CSecurityManager.php
  10. 3
      framework/base/CStatePersister.php
  11. 2
      framework/caching/CFileCache.php
  12. 3
      framework/caching/CRedisCache.php
  13. 10
      framework/cli/commands/MessageCommand.php
  14. 13
      framework/cli/commands/ShellCommand.php
  15. 2
      framework/cli/views/webapp/protected/models/LoginForm.php
  16. 0
      framework/cli/views/webapp/protected/yiic
  17. 20
      framework/db/CDbConnection.php
  18. 1
      framework/db/ar/CActiveFinder.php
  19. 7
      framework/db/ar/CActiveRecord.php
  20. 7
      framework/db/schema/sqlite/CSqliteSchema.php
  21. 18
      framework/gii/components/Pear/Text/Diff.php
  22. 4
      framework/gii/components/Pear/Text/Diff/Engine/native.php
  23. 10
      framework/gii/components/Pear/Text/Diff/Engine/shell.php
  24. 19
      framework/gii/components/Pear/Text/Diff/Engine/string.php
  25. 7
      framework/gii/components/Pear/Text/Diff/Engine/xdiff.php
  26. 8
      framework/gii/components/Pear/Text/Diff/Mapped.php
  27. 6
      framework/gii/components/Pear/Text/Diff/Renderer.php
  28. 4
      framework/gii/components/Pear/Text/Diff/Renderer/context.php
  29. 14
      framework/gii/components/Pear/Text/Diff/Renderer/inline.php
  30. 4
      framework/gii/components/Pear/Text/Diff/Renderer/unified.php
  31. 12
      framework/gii/components/Pear/Text/Diff/ThreeWay.php
  32. 10
      framework/gii/components/Pear/Text/Diff3.php
  33. 1
      framework/gii/components/UserIdentity.php
  34. 2
      framework/gii/models/LoginForm.php
  35. 2
      framework/i18n/CGettextMessageSource.php
  36. 2
      framework/i18n/gettext/CGettextMoFile.php
  37. 142
      framework/messages/bs/yii.php
  38. 32
      framework/messages/fr/yii.php
  39. 231
      framework/messages/hr/yii.php
  40. 2
      framework/utils/CFileHelper.php
  41. 10
      framework/utils/CPropertyValue.php
  42. 4
      framework/validators/CRangeValidator.php
  43. 9
      framework/vendors/README.html
  44. 6
      framework/vendors/TextHighlighter/Text/Highlighter.php
  45. 877
      framework/vendors/TextHighlighter/Text/Highlighter/AVRC.php
  46. 66
      framework/vendors/TextHighlighter/Text/Highlighter/CPP.php
  47. 4
      framework/vendors/TextHighlighter/Text/Highlighter/PHP.php
  48. 5
      framework/vendors/TextHighlighter/Text/Highlighter/Renderer/Array.php
  49. 13
      framework/vendors/TextHighlighter/Text/Highlighter/Renderer/Console.php
  50. 32
      framework/vendors/TextHighlighter/Text/Highlighter/Renderer/Html.php
  51. 22
      framework/vendors/TextHighlighter/Text/README
  52. 316
      framework/vendors/TextHighlighter/Text/avrc.xml
  53. 10
      framework/vendors/TextHighlighter/Text/cpp.xml
  54. 4
      framework/vendors/TextHighlighter/Text/generate
  55. 4
      framework/vendors/TextHighlighter/Text/generate.bat
  56. 4
      framework/vendors/TextHighlighter/Text/php.xml
  57. 915
      framework/vendors/htmlpurifier/HTMLPurifier.standalone.php
  58. 8
      framework/vendors/htmlpurifier/standalone/HTMLPurifier/ConfigSchema/Builder/ConfigSchema.php
  59. 94
      framework/vendors/htmlpurifier/standalone/HTMLPurifier/ConfigSchema/Builder/Xml.php
  60. 28
      framework/vendors/htmlpurifier/standalone/HTMLPurifier/ConfigSchema/Interchange/Directive.php
  61. 33
      framework/vendors/htmlpurifier/standalone/HTMLPurifier/ConfigSchema/Interchange/Id.php
  62. BIN
      framework/vendors/htmlpurifier/standalone/HTMLPurifier/ConfigSchema/schema.ser
  63. 10
      framework/vendors/htmlpurifier/standalone/HTMLPurifier/ConfigSchema/schema/Attr.ID.HTML5.txt
  64. 14
      framework/vendors/htmlpurifier/standalone/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.Predicate.txt
  65. 11
      framework/vendors/htmlpurifier/standalone/HTMLPurifier/ConfigSchema/schema/CSS.AllowDuplicates.txt
  66. 7
      framework/vendors/htmlpurifier/standalone/HTMLPurifier/ConfigSchema/schema/Cache.SerializerPermissions.txt
  67. 16
      framework/vendors/htmlpurifier/standalone/HTMLPurifier/ConfigSchema/schema/Core.AggressivelyRemoveScript.txt
  68. 36
      framework/vendors/htmlpurifier/standalone/HTMLPurifier/ConfigSchema/schema/Core.LegacyEntityDecoder.txt
  69. 2
      framework/vendors/htmlpurifier/standalone/HTMLPurifier/ConfigSchema/schema/HTML.CustomDoctype.txt
  70. 10
      framework/vendors/htmlpurifier/standalone/HTMLPurifier/ConfigSchema/schema/HTML.TargetNoopener.txt
  71. 9
      framework/vendors/htmlpurifier/standalone/HTMLPurifier/ConfigSchema/schema/HTML.TargetNoreferrer.txt
  72. 1
      framework/vendors/htmlpurifier/standalone/HTMLPurifier/ConfigSchema/schema/URI.AllowedSchemes.txt
  73. 7
      framework/vendors/htmlpurifier/standalone/HTMLPurifier/ConfigSchema/schema/URI.DefaultScheme.txt
  74. 96
      framework/vendors/htmlpurifier/standalone/HTMLPurifier/Filter/ExtractStyleBlocks.php
  75. 58
      framework/vendors/htmlpurifier/standalone/HTMLPurifier/Filter/YouTube.php
  76. 3
      framework/vendors/htmlpurifier/standalone/HTMLPurifier/Language/classes/en-x-test.php
  77. 4324
      framework/vendors/htmlpurifier/standalone/HTMLPurifier/Lexer/PH5P.php
  78. 4
      framework/vendors/htmlpurifier/standalone/HTMLPurifier/Printer/ConfigForm.php
  79. 384
      framework/vendors/zend-escaper/Escaper.php
  80. 28
      framework/vendors/zend-escaper/LICENSE.md
  81. 9
      framework/web/CArrayDataProvider.php
  82. 1
      framework/web/CBaseController.php
  83. 10
      framework/web/CCacheHttpSession.php
  84. 37
      framework/web/CClientScript.php
  85. 3
      framework/web/CController.php
  86. 2
      framework/web/CDbHttpSession.php
  87. 21
      framework/web/CHttpRequest.php
  88. 5
      framework/web/CHttpSession.php
  89. 4
      framework/web/CUrlManager.php
  90. 1
      framework/web/auth/CAccessControlFilter.php
  91. 1
      framework/web/auth/CPhpAuthManager.php
  92. 1
      framework/web/auth/CUserIdentity.php
  93. 10
      framework/web/auth/CWebUser.php
  94. 1
      framework/web/filters/CFilterChain.php
  95. 1
      framework/web/filters/CHttpCacheFilter.php
  96. 1
      framework/web/form/CFormElementCollection.php
  97. 20
      framework/web/helpers/CHtml.php
  98. 10
      framework/web/helpers/CJavaScript.php
  99. 1
      framework/web/renderers/CViewRenderer.php
  100. 1
      framework/web/services/CWebService.php

28
CHANGELOG

@ -1,9 +1,31 @@
Yii Framework Change Log
========================
Version 1.1.17 Januar 13, 2016
------------------------------
Version 1.1.18 April 19, 2017
-----------------------------
- Bug #4004: Better fix for PostgreSQL Session storage (GuillaumeSmaha)
- Bug #4015: Fixed bug with missing "disabled" attribute in internally rendered hidden fields (rob006)
- Bug #4020: Fixed PHP 7 related bug in CCacheHttpSession when destroying not cached sessions (dirx)
- Bug #4034: Fixed `CHttpSession::getIsStarted()` PHP 7 compatibility (tomotomo)
- Bug #4043: Fixed `CJavaScript::quote()` to properly escape Unicode characters (samdark)
- Bug #4061: Fixed "Fatal Error: Nesting level too deep - recursive dependency" error in `CArrayDataProvider` (kf99916, andrewnester)
- Bug #4064: Fixed CHtml::beginForm which produced wrong HTML when using an anchor in the action URL of a GET form (Mytskine)
- Bug #4069: Fixed error with `eCRedisCache::executeCommand()` when the previous connection timeout exception was catched (taobig)
- Bug #4104: Fixed PHP 7 compatibiltiy in Text_Highlighter (samdark)
- Bug #4111: Fixed PHP 7.1 incompatibility with CFileCache when `$embedExpiry=false` (cebe)
- Bug #4130: Fixed PHP 7 added an interception of the ParseError exception for the eval() usage (devcommiter)
- Bug #4133: Fixed PHP 7 usage of the func_get_args() functions in YiiBase.php (devcommiter)
- Enh #2819: backported masking of CSRF tokens from Yii 2.0 (samdark)
- Enh #4049: Added '//' as a proper beginning of absolute URL in createAbsoluteUrl() method (ksowa)
- Enh #4075: Added CClientScript::hasPackage() (samdark)
- Chg #4033: Updated Pear/Text used by Gii so it's PHP 7 compatible (samdark)
- Chg #4103: Updated HTMLPurifier to version 4.9.2 (samdark)
- Chg: Updated Text_Highlighter to version 0.7.3 (samdark)
- Chg: Fixed PHP 7.1 incompatibility in Text_Highlighter (cebe)
Version 1.1.17 January 13, 2016
------------------------------
- Bug #1191: Fixed undefined index in CListIterator when data removed in parent CList (steven-hadfield)
- Bug #2881: CGridView was blocking refresh on filter field change event after previous filtering using ENTER key (sivir)
- Bug #2921: Fixed CStatePersister read/write concurrency issue causing state data corruption (matteosistisette, samdark)
@ -20,7 +42,6 @@ Version 1.1.17 Januar 13, 2016
- Bug #3724: Fixed namespace prefix in WSDL generator for arrayType. (ametad)
- Bug #3757: Fixed regression in 1.1.16 `CPgsqlSchema::dropIndex()` (samdark)
- Bug #3764: Fixed regression in 1.1.16, `CEmailValidator::validateValue()` should not allow empty values to pass (cebe)
- Enh #3812: Added 'validateValue' method to 'CBooleanValidator' class (UA2004)
- Bug #3833: Fixed `CHttpRequest::sendFile()` range support in case `mbstring.internal_encoding=UTF-8` (MonkeyMaster)
- Bug #3869: jQuery Yii GridView now doesn't fail when refreshing grid via POST request (a-t)
- Bug #3879: Numeric labels in CBreadCrumbs reindex after using array_merge (AloneCoder)
@ -33,6 +54,7 @@ Version 1.1.17 Januar 13, 2016
- Enh #3457: CHttpRequest can now detect content type and decode JSON in REST method bodies. (Sibilino)
- Enh #3686: Wrapper div of hidden fields in CForm now have style `display:none` instead of `visibility:hidden` to not affect the layout (cebe, alaabadran)
- Enh #3738: It is now possible to override the value of 'required' html option in `CHtml::activeLabelEx()` (matteosistisette)
- Enh #3812: Added 'validateValue' method to 'CBooleanValidator' class (UA2004)
- Enh #3827: Added the $options parameter to be used in stream_socket_client in CRedisCache.
- Enh #3872: Added database-based StatePersister implementation (AloneCoder)
- Enh #3948: Enhanced CHttpRequest path info extraction for compatibility with PHP 7 (dmitrivereshchagin)

10
UPGRADE

@ -1,4 +1,4 @@
Upgrading Instructions for Yii Framework v1.1.17
Upgrading Instructions for Yii Framework v1.1.18
================================================
!!!IMPORTANT!!!
@ -17,10 +17,18 @@ General upgrade instructions
- Check if everything is OK, if not — revert from backup and post
issues to Yii issue tracker.
Upgrading from v1.1.17
----------------------
No significant changes were made.
Upgrading from v1.1.16
----------------------
- If you're using CApcCache with APCu, set `useApcu` to `true` in the component config.
- Undocumented usage of regular expressions outside parameters in URL rules was considered a bug (#3348). Regular
expressions are now escaped properly so if you rely on previous behavior, please update your code.
Upgrading from v1.1.15
----------------------

2
demos/blog/protected/models/LoginForm.php

@ -43,6 +43,8 @@ class LoginForm extends CFormModel
/**
* Authenticates the password.
* This is the 'authenticate' validator as declared in rules().
* @param string $attribute the name of the attribute to be validated.
* @param array $params additional parameters passed with rule when being executed.
*/
public function authenticate($attribute,$params)
{

0
demos/blog/protected/yiic

4
framework/YiiBase.php

@ -80,7 +80,7 @@ class YiiBase
*/
public static function getVersion()
{
return '1.1.17';
return '1.1.18';
}
/**
@ -179,6 +179,7 @@ class YiiBase
*/
public static function createComponent($config)
{
$args = func_get_args();
if(is_string($config))
{
$type=$config;
@ -197,7 +198,6 @@ class YiiBase
if(($n=func_num_args())>1)
{
$args=func_get_args();
if($n===2)
$object=new $type($args[1]);
elseif($n===3)

6
framework/base/CApplication.php

@ -133,7 +133,7 @@ abstract class CApplication extends CModule
{
Yii::setApplication($this);
// set basePath at early as possible to avoid trouble
// set basePath as early as possible to avoid trouble
if(is_string($config))
$config=require($config);
if(isset($config['basePath']))
@ -400,7 +400,7 @@ abstract class CApplication extends CModule
/**
* Returns the locale instance.
* @param string $localeID the locale ID (e.g. en_US). If null, the {@link getLanguage application language ID} will be used.
* @return an instance of CLocale
* @return CLocale an instance of CLocale
*/
public function getLocale($localeID=null)
{
@ -572,7 +572,7 @@ abstract class CApplication extends CModule
public function createAbsoluteUrl($route,$params=array(),$schema='',$ampersand='&')
{
$url=$this->createUrl($route,$params,$ampersand);
if(strpos($url,'http')===0)
if(strpos($url,'http')===0 || strpos($url,'//')===0)
return $url;
else
return $this->getRequest()->getHostInfo($schema).$url;

9
framework/base/CComponent.php

@ -609,7 +609,14 @@ class CComponent
if(is_string($_expression_))
{
extract($_data_);
return eval('return '.$_expression_.';');
try
{
return eval('return ' . $_expression_ . ';');
}
catch (ParseError $e)
{
return false;
}
}
else
{

2
framework/base/CModule.php

@ -71,7 +71,7 @@ abstract class CModule extends CComponent
$this->_id=$id;
$this->_parentModule=$parent;
// set basePath at early as possible to avoid trouble
// set basePath as early as possible to avoid trouble
if(is_string($config))
$config=require($config);
if(isset($config['basePath']))

31
framework/base/CSecurityManager.php

@ -614,4 +614,35 @@ class CSecurityManager extends CApplicationComponent
$diff|=(ord($actual[$i])^ord($expected[$i%$expectedLength]));
return $diff===0;
}
/**
* Masks a token to make it uncompressible.
* Applies a random mask to the token and prepends the mask used to the result making the string always unique.
* Used to mitigate BREACH attack by randomizing how token is outputted on each request.
* @param string $token An unmasked token.
* @return string A masked token.
* @since 1.1.18
*/
public function maskToken($token)
{
// The number of bytes in a mask is always equal to the number of bytes in a token.
$mask=$this->generateRandomString($this->strlen($token));
return strtr(base64_encode($mask.($mask^$token)),'+/','-_');
}
/**
* Unmasks a token previously masked by `maskToken`.
* @param string $maskedToken A masked token.
* @return string An unmasked token, or an empty string in case of token format is invalid.
* @since 1.1.18
*/
public function unmaskToken($maskedToken)
{
$decoded=base64_decode(strtr($maskedToken,'-_','+/'));
$length=$this->strlen($decoded)/2;
// Check if the masked token has an even length.
if(!is_int($length))
return '';
return $this->substr($decoded,$length,$length)^$this->substr($decoded,0,$length);
}
}

3
framework/base/CStatePersister.php

@ -105,7 +105,8 @@ class CStatePersister extends CApplicationComponent implements IStatePersister
* Loads content from file using a shared lock to avoid data corruption when reading
* the file while it is being written by save()
*
* @return string file contents
* @param string $filename file name
* @return bool|string file contents
* @since 1.1.17
*/
protected function getContent($filename)

2
framework/caching/CFileCache.php

@ -130,7 +130,7 @@ class CFileCache extends CCache
{
$cacheFile=$this->getCacheFile($key);
if(($time=$this->filemtime($cacheFile))>time())
return @file_get_contents($cacheFile,false,null,$this->embedExpiry ? 10 : -1);
return @file_get_contents($cacheFile,false,null,$this->embedExpiry ? 10 : null);
elseif($time>0)
@unlink($cacheFile);
return false;

3
framework/caching/CRedisCache.php

@ -95,7 +95,10 @@ class CRedisCache extends CCache
$this->executeCommand('SELECT',array($this->database));
}
else
{
$this->_socket = null;
throw new CException('Failed to connect to redis: '.$errorDescription,(int)$errorNumber);
}
}
/**

10
framework/cli/commands/MessageCommand.php

@ -147,7 +147,15 @@ EOD;
else
$category=substr($matches[$i][1],1,-1);
$message=$matches[$i][2];
$messages[$category][]=eval("return $message;"); // use eval to eliminate quote escape
try
{
$evalResult = eval("return $message;"); // use eval to eliminate quote escape
}
catch (ParseError $e)
{
$evalResult = false;
}
$messages[$category][] = $evalResult;
}
}
return $messages;

13
framework/cli/commands/ShellCommand.php

@ -125,7 +125,18 @@ EOD;
$_command_->run($_args_);
}
else
echo eval($_line_.';');
{
try
{
$evalResult = eval($_line_ . ';');
}
catch (ParseError $e)
{
$evalResult = false;
}
echo $evalResult;
}
}
catch(Exception $e)
{

2
framework/cli/views/webapp/protected/models/LoginForm.php

@ -43,6 +43,8 @@ class LoginForm extends CFormModel
/**
* Authenticates the password.
* This is the 'authenticate' validator as declared in rules().
* @param string $attribute the name of the attribute to be validated.
* @param array $params additional parameters passed with rule when being executed.
*/
public function authenticate($attribute,$params)
{

0
framework/cli/views/webapp/protected/yiic

20
framework/db/CDbConnection.php

@ -582,6 +582,26 @@ class CDbConnection extends CApplicationComponent
return "'" . addcslashes(str_replace("'", "''", $str), "\000\n\r\\\032") . "'";
}
/**
* Quotes a value for use in a query using a given type.
* @param mixed $value the value to be quoted.
* @param integer $type The type to be used for quoting.
* This should be one of the `PDO::PARAM_*` constants described in
* {@link http://www.php.net/manual/en/pdo.constants.php PDO documentation}.
* This parameter will be passed to the `PDO::quote()` function.
* @return string the properly quoted string.
* @see http://www.php.net/manual/en/function.PDO-quote.php
* @since 1.1.18
*/
public function quoteValueWithType($value, $type)
{
$this->setActive(true);
if(($quoted=$this->_pdo->quote($value, $type))!==false)
return $quoted;
else // the driver doesn't support quote (e.g. oci)
return "'" . addcslashes(str_replace("'", "''", $value), "\000\n\r\\\032") . "'";
}
/**
* Quotes a table name for use in a query.
* If the table name contains schema prefix, the prefix will also be properly quoted.

1
framework/db/ar/CActiveFinder.php

@ -194,6 +194,7 @@ class CActiveFinder extends CComponent
* @param CJoinElement $parent the parent tree node
* @param mixed $with the names of the related objects relative to the parent tree node
* @param array $options additional query options to be merged with the relation
* @return CJoinElement|mixed
* @throws CDbException if given parent tree node is an instance of {@link CStatElement}
* or relation is not defined in the given parent's tree node model class
*/

7
framework/db/ar/CActiveRecord.php

@ -150,6 +150,7 @@ abstract class CActiveRecord extends CModel
* This method is overridden so that AR attributes can be accessed like properties.
* @param string $name property name
* @param mixed $value property value
* @throws CException
*/
public function __set($name,$value)
{
@ -188,6 +189,7 @@ abstract class CActiveRecord extends CModel
* This method overrides the parent implementation by clearing
* the specified attribute value.
* @param string $name the property name or the event name
* @throws CException
*/
public function __unset($name)
{
@ -812,9 +814,10 @@ abstract class CActiveRecord extends CModel
}
/**
* Returns if the current record is new.
* Returns if the current record is new (was never saved to database)
* @return boolean whether the record is new and should be inserted when calling {@link save}.
* This property is automatically set in constructor and {@link populateRecord}.
* This property is automatically set in constructor and {@link populateRecord} and is set
* to false right after inserting record to database.
* Defaults to false, but it will be set to true if the instance is created using
* the new operator.
*/

7
framework/db/schema/sqlite/CSqliteSchema.php

@ -225,6 +225,7 @@ class CSqliteSchema extends CDbSchema
* @param string $column the name of the column to be dropped. The name will be properly quoted by the method.
* @return string the SQL statement for dropping a DB column.
* @since 1.1.6
* @throws CDbException
*/
public function dropColumn($table, $column)
{
@ -239,6 +240,7 @@ class CSqliteSchema extends CDbSchema
* @param string $newName the new name of the column. The name will be properly quoted by the method.
* @return string the SQL statement for renaming a DB column.
* @since 1.1.6
* @throws CDbException
*/
public function renameColumn($table, $name, $newName)
{
@ -257,6 +259,7 @@ class CSqliteSchema extends CDbSchema
* @param string $update the ON UPDATE option. Most DBMS support these options: RESTRICT, CASCADE, NO ACTION, SET DEFAULT, SET NULL
* @return string the SQL statement for adding a foreign key constraint to an existing table.
* @since 1.1.6
* @throws CDbException
*/
public function addForeignKey($name, $table, $columns, $refTable, $refColumns, $delete=null, $update=null)
{
@ -270,6 +273,7 @@ class CSqliteSchema extends CDbSchema
* @param string $table the table whose foreign is to be dropped. The name will be properly quoted by the method.
* @return string the SQL statement for dropping a foreign key constraint.
* @since 1.1.6
* @throws CDbException
*/
public function dropForeignKey($name, $table)
{
@ -286,6 +290,7 @@ class CSqliteSchema extends CDbSchema
* For example, 'string' will be turned into 'varchar(255)', while 'string not null' will become 'varchar(255) not null'.
* @return string the SQL statement for changing the definition of a column.
* @since 1.1.6
* @throws CDbException
*/
public function alterColumn($table, $column, $type)
{
@ -312,6 +317,7 @@ class CSqliteSchema extends CDbSchema
* @param string|array $columns comma separated string or array of columns that the primary key will consist of.
* @return string the SQL statement for adding a primary key constraint to an existing table.
* @since 1.1.13
* @throws CDbException
*/
public function addPrimaryKey($name,$table,$columns)
{
@ -326,6 +332,7 @@ class CSqliteSchema extends CDbSchema
* @param string $table the table that the primary key constraint will be removed from.
* @return string the SQL statement for removing a primary key constraint from an existing table.
* @since 1.1.13
* @throws CDbException
*/
public function dropPrimaryKey($name,$table)
{

18
framework/gii/components/Pear/Text/Diff.php

@ -6,10 +6,10 @@
* The original PHP version of this code was written by Geoffrey T. Dairiki
* <dairiki@dairiki.org>, and is used/adapted with his permission.
*
* $Horde: framework/Text_Diff/Diff.php,v 1.11.2.11 2008/02/24 10:57:46 jan Exp $
* $Horde: framework/Text_Diff/Diff.php,v 1.11.2.12 2009/01/06 15:23:41 jan Exp $
*
* Copyright 2004 Geoffrey T. Dairiki <dairiki@dairiki.org>
* Copyright 2004-2008 The Horde Project (http://www.horde.org/)
* Copyright 2004-2009 The Horde Project (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (LGPL). If you did
* not receive this file, see http://opensource.org/licenses/lgpl-license.php.
@ -35,7 +35,7 @@ class Text_Diff {
* Normally an array of two arrays, each
* containing the lines from a file.
*/
function Text_Diff($engine, $params)
function __construct($engine, $params)
{
// Backward compatibility workaround.
if (!is_string($engine)) {
@ -307,13 +307,13 @@ class Text_MappedDiff extends Text_Diff {
* @param array $mapped_to_lines This array should have the same number
* of elements as $to_lines.
*/
function Text_MappedDiff($from_lines, $to_lines,
function __construct($from_lines, $to_lines,
$mapped_from_lines, $mapped_to_lines)
{
assert(count($from_lines) == count($mapped_from_lines));
assert(count($to_lines) == count($mapped_to_lines));
parent::Text_Diff($mapped_from_lines, $mapped_to_lines);
parent::__construct($mapped_from_lines, $mapped_to_lines);
$xi = $yi = 0;
for ($i = 0; $i < count($this->_edits); $i++) {
@ -369,7 +369,7 @@ class Text_Diff_Op {
*/
class Text_Diff_Op_copy extends Text_Diff_Op {
function Text_Diff_Op_copy($orig, $final = false)
function __construct($orig, $final = false)
{
if (!is_array($final)) {
$final = $orig;
@ -394,7 +394,7 @@ class Text_Diff_Op_copy extends Text_Diff_Op {
*/
class Text_Diff_Op_delete extends Text_Diff_Op {
function Text_Diff_Op_delete($lines)
function __construct($lines)
{
$this->orig = $lines;
$this->final = false;
@ -416,7 +416,7 @@ class Text_Diff_Op_delete extends Text_Diff_Op {
*/
class Text_Diff_Op_add extends Text_Diff_Op {
function Text_Diff_Op_add($lines)
function __construct($lines)
{
$this->final = $lines;
$this->orig = false;
@ -438,7 +438,7 @@ class Text_Diff_Op_add extends Text_Diff_Op {
*/
class Text_Diff_Op_change extends Text_Diff_Op {
function Text_Diff_Op_change($orig, $final)
function __construct($orig, $final)
{
$this->orig = $orig;
$this->final = $final;

4
framework/gii/components/Pear/Text/Diff/Engine/native.php

@ -18,9 +18,9 @@
* Geoffrey T. Dairiki <dairiki@dairiki.org>. The original PHP version of this
* code was written by him, and is used/adapted with his permission.
*
* $Horde: framework/Text_Diff/Diff/Engine/native.php,v 1.7.2.4 2008/01/04 10:38:10 jan Exp $
* $Horde: framework/Text_Diff/Diff/Engine/native.php,v 1.7.2.5 2009/01/06 15:23:41 jan Exp $
*
* Copyright 2004-2008 The Horde Project (http://www.horde.org/)
* Copyright 2004-2009 The Horde Project (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (LGPL). If you did
* not receive this file, see http://opensource.org/licenses/lgpl-license.php.

10
framework/gii/components/Pear/Text/Diff/Engine/shell.php

@ -5,9 +5,9 @@
* This class uses the Unix `diff` program via shell_exec to compute the
* differences between the two input arrays.
*
* $Horde: framework/Text_Diff/Diff/Engine/shell.php,v 1.6.2.3 2008/01/04 10:37:27 jan Exp $
* $Horde: framework/Text_Diff/Diff/Engine/shell.php,v 1.6.2.4 2009/01/06 15:23:41 jan Exp $
*
* Copyright 2007-2008 The Horde Project (http://www.horde.org/)
* Copyright 2007-2009 The Horde Project (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (LGPL). If you did
* not receive this file, see http://opensource.org/licenses/lgpl-license.php.
@ -138,8 +138,10 @@ class Text_Diff_Engine_shell {
* @access private
*
* @param array &$text_lines Either $from_lines or $to_lines
* @param integer &$line_no Current line number
* @param integer $end Optional end line, when we want to chop more than one line.
* @param int &$line_no Current line number
* @param int $end Optional end line, when we want to chop more
* than one line.
*
* @return array The chopped lines
*/
function _getLines(&$text_lines, &$line_no, $end = false)

19
framework/gii/components/Pear/Text/Diff/Engine/string.php

@ -10,10 +10,10 @@
* echo $renderer->render($diff);
* </code>
*
* $Horde: framework/Text_Diff/Diff/Engine/string.php,v 1.5.2.5 2008/09/10 08:31:58 jan Exp $
* $Horde: framework/Text_Diff/Diff/Engine/string.php,v 1.5.2.7 2009/07/24 13:04:43 jan Exp $
*
* Copyright 2005 Örjan Persson <o@42mm.org>
* Copyright 2005-2008 The Horde Project (http://www.horde.org/)
* Copyright 2005-2009 The Horde Project (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (LGPL). If you did
* not receive this file, see http://opensource.org/licenses/lgpl-license.php.
@ -39,6 +39,19 @@ class Text_Diff_Engine_string {
*/
function diff($diff, $mode = 'autodetect')
{
// Detect line breaks.
$lnbr = "\n";
if (strpos($diff, "\r\n") !== false) {
$lnbr = "\r\n";
} elseif (strpos($diff, "\r") !== false) {
$lnbr = "\r";
}
// Make sure we have a line break at the EOF.
if (substr($diff, -strlen($lnbr)) != $lnbr) {
$diff .= $lnbr;
}
if ($mode != 'autodetect' && $mode != 'context' && $mode != 'unified') {
return PEAR::raiseError('Type of diff is unsupported');
}
@ -56,7 +69,7 @@ class Text_Diff_Engine_string {
}
// Split by new line and remove the diff header, if there is one.
$diff = explode("\n", $diff);
$diff = explode($lnbr, $diff);
if (($mode == 'context' && strpos($diff[0], '***') === 0) ||
($mode == 'unified' && strpos($diff[0], '---') === 0)) {
array_shift($diff);

7
framework/gii/components/Pear/Text/Diff/Engine/xdiff.php

@ -5,9 +5,9 @@
* This class uses the xdiff PECL package (http://pecl.php.net/package/xdiff)
* to compute the differences between the two input arrays.
*
* $Horde: framework/Text_Diff/Diff/Engine/xdiff.php,v 1.4.2.3 2008/01/04 10:37:27 jan Exp $
* $Horde: framework/Text_Diff/Diff/Engine/xdiff.php,v 1.4.2.5 2009/07/24 13:06:24 jan Exp $
*
* Copyright 2004-2008 The Horde Project (http://www.horde.org/)
* Copyright 2004-2009 The Horde Project (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (LGPL). If you did
* not receive this file, see http://opensource.org/licenses/lgpl-license.php.
@ -42,6 +42,9 @@ class Text_Diff_Engine_xdiff {
* valid, albeit a little less descriptive and efficient. */
$edits = array();
foreach ($diff as $line) {
if (!strlen($line)) {
continue;
}
switch ($line[0]) {
case ' ':
$edits[] = new Text_Diff_Op_copy(array(substr($line, 1)));

8
framework/gii/components/Pear/Text/Diff/Mapped.php

@ -1,8 +1,8 @@
<?php
/**
* $Horde: framework/Text_Diff/Diff/Mapped.php,v 1.3.2.3 2008/01/04 10:37:27 jan Exp $
* $Horde: framework/Text_Diff/Diff/Mapped.php,v 1.3.2.4 2009/01/06 15:23:41 jan Exp $
*
* Copyright 2007-2008 The Horde Project (http://www.horde.org/)
* Copyright 2007-2009 The Horde Project (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (LGPL). If you did
* not receive this file, see http://opensource.org/licenses/lgpl-license.php.
@ -15,7 +15,7 @@ class Text_Diff_Mapped extends Text_Diff {
/**
* Computes a diff between sequences of strings.
*
* This can be used to compute things like case-insensitive diffs, or diffs
* This can be used to compute things like case-insensitve diffs, or diffs
* which ignore changes in white-space.
*
* @param array $from_lines An array of strings.
@ -28,7 +28,7 @@ class Text_Diff_Mapped extends Text_Diff {
* @param array $mapped_to_lines This array should have the same number
* of elements as $to_lines.
*/
function Text_Diff_Mapped($from_lines, $to_lines,
function __construct($from_lines, $to_lines,
$mapped_from_lines, $mapped_to_lines)
{
assert(count($from_lines) == count($mapped_from_lines));

6
framework/gii/components/Pear/Text/Diff/Renderer.php

@ -5,9 +5,9 @@
* This class renders the diff in classic diff format. It is intended that
* this class be customized via inheritance, to obtain fancier outputs.
*
* $Horde: framework/Text_Diff/Diff/Renderer.php,v 1.5.10.10 2008/01/04 10:37:27 jan Exp $
* $Horde: framework/Text_Diff/Diff/Renderer.php,v 1.5.10.12 2009/07/24 13:26:40 jan Exp $
*
* Copyright 2004-2008 The Horde Project (http://www.horde.org/)
* Copyright 2004-2009 The Horde Project (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (LGPL). If you did
* not receive this file, see http://opensource.org/licenses/lgpl-license.php.
@ -35,7 +35,7 @@ class Text_Diff_Renderer {
/**
* Constructor.
*/
function Text_Diff_Renderer($params = array())
function __construct($params = array())
{
foreach ($params as $param => $value) {
$v = '_' . $param;

4
framework/gii/components/Pear/Text/Diff/Renderer/context.php

@ -4,9 +4,9 @@
*
* This class renders the diff in classic "context diff" format.
*
* $Horde: framework/Text_Diff/Diff/Renderer/context.php,v 1.3.2.3 2008/01/04 10:37:27 jan Exp $
* $Horde: framework/Text_Diff/Diff/Renderer/context.php,v 1.3.2.4 2009/01/06 15:23:42 jan Exp $
*
* Copyright 2004-2008 The Horde Project (http://www.horde.org/)
* Copyright 2004-2009 The Horde Project (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (LGPL). If you did
* not receive this file, see http://opensource.org/licenses/lgpl-license.php.

14
framework/gii/components/Pear/Text/Diff/Renderer/inline.php

@ -2,9 +2,9 @@
/**
* "Inline" diff renderer.
*
* $Horde: framework/Text_Diff/Diff/Renderer/inline.php,v 1.4.10.14 2008/01/04 10:37:27 jan Exp $
* $Horde: framework/Text_Diff/Diff/Renderer/inline.php,v 1.4.10.16 2009/07/24 13:25:29 jan Exp $
*
* Copyright 2004-2008 The Horde Project (http://www.horde.org/)
* Copyright 2004-2009 The Horde Project (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (LGPL). If you did
* not receive this file, see http://opensource.org/licenses/lgpl-license.php.
@ -131,12 +131,14 @@ class Text_Diff_Renderer_inline extends Text_Diff_Renderer {
/* We want to split on word boundaries, but we need to
* preserve whitespace as well. Therefore we split on words,
* but include all blocks of whitespace in the wordlist. */
$diff = new Text_Diff($this->_splitOnWords($text1, $nl),
$this->_splitOnWords($text2, $nl));
$diff = new Text_Diff('native',
array($this->_splitOnWords($text1, $nl),
$this->_splitOnWords($text2, $nl)));
/* Get the diff in inline format. */
$renderer = new Text_Diff_Renderer_inline(array_merge($this->getParams(),
array('split_level' => 'words')));
$renderer = new Text_Diff_Renderer_inline
(array_merge($this->getParams(),
array('split_level' => 'words')));
/* Run the diff and get the output. */
return str_replace($nl, "\n", $renderer->render($diff)) . "\n";

4
framework/gii/components/Pear/Text/Diff/Renderer/unified.php

@ -4,9 +4,9 @@
*
* This class renders the diff in classic "unified diff" format.
*
* $Horde: framework/Text_Diff/Diff/Renderer/unified.php,v 1.3.10.6 2008/01/04 10:37:27 jan Exp $
* $Horde: framework/Text_Diff/Diff/Renderer/unified.php,v 1.3.10.7 2009/01/06 15:23:42 jan Exp $
*
* Copyright 2004-2008 The Horde Project (http://www.horde.org/)
* Copyright 2004-2009 The Horde Project (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (LGPL). If you did
* not receive this file, see http://opensource.org/licenses/lgpl-license.php.

12
framework/gii/components/Pear/Text/Diff/ThreeWay.php

@ -2,9 +2,9 @@
/**
* A class for computing three way diffs.
*
* $Horde: framework/Text_Diff/Diff/ThreeWay.php,v 1.3.2.3 2008/01/04 10:37:27 jan Exp $
* $Horde: framework/Text_Diff/Diff/ThreeWay.php,v 1.3.2.4 2009/01/06 15:23:41 jan Exp $
*
* Copyright 2007-2008 The Horde Project (http://www.horde.org/)
* Copyright 2007-2009 The Horde Project (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (LGPL). If you did
* not receive this file, see http://opensource.org/licenses/lgpl-license.php.
@ -38,7 +38,7 @@ class Text_Diff_ThreeWay extends Text_Diff {
* @param array $final1 The first version to compare to.
* @param array $final2 The second version to compare to.
*/
function Text_Diff_ThreeWay($orig, $final1, $final2)
function __construct($orig, $final1, $final2)
{
if (extension_loaded('xdiff')) {
$engine = new Text_Diff_Engine_xdiff();
@ -155,7 +155,7 @@ class Text_Diff_ThreeWay extends Text_Diff {
*/
class Text_Diff_ThreeWay_Op {
function Text_Diff_ThreeWay_Op($orig = false, $final1 = false, $final2 = false)
function __construct($orig = false, $final1 = false, $final2 = false)
{
$this->orig = $orig ? $orig : array();
$this->final1 = $final1 ? $final1 : array();
@ -194,7 +194,7 @@ class Text_Diff_ThreeWay_Op {
*/
class Text_Diff_ThreeWay_Op_copy extends Text_Diff_ThreeWay_Op {
function Text_Diff_ThreeWay_Op_Copy($lines = false)
function __construct($lines = false)
{
$this->orig = $lines ? $lines : array();
$this->final1 = &$this->orig;
@ -221,7 +221,7 @@ class Text_Diff_ThreeWay_Op_copy extends Text_Diff_ThreeWay_Op {
*/
class Text_Diff_ThreeWay_BlockBuilder {
function Text_Diff_ThreeWay_BlockBuilder()
function __construct()
{
$this->_init();
}

10
framework/gii/components/Pear/Text/Diff3.php

@ -2,9 +2,9 @@
/**
* A class for computing three way diffs.
*
* $Horde: framework/Text_Diff/Diff3.php,v 1.2.10.6 2008/01/04 10:37:26 jan Exp $
* $Horde: framework/Text_Diff/Diff3.php,v 1.2.10.7 2009/01/06 15:23:41 jan Exp $
*
* Copyright 2007-2008 The Horde Project (http://www.horde.org/)
* Copyright 2007-2009 The Horde Project (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (LGPL). If you did
* not receive this file, see http://opensource.org/licenses/lgpl-license.php.
@ -38,7 +38,7 @@ class Text_Diff3 extends Text_Diff {
* @param array $final1 The first version to compare to.
* @param array $final2 The second version to compare to.
*/
function Text_Diff3($orig, $final1, $final2)
function __construct($orig, $final1, $final2)
{
if (extension_loaded('xdiff')) {
$engine = new Text_Diff_Engine_xdiff();
@ -155,7 +155,7 @@ class Text_Diff3 extends Text_Diff {
*/
class Text_Diff3_Op {
function Text_Diff3_Op($orig = false, $final1 = false, $final2 = false)
function __construct($orig = false, $final1 = false, $final2 = false)
{
$this->orig = $orig ? $orig : array();
$this->final1 = $final1 ? $final1 : array();
@ -221,7 +221,7 @@ class Text_Diff3_Op_copy extends Text_Diff3_Op {
*/
class Text_Diff3_BlockBuilder {
function Text_Diff3_BlockBuilder()
function __construct()
{
$this->_init();
}

1
framework/gii/components/UserIdentity.php

@ -5,6 +5,7 @@ class UserIdentity extends CUserIdentity
/**
* Authenticates a user.
* @return boolean whether authentication succeeds.
* @throws CException
*/
public function authenticate()
{

2
framework/gii/models/LoginForm.php

@ -19,6 +19,8 @@ class LoginForm extends CFormModel
/**
* Authenticates the password.
* This is the 'authenticate' validator as declared in rules().
* @param string $attribute the name of the attribute to be validated.
* @param array $params additional parameters passed with rule when being executed.
*/
public function authenticate($attribute,$params)
{

2
framework/i18n/CGettextMessageSource.php

@ -53,7 +53,7 @@ class CGettextMessageSource extends CMessageSource
*/
public $useMoFile=true;
/**
* @var boolean whether to use Big Endian to read and write MO files.
* @var boolean whether to use Big Endian to read MO files.
* Defaults to false. This property is only used when {@link useMoFile} is true.
*/
public $useBigEndian=false;

2
framework/i18n/gettext/CGettextMoFile.php

@ -62,6 +62,7 @@ class CGettextMoFile extends CGettextFile
* @param string $file file path
* @param string $context message context
* @return array message translations (source message => translated message)
* @throws CException
*/
public function load($file,$context)
{
@ -137,6 +138,7 @@ class CGettextMoFile extends CGettextFile
* @param array $messages message translations (message id => translated message).
* Note if the message has a context, the message id must be prefixed with
* the context with chr(4) as the separator.
* @throws CException
*/
public function save($file,$messages)
{

142
framework/messages/bs/yii.php

@ -16,56 +16,56 @@
return array (
0 => '0',
'Virtual attribute {name} must specify "asc" and "desc" options.' => 'Virtualni atribut {name} mora specificirati "asc"- i "desc" opcije.',
'"{path}" is not a valid directory.' => '"{path}" nije važeći direktorijum.',
'"{path}" is not a valid directory.' => '"{path}" nije važeći direktorij.',
'&lt; Previous' => '&lt; Prethodna',
'&lt;&lt; First' => '&lt;&lt; Prva',
'Active Record requires a "db" CDbConnection application component.' => 'ActiveRecord zahtjeva "db" CDbConnection aplikacionu komponentu.',
'Active Record requires a "db" CDbConnection application component.' => 'ActiveRecord zahtjeva "db" CDbConnection aplikacijsku komponentu.',
'Active record "{class}" has an invalid configuration for relation "{relation}". It must specify the relation type, the related active record class and the foreign key.' => 'ActiveRecord-Klasa "{class}" ima nevažeću konfiguraciju za odnos "{relation}". Tipa odnosa, odnosni ActiveRecord i strani ključ (foreign key) moraju biti postavljeni.',
'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'ActiveRecord "{class}" koristi nevažećo polje "{column}" u SELECT. Pripazite da to polje mora da postoji u tabeli ili da bude alias izraz.',
'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'ActiveRecord "{class}" koristi nevažeće polje "{column}" u SELECT. Pripazite da to polje mora da postoji u tabeli ili da bude alias izraz.',
'Active record class "{class}" does not have a scope named "{scope}".' => 'ActiveRecord-Klasa "{class}" nema polje imenovano "{scope}".',
'Alias "{alias}" is invalid. Make sure it points to an existing directory or file.' => 'Alias "{alias}" je nevažan. Molim vas, uspostavite da pokazuje do važećeg direktorija ili fajla.',
'Application base path "{path}" is not a valid directory.' => 'Glavni put (base path) "{path}" aplikacije je nevažan.',
'Alias "{alias}" is invalid. Make sure it points to an existing directory or file.' => 'Alias "{alias}" je validan. Molim vas, uspostavite da pokazuje do važećeg direktorija ili fajla.',
'Application base path "{path}" is not a valid directory.' => 'Glavni put (base path) "{path}" aplikacije nije važeći.',
'Application runtime path "{path}" is not valid. Please make sure it is a directory writable by the Web server process.' => 'Prometni put (runtime path) "{path}" aplikacije je nevažan. Pripazite da proces web servera ima pravo da tamo piše.',
'Authorization item "{item}" has already been assigned to user "{user}".' => 'Element autorizacije "{item}" je već namjenjen "{user}".',
'Authorization item "{item}" has already been assigned to user "{user}".' => 'Element autorizacije "{item}" je već namjenjen korisniku "{user}".',
'Base path "{path}" is not a valid directory.' => 'Glavni put "{path}" je nevažeći direktorijum.',
'CApcCache requires PHP apc extension to be loaded.' => 'CApcCache zahtjeva da je učitan PHP APC dodatak.',
'CAssetManager.basePath "{path}" is invalid. Please make sure the directory exists and is writable by the Web server process.' => 'CAssetManager.basePath "{path}" je nevažna. Pripazite da postoji taj direktorijum i da proces web servera ima pravo da tamo piše.',
'CCacheHttpSession.cacheID is invalid. Please make sure "{id}" refers to a valid cache application component.' => 'CCacheHttpSession.cacheID je nevažna. Molim vas, uspostavite da se "{id}" odnosi na važeću cache aplikacionu komponentu.',
'CCaptchaValidator.action "{id}" is invalid. Unable to find such an action in the current controller.' => 'CCaptchaValidator.action "{id}" je nevažna. Nemogu da pronađem takvu akciju u trenutnom controlleru.',
'CDbAuthManager.connectionID "{id}" is invalid. Please make sure it refers to the ID of a CDbConnection application component.' => 'CDbAuthManager.connectionID "{id}" je nevažna. Molim vas, uspostavite da se "{id}" odnosi na važeću aplikacionu komponentu od tipa CDbConnection.',
'CDbCache.connectionID "{id}" is invalid. Please make sure it refers to the ID of a CDbConnection application component.' => 'CDbCache.connectionID "{id}" je nevažna. Molim vas, uspostavite da se odnosi na važeću aplikacionu komponentu od tipa CDbConnection.',
'CDbCacheDependency.sql cannot be empty.' => 'CDbCacheDependency.sql nesmije biti prazno.',
'CDbCommand failed to execute the SQL statement: {error}' => 'CDbCommand nemože da izvrši SQL-Statement: {error}',
'CDbCommand failed to prepare the SQL statement: {error}' => 'CDbCommand nemože da pripremi SQL-Statement: {error}',
'CDbConnection does not support reading schema for {driver} database.' => 'CDbConnection nepodržava čitanje šema za {driver}-datoteke.',
'CDbConnection failed to open the DB connection: {error}' => 'CDbConnection nemože da uspostavi spoj sa datotekom: {error}',
'CDbConnection is inactive and cannot perform any DB operations.' => 'CDbConnection nije aktivna i nemože izvršavati operacije na datoteki.',
'CDbConnection.connectionString cannot be empty.' => 'CDbConnection.connectionString nesmije biti prazno.',
'CDbDataReader cannot rewind. It is a forward-only reader.' => 'CDbDataReader se nemože premotavati. On je forward-only (samo naprijed) čitač.',
'CDbHttpSession.connectionID "{id}" is invalid. Please make sure it refers to the ID of a CDbConnection application component.' => 'CDbHttpSession.connectionID "{id}" je nevažna. Molim vas, uspostavite da se "{id}" odnosi na važeću aplikacionu komponentu od tipa CDbConnection.',
'CDbLogRoute.connectionID "{id}" does not point to a valid CDbConnection application component.' => 'CDbLogRoute.connectionID "{id}" ne pokazuje na važeću aplikacionu komponentu od tipa Typ CDbConnection.',
'CDbMessageSource.connectionID is invalid. Please make sure "{id}" refers to a valid database application component.' => 'CDbMessageSource.connectionID je nevažna. Molim vas, uspostavite da se "{id}" odnosi na važeću aplikacionu komponentu od tipa CDbConnection.',
'CDbTestFixture.connectionID "{id}" is invalid. Please make sure it refers to the ID of a CDbConnection application component.' => 'CDbFixture.connectionID "{id}" je nevažna. Molim vas, uspostavite da se odnosi na važeću aplikacionu komponentu od tipa CDbConnection.',
'CDbTransaction is inactive and cannot perform commit or roll back operations.' => 'CDbTransaction nije aktivno i nemože da izvrši Commit- ili Rollback operaciju.',
'CDirectoryCacheDependency.directory cannot be empty.' => 'CDirectoryCacheDependency.directory nesmije biti prazno.',
'CEAcceleratorCache requires PHP eAccelerator extension to be loaded, enabled or compiled with the "--with-eaccelerator-shared-memory" option.' => 'CEAcceleratorCache zahtjeva, da PHP eAccelerator dodatak je učitan i aktiviran ili sa kompajlira sa opcijom "--with-eaccelerator-shared-memory".',
'CFileCacheDependency.fileName cannot be empty.' => 'CFileCacheDependency.fileName nesmije biti prazno.',
'CFileLogRoute.logPath "{path}" does not point to a valid directory. Make sure the directory exists and is writable by the Web server process.' => 'CFileLogRoute.logPath "{path}" ne pokazuje na važeći direktorijum. Pripazite da postoji taj direktorijum i da proces web servera ima pravo da tamo piše.',
'CAssetManager.basePath "{path}" is invalid. Please make sure the directory exists and is writable by the Web server process.' => 'CAssetManager.basePath "{path}" nije važeća. Pripazite da postoji taj direktorijum i da proces web servera ima pravo da tamo piše.',
'CCacheHttpSession.cacheID is invalid. Please make sure "{id}" refers to a valid cache application component.' => 'CCacheHttpSession.cacheID nije važeća. Molim vas, uspostavite da se "{id}" odnosi na važeću cache aplikacionu komponentu.',
'CCaptchaValidator.action "{id}" is invalid. Unable to find such an action in the current controller.' => 'CCaptchaValidator.action "{id}" nije važeća. Ne mogu da pronađem takvu akciju u trenutnom controlleru.',
'CDbAuthManager.connectionID "{id}" is invalid. Please make sure it refers to the ID of a CDbConnection application component.' => 'CDbAuthManager.connectionID "{id}" nije važeća. Molimo vas, uspostavite da se "{id}" odnosi na važeću aplikacijsku komponentu tipa CDbConnection.',
'CDbCache.connectionID "{id}" is invalid. Please make sure it refers to the ID of a CDbConnection application component.' => 'CDbCache.connectionID "{id}" nije važeća. Molimo vas, uspostavite da se odnosi na važeću aplikacijsku komponentu tipa CDbConnection.',
'CDbCacheDependency.sql cannot be empty.' => 'CDbCacheDependency.sql ne smije biti prazno.',
'CDbCommand failed to execute the SQL statement: {error}' => 'CDbCommand ne može da izvrši SQL-Statement: {error}',
'CDbCommand failed to prepare the SQL statement: {error}' => 'CDbCommand ne može da pripremi SQL-Statement: {error}',
'CDbConnection does not support reading schema for {driver} database.' => 'CDbConnection ne podržava čitanje šema za {driver}-datoteke.',
'CDbConnection failed to open the DB connection: {error}' => 'CDbConnection ne može da uspostavi spoj sa datotekom: {error}',
'CDbConnection is inactive and cannot perform any DB operations.' => 'CDbConnection nije aktivna i ne može izvršavati operacije na datoteci.',
'CDbConnection.connectionString cannot be empty.' => 'CDbConnection.connectionString ne smije biti prazno.',
'CDbDataReader cannot rewind. It is a forward-only reader.' => 'CDbDataReader se ne može premotavati. On je forward-only (samo naprijed) čitač.',
'CDbHttpSession.connectionID "{id}" is invalid. Please make sure it refers to the ID of a CDbConnection application component.' => 'CDbHttpSession.connectionID "{id}" nije važeća. Molimo vas, uspostavite da se "{id}" odnosi na važeću aplikacijsku komponentu tipa CDbConnection.',
'CDbLogRoute.connectionID "{id}" does not point to a valid CDbConnection application component.' => 'CDbLogRoute.connectionID "{id}" ne pokazuje na važeću aplikacijsku komponentu od tipa Typ CDbConnection.',
'CDbMessageSource.connectionID is invalid. Please make sure "{id}" refers to a valid database application component.' => 'CDbMessageSource.connectionID je nevažna. Molimo vas, uspostavite da se "{id}" odnosi na važeću aplikacijsku komponentu tipa CDbConnection.',
'CDbTestFixture.connectionID "{id}" is invalid. Please make sure it refers to the ID of a CDbConnection application component.' => 'CDbFixture.connectionID "{id}" je nevaža. Molim vas, uspostavite da se odnosi na važeću aplikacionu komponentu tipa CDbConnection.',
'CDbTransaction is inactive and cannot perform commit or roll back operations.' => 'CDbTransaction nije aktivno i ne može da izvrši Commit- ili Rollback operaciju.',
'CDirectoryCacheDependency.directory cannot be empty.' => 'CDirectoryCacheDependency.directory ne smije biti prazno.',
'CEAcceleratorCache requires PHP eAccelerator extension to be loaded, enabled or compiled with the "--with-eaccelerator-shared-memory" option.' => 'CEAcceleratorCache zahtjeva da je PHP eAccelerator dodatak učitan i aktiviran ili se kompajlira sa opcijom "--with-eaccelerator-shared-memory".',
'CFileCacheDependency.fileName cannot be empty.' => 'CFileCacheDependency.fileName ne smije biti prazno.',
'CFileLogRoute.logPath "{path}" does not point to a valid directory. Make sure the directory exists and is writable by the Web server process.' => 'CFileLogRoute.logPath "{path}" ne pokazuje na nevažeći direktorij. Pripazite da postoji taj direktorij i da proces web servera ima pravo da tamo piše.',
'CFilterChain can only take objects implementing the IFilter interface.' => 'CFilterChain smije primiti samo objekte koje implementiraju IFilter-Interface.',
'CFlexWidget.baseUrl cannot be empty.' => 'CFlexWidget.baseUrl nesmije biti prazno.',
'CFlexWidget.name cannot be empty.' => 'CFlexWidget.name nesmije biti prazno.',
'CGlobalStateCacheDependency.stateName cannot be empty.' => 'CGlobalStateCacheDependency.stateName nesmije biti prazno.',
'CFlexWidget.baseUrl cannot be empty.' => 'CFlexWidget.baseUrl ne smije biti prazno.',
'CFlexWidget.name cannot be empty.' => 'CFlexWidget.name ne smije biti prazno.',
'CGlobalStateCacheDependency.stateName cannot be empty.' => 'CGlobalStateCacheDependency.stateName ne smije biti prazno.',
'CHttpCookieCollection can only hold CHttpCookie objects.' => 'CHttpCookieCollection smije da sadrži samo CHttpCookie-Objekte.',
'CHttpRequest is unable to determine the entry script URL.' => 'CHttpRequest ne može da ustanovi URL ulaznog skripta (entry script).',
'CHttpRequest is unable to determine the path info of the request.' => 'CHttpRequest ne može da ustanovi informacije o putu (path info) za tekući zahtjev (request).',
'CHttpRequest is unable to determine the request URI.' => 'CHttpRequest ne može da ustanovi URI za tekući zahtjev (request).',
'CHttpSession.cookieMode can only be "none", "allow" or "only".' => 'CHttpSession.cookieMode može biti jedino "none", "allow" ili "only".',
'CHttpSession.gcProbability "{value}" is invalid. It must be an integer between 0 and 100.' => 'CHttpSession.gcProbability "{value}" je pogrešan. Mora biti cijeli broj (integer) između 0 i 100.',
'CHttpSession.savePath "{path}" is not a valid directory.' => 'CHttpSession.savePath "{path}" nije ispravan direktorijum.',
'CHttpSession.savePath "{path}" is not a valid directory.' => 'CHttpSession.savePath "{path}" nije ispravan direktorij.',
'CMemCache server configuration must be an array.' => 'CMemCache server konfiguracija mora biti niz (array)',
'CMemCache server configuration must have "host" value.' => 'CMemCache server konfiguracija mora imati dodjeljenu vrijednost za "host".',
'CMultiFileUpload.name is required.' => 'CMultiFileUpload.name je obavezno.',
'CProfileLogRoute found a mismatching code block "{token}". Make sure the calls to Yii::beginProfile() and Yii::endProfile() be properly nested.' => 'CProfileLogRoute je našao nesaglašen blok koda "{token}". Budite sigurni da su pozivi Yii::beginProfile() i Yii::endProfile() ispravno ugnježdeni.',
'CProfileLogRoute found a mismatching code block "{token}". Make sure the calls to Yii::beginProfile() and Yii::endProfile() be properly nested.' => 'CProfileLogRoute je našao neusaglašen blok koda "{token}". Budite sigurni da su pozivi Yii::beginProfile() i Yii::endProfile() ispravno ugnježdeni.',
'CProfileLogRoute.report "{report}" is invalid. Valid values include "summary" and "callstack".' => 'CProfileLogRoute.report "{report}" je pogrešan. Ispravne vrijednosti uključuju "summary" i "callstack".',
'CSecurityManager requires PHP mcrypt extension to be loaded in order to use data encryption feature.' => 'CSecurityManager zahtjeva da PHP mcrypt ekstenzija bude uključena da bi se koristila mogućnost enkripcije podataka.',
'CSecurityManager.encryptionKey cannot be empty.' => 'CSecurityManager.encryptionKey ne može biti prazan.',
@ -87,11 +87,11 @@ return array (
'Event "{class}.{event}" is attached with an invalid handler "{handler}".' => 'Događaj "{class}.{event}" je zakačen za pogrešan (nevažeći) hendler (handler) "{handler}".',
'Event "{class}.{event}" is not defined.' => 'Događaj (event) "{class}.{event}" nije definisan.',
'Extension path "{path}" does not exist.' => 'Put dodataka (extension path) "{path}" ne postoji.',
'Failed to write the uploaded file "{file}" to disk.' => 'Neuspješno snimanje podignutog fajla (uploaded file) "{file}" na disk.',
'File upload was stopped by extension.' => 'Podizanje fajla (file upload) je zaustavljeno od strane ekstenzije.',
'Failed to write the uploaded file "{file}" to disk.' => 'Neuspješno snimanje uploadovanog fajla (uploaded file) "{file}" na disk.',
'File upload was stopped by extension.' => 'Upload fajla (file upload) je zaustavljeno od strane ekstenzije.',
'Filter "{filter}" is invalid. Controller "{class}" does have the filter method "filter{filter}".' => 'Filter "{filter}" je pogrešan. Kontroler "{class}" sadrži filter metod "filter{filter}".',
'Get a new code' => 'Dobavi novi kod',
'Go to page: ' => 'Do stranice: ',
'Go to page: ' => 'Idi na stranicu: ',
'Invalid MO file revision: {revision}.' => 'Pogrešna revizija MO fajla: {revision}.',
'Invalid MO file: {file} (magic: {magic}).' => 'Pogrešan (neispravan) MO fajl: {file} (magic: {magic}).',
'Invalid enumerable value "{value}". Please make sure it is among ({enum}).' => 'Pogrešna nabrojiva vrijednost "{value}". Molim vas, budite sigurni da je iz ({enum}).',
@ -101,19 +101,19 @@ return array (
'List index "{index}" is out of bound.' => 'Indeks liste "{index}" je van opsega.',
'Login Required' => 'Potrebna prijava',
'Map data must be an array or an object implementing Traversable.' => 'Podatak mape (Map data) mora biti niz ili objekat koji implementira Traversable.',
'Missing the temporary folder to store the uploaded file "{file}".' => 'Nedostaje privremeni folder za skladište podignutog fajla "{file}".',
'Next &gt;' => 'Slijedeća &gt;',
'No columns are being updated for table "{table}".' => 'Ni jedna kolona neće biti ažurirana u tabeli "{table}".',
'Missing the temporary folder to store the uploaded file "{file}".' => 'Nedostaje privremeni folder za spremanje učitanog fajla "{file}".',
'Next &gt;' => 'Sljedeća &gt;',
'No columns are being updated for table "{table}".' => 'Nijedna kolona neće biti ažurirana u tabeli "{table}".',
'No counter columns are being updated for table "{table}".' => 'Brojač kolona neće biti ažuriran za tabelu "{table}".',
'Object configuration must be an array containing a "class" element.' => 'Konfiguracija objekta mora biti niz koji sadrži "class" element.',
'Please fix the following input errors:' => 'Molim vas ispravite greške:',
'Property "{class}.{property}" is not defined.' => 'Svojstvo (property) "{class}.{property}" nije definisano.',
'Property "{class}.{property}" is read only.' => 'Svojstvo (property) "{class}.{property}" je samo za čitanje.',
'Queue data must be an array or an object implementing Traversable.' => 'Podatak reda (Queue data) mora biti niz ili objekat koji implementira Traversable.',
'Relation "{name}" is not defined in active record class "{class}".' => 'Odnos "{name}" nije definisana u active record klasi "{class}".',
'Resetting PK sequence is not supported.' => 'Ne podržava se vraćanja PK sekvencije.',
'Relation "{name}" is not defined in active record class "{class}".' => 'Odnos "{name}" nije definisan u active record klasi "{class}".',
'Resetting PK sequence is not supported.' => 'Ne podržava vraćanje PK sekvence.',
'Setting integrity check is not supported.' => 'Ne podržava se aktivacija kontrole integracije postavki.',
'Stack data must be an array or an object implementing Traversable.' => 'Podatak hrpe (Stack data) mora biti niz ili objekat koji implementira Traversable.',
'Stack data must be an array or an object implementing Traversable.' => 'Podatak sa steka (Stack data) mora biti niz ili objekat koji implementira Traversable.',
'Table "{table}" does not have a column named "{column}".' => 'Tabela "{table}" ne posjeduje kolonu "{column}".',
'Table "{table}" does not have a primary key defined.' => 'Tabela "{table}" nema definisan primarni ključ (primary key).',
'The "filter" property must be specified with a valid callback.' => '"Filter" svojstvo (property) mora biti specificirano povratnom funkcijom (callback).',
@ -125,35 +125,35 @@ return array (
'The active record cannot be inserted to database because it is not new.' => 'Active record ne može biti ubačen u bazu zato što je nov.',
'The active record cannot be updated because it is new.' => 'Active record ne može biti ažuriran zato što je nov.',
'The asset "{asset}" to be pulished does not exist.' => 'Resurs "{asset}" koji treba biti objavljen ne postoji.',
'The command path "{path}" is not a valid directory.' => 'Put direktorijuma do komande (command path) "{path}" nije ispravan.',
'The controller path "{path}" is not a valid directory.' => 'Put direktorijuma do kontrolera "{path}" nije ispravan.',
'The command path "{path}" is not a valid directory.' => 'Put direktorija do komande (command path) "{path}" nije ispravan.',
'The controller path "{path}" is not a valid directory.' => 'Put direktorija do kontrolera "{path}" nije ispravan.',
'The file "{file}" cannot be uploaded. Only files with these extensions are allowed: {extensions}.' => 'Fajl "{file}" ne može biti podignut (uploaded). Dozvoljeni su jedino fajlovi sa slijedećim ekstenzijama: {extensions}.',
'The file "{file}" is too large. Its size cannot exceed {limit} bytes.' => 'Fajl "{file}" je prevelik. Veličina fajla ne sme da prekorači {limit} bytes.',
'The file "{file}" is too large. Its size cannot exceed {limit} bytes.' => 'Fajl "{file}" je prevelik. Veličina fajla ne smije da prekorači {limit} bytes.',
'The file "{file}" is too small. Its size cannot be smaller than {limit} bytes.' => 'Fajl "{file}" je premali. Veličina fajla ne smije biti manja od {limit} bytes.',
'The file "{file}" was only partially uploaded.' => 'Fajl "{file}" je samo delimično podignut (uploaded).',
'The file "{file}" was only partially uploaded.' => 'Fajl "{file}" je samo djelimično učitan (uploaded).',
'The first element in a filter configuration must be the filter class.' => 'Prvi element u konfiguraciji filtera mora biti klasa filtera.',
'The item "{name}" does not exist.' => 'Stavka "{name}" ne postoji.',
'The item "{parent}" already has a child "{child}".' => 'Stavka "{parent}" već ima dijete "{child}".',
'The layout path "{path}" is not a valid directory.' => 'Put do direktorijuma layout "{path}" nije ispravan.',
'The layout path "{path}" is not a valid directory.' => 'Put do direktorija layout "{path}" nije ispravan.',
'The list is read only.' => 'Lista (List) je samo za čitanje',
'The map is read only.' => 'Mapa (Map) je samo za čitanje',
'The module path "{path}" is not a valid directory.' => 'Put do modula "{path}" je nevažeći direktorijum.',
'The pattern for 12 hour format must be "h" or "hh".' => 'Šablona za 12 časovni format mora biti "h" ili "hh".',
'The pattern for 24 hour format must be "H" or "HH".' => 'Šablona za 24 časovni format mora biti "H" ili "HH".',
'The pattern for 12 hour format must be "h" or "hh".' => 'Šablon za 12 časovni format mora biti "h" ili "hh".',
'The pattern for 24 hour format must be "H" or "HH".' => 'Šablon za 24 časovni format mora biti "H" ili "HH".',
'The pattern for AM/PM marker must be "a".' => 'Šablona za AM/PM marker mora biti "a".',
'The pattern for day in month must be "F".' => 'Šablona za dan u mjesecu mora biti "F".',
'The pattern for day in year must be "D", "DD" or "DDD".' => 'Šablona za dan u godini mora biti "D", "DD" ili "DDD".',
'The pattern for day of the month must be "d" or "dd".' => 'Šablona za dan mjeseca mora biti "d" ili "dd".',
'The pattern for day of the week must be "E", "EE", "EEE", "EEEE" or "EEEEE".' => 'Šablona za dan sedmice mora biti "E", "EE", "EEE", "EEEE" ili "EEEEE".',
'The pattern for era must be "G", "GG", "GGG", "GGGG" or "GGGGG".' => 'Šablona za doba mora biti "G", "GG", "GGG", "GGGG" ili "GGGGG".',
'The pattern for hour in AM/PM must be "K" or "KK".' => 'Šablona za čas u AM/PM mora biti "K" ili "KK".',
'The pattern for hour in day must be "k" or "kk".' => 'Šablona za čas u danu mora biti "k" ili "kk".',
'The pattern for minutes must be "m" or "mm".' => 'Šablona za minute mora biti "m" ili "mm".',
'The pattern for month must be "M", "MM", "MMM", or "MMMM".' => 'Šablona za mjesec mora biti "M", "MM", "MMM" ili "MMMM".',
'The pattern for seconds must be "s" or "ss".' => 'Šablona za sekunde mora biti "s" ili "ss".',
'The pattern for time zone must be "z" or "v".' => 'Šablona za zonu mora biti "z" ili "v".',
'The pattern for week in month must be "W".' => 'Šablona za sedmicu u mjesecu mora biti "W".',
'The pattern for week in year must be "w".' => 'Šablona za sedmicu u godini mora biti "w".',
'The pattern for day in year must be "D", "DD" or "DDD".' => 'Šablon za dan u godini mora biti "D", "DD" ili "DDD".',
'The pattern for day of the month must be "d" or "dd".' => 'Šablon za dan mjeseca mora biti "d" ili "dd".',
'The pattern for day of the week must be "E", "EE", "EEE", "EEEE" or "EEEEE".' => 'Šablon za dan sedmice mora biti "E", "EE", "EEE", "EEEE" ili "EEEEE".',
'The pattern for era must be "G", "GG", "GGG", "GGGG" or "GGGGG".' => 'Šablon za doba mora biti "G", "GG", "GGG", "GGGG" ili "GGGGG".',
'The pattern for hour in AM/PM must be "K" or "KK".' => 'Šablon za čas u AM/PM mora biti "K" ili "KK".',
'The pattern for hour in day must be "k" or "kk".' => 'Šablon za čas u danu mora biti "k" ili "kk".',
'The pattern for minutes must be "m" or "mm".' => 'Šablon za minute mora biti "m" ili "mm".',
'The pattern for month must be "M", "MM", "MMM", or "MMMM".' => 'Šablon za mjesec mora biti "M", "MM", "MMM" ili "MMMM".',
'The pattern for seconds must be "s" or "ss".' => 'Šablon za sekunde mora biti "s" ili "ss".',
'The pattern for time zone must be "z" or "v".' => 'Šablon za zonu mora biti "z" ili "v".',
'The pattern for week in month must be "W".' => 'Šablon za sedmicu u mjesecu mora biti "W".',
'The pattern for week in year must be "w".' => 'Šablon za sedmicu u godini mora biti "w".',
'The queue is empty.' => 'Red (queue) je prazan.',
'The relation "{relation}" in active record class "{class}" is not specified correctly: The join table "{joinTable}" given in the foreign key cannot be found in the database.' => 'Odnos "{relation}" u active record klasi "{class}" nije specificirana ispravno: pridružena tabela (join table) "{joinTable}" zadata u spoljnom ključu (foreign key) ne može biti pronađena u bazi.',
'The relation "{relation}" in active record class "{class}" is not specified correctly: the join table "{joinTable}" given in the foreign key cannot be found in the database.' => 'Odnos "{relation}" u active record klasi "{class}" nije specificirana ispravno: pridružena tabela (join table) "{joinTable}" zadata u spoljnom ključu (foreign key) ne može biti pronađena u bazi.',
@ -164,13 +164,13 @@ return array (
'The relation "{relation}" in active record class "{class}" is specified with an invalid foreign key. The columns in the key must match the primary keys of the table "{table}".' => 'Odnos "{relation}" u active record klasi "{class}" je specificirana pogrešnim spoljnim ključem (foreign key). Kolone spoljnog ključa (foreign key) moraju biti iste kao i primarnog ključa od tabele "{table}".',
'The relation "{relation}" in active record class "{class}" is specified with an invalid foreign key. The format of the foreign key must be "joinTable(fk1,fk2,...)".' => 'Odnos "{relation}" u active record klasi "{class}" je specificirana pogrešnim spoljnim ključem (foreign key). Format spoljnog ključa (foreign key) mora biti "joinTable(fk1,fk2,...)',
'The requested view "{name}" was not found.' => 'zahtjevani pogled (view) "{name}" nije pronađen.',
'The stack is empty.' => 'Hrpa (stack) je prazna.',
'The system is unable to find the requested action "{action}".' => 'Sistem ne može da pronađe zahtjevanu akciju "{action}".',
'The system view path "{path}" is not a valid directory.' => 'Put direktorijuma do sistemskog pogleda (system view) "{path}" nije ispravan.',
'The stack is empty.' => 'Stek (stack) je prazna.',
'The system is unable to find the requested action "{action}".' => 'Sistem ne može da pronađe traženu akciju "{action}".',
'The system view path "{path}" is not a valid directory.' => 'Put direktorija do sistemskog pogleda (system view) "{path}" nije ispravan.',
'The table "{table}" for active record class "{class}" cannot be found in the database.' => 'Tabela "{table}" za active record klasu "{class}" ne može biti pronađena u bazi.',
'The value for the primary key "{key}" is not supplied when querying the table "{table}".' => 'Vrijednost primarnog ključa (primary key) "{key}" nije prosljeđena prilikom izvršenja upita nad tabelom "{table}".',
'The verification code is incorrect.' => 'Verifikacioni kod je pogrešan.',
'The view path "{path}" is not a valid directory.' => 'Put do prikaznog direktorijuma (view path) "{path}" ne važi.',
'The view path "{path}" is not a valid directory.' => 'Put do prikaznog direktorija (view path) "{path}" nije važi.',
'Theme directory "{directory}" does not exist.' => 'Direktorijum za teme (theme directory) "{directory}" ne postoji.',
'This content requires the <a href="http://www.adobe.com/go/getflash/">Adobe Flash Player</a>.' => 'Ovaj sadržaj zahtjeva <a href="http://www.adobe.com/go/getflash/">Adobe Flash Player</a>.',
'Unable to add an item whose name is the same as an existing item.' => 'Ne mogu da dodam stavku sa istim imenom kao postojeća stavka.',
@ -184,7 +184,7 @@ return array (
'Unable to write file "{file}".' => 'Ne mogu da upišem fajl "{file}".',
'Unknown authorization item "{name}".' => 'Nepoznata stavka ovlašćenja (authorization item) "{name}',
'Unrecognized locale "{locale}".' => 'Lokalizacija nije prepoznata (unrecognized locale) "{locale}".',
'View file "{file}" does not exist.' => 'Fajl pogleda (view file) "{file}" ne postoji.',
'View file "{file}" does not exist.' => 'View fajl "{file}" ne postoji.',
'Yii application can only be created once.' => 'Yii aplikacija može biti kreirana samo jedanput.',
'You are not authorized to perform this action.' => 'Niste autorizovani da izvršite ovu akciju.',
'Your request is not valid.' => 'Vaš zahtjev nije ispravan.',
@ -211,7 +211,7 @@ return array (
'{attribute} must be repeated exactly.' => '{attribute} mora biti tačno ponovljen.',
'{attribute} must be {type}.' => '{attribute} mora biti {type}.',
'{attribute} must be {value}.' => '{attribute} mora biti {value}.',
'{attribute} must not be equal to "{compareValue}".' => '{attribute} nesmije biti isti kao "{compareValue}".',
'{attribute} must not be equal to "{compareValue}".' => '{attribute} ne smije biti isti kao "{compareValue}".',
'{className} does not support add() functionality.' => '{className} ne podržava add() funcionalnost.',
'{className} does not support delete() functionality.' => '{className} ne podržava delete() funkcionalnost.',
'{className} does not support flush() functionality.' => '{className} ne podržava flush() funkcionalnost.',
@ -223,9 +223,9 @@ return array (
'{class} has an invalid validation rule. The rule must specify attributes to be validated and the validator name.' => '{class} ima pogrešno ovjereno pravilo (validation rule). Pravilo mora da specificira atribute koji ce biti ovjereni i ime ovjerenja.',
'{class} must specify "model" and "attribute" or "name" property values.' => '{class} mora da specificira "model" i "attribute" ili "name" svojstvo (property) vrijednosti.',
'{class}.allowAutoLogin must be set true in order to use cookie-based authentication.' => '{class}.allowAutoLogin mora biti podešen na true da bi se koristila cookies autorizacija.',
'{class}::authenticate() must be implemented.' => '{class}::authenticate() mora biti implementirana.',
'{controller} cannot find the requested view "{view}".' => '{controller} ne može da pronađe zahtjevani pogled (view) "{view}".',
'{class}::authenticate() must be implemented.' => '{class}::authenticate() metoda mora biti implementirana.',
'{controller} cannot find the requested view "{view}".' => '{controller} ne može da pronađe zahtjevani view "{view}".',
'{controller} contains improperly nested widget tags in its view "{view}". A {widget} widget does not have an endWidget() call.' => '{controller} sadrži nepropisno ugnježdene widget tagove u svom pogledu (view) "{view}". {widget} widget nema endWidget() poziv.',
'{controller} has an extra endWidget({id}) call in its view.' => '{controller} ima suvišan endWidget({id}) poziv u svom pogledu (view).',
'{widget} cannot find the view "{view}".' => '{widget} ne može da pronađe pogled (view) "{view}".',
'{controller} has an extra endWidget({id}) call in its view.' => '{controller} ima suvišan endWidget({id}) poziv u svom view-u.',
'{widget} cannot find the view "{view}".' => '{widget} ne može da pronađe view "{view}".',
);

32
framework/messages/fr/yii.php

@ -69,10 +69,10 @@ return array (
'CDbAuthManager.connectionID "{id}" is invalid. Please make sure it refers to the ID of a CDbConnection application component.' => 'La propriété CDbAuthManager.connectionID « {id} » est invalide. Vérifiez qu\'elle référence l\'ID d\'un composant d\'application de type CDbConnection.',
'CDbCache.connectionID "{id}" is invalid. Please make sure it refers to the ID of a CDbConnection application component.' => 'La propriété CDbCache.connectionID « {id} » est invalide. Vérifiez qu\'elle référence l\'ID d\'un composant d\'application de type CDbConnection.',
'CDbCacheDependency.sql cannot be empty.' => 'La propriété CDbCacheDependency.sql ne peut être vide.',
'CDbCommand failed to execute the SQL statement: {error}' => 'CDbCommand n\'a pas pu exécuter la commande SQL : {error}',
'CDbCommand failed to prepare the SQL statement: {error}' => 'CDbCommand n\'a pas pu préparer la commande SQL : {error}',
'CDbConnection does not support reading schema for {driver} database.' => 'CDbConnection ne supporte pas la lecture du schéma de la base de données {driver}.',
'CDbConnection failed to open the DB connection: {error}' => 'CDbConnection n\'a pu ouvrir la connexion à la base de données : {error}',
'CDbCommand failed to execute the SQL statement: {error}' => 'CDbCommand n\'a pas pu exécuter la commande SQL: {error}',
'CDbCommand failed to prepare the SQL statement: {error}' => 'CDbCommand n\'a pas pu préparer la commande SQL: {error}',
'CDbConnection does not support reading schema for {driver} database.' => 'CDbConnection ne supporte pas la lecture de schéma pour les bases de données {driver}.',
'CDbConnection failed to open the DB connection: {error}' => 'CDbConnection n\'a pu ouvrir la connexion à la base de données: {error}',
'CDbConnection is inactive and cannot perform any DB operations.' => 'CDbConnection est inactive et ne peut effectuer aucune opération sur la base de données.',
'CDbConnection.connectionString cannot be empty.' => 'La propriété CDbConnection.connectionString ne peut être vide.',
'CDbDataReader cannot rewind. It is a forward-only reader.' => 'CDbDataReader ne peut reculer. Seule la lecture en avant est possible.',
@ -111,9 +111,9 @@ return array (
'Cannot add "{name}" as a child of itself.' => 'Impossible d\'ajouter « {name} » en tant qu\'enfant de lui-même.',
'Cannot add an item of type "{child}" to an item of type "{parent}".' => 'Impossible d\'ajouter un élément de type « {child} » à un élément de type « {parent} ».',
'Column name must be either a string or an array.' => 'Le nom de la colonne doit être une chaine de caractères ou un tableau.',
'Either "{parent}" or "{child}" does not exist.' => 'Soit « {parent} » soit « {child} » n\'existe pas.',
'Error: Table "{table}" does not have a primary key.' => 'Erreur : la table « {table} » n\'a pas de clef primaire.',
'Error: Table "{table}" has a composite primary key which is not supported by crud command.' => 'Erreur : la table « {table} » a une clef primaire composite qui n\'est pas supportée par les commandes CRUD.',
'Either "{parent}" or "{child}" does not exist.' => '« {parent} » ou « {child} » est inexistant.',
'Error: Table "{table}" does not have a primary key.' => 'Erreur: la table « {table} » n\'a pas de clef primaire.',
'Error: Table "{table}" has a composite primary key which is not supported by crud command.' => 'Erreur: la table « {table} » a une clef primaire composite qui n\'est pas supportée par les commandes CRUD.',
'Event "{class}.{event}" is attached with an invalid handler "{handler}".' => 'L\'événement « {class}.{event} » est associé à un gestionnaire d\'événement « {handler} » invalide.',
'Event "{class}.{event}" is not defined.' => 'L\'événement « {class}.{event} » n\'est pas défini.',
'Extension path "{path}" does not exist.' => 'Le chemin d\'accès « {path} » de l\'extension n\'existe pas.',
@ -121,7 +121,7 @@ return array (
'File upload was stopped by extension.' => 'Le téléchargement a été stoppé par l\'extension.',
'Filter "{filter}" is invalid. Controller "{class}" does have the filter method "filter{filter}".' => 'Le filtre « {filter} » est invalide. Le contrôleur « {class} » possède la méthode de filtrage « filter{filter} ».',
'Get a new code' => 'Récupérez un nouveau code',
'Go to page: ' => 'Aller à la page :',
'Go to page: ' => 'Aller à la page:',
'Invalid MO file revision: {revision}.' => 'Version du fichier MO invalide: {revision}.',
'Invalid MO file: {file} (magic: {magic}).' => 'Fichier MO invalide: {file} (magic: {magic}).',
'Invalid enumerable value "{value}". Please make sure it is among ({enum}).' => 'Valeur « {value} » invalide. Vérifiez qu\'elle fait partie de ({enum}).',
@ -136,7 +136,7 @@ return array (
'No columns are being updated for table "{table}".' => 'Aucune colonne de la table « {table} » ne sera mise à jour.',
'No counter columns are being updated for table "{table}".' => 'Aucune colonne incrémentale de la table « {table} » ne sera mise à jour.',
'Object configuration must be an array containing a "class" element.' => 'L\'objet configuration doit être un tableau contenant un élément « class ».',
'Please fix the following input errors:' => 'Veuillez corriger les erreurs de saisie :',
'Please fix the following input errors:' => 'Veuillez corriger les erreurs de saisie:',
'Property "{class}.{property}" is not defined.' => 'La propriété « {class}.{property} » est indéfinie.',
'Property "{class}.{property}" is read only.' => 'La propriété « {class}.{property} » est en lecture seule.',
'Queue data must be an array or an object implementing Traversable.' => 'Les données de la queue doivent être un tableau ou un objet qui implémente Traversable.',
@ -155,7 +155,7 @@ return array (
'The asset "{asset}" to be published does not exist.' => 'L\'asset « {asset} » à publier n\'existe pas.',
'The command path "{path}" is not a valid directory.' => 'Le chemin d\'accès « {path} » à la ligne de commande n\'est pas un dossier valide.',
'The controller path "{path}" is not a valid directory.' => 'Le chemin d\'accès « {path} » au contrôleur n\'est pas un dossier valide.',
'The file "{file}" cannot be uploaded. Only files with these extensions are allowed: {extensions}.' => 'Le fichier « {file} » ne peut être téléchargé. Les extensions de fichier autorisées sont : {extensions}.',
'The file "{file}" cannot be uploaded. Only files with these extensions are allowed: {extensions}.' => 'Le fichier « {file} » ne peut être téléchargé. Les extensions de fichier autorisées sont: {extensions}.',
'The file "{file}" is too large. Its size cannot exceed {limit} bytes.' => 'Le fichier « {file} » est trop gros. Sa taille ne peut être supérieure à {limit} octets.',
'The file "{file}" is too small. Its size cannot be smaller than {limit} bytes.' => 'Le fichier « {file} » est trop petit. Sa taille ne peut être inférieure à {limit} octets.',
'The file "{file}" was only partially uploaded.' => 'Le fichier « {file} » a été téléchargé partiellement.',
@ -182,8 +182,8 @@ return array (
'The pattern for week in month must be "W".' => 'Le motif de définition du numéro de semaine dans le mois doit être « W ».',
'The pattern for week in year must be "w".' => 'Le motif de définition du numéro de semaine dans l\'année doit être « w ».',
'The queue is empty.' => 'La queue est vide.',
'The relation "{relation}" in active record class "{class}" is not specified correctly. The join table "{joinTable}" given in the foreign key cannot be found in the database.' => 'La relation « {relation} » dans la classe Active record « {class} » n\'est pas définie correctement. La table de jointure « {joinTable} » donnée par la clef étrangère n\'a pas été trouvée dans la base de données.',
'The relation "{relation}" in active record class "{class}" is not specified correctly: the join table "{joinTable}" given in the foreign key cannot be found in the database.' => 'La relation « {relation} » définie dans la classe Active record « {class} » est incorrecte : la table de jointure « {joinTable} » spécifiée par la clef étrangère est introuvable dans la base de données.',
'The relation "{relation}" in active record class "{class}" is not specified correctly. The join table "{joinTable}" given in the foreign key cannot be found in the database.' => 'La relation « {relation} » dans la classe Active record « {class} » n\'est pas définie correctement. La table de jointure « {joinTable} » donnée de la clef étrangère n\'est pas trouvée dans la base de données.',
'The relation "{relation}" in active record class "{class}" is not specified correctly: the join table "{joinTable}" given in the foreign key cannot be found in the database.' => 'La relation « {relation} » définie dans la classe Active record « {class} » est incorrecte: la table de jointure « {joinTable} » spécifiée par la clef étrangère est introuvable dans la base de données.',
'The relation "{relation}" in active record class "{class}" is specified with a foreign key "{key}" that does not point to the parent table "{table}".' => 'La relation « {relation} » dans la classe Active record « {class} » est définie avec la clef étrangère « {key} » qui ne pointe pas vers la table parente « {table} ».',
'The relation "{relation}" in active record class "{class}" is specified with an incomplete foreign key. The foreign key must consist of columns referencing both joining tables.' => 'La relation « {relation} » définie dans l\'active record « {class} » a une clef étrangère incomplète. La clef étrangère doit être constituée de colonnes qui font référence aux deux tables jointes.',
'The relation "{relation}" in active record class "{class}" is specified with an invalid foreign key "{key}". There is no such column in the table "{table}".' => 'La relation « {relation} » définie dans la classe active record « {class} » a une clef étrangère « {key} » invalide. Cette colonne n\'existe pas dans la table « {table} ».',
@ -221,10 +221,10 @@ return array (
'{attribute} is not a valid email address.' => '{attribute} n\'est pas une adresse email valide.',
'{attribute} is not in the list.' => '{attribute} n\'est pas dans la liste.',
'{attribute} is of the wrong length (should be {length} characters).' => '{attribute} n\'est pas de la bonne longueur ({length} caractères autorisés).',
'{attribute} is too big (maximum is {max}).' => '{attribute} est trop grand (maximum : {max}).',
'{attribute} is too long (maximum is {max} characters).' => '{attribute} est trop long (maximum : {max} caractères).',
'{attribute} is too short (minimum is {min} characters).' => '{attribute} est trop court (minimum : {min} caractères).',
'{attribute} is too small (minimum is {min}).' => '{attribute} est trop petit (minimum : {min}).',
'{attribute} is too big (maximum is {max}).' => '{attribute} est trop grand (maximum: {max}).',
'{attribute} is too long (maximum is {max} characters).' => '{attribute} est trop long (maximum: {max} caractères).',
'{attribute} is too short (minimum is {min} characters).' => '{attribute} est trop court (minimum: {min} caractères).',
'{attribute} is too small (minimum is {min}).' => '{attribute} est trop petit (minimum: {min}).',
'{attribute} must be a number.' => '{attribute} doit être un nombre.',
'{attribute} must be an integer.' => '{attribute} doit être un entier.',
'{attribute} must be either {true} or {false}.' => '{attribute} doit être soit {true} soit {false}.',

231
framework/messages/hr/yii.php

@ -0,0 +1,231 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yiic message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* NOTE, this file must be saved in UTF-8 encoding.
*/
return array (
0 => '0',
'Virtual attribute {name} must specify "asc" and "desc" options.' => 'Virtualni atribut {name} mora specificirati "asc"- i "desc" opcije.',
'"{path}" is not a valid directory.' => '"{path}" nije važeći direktorij.',
'&lt; Previous' => '&lt; Prethodna',
'&lt;&lt; First' => '&lt;&lt; Prva',
'Active Record requires a "db" CDbConnection application component.' => 'ActiveRecord zahtjeva "db" CDbConnection aplikacijsku komponentu.',
'Active record "{class}" has an invalid configuration for relation "{relation}". It must specify the relation type, the related active record class and the foreign key.' => 'ActiveRecord-Klasa "{class}" ima nevažeću konfiguraciju za odnos "{relation}". Tipa odnosa, odnosni ActiveRecord i strani ključ (foreign key) moraju biti postavljeni.',
'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'ActiveRecord "{class}" koristi nevažeće polje "{column}" u SELECT. Pripazite da to polje mora da postoji u tabeli ili da bude alias izraz.',
'Active record class "{class}" does not have a scope named "{scope}".' => 'ActiveRecord-Klasa "{class}" nema polje imenovano "{scope}".',
'Alias "{alias}" is invalid. Make sure it points to an existing directory or file.' => 'Alias "{alias}" je validan. Molim vas, uspostavite da pokazuje do važećeg direktorija ili fajla.',
'Application base path "{path}" is not a valid directory.' => 'Glavni put (base path) "{path}" aplikacije nije važeći.',
'Application runtime path "{path}" is not valid. Please make sure it is a directory writable by the Web server process.' => 'Prometni put (runtime path) "{path}" aplikacije je nevažan. Pripazite da proces web servera ima pravo da tamo piše.',
'Authorization item "{item}" has already been assigned to user "{user}".' => 'Element autorizacije "{item}" je već namjenjen korisniku "{user}".',
'Base path "{path}" is not a valid directory.' => 'Glavni put "{path}" je nevažeći direktorijum.',
'CApcCache requires PHP apc extension to be loaded.' => 'CApcCache zahtjeva da je učitan PHP APC dodatak.',
'CAssetManager.basePath "{path}" is invalid. Please make sure the directory exists and is writable by the Web server process.' => 'CAssetManager.basePath "{path}" nije važeća. Pripazite da postoji taj direktorijum i da proces web servera ima pravo da tamo piše.',
'CCacheHttpSession.cacheID is invalid. Please make sure "{id}" refers to a valid cache application component.' => 'CCacheHttpSession.cacheID nije važeća. Molim vas, uspostavite da se "{id}" odnosi na važeću cache aplikacionu komponentu.',
'CCaptchaValidator.action "{id}" is invalid. Unable to find such an action in the current controller.' => 'CCaptchaValidator.action "{id}" nije važeća. Ne mogu da pronađem takvu akciju u trenutnom controlleru.',
'CDbAuthManager.connectionID "{id}" is invalid. Please make sure it refers to the ID of a CDbConnection application component.' => 'CDbAuthManager.connectionID "{id}" nije važeća. Molimo vas, uspostavite da se "{id}" odnosi na važeću aplikacijsku komponentu tipa CDbConnection.',
'CDbCache.connectionID "{id}" is invalid. Please make sure it refers to the ID of a CDbConnection application component.' => 'CDbCache.connectionID "{id}" nije važeća. Molimo vas, uspostavite da se odnosi na važeću aplikacijsku komponentu tipa CDbConnection.',
'CDbCacheDependency.sql cannot be empty.' => 'CDbCacheDependency.sql ne smije biti prazno.',
'CDbCommand failed to execute the SQL statement: {error}' => 'CDbCommand ne može da izvrši SQL-Statement: {error}',
'CDbCommand failed to prepare the SQL statement: {error}' => 'CDbCommand ne može da pripremi SQL-Statement: {error}',
'CDbConnection does not support reading schema for {driver} database.' => 'CDbConnection ne podržava čitanje šema za {driver}-datoteke.',
'CDbConnection failed to open the DB connection: {error}' => 'CDbConnection ne može da uspostavi spoj sa datotekom: {error}',
'CDbConnection is inactive and cannot perform any DB operations.' => 'CDbConnection nije aktivna i ne može izvršavati operacije na datoteci.',
'CDbConnection.connectionString cannot be empty.' => 'CDbConnection.connectionString ne smije biti prazno.',
'CDbDataReader cannot rewind. It is a forward-only reader.' => 'CDbDataReader se ne može premotavati. On je forward-only (samo naprijed) čitač.',
'CDbHttpSession.connectionID "{id}" is invalid. Please make sure it refers to the ID of a CDbConnection application component.' => 'CDbHttpSession.connectionID "{id}" nije važeća. Molimo vas, uspostavite da se "{id}" odnosi na važeću aplikacijsku komponentu tipa CDbConnection.',
'CDbLogRoute.connectionID "{id}" does not point to a valid CDbConnection application component.' => 'CDbLogRoute.connectionID "{id}" ne pokazuje na važeću aplikacijsku komponentu od tipa Typ CDbConnection.',
'CDbMessageSource.connectionID is invalid. Please make sure "{id}" refers to a valid database application component.' => 'CDbMessageSource.connectionID je nevažna. Molimo vas, uspostavite da se "{id}" odnosi na važeću aplikacijsku komponentu tipa CDbConnection.',
'CDbTestFixture.connectionID "{id}" is invalid. Please make sure it refers to the ID of a CDbConnection application component.' => 'CDbFixture.connectionID "{id}" je nevažeća. Molim vas, uspostavite da se odnosi na važeću aplikacionu komponentu tipa CDbConnection.',
'CDbTransaction is inactive and cannot perform commit or roll back operations.' => 'CDbTransaction nije aktivno i ne može da izvrši Commit- ili Rollback operaciju.',
'CDirectoryCacheDependency.directory cannot be empty.' => 'CDirectoryCacheDependency.directory ne smije biti prazno.',
'CEAcceleratorCache requires PHP eAccelerator extension to be loaded, enabled or compiled with the "--with-eaccelerator-shared-memory" option.' => 'CEAcceleratorCache zahtjeva da je PHP eAccelerator dodatak učitan i aktiviran ili se kompajlira sa opcijom "--with-eaccelerator-shared-memory".',
'CFileCacheDependency.fileName cannot be empty.' => 'CFileCacheDependency.fileName ne smije biti prazno.',
'CFileLogRoute.logPath "{path}" does not point to a valid directory. Make sure the directory exists and is writable by the Web server process.' => 'CFileLogRoute.logPath "{path}" ne pokazuje na nevažeći direktorij. Pripazite da postoji taj direktorij i da proces web servera ima pravo da tamo piše.',
'CFilterChain can only take objects implementing the IFilter interface.' => 'CFilterChain smije primiti samo objekte koje implementiraju IFilter-Interface.',
'CFlexWidget.baseUrl cannot be empty.' => 'CFlexWidget.baseUrl ne smije biti prazno.',
'CFlexWidget.name cannot be empty.' => 'CFlexWidget.name ne smije biti prazno.',
'CGlobalStateCacheDependency.stateName cannot be empty.' => 'CGlobalStateCacheDependency.stateName ne smije biti prazno.',
'CHttpCookieCollection can only hold CHttpCookie objects.' => 'CHttpCookieCollection smije da sadrži samo CHttpCookie-Objekte.',
'CHttpRequest is unable to determine the entry script URL.' => 'CHttpRequest ne može da ustanovi URL ulaznog skripta (entry script).',
'CHttpRequest is unable to determine the path info of the request.' => 'CHttpRequest ne može da ustanovi informacije o putu (path info) za tekući zahtjev (request).',
'CHttpRequest is unable to determine the request URI.' => 'CHttpRequest ne može da ustanovi URI za tekući zahtjev (request).',
'CHttpSession.cookieMode can only be "none", "allow" or "only".' => 'CHttpSession.cookieMode može biti jedino "none", "allow" ili "only".',
'CHttpSession.gcProbability "{value}" is invalid. It must be an integer between 0 and 100.' => 'CHttpSession.gcProbability "{value}" je pogrešan. Mora biti cijeli broj (integer) između 0 i 100.',
'CHttpSession.savePath "{path}" is not a valid directory.' => 'CHttpSession.savePath "{path}" nije ispravan direktorij.',
'CMemCache server configuration must be an array.' => 'CMemCache server konfiguracija mora biti niz (array)',
'CMemCache server configuration must have "host" value.' => 'CMemCache server konfiguracija mora imati dodjeljenu vrijednost za "host".',
'CMultiFileUpload.name is required.' => 'CMultiFileUpload.name je obavezno.',
'CProfileLogRoute found a mismatching code block "{token}". Make sure the calls to Yii::beginProfile() and Yii::endProfile() be properly nested.' => 'CProfileLogRoute je našao neusaglašen blok koda "{token}". Budite sigurni da su pozivi Yii::beginProfile() i Yii::endProfile() ispravno ugnježdeni.',
'CProfileLogRoute.report "{report}" is invalid. Valid values include "summary" and "callstack".' => 'CProfileLogRoute.report "{report}" je pogrešan. Ispravne vrijednosti uključuju "summary" i "callstack".',
'CSecurityManager requires PHP mcrypt extension to be loaded in order to use data encryption feature.' => 'CSecurityManager zahtjeva da PHP mcrypt ekstenzija bude uključena da bi se koristila mogućnost enkripcije podataka.',
'CSecurityManager.encryptionKey cannot be empty.' => 'CSecurityManager.encryptionKey ne može biti prazan.',
'CSecurityManager.validation must be either "MD5" or "SHA1".' => 'CSecurityManager.validation mora biti "MD5" ili "SHA1".',
'CSecurityManager.validationKey cannot be empty.' => 'CSecurityManager.validationKey ne može biti prazan',
'CTypedList<{type}> can only hold objects of {type} class.' => 'CTypedList<{type}> može da sadrži jedino objekte {type} klase.',
'CUrlManager.UrlFormat must be either "path" or "get".' => 'CUrlManager.UrlFormat mora biti "path" ili "get".',
'CXCache requires PHP XCache extension to be loaded.' => 'CXCache zahtjeva da ekstenzija PHP XCache bude učitana.',
'CZendDataCache requires PHP Zend Data Cache extension to be loaded.' => 'CZendDataCache zahtjeva da ekstenzija PHP Zend Cache bude učitana.',
'Cannot add "{child}" as a child of "{name}". A loop has been detected.' => 'Ne mogu da dodam "{child}" kao dijete od "{name}". Detektovana je petlja.',
'Cannot add "{child}" as a child of "{parent}". A loop has been detected.' => 'Ne mogu da dodam "{child}" kao dijete od "{parent}". Detektovana je petlja.',
'Cannot add an item of type "{child}" to an item of type "{parent}".' => 'Ne mogu da dodam stavku (item) tipa "{child}" u stavku (item) tipa "{parent}".',
'Cannot add "{name}" as a child of itself.' => 'Ne mogu da dodam "{name}" kao svoje dijete.',
'Column "{column} does not exist in table "{table}".' => 'Kolona "{column}" ne postoji u tabeli "{table}".',
'Column name must be either a string or an array.' => 'Ime kolone mora biti string ili array.',
'Either "{parent}" or "{child}" does not exist.' => 'Ni "{parent}" ni "{child}" ne postoje.',
'Error: Table "{table}" does not have a primary key.' => 'Greška: Tabela "{table}" nema primarni ključ (primary key).',
'Error: Table "{table}" has a composite primary key which is not supported by crud command.' => 'Greška: Tabela "{table}" ima kompozitni primarni ključ (composite primary key) koji nije podržan od strane "crud" komande.',
'Event "{class}.{event}" is attached with an invalid handler "{handler}".' => 'Događaj "{class}.{event}" je zakačen za pogrešan (nevažeći) hendler (handler) "{handler}".',
'Event "{class}.{event}" is not defined.' => 'Događaj (event) "{class}.{event}" nije definisan.',
'Extension path "{path}" does not exist.' => 'Put dodataka (extension path) "{path}" ne postoji.',
'Failed to write the uploaded file "{file}" to disk.' => 'Neuspješno snimanje uploadovanog fajla (uploaded file) "{file}" na disk.',
'File upload was stopped by extension.' => 'Upload fajla (file upload) je zaustavljeno od strane ekstenzije.',
'Filter "{filter}" is invalid. Controller "{class}" does have the filter method "filter{filter}".' => 'Filter "{filter}" je pogrešan. Kontroler "{class}" sadrži filter metod "filter{filter}".',
'Get a new code' => 'Dobavi novi kod',
'Go to page: ' => 'Idi na stranicu: ',
'Invalid MO file revision: {revision}.' => 'Pogrešna revizija MO fajla: {revision}.',
'Invalid MO file: {file} (magic: {magic}).' => 'Pogrešan (neispravan) MO fajl: {file} (magic: {magic}).',
'Invalid enumerable value "{value}". Please make sure it is among ({enum}).' => 'Pogrešna nabrojiva vrijednost "{value}". Molim vas, budite sigurni da je iz ({enum}).',
'Invalid operator "{operator}".' => 'Nevažeći operator "{operator}".',
'Last &gt;&gt;' => 'Zadnja &gt;&gt;',
'List data must be an array or an object implementing Traversable.' => 'Podatak liste (List data) mora biti niz ili objekat koji implementira Traversable.',
'List index "{index}" is out of bound.' => 'Indeks liste "{index}" je van opsega.',
'Login Required' => 'Potrebna prijava',
'Map data must be an array or an object implementing Traversable.' => 'Podatak mape (Map data) mora biti niz ili objekat koji implementira Traversable.',
'Missing the temporary folder to store the uploaded file "{file}".' => 'Nedostaje privremeni folder za spremanje učitanog fajla "{file}".',
'Next &gt;' => 'Sljedeća &gt;',
'No columns are being updated for table "{table}".' => 'Nijedna kolona neće biti ažurirana u tabeli "{table}".',
'No counter columns are being updated for table "{table}".' => 'Brojač kolona neće biti ažuriran za tabelu "{table}".',
'Object configuration must be an array containing a "class" element.' => 'Konfiguracija objekta mora biti niz koji sadrži "class" element.',
'Please fix the following input errors:' => 'Molim vas ispravite greške:',
'Property "{class}.{property}" is not defined.' => 'Svojstvo (property) "{class}.{property}" nije definisano.',
'Property "{class}.{property}" is read only.' => 'Svojstvo (property) "{class}.{property}" je samo za čitanje.',
'Queue data must be an array or an object implementing Traversable.' => 'Podatak reda (Queue data) mora biti niz ili objekat koji implementira Traversable.',
'Relation "{name}" is not defined in active record class "{class}".' => 'Odnos "{name}" nije definisan u active record klasi "{class}".',
'Resetting PK sequence is not supported.' => 'Ne podržava vraćanje PK sekvence.',
'Setting integrity check is not supported.' => 'Ne podržava se aktivacija kontrole integracije postavki.',
'Stack data must be an array or an object implementing Traversable.' => 'Podatak sa steka (Stack data) mora biti niz ili objekat koji implementira Traversable.',
'Table "{table}" does not have a column named "{column}".' => 'Tabela "{table}" ne posjeduje kolonu "{column}".',
'Table "{table}" does not have a primary key defined.' => 'Tabela "{table}" nema definisan primarni ključ (primary key).',
'The "filter" property must be specified with a valid callback.' => '"Filter" svojstvo (property) mora biti specificirano povratnom funkcijom (callback).',
'The "pattern" property must be specified with a valid regular expression.' => '"Pattern" svojstvo (property) mora biti specificirano ispravnim regularnim izrazom (regular expression).',
'The "view" property is required.' => '"view" svojstvo (property) je obavezno.',
'The CSRF token could not be verified.' => 'CSRF token ne može biti potvrđen (verifikovan).',
'The URL pattern "{pattern}" for route "{route}" is not a valid regular expression.' => 'URL šablon (pattern) "{pattern}" za rutu "{route}" nije ispravan regularni izraz (regular expression).',
'The active record cannot be deleted because it is new.' => 'Active record ne može biti izbrisan zato što je nov.',
'The active record cannot be inserted to database because it is not new.' => 'Active record ne može biti ubačen u bazu zato što je nov.',
'The active record cannot be updated because it is new.' => 'Active record ne može biti ažuriran zato što je nov.',
'The asset "{asset}" to be pulished does not exist.' => 'Resurs "{asset}" koji treba biti objavljen ne postoji.',
'The command path "{path}" is not a valid directory.' => 'Put direktorija do komande (command path) "{path}" nije ispravan.',
'The controller path "{path}" is not a valid directory.' => 'Put direktorija do kontrolera "{path}" nije ispravan.',
'The file "{file}" cannot be uploaded. Only files with these extensions are allowed: {extensions}.' => 'Fajl "{file}" ne može biti podignut (uploaded). Dozvoljeni su jedino fajlovi sa slijedećim ekstenzijama: {extensions}.',
'The file "{file}" is too large. Its size cannot exceed {limit} bytes.' => 'Fajl "{file}" je prevelik. Veličina fajla ne smije da prekorači {limit} bytes.',
'The file "{file}" is too small. Its size cannot be smaller than {limit} bytes.' => 'Fajl "{file}" je premali. Veličina fajla ne smije biti manja od {limit} bytes.',
'The file "{file}" was only partially uploaded.' => 'Fajl "{file}" je samo djelimično učitan (uploaded).',
'The first element in a filter configuration must be the filter class.' => 'Prvi element u konfiguraciji filtera mora biti klasa filtera.',
'The item "{name}" does not exist.' => 'Stavka "{name}" ne postoji.',
'The item "{parent}" already has a child "{child}".' => 'Stavka "{parent}" već ima dijete "{child}".',
'The layout path "{path}" is not a valid directory.' => 'Put do direktorija layout "{path}" nije ispravan.',
'The list is read only.' => 'Lista (List) je samo za čitanje',
'The map is read only.' => 'Mapa (Map) je samo za čitanje',
'The module path "{path}" is not a valid directory.' => 'Put do modula "{path}" je nevažeći direktorijum.',
'The pattern for 12 hour format must be "h" or "hh".' => 'Šablon za 12 časovni format mora biti "h" ili "hh".',
'The pattern for 24 hour format must be "H" or "HH".' => 'Šablon za 24 časovni format mora biti "H" ili "HH".',
'The pattern for AM/PM marker must be "a".' => 'Šablona za AM/PM marker mora biti "a".',
'The pattern for day in month must be "F".' => 'Šablona za dan u mjesecu mora biti "F".',
'The pattern for day in year must be "D", "DD" or "DDD".' => 'Šablon za dan u godini mora biti "D", "DD" ili "DDD".',
'The pattern for day of the month must be "d" or "dd".' => 'Šablon za dan mjeseca mora biti "d" ili "dd".',
'The pattern for day of the week must be "E", "EE", "EEE", "EEEE" or "EEEEE".' => 'Šablon za dan sedmice mora biti "E", "EE", "EEE", "EEEE" ili "EEEEE".',
'The pattern for era must be "G", "GG", "GGG", "GGGG" or "GGGGG".' => 'Šablon za doba mora biti "G", "GG", "GGG", "GGGG" ili "GGGGG".',
'The pattern for hour in AM/PM must be "K" or "KK".' => 'Šablon za čas u AM/PM mora biti "K" ili "KK".',
'The pattern for hour in day must be "k" or "kk".' => 'Šablon za čas u danu mora biti "k" ili "kk".',
'The pattern for minutes must be "m" or "mm".' => 'Šablon za minute mora biti "m" ili "mm".',
'The pattern for month must be "M", "MM", "MMM", or "MMMM".' => 'Šablon za mjesec mora biti "M", "MM", "MMM" ili "MMMM".',
'The pattern for seconds must be "s" or "ss".' => 'Šablon za sekunde mora biti "s" ili "ss".',
'The pattern for time zone must be "z" or "v".' => 'Šablon za zonu mora biti "z" ili "v".',
'The pattern for week in month must be "W".' => 'Šablon za sedmicu u mjesecu mora biti "W".',
'The pattern for week in year must be "w".' => 'Šablon za sedmicu u godini mora biti "w".',
'The queue is empty.' => 'Red (queue) je prazan.',
'The relation "{relation}" in active record class "{class}" is not specified correctly: The join table "{joinTable}" given in the foreign key cannot be found in the database.' => 'Odnos "{relation}" u active record klasi "{class}" nije specificirana ispravno: pridružena tabela (join table) "{joinTable}" zadata u spoljnom ključu (foreign key) ne može biti pronađena u bazi.',
'The relation "{relation}" in active record class "{class}" is not specified correctly: the join table "{joinTable}" given in the foreign key cannot be found in the database.' => 'Odnos "{relation}" u active record klasi "{class}" nije specificirana ispravno: pridružena tabela (join table) "{joinTable}" zadata u spoljnom ključu (foreign key) ne može biti pronađena u bazi.',
'The relation "{relation}" in active record class "{class}" is specified with a foreign key "{key}" that does not point to the parent table "{table}".' => 'Odnos "{relation}" u active record klasi "{class}" je ispisan sa spoljnim ključem "{key}", koji ne prikazuje na tabelu "{table}".',
'The relation "{relation}" in active record class "{class}" is specified with an incomplete foreign key. The foreign key must consist of columns referencing both joining tables.' => 'Odnos "{relation}" u active record klasi "{class}" je specificirana sa nekompletnim spoljnim ključem (foreign key). Spoljni ključ (foreign key) mora se sastojati od kolona koje referenciraju obadvije tabele za spajanje (joining tables).',
'The relation "{relation}" in active record class "{class}" is specified with an invalid foreign key "{key}". The foreign key does not point to either joining table.' => 'Odnos "{relation}" u active record klasi "{class}" je specificirana pogrešnim spoljnim ključem (foreign key) "{key}". Spoljni ključ (foreign key) ne pokazuje ni na jednu tabelu za spajanje (joining tables).',
'The relation "{relation}" in active record class "{class}" is specified with an invalid foreign key "{key}". There is no such column in the table "{table}".' => 'Odnos "{relation}" u active record klasi "{class}" je specificirana sa pogrešnim spoljnim ključem "{key}". U tabeli "{table}" ne postoji takva kolona.',
'The relation "{relation}" in active record class "{class}" is specified with an invalid foreign key. The columns in the key must match the primary keys of the table "{table}".' => 'Odnos "{relation}" u active record klasi "{class}" je specificirana pogrešnim spoljnim ključem (foreign key). Kolone spoljnog ključa (foreign key) moraju biti iste kao i primarnog ključa od tabele "{table}".',
'The relation "{relation}" in active record class "{class}" is specified with an invalid foreign key. The format of the foreign key must be "joinTable(fk1,fk2,...)".' => 'Odnos "{relation}" u active record klasi "{class}" je specificirana pogrešnim spoljnim ključem (foreign key). Format spoljnog ključa (foreign key) mora biti "joinTable(fk1,fk2,...)',
'The requested view "{name}" was not found.' => 'zahtjevani pogled (view) "{name}" nije pronađen.',