From 5cea19c8dc2053667a7d6fb5194f0bd9726fbc98 Mon Sep 17 00:00:00 2001 From: Mustafa Durmaz Date: Wed, 4 May 2022 01:40:47 +0300 Subject: [PATCH] translate completed --- public/assets/i18n/common/en.json | 34 +++++++- public/assets/i18n/common/tr.json | 36 ++++++++- src/App.jsx | 21 +++-- src/components/Footer/Footer.test.js | 8 +- src/components/Footer/FooterHomeLinks.js | 18 ++--- src/components/Footer/FooterResourcesLinks.js | 13 ++-- src/components/Footer/FooterTeamLinks.js | 7 +- src/components/Footer/SubscriptionForm.js | 13 ++-- .../HomeSections/Donators/Donators.jsx | 4 +- src/components/HomeSections/Hero/Hero.jsx | 14 ++-- .../HomeSections/HowItWorks/HowItWorks.jsx | 27 +++---- src/components/HomeSections/Team/Team.jsx | 43 ++++++---- .../HomeSections/Testimonial/Testimonial.jsx | 14 ++-- src/components/Login/Login.jsx | 17 ++-- .../tests/__snapshots__/Login.test.js.snap | 14 ++-- src/components/Navbar/Navbar.jsx | 78 +++++++++---------- .../Navbar/__tests__/Navbar.test.js | 14 ++-- src/components/Signup/Signup.jsx | 21 ++--- .../tests/__snapshots__/Signup.test.js.snap | 18 ++--- src/index.js | 2 +- .../ContactUs/__tests__/ContactUs.test.js | 10 +-- src/pages/Donated/Donated.jsx | 15 ++-- src/pages/Donated/DonatedList.jsx | 7 +- src/pages/Donated/Filter.jsx | 8 +- src/pages/Donated/ItemCard.jsx | 29 ++++--- src/pages/FAQ/Faq.jsx | 32 ++++---- src/pages/Request/Filter.jsx | 8 +- src/pages/Request/ItemCard.jsx | 7 +- src/pages/Request/Request.jsx | 18 ++--- src/pages/Request/RequestList.jsx | 11 +-- src/pages/Request/RequestModalItem.jsx | 15 ++-- 31 files changed, 319 insertions(+), 257 deletions(-) diff --git a/public/assets/i18n/common/en.json b/public/assets/i18n/common/en.json index b6fe5d4..a8b0bb6 100644 --- a/public/assets/i18n/common/en.json +++ b/public/assets/i18n/common/en.json @@ -52,6 +52,36 @@ "fullName":"Full Name", "message": "Message", "sendMessage": "Send Message", - "email":"Email" - + "email":"Email", + "What is Paying It Forward?": "What is Paying It Forward?", + "payingItForward": "It is an application that provides donations to students, which was established to reduce inequality in the education system.", + "How can you request an item?": "How can you request an item?", + "requestAnItem":"First of all, you must be a member of the application. After you become a member, you must click on the request button on the homepage. You can make a request by filling out the form that opens.", + "How can you donate an item?": "How can you donate an item?", + "donateAnItem":"First of all, you must be a member of the application. After you become a member, you must click on the donation button on the homepage. You can donate by filling out the form.", + "Do I have to pay any fees to request or donate?": "Do I have to pay any fees to request or donate?", + "It is completely free to request or donate.": "It is completely free to request or donate.", + "Make a donation":"Make a Donation", + "Make a request":"Make a Request", + "Click the button below to make a request.":"Click the button below to make a request.", + "Click the button below to donate.":"Click the button below to donate.", + "Request":"Request", + "Donation":"Donation", + "HowItWorks?":"How It Works?", + "connect": "Connect with the donners", + "makeADonation": "Make A Donation", + "donors": "You can connect with donors via email and home address in this section of our service.", + "TheTeam": "TheTeam", + "signIn": "Sign In", + "Rememberme": "Remember me!", + "signUp": "Sign Up", + "accept": "I accept", + "TermsConditions": "Terms & Conditions", + "accountyet": "Do not have an account yet?", + "Alreadyhaveanaccount": "Already have an account?", + "howitworksdonation" :"You must be a member of the application. After you become a member, you must click on the donation button on the homepage. You can donate by filling out the form.", + "howitworksrequest": "You must be a member of the application. After you become a member, you must click on the request button on the homepage. You can make a request by filling out the form that opens.", + "reference" :"Whether you donate or make a request, Paying It Forward is on your side to provide the service you are looking for on this side.", + "Makearequest": "Make a Request", + "ourTestimonial": "Our Testimonial" } \ No newline at end of file diff --git a/public/assets/i18n/common/tr.json b/public/assets/i18n/common/tr.json index 9463fdf..948226f 100644 --- a/public/assets/i18n/common/tr.json +++ b/public/assets/i18n/common/tr.json @@ -52,5 +52,37 @@ "fullName": "İSİM SOYİSİM", "message": "Mesaj", "sendMessage":"Mesaji Gönder", - "email":"Email" -} \ No newline at end of file + "email":"Email", + "What is Paying It Forward?": "Paying It Forward nedir?", + "payingItForward": "Eğitim sistemindeki eşitsizliği azaltmak amacıyla kurulmuş öğrencilere bağış sağlayan bir uygulamadır.", + "How can you request an item?": "Eşyayı talep edebilmek için ne yapmalıyız?", + "requestAnItem":"Öncelikle uygulamaya üye olmanız gerekmektedir. Üye olduktan sonra ana sayfadaki istek butonuna tıklamanız gerekmektedir. Açılan formu doldurarak talepte bulunabilirsiniz.", + "How can you donate an item?": "Eşyayı bağışta bulmak için ne yapmalıyız?", + "donateAnItem":"Öncelikle uygulamaya üye olmanız gerekmektedir. Üye olduktan sonra ana sayfadaki bağış butonuna tıklamanız gerekmektedir. Formu doldurarak bağış yapabilirsiniz.", + "Do I have to pay any fees to request or donate?": "Talep etmek veya bağış yapmak için herhangi bir ücret ödemem gerekiyor mu?", + "It is completely free to request or donate.": "Talep etmek veya bağış yapmak için herhangi bir ücret ödeme gerekli değildir.", + "Make a donation":"Bağış yap", + "Make a request":"Talepte bulun", + "Click the button below to make a request.":"Talep etmek için aşağıdaki butona tıkla.", + "Click the button below to donate.":"Bağış yapmak için aşağıdaki butona tıkla.", + "Request":"Talep et", + "Donation":"Bağış yap", + "HowItWorks?":"Nasıl Çalışır?", + "connect":"Bağışçılarla Bağlantı Kurun", + "makeADonation": "Bağış Yapın", + "donors": "Hizmetimizin bu bölümünde bağışçılarla e-posta ve ev adresi aracılığıyla bağlantı kurabilirsiniz.", + "TheTeam": "Takım", + "signIn": "Oturum Aç", + "Rememberme": "Oturum Aç!", + "accept": "Kabul ediyorum.", + "TermsConditions": "Şartlar ve Koşullar", + "accountyet": "Henüz bir hesabınız yok mu?", + "Alreadyhaveanaccount": "Zaten bir hesabın var mı?", + "howitworksdonation" :"Uygulamaya üye olmalısınız. Üye olduktan sonra ana sayfadaki bağış yap butonuna tıklamanız gerekmektedir. Formu doldurarak bağışta bulunabilirsiniz.", + "howitworksrequest": "Uygulamaya üye olmalısınız. Üye olduktan sonra ana sayfadaki istek butonuna tıklamanız gerekmektedir. Açılan formu doldurarak talepte bulunabilirsiniz.", + "reference" :"İster bağış yapın ister talepte bulunun, Paying It Forward aradığınız hizmeti sunmak için yanınızda.", + "signUp": "Kayıt Ol!", + "Makearequest": "Talepte Bulun", + "ourTestimonial": "Tanıtımımız" +} + \ No newline at end of file diff --git a/src/App.jsx b/src/App.jsx index 6c1df23..04eb283 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,17 +1,16 @@ import { BrowserRouter } from 'react-router-dom'; -import { Suspense } from "react"; +import { Suspense } from 'react'; import './App.css'; import Navbar from './components/Navbar/Navbar'; import Footer from './components/Footer/Footer'; -// import Home from './pages/Home/Home'; -// import Login from './components/Login/Login'; -// import Signup from './components/Signup/Signup'; -// import Faq from './pages/FAQ/Faq'; +import Home from './pages/Home/Home'; +import Login from './components/Login/Login'; +import Signup from './components/Signup/Signup'; +import Faq from './pages/FAQ/Faq'; import ContactUs from './pages/ContactUs/ContactUs'; -// import Donated from './pages/Donated/Donated'; -// import Request from './pages/Request/Request'; - +import Donated from './pages/Donated/Donated'; +import Request from './pages/Request/Request'; export default function App() { return ( @@ -19,6 +18,12 @@ export default function App() { + + + + + +