mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-25 09:24:54 +10:00
completed translation extraction of profile and work
This commit is contained in:
+4
-8
@@ -1,19 +1,15 @@
|
||||
import i18n from 'i18next';
|
||||
import { initReactI18next } from 'react-i18next';
|
||||
|
||||
import leftSidebarEn from './locales/en/leftSidebar.json';
|
||||
import resources from './resources';
|
||||
|
||||
i18n.use(initReactI18next).init({
|
||||
lng: 'en',
|
||||
fallbackLng: 'en',
|
||||
resources,
|
||||
debug: true,
|
||||
resources: {
|
||||
en: {
|
||||
translations: leftSidebarEn,
|
||||
},
|
||||
},
|
||||
ns: ['translations'],
|
||||
defaultNS: 'translations',
|
||||
ns: ['app', 'leftSidebar'],
|
||||
defaultNS: 'app',
|
||||
});
|
||||
|
||||
export default i18n;
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"profile": {
|
||||
"photoUrl": "Photo URL"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"heading": {
|
||||
"placeholder": "Heading"
|
||||
},
|
||||
"item": {
|
||||
"addHeading": "Add {{heading}}",
|
||||
"startDate": {
|
||||
"label": "Start Date",
|
||||
"placeholder": "March 2018"
|
||||
},
|
||||
"endDate": {
|
||||
"label": "End Date",
|
||||
"placeholder": "current"
|
||||
}
|
||||
},
|
||||
"buttons": {
|
||||
"add": {
|
||||
"label": "Add"
|
||||
}
|
||||
},
|
||||
"markdownHelpText": "You can use <1>GitHub Flavored Markdown</1> to style this section of text."
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
import app from './app.json';
|
||||
|
||||
export default app;
|
||||
@@ -0,0 +1,7 @@
|
||||
import app from './app';
|
||||
import leftSidebar from './leftSidebar';
|
||||
|
||||
export default {
|
||||
app,
|
||||
leftSidebar,
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
import profile from './profile.json';
|
||||
import objective from './objective.json';
|
||||
import work from './work.json';
|
||||
|
||||
export default {
|
||||
profile,
|
||||
objective,
|
||||
work,
|
||||
};
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"objective": {
|
||||
"label": "Objective",
|
||||
"placeholder": "Looking for a challenging role in a reputable organization to utilize my technical, database, and management skills for the growth of the organization as well as to enhance my knowledge about new and emerging trends in the IT sector."
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"photoUrl": {
|
||||
"label": "Photo URL",
|
||||
"placeholder": "https://i.imgur.com/..."
|
||||
},
|
||||
"firstName": {
|
||||
"label": "First Name",
|
||||
"placeholder": "Jane"
|
||||
},
|
||||
"lastName": {
|
||||
"label": "Last Name",
|
||||
"placeholder": "Doe"
|
||||
},
|
||||
"subtitle": {
|
||||
"label": "Subtitle",
|
||||
"placeholder": "Full Stack Web Developer"
|
||||
},
|
||||
"address": {
|
||||
"line1": {
|
||||
"label": "Address Line 1",
|
||||
"placeholder": "Palladium Complex"
|
||||
},
|
||||
"line2": {
|
||||
"label": "Address Line 2",
|
||||
"placeholder": "140 E 14th St"
|
||||
},
|
||||
"line3": {
|
||||
"label": "Address Line 3",
|
||||
"placeholder": "New York, NY 10003 USA"
|
||||
}
|
||||
},
|
||||
"phone": {
|
||||
"label": "Phone Number",
|
||||
"placeholder": "+1 541 754 3010"
|
||||
},
|
||||
"website": {
|
||||
"label": "Website",
|
||||
"placeholder": "google.com"
|
||||
},
|
||||
"email": {
|
||||
"label": "Email Address",
|
||||
"placeholder": "john.doe@example.com"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": {
|
||||
"label": "Name",
|
||||
"placeholder": "Amazon US"
|
||||
},
|
||||
"role": {
|
||||
"label": "Role",
|
||||
"placeholder": "Frontend Web Developer"
|
||||
},
|
||||
"description": {
|
||||
"label": "Description",
|
||||
"placeholder": "You can write about what you specialized in while working at the company and what projects you were a part of."
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
import en from './en';
|
||||
|
||||
export default {
|
||||
en,
|
||||
};
|
||||
Reference in New Issue
Block a user