From 47c4ef0251035047c1b41f86d0feda541a4ca6f9 Mon Sep 17 00:00:00 2001 From: Richard Tirtadji Date: Fri, 23 Oct 2020 00:32:01 +0700 Subject: [PATCH] Add Indonesian Language for Toha Themes (#118) * Add Indonesian Language for Toha Themes #118 Co-authored-by: Richard Tirtadji --- .gitignore | 1 + exampleSite/config.yaml | 4 + exampleSite/data/id/author.yaml | 18 +++++ exampleSite/data/id/sections/about.yaml | 78 +++++++++++++++++++ .../data/id/sections/achievements.yaml | 24 ++++++ exampleSite/data/id/sections/experiences.yaml | 64 +++++++++++++++ exampleSite/data/id/sections/projects.yaml | 64 +++++++++++++++ .../data/id/sections/recent-posts.yaml | 11 +++ exampleSite/data/id/sections/skills.yaml | 49 ++++++++++++ exampleSite/data/id/site.yaml | 11 +++ i18n/id.toml | 33 ++++++++ 11 files changed, 357 insertions(+) create mode 100644 exampleSite/data/id/author.yaml create mode 100644 exampleSite/data/id/sections/about.yaml create mode 100644 exampleSite/data/id/sections/achievements.yaml create mode 100644 exampleSite/data/id/sections/experiences.yaml create mode 100644 exampleSite/data/id/sections/projects.yaml create mode 100644 exampleSite/data/id/sections/recent-posts.yaml create mode 100644 exampleSite/data/id/sections/skills.yaml create mode 100644 exampleSite/data/id/site.yaml create mode 100644 i18n/id.toml diff --git a/.gitignore b/.gitignore index 8d056c8e9..234771f2a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .vscode/ node_modules/ +.DS_Store diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index fb4199339..b549904bb 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -18,6 +18,10 @@ languages: de: languageName: Deutsch weight: 4 + id: + languageName: Indonesian + weight: 5 + # Force a locale to be use, really useful to develop the application ! Should be commented in production, the "weight" should rocks. # DefaultContentLanguage: fr diff --git a/exampleSite/data/id/author.yaml b/exampleSite/data/id/author.yaml new file mode 100644 index 000000000..73c7f1666 --- /dev/null +++ b/exampleSite/data/id/author.yaml @@ -0,0 +1,18 @@ +# some information about you +name: "Jane Doe" +nickname: "Jane" +# greeting message before your name. it will default to "Hi! I am" if not provided +greeting: "Halo, saya" +image: "images/avatar.png" +# give your some contact information. they will be used in the footer +contactInfo: + email: "janedoe@example.com" + phone: "+0123456789" + +# some summary about what you do +summary: + - Saya seorang developer + - Saya mengerjakan System + - Saya suka dengan servers + - Saya melakukan projek open-source + - Projek-projek yang seru sangat menarik buat saya diff --git a/exampleSite/data/id/sections/about.yaml b/exampleSite/data/id/sections/about.yaml new file mode 100644 index 000000000..6e5f3a139 --- /dev/null +++ b/exampleSite/data/id/sections/about.yaml @@ -0,0 +1,78 @@ +# section information +section: + name: Tentang Saya + id: about + enable: true + weight: 1 + showOnNavbar: true + template: sections/about.html + +# your designation +designation: Programmer +# your company information +company: + name: Example Co. + url: "https://www.example.com" + +# your resume. this file path should be relative to you "static" directory +resume: "files/resume.pdf" + +# a summary about you +summary: 'Saya seorang insinyur perangkat lunak yang bersemangat dengan pengalaman kerja x tahun. Saya membuat alat OSS untuk [Kubernetes] (https://kubernetes.io/) menggunakan GO. Alat saya membantu orang untuk menyebarkan beban kerja mereka di Kubernetes. Terkadang, saya mengerjakan beberapa proyek menyenangkan seperti menulis tema, dll.' + +# your social links +# give as many as you want. use font-awesome for the icons. +socialLinks: +- name: Email + icon: "fas fa-envelope" + url: "example@gmail.com" + +- name: Github + icon: "fab fa-github" + url: "https://www.github.com/example" + +- name: Stackoverflow + icon: "fab fa-stack-overflow" + url: "#" + +- name: LinkedIn + icon: "fab fa-linkedin" + url: "#" + +- name: Twitter + icon: "fab fa-twitter" + url: "#" + +- name: Facebook + icon: "fab fa-facebook" + url: "#" + +# your soft skills +# give the percentage between 50 to 100 with 5 intervals. +# currently supported colors: blue, yellow, pink, green, sky, orange +softSkills: +- name: Kepemimpinan + percentage: 85 + color: blue +- name: Bekerja dengan Tim + percentage: 90 + color: yellow +- name: Komunikasi + percentage: 85 + color: pink +- name: Kerja Keras + percentage: 85 + color: green +- name: Belajar Cepat + percentage: 85 + color: sky +- name: Menyelesaikan Masalah + percentage: 85 + color: orange +# you can also provide color code instead of pre-defined color name +# - name: Example 1 +# percentage: 75 +# color: "#00adb5" +# - name: Example 2 +# percentage: 65 +# color: "#8b8383" diff --git a/exampleSite/data/id/sections/achievements.yaml b/exampleSite/data/id/sections/achievements.yaml new file mode 100644 index 000000000..5f734f607 --- /dev/null +++ b/exampleSite/data/id/sections/achievements.yaml @@ -0,0 +1,24 @@ +# section information +section: + name: Presentasi + id: achievements + enable: true + weight: 6 + showOnNavbar: true + # Can optionally hide the title in sections + # hideTitle: true + +# Your achievements achievements +achievements: +- title: Presenter Terbaik + image: images/achievements/presenter.jpg + summary: Best presenter in the 2020 XYZ conference. +- title: Juara + image: images/achievements/sport.jpg + summary: Champion in cycling inter-city cycling championship 2020. +- title: Wisuda + image: images/achievements/graduation-cap.jpg + summary: Received Bachelor of Science (B.Sc.) in Computer Science and Engineer from XYZ University. +- title: Pemenang Award + image: images/achievements/woman-winner.jpg + summary: Lorem ipsum dolor sit amet consectetur adipisicing elit. Possimus architecto minus facere vero? diff --git a/exampleSite/data/id/sections/experiences.yaml b/exampleSite/data/id/sections/experiences.yaml new file mode 100644 index 000000000..8db86245b --- /dev/null +++ b/exampleSite/data/id/sections/experiences.yaml @@ -0,0 +1,64 @@ +# section information +section: + name: Pengalaman + id: experiences + enable: true + weight: 3 + showOnNavbar: true + # Can optionally hide the title in sections + # hideTitle: true + +# Your experiences +experiences: +- company: + name: Example Co. + url: "https://www.example.com" + location: Dhaka Branch + # company overview + overview: Example Co. adalah perusahaan yang dikenal luas untuk pengembangan cloud-native. Itu membangun alat untuk Kubernetes. + positions: + - designation: Senior Software Engineer + start: Nov 2019 + # don't provide end date if you are currently working there. It will be replaced by "Present" + # end: Dec 2020 + # give some points about what was your responsibilities at the company. + responsibilities: + - Design and develop XYZ tool for ABC task + - Design, develop and manage disaster recovery tool [Xtool](https://www.example.com) that backup Kubernetes volumes, databases, and cluster's resource definition. + - Lead backend team. + + - designation: Junior Software Engineer + start: Nov 2017 + end: Okt 2019 + responsibilities: + - Implement and test xyz feature for abc tool. + - Support client for abc tool. + - Learn k,d,w technology for xyz. + +- company: + name: PreExample Co. + url: "https://www.preexample.com" + location: Nowhere + overview: PreExample Co. adalah perusahaan gateway untuk masuk ke Example co. Jadi, tidak ada yang istimewa di sini. + positions: + - designation: Software Engineer + start: Maret 2016 + end: Mei 2017 + responsibilities: + - Write lots of example codes. + - Read lots of examples. + - See lots of example videos. + +- company: + name: Intern Counting Company (ICC). + url: "https://www.intern.com" + location: Intern Land + overview: Perusahaan penghitung magang (ICC) bertanggung jawab untuk menghitung Insinyur magang di seluruh dunia. + positions: + - designation: Intern + start: Jun 2015 + end: Jan 2016 + responsibilities: + - Count lost of interns. + - Count more interns. + - Count me as an intern. diff --git a/exampleSite/data/id/sections/projects.yaml b/exampleSite/data/id/sections/projects.yaml new file mode 100644 index 000000000..b13a9c342 --- /dev/null +++ b/exampleSite/data/id/sections/projects.yaml @@ -0,0 +1,64 @@ +# section information +section: + name: Projek + id: projects + enable: true + weight: 4 + showOnNavbar: true + # Can optionally hide the title in sections + # hideTitle: true + +# filter buttons +buttons: +- name: All + filter: "all" +- name: Profesional + filter: "profesional" +- name: Akademik + filter: "akademik" +- name: Hobi + filter: "hob1" + +# your projects +projects: +- name: Kubernetes + logo: images/projects/kubernetes.png + role: Contributor + timeline: "March 2018 - Present" + repo: https://github.com/kubernetes/kubernetes # If your project is a public repo on GitHub, then provide this link. it will show star count. + #url: "" # If your project is not a public repo but it has a website or any external details url then provide it here. don't provide "repo" and "url" simultaneously. + summary: Production-Grade Container Scheduling and Management. + tags: ["professional", "kubernetes", "cloud"] + +- name: Tensorflow + logo: images/projects/tensorflow.png + role: Developer + timeline: "Jun 2018 - Present" + repo: https://github.com/tensorflow/tensorflow + #url: "" + summary: An Open Source Machine Learning Framework for Everyone. + tags: ["professional", "machine-learning","academic"] + +- name: A sample academic paper + role: Team Lead + timeline: "Jan 2017 - Nov 2017" + url: "https://www.example.com" + summary: Lorem ipsum dolor sit amet consectetur adipisicing elit. Sapiente eius reprehenderit animi suscipit autem eligendi esse amet aliquid error eum. Accusantium distinctio soluta aliquid quas placeat modi suscipit eligendi nisi. + tags: ["academic","iot"] + +- name: Nocode + logo: images/projects/no-code.png + role: Nothing + timeline: "Oct 2019 - Dec 2019" + repo: https://github.com/kelseyhightower/nocode + #url: "" + summary: The best way to write secure and reliable applications. Write nothing; deploy nowhere. + tags: ["hobby", "fun"] + +- name: Toha + logo: images/projects/toha.png + role: Owner + timeline: "Jun 2019 - Present" + repo: https://github.com/hossainemruz/toha + summary: A Hugo theme for personal portfolio. + tags: ["hobby","hugo","theme","professional"] diff --git a/exampleSite/data/id/sections/recent-posts.yaml b/exampleSite/data/id/sections/recent-posts.yaml new file mode 100644 index 000000000..180c381c8 --- /dev/null +++ b/exampleSite/data/id/sections/recent-posts.yaml @@ -0,0 +1,11 @@ +# section information +section: + name: Artikel Akhir + id: recent-posts + enable: true + weight: 5 + showOnNavbar: true + # Can optionally hide the title in sections + # hideTitle: true + +# no additional configuration is required diff --git a/exampleSite/data/id/sections/skills.yaml b/exampleSite/data/id/sections/skills.yaml new file mode 100644 index 000000000..8f4c53cf3 --- /dev/null +++ b/exampleSite/data/id/sections/skills.yaml @@ -0,0 +1,49 @@ +# section information +section: + name: Keahlian + id: skills + enable: true + weight: 2 + showOnNavbar: true + # Can optionally hide the title in sections + # hideTitle: true + +# Your Skills. +# Give a summary of you each skill in the summary section. +skills: +- name: Kubernetes + icon: "images/skills/kubernetes.png" + summary: "Mampu menerapkan, mengelola aplikasi di Kubernetes. Berpengalaman dalam menulis pengontrol Kubernetes untuk CRD." + url: "https://kubernetes.io/" + +- name: Go Development + icon: "images/skills/go.png" + summary: "Menggunakan sebagai bahasa utama untuk pengembangan profesional. Mampu menulis program yang dapat diskalakan, dapat diuji, dan dipelihara." + url: "https://golang.org/" + +- name: Cloud Computing + icon: "images/skills/cloud.png" + summary: "Worked with most of the major clouds such as GCP, AWS, Azure etc." + +- name: Docker + icon: "images/skills/docker.svg" + summary: "Tulis sebagian besar program sebagai kontainer docker. Berpengalaman dengan proses pembangunan multi-tahap dan multi-arch." + url: "https://www.docker.com/" + +- name: Prometheus + icon: "images/skills/prometheus.png" + summary: "Mampu mengatur, mengkonfigurasi metrik Prometheus. Berpengalaman dengan PromQL, AlertManager. Juga, berpengalaman dengan eksportir menulis metrik." + url: "https://prometheus.io/" + +- name: Linux + icon: "images/skills/linux.png" + summary: "Menggunakan sebagai sistem operasi utama. Mampu menulis skrip bash / shell." + +- name: Git + icon: "images/skills/git.png" + summary: "Berpengalaman dengan pengembangan berbasis git. Kebanyakan, gunakan Github. Juga, miliki pengalaman bekerja dengan GitLab." + url: "https://git-scm.com/" + +- name: C++ + icon: "images/skills/c++.png" + summary: "Ketahui pemrograman C / C ++ dasar. Digunakan untuk pemrograman kontes dan pemecahan masalah." diff --git a/exampleSite/data/id/site.yaml b/exampleSite/data/id/site.yaml new file mode 100644 index 000000000..de2ed72bf --- /dev/null +++ b/exampleSite/data/id/site.yaml @@ -0,0 +1,11 @@ +# Copyright Notice +copyright: © 2020 Copyright. + +# Meta description for your site. This will help the search engines to find your site. +description: Portofolio dan blog pribadi dari Jane Doe. + +# specify the list of custom menus that you want to show in the top navbar. +# they will be separated by a divider from the main menus. +customMenus: +- name: Catatan + url: https://hossainemruz.gitbook.io/ diff --git a/i18n/id.toml b/i18n/id.toml new file mode 100644 index 000000000..22b377f0f --- /dev/null +++ b/i18n/id.toml @@ -0,0 +1,33 @@ +# More documentation here: https://github.com/nicksnyder/go-i18n +[home] +other = "Beranda" + +[posts] +other = "Artikel" + +[at] +other = "at" + +[resume] +other = "Resume saya" + +[navigation] +other = "Navigasi" + +[contact_me] +other = "Hubungi saya:" + +[newsletter_text] +other = "Ingin selalu update dengan notifikasi email" + +[newsletter_input_placeholder] +other = "Masukkan email" + +[newsletter_warning] +other = "Kami tidak pernah berbagi data email dengan siapapun." + +[submit] +other = "Kirim" + +[hugoAttributionText] +other = "Didukung oleh" \ No newline at end of file