Skip to content

Commit

Permalink
Relax sv_SE to sv (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonesbusy authored Nov 9, 2024
1 parent 396f46c commit 1609030
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/java/hudson/plugins/locale/PluginImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ public class PluginImpl extends GlobalConfiguration {
// Set of allowed locales
private static final Set<String> 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.
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/hudson/plugins/locale/PluginImplTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ public void setUp() {
// Set of allowed locales for the test
private static final Set<String> 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() {
Expand Down

0 comments on commit 1609030

Please sign in to comment.