Localize prayers page via next-intl messages (titles, categories, stats, buttons, dialog, samples); use Intl relative time; scalable for more locales.

This commit is contained in:
andupetcu
2025-09-20 18:06:27 +03:00
parent ddfc2b673f
commit 71447d32c3
3 changed files with 165 additions and 137 deletions

View File

@@ -91,9 +91,56 @@
},
"prayers": {
"title": "Prayers",
"subtitle": "Share prayers and pray together with the community",
"addRequest": "Add prayer request",
"anonymous": "Anonymous",
"prayFor": "Pray for this"
"prayFor": "Pray for this",
"categories": {
"title": "Categories",
"personal": "Personal",
"family": "Family",
"health": "Health",
"work": "Work",
"ministry": "Ministry",
"world": "World"
},
"stats": {
"title": "Statistics",
"activeRequests": "{count} active requests",
"totalPrayers": "{count} total prayers",
"youPrayed": "{count} requests you prayed for"
},
"buttons": {
"pray": "Pray",
"prayed": "Prayed",
"share": "Share"
},
"dialog": {
"title": "Add a prayer request",
"titleLabel": "Title",
"categoryLabel": "Category",
"descriptionLabel": "Description",
"placeholder": "Describe your prayer request...",
"cancel": "Cancel",
"submit": "Add prayer"
},
"samples": {
"item1": {
"title": "Prayer for healing",
"description": "Please pray for my father who is in the hospital. He needs God's healing.",
"author": "Maria P."
},
"item2": {
"title": "God's guidance in career",
"description": "Seeking God's direction for the next step in my career. Please pray for clarity and peace.",
"author": "Alex M."
},
"item3": {
"title": "Unity in our family",
"description": "Please pray for restoration of relationships in our family and for mutual forgiveness.",
"author": "Anonymous"
}
}
},
"search": {
"title": "Search",
@@ -114,4 +161,4 @@
"next": "Next",
"previous": "Previous"
}
}
}