Skip to content

Commit 47acd40

Browse files
committed
Copied NO language files to the new NB locale.
1 parent 7e320ab commit 47acd40

File tree

2 files changed

+328
-0
lines changed

2 files changed

+328
-0
lines changed
Lines changed: 319 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,319 @@
1+
<?xml version="1.0"?>
2+
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
3+
<file source-language="en" datatype="plaintext" original="file.ext">
4+
<body>
5+
<trans-unit id="1">
6+
<source>This value should be false.</source>
7+
<target>Verdien må være usann.</target>
8+
</trans-unit>
9+
<trans-unit id="2">
10+
<source>This value should be true.</source>
11+
<target>Verdien må være sann.</target>
12+
</trans-unit>
13+
<trans-unit id="3">
14+
<source>This value should be of type {{ type }}.</source>
15+
<target>Verdien skal ha typen {{ type }}.</target>
16+
</trans-unit>
17+
<trans-unit id="4">
18+
<source>This value should be blank.</source>
19+
<target>Verdien skal være blank.</target>
20+
</trans-unit>
21+
<trans-unit id="5">
22+
<source>The value you selected is not a valid choice.</source>
23+
<target>Den valgte verdien er ikke gyldig.</target>
24+
</trans-unit>
25+
<trans-unit id="6">
26+
<source>You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices.</source>
27+
<target>Du må velge minst {{ limit }} valg.</target>
28+
</trans-unit>
29+
<trans-unit id="7">
30+
<source>You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices.</source>
31+
<target>Du kan maks velge {{ limit }} valg.</target>
32+
</trans-unit>
33+
<trans-unit id="8">
34+
<source>One or more of the given values is invalid.</source>
35+
<target>En eller flere av de oppgitte verdiene er ugyldige.</target>
36+
</trans-unit>
37+
<trans-unit id="9">
38+
<source>This field was not expected.</source>
39+
<target>Dette feltet var ikke forventet.</target>
40+
</trans-unit>
41+
<trans-unit id="10">
42+
<source>This field is missing.</source>
43+
<target>Dette feltet mangler.</target>
44+
</trans-unit>
45+
<trans-unit id="11">
46+
<source>This value is not a valid date.</source>
47+
<target>Verdien er ikke en gyldig dato.</target>
48+
</trans-unit>
49+
<trans-unit id="12">
50+
<source>This value is not a valid datetime.</source>
51+
<target>Verdien er ikke en gyldig dato/tid.</target>
52+
</trans-unit>
53+
<trans-unit id="13">
54+
<source>This value is not a valid email address.</source>
55+
<target>Verdien er ikke en gyldig e-postadresse.</target>
56+
</trans-unit>
57+
<trans-unit id="14">
58+
<source>The file could not be found.</source>
59+
<target>Filen kunne ikke finnes.</target>
60+
</trans-unit>
61+
<trans-unit id="15">
62+
<source>The file is not readable.</source>
63+
<target>Filen er ikke lesbar.</target>
64+
</trans-unit>
65+
<trans-unit id="16">
66+
<source>The file is too large ({{ size }} {{ suffix }}). Allowed maximum size is {{ limit }} {{ suffix }}.</source>
67+
<target>Filen er for stor ({{ size }} {{ suffix }}). Tilatte maksimale størrelse {{ limit }} {{ suffix }}.</target>
68+
</trans-unit>
69+
<trans-unit id="17">
70+
<source>The mime type of the file is invalid ({{ type }}). Allowed mime types are {{ types }}.</source>
71+
<target>Mimetypen av filen er ugyldig ({{ type }}). Tilatte mimetyper er {{ types }}.</target>
72+
</trans-unit>
73+
<trans-unit id="18">
74+
<source>This value should be {{ limit }} or less.</source>
75+
<target>Verdien må være {{ limit }} tegn lang eller mindre.</target>
76+
</trans-unit>
77+
<trans-unit id="19">
78+
<source>This value is too long. It should have {{ limit }} character or less.|This value is too long. It should have {{ limit }} characters or less.</source>
79+
<target>Verdien er for lang. Den må ha {{ limit }} tegn eller mindre.</target>
80+
</trans-unit>
81+
<trans-unit id="20">
82+
<source>This value should be {{ limit }} or more.</source>
83+
<target>Verdien må være {{ limit }} eller mer.</target>
84+
</trans-unit>
85+
<trans-unit id="21">
86+
<source>This value is too short. It should have {{ limit }} character or more.|This value is too short. It should have {{ limit }} characters or more.</source>
87+
<target>Verdien er for kort. Den må ha {{ limit }} tegn eller flere.</target>
88+
</trans-unit>
89+
<trans-unit id="22">
90+
<source>This value should not be blank.</source>
91+
<target>Verdien kan ikke være blank.</target>
92+
</trans-unit>
93+
<trans-unit id="23">
94+
<source>This value should not be null.</source>
95+
<target>Verdien kan ikke være tom (null).</target>
96+
</trans-unit>
97+
<trans-unit id="24">
98+
<source>This value should be null.</source>
99+
<target>Verdien skal være tom (null).</target>
100+
</trans-unit>
101+
<trans-unit id="25">
102+
<source>This value is not valid.</source>
103+
<target>Verdien er ugyldig.</target>
104+
</trans-unit>
105+
<trans-unit id="26">
106+
<source>This value is not a valid time.</source>
107+
<target>Verdien er ikke en gyldig tid.</target>
108+
</trans-unit>
109+
<trans-unit id="27">
110+
<source>This value is not a valid URL.</source>
111+
<target>Verdien er ikke en gyldig URL.</target>
112+
</trans-unit>
113+
<trans-unit id="31">
114+
<source>The two values should be equal.</source>
115+
<target>Verdiene skal være identiske.</target>
116+
</trans-unit>
117+
<trans-unit id="32">
118+
<source>The file is too large. Allowed maximum size is {{ limit }} {{ suffix }}.</source>
119+
<target>Filen er for stor. Den maksimale størrelsen er {{ limit }} {{ suffix }}.</target>
120+
</trans-unit>
121+
<trans-unit id="33">
122+
<source>The file is too large.</source>
123+
<target>Filen er for stor.</target>
124+
</trans-unit>
125+
<trans-unit id="34">
126+
<source>The file could not be uploaded.</source>
127+
<target>Filen kunne ikke lastes opp.</target>
128+
</trans-unit>
129+
<trans-unit id="35">
130+
<source>This value should be a valid number.</source>
131+
<target>Verdien skal være et gyldig tall.</target>
132+
</trans-unit>
133+
<trans-unit id="36">
134+
<source>This file is not a valid image.</source>
135+
<target>Denne filen er ikke et gyldig bilde.</target>
136+
</trans-unit>
137+
<trans-unit id="37">
138+
<source>This is not a valid IP address.</source>
139+
<target>Dette er ikke en gyldig IP adresse.</target>
140+
</trans-unit>
141+
<trans-unit id="38">
142+
<source>This value is not a valid language.</source>
143+
<target>Verdien er ikke et gyldig språk.</target>
144+
</trans-unit>
145+
<trans-unit id="39">
146+
<source>This value is not a valid locale.</source>
147+
<target>Verdien er ikke en gyldig lokalitet.</target>
148+
</trans-unit>
149+
<trans-unit id="40">
150+
<source>This value is not a valid country.</source>
151+
<target>Verdien er ikke et gyldig navn på land.</target>
152+
</trans-unit>
153+
<trans-unit id="41">
154+
<source>This value is already used.</source>
155+
<target>Verdien er allerede brukt.</target>
156+
</trans-unit>
157+
<trans-unit id="42">
158+
<source>The size of the image could not be detected.</source>
159+
<target>Bildestørrelsen kunne ikke oppdages.</target>
160+
</trans-unit>
161+
<trans-unit id="43">
162+
<source>The image width is too big ({{ width }}px). Allowed maximum width is {{ max_width }}px.</source>
163+
<target>Bildebredden er for stor ({{ width }} piksler). Tillatt maksimumsbredde er {{ max_width }} piksler.</target>
164+
</trans-unit>
165+
<trans-unit id="44">
166+
<source>The image width is too small ({{ width }}px). Minimum width expected is {{ min_width }}px.</source>
167+
<target>Bildebredden er for liten ({{ width }} piksler). Forventet minimumsbredde er {{ min_width }} piksler.</target>
168+
</trans-unit>
169+
<trans-unit id="45">
170+
<source>The image height is too big ({{ height }}px). Allowed maximum height is {{ max_height }}px.</source>
171+
<target>Bildehøyden er for stor ({{ height }} piksler). Tillatt maksimumshøyde er {{ max_height }} piksler.</target>
172+
</trans-unit>
173+
<trans-unit id="46">
174+
<source>The image height is too small ({{ height }}px). Minimum height expected is {{ min_height }}px.</source>
175+
<target>Bildehøyden er for liten ({{ height }} piksler). Forventet minimumshøyde er {{ min_height }} piksler.</target>
176+
</trans-unit>
177+
<trans-unit id="47">
178+
<source>This value should be the user's current password.</source>
179+
<target>Verdien skal være brukerens sitt nåværende passord.</target>
180+
</trans-unit>
181+
<trans-unit id="48">
182+
<source>This value should have exactly {{ limit }} character.|This value should have exactly {{ limit }} characters.</source>
183+
<target>Verdien skal være nøyaktig {{ limit }} tegn.</target>
184+
</trans-unit>
185+
<trans-unit id="49">
186+
<source>The file was only partially uploaded.</source>
187+
<target>Filen var kun delvis opplastet.</target>
188+
</trans-unit>
189+
<trans-unit id="50">
190+
<source>No file was uploaded.</source>
191+
<target>Ingen fil var lastet opp.</target>
192+
</trans-unit>
193+
<trans-unit id="51">
194+
<source>No temporary folder was configured in php.ini.</source>
195+
<target>Den midlertidige mappen (tmp) er ikke konfigurert i php.ini.</target>
196+
</trans-unit>
197+
<trans-unit id="52">
198+
<source>Cannot write temporary file to disk.</source>
199+
<target>Kan ikke skrive midlertidig fil til disk.</target>
200+
</trans-unit>
201+
<trans-unit id="53">
202+
<source>A PHP extension caused the upload to fail.</source>
203+
<target>En PHP-utvidelse forårsaket en feil under opplasting.</target>
204+
</trans-unit>
205+
<trans-unit id="54">
206+
<source>This collection should contain {{ limit }} element or more.|This collection should contain {{ limit }} elements or more.</source>
207+
<target>Denne samlingen må inneholde {{ limit }} element eller flere.|Denne samlingen må inneholde {{ limit }} elementer eller flere.</target>
208+
</trans-unit>
209+
<trans-unit id="55">
210+
<source>This collection should contain {{ limit }} element or less.|This collection should contain {{ limit }} elements or less.</source>
211+
<target>Denne samlingen må inneholde {{ limit }} element eller færre.|Denne samlingen må inneholde {{ limit }} elementer eller færre.</target>
212+
</trans-unit>
213+
<trans-unit id="56">
214+
<source>This collection should contain exactly {{ limit }} element.|This collection should contain exactly {{ limit }} elements.</source>
215+
<target>Denne samlingen må inneholde nøyaktig {{ limit }} element.|Denne samlingen må inneholde nøyaktig {{ limit }} elementer.</target>
216+
</trans-unit>
217+
<trans-unit id="57">
218+
<source>Invalid card number.</source>
219+
<target>Ugyldig kortnummer.</target>
220+
</trans-unit>
221+
<trans-unit id="58">
222+
<source>Unsupported card type or invalid card number.</source>
223+
<target>Korttypen er ikke støttet eller kortnummeret er ugyldig.</target>
224+
</trans-unit>
225+
<trans-unit id="59">
226+
<source>This is not a valid International Bank Account Number (IBAN).</source>
227+
<target>Dette er ikke et gyldig IBAN-nummer.</target>
228+
</trans-unit>
229+
<trans-unit id="60">
230+
<source>This value is not a valid ISBN-10.</source>
231+
<target>Verdien er ikke en gyldig ISBN-10.</target>
232+
</trans-unit>
233+
<trans-unit id="61">
234+
<source>This value is not a valid ISBN-13.</source>
235+
<target>Verdien er ikke en gyldig ISBN-13.</target>
236+
</trans-unit>
237+
<trans-unit id="62">
238+
<source>This value is neither a valid ISBN-10 nor a valid ISBN-13.</source>
239+
<target>Verdien er hverken en gyldig ISBN-10 eller ISBN-13.</target>
240+
</trans-unit>
241+
<trans-unit id="63">
242+
<source>This value is not a valid ISSN.</source>
243+
<target>Verdien er ikke en gyldig ISSN.</target>
244+
</trans-unit>
245+
<trans-unit id="64">
246+
<source>This value is not a valid currency.</source>
247+
<target>Verdien er ikke gyldig valuta.</target>
248+
</trans-unit>
249+
<trans-unit id="65">
250+
<source>This value should be equal to {{ compared_value }}.</source>
251+
<target>Verdien skal være lik {{ compared_value }}.</target>
252+
</trans-unit>
253+
<trans-unit id="66">
254+
<source>This value should be greater than {{ compared_value }}.</source>
255+
<target>Verdien skal være større enn {{ compared_value }}.</target>
256+
</trans-unit>
257+
<trans-unit id="67">
258+
<source>This value should be greater than or equal to {{ compared_value }}.</source>
259+
<target>Verdien skal være større enn eller lik {{ compared_value }}.</target>
260+
</trans-unit>
261+
<trans-unit id="68">
262+
<source>This value should be identical to {{ compared_value_type }} {{ compared_value }}.</source>
263+
<target>Verdien skal være identisk med {{ compared_value_type }} {{ compared_value }}.</target>
264+
</trans-unit>
265+
<trans-unit id="69">
266+
<source>This value should be less than {{ compared_value }}.</source>
267+
<target>Verdien skal være mindre enn {{ compared_value }}.</target>
268+
</trans-unit>
269+
<trans-unit id="70">
270+
<source>This value should be less than or equal to {{ compared_value }}.</source>
271+
<target>Verdien skal være mindre enn eller lik {{ compared_value }}.</target>
272+
</trans-unit>
273+
<trans-unit id="71">
274+
<source>This value should not be equal to {{ compared_value }}.</source>
275+
<target>Verdien skal ikke være lik {{ compared_value }}.</target>
276+
</trans-unit>
277+
<trans-unit id="72">
278+
<source>This value should not be identical to {{ compared_value_type }} {{ compared_value }}.</source>
279+
<target>Verdien skal ikke være identisk med {{ compared_value_type }} {{ compared_value }}.</target>
280+
</trans-unit>
281+
<trans-unit id="73">
282+
<source>The image ratio is too big ({{ ratio }}). Allowed maximum ratio is {{ max_ratio }}.</source>
283+
<target>Bildeforholdet er for stort ({{ ratio }}). Tillatt bildeforhold er maks {{ max_ratio }}.</target>
284+
</trans-unit>
285+
<trans-unit id="74">
286+
<source>The image ratio is too small ({{ ratio }}). Minimum ratio expected is {{ min_ratio }}.</source>
287+
<target>Bildeforholdet er for lite ({{ ratio }}). Forventet bildeforhold er minst {{ min_ratio }}.</target>
288+
</trans-unit>
289+
<trans-unit id="75">
290+
<source>The image is square ({{ width }}x{{ height }}px). Square images are not allowed.</source>
291+
<target>Bildet er en kvadrat ({{ width }}x{{ height }}px). Kvadratiske bilder er ikke tillatt.</target>
292+
</trans-unit>
293+
<trans-unit id="76">
294+
<source>The image is landscape oriented ({{ width }}x{{ height }}px). Landscape oriented images are not allowed.</source>
295+
<target>Bildet er i liggende retning ({{ width }}x{{ height }}px). Bilder i liggende retning er ikke tillatt.</target>
296+
</trans-unit>
297+
<trans-unit id="77">
298+
<source>The image is portrait oriented ({{ width }}x{{ height }}px). Portrait oriented images are not allowed.</source>
299+
<target>Bildet er i stående retning ({{ width }}x{{ height }}px). Bilder i stående retning er ikke tillatt.</target>
300+
</trans-unit>
301+
<trans-unit id="78">
302+
<source>An empty file is not allowed.</source>
303+
<target>Tomme filer er ikke tilatt.</target>
304+
</trans-unit>
305+
<trans-unit id="79">
306+
<source>The host could not be resolved.</source>
307+
<target>Vertsnavn kunne ikke løses.</target>
308+
</trans-unit>
309+
<trans-unit id="80">
310+
<source>This value does not match the expected {{ charset }} charset.</source>
311+
<target>Verdien samsvarer ikke med forventet tegnsett {{ charset }}.</target>
312+
</trans-unit>
313+
<trans-unit id="81">
314+
<source>This is not a valid Business Identifier Code (BIC).</source>
315+
<target>Dette er ikke en gyldig BIC.</target>
316+
</trans-unit>
317+
</body>
318+
</file>
319+
</xliff>

Tests/Resources/TranslationFilesTest.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,13 @@ function ($filePath) { return (array) $filePath; },
3636
glob(dirname(dirname(__DIR__)).'/Resources/translations/*.xlf')
3737
);
3838
}
39+
40+
public function testNorwegianAlias()
41+
{
42+
$this->assertFileEquals(
43+
dirname(dirname(__DIR__)).'/Resources/translations/validators.nb.xlf',
44+
dirname(dirname(__DIR__)).'/Resources/translations/validators.no.xlf',
45+
'The NO locale should be an alias for the NB variant of the Norwegian language.'
46+
);
47+
}
3948
}

0 commit comments

Comments
 (0)