From 02a5485108d06b8dbc43de6f5e4b607aafeb7f30 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 25 Dec 2015 09:47:19 +0100 Subject: [PATCH] Disable Language.get() warnings for now At development stage, these warnings are only spamming the console without benefit. --- wcfsetup/install/files/js/WoltLab/WCF/Language.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Language.js b/wcfsetup/install/files/js/WoltLab/WCF/Language.js index 7b1c689cd5..3b3a3ad7a1 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Language.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Language.js @@ -49,8 +49,9 @@ define(['Dictionary', './Template'], function(Dictionary, Template) { var value = _languageItems.get(key); if (value === undefined) { - console.warn("Attempt to retrieve unknown phrase '" + key + "'."); - console.warn(new Error().stack); + // TODO + //console.warn("Attempt to retrieve unknown phrase '" + key + "'."); + //console.warn(new Error().stack); return key; } -- 2.20.1