Skip to content

Sebek05/Telegram-Limits

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Лимиты Telegram (See in English)

Данный проект описывает всевозможные лимиты и ограничения в Telegram и отображает на странице limits.tginfo.me.

Как помочь проекту

Сообщить о проблеме или предложить идею

Telegram Limits

This project describes Telegram limitations and displays them on limits.tginfo.me/en

How to contribute

Report problem or make a suggestion

Add new language

  1. Fork
  2. Create folder in /localization named in according to ISO 639-1 with lang.json, so it will be /localization/es/lang.json for Spanish
  3. Create file in /data/<code>.json. Example: es.json for Spanish
  4. Translate the files by using any other available language
  5. Check out /assets/images/previews/_templates directory. It contains Illustrator files with templates for OpenGraph and Twitter preview snippets images. Also it contains fonts folder with required fonts to render the picture correctly
  6. Translate the images and export them as PNGs to /assets/images/previews/<code> directory. Example: /assets/images/previews/es/preview.png and /assets/images/previews/es/twitter.png for Spanish
  7. Add your language to the /localization/languages.json file. Example: "es": ["Español"] for Spanish
  8. Don't forget to mention yourself at the end of README!
  9. Well done! You can make a pull-request now.

How to help translate

  1. All the displayed data is located in /data, in ru.json and en.json etc.
  2. File structure
[
    {
        // Section name
        "name": "Accounts",

        // Icon name from material.io/icons
        "icon": "account_circle",

        // RGB of the section accent color
        "color": "110, 80, 200",

        // Section contents
        "items": [
            {
                // Element that's being described
                "name": "Username",

                // Clarification (gray text after the name)
                "hint": "(e.g. @cameraman)",

                // The limitation
                "text": "5 to 32 symbols",

                // Icon name from material.io/icons
                "icon": "alternate_email"
            },

            {
                ...
            }
        ]
    },
    {
        ...
    }
];

Translators

  • Turkish: cnpltdncsln
  • Italian: DavideGalilei
  • Indonesian: mubassari
  • Polish: Sebek

About

This project describes Telegram limitations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 39.7%
  • CSS 34.1%
  • JavaScript 26.2%