Browse Source

Merge pull request #1379 from flaix/fix-no-properties

Fix norwegian properties file
tags/v1.9.2
Florian Zschocke 2 years ago
parent
commit
4f70148574
No account linked to committer's email address

+ 3
- 0
src/main/java/com/gitblit/wicket/GitBlitWebApp.properties View File

@@ -785,3 +785,6 @@ gb.deletePatchsetFailure = Error deleting Patchset {0}.
gb.referencedByCommit = Referenced by commit.
gb.referencedByTicket = Referenced by ticket.
gb.emailClientCertificateSubject = Your Gitblit client certificate for {0}

# This last property for unit tests to test successful loading of the resource file
gb.loadLang = default

+ 3
- 0
src/main/java/com/gitblit/wicket/GitBlitWebApp_cs.properties View File

@@ -786,3 +786,6 @@ gb.mailingLists=e-mailov\u00e1 konference
gb.blinkComparator=Blink kompar\u00e1tor
palette.available=Dostupn\u00ed
palette.selected=Vybran\u00ed

# This last property for unit tests to test successful loading of the resource file
gb.loadLang = \u010de\u0161tina

+ 4
- 1
src/main/java/com/gitblit/wicket/GitBlitWebApp_de.properties View File

@@ -753,4 +753,7 @@ gb.diffCopiedFile = Datei kopiert von {0}
gb.diffTruncated = Diff nach obiger Datei abgeschnitten
gb.opacityAdjust = Transparenz
gb.blinkComparator = Blinkkomparator
gb.imgdiffSubtract = Pixeldifferenz (schwarz = identisch)
gb.imgdiffSubtract = Pixeldifferenz (schwarz = identisch)

# This last property for unit tests to test successful loading of the resource file
gb.loadLang = Deutsch

+ 4
- 1
src/main/java/com/gitblit/wicket/GitBlitWebApp_es.properties View File

@@ -670,4 +670,7 @@ gb.repositoryIsFrozen = Este Repositorio est\u00E1 congelado.
gb.repositoryDoesNotAcceptPatchsets = Este Repositorio no acepta parches.
gb.serverDoesNotAcceptPatchsets = Este Servidor-Git no acepta parches.
gb.ticketIsClosed = Este ticket est\u00E1 cerrado.
gb.mergeToDescription = Rama de integraciu00F3n predeterminada para combinar ticket y parches
gb.mergeToDescription = Rama de integraciu00F3n predeterminada para combinar ticket y parches
# This last property for unit tests to test successful loading of the resource file
gb.loadLang = Espa\u00f1ol

+ 4
- 1
src/main/java/com/gitblit/wicket/GitBlitWebApp_fr.properties View File

@@ -682,4 +682,7 @@ gb.diffCopiedFile = Fichier copi\u00e9 de {0}
gb.diffTruncated = Affichage de diff\u00e9rences supprim\u00e9e apr\u00e8s le fichier ci-dessus
gb.opacityAdjust = ajuster l'opacit\u00e9
gb.blinkComparator = Comparateur \u00e0 clignotement
gb.imgdiffSubtract = Diff\u00e9rence (noir = identique)
gb.imgdiffSubtract = Diff\u00e9rence (noir = identique)

# This last property for unit tests to test successful loading of the resource file
gb.loadLang = fran\u00e7ais

+ 2
- 0
src/main/java/com/gitblit/wicket/GitBlitWebApp_it.properties View File

@@ -744,3 +744,5 @@ gb.sshKeyPermissionDescription = Definisci il il livello di accesso per la chiav
gb.transportPreference = Preferenze di trasporto
gb.transportPreferenceDescription = Specifica il protocollo di trasporto che preferisci usare per le operazioni di clone

# This last property for unit tests to test successful loading of the resource file
gb.loadLang = Italiano

+ 4
- 1
src/main/java/com/gitblit/wicket/GitBlitWebApp_ja.properties View File

@@ -449,4 +449,7 @@ gb.closeBrowser = Please close the browser to properly end the session.
gb.doesNotExistInTree = {0} does not exist in tree {1}
gb.enableIncrementalPushTags = enable incremental push tags
gb.useIncrementalPushTagsDescription = on push, automatically tag each branch tip with an incremental revision number
gb.incrementalPushTagMessage = Auto-tagged [{0}] branch on push
gb.incrementalPushTagMessage = Auto-tagged [{0}] branch on push
# This last property for unit tests to test successful loading of the resource file
gb.loadLang = \u306b\u307b\u3093\u3054

+ 4
- 0
src/main/java/com/gitblit/wicket/GitBlitWebApp_ko.properties View File

@@ -784,3 +784,7 @@ gb.deletePatchsetSuccess = {0} \uD328\uCE58\uC14B\uC774 \uC0AD\uC81C\uB418\uC5C8
gb.deletePatchsetFailure = {0} \uD328\uCE58\uC14B \uC0AD\uC81C \uC624\uB958.
gb.referencedByCommit = \uCEE4\uBC0B\uC5D0 \uCC38\uC870\uB428.
gb.referencedByTicket = \uD2F0\uCF13\uC5D0 \uCC38\uC870\uB428.

# This last property for unit tests to test successful loading of the resource file
gb.loadLang = \ud55c\uad6d\uc5b4


+ 4
- 0
src/main/java/com/gitblit/wicket/GitBlitWebApp_nl.properties View File

@@ -743,3 +743,7 @@ gb.permission = Permissie
gb.sshKeyPermissionDescription = Specificeer de toegangsrechten voor de SSH sleutel
gb.transportPreference = Transportvoorkeuren
gb.transportPreferenceDescription = Stel de transportmethode in die u wenst voor het clonen

# This last property for unit tests to test successful loading of the resource file
gb.loadLang = Nederlands


+ 5
- 2
src/main/java/com/gitblit/wicket/GitBlitWebApp_no.properties View File

@@ -700,7 +700,7 @@ gb.clonePolicyDescription = Alle kan se dette repositoriet. Du bestemmer hvem so
gb.viewPolicy = Begrense View, Clone og Push
gb.viewPolicyDescription = Du bestemmer hvem som kan se, clone og pushe til dette repositoriet.
gb.initialCommit = F\u00F8rste commit
gb.initialCommitDescription = Dette vil la deg kunne <code>git clone</code> repositoriet med en gang. Hopp over dette skrittet hvis du allerede har kj\u0F8rt if <code>git init</code> lokalt.
gb.initialCommitDescription = Dette vil la deg kunne <code>git clone</code> repositoriet med en gang. Hopp over dette skrittet hvis du allerede har kj\u00F8rt if <code>git init</code> lokalt.
gb.initWithReadme = Inkluder en README
gb.initWithReadmeDescription = Dette vil generere en enkel README-fil i ditt repository.
gb.initWithGitignore = Inkluder en .gitignore fil
@@ -742,4 +742,7 @@ gb.sshKeyCommentDescription = Angi en valgfri kommentar. Kommentaren vil bli eks
gb.permission = Tilgang
gb.sshKeyPermissionDescription = Angi tilgangsrettinghet for SSH n\u00F8kkelen
gb.transportPreference = Foretrukket transport
gb.transportPreferenceDescription = Sett transportmetoden du foretrekker for cloning
gb.transportPreferenceDescription = Sett transportmetoden du foretrekker for cloning

# This last property for unit tests to test successful loading of the resource file
gb.loadLang = Norsk

+ 3
- 0
src/main/java/com/gitblit/wicket/GitBlitWebApp_pl.properties View File

@@ -503,3 +503,6 @@ gb.todaysActivityStats = dzisiaj / {1} zmian przez {2} autor\u00F3w
gb.todaysActivityNone = dzisiaj / brak
gb.noActivityToday = brak aktywno\u015Bci w dniu dzisiejszym
gb.anonymousUser= anonimowy

# This last property for unit tests to test successful loading of the resource file
gb.loadLang = polszczyzna

+ 5
- 1
src/main/java/com/gitblit/wicket/GitBlitWebApp_pt_BR.properties View File

@@ -502,4 +502,8 @@ gb.reviewPatchset = rever {0} patchset {1}
gb.todaysActivityStats = hoje / {1} commits por {2} autores
gb.todaysActivityNone = hoje / nenhum
gb.noActivityToday = não houve atividade hoje
gb.anonymousUser= anônimo
gb.anonymousUser= anônimo
# This last property for unit tests to test successful loading of the resource file
gb.loadLang = Portugu\u00eas

+ 3
- 0
src/main/java/com/gitblit/wicket/GitBlitWebApp_zh_CN.properties View File

@@ -784,3 +784,6 @@ gb.deletePatchsetFailure = \u5220\u9664\u8865\u4e01\u96c6 {0} \u65f6\u53d1\u751f
gb.referencedByCommit = \u88ab\u63d0\u4ea4\u5f15\u7528\u3002
gb.referencedByTicket = \u88ab\u4efb\u52a1\u5f15\u7528\u3002
gb.emailClientCertificateSubject = \u7528\u4e8e {0} \u7684 Gitblit \u5ba2\u6237\u7aef\u8bc1\u4e66

# This last property for unit tests to test successful loading of the resource file
gb.loadLang = \u6c49\u5b57

+ 3
- 0
src/main/java/com/gitblit/wicket/GitBlitWebApp_zh_TW.properties View File

@@ -783,3 +783,6 @@ gb.deletePatchsetFailure = \u522a\u9664 Patchset {0} \u932f\u8aa4.
gb.referencedByCommit = Referenced by commit.
gb.referencedByTicket = Referenced by ticket.
gb.emailClientCertificateSubject = \u4F3A\u670D\u5668 {0} \u9023\u7DDA\u6191\u8B49

# This last property for unit tests to test successful loading of the resource file
gb.loadLang = \u6f22\u5b57

+ 146
- 0
src/test/java/com/gitblit/wicket/GitBlitWebAppResourceBundleTest.java View File

@@ -0,0 +1,146 @@
package com.gitblit.wicket;

import org.junit.Test;

import java.util.Locale;
import java.util.ResourceBundle;

import static org.junit.Assert.*;

public class GitBlitWebAppResourceBundleTest
{
@Test
public void testDefaultResource()
{
ResourceBundle bundle = ResourceBundle.getBundle("com.gitblit.wicket.GitBlitWebApp");
assertNotNull(bundle);
assertEquals("default", bundle.getString("gb.loadLang"));
}

@Test
public void testCsResource()
{
Locale l = Locale.forLanguageTag("cs");
ResourceBundle bundle = ResourceBundle.getBundle("com.gitblit.wicket.GitBlitWebApp", l);
assertNotNull(bundle);
assertEquals("čeština", bundle.getString("gb.loadLang"));
}

@Test
public void testDeResource()
{
Locale l = Locale.GERMAN;
ResourceBundle bundle = ResourceBundle.getBundle("com.gitblit.wicket.GitBlitWebApp", l);
assertNotNull(bundle);
assertEquals("Deutsch", bundle.getString("gb.loadLang"));
}

@Test
public void testEnResource()
{
Locale l = Locale.ENGLISH;
ResourceBundle bundle = ResourceBundle.getBundle("com.gitblit.wicket.GitBlitWebApp", l);
assertNotNull(bundle);
// The "en" file is just a placeholder for the default one.
assertEquals("default", bundle.getString("gb.loadLang"));
}

@Test
public void testEsResource()
{
Locale l = Locale.forLanguageTag("es");
ResourceBundle bundle = ResourceBundle.getBundle("com.gitblit.wicket.GitBlitWebApp", l);
assertNotNull(bundle);
assertEquals("Español", bundle.getString("gb.loadLang"));
}

@Test
public void testFrResource() throws Exception
{
Locale l = Locale.FRENCH;
ResourceBundle bundle = ResourceBundle.getBundle("com.gitblit.wicket.GitBlitWebApp", l);
assertNotNull(bundle);
assertEquals("français", bundle.getString("gb.loadLang"));
}

@Test
public void testItResource() throws Exception
{
Locale l = Locale.ITALIAN;
ResourceBundle bundle = ResourceBundle.getBundle("com.gitblit.wicket.GitBlitWebApp", l);
assertNotNull(bundle);
assertEquals("Italiano", bundle.getString("gb.loadLang"));
}

@Test
public void testJaResource() throws Exception
{
Locale l = Locale.JAPANESE;
ResourceBundle bundle = ResourceBundle.getBundle("com.gitblit.wicket.GitBlitWebApp", l);
assertNotNull(bundle);
assertEquals("にほんご", bundle.getString("gb.loadLang"));
}

@Test
public void testKoResource() throws Exception
{
Locale l = Locale.KOREAN;
ResourceBundle bundle = ResourceBundle.getBundle("com.gitblit.wicket.GitBlitWebApp", l);
assertNotNull(bundle);
assertEquals("한국어", bundle.getString("gb.loadLang"));
}

@Test
public void testNlResource() throws Exception
{
Locale l = Locale.forLanguageTag("nl");
ResourceBundle bundle = ResourceBundle.getBundle("com.gitblit.wicket.GitBlitWebApp", l);
assertNotNull(bundle);
assertEquals("Nederlands", bundle.getString("gb.loadLang"));
}

@Test
public void testNoResource() throws Exception
{
Locale l = Locale.forLanguageTag("no");
ResourceBundle bundle = ResourceBundle.getBundle("com.gitblit.wicket.GitBlitWebApp", l);
assertNotNull(bundle);
assertEquals("Norsk", bundle.getString("gb.loadLang"));
}

@Test
public void testPlResource() throws Exception
{
Locale l = Locale.forLanguageTag("pl");
ResourceBundle bundle = ResourceBundle.getBundle("com.gitblit.wicket.GitBlitWebApp", l);
assertNotNull(bundle);
assertEquals("polszczyzna", bundle.getString("gb.loadLang"));
}

@Test
public void testPtBrResource() throws Exception
{
Locale l = Locale.forLanguageTag("pt-BR");
ResourceBundle bundle = ResourceBundle.getBundle("com.gitblit.wicket.GitBlitWebApp", l);
assertNotNull(bundle);
assertEquals("Português", bundle.getString("gb.loadLang"));
}

@Test
public void testZhCnResource() throws Exception
{
Locale l = Locale.SIMPLIFIED_CHINESE;
ResourceBundle bundle = ResourceBundle.getBundle("com.gitblit.wicket.GitBlitWebApp", l);
assertNotNull(bundle);
assertEquals("汉字", bundle.getString("gb.loadLang"));
}

@Test
public void testZhTwResource() throws Exception
{
Locale l = Locale.TRADITIONAL_CHINESE;
ResourceBundle bundle = ResourceBundle.getBundle("com.gitblit.wicket.GitBlitWebApp", l);
assertNotNull(bundle);
assertEquals("漢字", bundle.getString("gb.loadLang"));
}
}

Loading…
Cancel
Save