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 ? (
|
||||
<Jumbotron>
|
||||
<h1>Welcome to ente!</h1>
|
||||
<p>
|
||||
you don't seem to have any photo uploaded , click on
|
||||
upload to start preserving your memories
|
||||
</p>
|
||||
<h1>{constants.WELCOME}</h1>
|
||||
<p>{constants.UPLOAD_FIRST_PHOTO}</p>
|
||||
<p>
|
||||
<Button
|
||||
variant="primary"
|
||||
|
|
|
@ -76,6 +76,8 @@ const englishConstants = {
|
|||
NO_INTERNET_CONNECTION:
|
||||
'please check your internet connection and try again',
|
||||
TITLE: 'ente.io | encrypted photo storage',
|
||||
WELCOME: 'welcome to ente!',
|
||||
UPLOAD_FIRST_PHOTO: 'backup your first photo',
|
||||
};
|
||||
|
||||
export default englishConstants;
|
||||
|
|
Loading…
Reference in a new issue