add info menu
This commit is contained in:
parent
74c99e2f34
commit
54416197de
2 changed files with 13 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
readonly botTokens: Map<string, string> = new Map();
|
||||
|
|
|
@ -510,7 +510,8 @@
|
|||
"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?",
|
||||
|
||||
"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!",
|
||||
"errorReconnect": "Unable to connect to the server, retrying in **$1** seconds...",
|
||||
"retrying": "Retrying...",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue