Skip to content

Commit

Permalink
Merge pull request #224 from plebbit/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
plebeius-eth authored Feb 2, 2024
2 parents 7b25b46 + a1117b8 commit aadd617
Show file tree
Hide file tree
Showing 58 changed files with 1,144 additions and 346 deletions.
2 changes: 1 addition & 1 deletion electron/preload.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const defaultPlebbitOptions = {
contextBridge.exposeInMainWorld('defaultPlebbitOptions', defaultPlebbitOptions);

// expose a flag to indicate that we are running in electron
contextBridge.exposeInMainWorld('electron', { isElectron: true });
contextBridge.exposeInMainWorld('isElectron', true);

// uncomment for logs
// localStorage.debug = 'plebbit-js:*,plebbit-react-hooks:*,seedit:*'
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
"react": "18.2.0",
"react-dom": "18.2.0",
"react-i18next": "13.2.2",
"react-markdown": "9.0.1",
"react-markdown": "8.0.6",
"react-router-dom": "6.16.0",
"react-scripts": "5.0.1",
"react-virtuoso": "4.6.0",
"rehype-sanitize": "6.0.0",
"remark-breaks": "^4.0.0",
"rehype-sanitize": "5.0.1",
"remark-breaks": "3.0.2",
"remark-gfm": "4.0.0",
"tcp-port-used": "1.0.2",
"typescript": "5.2.2",
Expand Down
Binary file modified public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/buttons/continue-this-thread-arrow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/electron-tray-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/manifest-icon-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/manifest-icon-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 16 additions & 1 deletion public/translations/ar/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -210,5 +210,20 @@
"below_approved_user": "أدناه هي المجتمعات التي أنت مستخدم معتمد فيها.",
"below_moderator_access": "أدناه هي المجتمعات التي لديك وصولاً كمشرف إليها.",
"not_moderator": "أنت لست مشرفًا على أي مجتمع.",
"create_community": "إنشاء مجتمع"
"create_community": "إنشاء مجتمع",
"single_comment_notice": "أنت تشاهد موضوع تعليق واحد فقط",
"single_comment_link": "عرض بقية التعليقات",
"owner_settings_notice": "لا يمكن الاتصال بعقدة P2P للمجتمع - يمكن لمالك المجتمع فقط تحرير إعداداته.",
"preview": "معاينة",
"shown_in_sidebar": "يُعرَض في الشريط الجانبي لمجتمعك",
"community_logo_info": "قم بتعيين شعار المجتمع باستخدام رابط صورة مباشر (منتهي بـ .jpg أو .png)",
"moderators_setting_info": "اسمح للمستخدمين الآخرين بالتدخل والنشر دون تحديات",
"vote": "صوت",
"passing": "مرور",
"rejecting": "رفض",
"add_moderator": "إضافة مشرف",
"add_rule": "إضافة قاعدة",
"json_settings": "إعدادات JSON",
"json_settings_info": "نسخ أو لصق إعدادات المجتمع بسرعة",
"address_setting_info": "قم بتعيين عنوان مجتمع قابل للقراءة باستخدام ens.domains"
}
17 changes: 16 additions & 1 deletion public/translations/bn/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -210,5 +210,20 @@
"below_approved_user": "নীচে সেটি সম্প্রদায়গুলি যেগুলি আপনি অনুমোদিত ব্যবহারকারী।",
"below_moderator_access": "নীচে সেটি সম্প্রদায়গুলি যেগুলি আপনি মডারেটরেটর অ্যাক্সেস রাখেন।",
"not_moderator": "আপনি কোনও সম্প্রদায়ে মডারেটর নন।",
"create_community": "সম্প্রদায় তৈরি করুন"
"create_community": "সম্প্রদায় তৈরি করুন",
"single_comment_notice": "আপনি একটি মন্তব্যের থ্রেড দেখছেন",
"single_comment_link": "আরও মন্তব্য দেখুন",
"owner_settings_notice": "সম্প্রদায়ের P2P নোডে সংযোগ স্থাপন করতে পারেন না - একটি সম্প্রদায়ের মালিকদের মাত্র তার সেটিংস সম্পাদনা করতে পারেন।",
"preview": "পূর্বরূপ",
"shown_in_sidebar": "আপনার সম্প্রদায়ের সাইডবারে দেখানো হয়",
"community_logo_info": "একটি সম্প্রদায়ের লোগো সেট করতে তার সরাসরি ইমেজ লিঙ্ক ব্যবহার করুন (.jpg, .png দিয়ে শেষ হলে)",
"moderators_setting_info": "অন্যান্য ব্যবহারকারীদের সম্মোদন করতে এবং চ্যালেঞ্জ ছাড়া পোস্ট করতে দিন",
"vote": "ভোট দাও",
"passing": "পাস",
"rejecting": "বাতিল",
"add_moderator": "একটি মডারেটর যোগ করুন",
"add_rule": "একটি নিয়ম যোগ করুন",
"json_settings": "JSON সেটিংস",
"json_settings_info": "দ্রুত সমুদায়ের সেটিংস অনুলিপি বা পেস্ট করুন",
"address_setting_info": "ens.domains ব্যবহার করে একটি পঠনীয় সমুদায় ঠিকানা সেট করুন"
}
17 changes: 16 additions & 1 deletion public/translations/cs/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -210,5 +210,20 @@
"below_approved_user": "Níže jsou komunity, na kterých jste schváleným uživatelem.",
"below_moderator_access": "Níže jsou komunity, ke kterým máte moderátorský přístup.",
"not_moderator": "Nejste moderátorem žádné komunity.",
"create_community": "Vytvořit komunitu"
"create_community": "Vytvořit komunitu",
"single_comment_notice": "Prohlížíte si vlákno jednoho komentáře",
"single_comment_link": "Zobrazit zbytek komentářů",
"owner_settings_notice": "Nelze se připojit k uzlu komunity P2P - pouze vlastník komunity může upravit její nastavení.",
"preview": "Náhled",
"shown_in_sidebar": "zobrazeno na boční liště vaší komunity",
"community_logo_info": "Nastavte logo komunity pomocí jeho přímého odkazu na obrázek (končícího na .jpg, .png)",
"moderators_setting_info": "nechte ostatní uživatele moderovat a přispívat bez výzev",
"vote": "hlasovat",
"passing": "projde",
"rejecting": "zamítání",
"add_moderator": "přidat moderátora",
"add_rule": "přidat pravidlo",
"json_settings": "JSON nastavení",
"json_settings_info": "Rychle zkopírujte nebo vložte nastavení komunity",
"address_setting_info": "nastavte čitelnou adresu komunity pomocí ens.domains"
}
17 changes: 16 additions & 1 deletion public/translations/da/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -210,5 +210,20 @@
"below_approved_user": "Nedenfor er de fællesskaber, hvor du er en godkendt bruger.",
"below_moderator_access": "Nedenfor er de fællesskaber, du har moderatoradgang til.",
"not_moderator": "Du er ikke moderator på nogen fællesskab.",
"create_community": "Opret fællesskab"
"create_community": "Opret fællesskab",
"single_comment_notice": "Du ser en tråd med kun en kommentar",
"single_comment_link": "Se resten af kommentarerne",
"owner_settings_notice": "Kan ikke forbinde til samfunds P2P-node - kun ejeren af et samfund kan redigere dets indstillinger.",
"preview": "Forhåndsvisning",
"shown_in_sidebar": "vist i sidepanelet for din samfund",
"community_logo_info": "Indstil et fællesskabslogo ved hjælp af dets direkte billedlink (slutter i .jpg, .png)",
"moderators_setting_info": "lad andre brugere moderere og poste uden udfordringer",
"vote": "stemme",
"passing": "bestået",
"rejecting": "afvisning",
"add_moderator": "tilføj en moderator",
"add_rule": "tilføj en regel",
"json_settings": "JSON indstillinger",
"json_settings_info": "Hurtigt kopier eller indsæt fællesskabsindstillinger",
"address_setting_info": "indstil en læsbar fællesskabsadresse ved hjælp af ens.domains"
}
17 changes: 16 additions & 1 deletion public/translations/de/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -210,5 +210,20 @@
"below_approved_user": "Hier sind die Gemeinschaften, auf denen du ein genehmigter Benutzer bist.",
"below_moderator_access": "Hier sind die Gemeinschaften, auf die Sie als Moderator zugreifen können.",
"not_moderator": "Du bist kein Moderator in einer Gemeinschaft.",
"create_community": "Gemeinschaft erstellen"
"create_community": "Gemeinschaft erstellen",
"single_comment_notice": "Sie sehen einen Thread mit nur einem Kommentar",
"single_comment_link": "Den Rest der Kommentare anzeigen",
"owner_settings_notice": "Kann keine Verbindung zum P2P-Knoten der Community herstellen - nur der Eigentümer einer Community kann deren Einstellungen bearbeiten.",
"preview": "Vorschau",
"shown_in_sidebar": "im Seitenbereich Ihrer Community angezeigt",
"community_logo_info": "Legen Sie ein Gemeinschaftslogo mit seinem direkten Bildlink fest (endet in .jpg, .png)",
"moderators_setting_info": "lassen Sie andere Benutzer moderieren und posten, ohne Herausforderungen",
"vote": "abstimmen",
"passing": "bestanden",
"rejecting": "ablehnend",
"add_moderator": "einen Moderator hinzufügen",
"add_rule": "eine Regel hinzufügen",
"json_settings": "JSON-Einstellungen",
"json_settings_info": "Gemeinschaftseinstellungen schnell kopieren oder einfügen",
"address_setting_info": "Setzen Sie eine lesbare Community-Adresse mit ens.domains"
}
17 changes: 16 additions & 1 deletion public/translations/el/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -210,5 +210,20 @@
"below_approved_user": "Παρακάτω βρίσκονται οι κοινότητες στις οποίες είστε εγκεκριμένος χρήστης.",
"below_moderator_access": "Παρακάτω βρίσκονται οι κοινότητες στις οποίες έχετε πρόσβαση ως διαχειριστής.",
"not_moderator": "Δεν είστε διαχειριστής σε καμία κοινότητα.",
"create_community": "Δημιουργία κοινότητας"
"create_community": "Δημιουργία κοινότητας",
"single_comment_notice": "Βλέπετε ένα νήμα με έναν μόνο σχολιασμό",
"single_comment_link": "Προβολή των υπολοίπων σχολίων",
"owner_settings_notice": "Δεν είναι δυνατή η σύνδεση με τον κόμβο P2P της κοινότητας - μόνο ο ιδιοκτήτης μιας κοινότητας μπορεί να επεξεργαστεί τις ρυθμίσεις της.",
"preview": "Προεπισκόπηση",
"shown_in_sidebar": "εμφανίζεται στην πλευρική μπάρα της κοινότητάς σας",
"community_logo_info": "Ορίστε ένα λογότυπο κοινότητας χρησιμοποιώντας τον απευθείας σύνδεσμο εικόνας του (τελειώνοντας σε .jpg, .png)",
"moderators_setting_info": "αφήστε άλλους χρήστες να διαμεσολαβούν και να δημοσιεύουν χωρίς προκλήσεις",
"vote": "ψηφίστε",
"passing": "πέρασμα",
"rejecting": "απόρριψη",
"add_moderator": "προσθέστε έναν διαχειριστή",
"add_rule": "προσθέστε μια κανόνα",
"json_settings": "Ρυθμίσεις JSON",
"json_settings_info": "Γρήγορη αντιγραφή ή επικόλληση των ρυθμίσεων της κοινότητας",
"address_setting_info": "ορίστε μια αναγνώσιμη διεύθυνση κοινότητας χρησιμοποιώντας το ens.domains"
}
17 changes: 16 additions & 1 deletion public/translations/en/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -210,5 +210,20 @@
"below_approved_user": "Below are the communities that you are an approved user on.",
"below_moderator_access": "Below are the communities that you have moderator access to.",
"not_moderator": "You are not a moderator on any community.",
"create_community": "Create community"
"create_community": "Create community",
"single_comment_notice": "You are viewing a single comment's thread",
"single_comment_link": "View the rest of the comments",
"owner_settings_notice": "can't connect to community p2p node - only the owner of a community can edit its settings.",
"preview": "preview",
"shown_in_sidebar": "shown in the sidebar of your community",
"community_logo_info": "set a community logo using its direct image link (ending in .jpg, .png)",
"moderators_setting_info": "let other users moderate and post without challenges",
"vote": "vote",
"passing": "passing",
"rejecting": "rejecting",
"add_moderator": "add a moderator",
"add_rule": "add a rule",
"json_settings": "JSON settings",
"json_settings_info": "quickly copy or paste the community settings",
"address_setting_info": "set a readable community address using ens.domains"
}
17 changes: 16 additions & 1 deletion public/translations/es/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -210,5 +210,20 @@
"below_approved_user": "A continuación se muestran las comunidades en las que eres un usuario aprobado.",
"below_moderator_access": "A continuación se muestran las comunidades a las que tienes acceso como moderador.",
"not_moderator": "No eres moderador en ninguna comunidad.",
"create_community": "Crear comunidad"
"create_community": "Crear comunidad",
"single_comment_notice": "Estás viendo un hilo de un solo comentario",
"single_comment_link": "Ver el resto de los comentarios",
"owner_settings_notice": "no se puede conectar al nodo P2P de la comunidad; solo el propietario de una comunidad puede editar sus configuraciones.",
"preview": "vista previa",
"shown_in_sidebar": "mostrado en la barra lateral de tu comunidad",
"community_logo_info": "establecer un logotipo de comunidad utilizando su enlace de imagen directa (terminando en .jpg, .png)",
"moderators_setting_info": "permita que otros usuarios moderen y publiquen sin desafíos",
"vote": "votar",
"passing": "aprobado",
"rejecting": "rechazo",
"add_moderator": "agregar un moderador",
"add_rule": "agregar una regla",
"json_settings": "Configuración JSON",
"json_settings_info": "copiar o pegar rápidamente la configuración de la comunidad",
"address_setting_info": "establezca una dirección de comunidad legible utilizando ens.domains"
}
17 changes: 16 additions & 1 deletion public/translations/fa/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -210,5 +210,20 @@
"below_approved_user": "در زیر جوامعی که در آنها کاربر تاییدشده هستید، نمایش داده می‌شود.",
"below_moderator_access": "در زیر جوامعی که به عنوان مدیر دسترسی دارید، نمایش داده می‌شوند.",
"not_moderator": "شما مدیر در هیچ جامعه نیستید.",
"create_community": "ایجاد اجتماع"
"create_community": "ایجاد اجتماع",
"single_comment_notice": "شما در حال مشاهده تاییده یک نظر هستید",
"single_comment_link": "مشاهده بقیه نظرات",
"owner_settings_notice": "نمی‌توان به گره P2P اجتماع متصل شد - تنها مالک یک اجتماع می‌تواند تنظیمات آن را ویرایش کند.",
"preview": "پیش‌نمایش",
"shown_in_sidebar": "در نوار کناری اجتماع شما نشان داده می‌شود",
"community_logo_info": "یک لوگوی اجتماعی با استفاده از پیوند تصویر مستقیم آن (پایان یافته به .jpg یا .png) تنظیم کنید",
"moderators_setting_info": "به کاربران دیگر اجازه دهید که بدون چالش ها مدیریت و ارسال کنند",
"vote": "رأی دادن",
"passing": "گذراندن",
"rejecting": "رد کردن",
"add_moderator": "افزودن یک ناظر",
"add_rule": "افزودن یک قانون",
"json_settings": "تنظیمات JSON",
"json_settings_info": "سریعاً تنظیمات اجتماعی را کپی یا پیست کنید",
"address_setting_info": "تنظیم یک آدرس مشترک قابل خواندن با استفاده از ens.domains"
}
17 changes: 16 additions & 1 deletion public/translations/fi/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -210,5 +210,20 @@
"below_approved_user": "Alla ovat yhteisöt, joissa olet hyväksytty käyttäjä.",
"below_moderator_access": "Alla ovat yhteisöt, joissa sinulla on moderaattoripääsy.",
"not_moderator": "Et ole moderaattori missään yhteisössä.",
"create_community": "Luo yhteisö"
"create_community": "Luo yhteisö",
"single_comment_notice": "Katsotte yhden kommentin keskustelua",
"single_comment_link": "Näytä loput kommentit",
"owner_settings_notice": "ei voi muodostaa yhteyttä yhteisön P2P-solmuun - vain yhteisön omistaja voi muokata sen asetuksia.",
"preview": "esikatselu",
"shown_in_sidebar": "näytetään yhteisösi sivupalkissa",
"community_logo_info": "aseta yhteisön logo sen suoran kuvan linkin avulla (päättyen .jpg, .png)",
"moderators_setting_info": "anna muiden käyttäjien moderoida ja lähettää ilman haasteita",
"vote": "äänestää",
"passing": "läpäisy",
"rejecting": "hylkääminen",
"add_moderator": "lisää moderaattori",
"add_rule": "lisää sääntö",
"json_settings": "JSON-asetukset",
"json_settings_info": "kopioi tai liitä yhteisön asetukset nopeasti",
"address_setting_info": "aseta luettava yhteisön osoite käyttäen ens.domains"
}
17 changes: 16 additions & 1 deletion public/translations/fil/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -210,5 +210,20 @@
"below_approved_user": "Narito ang mga komunidad na ikaw ay isang inaprubahang tagagamit.",
"below_moderator_access": "Narito ang mga komunidad na mayroon kang access bilang moderator.",
"not_moderator": "Hindi ka moderator sa anumang komunidad.",
"create_community": "Lumikha ng komunidad"
"create_community": "Lumikha ng komunidad",
"single_comment_notice": "Nakikita mo ang isang thread ng isang komento lamang",
"single_comment_link": "Tingnan ang iba pang mga komento",
"owner_settings_notice": "hindi makakonekta sa komunidad ng p2p node - tanging ang may-ari ng isang komunidad ang makakapag-edit ng mga setting nito.",
"preview": "preview",
"shown_in_sidebar": "ipinapakita sa sidebar ng iyong komunidad",
"community_logo_info": "itakda ang logo ng komunidad gamit ang direktang link ng larawan nito (natatapos sa .jpg, .png)",
"moderators_setting_info": "pabayaang mag-moderate at mag-post ang iba pang mga gumagamit nang walang mga hamon",
"vote": "bumoto",
"passing": "pumapasa",
"rejecting": "tanggihan",
"add_moderator": "magdagdag ng isang moderator",
"add_rule": "magdagdag ng isang patakaran",
"json_settings": "Mga setting ng JSON",
"json_settings_info": "mabilis na kopya o i-paste ang mga setting ng komunidad",
"address_setting_info": "itakda ang isang mababasa oso ng komunidad gamit ang ens.domains"
}
17 changes: 16 additions & 1 deletion public/translations/fr/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -210,5 +210,20 @@
"below_approved_user": "Ci-dessous se trouvent les communautés où vous êtes un utilisateur approuvé.",
"below_moderator_access": "Ci-dessous se trouvent les communautés auxquelles vous avez accès en tant que modérateur.",
"not_moderator": "Vous n'êtes pas modérateur dans aucune communauté.",
"create_community": "Créer une communauté"
"create_community": "Créer une communauté",
"single_comment_notice": "Vous regardez le fil d'un seul commentaire",
"single_comment_link": "Voir le reste des commentaires",
"owner_settings_notice": "impossible de se connecter au nœud P2P de la communauté - seul le propriétaire d'une communauté peut éditer ses paramètres.",
"preview": "aperçu",
"shown_in_sidebar": "affiché dans la barre latérale de votre communauté",
"community_logo_info": "définir un logo de communauté à l'aide de son lien direct vers une image (se terminant par .jpg, .png)",
"moderators_setting_info": "laissez d'autres utilisateurs modérer et publier sans défis",
"vote": "voter",
"passing": "passage",
"rejecting": "rejet",
"add_moderator": "ajouter un modérateur",
"add_rule": "ajouter une règle",
"json_settings": "Paramètres JSON",
"json_settings_info": "copier ou coller rapidement les paramètres de la communauté",
"address_setting_info": "définissez une adresse de communauté lisible en utilisant ens.domains"
}
Loading

0 comments on commit aadd617

Please sign in to comment.