diff --git a/public/i18n/ca/footer.json b/public/i18n/ca/footer.json index 7044097..dfe8a0b 100644 --- a/public/i18n/ca/footer.json +++ b/public/i18n/ca/footer.json @@ -1,4 +1,5 @@ { - "Core Version:": "Versió de Pi-hole", - "Web Version:": "Versió del interface web" + "if you found this useful": "si et sembla útil", + "Core Version": "Versió de Pi-hole", + "Web Version": "Versió del interface web" } \ No newline at end of file diff --git a/public/i18n/cs/footer.json b/public/i18n/cs/footer.json index b1a8543..6c08f57 100644 --- a/public/i18n/cs/footer.json +++ b/public/i18n/cs/footer.json @@ -1,4 +1,5 @@ { - "Core Version:": "Pi-hole Verze", - "Web Version:": "Web Interface Verze" + "if you found this useful": "ak považujete toto za užitoční", + "Core Version": "Pi-hole Verze", + "Web Version": "Web Interface Verze" } \ No newline at end of file diff --git a/public/i18n/de/footer.json b/public/i18n/de/footer.json index 7c0ddcb..93423e0 100644 --- a/public/i18n/de/footer.json +++ b/public/i18n/de/footer.json @@ -1,4 +1,5 @@ { - "Core Version:": "Pi-hole Version", - "Web Version:": "Web Interface Version" + "if you found this useful": "falls sie dies nützlich fanden", + "Core Version": "Pi-hole Version", + "Web Version": "Web Interface Version" } \ No newline at end of file diff --git a/public/i18n/en/footer.json b/public/i18n/en/footer.json index 951b8f1..69c0f1c 100644 --- a/public/i18n/en/footer.json +++ b/public/i18n/en/footer.json @@ -1,4 +1,5 @@ { - "Core Version:": "Core Version", - "Web Version:": "Web Version" + "if you found this useful": "if you found this useful", + "Core Version": "Core Version", + "Web Version": "Web Version" } \ No newline at end of file diff --git a/public/i18n/fr/footer.json b/public/i18n/fr/footer.json index bd6222a..00b2eba 100644 --- a/public/i18n/fr/footer.json +++ b/public/i18n/fr/footer.json @@ -1,4 +1,5 @@ { - "Core Version:": "Version de Pi-hole", - "Web Version:": "Version de l'interface web" + "if you found this useful": "Si vous avez trouvé ceci utile", + "Core Version": "Version de Pi-hole", + "Web Version": "Version de l'interface web" } \ No newline at end of file diff --git a/public/i18n/sk/footer.json b/public/i18n/sk/footer.json index 6190780..4610367 100644 --- a/public/i18n/sk/footer.json +++ b/public/i18n/sk/footer.json @@ -1,4 +1,5 @@ { - "Core Version:": "Pi-hole verzia", - "Web Version:": "Verzia web rozhrania" + "if you found this useful": "ak považujete Pi-Hole za užitočný", + "Core Version": "Pi-hole verzia", + "Web Version": "Verzia web rozhrania" } \ No newline at end of file diff --git a/src/components/Footer.js b/src/components/Footer.js index cc85c6c..76f0541 100644 --- a/src/components/Footer.js +++ b/src/components/Footer.js @@ -9,20 +9,29 @@ * Please see LICENSE file for your rights under this license. */ import React from 'react'; +import { translate } from "react-i18next"; -export default () => ( - -); +const Footer = props => { + const { t } = props; + + return ( + + ); +}; + +export default translate(["common", "footer"])(Footer);