Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
423be049
Commit
423be049
authored
Jan 05, 2013
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into develop
parents
912f4e5e
731cec24
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
pagination.php
application/language/id/pagination.php
+2
-2
validation.php
application/language/pt/validation.php
+1
-1
validator.php
laravel/validator.php
+4
-3
No files found.
application/language/id/pagination.php
View file @
423be049
...
@@ -14,6 +14,6 @@ return array(
...
@@ -14,6 +14,6 @@ return array(
*/
*/
'previous'
=>
'« Sebelumnya'
,
'previous'
=>
'« Sebelumnya'
,
'next'
=>
'
Selanj
utnya »'
,
'next'
=>
'
Berik
utnya »'
,
);
);
\ No newline at end of file
application/language/pt/validation.php
View file @
423be049
...
@@ -18,7 +18,7 @@ return array(
...
@@ -18,7 +18,7 @@ return array(
|
|
*/
*/
"accepted"
=>
"O :attribute deve ser aceit
o
."
,
"accepted"
=>
"O :attribute deve ser aceit
e
."
,
"active_url"
=>
"O :attribute não é uma URL válida."
,
"active_url"
=>
"O :attribute não é uma URL válida."
,
"after"
=>
"O :attribute deve ser uma data após :date."
,
"after"
=>
"O :attribute deve ser uma data após :date."
,
"alpha"
=>
"O :attribute só pode conter letras."
,
"alpha"
=>
"O :attribute só pode conter letras."
,
...
...
laravel/validator.php
View file @
423be049
...
@@ -269,8 +269,9 @@ class Validator {
...
@@ -269,8 +269,9 @@ class Validator {
protected
function
validate_required_with
(
$attribute
,
$value
,
$parameters
)
protected
function
validate_required_with
(
$attribute
,
$value
,
$parameters
)
{
{
$other
=
$parameters
[
0
];
$other
=
$parameters
[
0
];
$other_value
=
array_get
(
$this
->
attributes
,
$other
);
if
(
$this
->
validate_required
(
$other
,
$
this
->
attributes
[
$other
]
))
if
(
$this
->
validate_required
(
$other
,
$
other_value
))
{
{
return
$this
->
validate_required
(
$attribute
,
$value
);
return
$this
->
validate_required
(
$attribute
,
$value
);
}
}
...
@@ -986,7 +987,7 @@ class Validator {
...
@@ -986,7 +987,7 @@ class Validator {
*/
*/
protected
function
replace_same
(
$message
,
$attribute
,
$rule
,
$parameters
)
protected
function
replace_same
(
$message
,
$attribute
,
$rule
,
$parameters
)
{
{
return
str_replace
(
':other'
,
$
parameters
[
0
]
,
$message
);
return
str_replace
(
':other'
,
$
this
->
attribute
(
$parameters
[
0
])
,
$message
);
}
}
/**
/**
...
@@ -1000,7 +1001,7 @@ class Validator {
...
@@ -1000,7 +1001,7 @@ class Validator {
*/
*/
protected
function
replace_different
(
$message
,
$attribute
,
$rule
,
$parameters
)
protected
function
replace_different
(
$message
,
$attribute
,
$rule
,
$parameters
)
{
{
return
str_replace
(
':other'
,
$
parameters
[
0
]
,
$message
);
return
str_replace
(
':other'
,
$
this
->
attribute
(
$parameters
[
0
])
,
$message
);
}
}
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment