fixing merge issues for comment tweaks

This commit is contained in:
Dayle Rees 2012-07-31 16:55:02 +01:00
commit 30175c2a52
21 changed files with 65 additions and 74 deletions

View File

@ -16,4 +16,4 @@
'previous' => '« Vorige',
'next' => 'Volgende »',
);
);

View File

@ -4,63 +4,54 @@
/*
|--------------------------------------------------------------------------
| Validation Language Lines
| Dutch validation language file
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used
| by the validator class. Some of the rules contain multiple versions,
| such as the size (max, min, between) rules. These versions are used
| for different input types such as strings and files.
|
| These language lines may be easily changed to provide custom error
| messages in your application. Error messages for custom validation
| rules may also be added to this file.
|
*/
"accepted" => "De :attribute moet worden geaccepteerd.",
"active_url" => "De :attribute is geen geldige URL.",
"after" => "De :attribute moet een datum zijn na :date.",
"alpha" => "De :attribute mag alleen letters bevatten.",
"alpha_dash" => "De :attribute mag alleen letters, nummers, en strepen bevatten.",
"alpha_num" => "De :attribute mag alleen letters en nummers bevatten",
"before" => "De :attribute moet een datim zijn voor :date.",
"accepted" => "Het :attribute moet geaccepteerd zijn.",
"active_url" => "Het :attribute is geen geldig URL.",
"after" => "Het :attribute moet een datum na :date zijn.",
"alpha" => "Het :attribute mag alleen letters bevatten.",
"alpha_dash" => "Het :attribute mag alleen letters, nummers, onderstreep(_) en strepen(-) bevatten.",
"alpha_num" => "Het :attribute mag alleen letters en nummers",
"before" => "Het :attribute moet een datum voor :date zijn.",
"between" => array(
"numeric" => "De :attribute moet tussen :min - :max zijn.",
"file" => "De :attribute moet tussen :min - :max kilobytes zijn.",
"string" => "De :attribute moet tussen :min - :max karakters zijn.",
"numeric" => "Het :attribute moet tussen :min en :max zijn.",
"file" => "Het :attribute moet tussen :min en :max kilobytes zijn.",
"string" => "Het :attribute moet tussen :min en :max tekens zijn.",
),
"confirmed" => "De :attribute bevestiging komt niet overeen.",
"different" => "De :attribute en :other moeten verschillen van elkaar.",
"email" => "De :attribute is ongeldig.",
"exists" => "De geselecteerde :attribute is ongeldig.",
"image" => "De :attribute moet een plaatje zijn.",
"in" => "De geselecteerde :attribute is ongeldig.",
"integer" => "De :attribute moet een heel getal zijn.",
"ip" => "De :attribute moet een geldig IP-adres zijn.",
"match" => "De :attribute formaat is ongeldig.",
"confirmed" => "Het :attribute bevestiging komt niet overeen.",
"different" => "Het :attribute en :other moeten verschillend zijn.",
"email" => "Het :attribute formaat is ongeldig.",
"exists" => "Het gekozen :attribute is al ingebruik.",
"image" => "Het :attribute moet een afbeelding zijn.",
"in" => "Het gekozen :attribute is ongeldig.",
"integer" => "Het :attribute moet een getal zijn.",
"ip" => "Het :attribute moet een geldig IP adres bevatten.",
"match" => "Het :attribute formaat is ongeldig.",
"max" => array(
"numeric" => "De :attribute moet minder zijn als :max.",
"file" => "De :attribute moet kleiner zijn als :max kilobytes.",
"string" => "De :attribute moet korter zijn dan :max karakters.",
"numeric" => "Het :attribute moet minder dan :max zijn.",
"file" => "Het :attribute moet minder dan :max kilobytes zijn.",
"string" => "Het :attribute moet minder dan :max tekens zijn.",
),
"mimes" => "De :attribute moet een van de volgende bestandsformaten :values bevatten",
"mimes" => "Het :attribute moet een bestand zijn van het bestandstype :values.",
"min" => array(
"numeric" => "De :attribute moet meer zijn als :min.",
"file" => "De :attribute moet groter zijn als :min kilobytes.",
"string" => "De :attribute moet langer zijn dan :min karakters.",
"numeric" => "Het :attribute moet minimaal :min zijn.",
"file" => "Het :attribute moet minimaal :min kilobytes zijn.",
"string" => "Het :attribute moet minimaal :min characters zijn.",
),
"not_in" => "De geselecteerde :attribute is ongeldig.",
"numeric" => "De :attribute moet een nummer zijn.",
"required" => "De :attribute veld is vereist.",
"same" => "De :attribute en :other moeten overeen komen.",
"not_in" => "Het :attribute formaat is ongeldig.",
"numeric" => "Het :attribute moet een nummer zijn.",
"required" => "Het :attribute veld is verplicht.",
"same" => "Het :attribute en :other moeten overeenkomen.",
"size" => array(
"numeric" => "De :attribute moet :size groot zijn.",
"file" => "De :attribute moet :size kilobytes groot zijn.",
"string" => "De :attribute moet :size karakters bevatten.",
"numeric" => "Het :attribute moet :size zijn.",
"file" => "Het :attribute moet :size kilobyte zijn.",
"string" => "Het :attribute moet :size characters zijn.",
),
"unique" => "De :attribute bestaat al.",
"url" => "De :attribute formaat is ongeldig.",
"unique" => "Het :attribute is al in gebruik.",
"url" => "Het :attribute formaat is ongeldig.",
/*
|--------------------------------------------------------------------------
@ -96,4 +87,4 @@
'attributes' => array(),
);
);

View File

@ -100,7 +100,7 @@ protected static function parse($task)
* // Resolve an instance of a task
* $task = Command::resolve('application', 'migrate');
*
* // Resolve an instance of a task wtihin a bundle
* // Resolve an instance of a task within a bundle
* $task = Command::resolve('bundle', 'foo');
* </code>
*

View File

@ -77,7 +77,7 @@ public static function put($name, $value, $expiration = 0, $path = '/', $domain
// If the secure option is set to true, yet the request is not over HTTPS
// we'll throw an exception to let the developer know that they are
// attempting to send a secure cookie over the unsecured HTTP.
// attempting to send a secure cookie over the insecure HTTP.
if ($secure and ! Request::secure())
{
throw new \Exception("Attempting to set secure cookie over HTTP.");
@ -120,4 +120,4 @@ public static function forget($name, $path = '/', $domain = null, $secure = fals
return static::put($name, null, -2000, $path, $domain, $secure);
}
}
}

View File

@ -167,7 +167,7 @@ public function join($table, $column1, $operator = null, $column2 = null, $type
}
// If the column is just a string, we can assume that the join just
// has a simple "ON" clause, and we'll create the join instance and
// has a simple on clause, and we'll create the join instance and
// add the clause automatically for the developer.
else
{

View File

@ -21,7 +21,7 @@ ## The Basics
<a name="creating-and-registering"></a>
## Creating Bundles
The first step in creating a bundle is to create a folder for the bundle within your **bundles** directory. For this example, let's create an "admin" bundle, which could house the administrator back-end to our application. The **application/start.php** file provides some basic configuration that helps to define how our application will run. Likewise we'll create a **start.php** file within our new bundle folder for the same purpose. It is run everytime the bundle is loaded. Let's create it:
The first step in creating a bundle is to create a folder for the bundle within your **bundles** directory. For this example, let's create an "admin" bundle, which could house the administrator back-end to our application. The **application/start.php** file provides some basic configuration that helps to define how our application will run. Likewise we'll create a **start.php** file within our new bundle folder for the same purpose. It is run every time the bundle is loaded. Let's create it:
#### Creating a bundle start.php file:

View File

@ -224,7 +224,7 @@ ### One-To-Many
return $this->has_many('Comment', 'my_foreign_key');
You may be wondering: _If the dynamic properties return the relationship and require less keystokes, why would I ever use the relationship methods?_ Actually, relationship methods are very powerful. They allow you to continue to chain query methods before retrieving the relationship. Check this out:
You may be wondering: _If the dynamic properties return the relationship and require less keystrokes, why would I ever use the relationship methods?_ Actually, relationship methods are very powerful. They allow you to continue to chain query methods before retrieving the relationship. Check this out:
echo Post::find(1)->comments()->order_by('votes', 'desc')->take(10)->get();

View File

@ -169,7 +169,7 @@ ## Table Joins
$join->on('users.id', '=', 'phone.user_id');
$join->or_on('users.id', '=', 'phone.contact_id');
})
->get(array('users.email', 'phone.numer'));
->get(array('users.email', 'phone.number'));
<a name="ordering"></a>
## Ordering Results

View File

@ -13,7 +13,7 @@ ## Contents
<a name="the-basics"></a>
## The Basics
The Schema Bulder provides methods for creating and modifying your database tables. Using a fluent syntax, you can work with your tables without using any vendor specific SQL.
The Schema Builder provides methods for creating and modifying your database tables. Using a fluent syntax, you can work with your tables without using any vendor specific SQL.
*Further Reading:*

View File

@ -24,7 +24,7 @@ #### Registering a resolver in the IoC container:
});
Great! Now we have registered a resolver for SwiftMailer in our container. But, what if we don't want the container to create a new mailer instance every time we need one? Maybe we just want the container to return the same instance after the intial instance is created. Just tell the container the object should be a singleton:
Great! Now we have registered a resolver for SwiftMailer in our container. But, what if we don't want the container to create a new mailer instance every time we need one? Maybe we just want the container to return the same instance after the initial instance is created. Just tell the container the object should be a singleton:
#### Registering a singleton in the container:

View File

@ -55,7 +55,7 @@ #### Getting a language line in a given language:
<a name="replace"></a>
## Place Holders & Replacements
Now, let's work on our welcome message. "Welcome to our website!" is a pretty generic message. It would be helpful to be able to specify the name of the person we are welcoming. But, creating a language line for each user of our application would be time-consuming and ridiculous. Thankfully, you don't have to. You can specify "place-holders" within your language lines. Place-holders are preceeded by a colon:
Now, let's work on our welcome message. "Welcome to our website!" is a pretty generic message. It would be helpful to be able to specify the name of the person we are welcoming. But, creating a language line for each user of our application would be time-consuming and ridiculous. Thankfully, you don't have to. You can specify "place-holders" within your language lines. Place-holders are preceded by a colon:
#### Creating a language line with place-holders:

View File

@ -24,7 +24,7 @@ ## Logging
To enable logging, set the **log** option in the error configuration to "true". When enabled, the Closure defined by the **logger** configuration item will be executed when an error occurs. This gives you total flexibility in how the error should be logged. You can even e-mail the errors to your development team!
By default, logs are stored in the **storage/logs** direcetory, and a new log file is created for each day. This keeps your log files from getting crowded with too many messages.
By default, logs are stored in the **storage/logs** directory, and a new log file is created for each day. This keeps your log files from getting crowded with too many messages.
<a name="the-logger-class"></a>
## The Logger Class

View File

@ -62,7 +62,7 @@ #### Determining if the current request is using HTTPS:
// This request is over HTTPS!
}
#### Determing if the current request is an AJAX request:
#### Determining if the current request is an AJAX request:
if (Request::ajax())
{

View File

@ -99,14 +99,14 @@ #### The default 404 event handler:
You are free to change this to fit the needs of your application!
*Futher Reading:*
*Further Reading:*
- *[Events](/docs/events)*
<a name="filters"></a>
## Filters
Route filters may be run before or after a route is executed. If a "before" filter returns a value, that value is considered the response to the request and the route is not executed, which is conveniont when implementing authentication filters, etc. Filters are typically defined in **application/routes.php**.
Route filters may be run before or after a route is executed. If a "before" filter returns a value, that value is considered the response to the request and the route is not executed, which is convenient when implementing authentication filters, etc. Filters are typically defined in **application/routes.php**.
#### Registering a filter:

View File

@ -366,7 +366,7 @@ #### Specifying a custom error message for a given attribute:
However, if you are using many custom error messages, specifying inline may become cumbersome and messy. For that reason, you can specify your custom messages in the **custom** array within the validation language file:
#### Adding custom error messages to the validation langauge file:
#### Adding custom error messages to the validation language file:
'custom' => array(
'email_required' => 'We need to know your e-mail address!',

View File

@ -15,7 +15,7 @@ ## Content
<a name="entities"></a>
## Entities
When displaying user input in your Views, it is important to convert all characters which have signifance in HTML to their "entity" representation.
When displaying user input in your Views, it is important to convert all characters which have significance in HTML to their "entity" representation.
For example, the < symbol should be converted to its entity representation. Converting HTML characters to their entity representation helps protect your application from cross-site scripting:

View File

@ -10,7 +10,7 @@ ## Contents
<a name="the-basics"></a>
## The Basics
Your application probably uses a common layout across most of its pages. Manually creating this layout within every controller action can be a pain. Specifying a controller layout will make your develompent much more enjoyable. Here's how to get started:
Your application probably uses a common layout across most of its pages. Manually creating this layout within every controller action can be a pain. Specifying a controller layout will make your development much more enjoyable. Here's how to get started:
#### Specify a "layout" property on your controller:

View File

@ -60,7 +60,7 @@ public static function native($code, $error, $file, $line)
{
if (error_reporting() === 0) return;
// For a PHP error, we'll create an ErrorExcepetion and then feed that
// For a PHP error, we'll create an ErrorException and then feed that
// exception to the exception method, which will create a simple view
// of the exception details for the developer.
$exception = new \ErrorException($error, $code, 0, $file, $line);

View File

@ -9,13 +9,13 @@ class HTML {
*/
public static $macros = array();
/**
* Registers a custom macro.
*
* @param string $name
* @param Closure $input
* @return void
*/
/**
* Registers a custom macro.
*
* @param string $name
* @param Closure $input
* @return void
*/
public static function macro($name, $macro)
{
static::$macros[$name] = $macro;

View File

@ -179,7 +179,7 @@ protected static function build($type, $parameters = array())
/**
* Resolve all of the dependencies from the ReflectionParameters.
*
* @param array $parameterrs
* @param array $parameters
* @return array
*/
protected static function dependencies($parameters)

View File

@ -106,7 +106,7 @@ public static function json($data, $status = 200, $headers = array())
* return Response::eloquent($data, 200, array('header' => 'value'));
* </code>
*
* @param Eloquenet|array $data
* @param Eloquent|array $data
* @param int $status
* @param array $headers
* @return Response