Skip to content

Commit

Permalink
Merge pull request #108 from Onlineberatung/TSYSTEMS-101-change-webla…
Browse files Browse the repository at this point in the history
…te-project-pointer

Tsystems 101 change weblate project pointer
  • Loading branch information
tkuzynow authored Jan 24, 2024
2 parents b7a3a22 + afc8a63 commit 67f3df0
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ translation.management.system.enabled=

weblate.api.url=
weblate.api.key=
weblate.project=onlineberatung
weblate.component=mailservice
weblate.project=backend
weblate.component=mailing

management.endpoint.health.enabled=true
management.endpoint.health.show-details=never
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void clean() {
@Test
void fetchDefaultTranslations_Should_FetchTranlsationsForInformalGerman() {

String translations = defaultTranslationsService.fetchDefaultTranslations("mailservice", "de",
String translations = defaultTranslationsService.fetchDefaultTranslations("mailing", "de",
Dialect.INFORMAL);

assertThat(translations).isNotNull();
Expand All @@ -46,7 +46,7 @@ void fetchDefaultTranslations_Should_FetchTranlsationsForInformalGerman() {
@Test
void fetchDefaultTranslations_Should_FetchTranlsationsForFormalIfDialectNullGerman() {

String translations = defaultTranslationsService.fetchDefaultTranslations("mailservice", "de",
String translations = defaultTranslationsService.fetchDefaultTranslations("mailing", "de",
null);

assertThat(translations).isNotNull();
Expand All @@ -56,7 +56,7 @@ void fetchDefaultTranslations_Should_FetchTranlsationsForFormalIfDialectNullGerm
@Test
void fetchDefaultTranslations_Should_FetchTranlsationsForEnglish() {

String translations = defaultTranslationsService.fetchDefaultTranslations("mailservice", "en",
String translations = defaultTranslationsService.fetchDefaultTranslations("mailing", "en",
null);

assertThat(translations).isNotNull();
Expand All @@ -68,7 +68,7 @@ void fetchDefaultTranslations_Should_fetchExternalTranslationsForFormalIfDialect

ReflectionTestUtils.setField(defaultTranslationsService, USE_CUSTOM_RESOURCES_PATH_FIELD_NAME, true);

String translations = defaultTranslationsService.fetchDefaultTranslations("mailservice", "de",
String translations = defaultTranslationsService.fetchDefaultTranslations("mailing", "de",
null);

assertThat(translations).isNotNull();
Expand All @@ -81,7 +81,7 @@ void fetchDefaultTranslations_Should_fetchExternalTranslationsForEnglish_When_us

ReflectionTestUtils.setField(defaultTranslationsService, USE_CUSTOM_RESOURCES_PATH_FIELD_NAME, true);

String translations = defaultTranslationsService.fetchDefaultTranslations("mailservice", "en",
String translations = defaultTranslationsService.fetchDefaultTranslations("mailing", "en",
null);

assertThat(translations).isNotNull();
Expand All @@ -94,7 +94,7 @@ void fetchDefaultTranslations_Should_fetchExternalTranslationsForInformalGerman_

ReflectionTestUtils.setField(defaultTranslationsService, USE_CUSTOM_RESOURCES_PATH_FIELD_NAME, true);

String translations = defaultTranslationsService.fetchDefaultTranslations("mailservice", "de",
String translations = defaultTranslationsService.fetchDefaultTranslations("mailing", "de",
Dialect.INFORMAL);

assertThat(translations).isNotNull();
Expand Down

0 comments on commit 67f3df0

Please sign in to comment.