Skip to content

Commit

Permalink
fix: update watchlist string
Browse files Browse the repository at this point in the history
  • Loading branch information
theusaf committed Apr 26, 2024
1 parent f08488f commit cf207f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion websites/M/Minecraft Wiki/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"google classroom",
"youtube",
"kahoot",
"amazon",
"apple"
],
"id": "lang"
Expand Down
4 changes: 2 additions & 2 deletions websites/M/Minecraft Wiki/presence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ presence.on("UpdateData", async () => {
viewContributionsOf: "minecraft wiki.viewContributionsOf",
viewRecentChanges: "minecraft wiki.viewRecentChanges",
login: "kahoot.login",
subscriptions: "amazon.subscriptions",
btnViewThread: "apple.btnViewThread",
viewWatchlist: "minecraft wiki.viewWatchlist",
}),
mainPath = pathname.split("/").filter(Boolean)[1] ?? "/",
pageTitle = document.querySelector<HTMLMetaElement>(
Expand Down Expand Up @@ -100,7 +100,7 @@ presence.on("UpdateData", async () => {
presenceData.details = strings.advancedSettings;
else if (document.querySelector<HTMLFormElement>("#mw-watchlist-form"))
// Subscriptions (Special:Watchlist)
presenceData.details = strings.subscriptions;
presenceData.details = strings.viewWatchlist;
else if (document.querySelector<HTMLUListElement>(".mw-rcfilters-head")) {
// Recent changes (Special:RecentChanges, Special:RecentChangesLinked)
presenceData.details = strings.viewRecentChanges;
Expand Down

0 comments on commit cf207f0

Please sign in to comment.