Skip to content

Commit

Permalink
Merge branch 'development' into #13070-Add_import_and_export_for_self…
Browse files Browse the repository at this point in the history
…_reporting
  • Loading branch information
carina29 committed Jun 3, 2024
2 parents 1dfbf84 + 8573b3a commit d7ec8bc
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public enum Language {
FR_TN(new Locale("fr", "TN"), "dd/MM/yyyy", "dd/MM/yyyy HH:mm", "dd/MM"),
DE(new Locale("de", "DE"), "dd.MM.yyyy", "dd.MM.yyyy HH:mm", "dd.MM"),
DE_CH(new Locale("de", "CH"), "dd.MM.yyyy", "dd.MM.yyyy HH:mm", "dd.MM"),
ES_BO(new Locale("es", "BO"), "dd/MM/yyyy", "dd/MM/yyyy H:mm", "dd/MM"),
ES_EC(new Locale("es", "EC"), "dd/MM/yyyy", "dd/MM/yyyy H:mm", "dd/MM"),
ES_CU(new Locale("es", "CU"), "dd/MM/yyyy", "dd/MM/yyyy H:mm", "dd/MM"),
IT(new Locale("it", "IT"), "dd/MM/yyyy", "dd/MM/yyyy H:mm", "dd/MM"),
Expand Down
1 change: 1 addition & 0 deletions sormas-api/src/main/resources/enum.properties
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,7 @@ Language.EN_NG = English (Nigeria)
Language.EN_GH = English (Ghana)
Language.FR = Français
Language.DE = Deutsch
Language.ES_BO = Español (Bolivia)
Language.ES_EC = Español (Ecuador)
Language.ES_CU = Español (Cuba)
Language.FI = Suomi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public void testFromLocaleString() {
assertThat(Language.fromLocaleString("de"), is(Language.DE));
assertThat(Language.fromLocaleString("DE"), is(Language.DE));
assertThat(Language.fromLocaleString("fi"), is(Language.FI));
assertThat(Language.fromLocaleString("es"), is(Language.ES_EC));
assertThat(Language.fromLocaleString("es"), is(Language.ES_BO));
assertThat(Language.fromLocaleString("fr"), is(Language.FR));
assertThat(Language.fromLocaleString("it"), is(Language.IT));

Expand Down
2 changes: 1 addition & 1 deletion sormas-rest/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -25045,7 +25045,7 @@
},
"language" : {
"type" : "string",
"enum" : [ "EN", "EN_NG", "EN_GH", "EN_AF", "FR", "FR_CH", "FR_TN", "DE", "DE_CH", "ES_EC", "ES_CU", "IT", "IT_CH", "FI", "PS", "FA", "CZ", "UR_PK" ]
"enum" : [ "EN", "EN_NG", "EN_GH", "EN_AF", "FR", "FR_CH", "FR_TN", "DE", "DE_CH", "ES_BO", "ES_EC", "ES_CU", "IT", "IT_CH", "FI", "PS", "FA", "CZ", "UR_PK" ]
},
"lastName" : {
"type" : "string",
Expand Down
1 change: 1 addition & 0 deletions sormas-rest/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25083,6 +25083,7 @@ components:
- FR_TN
- DE
- DE_CH
- ES_BO
- ES_EC
- ES_CU
- IT
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d7ec8bc

Please sign in to comment.