mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-15 01:23:53 -07:00
Remove console log
This commit is contained in:
parent
344ea0212d
commit
b58f8e1e9f
1 changed files with 0 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue