diff --git a/src/app/profile/activities/activity/activity.component.spec.ts b/src/app/profile/activities/activity/activity.component.spec.ts
index 1daa5b3..898954c 100644
--- a/src/app/profile/activities/activity/activity.component.spec.ts
+++ b/src/app/profile/activities/activity/activity.component.spec.ts
@@ -62,11 +62,11 @@ describe("Components", () => {
});
});
- it("render scrap template correctly", done => {
- activity = { name: "scrap1", verb: "scrap" };
+ it("render leave scrap template correctly", done => {
+ activity = { name: "scrap1", verb: "leave_scrap" };
tcb.createAsync(BlockContainerComponent).then(fixture => {
let component: ActivityComponent = fixture.debugElement.componentViewChildren[0].componentInstance;
- expect(fixture.debugElement.queryAll(".activity.scrap").length).toEqual(1);
+ expect(fixture.debugElement.queryAll(".activity.leave_scrap").length).toEqual(1);
done();
});
});
diff --git a/src/app/profile/activities/activity/leave_scrap.html b/src/app/profile/activities/activity/leave_scrap.html
new file mode 100644
index 0000000..bc36ed1
--- /dev/null
+++ b/src/app/profile/activities/activity/leave_scrap.html
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+ {{"activities.scrap.description" | translate}}
+
+
+
+
+
diff --git a/src/app/profile/activities/activity/scrap.html b/src/app/profile/activities/activity/scrap.html
deleted file mode 100644
index ef8fc8f..0000000
--- a/src/app/profile/activities/activity/scrap.html
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
-
-
- {{"activities.scrap.description" | translate}}
-
-
-
-
-
diff --git a/src/languages/en.json b/src/languages/en.json
index 2715489..07a09c5 100644
--- a/src/languages/en.json
+++ b/src/languages/en.json
@@ -21,7 +21,7 @@
"profile.person.title": "Person",
"activities.title": "Activities",
"activities.create_article.description": "has published on",
- "activities.scrap.description": "wrote",
+ "activities.scrap.description": "wrote in its timeline",
"activities.add_member_in_community.description": "has joined the community",
"activities.new_friendship.description": "has made {friends, plural, one{one new friend} other{# new friends}}:",
"auth.title": "Great to have you back!",
diff --git a/src/languages/pt.json b/src/languages/pt.json
index cff9749..56bb9e2 100644
--- a/src/languages/pt.json
+++ b/src/languages/pt.json
@@ -21,7 +21,7 @@
"profile.person.title": "Pessoa",
"activities.title": "Atividades",
"activities.create_article.description": "publicou em",
- "activities.scrap.description": "escreveu",
+ "activities.scrap.description": "escreveu em sua linha do tempo",
"activities.add_member_in_community.description": "entrou na comunidade",
"activities.new_friendship.description": "fez {friends, plural, one{um novo amigo} other{# novos amigos}}:",
"auth.title": "Legal ter vocĂȘ de volta!",
--
libgit2 0.21.2