@rmdes/indiekit-endpoint-activitypub 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,7 +16,7 @@ export function migrateGetController(mountPath) {
16
16
  return async (request, response, next) => {
17
17
  try {
18
18
  response.render("activitypub-migrate", {
19
- title: response.locals.__("activitypub.migrate"),
19
+ title: response.locals.__("activitypub.migrate.title"),
20
20
  mountPath,
21
21
  result: null,
22
22
  });
@@ -92,7 +92,7 @@ export function migratePostController(mountPath, pluginOptions) {
92
92
  }
93
93
 
94
94
  response.render("activitypub-migrate", {
95
- title: response.locals.__("activitypub.migrate"),
95
+ title: response.locals.__("activitypub.migrate.title"),
96
96
  mountPath,
97
97
  result,
98
98
  });
package/locales/en.json CHANGED
@@ -4,7 +4,6 @@
4
4
  "followers": "Followers",
5
5
  "following": "Following",
6
6
  "activities": "Activity log",
7
- "migrate": "Mastodon migration",
8
7
  "recentActivity": "Recent activity",
9
8
  "noActivity": "No activity yet. Once your actor is federated, interactions will appear here.",
10
9
  "noFollowers": "No followers yet.",
@@ -20,22 +19,25 @@
20
19
  "direction": "Direction",
21
20
  "directionInbound": "Received",
22
21
  "directionOutbound": "Sent",
23
- "migrate.aliasLabel": "Your old Mastodon account URL",
24
- "migrate.aliasHint": "e.g. https://mstdn.social/users/rmdes — sets alsoKnownAs on your actor",
25
- "migrate.aliasSave": "Save alias",
26
- "migrate.importLabel": "Import followers and following",
27
- "migrate.fileLabel": "Mastodon export CSV",
28
- "migrate.fileHint": "Upload following_accounts.csv from your Mastodon data export",
29
- "migrate.importButton": "Import",
30
- "migrate.importFollowing": "Import following list",
31
- "migrate.importFollowers": "Import followers list (pending until they re-follow after Move)",
32
- "migrate.step1Title": "Step 1 Configure actor alias",
33
- "migrate.step1Desc": "Link your old Mastodon account to this actor so the fediverse knows they are the same person.",
34
- "migrate.step2Title": "Step 2 Import followers/following",
35
- "migrate.step2Desc": "Upload your Mastodon data export CSV to import your social graph.",
36
- "migrate.step3Title": "Step 3 — Trigger Move on Mastodon",
37
- "migrate.step3Desc": "Go to your Mastodon instance Preferences → Account → Move to a different account. Enter your new handle and confirm. After the Move, followers will automatically re-follow you here.",
38
- "migrate.success": "Imported %d following, %d followers (%d failed).",
39
- "migrate.aliasSuccess": "Actor alias updated."
22
+ "migrate": {
23
+ "title": "Mastodon migration",
24
+ "step1Title": "Step 1 — Configure actor alias",
25
+ "step1Desc": "Link your old Mastodon account to this actor so the fediverse knows they are the same person.",
26
+ "aliasLabel": "Your old Mastodon account URL",
27
+ "aliasHint": "e.g. https://mstdn.social/users/rmdes sets alsoKnownAs on your actor",
28
+ "aliasSave": "Save alias",
29
+ "step2Title": "Step 2 — Import followers/following",
30
+ "step2Desc": "Upload your Mastodon data export CSV to import your social graph.",
31
+ "importLabel": "Import followers and following",
32
+ "fileLabel": "Mastodon export CSV",
33
+ "fileHint": "Upload following_accounts.csv from your Mastodon data export",
34
+ "importButton": "Import",
35
+ "importFollowing": "Import following list",
36
+ "importFollowers": "Import followers list (pending until they re-follow after Move)",
37
+ "step3Title": "Step 3 Trigger Move on Mastodon",
38
+ "step3Desc": "Go to your Mastodon instance → Preferences → Account → Move to a different account. Enter your new handle and confirm. After the Move, followers will automatically re-follow you here.",
39
+ "success": "Imported %d following, %d followers (%d failed).",
40
+ "aliasSuccess": "Actor alias updated."
41
+ }
40
42
  }
41
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rmdes/indiekit-endpoint-activitypub",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "ActivityPub federation endpoint for Indiekit via Fedify. Adds full fediverse support: actor, inbox, outbox, followers, following, syndication, and Mastodon migration.",
5
5
  "keywords": [
6
6
  "indiekit",
@@ -23,7 +23,7 @@
23
23
  url: mountPath + "/admin/activities"
24
24
  },
25
25
  {
26
- title: __("activitypub.migrate"),
26
+ title: __("activitypub.migrate.title"),
27
27
  url: mountPath + "/admin/migrate"
28
28
  }
29
29
  ]}) }}