add info menu
This commit is contained in:
@@ -1919,6 +1919,17 @@ class Localuser {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
const jankInfo = settings.addButton(I18n.jankInfo());
|
||||||
|
const img = document.createElement("img");
|
||||||
|
img.src = "/logo.svg";
|
||||||
|
jankInfo.addHTMLArea(img);
|
||||||
|
img.width = 128;
|
||||||
|
img.height = 128;
|
||||||
|
jankInfo.addMDText(
|
||||||
|
I18n.clientDesc("Jank-Rolling", window.location.origin, this.rights.allow + ""),
|
||||||
|
);
|
||||||
|
}
|
||||||
settings.show();
|
settings.show();
|
||||||
}
|
}
|
||||||
readonly botTokens: Map<string, string> = new Map();
|
readonly botTokens: Map<string, string> = new Map();
|
||||||
|
@@ -510,7 +510,8 @@
|
|||||||
"confirmDel": "Are you sure you want to delete this emoji?"
|
"confirmDel": "Are you sure you want to delete this emoji?"
|
||||||
},
|
},
|
||||||
"incorrectURLS": "## This instance has likely sent the incorrect URLs.\n### If you're the instance owner please see [here](https://docs.spacebar.chat/setup/server/) under *Connecting from remote machines* to correct the issue.\n Would you like Jank Client to automatically try to fix this error to let you connect to the instance?",
|
"incorrectURLS": "## This instance has likely sent the incorrect URLs.\n### If you're the instance owner please see [here](https://docs.spacebar.chat/setup/server/) under *Connecting from remote machines* to correct the issue.\n Would you like Jank Client to automatically try to fix this error to let you connect to the instance?",
|
||||||
|
"jankInfo": "Client Information",
|
||||||
|
"clientDesc": "Client version: $1\n\n[Join the official Jank Client guild]($2/invite/USgYJo?instance=https%3A%2F%2Fspacebar.chat)\n\n[Help translate Jank Client](https://translatewiki.net/wiki/Translating:JankClient#sortable:3=desc) \n\n[Help create Jank client](https://github.com/MathMan05/JankClient)\n\n[Help maintain the server jank client relies on](https://github.com/spacebarchat/server)\n\nCalculated rights: $3",
|
||||||
"uploadFilesText": "Upload your files here!",
|
"uploadFilesText": "Upload your files here!",
|
||||||
"errorReconnect": "Unable to connect to the server, retrying in **$1** seconds...",
|
"errorReconnect": "Unable to connect to the server, retrying in **$1** seconds...",
|
||||||
"retrying": "Retrying...",
|
"retrying": "Retrying...",
|
||||||
|
Reference in New Issue
Block a user