diff --git a/DEVELOPER.md b/DEVELOPER.md index 33c4609..bc14144 100644 --- a/DEVELOPER.md +++ b/DEVELOPER.md @@ -19,12 +19,9 @@ In the directory `src/resumes` you will find all existing templates. 1. Create a copy of `src/resumes/template.vue`. -2. Rename file and update component name: +2. Rename file and update template name: ```javascript -export default Vue.component('TEMPLATE-NAME', { - name: 'TEMPLATE-NAME', - ... -}); +let name = 'TEMPLATE-NAME'; ``` 3. Import the newly added template in `src/resumes/resumes.js`. diff --git a/src/lang/de.js b/src/lang/de.js new file mode 100644 index 0000000..e6aa180 --- /dev/null +++ b/src/lang/de.js @@ -0,0 +1,10 @@ +/* eslint-disable */ +const de = { + headings: { + contact: 'Kontakt', + experience: 'Berufserfahrung', + education: 'Schulbildung', + skills: 'Qualifikationen' + } +}; +export default de; diff --git a/src/lang/en.js b/src/lang/en.js new file mode 100644 index 0000000..1335226 --- /dev/null +++ b/src/lang/en.js @@ -0,0 +1,10 @@ +/* eslint-disable */ +const en = { + headings: { + contact: 'Contact', + experience: 'Experience', + education: 'Education', + skills: 'Skills' + } +}; +export default en; diff --git a/src/person.js b/src/person.js index 6d9d2c3..df01def 100755 --- a/src/person.js +++ b/src/person.js @@ -82,5 +82,6 @@ export const PERSON = { city: 'New York', website: 'johndoe.com', github: 'johnyD' - } + }, + lang: "en" }; diff --git a/src/resumes/left-right.vue b/src/resumes/left-right.vue index 91c0b6f..9d9b694 100755 --- a/src/resumes/left-right.vue +++ b/src/resumes/left-right.vue @@ -13,7 +13,7 @@
| {{person.contact.email}} | @@ -49,13 +49,13 @@