Skip to content

Commit

Permalink
Added splash title var in json (#32)
Browse files Browse the repository at this point in the history
* updated title in launch page

* added splash title var in json
  • Loading branch information
prtkjakhar authored Jul 14, 2023
1 parent a33d931 commit d4fc3af
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
3 changes: 2 additions & 1 deletion apps/agri-mitra/lang/bn.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"label.title": "AgrI-Mitra",
"label.title": "Kisan e-Mitra",
"label.splash_title": "Kisan e-Mitra",
"label.welcome": "স্বাগতম",
"label.chats": "চ্যাটগুলি",
"label.farmer": "কৃষক",
Expand Down
1 change: 1 addition & 0 deletions apps/agri-mitra/lang/en.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"label.title": "Kisan e-Mitra",
"label.splash_title": "Kisan e-Mitra",
"label.welcome": "Welcome",
"label.chats": "Chats",
"label.farmer": "Farmer",
Expand Down
3 changes: 2 additions & 1 deletion apps/agri-mitra/lang/hi.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"label.title": "AgrI-Mitra",
"label.title": "Kisan e-Mitra",
"label.splash_title": "Kisan e-Mitra",
"label.welcome": "स्वागत",
"label.chats": "चैट",
"label.farmer": "किसान",
Expand Down
3 changes: 2 additions & 1 deletion apps/agri-mitra/lang/ta.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"label.title": "AgrI-Mitra",
"label.title": "Kisan e-Mitra",
"label.splash_title": "Kisan e-Mitra",
"label.welcome": "வரவேற்பு",
"label.chats": "உரைகள்",
"label.farmer": "விவசாயி",
Expand Down
3 changes: 2 additions & 1 deletion apps/agri-mitra/lang/te.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"label.title": "AgrI-Mitra",
"label.title": "Kisan e-Mitra",
"label.splash_title": "Kisan e-Mitra",
"label.welcome": "స్వాగతం",
"label.chats": "చాట్లు",
"label.farmer": "రైతు",
Expand Down
4 changes: 3 additions & 1 deletion apps/agri-mitra/src/components/LaunchPage/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import styles from './index.module.css';
import Logo from "../../assets/images/MOA_logo.png";
import Image from "next/image";
import { useLocalization } from '../../hooks';

function LaunchPage() {
const t = useLocalization();
return (
<div className={`${styles.container}`}>
<Image
Expand All @@ -12,7 +14,7 @@ function LaunchPage() {
width={235}
height={235}
/>
<span>AgrI-Mitra</span>
<span>{t('label.splash_title')}</span>
</div>
)
}
Expand Down

1 comment on commit d4fc3af

@vercel
Copy link

@vercel vercel bot commented on d4fc3af Jul 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.