mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-15 01:01:43 +10:00
update and remove unnecessary translation strings
This commit is contained in:
@ -78,7 +78,7 @@ const Form = ({ item, onChange, identifier = '' }) => {
|
|||||||
<TextField
|
<TextField
|
||||||
className="mb-6"
|
className="mb-6"
|
||||||
label={t('education.grade.label')}
|
label={t('education.grade.label')}
|
||||||
placeholder={t('education.grade.placeholder')}
|
placeholder="7.2 CGPA"
|
||||||
value={item.grade}
|
value={item.grade}
|
||||||
onChange={v => onChange(`${identifier}grade`, v)}
|
onChange={v => onChange(`${identifier}grade`, v)}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@ -11,7 +11,7 @@ const ProfileTab = ({ data, onChange }) => {
|
|||||||
<TextField
|
<TextField
|
||||||
className="mb-6"
|
className="mb-6"
|
||||||
label={t('profile.photoUrl.label')}
|
label={t('profile.photoUrl.label')}
|
||||||
placeholder={t('profile.photoUrl.placeholder')}
|
placeholder="https://i.imgur.com/..."
|
||||||
value={data.profile.photo}
|
value={data.profile.photo}
|
||||||
onChange={v => onChange('data.profile.photo', v)}
|
onChange={v => onChange('data.profile.photo', v)}
|
||||||
/>
|
/>
|
||||||
@ -73,7 +73,7 @@ const ProfileTab = ({ data, onChange }) => {
|
|||||||
<TextField
|
<TextField
|
||||||
className="mb-6"
|
className="mb-6"
|
||||||
label={t('profile.phone.label')}
|
label={t('profile.phone.label')}
|
||||||
placeholder={t('profile.phone.placeholder')}
|
placeholder="+1 541 754 3010"
|
||||||
value={data.profile.phone}
|
value={data.profile.phone}
|
||||||
onChange={v => onChange('data.profile.phone', v)}
|
onChange={v => onChange('data.profile.phone', v)}
|
||||||
/>
|
/>
|
||||||
@ -81,7 +81,7 @@ const ProfileTab = ({ data, onChange }) => {
|
|||||||
<TextField
|
<TextField
|
||||||
className="mb-6"
|
className="mb-6"
|
||||||
label={t('profile.website.label')}
|
label={t('profile.website.label')}
|
||||||
placeholder={t('profile.website.placeholder')}
|
placeholder="google.com"
|
||||||
value={data.profile.website}
|
value={data.profile.website}
|
||||||
onChange={v => onChange('data.profile.website', v)}
|
onChange={v => onChange('data.profile.website', v)}
|
||||||
/>
|
/>
|
||||||
@ -89,7 +89,7 @@ const ProfileTab = ({ data, onChange }) => {
|
|||||||
<TextField
|
<TextField
|
||||||
className="mb-6"
|
className="mb-6"
|
||||||
label={t('profile.email.label')}
|
label={t('profile.email.label')}
|
||||||
placeholder={t('profile.email.placeholder')}
|
placeholder="john.doe@example.com"
|
||||||
value={data.profile.email}
|
value={data.profile.email}
|
||||||
onChange={v => onChange('data.profile.email', v)}
|
onChange={v => onChange('data.profile.email', v)}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@ -98,7 +98,7 @@ const Form = ({ item, onChange, identifier = '' }) => {
|
|||||||
<TextField
|
<TextField
|
||||||
className="mb-6"
|
className="mb-6"
|
||||||
label={t('references.phone.label')}
|
label={t('references.phone.label')}
|
||||||
placeholder={t('references.phone.placeholder')}
|
placeholder="+1 541 754 3010"
|
||||||
value={item.phone}
|
value={item.phone}
|
||||||
onChange={v => onChange(`${identifier}phone`, v)}
|
onChange={v => onChange(`${identifier}phone`, v)}
|
||||||
/>
|
/>
|
||||||
@ -106,7 +106,7 @@ const Form = ({ item, onChange, identifier = '' }) => {
|
|||||||
<TextField
|
<TextField
|
||||||
className="mb-6"
|
className="mb-6"
|
||||||
label={t('references.email.label')}
|
label={t('references.email.label')}
|
||||||
placeholder={t('references.email.placeholder')}
|
placeholder="richard@piedpiper.com"
|
||||||
value={item.email}
|
value={item.email}
|
||||||
onChange={v => onChange(`${identifier}email`, v)}
|
onChange={v => onChange(`${identifier}email`, v)}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@ -1,11 +1,8 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { useTranslation } from 'react-i18next';
|
|
||||||
|
|
||||||
import templates from '../../../templates';
|
import templates from '../../../templates';
|
||||||
|
|
||||||
const TemplatesTab = ({ theme, onChange }) => {
|
const TemplatesTab = ({ theme, onChange }) => {
|
||||||
const { t } = useTranslation('rightSidebar');
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="grid grid-cols-2 gap-6">
|
<div className="grid grid-cols-2 gap-6">
|
||||||
{templates.map(x => (
|
{templates.map(x => (
|
||||||
@ -17,9 +14,9 @@ const TemplatesTab = ({ theme, onChange }) => {
|
|||||||
: 'border-transparent '
|
: 'border-transparent '
|
||||||
} hover:border-gray-500 cursor-pointer`}
|
} hover:border-gray-500 cursor-pointer`}
|
||||||
src={x.preview}
|
src={x.preview}
|
||||||
alt={t(`templates.templates.${x.key}`)}
|
alt={x.name}
|
||||||
/>
|
/>
|
||||||
<p className="mt-1 text-sm font-medium">{t(`templates.templates.${x.key}`)}</p>
|
<p className="mt-1 text-sm font-medium">{x.name}</p>
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
},
|
},
|
||||||
"endDate": {
|
"endDate": {
|
||||||
"label": "End Date",
|
"label": "End Date",
|
||||||
"placeholder": "current"
|
"placeholder": "March 2020"
|
||||||
},
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"label": "Description"
|
"label": "Description"
|
||||||
@ -21,5 +21,5 @@
|
|||||||
"label": "Add"
|
"label": "Add"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"markdownHelpText": "You can use <1>GitHub Flavored Markdown</1> to style this section of text."
|
"markdownHelpText": "You can use <1>GitHub Flavored Markdown</1> to style this section of the text."
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,6 +8,6 @@
|
|||||||
"placeholder": "First Place, International Level"
|
"placeholder": "First Place, International Level"
|
||||||
},
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"placeholder": ""
|
"placeholder": "You can write about what qualities made you succeed in getting this award."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,6 +8,6 @@
|
|||||||
"placeholder": "Udacity"
|
"placeholder": "Udacity"
|
||||||
},
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"placeholder": ""
|
"placeholder": "You can write about what you learnt from your certification program."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,8 +8,7 @@
|
|||||||
"placeholder": "Masters in Computer Science"
|
"placeholder": "Masters in Computer Science"
|
||||||
},
|
},
|
||||||
"grade": {
|
"grade": {
|
||||||
"label": "Grade",
|
"label": "Grade"
|
||||||
"placeholder": "7.2 CGPA"
|
|
||||||
},
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"placeholder": "You can write about projects or special credit classes that you took while studying at this school."
|
"placeholder": "You can write about projects or special credit classes that you took while studying at this school."
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
"photoUrl": {
|
"photoUrl": {
|
||||||
"label": "Photo URL",
|
"label": "Photo URL"
|
||||||
"placeholder": "https://i.imgur.com/..."
|
|
||||||
},
|
},
|
||||||
"firstName": {
|
"firstName": {
|
||||||
"label": "First Name",
|
"label": "First Name",
|
||||||
@ -30,15 +29,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"phone": {
|
"phone": {
|
||||||
"label": "Phone Number",
|
"label": "Phone Number"
|
||||||
"placeholder": "+1 541 754 3010"
|
|
||||||
},
|
},
|
||||||
"website": {
|
"website": {
|
||||||
"label": "Website",
|
"label": "Website"
|
||||||
"placeholder": "google.com"
|
|
||||||
},
|
},
|
||||||
"email": {
|
"email": {
|
||||||
"label": "Email Address",
|
"label": "Email Address"
|
||||||
"placeholder": "john.doe@example.com"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,12 +8,10 @@
|
|||||||
"placeholder": "CEO, Pied Piper"
|
"placeholder": "CEO, Pied Piper"
|
||||||
},
|
},
|
||||||
"phone": {
|
"phone": {
|
||||||
"label": "Phone Number",
|
"label": "Phone Number"
|
||||||
"placeholder": "+1 123 456 7890"
|
|
||||||
},
|
},
|
||||||
"email": {
|
"email": {
|
||||||
"label": "Email Address",
|
"label": "Email Address"
|
||||||
"placeholder": "richard@piedpiper.com"
|
|
||||||
},
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"placeholder": "You can write about how you and the reference contact worked together and which projects you were a part of."
|
"placeholder": "You can write about how you and the reference contact worked together and which projects you were a part of."
|
||||||
|
|||||||
@ -1,9 +1,3 @@
|
|||||||
{
|
{
|
||||||
"title": "Templates",
|
"title": "Templates"
|
||||||
"templates": {
|
|
||||||
"onyx": "Onyx",
|
|
||||||
"pikachu": "Pikaaachu",
|
|
||||||
"gengar": "Gengar",
|
|
||||||
"castform": "Castform"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,21 +6,25 @@ import Castform, { Image as CastformPreview } from './castform';
|
|||||||
export default [
|
export default [
|
||||||
{
|
{
|
||||||
key: 'onyx',
|
key: 'onyx',
|
||||||
|
name: 'Onyx',
|
||||||
component: Onyx,
|
component: Onyx,
|
||||||
preview: OnyxPreview,
|
preview: OnyxPreview,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'pikachu',
|
key: 'pikachu',
|
||||||
|
name: 'Pikachu',
|
||||||
component: Pikachu,
|
component: Pikachu,
|
||||||
preview: PikachuPreview,
|
preview: PikachuPreview,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'gengar',
|
key: 'gengar',
|
||||||
|
name: 'Gengar',
|
||||||
component: Gengar,
|
component: Gengar,
|
||||||
preview: GengarPreview,
|
preview: GengarPreview,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'castform',
|
key: 'castform',
|
||||||
|
name: 'Castform',
|
||||||
component: Castform,
|
component: Castform,
|
||||||
preview: CastformPreview,
|
preview: CastformPreview,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user