extracted string to constant
This commit is contained in:
parent
325684c524
commit
a433e30ec1
|
@ -342,11 +342,8 @@ export default function Gallery(props) {
|
||||||
/>
|
/>
|
||||||
{!isFirstLoad && data.length == 0 ? (
|
{!isFirstLoad && data.length == 0 ? (
|
||||||
<Jumbotron>
|
<Jumbotron>
|
||||||
<h1>Welcome to ente!</h1>
|
<h1>{constants.WELCOME}</h1>
|
||||||
<p>
|
<p>{constants.UPLOAD_FIRST_PHOTO}</p>
|
||||||
you don't seem to have any photo uploaded , click on
|
|
||||||
upload to start preserving your memories
|
|
||||||
</p>
|
|
||||||
<p>
|
<p>
|
||||||
<Button
|
<Button
|
||||||
variant="primary"
|
variant="primary"
|
||||||
|
|
|
@ -76,6 +76,8 @@ const englishConstants = {
|
||||||
NO_INTERNET_CONNECTION:
|
NO_INTERNET_CONNECTION:
|
||||||
'please check your internet connection and try again',
|
'please check your internet connection and try again',
|
||||||
TITLE: 'ente.io | encrypted photo storage',
|
TITLE: 'ente.io | encrypted photo storage',
|
||||||
|
WELCOME: 'welcome to ente!',
|
||||||
|
UPLOAD_FIRST_PHOTO: 'backup your first photo',
|
||||||
};
|
};
|
||||||
|
|
||||||
export default englishConstants;
|
export default englishConstants;
|
||||||
|
|
Loading…
Reference in a new issue