You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by vl...@apache.org on 2022/04/22 13:44:56 UTC

[tapestry-5] branch master updated: TAP5-2574: Add core translations for Norwegian Nynorsk (nn)

This is an automated email from the ASF dual-hosted git repository.

vlamp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git


The following commit(s) were added to refs/heads/master by this push:
     new fc0eb04c9 TAP5-2574: Add core translations for Norwegian Nynorsk (nn)
fc0eb04c9 is described below

commit fc0eb04c9269607926ba8a16f51e62750d2eaca4
Author: Volker Lamp <vl...@apache.org>
AuthorDate: Fri Apr 22 15:42:54 2022 +0200

    TAP5-2574: Add core translations for Norwegian Nynorsk (nn)
---
 .../apache/tapestry5/modules/TapestryModule.java   |   2 +-
 .../org/apache/tapestry5/core_nn.properties        | 108 +++++++++++++++++++++
 2 files changed, 109 insertions(+), 1 deletion(-)

diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/modules/TapestryModule.java b/tapestry-core/src/main/java/org/apache/tapestry5/modules/TapestryModule.java
index 33ffac2db..d3c86da39 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/modules/TapestryModule.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/modules/TapestryModule.java
@@ -2069,7 +2069,7 @@ public final class TapestryModule
         // This should be overridden for particular applications. These are the
         // locales for which we have (at least some) localized messages.
         configuration.add(SymbolConstants.SUPPORTED_LOCALES,
-                "en,it,es,zh_CN,pt_PT,de,ru,hr,fi_FI,sv_SE,fr,da,pt_BR,ja,el,bg,nb,sr_RS,mk_MK");
+                "en,it,es,zh_CN,pt_PT,de,ru,hr,fi_FI,sv_SE,fr,da,pt_BR,ja,el,bg,nn,nb,sr_RS,mk_MK");
 
         configuration.add(SymbolConstants.COOKIE_MAX_AGE, "7 d");
 
diff --git a/tapestry-core/src/main/resources/org/apache/tapestry5/core_nn.properties b/tapestry-core/src/main/resources/org/apache/tapestry5/core_nn.properties
new file mode 100644
index 000000000..145bbf6a6
--- /dev/null
+++ b/tapestry-core/src/main/resources/org/apache/tapestry5/core_nn.properties
@@ -0,0 +1,108 @@
+# Copyright 2022 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# We try to keep the validation messages consistent, with the constraint
+# value (if applicable) as the first parameter, and the field's label as the
+# second parameter. Occasionally we must use specific indexing when that's
+# not the best order.
+
+# PropertyEditor "Unable to locate block" error:
+#core-block-error=
+
+# BeanEditForm "Cancel" button label:
+core-cancel-label=Avbryt
+
+# DateField validation error:
+core-date-value-not-parseable=Klarte ikke å konvertere '%s' til en gyldig dato.
+
+# Validation error summary instructions:
+core-default-error-banner=Du må rette de følgende feilene før du kan fortsette
+
+# Alerts "Dismiss" label:
+core-dismiss-label=Steng alle
+
+# Form nesting error:
+#core-form-nesting-not-allowed=
+
+# Grid pager link title:
+core-goto-page=Gå til side %d
+
+# Form error (missing POST or t:formdata)
+#core-invalid-form-request=
+
+# Grid "no data" message:
+core-no-grid-data-to-display=Ingen data.
+
+# Palette Available list label:
+core-palette-available-label=Tilgjengelige
+
+# Palette Deselect button:
+core-palette-deselect-label=< Fjern valg
+
+# Palette Move Down button:
+core-palette-down-label=Flytt ned
+
+# Palette Select button:
+core-palette-select-label=Velg >
+
+# Palette Selected list label:
+core-palette-selected-label=Valgte
+
+# Palette Move Up button:
+core-palette-up-label=Flytt opp
+
+# ProgressiveDisplay "loading" label:
+core-progressive-display-loading=Laster ...
+
+# BeanEditForm "Submit" button:
+core-submit-label=Opprett/Oppdater
+
+# String-to-integer translation error:
+integer-format-exception=Du må fylle inn et heltall i %s.
+
+# "email" validator error:
+invalid-email='%s' er ikke en gyldig epost adresse.
+
+# Integer "max" validator error:
+max-integer=%2$s må ikke være større enn %1$d.
+
+# String "maxLength" validation error:
+maximum-string-length=Du kan ikke bruke mer enn %d tegn i %s.
+
+# Integer "min" validator error:
+min-integer=%2$s må være minst %1$d.
+
+# String "minLength" validator error:
+minimum-string-length=Du må bruke minst %d tegn i %s.
+
+# String-to-number translation error:
+number-format-exception=Du må sette inn et tall i %s.
+
+# "regexp" validator error:
+regexp=%2$s passer ikke til mønsteret '%1$s'.
+
+# "required" validator error:
+required=Du må skrive noe i %s.
+
+# Client-side numeric validation error:
+#core-input-not-numeric=
+
+# Client-side integer validation error:
+#core-input-not-integer=
+
+# DateField "Today" button:
+#core-datefield-today=
+
+# DateField "None" button:
+#core-datefield-none=
\ No newline at end of file