Skip to content

Commit

Permalink
feat(docs): expand label placeholders in LanguageWidget documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
amnweb committed Nov 30, 2024
1 parent 57f3126 commit 6580531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/widgets/(Widget)-Language.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ language:
```
## Description of Options
- **label:** The format string for the label. You can use placeholders like `{lang[language_code]}`, `{lang[country_code]}` or `{lang[full_name]}`
- **label:** The format string for the label. You can use placeholders like `{lang[language_code]}`, `{lang[country_code]}`, `{lang[full_name]}`, `{lang[native_country_name]}`, `{lang[native_lang_name]}`,
- **label_alt:** The alternative format string for the label. Useful for displaying the full language name.
- **update_interval:** The interval in seconds to update the language information. Must be between 1 and 3600.
- **callbacks:** A dictionary specifying the callbacks for mouse events. The keys are `on_left`, `on_middle`, and `on_right`, and the values are the names of the callback functions.
Expand Down

0 comments on commit 6580531

Please sign in to comment.