Move translation key to correct file

This commit is contained in:
Rene Pfeuffer
2019-11-20 16:50:18 +01:00
parent 0992a5e916
commit 67c21b18e3
7 changed files with 11 additions and 11 deletions

View File

@@ -20,7 +20,7 @@ class Diff extends React.Component<Props> {
return (
<>
{diff.length === 0 ? (
<Notification type="info">{t("noDiffFound")}</Notification>
<Notification type="info">{t("diff.noDiffFound")}</Notification>
) : (
diff.map((file, index) => <DiffFile key={index} file={file} {...fileProps} {...this.props} />)
)}
@@ -29,4 +29,4 @@ class Diff extends React.Component<Props> {
}
}
export default withTranslation("plugins")(Diff);
export default withTranslation("repos")(Diff);