Skip to content

Commit 39503a2

Browse files
committed
docs(language): update label option to include iso_language_code placeholder
- Added {lang[iso_language_code]} to the label option description for enhanced functionality.
1 parent cd9db28 commit 39503a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/widgets/(Widget)-Language.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ language:
6868
```
6969
7070
## Description of Options
71-
- **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]}`, `{lang[layout_name]}`, `{lang[full_layout_name]}`, `{lang[layout_country_name]}`.
71+
- **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]}`, `{lang[layout_name]}`, `{lang[full_layout_name]}`, `{lang[layout_country_name]}`, `{lang[iso_language_code]}`.
7272
- **label_alt:** The alternative format string for the label. Useful for displaying the full language name.
7373
- **update_interval:** The interval in seconds to update the language information. Must be between 1 and 3600.
7474
- **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.

0 commit comments

Comments
 (0)