From: Matthias Schmidt Date: Fri, 25 Dec 2015 08:47:19 +0000 (+0100) Subject: Disable Language.get() warnings for now X-Git-Tag: 3.0.0_Beta_1~2075 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=02a5485108d06b8dbc43de6f5e4b607aafeb7f30;p=GitHub%2FWoltLab%2FWCF.git Disable Language.get() warnings for now At development stage, these warnings are only spamming the console without benefit. --- 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; }