1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-21 22:05:43 -04:00

Translate Frontend Components and Helpers

(cherry picked from commit e777b7018481b18ef18f1116f75983a037bf0849)

Closes #8995
This commit is contained in:
Stevie Robinson
2023-08-13 23:04:18 +02:00
committed by Bogdan
parent 22ec1fe492
commit 02baf4d7a4
60 changed files with 621 additions and 482 deletions
@@ -1,5 +1,6 @@
import React, { useEffect, useState } from 'react';
import StackTrace from 'stacktrace-js';
import translate from 'Utilities/String/translate';
import styles from './ErrorBoundaryError.css';
interface ErrorBoundaryErrorProps {
@@ -18,7 +19,7 @@ function ErrorBoundaryError(props: ErrorBoundaryErrorProps) {
className = styles.container,
messageClassName = styles.message,
detailsClassName = styles.details,
message = 'There was an error loading this content',
message = translate('ErrorLoadingContent'),
error,
info,
} = props;