From 6c90f76519f55b90f00bf82035b532b42db3f959 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 6 Jun 2015 15:42:57 +0200 Subject: [PATCH] Improved warn message if `Language.get()` encounters an unknown key --- wcfsetup/install/files/js/WoltLab/WCF/Language.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Language.js b/wcfsetup/install/files/js/WoltLab/WCF/Language.js index 69947efc92..38baaa48f1 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Language.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Language.js @@ -49,7 +49,7 @@ define(['Dictionary', './Template'], function(Dictionary, Template) { var value = _languageItems.get(key); if (value === undefined) { - console.warn("Trying to get() undefined language item."); + console.warn("Attempt to retrieve unknown phrase '" + key + "'."); return key; } -- 2.20.1