Commit Graph

5420 Commits

Author SHA1 Message Date
Victor Berchet
30d348d18d [Form] Make the default invalid message translatable 2011-07-11 08:36:37 +02:00
Fabien Potencier
1a5b14d49d merged branch xmontana/master (PR #1618)
Commits
-------

b8b8869 updated translation to catalan

Discussion
----------

Edited src/Symfony/Bundle/FrameworkBundle/Resources/translations/validators.ca.xliff
2011-07-10 19:53:41 +02:00
Fabien Potencier
99f5eac71a merged branch wtfzdotnet/patch-2 (PR #1619)
Commits
-------

0be00c1 Edited src/Symfony/Bundle/FrameworkBundle/Resources/translations/validators.nl.xliff via GitHub

Discussion
----------

Edited src/Symfony/Bundle/FrameworkBundle/Resources/translations/validato

Edited src/Symfony/Bundle/FrameworkBundle/Resources/translations/validators.nl.xliff via GitHub
2011-07-10 19:53:25 +02:00
Fabien Potencier
f88a7a78b0 merged branch 77web/add_ja_translation_11_july (PR #1620)
Commits
-------

d53f312 changed "should" to "must" in message 6 and 7. also moved message 32 as replacement of message 5, according to note by yethee
e151c80 updated japanese translations

Discussion
----------

updated japanese translations

Please update japanese translations.
I  picked up some messages from the latest sources of validation classes on your master branch, because translations for many other languages seems not to contain messages for recent validator classes, such as Image,Ip,Locale,Language.
Thanks in advance!

---------------------------------------------------------------------------

by yethee at 2011/07/10 09:23:01 -0700

> "One or more..." is on message#33 in my commit, should I locate #33 just after #5?

Not necessarily, the order of messages is not important, AFAIK.
2011-07-10 19:53:09 +02:00
77web
d53f312e2b changed "should" to "must" in message 6 and 7. also moved message 32 as replacement of message 5, according to note by yethee 2011-07-11 00:50:09 +09:00
Michael Roterman
0be00c13dd Edited src/Symfony/Bundle/FrameworkBundle/Resources/translations/validators.nl.xliff via GitHub 2011-07-10 08:24:56 -07:00
Xmontana
b8b8869f05 updated translation to catalan 2011-07-10 17:07:42 +02:00
77web
e151c805a0 updated japanese translations 2011-07-10 23:53:04 +09:00
Fabien Potencier
29460becde merged branch drm/master (PR #1615)
Commits
-------

9714cfc Fixes fatal error when intl module is not installed.

Discussion
----------

Session instantiation breaks with Fatal error if intl module is not installed.

A check for class_exists in setPhpDefaultLocale() fixes this, though I got the feeling it should be resolved with a proxy or subscriber object; setPhpDefaultLocale feels like a hack now.

---------------------------------------------------------------------------

by stealth35 at 2011/07/10 06:32:43 -0700

Locale::setDefault don't throw any exception
Maybe just :

```php
if (class_exists('Locale', false)) {
    return \Locale::setDefault($this->locale);
} else {
    return false;
}
```
2011-07-10 15:34:36 +02:00
Vladislav
cd7eb02816 Edited src/Symfony/Bundle/FrameworkBundle/Resources/translations/validators.ru.xliff via GitHub 2011-07-10 06:28:16 -07:00
drm
9714cfc4f9 Fixes fatal error when intl module is not installed. 2011-07-10 15:15:04 +02:00
Javier Eguíluz
bb6eefed55 [FrameworkBundle] Updated Spanish validator translations 2011-07-10 13:39:21 +02:00
Fabien Potencier
86356661f7 merged branch beberlei/Issue1376 (PR #1612)
Commits
-------

08b4219 [DoctrineBridge] Issue #1376 - Unique Validator does not work with null values

Discussion
----------

Issue1376

[DoctrineBridge] Issue #1376 - Unique Validator does not work with null values
2011-07-10 11:14:23 +02:00
Benjamin Eberlei
08b4219347 [DoctrineBridge] Issue #1376 - Unique Validator does not work with null values 2011-07-10 11:06:21 +02:00
Deni
c3f89992b5 [FrameworkBundle] Fixes Russian translations for the validators. 2011-07-10 12:47:22 +04:00
Fabien Potencier
21cf0b15ab merged branch yethee/ru_translations (PR #1601)
Commits
-------

c1cab27 [FrameworkBundle] Updated Russian translations for validators.

Discussion
----------

[FrameworkBundle] Updated Russian translations for validators.

Sync translations with the actual validator constraints.

Removed some translations (they are not found among the constraints):

  - `This value should be instance of class {{ class }}`
  - `This field group should not contain extra fields`
  - `The uploaded file was too large. Please try to upload a smaller file`
2011-07-10 09:58:31 +02:00
Fabien Potencier
bbf2f05566 merged branch excelwebzone/hebrew_translations (PR #1605)
Commits
-------

801e578  Add hebrew translations

Discussion
----------

Add hebrew translations
2011-07-10 09:56:53 +02:00
excelwebzone
801e578112 Add hebrew translations 2011-07-09 10:37:38 -07:00
Christophe Coevoet
7517fa4448 [DoctrineBundle] Fixed the transient test 2011-07-09 16:52:49 +02:00
Deni
c1cab277be [FrameworkBundle] Updated Russian translations for validators. 2011-07-09 18:49:22 +04:00
Christophe Coevoet
f21dc42358 [DoctrineBundle] Fixed the Registry::getEntityManagerForObject method 2011-07-09 16:31:24 +02:00
Joseph Bielawski
c1866e3710 Profiler search typo 2011-07-09 00:42:37 -07:00
Fabien Potencier
4a7b7597d8 merged branch marcw/validator-choice (PR #1577)
Commits
-------

df57e0f [Validator] Added strict option to ChoiceConstraint.

Discussion
----------

[Validator] Added strict option to ChoiceConstraint.

By default, ChoiceValidator was ensuring strict type when checking if value is present in choices. This behavior is a problem when you want to validate against integer values. As all data you will receive from a request will be typed as a string, you won't be able to validate these numeric values.
This patch solves this.

In order for being nice to developers, I've set "strict" to false by default.
2011-07-09 09:19:08 +02:00
Fabien Potencier
2a5bf56a3a merged branch ornicar/redirectResponseIndentation (PR #1589)
Commits
-------

6c736c9 Fix RedirectResponse HTML indentation and constructor phpDoc

Discussion
----------

Fix RedirectResponse HTML indentation and constructor phpDoc

Removes extra indents from the redirection response content.
2011-07-09 09:15:20 +02:00
Alif Rachmawadi
937af2f7d2 add indonesian translations 2011-07-09 09:52:20 +07:00
ornicar
6c736c936f Fix RedirectResponse HTML indentation and constructor phpDoc 2011-07-08 18:14:45 -07:00
Fabien Potencier
aed87c50f0 merged branch aboks/dutch_translations (PR #1586)
Commits
-------

45c2da7 [FrameworkBundle] Updated Dutch validator translations

Discussion
----------

[FrameworkBundle] Updated Dutch validator translations

Synchronized Dutch validator translations for some recent changes.
2011-07-08 10:45:31 +02:00
Fabien Potencier
103e9d1c6e merged branch sortex/sk_translations (PR #1584)
Commits
-------

d0258dd [FrameworkBundle]Slovak translations

Discussion
----------

Slovak translations

Slovak translations for framework bundle
2011-07-08 10:45:14 +02:00
Arnout Boks
45c2da75cf [FrameworkBundle] Updated Dutch validator translations 2011-07-08 10:39:56 +02:00
Sortex
d0258dd483 [FrameworkBundle]Slovak translations 2011-07-08 09:23:39 +02:00
Fabien Potencier
8cba4903d8 [Process] removed workaround as it seems to not work anymore after the recent changes 2011-07-08 09:14:48 +02:00
Fabien Potencier
c85fd081c8 [FrameworkBundle] fixed _internal route when the path contains dots 2011-07-07 17:25:53 +02:00
marc.weistroff
df57e0fe9a [Validator] Added strict option to ChoiceConstraint. 2011-07-07 15:11:36 +02:00
Fabien Potencier
0753f86dc1 [Translation] fixed CS 2011-07-07 12:27:49 +02:00
Fabien Potencier
d184b33bff merged branch stealth35/patch-8 (PR #1576)
Commits
-------

bb1b480 [Translation][Loader] CSV controls for CsvFileLoader

Discussion
----------

[Translation][Loader] CSV controls for CsvFileLoader
2011-07-07 12:26:16 +02:00
Fabien Potencier
0b0356f348 [HttpKernel] fixed exception handler when an exception is thrown during handling 2011-07-07 12:24:58 +02:00
stealth35
bb1b48046d [Translation][Loader] CSV controls for CsvFileLoader 2011-07-07 02:46:07 -07:00
Fabien Potencier
4f9060c929 [Routing] added back a comment that were deleted previously 2011-07-07 11:11:30 +02:00
Fabien Potencier
c061b4576b merged branch Seldaek/urlgen (PR #1573)
Commits
-------

ac1448f [Routing] Revert to rawurlencode + whitelisting of '/'

Discussion
----------

[Routing] Revert to rawurlencode + whitelisting of '/'

After more discussion on 761724ae57 - sorry you merged too fast for once ;)
2011-07-07 11:08:08 +02:00
Fabien Potencier
cce2bc59a8 fixed CS 2011-07-07 11:07:02 +02:00
Fabien Potencier
9b3c2ca3d3 merged branch vicb/uploaded-file/max-size (PR #1574)
Commits
-------

6786e81 [HttpFoundation] code factorization in UploadedFile

Discussion
----------

[HttpFoundation] code factorization in UploadedFile

As both #1542 and #1544 have been merged.
2011-07-07 11:06:29 +02:00
Fabien Potencier
76a5816d60 [HttpKernel] fixed recursion when flattenning an exception stack trace 2011-07-07 10:59:18 +02:00
Victor Berchet
6786e81f61 [HttpFoundation] code factorization in UploadedFile 2011-07-07 10:47:10 +02:00
Jordi Boggiano
ac1448f573 [Routing] Revert to rawurlencode + whitelisting of '/' 2011-07-07 10:44:17 +02:00
Fabien Potencier
2ec4b04547 merged branch Seldaek/urlgen (PR #1569)
Commits
-------

6039569 [Routing] Add # and ? to escaped chars

Discussion
----------

[Routing] Add # and ? to escaped chars

See comments on 761724ae57
2011-07-07 09:44:11 +02:00
Fabien Potencier
59870bfe02 fixed typo 2011-07-07 09:42:47 +02:00
Fabien Potencier
3a5d508766 [Console] replaced fgets by stream_get_line in DialogHelper
Problem with fgets is that false means two things: an error or the end of the stream.
That's ok for STDIN, but it becomes a problem when using another stream (in a unit test for instance).
2011-07-07 09:41:45 +02:00
Jordi Boggiano
603956979c [Routing] Add # and ? to escaped chars 2011-07-07 09:38:15 +02:00
Fabien Potencier
7eec2ca7b3 [Form] added a form type name validator 2011-07-07 09:16:13 +02:00
Fabien Potencier
db415db0af [HttpFoundation] tweaked previous merge 2011-07-07 07:41:40 +02:00