From 6771b927938a2fec3ce98a7e16ff8695aafc5410 Mon Sep 17 00:00:00 2001 From: ReznoRMichael Date: Wed, 10 Feb 2021 19:39:15 +0100 Subject: [PATCH] docs --- src/js/HKCheckCompletion.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/js/HKCheckCompletion.js b/src/js/HKCheckCompletion.js index be2edec..dc078c5 100644 --- a/src/js/HKCheckCompletion.js +++ b/src/js/HKCheckCompletion.js @@ -1254,6 +1254,11 @@ function FillInnerHTML(elementId, textFill) { element.innerHTML = textFill; } +/** + * Returns a translated map location name string. + * @param {string} mapCode Code of the Hollow Knight map location the game developers use + * @param {object} dictionary Main data source for translation + */ function TranslateMapName(mapCode, dictionary = MAP) { let translation = mapCode;