diff --git a/README.md b/README.md index ed86af6..af83798 100644 --- a/README.md +++ b/README.md @@ -81,10 +81,14 @@ Available Modules: - separator Available Locales: - - english (default) - - hungarian - - dutch - - german + - dutch (nl) + - english (en) **(default)** + - german (de) + - hungarian (hu) + - indonesia (id) + - italian (it) + - portuguese (pt) + - spanish (es) Note on the image upload API endpoint: - Image is uploaded by `multipart/form-data` diff --git a/src/editor/locales/index.js b/src/editor/locales/index.js index 6643034..8b4483b 100644 --- a/src/editor/locales/index.js +++ b/src/editor/locales/index.js @@ -1,7 +1,9 @@ import dutch from "./dutch"; import hungarian from "./hungarian"; +import german from "./german"; import english from "./english"; import portuguese from "./portuguese"; +import indonesia from './indonesia'; import italian from "./italian"; import spanish from "./spanish"; @@ -12,4 +14,6 @@ export default { english, portuguese, spanish, + indonesia, + italian, } diff --git a/src/editor/locales/indonesia.js b/src/editor/locales/indonesia.js new file mode 100644 index 0000000..480bafc --- /dev/null +++ b/src/editor/locales/indonesia.js @@ -0,0 +1,20 @@ +module.exports = { + locale_name: 'Bahasa Indonesia', + locale_shorthand: ['id', 'indonesia'], + // Translations: + justifyCenter: 'Tengah', + justifyLeft: 'Rata Kiri', + justifyRight: 'Rata Kanan', + bold: 'Tebalkan', + code: 'Kodingan', + headings: 'Judul (h1-h6)', + link: 'Tautan', + image: 'Tambahkan Gambar', + italic: 'Miringkan', + orderedList: 'Daftar Berurutan (1, 2, 3, ...)', + unorderedList: 'Daftar Tak Berurutan', + removeFormat: 'Hapus pemformatan.\nTermasuk gaya judul, teks tebal, miring, bergaris bawah, dll.', + separator: null, + table: 'Tambahkan Tabel', + underline: 'Garis Bawah' +} diff --git a/src/main.js b/src/main.js index b6c5fe0..3565d97 100644 --- a/src/main.js +++ b/src/main.js @@ -6,7 +6,7 @@ Vue.use(wysiwyg, { hideModules: { bold: false, }, - locale: 'hu' + locale: 'en' }); new Vue({