From 1609030511cab3662039f7c9551fd8ac52d7b6cd Mon Sep 17 00:00:00 2001 From: Valentin Delaye Date: Sat, 9 Nov 2024 10:15:29 +0100 Subject: [PATCH] Relax sv_SE to sv (#266) --- src/main/java/hudson/plugins/locale/PluginImpl.java | 4 ++-- src/test/java/hudson/plugins/locale/PluginImplTest.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/hudson/plugins/locale/PluginImpl.java b/src/main/java/hudson/plugins/locale/PluginImpl.java index bcd3d76..71b05ab 100644 --- a/src/main/java/hudson/plugins/locale/PluginImpl.java +++ b/src/main/java/hudson/plugins/locale/PluginImpl.java @@ -42,8 +42,8 @@ public class PluginImpl extends GlobalConfiguration { // Set of allowed locales private static final Set ALLOWED_LOCALES = new HashSet<>(Arrays.asList( "bg", "ca", "cs", "da", "de", "el", "en", "es", "es_AR", "et", "fi", "fr", "he", "hu", "it", "ja", "ko", - "lt", "lv", "nb_NO", "nl", "pl", "pt_BR", "pt_PT", "ro", "ru", "sk", "sl", "sr", "sv_SE", "tr", "uk", - "zh_CN", "zh_TW")); + "lt", "lv", "nb_NO", "nl", "pl", "pt_BR", "pt_PT", "ro", "ru", "sk", "sl", "sr", "sv", "tr", "uk", "zh_CN", + "zh_TW")); /** * The value of {@link Locale#getDefault()} before we replace it. diff --git a/src/test/java/hudson/plugins/locale/PluginImplTest.java b/src/test/java/hudson/plugins/locale/PluginImplTest.java index 5cb7620..a1161b9 100644 --- a/src/test/java/hudson/plugins/locale/PluginImplTest.java +++ b/src/test/java/hudson/plugins/locale/PluginImplTest.java @@ -29,8 +29,8 @@ public void setUp() { // Set of allowed locales for the test private static final Set ALLOWED_LOCALES = new HashSet<>(Arrays.asList( "bg", "ca", "cs", "da", "de", "el", "en", "es", "es_AR", "et", "fi", "fr", "he", "hu", "it", "ja", "ko", - "lt", "lv", "nb_NO", "nl", "pl", "pt_BR", "pt_PT", "ro", "ru", "sk", "sl", "sr", "sv_SE", "tr", "uk", - "zh_CN", "zh_TW")); + "lt", "lv", "nb_NO", "nl", "pl", "pt_BR", "pt_PT", "ro", "ru", "sk", "sl", "sr", "sv", "tr", "uk", "zh_CN", + "zh_TW")); @Test public void testDoFillSystemLocaleItems() {