{variables.language.getMessage(
@@ -311,10 +308,10 @@ export default function PhotoInformation({ info, url, api }) {
{width}x{height}
-
+ {api ?
{api.charAt(0).toUpperCase() + api.slice(1)}
-
+
: null}
>
) : null}
diff --git a/src/components/widgets/quote/Quote.jsx b/src/components/widgets/quote/Quote.jsx
index 418db467..8557a7e3 100644
--- a/src/components/widgets/quote/Quote.jsx
+++ b/src/components/widgets/quote/Quote.jsx
@@ -90,6 +90,7 @@ export default class Quote extends PureComponent {
quote: '"' + quote.quote + '"',
author: quote.author,
authorlink: this.getAuthorLink(quote.author),
+ authorimg: ''
});
}
diff --git a/src/index.jsx b/src/index.jsx
index fdcd1766..4c0cda75 100644
--- a/src/index.jsx
+++ b/src/index.jsx
@@ -27,7 +27,7 @@ import * as id_ID from './translations/id_ID.json';
const languagecode = localStorage.getItem('language') || 'en_GB';
-// we set things to window. so we avoid passing the translation strings as props to each component
+// we set things to variables. so we avoid passing the translation strings etc as props to each component
variables.languagecode = languagecode.replace('-', '_');
if (languagecode === 'en') {