aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/assets/libgui/lang
diff options
context:
space:
mode:
authorJuuxel <6596629+Juuxel@users.noreply.github.com>2021-09-11 01:24:34 +0300
committerGitHub <noreply@github.com>2021-09-11 01:24:34 +0300
commit60283b69816b6792ab517089707cfe4d4a099e9a (patch)
treebeaf7f0db6491158fda39b32a0f3e0fefa46edbe /src/main/resources/assets/libgui/lang
parentb8628421fb13f30853cdc3b3800b7153b168b65f (diff)
downloadLibGui-60283b69816b6792ab517089707cfe4d4a099e9a.tar.gz
LibGui-60283b69816b6792ab517089707cfe4d4a099e9a.tar.bz2
LibGui-60283b69816b6792ab517089707cfe4d4a099e9a.zip
Add observable properties and narration support (#136)
* Add focused narration support * yes! * More work on hovering and observables * Fix WWidget.setHovered javadoc * Document ObservableProperty.add/removeListener * Add observable views * Fix ObservableView.ChangeListener javadoc * More JD! * Add taglet for listing observable properties Overkill? Yep. Still fancy? Absolutely! * Fix narration element indices and more JD tricks * Add slot hovering narration * WItemSlot.getExtraNarrationMessage -> getNarrationName, make public API * Remove the binding functionality of observable properties This is required for having proper change listeners. * Add ObservableView.hasValue * Add some utility methods to ObservableView * Clarify ObservableView.ChangeListener parameters * Remove properties tag from WButton javadoc
Diffstat (limited to 'src/main/resources/assets/libgui/lang')
-rw-r--r--src/main/resources/assets/libgui/lang/en_us.json20
1 files changed, 17 insertions, 3 deletions
diff --git a/src/main/resources/assets/libgui/lang/en_us.json b/src/main/resources/assets/libgui/lang/en_us.json
index 5ed8bfb..4f0f9a1 100644
--- a/src/main/resources/assets/libgui/lang/en_us.json
+++ b/src/main/resources/assets/libgui/lang/en_us.json
@@ -1,4 +1,18 @@
{
- "options.libgui.libgui_settings": "LibGui Settings",
- "option.libgui.darkmode": "Dark Mode"
-}
+ "options.libgui.libgui_settings": "LibGui Settings",
+ "option.libgui.darkmode": "Dark Mode",
+ "widget.libgui.item_slot.narration.title": "Item slot %s out of %s",
+ "widget.libgui.labeled_slider.narration.title": "%s slider: at %s between %s and %s",
+ "widget.libgui.player_inventory.narration.hotbar": "Hotbar",
+ "widget.libgui.scroll_bar.narration.title": "Scroll bar",
+ "widget.libgui.slider.narration.title": "Slider: at %s between %s and %s",
+ "widget.libgui.slider.narration.usage": "Move by dragging or with arrow keys",
+ "widget.libgui.tab.narration.title": "%s tab",
+ "widget.libgui.tab.narration.position": "Tab %s out of %s",
+ "widget.libgui.text_field.narration.title": "Text field: %s",
+ "widget.libgui.text_field.narration.suggestion": "Suggestion: %s",
+ "widget.libgui.toggle_button.narration.unnamed": "Toggle button: %s",
+ "widget.libgui.toggle_button.narration.named": "Toggle button: %s (%s)",
+ "widget.libgui.toggle_button.narration.on": "On",
+ "widget.libgui.toggle_button.narration.off": "Off"
+}