Skip to content

Commit b486c4d

Browse files
committed
Merge branch '4.4' into 5.1
2 parents 3f61496 + bb37903 commit b486c4d

File tree

5 files changed

+281
-2
lines changed

5 files changed

+281
-2
lines changed

Extension/Core/Type/FileType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ private function getFileUploadError(int $errorCode)
146146
$messageParameters = [];
147147

148148
if (\UPLOAD_ERR_INI_SIZE === $errorCode) {
149-
list($limitAsString, $suffix) = $this->factorizeSizes(0, self::getMaxFilesize());
149+
[$limitAsString, $suffix] = $this->factorizeSizes(0, self::getMaxFilesize());
150150
$messageTemplate = 'The file is too large. Allowed maximum size is {{ limit }} {{ suffix }}.';
151151
$messageParameters = [
152152
'{{ limit }}' => $limitAsString,

FormBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ public function getIterator()
228228
*/
229229
private function resolveChild(string $name): FormBuilderInterface
230230
{
231-
list($type, $options) = $this->unresolvedChildren[$name];
231+
[$type, $options] = $this->unresolvedChildren[$name];
232232

233233
unset($this->unresolvedChildren[$name]);
234234

Resources/translations/validators.sk.xlf

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,126 @@
1414
<source>The CSRF token is invalid. Please try to resubmit the form.</source>
1515
<target>CSRF token je neplatný. Prosím skúste znovu odoslať formulár.</target>
1616
</trans-unit>
17+
<trans-unit id="99">
18+
<source>This value is not a valid HTML5 color.</source>
19+
<target>Táto hodnota nie je platná HTML5 farba.</target>
20+
</trans-unit>
21+
<trans-unit id="100">
22+
<source>Please enter a valid birthdate.</source>
23+
<target>Prosím zadajte platný dátum narodenia.</target>
24+
</trans-unit>
25+
<trans-unit id="101">
26+
<source>The selected choice is invalid.</source>
27+
<target>Vybraná možnosť je neplatná.</target>
28+
</trans-unit>
29+
<trans-unit id="102">
30+
<source>The collection is invalid.</source>
31+
<target>Kolekcia je neplatná.</target>
32+
</trans-unit>
33+
<trans-unit id="103">
34+
<source>Please select a valid color.</source>
35+
<target>Prosím vyberte platnú farbu.</target>
36+
</trans-unit>
37+
<trans-unit id="104">
38+
<source>Please select a valid country.</source>
39+
<target>Prosím vyberte platnú krajinu.</target>
40+
</trans-unit>
41+
<trans-unit id="105">
42+
<source>Please select a valid currency.</source>
43+
<target>Prosím vyberte platnú menu.</target>
44+
</trans-unit>
45+
<trans-unit id="106">
46+
<source>Please choose a valid date interval.</source>
47+
<target>Prosím vyberte platný rozsah dát.</target>
48+
</trans-unit>
49+
<trans-unit id="107">
50+
<source>Please enter a valid date and time.</source>
51+
<target>Prosím zadajte platný dátum a čas.</target>
52+
</trans-unit>
53+
<trans-unit id="108">
54+
<source>Please enter a valid date.</source>
55+
<target>Prosím zadajte platný dátum.</target>
56+
</trans-unit>
57+
<trans-unit id="109">
58+
<source>Please select a valid file.</source>
59+
<target>Prosím vyberte platný súbor.</target>
60+
</trans-unit>
61+
<trans-unit id="110">
62+
<source>The hidden field is invalid.</source>
63+
<target>Skryté pole je neplatné.</target>
64+
</trans-unit>
65+
<trans-unit id="111">
66+
<source>Please enter an integer.</source>
67+
<target>Prosím zadajte celé číslo.</target>
68+
</trans-unit>
69+
<trans-unit id="112">
70+
<source>Please select a valid language.</source>
71+
<target>Prosím vyberte platný jazyk.</target>
72+
</trans-unit>
73+
<trans-unit id="113">
74+
<source>Please select a valid locale.</source>
75+
<target>Prosím vyberte platné miestne nastavenia.</target>
76+
</trans-unit>
77+
<trans-unit id="114">
78+
<source>Please enter a valid money amount.</source>
79+
<target>Prosím zadajte platnú čiastku.</target>
80+
</trans-unit>
81+
<trans-unit id="115">
82+
<source>Please enter a number.</source>
83+
<target>Prosím zadajte číslo.</target>
84+
</trans-unit>
85+
<trans-unit id="116">
86+
<source>The password is invalid.</source>
87+
<target>Heslo je neprávne.</target>
88+
</trans-unit>
89+
<trans-unit id="117">
90+
<source>Please enter a percentage value.</source>
91+
<target>Prosím zadajte percentuálnu hodnotu.</target>
92+
</trans-unit>
93+
<trans-unit id="118">
94+
<source>The values do not match.</source>
95+
<target>Hodnoty nie sú zhodné.</target>
96+
</trans-unit>
97+
<trans-unit id="119">
98+
<source>Please enter a valid time.</source>
99+
<target>Prosím zadajte platný čas.</target>
100+
</trans-unit>
101+
<trans-unit id="120">
102+
<source>Please select a valid timezone.</source>
103+
<target>Prosím vyberte platné časové pásmo.</target>
104+
</trans-unit>
105+
<trans-unit id="121">
106+
<source>Please enter a valid URL.</source>
107+
<target>Prosím zadajte platnú URL.</target>
108+
</trans-unit>
109+
<trans-unit id="122">
110+
<source>Please enter a valid search term.</source>
111+
<target>Prosím zadajte platný vyhľadávací výraz.</target>
112+
</trans-unit>
113+
<trans-unit id="123">
114+
<source>Please provide a valid phone number.</source>
115+
<target>Prosím zadajte platné telefónne číslo.</target>
116+
</trans-unit>
117+
<trans-unit id="124">
118+
<source>The checkbox has an invalid value.</source>
119+
<target>Zaškrtávacie políčko má neplatnú hodnotu.</target>
120+
</trans-unit>
121+
<trans-unit id="125">
122+
<source>Please enter a valid email address.</source>
123+
<target>Prosím zadajte platnú emailovú adresu.</target>
124+
</trans-unit>
125+
<trans-unit id="126">
126+
<source>Please select a valid option.</source>
127+
<target>Prosím vyberte platnú možnosť.</target>
128+
</trans-unit>
129+
<trans-unit id="127">
130+
<source>Please select a valid range.</source>
131+
<target>Prosím vyberte platný rozsah.</target>
132+
</trans-unit>
133+
<trans-unit id="128">
134+
<source>Please enter a valid week.</source>
135+
<target>Prosím zadajte platný týždeň.</target>
136+
</trans-unit>
17137
</body>
18138
</file>
19139
</xliff>
Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
<?xml version="1.0"?>
2+
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
3+
<file source-language="th" datatype="plaintext" original="file.ext">
4+
<body>
5+
<trans-unit id="28">
6+
<source>This form should not contain extra fields.</source>
7+
<target>ฟอร์มนี้ไม่ควรมี extra fields</target>
8+
</trans-unit>
9+
<trans-unit id="29">
10+
<source>The uploaded file was too large. Please try to upload a smaller file.</source>
11+
<target>ไฟล์ที่อัพโหลดมีขนาดใหญ่เกินไป กรุณาลองอัพโหลดใหม่อีกครั้งด้วยไฟล์ที่มีขนาดเล็กลง</target>
12+
</trans-unit>
13+
<trans-unit id="30">
14+
<source>The CSRF token is invalid. Please try to resubmit the form.</source>
15+
<target>CSRF token ไม่ถูกต้อง กรุณาลองส่งแบบฟอร์มใหม่</target>
16+
</trans-unit>
17+
<trans-unit id="99">
18+
<source>This value is not a valid HTML5 color.</source>
19+
<target>ค่านี้ไม่ใช่ค่าที่ถูกต้องของค่าสี HTML5</target>
20+
</trans-unit>
21+
<trans-unit id="100">
22+
<source>Please enter a valid birthdate.</source>
23+
<target>กรุณากรอกวันเดือนปีเกิดที่ถูกต้อง</target>
24+
</trans-unit>
25+
<trans-unit id="101">
26+
<source>The selected choice is invalid.</source>
27+
<target>ตัวเลือกที่เลิอกไม่ถูกต้อง</target>
28+
</trans-unit>
29+
<trans-unit id="102">
30+
<source>The collection is invalid.</source>
31+
<target>คอเล็กชั่นไม่ถูกต้อง</target>
32+
</trans-unit>
33+
<trans-unit id="103">
34+
<source>Please select a valid color.</source>
35+
<target>กรุณาเลือกค่าสีที่ถูกต้อง</target>
36+
</trans-unit>
37+
<trans-unit id="104">
38+
<source>Please select a valid country.</source>
39+
<target>กรุณาเลือกประเทศที่ถูกต้อง</target>
40+
</trans-unit>
41+
<trans-unit id="105">
42+
<source>Please select a valid currency.</source>
43+
<target>กรุุณาเลิอกค่าสกุลเงินที่ถูกต้อง</target>
44+
</trans-unit>
45+
<trans-unit id="106">
46+
<source>Please choose a valid date interval.</source>
47+
<target>กรุณณากรอกช่วงวันที่ที่ถูกต้อง</target>
48+
</trans-unit>
49+
<trans-unit id="107">
50+
<source>Please enter a valid date and time.</source>
51+
<target>กรุณณากรอกค่าเวลาและวันที่ที่ถูกต้อง</target>
52+
</trans-unit>
53+
<trans-unit id="108">
54+
<source>Please enter a valid date.</source>
55+
<target>กรุณณากรอกค่าวันที่ที่ถูกต้อง</target>
56+
</trans-unit>
57+
<trans-unit id="109">
58+
<source>Please select a valid file.</source>
59+
<target>กรุณาเลือกไฟล์ที่ถูกต้อง</target>
60+
</trans-unit>
61+
<trans-unit id="110">
62+
<source>The hidden field is invalid.</source>
63+
<target>ค่า Hidden field ไม่ถูกต้อง</target>
64+
</trans-unit>
65+
<trans-unit id="111">
66+
<source>Please enter an integer.</source>
67+
<target>กรุณากรอกตัวเลขจำนวนเต็ม</target>
68+
</trans-unit>
69+
<trans-unit id="112">
70+
<source>Please select a valid language.</source>
71+
<target>กรุณาเลือกภาษาที่ถูกต้อง</target>
72+
</trans-unit>
73+
<trans-unit id="113">
74+
<source>Please select a valid locale.</source>
75+
<target>กรุณาเลือกท้องถิ่นที่ถูกต้อง</target>
76+
</trans-unit>
77+
<trans-unit id="114">
78+
<source>Please enter a valid money amount.</source>
79+
<target>กรุณากรอกจำนวนเงินที่ถูกต้อง</target>
80+
</trans-unit>
81+
<trans-unit id="115">
82+
<source>Please enter a number.</source>
83+
<target>กรุณากรอกตัวเลข</target>
84+
</trans-unit>
85+
<trans-unit id="116">
86+
<source>The password is invalid.</source>
87+
<target>รหัสผ่านไม่ถูกต้อง</target>
88+
</trans-unit>
89+
<trans-unit id="117">
90+
<source>Please enter a percentage value.</source>
91+
<target>กรุณากรอกค่าเปอร์เซ็นต์</target>
92+
</trans-unit>
93+
<trans-unit id="118">
94+
<source>The values do not match.</source>
95+
<target>ค่าทั้งสองไม่ตรงกัน</target>
96+
</trans-unit>
97+
<trans-unit id="119">
98+
<source>Please enter a valid time.</source>
99+
<target>กรุณากรอกค่าเวลาที่ถูกต้อง</target>
100+
</trans-unit>
101+
<trans-unit id="120">
102+
<source>Please select a valid timezone.</source>
103+
<target>กรุณาเลือกค่าเขตเวลาที่ถูกต้อง</target>
104+
</trans-unit>
105+
<trans-unit id="121">
106+
<source>Please enter a valid URL.</source>
107+
<target>กรุณากรอก URL ที่ถูกต้อง</target>
108+
</trans-unit>
109+
<trans-unit id="122">
110+
<source>Please enter a valid search term.</source>
111+
<target>กรุณากรอกคำค้นหาที่ถูกต้อง</target>
112+
</trans-unit>
113+
<trans-unit id="123">
114+
<source>Please provide a valid phone number.</source>
115+
<target>กรุณากรอกเบอร์โทรศัพท์ที่ถูกต้อง</target>
116+
</trans-unit>
117+
<trans-unit id="124">
118+
<source>The checkbox has an invalid value.</source>
119+
<target>Checkbox มีค่าที่ไม่ถูกต้อง</target>
120+
</trans-unit>
121+
<trans-unit id="125">
122+
<source>Please enter a valid email address.</source>
123+
<target>กรุณากรอกที่อยู่อีเมล์ที่ถูกต้อง</target>
124+
</trans-unit>
125+
<trans-unit id="126">
126+
<source>Please select a valid option.</source>
127+
<target>กรุณาเลือกตัวเลือกที่ถูกต้อง</target>
128+
</trans-unit>
129+
<trans-unit id="127">
130+
<source>Please select a valid range.</source>
131+
<target>กรุณาเลือกค่าช่วงที่ถูกต้อง</target>
132+
</trans-unit>
133+
<trans-unit id="128">
134+
<source>Please enter a valid week.</source>
135+
<target>กรุณากรอกค่าสัปดาห์ที่ถูกต้อง</target>
136+
</trans-unit>
137+
</body>
138+
</file>
139+
</xliff>

Resources/translations/validators.tl.xlf

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,26 @@
114114
<source>Please provide a valid phone number.</source>
115115
<target>Pakilagay ang balidong numero ng telepono.</target>
116116
</trans-unit>
117+
<trans-unit id="124">
118+
<source>The checkbox has an invalid value.</source>
119+
<target>Ang checkbox ay mayroon hindi balidong halaga.</target>
120+
</trans-unit>
121+
<trans-unit id="125">
122+
<source>Please enter a valid email address.</source>
123+
<target>Pakilagay ang balidong email address.</target>
124+
</trans-unit>
125+
<trans-unit id="126">
126+
<source>Please select a valid option.</source>
127+
<target>Pakipiliin ang balidong pagpipilian.</target>
128+
</trans-unit>
129+
<trans-unit id="127">
130+
<source>Please select a valid range.</source>
131+
<target>Pakipilian ang balidong layo.</target>
132+
</trans-unit>
133+
<trans-unit id="128">
134+
<source>Please enter a valid week.</source>
135+
<target>Pakilagay ang balidong linggo.</target>
136+
</trans-unit>
117137
</body>
118138
</file>
119139
</xliff>

0 commit comments

Comments
 (0)