Fixes some bugs in LanguagePanel.
This commit is contained in:
parent
8b29b1b6dd
commit
6b1826f23d
|
@ -352,7 +352,7 @@ public class LanguagePanel
|
|||
return null;
|
||||
}
|
||||
|
||||
final String reference = "panels.buttons.language.";
|
||||
final String reference = "panels.language.buttons.language.";
|
||||
|
||||
// Get settings for island.
|
||||
PanelItemBuilder builder = new PanelItemBuilder();
|
||||
|
|
|
@ -1576,15 +1576,6 @@ protection:
|
|||
setting-active: '&a Active'
|
||||
setting-disabled: '&c Disabled'
|
||||
|
||||
language:
|
||||
panel-title: Select your language
|
||||
description:
|
||||
selected: '&a Currently selected.'
|
||||
click-to-select: '&e Click &a to select.'
|
||||
authors: '&a Authors:'
|
||||
author: '&3 - &b [name]'
|
||||
edited: '&a Changed your language to &e [lang]&a .'
|
||||
|
||||
management:
|
||||
panel:
|
||||
title: BentoBox Management
|
||||
|
@ -1747,14 +1738,14 @@ panel:
|
|||
panels:
|
||||
# The section of translations used in Language Panel
|
||||
language:
|
||||
title: "&a&l Select your language"
|
||||
title: "&2&l Select your language"
|
||||
buttons:
|
||||
# This button is used for displaying different locales that are available in language selection panel.
|
||||
language:
|
||||
name: "&f&l [name]"
|
||||
description: |-
|
||||
[authors]
|
||||
[selected]
|
||||
|[selected]
|
||||
authors: "&7 Authors: "
|
||||
author: "&7 - &b [name]"
|
||||
selected: "&a Currently selected."
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# This is default language selection panel. It is used in all situations when gamemode addon does not have specified their
|
||||
# of panel.
|
||||
language_panel:
|
||||
title: panels.titles.select-language # The title of panel or link to the localization location.
|
||||
title: panels.language.title # The title of panel or link to the localization location.
|
||||
type: INVENTORY # The type of inventory: INVENTORY, DROPPER, HOPPER
|
||||
background: # The item that will be displayed in empty spots. This section can be removed.
|
||||
icon: BLACK_STAINED_GLASS_PANE # The icon of background item
|
||||
|
@ -60,8 +60,8 @@ language_panel:
|
|||
reusable: # List of reoccurring buttons in the panels.
|
||||
language_button: # The ID of the button
|
||||
# icon: GRASS_BLOCK
|
||||
title: panels.buttons.language.name
|
||||
description: panels.buttons.language.description
|
||||
title: panels.language.buttons.language.name
|
||||
description: panels.language.buttons.language.description
|
||||
data:
|
||||
type: LOCALE
|
||||
# lang_id: default # Specifying lang_id will force to show the requested locale if it is available.
|
||||
|
|
Loading…
Reference in New Issue