Skip to content

Commit 1609030

Browse files
authored
Relax sv_SE to sv (#266)
1 parent 396f46c commit 1609030

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/main/java/hudson/plugins/locale/PluginImpl.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ public class PluginImpl extends GlobalConfiguration {
4242
// Set of allowed locales
4343
private static final Set<String> ALLOWED_LOCALES = new HashSet<>(Arrays.asList(
4444
"bg", "ca", "cs", "da", "de", "el", "en", "es", "es_AR", "et", "fi", "fr", "he", "hu", "it", "ja", "ko",
45-
"lt", "lv", "nb_NO", "nl", "pl", "pt_BR", "pt_PT", "ro", "ru", "sk", "sl", "sr", "sv_SE", "tr", "uk",
46-
"zh_CN", "zh_TW"));
45+
"lt", "lv", "nb_NO", "nl", "pl", "pt_BR", "pt_PT", "ro", "ru", "sk", "sl", "sr", "sv", "tr", "uk", "zh_CN",
46+
"zh_TW"));
4747

4848
/**
4949
* The value of {@link Locale#getDefault()} before we replace it.

src/test/java/hudson/plugins/locale/PluginImplTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ public void setUp() {
2929
// Set of allowed locales for the test
3030
private static final Set<String> ALLOWED_LOCALES = new HashSet<>(Arrays.asList(
3131
"bg", "ca", "cs", "da", "de", "el", "en", "es", "es_AR", "et", "fi", "fr", "he", "hu", "it", "ja", "ko",
32-
"lt", "lv", "nb_NO", "nl", "pl", "pt_BR", "pt_PT", "ro", "ru", "sk", "sl", "sr", "sv_SE", "tr", "uk",
33-
"zh_CN", "zh_TW"));
32+
"lt", "lv", "nb_NO", "nl", "pl", "pt_BR", "pt_PT", "ro", "ru", "sk", "sl", "sr", "sv", "tr", "uk", "zh_CN",
33+
"zh_TW"));
3434

3535
@Test
3636
public void testDoFillSystemLocaleItems() {

0 commit comments

Comments
 (0)