From b32fcd8b349ce3d99d0c61b3f2a335b861982a0f Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Thu, 16 Nov 2017 03:25:29 +0000 Subject: [PATCH] Add crowdin links and query parameter lang --- README.md | 3 +++ webapp/titanembeds/templates/card_queryparams.html.j2 | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index eb938a4..40766d6 100644 --- a/README.md +++ b/README.md @@ -30,5 +30,8 @@ To set up the database for it to work with the webapp and the discordbot, one mu ## Join us! Come and talk with us at our very own [discord server](https://discord.gg/z4pdtuV)! We offer support too! +## Translate for us! +Visit us over at our [CrowdIn project](http://translate.titanembeds.com/) and teach Titan how to speak your language! + ## Disclaimer This project is never to be used as a replacement for Discord app. It is used in conjunction for a quick and dirty Discord embed for websites. Some uses are via shoutboxes, etc. diff --git a/webapp/titanembeds/templates/card_queryparams.html.j2 b/webapp/titanembeds/templates/card_queryparams.html.j2 index 80b76cb..3441a68 100644 --- a/webapp/titanembeds/templates/card_queryparams.html.j2 +++ b/webapp/titanembeds/templates/card_queryparams.html.j2 @@ -18,6 +18,12 @@ Instead of having the top channel as the first channel your users see, you may change it. Enable Discord's Developer mode in the Appearances tab of the User Settings and copy the channel ID.
Eg: defaultchannel=1234567890 +
  • + lang=<language>
    + Is your users multilingual? No worries, Titan can speak multiple languages! Check here for a list of all language parameters Titan can support.
    + Wish Titan supported your language? Consider contributing to our CrowdIn project!
    + Eg: lang=nl +
  • noscroll=<boolean>
    Prevents the embed from scrolling down on first load. Useful for those who wants to set #info -typed channels as their default channel. Gotta have those good reads!