Skip to content

Commit 86e6542

Browse files
authored
Merge pull request #139 from jefrydco/docs/id-1
docs(id): translate anything related homepage and navigation bar
2 parents 244dcde + d1a17c6 commit 86e6542

File tree

8 files changed

+70
-64
lines changed

8 files changed

+70
-64
lines changed

src/.vuepress/components/common/vuemastery-video-modal.vue

+6-4
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,23 @@
1818
</div>
1919

2020
<p class="modal-text">
21-
Video by
21+
Video oleh
2222
<a
2323
href="https://www.vuemastery.com"
2424
target="_blank"
2525
rel="sponsored noopener"
2626
title="Vue.js Courses on Vue Mastery"
2727
>Vue Mastery</a
28-
>. Watch Vue Mastery’s free
28+
>. Tonton
2929
<a
3030
href="https://www.vuemastery.com/courses/intro-to-vue-3/intro-to-vue3"
3131
target="_blank"
3232
rel="sponsored noopener"
3333
title="Vue.js Courses on Vue Mastery"
34-
>Intro to Vue course</a
35-
>.
34+
>
35+
Kursus Pengenalan untuk Vue
36+
</a>
37+
dari Vue Mastery.
3638
</p>
3739
</div>
3840
</div>

src/.vuepress/config.js

+42-38
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const sidebar = {
22
cookbook: [
33
{
4-
title: 'Cookbook',
4+
title: 'Buku Petunjuk',
55
collapsable: false,
66
children: [
77
'/cookbook/',
@@ -12,7 +12,7 @@ const sidebar = {
1212
],
1313
guide: [
1414
{
15-
title: 'Essentials',
15+
title: 'Esensial',
1616
collapsable: false,
1717
children: [
1818
'/guide/installation',
@@ -30,7 +30,7 @@ const sidebar = {
3030
]
3131
},
3232
{
33-
title: 'Components In-Depth',
33+
title: 'Komponen secara Mendalam',
3434
collapsable: false,
3535
children: [
3636
'/guide/component-registration',
@@ -45,7 +45,7 @@ const sidebar = {
4545
]
4646
},
4747
{
48-
title: 'Transitions & Animation',
48+
title: 'Animasi & Translasi',
4949
collapsable: false,
5050
children: [
5151
'/guide/transitions-overview',
@@ -55,7 +55,7 @@ const sidebar = {
5555
]
5656
},
5757
{
58-
title: 'Reusability & Composition',
58+
title: 'Kebergunaan & Komposisi',
5959
collapsable: false,
6060
children: [
6161
{
@@ -76,11 +76,11 @@ const sidebar = {
7676
]
7777
},
7878
{
79-
title: 'Advanced Guides',
79+
title: 'Petunjuk lebih Lanjut',
8080
collapsable: false,
8181
children: [
8282
{
83-
title: 'Reactivity',
83+
title: 'Reaktivitas',
8484
children: [
8585
'/guide/reactivity',
8686
'/guide/reactivity-fundamentals',
@@ -92,7 +92,7 @@ const sidebar = {
9292
]
9393
},
9494
{
95-
title: 'Tooling',
95+
title: 'Peralatan',
9696
collapsable: false,
9797
children: [
9898
'/guide/single-file-component',
@@ -103,12 +103,12 @@ const sidebar = {
103103
]
104104
},
105105
{
106-
title: 'Scaling Up',
106+
title: 'Peningkatan',
107107
collapsable: false,
108108
children: ['/guide/routing', '/guide/state-management', '/guide/ssr']
109109
},
110110
{
111-
title: 'Accessibility',
111+
title: 'Aksesibilitas',
112112
collapsable: false,
113113
children: [
114114
'/guide/a11y-basics',
@@ -154,7 +154,7 @@ const sidebar = {
154154
],
155155
examples: [
156156
{
157-
title: 'Examples',
157+
title: 'Contoh',
158158
collapsable: false,
159159
children: [
160160
'/examples/markdown',
@@ -172,7 +172,7 @@ const sidebar = {
172172
migration: [
173173
'/guide/migration/introduction',
174174
{
175-
title: 'Details',
175+
title: 'Detail',
176176
collapsable: false,
177177
children: [
178178
'/guide/migration/array-refs',
@@ -209,12 +209,12 @@ const sidebar = {
209209
}
210210
],
211211
ssr: [
212-
['/guide/ssr/introduction', 'Introduction'],
212+
['/guide/ssr/introduction', 'Pengenalan'],
213213
'/guide/ssr/getting-started'
214214
],
215215
contributing: [
216216
{
217-
title: 'Contribute to the Docs',
217+
title: 'Berkontribusi untuk Dokumentasi',
218218
collapsable: false,
219219
children: [
220220
'/guide/contributing/writing-guide',
@@ -227,7 +227,7 @@ const sidebar = {
227227

228228
module.exports = {
229229
title: 'Vue.js',
230-
description: 'Vue.js - The Progressive JavaScript Framework',
230+
description: 'Vue.js - Kerangka Kerja JavaScript nan Progresif',
231231
head: [
232232
[
233233
'link',
@@ -292,66 +292,66 @@ module.exports = {
292292
logo: '/logo.png',
293293
nav: [
294294
{
295-
text: 'Docs',
295+
text: 'Dokumentasi',
296296
ariaLabel: 'Documentation Menu',
297297
items: [
298298
{
299-
text: 'Guide',
299+
text: 'Petunjuk',
300300
link: '/guide/introduction'
301301
},
302302
{
303-
text: 'Style Guide',
303+
text: 'Petunjuk Gaya',
304304
link: '/style-guide/'
305305
},
306306
{
307-
text: 'Cookbook',
307+
text: 'Buku Petunjuk',
308308
link: '/cookbook/'
309309
},
310310
{
311-
text: 'Examples',
311+
text: 'Contoh',
312312
link: '/examples/markdown'
313313
},
314314
{
315-
text: 'Contribute',
315+
text: 'Berkontribusi',
316316
link: '/guide/contributing/writing-guide'
317317
},
318318
{
319-
text: 'Migration from Vue 2',
319+
text: 'Migrasi dari Vue 2',
320320
link: '/guide/migration/introduction'
321321
}
322322
]
323323
},
324324
{
325-
text: 'API Reference',
325+
text: 'Referensi API',
326326
link: '/api/'
327327
},
328328
{
329-
text: 'Ecosystem',
329+
text: 'Ekosistem',
330330
items: [
331331
{
332-
text: 'Community',
332+
text: 'Komunitas',
333333
ariaLabel: 'Community Menu',
334334
items: [
335335
{
336-
text: 'Team',
336+
text: 'Tim',
337337
link: '/community/team/'
338338
},
339339
{
340-
text: 'Partners',
340+
text: 'Kemitraan',
341341
link: '/community/partners'
342342
},
343343
{
344-
text: 'Join',
344+
text: 'Gabung',
345345
link: '/community/join/'
346346
},
347347
{
348-
text: 'Themes',
348+
text: 'Tema',
349349
link: '/community/themes/'
350350
}
351351
]
352352
},
353353
{
354-
text: 'Official Projects',
354+
text: 'Proyek Resmi',
355355
items: [
356356
{
357357
text: 'Vue Router',
@@ -375,7 +375,7 @@ module.exports = {
375375
link: 'https://github.com/vuejs/vue-devtools'
376376
},
377377
{
378-
text: 'Weekly news',
378+
text: 'Berita Mingguan',
379379
link: 'https://news.vuejs.org/'
380380
},
381381
{
@@ -387,27 +387,31 @@ module.exports = {
387387
]
388388
},
389389
{
390-
text: 'Support Vue',
390+
text: 'Dukung Vue',
391391
link: '/support-vuejs/',
392392
items: [
393393
{
394-
text: 'One-time Donations',
394+
text: 'Donasi Sekali',
395395
link: '/support-vuejs/#one-time-donations'
396396
},
397397
{
398-
text: 'Recurring Pledges',
398+
text: 'Donasi Berulang',
399399
link: '/support-vuejs/#recurring-pledges'
400400
},
401401
{
402-
text: 'T-Shirt Shop',
402+
text: 'Toko Kaos',
403403
link: 'https://vue.threadless.com/'
404404
}
405405
]
406406
},
407407
{
408-
text: 'Translations',
408+
text: 'Terjemahan',
409409
link: '#',
410410
items: [
411+
{
412+
text: 'Bahasa Inggris',
413+
link: 'https://v3.vuejs.org/'
414+
},
411415
{
412416
text: '中文',
413417
link: 'https://v3.cn.vuejs.org/'
@@ -417,8 +421,8 @@ module.exports = {
417421
],
418422
repo: 'vuejs/docs-next',
419423
editLinks: false,
420-
editLinkText: 'Edit this on GitHub!',
421-
lastUpdated: 'Last updated',
424+
editLinkText: 'Sunting di GitHub!',
425+
lastUpdated: 'Pembaruan terakhir',
422426
docsDir: 'src',
423427
sidebarDepth: 2,
424428
sidebar: {

src/.vuepress/theme/components/Home.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export default {
9898
return (
9999
this.data.tagline ||
100100
this.$description ||
101-
'The Progressive JavaScript Framework'
101+
'Kerangka Kerja JavaScript nan Progresif'
102102
)
103103
}
104104
},

src/.vuepress/theme/components/NavLinks.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ export default {
4545
const routes = this.$router.options.routes
4646
const themeLocales = this.$site.themeConfig.locales || {}
4747
const languageDropdown = {
48-
text: this.$themeLocaleConfig.selectText || 'Languages',
49-
ariaLabel: this.$themeLocaleConfig.ariaLabel || 'Select language',
48+
text: this.$themeLocaleConfig.selectText || 'Bahasa',
49+
ariaLabel: this.$themeLocaleConfig.ariaLabel || 'Pilih Bahasa',
5050
items: Object.keys(locales).map(path => {
5151
const locale = locales[path]
5252
const text =
@@ -102,7 +102,7 @@ export default {
102102
}
103103
}
104104
105-
return 'Source'
105+
return 'Sumber'
106106
}
107107
}
108108
}

src/.vuepress/theme/components/Newsletter.vue

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div class="newsletter">
33
<div class="inner">
4-
<h3><label for="member_email">Subscribe to our Weekly Newsletter</label></h3>
4+
<h3><label for="member_email">Berlangganan berita terbaru kami</label></h3>
55
<form
66
class="newsletter-form"
77
id="revue-form"
@@ -17,18 +17,18 @@
1717
name="member[email]"
1818
id="member_email"
1919
required
20-
placeholder="Email address"
20+
placeholder="Alamat Surel"
2121
>
2222
<input
2323
class="button newsletter-button"
2424
type="submit"
25-
value="Subscribe"
25+
value="Berlangganan"
2626
name="member[subscribe]"
2727
id="member_submit"
2828
>
2929
</form>
3030
<p>
31-
You can read the previous issues and listen to our podcast at <a href="https://news.vuejs.org" target="_blank" rel="noopener">news.vuejs.org</a>.
31+
Anda bisa membaca isu-isu sebelumnya dan mendengarkan podcast kami di <a href="https://news.vuejs.org" target="_blank" rel="noopener">news.vuejs.org</a>.
3232
</p>
3333
</div>
3434
</div>

src/.vuepress/theme/components/sponsors/OpenCollectiveSponsors.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<SponsorsLayout extra-classes="sponsors__open-collective">
3-
<template #heading>Open Collective Sponsors</template>
3+
<template #heading>Sponsor Open Collective</template>
44

55
<template #content>
66
<h4>Platinum</h4>

src/.vuepress/theme/components/sponsors/PatreonSponsors.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<SponsorsLayout extra-classes="sponsors__patreon">
3-
<template #heading>Patreon Sponsors</template>
3+
<template #heading>Sponsor Patreon</template>
44

55
<template #content>
66
<div class="platinum">
@@ -26,7 +26,7 @@
2626
</a>
2727
</div>
2828

29-
<RoundedButton url="https://vuejs.org/support-vuejs/">Become a Sponsor!</RoundedButton>
29+
<RoundedButton url="https://vuejs.org/support-vuejs/">Menjadi Sponsor!</RoundedButton>
3030
</template>
3131
</SponsorsLayout>
3232
</template>

0 commit comments

Comments
 (0)