Skip to content

Fix typos issues across the codebase#3681

Open
rjriajul wants to merge 2 commits into
tdlib:masterfrom
rjriajul:master
Open

Fix typos issues across the codebase#3681
rjriajul wants to merge 2 commits into
tdlib:masterfrom
rjriajul:master

Conversation

@rjriajul

Copy link
Copy Markdown

This pull request focuses on correcting typos and improving the clarity of comments, log messages, and error messages throughout the codebase. The main changes involve replacing incorrect words such as "forcely" with "forcibly", fixing various spelling mistakes, and updating some log and error messages for better readability and accuracy.

Typo and Wording Corrections:

  • Replaced all occurrences of "forcely" with "forcibly" in comments and log messages across multiple files, including BotInfoManager.cpp, ChatManager.cpp, DialogManager.cpp, DialogParticipant.h, MessageContent.cpp, MessageImportManager.cpp, MessagesManager.cpp, StoryManager.cpp, and UserManager.cpp. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]
  • Fixed spelling errors and improved grammar in comments and error messages, such as changing "mistmatch" to "mismatch", "preceed" to "precede", and "enougth" to "enough" in tl-parser.c and tl-parser.h. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]
  • Updated log messages to use consistent terminology, such as replacing "was readded" with "was re-added" and improving the description of group call updates in MessagesManager.cpp. [1] [2] [3] [4]
  • Improved English in API documentation comments, such as changing "readds" to "re-adds" and "readd" to "re-add" in td_api.tl.

These changes do not affect the functionality of the code but enhance code quality, maintainability, and developer experience by making messages and documentation more clear and professional.

- tl-parser.c: mistmatch->mismatch, preceed->precede, enougth->enough, builting->built-in
- tl-parser.h: libary->library
- tde2e: recive_commit_nonce->receive_commit_nonce (method name)
- generate_mime_types_gperf.cpp: preffered->preferred
- td_api.tl: Readds/readded/readd->Re-adds/re-added/re-add
- Comments: forcely->forcibly (12 occurrences across 10 files)
- Comments: readded->re-added
- Grammar: no enough rights->not enough rights
- Grammar: a being joined group call->group call being joined
@levlam

levlam commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

tl-parser is considered a third-party dependency. We don't fix even misprints there.

Other changes may be accepted.

@rjriajul

Copy link
Copy Markdown
Author

tl-parser is considered a third-party dependency. We don't fix even misprints there.

Other changes may be accepted.

Thanks for the heads-up. I've reverted the changes to tl-parser. The rest of the fixes are ready for review.

@rjriajul

rjriajul commented Jul 2, 2026

Copy link
Copy Markdown
Author

@levlam Hi! Just checking in since I removed the third-party dependency changes. Is there anything else holding this up from being merged?

@levlam

levlam commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

There is no. It will be merged after the next public update of TDLib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants