mirror of https://github.com/lidarr/Lidarr
Remove console log
This commit is contained in:
parent
344ea0212d
commit
b58f8e1e9f
|
@ -29,10 +29,6 @@ export default function translate(
|
||||||
) {
|
) {
|
||||||
const translation = translations[key] || key;
|
const translation = translations[key] || key;
|
||||||
|
|
||||||
if (!(key in translations)) {
|
|
||||||
console.warn(`MISSING ${key}`);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (tokens) {
|
if (tokens) {
|
||||||
// Fallback to the old behaviour for translations not yet updated to use named tokens
|
// Fallback to the old behaviour for translations not yet updated to use named tokens
|
||||||
Object.values(tokens).forEach((value, index) => {
|
Object.values(tokens).forEach((value, index) => {
|
||||||
|
|
Loading…
Reference in New Issue