diff --git a/locales/en.json b/locales/en.json index 67c8ba9e..66c961c0 100644 --- a/locales/en.json +++ b/locales/en.json @@ -206,6 +206,15 @@ "function.zoom": "Zoom", "function_add": "Add Function", "function_remove": "Remove Function", + "help.entry.type.alternatives": "Tests conditions of the child entries and executes the first that can run", + "help.entry.type.dynamic": "Gets block specific drops", + "help.entry.type.empty": "Adds nothing to the pool", + "help.entry.type.group": "Executes all child entries when own conditions pass", + "help.entry.type.item": "Adds a single item", + "help.entry.type.loot_table": "Adds the contents of another loot table", + "help.entry.type.sequence": "Executes child entries until the first one that can't run due to conditions", + "help.entry.type.tag": "Adds the contents of an item tag", + "help.pool.rolls": "The amount of entries that are randomly chosen", "hide_source": "Hide Source", "item.count": "Count", "item.durability": "Durability", diff --git a/view.js b/view.js index 06850e59..901ce1e5 100644 --- a/view.js +++ b/view.js @@ -5,7 +5,7 @@ let collections; i18next.on('initialized', () => { $('[data-help]').each(function() { console.log('ahhh'); - $(this).tooltip({title: i18next.t('$help.' + $(this).attr('data-help'))}); + $(this).tooltip({title: i18next.t('help.' + $(this).attr('data-help'))}); }); }); @@ -462,7 +462,7 @@ function generateField(data, field, parent) { function generateTooltip(str) { let $el = $(''); - $el.tooltip({title: i18next.t('$help.' + str)}); + $el.tooltip({title: i18next.t('help.' + str)}); return $el; }