Skip to content

Commit

Permalink
Update: readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyProger1 committed Feb 12, 2024
1 parent 1961ca3 commit 5356b07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ print(Messages.HELLO, Messages.WORLD) # Привіт, Світ!
set_language('fr_FR')

print(Messages.HELLO, Messages.WORLD) # Bonjour le monde!

print(Messages.HELLO.language('uk'), Messages.WORLD.language('en')) # Привіт, World!
```

### Extraction-Tools
Expand Down
2 changes: 2 additions & 0 deletions examples/example_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ class Messages(TranslatableEnum):
set_language('fr_FR')

print(Messages.HELLO, Messages.WORLD) # Bonjour le monde!

print(Messages.HELLO.language('uk'), Messages.WORLD.language('en')) # Привіт, World!

0 comments on commit 5356b07

Please sign in to comment.