From 44b7c7084ac746dd49b53c7be2c8ec45e8fbdeee Mon Sep 17 00:00:00 2001 From: Okki Dwi <64502893+okkidwi@users.noreply.github.com> Date: Thu, 27 Apr 2023 18:38:36 +0700 Subject: [PATCH 1/8] Create messages.json for Indonesian localization --- src/_locales/in/messages.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/_locales/in/messages.json diff --git a/src/_locales/in/messages.json b/src/_locales/in/messages.json new file mode 100644 index 0000000..c8cbf65 --- /dev/null +++ b/src/_locales/in/messages.json @@ -0,0 +1,11 @@ +{ + "appName": { + "message": "WebChatGPT: ChatGPT dengan akses internet" + }, + "appDesc": { + "message": "Perkaya prompt ChatGPT Anda dengan hasil yang relevan dari web." + }, + "toggleWebAccess": { + "message": "Aktifkan/Nonaktifkan Akses Web" + } +} From 9b19995a12355d51f1fb9df3f52a5a38d8c6f24f Mon Sep 17 00:00:00 2001 From: Okki Dwi <64502893+okkidwi@users.noreply.github.com> Date: Thu, 27 Apr 2023 18:42:31 +0700 Subject: [PATCH 2/8] Update localization.ts for Indonesian localization --- src/util/localization.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/localization.ts b/src/util/localization.ts index 0d0a775..52e7aa7 100644 --- a/src/util/localization.ts +++ b/src/util/localization.ts @@ -9,6 +9,7 @@ export const Languages = { de: "Deutsch", es: "Español", fr: "Français", + in: "Indonesia", it: "Italiano", ja: "日本語", ko: "한국어", From b1c5db12275d1510776031e49b6e1b8aa44c1862 Mon Sep 17 00:00:00 2001 From: Okki Dwi <64502893+okkidwi@users.noreply.github.com> Date: Thu, 27 Apr 2023 19:04:43 +0700 Subject: [PATCH 3/8] Update localizedStrings.json for Indonesian localization --- src/util/localizedStrings.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/util/localizedStrings.json b/src/util/localizedStrings.json index b4eceb9..4f74f27 100644 --- a/src/util/localizedStrings.json +++ b/src/util/localizedStrings.json @@ -8,6 +8,7 @@ "es": "Idioma", "fr": "Langue", "de": "Sprache", + "in": "Bahasa", "it": "Lingua", "zh": "语言", "zh-TW": "語言", @@ -24,6 +25,7 @@ "es": "Elegir idioma", "fr": "Choisir la langue", "de": "Sprache auswählen", + "in": "Pilih bahasa", "it": "Scegli la lingua", "zh": "选择语言", "zh-TW": "選擇語言", @@ -40,6 +42,7 @@ "es": "Opciones", "fr": "Options", "de": "Optionen", + "in": "Pengaturan", "it": "Opzioni", "zh": "选项", "zh-TW": "選項", @@ -56,6 +59,7 @@ "es": "Recortar texto largo para que quepa en el límite de contexto", "fr": "Raccourcir le texte long pour qu'il rentre dans la limite de contexte", "de": "Langen Text kürzen, um in das Kontextlimit zu passen", + "in": "Potong teks panjang agar sesuai dengan batas konteks", "it": "Riduci il testo lungo per adattarlo al limite di contesto", "zh": "将长文本修剪以适合上下文限制", "zh-TW": "將長文本修剪以適合上下文限制", @@ -72,6 +76,7 @@ "es": "Presione / para abrir el menú de comandos", "fr": "Appuyez sur / pour ouvrir le menu des commandes", "de": "Drücken Sie /, um das Befehlsmenü zu öffnen", + "in": "Tekan / untuk membuka menu perintah", "it": "Premi / per aprire il menu dei comandi", "zh": "按 / 打开命令菜单", "zh-TW": "按 / 開啟命令選單", @@ -87,6 +92,7 @@ "es": "Puede usar los bangs de DuckDuckGo para buscar en otros sitios. Obtenga más información:", "fr": "Vous pouvez utiliser les bangs DuckDuckGo pour rechercher sur d'autres sites. En savoir plus:", "de": "Sie können DuckDuckGo-Bangs verwenden, um auf anderen Websites zu suchen. Erfahren Sie mehr:", + "in": "Anda dapat menggunakan bang DuckDuckGo untuk mencari di situs web lain. Pelajari lebih lanjut:", "it": "Puoi usare i DuckDuckGo bang per cercare su altri siti web. Ulteriori informazioni:", "zh": "您可以使用 DuckDuckGo bang 在其他网站上搜索。了解更多:", "zh-TW": "您可以使用 DuckDuckGo bang 在其他網站上搜尋。了解更多:", @@ -102,6 +108,7 @@ "es": "Restringir los resultados de búsqueda a un sitio web específico, por ejemplo /site:wikipedia.com", "fr": "Restreindre les résultats de recherche à un site Web spécifique, par exemple /site:wikipedia.com", "de": "Suchergebnisse auf eine bestimmte Website einschränken, z. B. /site:wikipedia.com", + "in": "Batasi hasil pencarian untuk situs web tertentu, misalnya /site:wikipedia.com", "it": "Limita i risultati della ricerca a un sito Web specifico, ad esempio /site:wikipedia.com", "zh": "将搜索结果限制为特定网站,例如 /site:wikipedia.com", "zh-TW": "將搜尋結果限制為特定網站,例如 /site:wikipedia.com", @@ -117,6 +124,7 @@ "es": "Obtener el contenido de una página específica, por ejemplo /page:buymeacoffee.com/anzorq", "fr": "Obtenir le contenu d'une page spécifique, par exemple /page:buymeacoffee.com/anzorq", "de": "Den Inhalt einer bestimmten Seite erhalten, z. B. /page:buymeacoffee.com/anzorq", + "in": "Dapatkan konten halaman tertentu, misalnya /page:buymeacoffee.com/anzorq", "it": "Ottenere il contenuto di una pagina specifica, ad esempio, /page:buymeacoffee.com/anzorq", "zh": "获取特定页面的内容,例如 /page:buymeacoffee.com/anzorq", "zh-TW": "取得特定頁面的內容,例如 /page:buymeacoffee.com/anzorq", @@ -132,6 +140,7 @@ "es": "Apoya este proyecto", "fr": "Soutenez ce projet", "de": "Unterstützen Sie dieses Projekt", + "in": "Dukung Proyek ini", "it": "Sostieni questo progetto", "zh": "支持此项目", "zh-TW": "支持此專案", @@ -148,6 +157,7 @@ "es": "Si encuentra útil esta extensión, por favor considere apoyarme ⤵️", "fr": "Si vous trouvez cette extension utile, pensez à me soutenir ⤵️", "de": "Wenn Sie diese Erweiterung nützlich finden, unterstützen Sie mich bitte ⤵️", + "in": "Jika Anda merasa ekstensi ini bermanfaat, pertimbangkan untuk mendukung saya ⤵️", "it": "Se trovi questo estensione utile, considera di supportarmi ⤵️", "zh": "如果您觉得这个扩展有用,请考虑支持我⤵️", "zh-TW": "如果您覺得這個擴充功能有用,請考慮支持我⤵️", @@ -164,6 +174,7 @@ "es": "Guardar", "fr": "Enregistrer", "de": "Speichern", + "in": "Simpan", "it": "Salva", "zh": "保存", "zh-TW": "儲存", @@ -180,6 +191,7 @@ "es": "Nuevo prompt", "fr": "Nouveau prompt", "de": "Neues Prompt", + "in": "Prompt Baru", "it": "Nuovo prompt", "zh": "新提示", "zh-TW": "新提示", @@ -196,6 +208,7 @@ "es": "Nombre", "fr": "Nom", "de": "Name", + "in": "Nama", "it": "Nome", "zh": "名称", "zh-TW": "名稱", @@ -212,6 +225,7 @@ "es": "Ingrese un marcador de posición para la fecha actual (opcional)", "fr": "Insérer un marqueur de place pour la date actuelle (facultatif)", "de": "Platzhalter für das aktuelle Datum einfügen (optional)", + "in": "Masukkan placeholder untuk tanggal saat ini (opsional)", "it": "Inserisci il segnaposto per la data attuale (opzionale)", "zh": "插入当前日期的占位符(可选)", "zh-TW": "插入目前日期的佔位符(選填)", @@ -228,6 +242,7 @@ "es": "Ingrese un marcador de posición para los resultados de búsqueda web (opcional)", "fr": "Insérer un marqueur de place pour les résultats de recherche web (facultatif)", "de": "Platzhalter für die Web-Ergebnisse einfügen (optional)", + "in": "Masukkan placeholder untuk hasil web (opsional)", "it": "Inserisci il segnaposto per i risultati web (opzionale)", "zh": "插入网络搜索结果的占位符(可选)", "zh-TW": "插入網路搜尋結果的佔位符(選填)", @@ -244,6 +259,7 @@ "es": "Ingrese un marcador de posición para la consulta inicial (requerido)", "fr": "Insérer un marqueur de place pour la requête initiale (requis)", "de": "Platzhalter für die ursprüngliche Anfrage einfügen (erforderlich)", + "in": "Masukkan placeholder untuk kueri awal (wajib)", "it": "Inserisci il segnaposto per la query iniziale (richiesto)", "zh": "插入初始查询的占位符(必需)", "zh-TW": "插入初始查詢的佔位符(必填)", @@ -260,6 +276,7 @@ "es": "Sígueme en Twitter", "fr": "Me suivre sur Twitter", "de": "Folgen Sie mir auf Twitter", + "in": "Ikuti saya di Twitter", "it": "Seguimi su Twitter", "zh": "在 Twitter 上关注我", "zh-TW": "在 Twitter 上跟隨我", @@ -276,6 +293,7 @@ "es": "Ver el código fuente en GitHub", "fr": "Voir le code source sur GitHub", "de": "Quellcode auf GitHub anzeigen", + "in": "Lihat kode sumber di GitHub", "it": "Visualizza il codice sorgente su GitHub", "zh": "在 GitHub 上查看源代码", "zh-TW": "在 GitHub 上查看原始碼", @@ -292,6 +310,7 @@ "es": "Únete a nuestra comunidad de Discord", "fr": "Rejoignez notre communauté Discord", "de": "Treten Sie unserer Discord-Community bei", + "in": "Bergabunglah dengan komunitas Discord kami", "it": "Unisciti alla nostra comunità su Discord", "zh": "加入我们的 Discord 社区", "zh-TW": "加入我們的 Discord 社群", From f4bd831b2545aae1f1062c6b437a1f042faf269b Mon Sep 17 00:00:00 2001 From: Okki Dwi <64502893+okkidwi@users.noreply.github.com> Date: Thu, 27 Apr 2023 19:21:47 +0700 Subject: [PATCH 4/8] Create README_IN.md for Indonesian localization --- README_IN.md | 106 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 README_IN.md diff --git a/README_IN.md b/README_IN.md new file mode 100644 index 0000000..ee62368 --- /dev/null +++ b/README_IN.md @@ -0,0 +1,106 @@ +[link-chrome]: https://chrome.google.com/webstore/detail/chatgpt-advanced/lpfemeioodjbpieminkklglpmhlngfcn 'Chrome Web Store' +[link-firefox]: https://addons.mozilla.org/en-US/firefox/addon/web-chatgpt/ 'Firefox Add-ons' +[link-edge]: https://microsoftedge.microsoft.com/addons/detail/arxivutils/flahobhjikkpnpohomeckhdjjkkkkmoc/ 'Edge Add-ons' + +
+

WebChatGPT

+ + +[![Discord](https://img.shields.io/discord/1060110102188797992?color=green&label=Gabung%20server&logo=discord)](https://discord.gg/nmCjvyVpnB) [![Twitter Follow](https://img.shields.io/twitter/follow/hahahahohohe?label=ikuti%20saya&style=social)](https://twitter.com/hahahahohohe) + + +[Inggris](README.md)   |   Indonesia + + +Ekstensi browser ini `menambahkan kemampuan akses web` ke [ChatGPT](https://chat.openai.com/). Dapatkan jawaban yang lebih relevan dan terbaru dari chatbot! + +![image](https://user-images.githubusercontent.com/3750161/214144292-4fb34667-015a-43f3-906d-1d2d065d67f0.png) + + +
+ +[Chrome][link-chrome] [Firefox][link-firefox] [Chrome][link-edge] + + +[][link-chrome] [Chrome Web Store][link-chrome] +
+[][link-firefox] +[Mozilla Add-on][link-firefox] +
+[][link-edge] +[Edge Add-on][link-edge] +
+
+ +https://user-images.githubusercontent.com/3750161/214155508-5c1ad4d8-b565-4fe0-9ce7-e68aed11e73d.mp4 + + +## Instalasi manual + + ℹ️ Jangan lupa untuk menonaktifkan ekstensi yang diinstal dari Web Store saat Anda menguji versi yang diinstal secara manual. + + ### Chrome, Microsoft Edge, dll. + 1. Unduh file zip chrome yang sudah dibuat dari [sini](build). + 2. Ekstrak file. + 3. Buka `chrome://extensions` di Chrome / `edge://extensions` di Microsoft Edge. + 4. Aktifkan mode pengembang (sudut kanan atas). + 5. Klik pada `Load unpacked` dan pilih folder yang sudah diekstrak. + 6. Buka [ChatGPT](https://chat.openai.com/chat/) dan nikmati! + + ### Firefox + 1. Unduh file zip firefox yang sudah dibuat dari [sini](build). + + #### Instalasi sementara, di Release atau Beta resmi + 1. Buka `about:debugging#/runtime/this-firefox`. + 2. Klik tombol `Load Temporary Add-on`, kemudian pilih file zip yang sudah diekstrak. + + #### Instalasi permanen, di Nightly atau Developer Edition + 1. Buka Firefox, buka `about:config` dan set `xpinstall.signatures.required` ke `false`. + 2. Buka `about:addons` + 3. Klik ikon roda gigi di sudut kanan atas halaman Add-ons dan pilih `Install Add-on From File`. + 4. Pilih file zip dan klik buka. + 5. Firefox akan meminta Anda untuk mengonfirmasi instalasi add-on. Klik Install. + 6. Add-on akan diinstal dan akan muncul dalam daftar add-on yang diinstal pada halaman Add-ons. + 7. Buka [ChatGPT](https://chat.openai.com/chat/) dan nikmati! + + +## Bangun dari sumber + +1. `git clone https://github.com/qunash/chatgpt-advanced.git` +2. `npm install` +3. `npm run build-prod` +4. Ambil file ekstensi zip Anda dari folder `build/` + +
+ +## FAQ + +### Mesin pencari apa yang digunakan oleh ekstensi ini? +DuckDuckGo. + +### Mengapa ekstensi ini meminta izin `akses ke semua situs web`? +Ekstensi ini memerlukan akses ke semua situs web karena tidak ada server backend untuk memproses permintaan web, dan semuanya terjadi secara lokal di browser. Ada dua mode: pencarian web menggunakan DDG, dan mengekstraksi teks halaman web dari URL. Pencarian web memerlukan akses ke DuckDuckGo, sedangkan ekstraksi teks URL memerlukan akses ke semua situs web. Oleh karena itu, izin `akses ke semua situs web` diperlukan. + +### Ekstensi ini tidak berfungsi, toolbar tidak muncul. Apa yang bisa saya lakukan? +Beberapa ekstensi ChatGPT lain diketahui mengganggu WebChatGPT. Jika Anda mengalami masalah dengan toolbar tidak muncul, silakan coba nonaktifkan ekstensi ChatGPT lain yang telah Anda instal dan muat ulang halaman. Jika Anda terus mengalami masalah, jangan ragu untuk menghubungi kami di [server Discord kami](https://discord.gg/nmCjvyVpnB) untuk bantuan. + +### Bisakah saya menggunakan mesin pencari lain? +Ekstensi saat ini hanya mendukung pencarian web menggunakan mesin pencari DuckDuckGo. Namun, Anda dapat menggunakan DuckDuckGo bangs untuk mendapatkan hasil pencarian dari ribuan situs web lain. Misalnya, `!pm` untuk mencari di PubMed, `!gsc` - di Google Scholar, dll. Anda dapat menemukan daftar lengkap bangs yang tersedia di [situs web DuckDuckGo](https://duckduckgo.com/bangs). Cukup ketik bang diikuti dengan kueri pencarian Anda untuk melakukan pencarian di situs web yang sesuai. + +### Apakah Anda mengumpulkan data apa pun? +Tidak, ekstensi ini tidak mengumpulkan data pengguna atau analitik. + +
+ +## Berkontribusi + +Kontribusi sangat dihargai! Silakan kirim pull request ke cabang `dev`. + +


+ + +Suka proyek gratis ini? Pertimbangkan untuk [mendukung saya](https://www.buymeacoffee.com/anzorq) agar tetap berjalan. + +[Buy Me A Coffee](https://www.buymeacoffee.com/anzorq) + +[![visitors](https://visitor-badge.glitch.me/badge?page_id=qunash/chatgpt-advanced)](https://visitor-badge.glitch.me) [![Discord](https://img.shields.io/discord/1060110102188797992?color=green&label=Join%20server&logo=discord)](https://discord.gg/nmCjvyVpnB) [![Twitter Follow](https://img.shields.io/twitter/follow/hahahahohohe?label=follow%20me&style=social)](https://twitter.com/hahahahohohe) From 5b55acc969b604a15a10c1b9251fe0e0b5ec5c49 Mon Sep 17 00:00:00 2001 From: Okki Dwi <64502893+okkidwi@users.noreply.github.com> Date: Thu, 27 Apr 2023 19:24:17 +0700 Subject: [PATCH 5/8] Update README_IN.md --- README_IN.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README_IN.md b/README_IN.md index ee62368..7136809 100644 --- a/README_IN.md +++ b/README_IN.md @@ -6,10 +6,10 @@

WebChatGPT

-[![Discord](https://img.shields.io/discord/1060110102188797992?color=green&label=Gabung%20server&logo=discord)](https://discord.gg/nmCjvyVpnB) [![Twitter Follow](https://img.shields.io/twitter/follow/hahahahohohe?label=ikuti%20saya&style=social)](https://twitter.com/hahahahohohe) - - [Inggris](README.md)   |   Indonesia + + +[![Discord](https://img.shields.io/discord/1060110102188797992?color=green&label=Gabung%20server&logo=discord)](https://discord.gg/nmCjvyVpnB) [![Twitter Follow](https://img.shields.io/twitter/follow/hahahahohohe?label=ikuti%20saya&style=social)](https://twitter.com/hahahahohohe) Ekstensi browser ini `menambahkan kemampuan akses web` ke [ChatGPT](https://chat.openai.com/). Dapatkan jawaban yang lebih relevan dan terbaru dari chatbot! From 63e48e33d52a271f41eb944ddafc40fa0b4f32de Mon Sep 17 00:00:00 2001 From: Okki Dwi <64502893+okkidwi@users.noreply.github.com> Date: Thu, 27 Apr 2023 19:25:34 +0700 Subject: [PATCH 6/8] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 835071a..4a8963b 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,9 @@

WebChatGPT

+English   |   [Indonesia](README_IN.md) + + [![Discord](https://img.shields.io/discord/1060110102188797992?color=green&label=Join%20server&logo=discord)](https://discord.gg/nmCjvyVpnB) [![Twitter Follow](https://img.shields.io/twitter/follow/hahahahohohe?label=follow%20me&style=social)](https://twitter.com/hahahahohohe) From cfa495b5e067e1dcd7a750d61945d655f0ece7b9 Mon Sep 17 00:00:00 2001 From: Okki Dwi <64502893+okkidwi@users.noreply.github.com> Date: Thu, 27 Apr 2023 19:27:35 +0700 Subject: [PATCH 7/8] Update README_IN.md --- README_IN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_IN.md b/README_IN.md index 7136809..3ccac12 100644 --- a/README_IN.md +++ b/README_IN.md @@ -103,4 +103,4 @@ Suka proyek gratis ini? Pertimbangkan untuk [mendukung saya](https://www.buymeac [Buy Me A Coffee](https://www.buymeacoffee.com/anzorq) -[![visitors](https://visitor-badge.glitch.me/badge?page_id=qunash/chatgpt-advanced)](https://visitor-badge.glitch.me) [![Discord](https://img.shields.io/discord/1060110102188797992?color=green&label=Join%20server&logo=discord)](https://discord.gg/nmCjvyVpnB) [![Twitter Follow](https://img.shields.io/twitter/follow/hahahahohohe?label=follow%20me&style=social)](https://twitter.com/hahahahohohe) +[![visitors](https://visitor-badge.glitch.me/badge?page_id=qunash/chatgpt-advanced)](https://visitor-badge.glitch.me) [![Discord](https://img.shields.io/discord/1060110102188797992?color=green&label=Gabung%20server&logo=discord)](https://discord.gg/nmCjvyVpnB) [![Twitter Follow](https://img.shields.io/twitter/follow/hahahahohohe?label=ikuti%20saya&style=social)](https://twitter.com/hahahahohohe) From dff10d48c3f3a9e5f032df2b0c6fe7c8f7763c29 Mon Sep 17 00:00:00 2001 From: itgoldman Date: Sat, 29 Apr 2023 18:26:18 +0300 Subject: [PATCH 8/8] toggle web controls if no web access --- package-lock.json | 4 ++-- src/components/toolbar.tsx | 2 +- src/style/base.css | 6 +++++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index e84ae52..e191f88 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "webchatgpt", - "version": "2.2.0", + "version": "3.2.7", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "webchatgpt", - "version": "2.2.0", + "version": "3.2.7", "license": "MIT", "dependencies": { "@mozilla/readability": "^0.4.2", diff --git a/src/components/toolbar.tsx b/src/components/toolbar.tsx index e556b49..c18e3aa 100644 --- a/src/components/toolbar.tsx +++ b/src/components/toolbar.tsx @@ -143,7 +143,7 @@ const Toolbar = ({ textarea }: ToolbarProps) => { {webAccessToggle} {/*
*/} -
+