Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added trdg/fonts/ru/Baumans-Regular.ttf
Binary file not shown.
7 changes: 7 additions & 0 deletions trdg/string_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,13 @@ def create_strings_randomly(
[chr(i) for i in range(19968, 40908)]
) # unicode range for common and uncommon kanji
# https://stackoverflow.com/questions/19899554/unicode-range-for-japanese
elif lang == "ru":
pool += "".join(
[chr(i) for i in range(0x410, 0x450)]
)
pool += "".join(
[chr(0x401), chr(0x451)]
)
else:
pool += string.ascii_letters
if num:
Expand Down