Skip to content

Commit 0dc9811

Browse files
authored
Merge pull request #10135 from owncloud/fix-activities-test
[tests-only][full-ci]configure custom translation for tests
2 parents 879dfa7 + 954d218 commit 0dc9811

File tree

7 files changed

+86
-2
lines changed

7 files changed

+86
-2
lines changed

.drone.star

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2088,6 +2088,7 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
20882088
"OCIS_JWT_SECRET": "some-ocis-jwt-secret",
20892089
"EVENTHISTORY_STORE": "memory",
20902090
"GRAPH_AVAILABLE_ROLES": "b1e2218d-eef8-4d4c-b82d-0f1a1b48f3b5,a8d5fe5e-96e3-418d-825b-534dbdf22b99,fb6c3e19-e378-47e5-b277-9732f9de6e21,58c63c02-1d89-4572-916a-870abc5a1b7d,2d00ce52-1fc2-4dbc-8b95-a73b73395f5a,1c996275-f1c9-4e71-abdf-a42f6495e960,312c0871-5ef7-4b3a-85b6-0e4074c64049,aa97fe03-7980-45ac-9e50-b325749fd7e6",
2091+
"OCIS_TRANSLATION_PATH": "%s/tests/config/translations" % dirs["base"],
20912092
}
20922093

20932094
if deploy_type == "":

tests/acceptance/features/apiActivities/activities.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@ Feature: check activities
14611461
}
14621462
"""
14631463

1464-
@issue-9856 @issue-10127 @skip
1464+
@issue-9856 @issue-10127
14651465
Scenario: check activity message with different language
14661466
Given user "Alice" has uploaded file with content "ownCloud test text file" to "textfile.txt"
14671467
And user "Alice" has switched the system language to "de" using the Graph API
@@ -1494,7 +1494,7 @@ Feature: check activities
14941494
},
14951495
"variables": {
14961496
"type": "object",
1497-
"required": ["resource","space","user"],
1497+
"required": ["resource","folder","user"],
14981498
"properties": {
14991499
"resource": {
15001500
"type": "object",
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Activity Log
2+
msgid "{user} added {resource} to {folder}"
3+
msgstr "{user} hat {resource} zu {folder} hinzugefügt"
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Email Notification
2+
msgid "Hello {ShareGrantee}"
3+
msgstr "Hallo {ShareGrantee}"
4+
5+
msgid "Hello {SpaceGrantee},"
6+
msgstr "Hallo {SpaceGrantee},"
7+
8+
msgid "{ShareSharer} has shared \"{ShareFolder}\" with you."
9+
msgstr "{ShareSharer} hat \"{ShareFolder}\" mit Ihnen geteilt."
10+
11+
msgid "Click here to view it: {ShareLink}"
12+
msgstr "Zum Ansehen hier klicken: {ShareLink}"
13+
14+
msgid "{SpaceSharer} has invited you to join \"{SpaceName}\"."
15+
msgstr "{SpaceSharer} hat Sie eingeladen, dem Space \"{SpaceName}\" beizutreten."
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Antivirus
2+
msgid "Virus found"
3+
msgstr "Virus gefunden"
4+
5+
msgid "Virus found in {resource}. Upload not possible. Virus: {virus}"
6+
msgstr "In {resource} wurde potenziell schädlicher Code gefunden. Das Hochladen wurde abgebrochen. Grund: {virus}"
7+
8+
# User Log
9+
msgid "Space shared"
10+
msgstr "Space freigegeben"
11+
12+
msgid "{user} added you to Space {space}"
13+
msgstr "{user} hat Sie zu Space {space} hinzugefügt"
14+
15+
msgid "Instance will be shut down and deprovisioned"
16+
msgstr "Instanz wird heruntergefahren und außer Betrieb genommen werden."
17+
18+
msgid "Attention! The instance will be shut down and deprovisioned on {date}. Download all your data before that date as no access past that date is possible."
19+
msgstr "Achtung! Diese Instanz wird am {date} heruntergefahren und außer Betrieb genommen werden. Laden Sie Ihre Daten vor diesem Tag herunter, da Sie danach nicht mehr darauf zugreifen können."
20+
21+
msgid "Resource shared"
22+
msgstr "Neue Freigabe"
23+
24+
msgid "{user} shared {resource} with you"
25+
msgstr "{user} hat {resource} mit Ihnen geteilt"
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Email Notification
2+
msgid "Hello {ShareGrantee}"
3+
msgstr "Hola {ShareGrantee}"
4+
5+
msgid "Hello {SpaceGrantee},"
6+
msgstr "Hola {SpaceGrantee},"
7+
8+
msgid "{ShareSharer} has shared \"{ShareFolder}\" with you."
9+
msgstr "{ShareSharer} ha compartido \"{ShareFolder}\" contigo."
10+
11+
msgid "Click here to view it: {ShareLink}"
12+
msgstr "Click aquí para verlo: {ShareLink}"
13+
14+
msgid "{SpaceSharer} has invited you to join \"{SpaceName}\"."
15+
msgstr "{SpaceSharer} te ha invitado a unirte a \"{SpaceName}\"."
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Antivirus
2+
msgid "Virus found"
3+
msgstr "Virus encontrado"
4+
5+
msgid "Virus found in {resource}. Upload not possible. Virus: {virus}"
6+
msgstr "Virus encontrado en {resource}. La subida no ha sido posible. Virus: {virus}"
7+
8+
# User Log
9+
msgid "Space shared"
10+
msgstr "Space compartido"
11+
12+
msgid "{user} added you to Space {space}"
13+
msgstr "{user} te añadió al Space {space}"
14+
15+
msgid "Instance will be shut down and deprovisioned"
16+
msgstr "La instancia se cerrará y se desaprovisionará"
17+
18+
msgid "Attention! The instance will be shut down and deprovisioned on {date}. Download all your data before that date as no access past that date is possible."
19+
msgstr "¡Atención! La instancia se cerrará y se desaprovisionará el {date}. Descarga todos tus datos antes de esa fecha, puesto que el acceso pasada la fecha no será posible."
20+
21+
msgid "Resource shared"
22+
msgstr "Recurso compartido"
23+
24+
msgid "{user} shared {resource} with you"
25+
msgstr "{user} compartió {resource} contigo"

0 commit comments

Comments
 (0)