diff --git a/src/Symfony/Component/Form/Resources/translations/validators.nb.xlf b/src/Symfony/Component/Form/Resources/translations/validators.nb.xlf
new file mode 100644
index 0000000000..c64266c991
--- /dev/null
+++ b/src/Symfony/Component/Form/Resources/translations/validators.nb.xlf
@@ -0,0 +1,19 @@
+
+
+
+
+
+ This form should not contain extra fields.
+ Feltgruppen må ikke inneholde ekstra felter.
+
+
+ The uploaded file was too large. Please try to upload a smaller file.
+ Den opplastede filen var for stor. Vennligst last opp en mindre fil.
+
+
+ The CSRF token is invalid.
+ CSRF nøkkelen er ugyldig.
+
+
+
+
diff --git a/src/Symfony/Component/Form/Tests/Resources/TranslationFilesTest.php b/src/Symfony/Component/Form/Tests/Resources/TranslationFilesTest.php
index ba19a6215a..6d3dae218c 100644
--- a/src/Symfony/Component/Form/Tests/Resources/TranslationFilesTest.php
+++ b/src/Symfony/Component/Form/Tests/Resources/TranslationFilesTest.php
@@ -36,4 +36,13 @@ class TranslationFilesTest extends TestCase
glob(dirname(dirname(__DIR__)).'/Resources/translations/*.xlf')
);
}
+
+ public function testNorwegianAlias()
+ {
+ $this->assertFileEquals(
+ dirname(dirname(__DIR__)).'/Resources/translations/validators.nb.xlf',
+ dirname(dirname(__DIR__)).'/Resources/translations/validators.no.xlf',
+ 'The NO locale should be an alias for the NB variant of the Norwegian language.'
+ );
+ }
}
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.nb.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.nb.xlf
new file mode 100644
index 0000000000..3635916971
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.nb.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+ An authentication exception occurred.
+ En autentiseringsfeil har skjedd.
+
+
+ Authentication credentials could not be found.
+ Påloggingsinformasjonen kunne ikke bli funnet.
+
+
+ Authentication request could not be processed due to a system problem.
+ Autentiserings forespørselen kunne ikke bli prosessert grunnet en system feil.
+
+
+ Invalid credentials.
+ Ugyldig påloggingsinformasjonen.
+
+
+ Cookie has already been used by someone else.
+ Cookie har allerede blitt brukt av noen andre.
+
+
+ Not privileged to request the resource.
+ Ingen tilgang til å be om gitt ressurs.
+
+
+ Invalid CSRF token.
+ Ugyldig CSRF token.
+
+
+ Digest nonce has expired.
+ Digest nonce er utløpt.
+
+
+ No authentication provider found to support the authentication token.
+ Ingen autentiserings tilbyder funnet som støtter gitt autentiserings token.
+
+
+ No session available, it either timed out or cookies are not enabled.
+ Ingen sesjon tilgjengelig, sesjonen er enten utløpt eller cookies ikke skrudd på.
+
+
+ No token could be found.
+ Ingen token kunne bli funnet.
+
+
+ Username could not be found.
+ Brukernavn kunne ikke bli funnet.
+
+
+ Account has expired.
+ Brukerkonto har utgått.
+
+
+ Credentials have expired.
+ Påloggingsinformasjon har utløpt.
+
+
+ Account is disabled.
+ Brukerkonto er deaktivert.
+
+
+ Account is locked.
+ Brukerkonto er sperret.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Tests/Resources/TranslationFilesTest.php b/src/Symfony/Component/Security/Core/Tests/Resources/TranslationFilesTest.php
index 96a1307ed0..07c5e304b4 100644
--- a/src/Symfony/Component/Security/Core/Tests/Resources/TranslationFilesTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Resources/TranslationFilesTest.php
@@ -36,4 +36,13 @@ class TranslationFilesTest extends TestCase
glob(dirname(dirname(__DIR__)).'/Resources/translations/*.xlf')
);
}
+
+ public function testNorwegianAlias()
+ {
+ $this->assertFileEquals(
+ dirname(dirname(__DIR__)).'/Resources/translations/security.nb.xlf',
+ dirname(dirname(__DIR__)).'/Resources/translations/security.no.xlf',
+ 'The NO locale should be an alias for the NB variant of the Norwegian language.'
+ );
+ }
}
diff --git a/src/Symfony/Component/Security/Resources/translations/security.nb.xlf b/src/Symfony/Component/Security/Resources/translations/security.nb.xlf
new file mode 100644
index 0000000000..3635916971
--- /dev/null
+++ b/src/Symfony/Component/Security/Resources/translations/security.nb.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+ An authentication exception occurred.
+ En autentiseringsfeil har skjedd.
+
+
+ Authentication credentials could not be found.
+ Påloggingsinformasjonen kunne ikke bli funnet.
+
+
+ Authentication request could not be processed due to a system problem.
+ Autentiserings forespørselen kunne ikke bli prosessert grunnet en system feil.
+
+
+ Invalid credentials.
+ Ugyldig påloggingsinformasjonen.
+
+
+ Cookie has already been used by someone else.
+ Cookie har allerede blitt brukt av noen andre.
+
+
+ Not privileged to request the resource.
+ Ingen tilgang til å be om gitt ressurs.
+
+
+ Invalid CSRF token.
+ Ugyldig CSRF token.
+
+
+ Digest nonce has expired.
+ Digest nonce er utløpt.
+
+
+ No authentication provider found to support the authentication token.
+ Ingen autentiserings tilbyder funnet som støtter gitt autentiserings token.
+
+
+ No session available, it either timed out or cookies are not enabled.
+ Ingen sesjon tilgjengelig, sesjonen er enten utløpt eller cookies ikke skrudd på.
+
+
+ No token could be found.
+ Ingen token kunne bli funnet.
+
+
+ Username could not be found.
+ Brukernavn kunne ikke bli funnet.
+
+
+ Account has expired.
+ Brukerkonto har utgått.
+
+
+ Credentials have expired.
+ Påloggingsinformasjon har utløpt.
+
+
+ Account is disabled.
+ Brukerkonto er deaktivert.
+
+
+ Account is locked.
+ Brukerkonto er sperret.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Tests/Resources/TranslationFilesTest.php b/src/Symfony/Component/Security/Tests/Resources/TranslationFilesTest.php
index 30b9aed6ec..e02a064874 100644
--- a/src/Symfony/Component/Security/Tests/Resources/TranslationFilesTest.php
+++ b/src/Symfony/Component/Security/Tests/Resources/TranslationFilesTest.php
@@ -36,4 +36,13 @@ class TranslationFilesTest extends TestCase
glob(dirname(dirname(__DIR__)).'/Resources/translations/*.xlf')
);
}
+
+ public function testNorwegianAlias()
+ {
+ $this->assertFileEquals(
+ dirname(dirname(__DIR__)).'/Resources/translations/security.nb.xlf',
+ dirname(dirname(__DIR__)).'/Resources/translations/security.no.xlf',
+ 'The NO locale should be an alias for the NB variant of the Norwegian language.'
+ );
+ }
}
diff --git a/src/Symfony/Component/Validator/Resources/translations/validators.nb.xlf b/src/Symfony/Component/Validator/Resources/translations/validators.nb.xlf
new file mode 100644
index 0000000000..250576531c
--- /dev/null
+++ b/src/Symfony/Component/Validator/Resources/translations/validators.nb.xlf
@@ -0,0 +1,319 @@
+
+
+
+
+
+ This value should be false.
+ Verdien må være usann.
+
+
+ This value should be true.
+ Verdien må være sann.
+
+
+ This value should be of type {{ type }}.
+ Verdien skal ha typen {{ type }}.
+
+
+ This value should be blank.
+ Verdien skal være blank.
+
+
+ The value you selected is not a valid choice.
+ Den valgte verdien er ikke gyldig.
+
+
+ You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices.
+ Du må velge minst {{ limit }} valg.
+
+
+ You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices.
+ Du kan maks velge {{ limit }} valg.
+
+
+ One or more of the given values is invalid.
+ En eller flere av de oppgitte verdiene er ugyldige.
+
+
+ This field was not expected.
+ Dette feltet var ikke forventet.
+
+
+ This field is missing.
+ Dette feltet mangler.
+
+
+ This value is not a valid date.
+ Verdien er ikke en gyldig dato.
+
+
+ This value is not a valid datetime.
+ Verdien er ikke en gyldig dato/tid.
+
+
+ This value is not a valid email address.
+ Verdien er ikke en gyldig e-postadresse.
+
+
+ The file could not be found.
+ Filen kunne ikke finnes.
+
+
+ The file is not readable.
+ Filen er ikke lesbar.
+
+
+ The file is too large ({{ size }} {{ suffix }}). Allowed maximum size is {{ limit }} {{ suffix }}.
+ Filen er for stor ({{ size }} {{ suffix }}). Tilatte maksimale størrelse {{ limit }} {{ suffix }}.
+
+
+ The mime type of the file is invalid ({{ type }}). Allowed mime types are {{ types }}.
+ Mimetypen av filen er ugyldig ({{ type }}). Tilatte mimetyper er {{ types }}.
+
+
+ This value should be {{ limit }} or less.
+ Verdien må være {{ limit }} tegn lang eller mindre.
+
+
+ This value is too long. It should have {{ limit }} character or less.|This value is too long. It should have {{ limit }} characters or less.
+ Verdien er for lang. Den må ha {{ limit }} tegn eller mindre.
+
+
+ This value should be {{ limit }} or more.
+ Verdien må være {{ limit }} eller mer.
+
+
+ This value is too short. It should have {{ limit }} character or more.|This value is too short. It should have {{ limit }} characters or more.
+ Verdien er for kort. Den må ha {{ limit }} tegn eller flere.
+
+
+ This value should not be blank.
+ Verdien kan ikke være blank.
+
+
+ This value should not be null.
+ Verdien kan ikke være tom (null).
+
+
+ This value should be null.
+ Verdien skal være tom (null).
+
+
+ This value is not valid.
+ Verdien er ugyldig.
+
+
+ This value is not a valid time.
+ Verdien er ikke en gyldig tid.
+
+
+ This value is not a valid URL.
+ Verdien er ikke en gyldig URL.
+
+
+ The two values should be equal.
+ Verdiene skal være identiske.
+
+
+ The file is too large. Allowed maximum size is {{ limit }} {{ suffix }}.
+ Filen er for stor. Den maksimale størrelsen er {{ limit }} {{ suffix }}.
+
+
+ The file is too large.
+ Filen er for stor.
+
+
+ The file could not be uploaded.
+ Filen kunne ikke lastes opp.
+
+
+ This value should be a valid number.
+ Verdien skal være et gyldig tall.
+
+
+ This file is not a valid image.
+ Denne filen er ikke et gyldig bilde.
+
+
+ This is not a valid IP address.
+ Dette er ikke en gyldig IP adresse.
+
+
+ This value is not a valid language.
+ Verdien er ikke et gyldig språk.
+
+
+ This value is not a valid locale.
+ Verdien er ikke en gyldig lokalitet.
+
+
+ This value is not a valid country.
+ Verdien er ikke et gyldig navn på land.
+
+
+ This value is already used.
+ Verdien er allerede brukt.
+
+
+ The size of the image could not be detected.
+ Bildestørrelsen kunne ikke oppdages.
+
+
+ The image width is too big ({{ width }}px). Allowed maximum width is {{ max_width }}px.
+ Bildebredden er for stor ({{ width }} piksler). Tillatt maksimumsbredde er {{ max_width }} piksler.
+
+
+ The image width is too small ({{ width }}px). Minimum width expected is {{ min_width }}px.
+ Bildebredden er for liten ({{ width }} piksler). Forventet minimumsbredde er {{ min_width }} piksler.
+
+
+ The image height is too big ({{ height }}px). Allowed maximum height is {{ max_height }}px.
+ Bildehøyden er for stor ({{ height }} piksler). Tillatt maksimumshøyde er {{ max_height }} piksler.
+
+
+ The image height is too small ({{ height }}px). Minimum height expected is {{ min_height }}px.
+ Bildehøyden er for liten ({{ height }} piksler). Forventet minimumshøyde er {{ min_height }} piksler.
+
+
+ This value should be the user's current password.
+ Verdien skal være brukerens sitt nåværende passord.
+
+
+ This value should have exactly {{ limit }} character.|This value should have exactly {{ limit }} characters.
+ Verdien skal være nøyaktig {{ limit }} tegn.
+
+
+ The file was only partially uploaded.
+ Filen var kun delvis opplastet.
+
+
+ No file was uploaded.
+ Ingen fil var lastet opp.
+
+
+ No temporary folder was configured in php.ini.
+ Den midlertidige mappen (tmp) er ikke konfigurert i php.ini.
+
+
+ Cannot write temporary file to disk.
+ Kan ikke skrive midlertidig fil til disk.
+
+
+ A PHP extension caused the upload to fail.
+ En PHP-utvidelse forårsaket en feil under opplasting.
+
+
+ This collection should contain {{ limit }} element or more.|This collection should contain {{ limit }} elements or more.
+ Denne samlingen må inneholde {{ limit }} element eller flere.|Denne samlingen må inneholde {{ limit }} elementer eller flere.
+
+
+ This collection should contain {{ limit }} element or less.|This collection should contain {{ limit }} elements or less.
+ Denne samlingen må inneholde {{ limit }} element eller færre.|Denne samlingen må inneholde {{ limit }} elementer eller færre.
+
+
+ This collection should contain exactly {{ limit }} element.|This collection should contain exactly {{ limit }} elements.
+ Denne samlingen må inneholde nøyaktig {{ limit }} element.|Denne samlingen må inneholde nøyaktig {{ limit }} elementer.
+
+
+ Invalid card number.
+ Ugyldig kortnummer.
+
+
+ Unsupported card type or invalid card number.
+ Korttypen er ikke støttet eller kortnummeret er ugyldig.
+
+
+ This is not a valid International Bank Account Number (IBAN).
+ Dette er ikke et gyldig IBAN-nummer.
+
+
+ This value is not a valid ISBN-10.
+ Verdien er ikke en gyldig ISBN-10.
+
+
+ This value is not a valid ISBN-13.
+ Verdien er ikke en gyldig ISBN-13.
+
+
+ This value is neither a valid ISBN-10 nor a valid ISBN-13.
+ Verdien er hverken en gyldig ISBN-10 eller ISBN-13.
+
+
+ This value is not a valid ISSN.
+ Verdien er ikke en gyldig ISSN.
+
+
+ This value is not a valid currency.
+ Verdien er ikke gyldig valuta.
+
+
+ This value should be equal to {{ compared_value }}.
+ Verdien skal være lik {{ compared_value }}.
+
+
+ This value should be greater than {{ compared_value }}.
+ Verdien skal være større enn {{ compared_value }}.
+
+
+ This value should be greater than or equal to {{ compared_value }}.
+ Verdien skal være større enn eller lik {{ compared_value }}.
+
+
+ This value should be identical to {{ compared_value_type }} {{ compared_value }}.
+ Verdien skal være identisk med {{ compared_value_type }} {{ compared_value }}.
+
+
+ This value should be less than {{ compared_value }}.
+ Verdien skal være mindre enn {{ compared_value }}.
+
+
+ This value should be less than or equal to {{ compared_value }}.
+ Verdien skal være mindre enn eller lik {{ compared_value }}.
+
+
+ This value should not be equal to {{ compared_value }}.
+ Verdien skal ikke være lik {{ compared_value }}.
+
+
+ This value should not be identical to {{ compared_value_type }} {{ compared_value }}.
+ Verdien skal ikke være identisk med {{ compared_value_type }} {{ compared_value }}.
+
+
+ The image ratio is too big ({{ ratio }}). Allowed maximum ratio is {{ max_ratio }}.
+ Bildeforholdet er for stort ({{ ratio }}). Tillatt bildeforhold er maks {{ max_ratio }}.
+
+
+ The image ratio is too small ({{ ratio }}). Minimum ratio expected is {{ min_ratio }}.
+ Bildeforholdet er for lite ({{ ratio }}). Forventet bildeforhold er minst {{ min_ratio }}.
+
+
+ The image is square ({{ width }}x{{ height }}px). Square images are not allowed.
+ Bildet er en kvadrat ({{ width }}x{{ height }}px). Kvadratiske bilder er ikke tillatt.
+
+
+ The image is landscape oriented ({{ width }}x{{ height }}px). Landscape oriented images are not allowed.
+ Bildet er i liggende retning ({{ width }}x{{ height }}px). Bilder i liggende retning er ikke tillatt.
+
+
+ The image is portrait oriented ({{ width }}x{{ height }}px). Portrait oriented images are not allowed.
+ Bildet er i stående retning ({{ width }}x{{ height }}px). Bilder i stående retning er ikke tillatt.
+
+
+ An empty file is not allowed.
+ Tomme filer er ikke tilatt.
+
+
+ The host could not be resolved.
+ Vertsnavn kunne ikke løses.
+
+
+ This value does not match the expected {{ charset }} charset.
+ Verdien samsvarer ikke med forventet tegnsett {{ charset }}.
+
+
+ This is not a valid Business Identifier Code (BIC).
+ Dette er ikke en gyldig BIC.
+
+
+
+
diff --git a/src/Symfony/Component/Validator/Tests/Resources/TranslationFilesTest.php b/src/Symfony/Component/Validator/Tests/Resources/TranslationFilesTest.php
index 96311cfeff..d2b8a99011 100644
--- a/src/Symfony/Component/Validator/Tests/Resources/TranslationFilesTest.php
+++ b/src/Symfony/Component/Validator/Tests/Resources/TranslationFilesTest.php
@@ -36,4 +36,13 @@ class TranslationFilesTest extends TestCase
glob(dirname(dirname(__DIR__)).'/Resources/translations/*.xlf')
);
}
+
+ public function testNorwegianAlias()
+ {
+ $this->assertFileEquals(
+ dirname(dirname(__DIR__)).'/Resources/translations/validators.nb.xlf',
+ dirname(dirname(__DIR__)).'/Resources/translations/validators.no.xlf',
+ 'The NO locale should be an alias for the NB variant of the Norwegian language.'
+ );
+ }
}