diff --git a/docs/website/i18n/ar.json b/docs/website/i18n/ar.json new file mode 100644 index 000000000000..f7aa1e39ffb5 --- /dev/null +++ b/docs/website/i18n/ar.json @@ -0,0 +1,101 @@ +{ + "_comment": "هذا الملف يتم إنشاؤه تلقائياً بواسطة write-translations.js", + "localized-strings": { + "next": "التالي", + "previous": "السابق", + "tagline": "بوابة/MS لـ phpBB 3.2x", + "docs": { + "blocks-custom": { + "title": "كتلة مخصصة" + }, + "blocks-inheritance": { + "title": "فهم ميراث الكتلة" + }, + "blocks-managing": { + "title": "إدارة الكتل البرمجية" + }, + "blocks-overview": { + "title": "ما هي الكتلة؟" + }, + "blocks-views": { + "title": "حظر المشاهدات" + }, + "contrib-overview": { + "title": "اشترك" + }, + "contrib-pull-requests": { + "title": "تقديم طلب سحب", + "sidebar_label": "طلبات السحب" + }, + "contrib-translators": { + "title": "المترجمون" + }, + "developer-events": { + "title": "أحداث phpBB SiteMaker" + }, + "developer-extensions": { + "title": "تمديد phpBB SiteMaker" + }, + "developer-theming": { + "title": "القالب" + }, + "installation": { + "title": "تثبيت / ترقية" + }, + "introduction": { + "title": "مقدمة" + }, + "menus-display": { + "title": "عرض القوائم" + }, + "menus-managing-items": { + "title": "إدارة عناصر القائمة" + }, + "menus-managing": { + "title": "إدارة القوائم" + }, + "site-block-modifiers": { + "title": "تخصيص عرض الكتل" + }, + "site-default-layout": { + "title": "إعداد تخطيط افتراضي" + }, + "site-layouts": { + "title": "المخططات" + }, + "site-navbar": { + "title": "شريط التنقل" + }, + "site-startpage": { + "title": "إعداد صفحة البداية" + } + }, + "links": { + "Docs": "الوثائق", + "Help": "مساعدة", + "Blog": "المدونة", + "Github": "Github" + }, + "categories": { + "User Guide": "دليل المستخدم", + "Developer Guide": "دليل المطور", + "Contribute": "المساهمة" + } + }, + "pages-strings": { + "Learn more using the [documentation on this site.](/docs/en/introduction.html)|no description given": "تعلم المزيد باستخدام [الوثائق على هذا الموقع](/docs/en/introduction.html)", + "Browse Docs|no description given": "تصفح المستندات", + "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)|no description given": "طرح أسئلة حول التوثيق والمشروع [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)", + "Join the community|no description given": "الانضمام إلى المجتمع", + "Find out what's new with this project on our [blog](./blog)|no description given": "اكتشف ما هو جديد مع هذا المشروع على [blog]الخاص بنا (./blog)", + "Stay up to date|no description given": "ابقى على اطلاع", + "Need help?|no description given": "بحاجة إلى مساعدة؟", + "This project is maintained by a dedicated group of people.|statement made to reader": "ويشرف على هذا المشروع مجموعة مكرسة من الأشخاص.", + "Try It Out|no description given": "جرب ذلك", + "Download It|no description given": "تنزيل", + "Docs|no description given": "الوثائق", + "Help Translate|recruit community translators for your project": "المساعدة في الترجمة", + "Edit this Doc|recruitment message asking to edit the doc source": "تحرير", + "Translate this Doc|recruitment message asking to translate the docs": "ترجم" + } +} diff --git a/docs/website/i18n/bg.json b/docs/website/i18n/bg.json new file mode 100644 index 000000000000..fb6b4386f4d7 --- /dev/null +++ b/docs/website/i18n/bg.json @@ -0,0 +1,101 @@ +{ + "_comment": "This file is auto-generated by write-translations.js", + "localized-strings": { + "next": "Next", + "previous": "Previous", + "tagline": "A portal/CMS for phpBB 3.2x", + "docs": { + "blocks-custom": { + "title": "Custom Block" + }, + "blocks-inheritance": { + "title": "Understanding Block Inheritance" + }, + "blocks-managing": { + "title": "Managing Blocks" + }, + "blocks-overview": { + "title": "What are blocks?" + }, + "blocks-views": { + "title": "Block Views" + }, + "contrib-overview": { + "title": "Get Involved" + }, + "contrib-pull-requests": { + "title": "Submitting a Pull Request", + "sidebar_label": "Pull Requests" + }, + "contrib-translators": { + "title": "Translators" + }, + "developer-events": { + "title": "phpBB SiteMaker Events" + }, + "developer-extensions": { + "title": "Extending phpBB SiteMaker" + }, + "developer-theming": { + "title": "Theming" + }, + "installation": { + "title": "Installing / Upgrading" + }, + "introduction": { + "title": "Introduction" + }, + "menus-display": { + "title": "Displaying Menus" + }, + "menus-managing-items": { + "title": "Managing Menu Items" + }, + "menus-managing": { + "title": "Managing Menus" + }, + "site-block-modifiers": { + "title": "Customizing Blocks Display" + }, + "site-default-layout": { + "title": "Setting a Default Layout" + }, + "site-layouts": { + "title": "Layouts" + }, + "site-navbar": { + "title": "Navigation Bar" + }, + "site-startpage": { + "title": "Setting a Start Page" + } + }, + "links": { + "Docs": "Docs", + "Help": "Help", + "Blog": "Blog", + "Github": "Github" + }, + "categories": { + "User Guide": "User Guide", + "Developer Guide": "Developer Guide", + "Contribute": "Contribute" + } + }, + "pages-strings": { + "Learn more using the [documentation on this site.](/docs/en/introduction.html)|no description given": "Learn more using the [documentation on this site.](/docs/en/introduction.html)", + "Browse Docs|no description given": "Browse Docs", + "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)|no description given": "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)", + "Join the community|no description given": "Join the community", + "Find out what's new with this project on our [blog](./blog)|no description given": "Find out what's new with this project on our [blog](./blog)", + "Stay up to date|no description given": "Stay up to date", + "Need help?|no description given": "Need help?", + "This project is maintained by a dedicated group of people.|statement made to reader": "This project is maintained by a dedicated group of people.", + "Try It Out|no description given": "Try It Out", + "Download It|no description given": "Download It", + "Docs|no description given": "Docs", + "Help Translate|recruit community translators for your project": "Help Translate", + "Edit this Doc|recruitment message asking to edit the doc source": "Edit", + "Translate this Doc|recruitment message asking to translate the docs": "Translate" + } +} diff --git a/docs/website/i18n/cs.json b/docs/website/i18n/cs.json new file mode 100644 index 000000000000..17e7c08b7bf9 --- /dev/null +++ b/docs/website/i18n/cs.json @@ -0,0 +1,101 @@ +{ + "_comment": "Tento soubor je auto-generated by write-translations.js", + "localized-strings": { + "next": "Příště", + "previous": "Předchozí", + "tagline": "Portál/CMS pro phpBB 3.2x", + "docs": { + "blocks-custom": { + "title": "Celní blok" + }, + "blocks-inheritance": { + "title": "Porozumění blokové gramotnosti" + }, + "blocks-managing": { + "title": "Správa bloků" + }, + "blocks-overview": { + "title": "Jaké jsou bloky?" + }, + "blocks-views": { + "title": "Blokové zobrazení" + }, + "contrib-overview": { + "title": "Zapojit se" + }, + "contrib-pull-requests": { + "title": "Odesílání žádosti o ubytování", + "sidebar_label": "Pull Requests" + }, + "contrib-translators": { + "title": "Překladatelé" + }, + "developer-events": { + "title": "phpBB SiteMaker Události" + }, + "developer-extensions": { + "title": "Rozšíření phpBB SiteMaker" + }, + "developer-theming": { + "title": "Teorie" + }, + "installation": { + "title": "Instalace / Aktualizace" + }, + "introduction": { + "title": "Zavedení" + }, + "menus-display": { + "title": "Displaying Menus" + }, + "menus-managing-items": { + "title": "Správa Menu bodů" + }, + "menus-managing": { + "title": "Správa osobností" + }, + "site-block-modifiers": { + "title": "Přizpůsobení blokových disků" + }, + "site-default-layout": { + "title": "Nastavení platební neschopnosti" + }, + "site-layouts": { + "title": "Mládež" + }, + "site-navbar": { + "title": "Bar navigace" + }, + "site-startpage": { + "title": "Nastavení startovacích kanálů" + } + }, + "links": { + "Docs": "Léky", + "Help": "Pomoc", + "Blog": "Blog", + "Github": "Github" + }, + "categories": { + "User Guide": "Uživatelská příručka", + "Developer Guide": "Vývojářská příručka", + "Contribute": "Přispět" + } + }, + "pages-strings": { + "Learn more using the [documentation on this site.](/docs/en/introduction.html)|no description given": "Learn more using the [documentation on this site.](/docs/cs/introduction.html)", + "Browse Docs|no description given": "Léky na prodej", + "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)|no description given": "Zeptejte se na otázky týkající se dokumentace a projektu [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)", + "Join the community|no description given": "Zapojte se do společenství", + "Find out what's new with this project on our [blog](./blog)|no description given": "Zjistěte, co je nového s tímto projektem na naší [blog](./blog)", + "Stay up to date|no description given": "Zůstaňte aktuální", + "Need help?|no description given": "Potřebuje pomoc?", + "This project is maintained by a dedicated group of people.|statement made to reader": "Tento projekt je udržován specializovanou skupinou lidí.", + "Try It Out|no description given": "Zkuste to pochopit", + "Download It|no description given": "Stáhnout ho", + "Docs|no description given": "Léky", + "Help Translate|recruit community translators for your project": "Pomoc k překladu", + "Edit this Doc|recruitment message asking to edit the doc source": "Upravit", + "Translate this Doc|recruitment message asking to translate the docs": "Přeložit" + } +} diff --git a/docs/website/i18n/da.json b/docs/website/i18n/da.json new file mode 100644 index 000000000000..06653d5f785a --- /dev/null +++ b/docs/website/i18n/da.json @@ -0,0 +1,101 @@ +{ + "_comment": "Denne fil er auto-genereret af write-translations.js", + "localized-strings": { + "next": "Næste", + "previous": "Forrige", + "tagline": "En portal/CMS til phpBB 3.2x", + "docs": { + "blocks-custom": { + "title": "Brugerdefineret Blok" + }, + "blocks-inheritance": { + "title": "Forståelse Af Blokarv" + }, + "blocks-managing": { + "title": "Håndtering Af Blokke" + }, + "blocks-overview": { + "title": "Hvad er blokke?" + }, + "blocks-views": { + "title": "Blokér Visninger" + }, + "contrib-overview": { + "title": "Bliv Involveret" + }, + "contrib-pull-requests": { + "title": "Indsendelse af en Pull-anmodning", + "sidebar_label": "Træk Forespørgsler" + }, + "contrib-translators": { + "title": "Oversættere" + }, + "developer-events": { + "title": "phpBB SiteMaker begivenheder" + }, + "developer-extensions": { + "title": "Udvidelse af phpBB SiteMaker" + }, + "developer-theming": { + "title": "Temaer" + }, + "installation": { + "title": "Installerer / Opgradering" + }, + "introduction": { + "title": "Indledning" + }, + "menus-display": { + "title": "Viser Menuer" + }, + "menus-managing-items": { + "title": "Håndterer Menupunkter" + }, + "menus-managing": { + "title": "Håndtering Af Menuer" + }, + "site-block-modifiers": { + "title": "Tilpasning Af Blokkevisning" + }, + "site-default-layout": { + "title": "Indstilling af et standard layout" + }, + "site-layouts": { + "title": "Layout" + }, + "site-navbar": { + "title": "Navigationsbjælke" + }, + "site-startpage": { + "title": "Indstilling af en startside" + } + }, + "links": { + "Docs": "Dokumenter", + "Help": "Hjælp", + "Blog": "Blog", + "Github": "Github" + }, + "categories": { + "User Guide": "Brugervejledning", + "Developer Guide": "Udvikler Guide", + "Contribute": "Bidrag" + } + }, + "pages-strings": { + "Learn more using the [documentation on this site.](/docs/en/introduction.html)|no description given": "Læs mere ved hjælp af [dokumentationen på dette websted.](/docs/en/introduction.html)", + "Browse Docs|no description given": "Gennemse Dokumenter", + "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)|no description given": "Stil spørgsmål om dokumentation og projekt [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)", + "Join the community|no description given": "Deltag i fællesskabet", + "Find out what's new with this project on our [blog](./blog)|no description given": "Find ud af, hvad der er nyt med dette projekt på vores [blog](./blog)", + "Stay up to date|no description given": "Hold dig opdateret", + "Need help?|no description given": "Brug for hjælp?", + "This project is maintained by a dedicated group of people.|statement made to reader": "Dette projekt vedligeholdes af en dedikeret gruppe mennesker.", + "Try It Out|no description given": "Prøv Det Ud", + "Download It|no description given": "Download Det", + "Docs|no description given": "Dokumenter", + "Help Translate|recruit community translators for your project": "Hjælp Oversæt", + "Edit this Doc|recruitment message asking to edit the doc source": "Rediger", + "Translate this Doc|recruitment message asking to translate the docs": "Oversæt" + } +} diff --git a/docs/website/i18n/de.json b/docs/website/i18n/de.json new file mode 100644 index 000000000000..f25c3bf5b9a2 --- /dev/null +++ b/docs/website/i18n/de.json @@ -0,0 +1,101 @@ +{ + "_comment": "Diese Datei wird automatisch von write-translations.js generiert", + "localized-strings": { + "next": "Weiter", + "previous": "Vorherige", + "tagline": "Ein Portal/CMS für phpBB 3.2x", + "docs": { + "blocks-custom": { + "title": "Eigener Block" + }, + "blocks-inheritance": { + "title": "Blockvererbung verstehen" + }, + "blocks-managing": { + "title": "Verwalte Blöcke" + }, + "blocks-overview": { + "title": "Was sind Blöcke?" + }, + "blocks-views": { + "title": "Ansichten blockieren" + }, + "contrib-overview": { + "title": "Beteiligt werden" + }, + "contrib-pull-requests": { + "title": "Einreichen einer Pull-Anfrage", + "sidebar_label": "Pull-Anfragen" + }, + "contrib-translators": { + "title": "Übersetzer" + }, + "developer-events": { + "title": "phpBB SiteMaker Events" + }, + "developer-extensions": { + "title": "phpBB SiteMaker erweitern" + }, + "developer-theming": { + "title": "Theming" + }, + "installation": { + "title": "Installation / Upgrade" + }, + "introduction": { + "title": "Einführung" + }, + "menus-display": { + "title": "Menüs anzeigen" + }, + "menus-managing-items": { + "title": "Menüeinträge verwalten" + }, + "menus-managing": { + "title": "Menüs verwalten" + }, + "site-block-modifiers": { + "title": "Anzeige der Blöcke anpassen" + }, + "site-default-layout": { + "title": "Standardlayout festlegen" + }, + "site-layouts": { + "title": "Layouts" + }, + "site-navbar": { + "title": "Navigationsleiste" + }, + "site-startpage": { + "title": "Startseite festlegen" + } + }, + "links": { + "Docs": "Dokumente", + "Help": "Hilfe", + "Blog": "Blog", + "Github": "Github" + }, + "categories": { + "User Guide": "Benutzerhandbuch", + "Developer Guide": "Entwicklerhandbuch", + "Contribute": "Mitwirken" + } + }, + "pages-strings": { + "Learn more using the [documentation on this site.](/docs/en/introduction.html)|no description given": "Erfahren Sie mehr über die [Dokumentation auf dieser Seite.](/docs/de/introduction.html)", + "Browse Docs|no description given": "Dokumente durchsuchen", + "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)|no description given": "Fragen zu Dokumentation und Projekt stellen [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)", + "Join the community|no description given": "Community beitreten", + "Find out what's new with this project on our [blog](./blog)|no description given": "Finde heraus, was mit diesem Projekt auf unserem [blog](./blog) neu ist", + "Stay up to date|no description given": "Bleiben Sie auf dem Laufenden", + "Need help?|no description given": "Brauchen Sie Hilfe?", + "This project is maintained by a dedicated group of people.|statement made to reader": "Dieses Projekt wird von einer engagierten Gruppe von Menschen betreut.", + "Try It Out|no description given": "Probiere es aus", + "Download It|no description given": "Download", + "Docs|no description given": "Dokumente", + "Help Translate|recruit community translators for your project": "Hilf beim Übersetzen", + "Edit this Doc|recruitment message asking to edit the doc source": "Bearbeiten", + "Translate this Doc|recruitment message asking to translate the docs": "Übersetzen" + } +} diff --git a/docs/website/i18n/el.json b/docs/website/i18n/el.json new file mode 100644 index 000000000000..29e5e1279467 --- /dev/null +++ b/docs/website/i18n/el.json @@ -0,0 +1,101 @@ +{ + "_comment": "Αυτό το αρχείο δημιουργείται αυτόματα από write-translations.js", + "localized-strings": { + "next": "Επόμενο", + "previous": "Προηγούμενο", + "tagline": "Μια πύλη/CMS για phpBB 3.2x", + "docs": { + "blocks-custom": { + "title": "Προσαρμοσμένο Μπλοκ" + }, + "blocks-inheritance": { + "title": "Κατανόηση Κληρονομιάς Block" + }, + "blocks-managing": { + "title": "Διαχείριση Κύβων" + }, + "blocks-overview": { + "title": "Τι είναι τα μπλοκ?" + }, + "blocks-views": { + "title": "Αποκλεισμός Προβολών" + }, + "contrib-overview": { + "title": "Συμμετέχετε" + }, + "contrib-pull-requests": { + "title": "Υποβολή αιτήματος έλξης", + "sidebar_label": "Αιτήσεις Λήψης" + }, + "contrib-translators": { + "title": "Μεταφραστές" + }, + "developer-events": { + "title": "Εκδηλώσεις του phpBB SiteMaker" + }, + "developer-extensions": { + "title": "Επέκταση phpBB SiteMaker" + }, + "developer-theming": { + "title": "Θέμα" + }, + "installation": { + "title": "Εγκατάσταση / Αναβάθμιση" + }, + "introduction": { + "title": "Εισαγωγή" + }, + "menus-display": { + "title": "Εμφάνιση Μενού" + }, + "menus-managing-items": { + "title": "Διαχείριση Στοιχείων Μενού" + }, + "menus-managing": { + "title": "Διαχείριση Μενού" + }, + "site-block-modifiers": { + "title": "Προσαρμογή Οθόνης Μπλοκ" + }, + "site-default-layout": { + "title": "Ορισμός μιας προκαθορισμένης διάταξης" + }, + "site-layouts": { + "title": "Διατάξεις" + }, + "site-navbar": { + "title": "Γραμμή Πλοήγησης" + }, + "site-startpage": { + "title": "Ορισμός μιας αρχικής σελίδας" + } + }, + "links": { + "Docs": "Έγγραφα", + "Help": "Βοήθεια", + "Blog": "Ιστολόγιο", + "Github": "Github" + }, + "categories": { + "User Guide": "Οδηγός Χρήσης", + "Developer Guide": "Οδηγός Προγραμματιστή", + "Contribute": "Συνεισφέρετε" + } + }, + "pages-strings": { + "Learn more using the [documentation on this site.](/docs/en/introduction.html)|no description given": "Μάθετε περισσότερα χρησιμοποιώντας την [τεκμηρίωση σε αυτόν τον ιστότοπο.](/docs/en/introduction.html)", + "Browse Docs|no description given": "Περιήγηση Στα Έγγραφα", + "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)|no description given": "Ζητήστε ερωτήσεις σχετικά με την τεκμηρίωση και το έργο [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)", + "Join the community|no description given": "Γίνετε μέλος της κοινότητας", + "Find out what's new with this project on our [blog](./blog)|no description given": "Μάθετε τι νέο υπάρχει με αυτό το έργο στο [blog](./blog)", + "Stay up to date|no description given": "Μείνετε ενημερωμένοι", + "Need help?|no description given": "Χρειάζεστε βοήθεια?", + "This project is maintained by a dedicated group of people.|statement made to reader": "Το έργο αυτό διατηρείται από μια αφοσιωμένη ομάδα ανθρώπων.", + "Try It Out|no description given": "Δοκιμάστε Το", + "Download It|no description given": "Κατεβάστε Το", + "Docs|no description given": "Έγγραφα", + "Help Translate|recruit community translators for your project": "Βοηθήστε Στη Μετάφραση", + "Edit this Doc|recruitment message asking to edit the doc source": "Επεξεργασία", + "Translate this Doc|recruitment message asking to translate the docs": "Μετάφραση" + } +} diff --git a/docs/website/i18n/es.json b/docs/website/i18n/es.json new file mode 100644 index 000000000000..8eb7a179a10f --- /dev/null +++ b/docs/website/i18n/es.json @@ -0,0 +1,101 @@ +{ + "_comment": "Este archivo es auto-generado por write-translations.js", + "localized-strings": { + "next": "Siguiente", + "previous": "Anterior", + "tagline": "Un portal/CMS para phpBB 3.2x", + "docs": { + "blocks-custom": { + "title": "Bloque personalizado" + }, + "blocks-inheritance": { + "title": "Entender Herencia de Bloques" + }, + "blocks-managing": { + "title": "Mananaging Blocks" + }, + "blocks-overview": { + "title": "¿Qué son los bloques?" + }, + "blocks-views": { + "title": "Bloquear vistas" + }, + "contrib-overview": { + "title": "Involúcrate" + }, + "contrib-pull-requests": { + "title": "Enviando una Pull Request", + "sidebar_label": "Pull Requests" + }, + "contrib-translators": { + "title": "Traductores" + }, + "developer-events": { + "title": "phpBB Eventos de SiteMaker" + }, + "developer-extensions": { + "title": "Extendiendo phpBB SiteMaker" + }, + "developer-theming": { + "title": "Tema" + }, + "installation": { + "title": "Instalando / Actualizando" + }, + "introduction": { + "title": "Introducción" + }, + "menus-display": { + "title": "Mostrando Menús" + }, + "menus-managing-items": { + "title": "Gestionar elementos del menú" + }, + "menus-managing": { + "title": "Gestionar Menús" + }, + "site-block-modifiers": { + "title": "Personalizar pantalla de bloques" + }, + "site-default-layout": { + "title": "Establecer un diseño por defecto" + }, + "site-layouts": { + "title": "Diseños" + }, + "site-navbar": { + "title": "Barra de navegación" + }, + "site-startpage": { + "title": "Configurando una página inicial" + } + }, + "links": { + "Docs": "Doc", + "Help": "Ayuda", + "Blog": "Blog", + "Github": "Github" + }, + "categories": { + "User Guide": "Guía de usuario", + "Developer Guide": "Guía del desarrollador", + "Contribute": "Contribuir" + } + }, + "pages-strings": { + "Learn more using the [documentation on this site.](/docs/en/introduction.html)|no description given": "Aprende más usando la [documentación en este sitio.](/docs/es/introduction.html)", + "Browse Docs|no description given": "Examinar Docs", + "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)|no description given": "Preguntas sobre la documentación y el proyecto [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)", + "Join the community|no description given": "Únete a la comunidad", + "Find out what's new with this project on our [blog](./blog)|no description given": "Descubre lo nuevo de este proyecto en nuestro [blog](./blog)", + "Stay up to date|no description given": "Mantente al día", + "Need help?|no description given": "¿Necesita ayuda?", + "This project is maintained by a dedicated group of people.|statement made to reader": "Este proyecto es mantenido por un grupo de personas dedicado.", + "Try It Out|no description given": "Pruébalo", + "Download It|no description given": "Descargar", + "Docs|no description given": "Doc", + "Help Translate|recruit community translators for your project": "Ayudar a traducir", + "Edit this Doc|recruitment message asking to edit the doc source": "Editar", + "Translate this Doc|recruitment message asking to translate the docs": "Traducir" + } +} diff --git a/docs/website/i18n/fr.json b/docs/website/i18n/fr.json new file mode 100644 index 000000000000..6629553d250a --- /dev/null +++ b/docs/website/i18n/fr.json @@ -0,0 +1,101 @@ +{ + "_comment": "Ce fichier est généré automatiquement par write-translations.js", + "localized-strings": { + "next": "Suivant", + "previous": "Précédent", + "tagline": "Un portail/CMS pour phpBB 3.2x", + "docs": { + "blocks-custom": { + "title": "Bloc personnalisé" + }, + "blocks-inheritance": { + "title": "Comprendre l'héritage des blocs" + }, + "blocks-managing": { + "title": "Gestion des Blocs" + }, + "blocks-overview": { + "title": "Que sont les blocs ?" + }, + "blocks-views": { + "title": "Vue de bloc" + }, + "contrib-overview": { + "title": "Impliquez-vous" + }, + "contrib-pull-requests": { + "title": "Soumettre une demande de Pull", + "sidebar_label": "Demandes de Pull" + }, + "contrib-translators": { + "title": "Traducteurs" + }, + "developer-events": { + "title": "Événements phpBB SiteMaker" + }, + "developer-extensions": { + "title": "Extension du siteMaker phpBB" + }, + "developer-theming": { + "title": "Thème" + }, + "installation": { + "title": "Installation / Mise à jour" + }, + "introduction": { + "title": "Introduction" + }, + "menus-display": { + "title": "Affichage des menus" + }, + "menus-managing-items": { + "title": "Gérer les éléments du menu" + }, + "menus-managing": { + "title": "Gérer les menus" + }, + "site-block-modifiers": { + "title": "Affichage des blocs personnalisés" + }, + "site-default-layout": { + "title": "Définir une mise en page par défaut" + }, + "site-layouts": { + "title": "Dispositions" + }, + "site-navbar": { + "title": "Barre de navigation" + }, + "site-startpage": { + "title": "Définir une page de début" + } + }, + "links": { + "Docs": "Docs", + "Help": "Aide", + "Blog": "Blog", + "Github": "Github" + }, + "categories": { + "User Guide": "Guide utilisateur", + "Developer Guide": "Guide développeur", + "Contribute": "Contribuer" + } + }, + "pages-strings": { + "Learn more using the [documentation on this site.](/docs/en/introduction.html)|no description given": "En savoir plus en utilisant la [documentation sur ce site.](/docs/fr/introduction.html)", + "Browse Docs|no description given": "Parcourir les documents", + "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)|no description given": "Posez des questions sur la documentation et le projet [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)", + "Join the community|no description given": "Rejoindre la communauté", + "Find out what's new with this project on our [blog](./blog)|no description given": "Découvrez les nouveautés de ce projet sur notre [blog](./blog)", + "Stay up to date|no description given": "Restez à jour", + "Need help?|no description given": "Besoin d'aide ?", + "This project is maintained by a dedicated group of people.|statement made to reader": "Ce projet est maintenu par un groupe de personnes dévouées.", + "Try It Out|no description given": "Essayez-le", + "Download It|no description given": "Télécharger", + "Docs|no description given": "Docs", + "Help Translate|recruit community translators for your project": "Aider à traduire", + "Edit this Doc|recruitment message asking to edit the doc source": "Editer", + "Translate this Doc|recruitment message asking to translate the docs": "Traduire" + } +} diff --git a/docs/website/i18n/he.json b/docs/website/i18n/he.json new file mode 100644 index 000000000000..fb6b4386f4d7 --- /dev/null +++ b/docs/website/i18n/he.json @@ -0,0 +1,101 @@ +{ + "_comment": "This file is auto-generated by write-translations.js", + "localized-strings": { + "next": "Next", + "previous": "Previous", + "tagline": "A portal/CMS for phpBB 3.2x", + "docs": { + "blocks-custom": { + "title": "Custom Block" + }, + "blocks-inheritance": { + "title": "Understanding Block Inheritance" + }, + "blocks-managing": { + "title": "Managing Blocks" + }, + "blocks-overview": { + "title": "What are blocks?" + }, + "blocks-views": { + "title": "Block Views" + }, + "contrib-overview": { + "title": "Get Involved" + }, + "contrib-pull-requests": { + "title": "Submitting a Pull Request", + "sidebar_label": "Pull Requests" + }, + "contrib-translators": { + "title": "Translators" + }, + "developer-events": { + "title": "phpBB SiteMaker Events" + }, + "developer-extensions": { + "title": "Extending phpBB SiteMaker" + }, + "developer-theming": { + "title": "Theming" + }, + "installation": { + "title": "Installing / Upgrading" + }, + "introduction": { + "title": "Introduction" + }, + "menus-display": { + "title": "Displaying Menus" + }, + "menus-managing-items": { + "title": "Managing Menu Items" + }, + "menus-managing": { + "title": "Managing Menus" + }, + "site-block-modifiers": { + "title": "Customizing Blocks Display" + }, + "site-default-layout": { + "title": "Setting a Default Layout" + }, + "site-layouts": { + "title": "Layouts" + }, + "site-navbar": { + "title": "Navigation Bar" + }, + "site-startpage": { + "title": "Setting a Start Page" + } + }, + "links": { + "Docs": "Docs", + "Help": "Help", + "Blog": "Blog", + "Github": "Github" + }, + "categories": { + "User Guide": "User Guide", + "Developer Guide": "Developer Guide", + "Contribute": "Contribute" + } + }, + "pages-strings": { + "Learn more using the [documentation on this site.](/docs/en/introduction.html)|no description given": "Learn more using the [documentation on this site.](/docs/en/introduction.html)", + "Browse Docs|no description given": "Browse Docs", + "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)|no description given": "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)", + "Join the community|no description given": "Join the community", + "Find out what's new with this project on our [blog](./blog)|no description given": "Find out what's new with this project on our [blog](./blog)", + "Stay up to date|no description given": "Stay up to date", + "Need help?|no description given": "Need help?", + "This project is maintained by a dedicated group of people.|statement made to reader": "This project is maintained by a dedicated group of people.", + "Try It Out|no description given": "Try It Out", + "Download It|no description given": "Download It", + "Docs|no description given": "Docs", + "Help Translate|recruit community translators for your project": "Help Translate", + "Edit this Doc|recruitment message asking to edit the doc source": "Edit", + "Translate this Doc|recruitment message asking to translate the docs": "Translate" + } +} diff --git a/docs/website/i18n/hr.json b/docs/website/i18n/hr.json new file mode 100644 index 000000000000..cc2b8a83bc92 --- /dev/null +++ b/docs/website/i18n/hr.json @@ -0,0 +1,101 @@ +{ + "_comment": "This file is auto-generated by write-translations.js", + "localized-strings": { + "next": "Next", + "previous": "Previous", + "tagline": "A portal/CMS for phpBB 3.2x", + "docs": { + "blocks-custom": { + "title": "Custom Block" + }, + "blocks-inheritance": { + "title": "Understanding Block Inheritance" + }, + "blocks-managing": { + "title": "Mananaging Blocks" + }, + "blocks-overview": { + "title": "What are blocks?" + }, + "blocks-views": { + "title": "Block Views" + }, + "contrib-overview": { + "title": "Get Involved" + }, + "contrib-pull-requests": { + "title": "Submitting a Pull Request", + "sidebar_label": "Pull Requests" + }, + "contrib-translators": { + "title": "Translators" + }, + "developer-events": { + "title": "phpBB SiteMaker Events" + }, + "developer-extensions": { + "title": "Extending phpBB SiteMaker" + }, + "developer-theming": { + "title": "Theming" + }, + "installation": { + "title": "Installing / Upgrading" + }, + "introduction": { + "title": "Introduction" + }, + "menus-display": { + "title": "Displaying Menus" + }, + "menus-managing-items": { + "title": "Managing Menu Items" + }, + "menus-managing": { + "title": "Managing Menus" + }, + "site-block-modifiers": { + "title": "Customizing Blocks Display" + }, + "site-default-layout": { + "title": "Setting a Default Layout" + }, + "site-layouts": { + "title": "Layouts" + }, + "site-navbar": { + "title": "Navigation Bar" + }, + "site-startpage": { + "title": "Setting a Start Page" + } + }, + "links": { + "Docs": "Docs", + "Help": "Help", + "Blog": "Blog", + "Github": "Github" + }, + "categories": { + "User Guide": "User Guide", + "Developer Guide": "Developer Guide", + "Contribute": "Contribute" + } + }, + "pages-strings": { + "Learn more using the [documentation on this site.](/docs/en/introduction.html)|no description given": "Learn more using the [documentation on this site.](/docs/en/introduction.html)", + "Browse Docs|no description given": "Browse Docs", + "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)|no description given": "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)", + "Join the community|no description given": "Join the community", + "Find out what's new with this project on our [blog](./blog)|no description given": "Find out what's new with this project on our [blog](./blog)", + "Stay up to date|no description given": "Stay up to date", + "Need help?|no description given": "Need help?", + "This project is maintained by a dedicated group of people.|statement made to reader": "This project is maintained by a dedicated group of people.", + "Try It Out|no description given": "Try It Out", + "Download It|no description given": "Download It", + "Docs|no description given": "Docs", + "Help Translate|recruit community translators for your project": "Help Translate", + "Edit this Doc|recruitment message asking to edit the doc source": "Edit", + "Translate this Doc|recruitment message asking to translate the docs": "Translate" + } +} diff --git a/docs/website/i18n/it.json b/docs/website/i18n/it.json new file mode 100644 index 000000000000..e17c29c03177 --- /dev/null +++ b/docs/website/i18n/it.json @@ -0,0 +1,101 @@ +{ + "_comment": "Questo file è generato automaticamente da write-translations.js", + "localized-strings": { + "next": "Avanti", + "previous": "Precedente", + "tagline": "Un portale/CMS per phpBB 3.2x", + "docs": { + "blocks-custom": { + "title": "Blocco personalizzato" + }, + "blocks-inheritance": { + "title": "Eredità Blocco Understanding" + }, + "blocks-managing": { + "title": "Gestione dei blocchi" + }, + "blocks-overview": { + "title": "Quali sono i blocchi?" + }, + "blocks-views": { + "title": "Viste blocco" + }, + "contrib-overview": { + "title": "Coinvolgi" + }, + "contrib-pull-requests": { + "title": "Invio di una Pull Request", + "sidebar_label": "Pull Requests" + }, + "contrib-translators": { + "title": "Traduttori" + }, + "developer-events": { + "title": "phpBB SiteMaker eventi" + }, + "developer-extensions": { + "title": "Estendi phpBB SiteMaker" + }, + "developer-theming": { + "title": "Tema" + }, + "installation": { + "title": "Installazione / Aggiornamento" + }, + "introduction": { + "title": "Introduzione" + }, + "menus-display": { + "title": "Visualizzazione menu" + }, + "menus-managing-items": { + "title": "Gestione delle voci di menu" + }, + "menus-managing": { + "title": "Gestione menu" + }, + "site-block-modifiers": { + "title": "Visualizzazione dei blocchi personalizzati" + }, + "site-default-layout": { + "title": "Impostazione Layout Predefinito" + }, + "site-layouts": { + "title": "Layout" + }, + "site-navbar": { + "title": "Barra di navigazione" + }, + "site-startpage": { + "title": "Impostazione di una pagina iniziale" + } + }, + "links": { + "Docs": "Docs", + "Help": "Aiuto", + "Blog": "Blog", + "Github": "Github" + }, + "categories": { + "User Guide": "Guida Utente", + "Developer Guide": "Guida Sviluppatore", + "Contribute": "Contribuisci" + } + }, + "pages-strings": { + "Learn more using the [documentation on this site.](/docs/en/introduction.html)|no description given": "Ulteriori informazioni utilizzando la [documentazione su questo sito.](/docs/en/introduction.html)", + "Browse Docs|no description given": "Sfoglia Docs", + "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)|no description given": "Fai domande sulla documentazione e sul progetto [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)", + "Join the community|no description given": "Unisciti alla community", + "Find out what's new with this project on our [blog](./blog)|no description given": "Scopri cosa c'è di nuovo con questo progetto sul nostro [blog](./blog)", + "Stay up to date|no description given": "Rimani aggiornato", + "Need help?|no description given": "Hai bisogno di aiuto?", + "This project is maintained by a dedicated group of people.|statement made to reader": "Questo progetto è sostenuto da un gruppo di persone dedicato.", + "Try It Out|no description given": "Provalo", + "Download It|no description given": "Scaricalo", + "Docs|no description given": "Docs", + "Help Translate|recruit community translators for your project": "Aiuta a tradurre", + "Edit this Doc|recruitment message asking to edit the doc source": "Modifica", + "Translate this Doc|recruitment message asking to translate the docs": "Traduci" + } +} diff --git a/docs/website/i18n/ja.json b/docs/website/i18n/ja.json new file mode 100644 index 000000000000..9210abc729a6 --- /dev/null +++ b/docs/website/i18n/ja.json @@ -0,0 +1,101 @@ +{ + "_comment": "このファイルはwrite-translations.jsによって自動生成されます", + "localized-strings": { + "next": "次へ", + "previous": "前", + "tagline": "phpBB 3.2x用のポータル/CMS", + "docs": { + "blocks-custom": { + "title": "カスタムブロック" + }, + "blocks-inheritance": { + "title": "ブロック継承を理解する" + }, + "blocks-managing": { + "title": "ブロックの管理" + }, + "blocks-overview": { + "title": "ブロックとは?" + }, + "blocks-views": { + "title": "ブロックビュー" + }, + "contrib-overview": { + "title": "参加する" + }, + "contrib-pull-requests": { + "title": "プルリクエストを送信中", + "sidebar_label": "取得リクエスト" + }, + "contrib-translators": { + "title": "翻訳" + }, + "developer-events": { + "title": "phpBBサイトメーカーのイベント" + }, + "developer-extensions": { + "title": "phpBBサイトメーカーを拡張" + }, + "developer-theming": { + "title": "テーマ" + }, + "installation": { + "title": "インストール/アップグレード" + }, + "introduction": { + "title": "はじめに" + }, + "menus-display": { + "title": "メニューを表示" + }, + "menus-managing-items": { + "title": "メニューアイテムの管理" + }, + "menus-managing": { + "title": "メニューの管理" + }, + "site-block-modifiers": { + "title": "ブロックの表示をカスタマイズ" + }, + "site-default-layout": { + "title": "デフォルトレイアウトの設定" + }, + "site-layouts": { + "title": "レイアウト" + }, + "site-navbar": { + "title": "ナビゲーションバー" + }, + "site-startpage": { + "title": "スタートページの設定" + } + }, + "links": { + "Docs": "ドキュメント", + "Help": "ヘルプ", + "Blog": "ブログ", + "Github": "Github" + }, + "categories": { + "User Guide": "ユーザーガイド", + "Developer Guide": "開発者ガイド", + "Contribute": "貢献" + } + }, + "pages-strings": { + "Learn more using the [documentation on this site.](/docs/en/introduction.html)|no description given": "format@@0(/docs/en/introduction.html) を使って詳細を見る", + "Browse Docs|no description given": "ドキュメントを参照", + "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)|no description given": "ドキュメントとプロジェクトについて質問する [here](https://www.phpbb.com/customise/db/extension/phpb_sitemaker_2/support)", + "Join the community|no description given": "コミュニティに参加する", + "Find out what's new with this project on our [blog](./blog)|no description given": "このプロジェクトの最新情報は [blog](./blog) でご確認ください。", + "Stay up to date|no description given": "最新の状態にする", + "Need help?|no description given": "ヘルプが必要ですか?", + "This project is maintained by a dedicated group of people.|statement made to reader": "このプロジェクトは、専用のグループによって維持されています。", + "Try It Out|no description given": "お試しください", + "Download It|no description given": "ダウンロードする", + "Docs|no description given": "ドキュメント", + "Help Translate|recruit community translators for your project": "翻訳に協力する", + "Edit this Doc|recruitment message asking to edit the doc source": "編集", + "Translate this Doc|recruitment message asking to translate the docs": "翻訳する" + } +} diff --git a/docs/website/i18n/nb.json b/docs/website/i18n/nb.json new file mode 100644 index 000000000000..81046c4844be --- /dev/null +++ b/docs/website/i18n/nb.json @@ -0,0 +1,101 @@ +{ + "_comment": "Denne filen er automatisk generert av skrive-oversettelser.js", + "localized-strings": { + "next": "Neste", + "previous": "Forrige", + "tagline": "En portal/CMS for phpBB 3.2x", + "docs": { + "blocks-custom": { + "title": "Egendefinert blokk" + }, + "blocks-inheritance": { + "title": "Forstå blokkarving" + }, + "blocks-managing": { + "title": "Mananaging Blocks" + }, + "blocks-overview": { + "title": "Hva er blokker?" + }, + "blocks-views": { + "title": "Blokker Visninger" + }, + "contrib-overview": { + "title": "Engasjer deg" + }, + "contrib-pull-requests": { + "title": "Sender en trekkforespørsel", + "sidebar_label": "Rull Requests" + }, + "contrib-translators": { + "title": "Oversettere" + }, + "developer-events": { + "title": "phpBB SiteMaker Hendelser" + }, + "developer-extensions": { + "title": "Utvide phpBB SiteMaker" + }, + "developer-theming": { + "title": "Utseende" + }, + "installation": { + "title": "Installerer / oppgradering" + }, + "introduction": { + "title": "Introduksjon" + }, + "menus-display": { + "title": "Viser menyer" + }, + "menus-managing-items": { + "title": "Administrere menyelementer" + }, + "menus-managing": { + "title": "Administrere menyer" + }, + "site-block-modifiers": { + "title": "Tilpasse visning av blokker" + }, + "site-default-layout": { + "title": "Angi en standard oppsett" + }, + "site-layouts": { + "title": "Oppsett" + }, + "site-navbar": { + "title": "Navigasjonsfelt (Automatic Translation)" + }, + "site-startpage": { + "title": "Angi en startside" + } + }, + "links": { + "Docs": "Dokumenter", + "Help": "Hjelp", + "Blog": "Blogg", + "Github": "Github" + }, + "categories": { + "User Guide": "Bruker Guide", + "Developer Guide": "Utvikler Guide", + "Contribute": "Bidra" + } + }, + "pages-strings": { + "Learn more using the [documentation on this site.](/docs/en/introduction.html)|no description given": "Lær mer ved hjelp av [dokumentasjon på dette nettstedet.](/docs/en/introduction.html)", + "Browse Docs|no description given": "Bla gjennom dokumenter", + "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)|no description given": "Spør om dokumentasjonen og prosjektet [here](https://www.phpbbb.com/customise/db/extension/phpbb_sitemaker_2/support)", + "Join the community|no description given": "Bli med i samfunnet", + "Find out what's new with this project on our [blog](./blog)|no description given": "Finn ut hva som er nytt med dette prosjektet på vårt [blog](./blog)", + "Stay up to date|no description given": "Hold deg oppdatert", + "Need help?|no description given": "Trenger du hjelp?", + "This project is maintained by a dedicated group of people.|statement made to reader": "Dette prosjektet vedlikeholdes av en dedikert gruppe med personer.", + "Try It Out|no description given": "Prøv det ut", + "Download It|no description given": "Last ned den", + "Docs|no description given": "Dokumenter", + "Help Translate|recruit community translators for your project": "Hjelp med oversetting", + "Edit this Doc|recruitment message asking to edit the doc source": "Rediger", + "Translate this Doc|recruitment message asking to translate the docs": "Oversett" + } +} diff --git a/docs/website/i18n/nl.json b/docs/website/i18n/nl.json new file mode 100644 index 000000000000..8b4a5552b6a7 --- /dev/null +++ b/docs/website/i18n/nl.json @@ -0,0 +1,101 @@ +{ + "_comment": "Dit bestand wordt automatisch gegenereerd door schrijfvertalingen.js", + "localized-strings": { + "next": "Volgende", + "previous": "Vorige", + "tagline": "Een portaal/CMS voor phpBB 3.2x", + "docs": { + "blocks-custom": { + "title": "Aangepaste blok" + }, + "blocks-inheritance": { + "title": "Erkennende Blok Ererisief" + }, + "blocks-managing": { + "title": "Blokken beheren" + }, + "blocks-overview": { + "title": "Wat zijn blokken?" + }, + "blocks-views": { + "title": "Blokkeer weergaven" + }, + "contrib-overview": { + "title": "Involved" + }, + "contrib-pull-requests": { + "title": "Een Pull request indienen", + "sidebar_label": "Pull verzoeken" + }, + "contrib-translators": { + "title": "Vertalers" + }, + "developer-events": { + "title": "phpBB SiteMaker Evenementen" + }, + "developer-extensions": { + "title": "Extensie phpBB SiteMaker" + }, + "developer-theming": { + "title": "Thema" + }, + "installation": { + "title": "Installeren / Upgraden" + }, + "introduction": { + "title": "Inleiding" + }, + "menus-display": { + "title": "Menu's weergeven" + }, + "menus-managing-items": { + "title": "Menu-items beheren" + }, + "menus-managing": { + "title": "Menu's beheren" + }, + "site-block-modifiers": { + "title": "Blocks display aanpassen" + }, + "site-default-layout": { + "title": "Standaard lay-out instellen" + }, + "site-layouts": { + "title": "Lay-outs" + }, + "site-navbar": { + "title": "Navigatiebalk" + }, + "site-startpage": { + "title": "Een startpagina instellen" + } + }, + "links": { + "Docs": "Docs", + "Help": "Help", + "Blog": "Blog", + "Github": "Github" + }, + "categories": { + "User Guide": "Gebruikershandleiding", + "Developer Guide": "Ontwikkelaargids", + "Contribute": "Bijdragen" + } + }, + "pages-strings": { + "Learn more using the [documentation on this site.](/docs/en/introduction.html)|no description given": "Leer meer met de [documentatie op deze site.](/docs/nl/introduction.html)", + "Browse Docs|no description given": "Blader door Docs", + "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)|no description given": "Stel vragen over de documentatie en project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)", + "Join the community|no description given": "Deelnemen aan de community", + "Find out what's new with this project on our [blog](./blog)|no description given": "Ontdek wat er nieuw is met dit project op ons [blog](./blog)", + "Stay up to date|no description given": "Blijf up-to-date", + "Need help?|no description given": "Hulp nodig?", + "This project is maintained by a dedicated group of people.|statement made to reader": "Dit project wordt onderhouden door een toegewijde groep mensen.", + "Try It Out|no description given": "Probeer het uit", + "Download It|no description given": "Download het", + "Docs|no description given": "Docs", + "Help Translate|recruit community translators for your project": "Help vertalen", + "Edit this Doc|recruitment message asking to edit the doc source": "Bewerken", + "Translate this Doc|recruitment message asking to translate the docs": "Vertalen" + } +} diff --git a/docs/website/i18n/pl.json b/docs/website/i18n/pl.json new file mode 100644 index 000000000000..4c8b468026d0 --- /dev/null +++ b/docs/website/i18n/pl.json @@ -0,0 +1,101 @@ +{ + "_comment": "Ten plik jest automatycznie generowany przez write-translations.js", + "localized-strings": { + "next": "Następny", + "previous": "Poprzedni", + "tagline": "Portal / CMS dla phpBB 3.2x", + "docs": { + "blocks-custom": { + "title": "Własny blok" + }, + "blocks-inheritance": { + "title": "Zrozumienie dziedziczenia bloku" + }, + "blocks-managing": { + "title": "Mananaging Blocks" + }, + "blocks-overview": { + "title": "Czym są bloki?" + }, + "blocks-views": { + "title": "Blokuj widoki" + }, + "contrib-overview": { + "title": "Zaangażuj się" + }, + "contrib-pull-requests": { + "title": "Przesyłanie Pull Request", + "sidebar_label": "Żądania ściągnięcia" + }, + "contrib-translators": { + "title": "Tłumacze" + }, + "developer-events": { + "title": "phpBB SiteMaker Wydarzenia" + }, + "developer-extensions": { + "title": "Rozszerzenie phpBB SiteMaker" + }, + "developer-theming": { + "title": "Motywowanie" + }, + "installation": { + "title": "Instalacja / Aktualizacja" + }, + "introduction": { + "title": "Wstęp" + }, + "menus-display": { + "title": "Wyświetlane menu" + }, + "menus-managing-items": { + "title": "Zarządzanie elementami menu" + }, + "menus-managing": { + "title": "Zarządzanie menu" + }, + "site-block-modifiers": { + "title": "Dostosuj wyświetlanie bloków" + }, + "site-default-layout": { + "title": "Ustawienie domyślnego układu" + }, + "site-layouts": { + "title": "Układy" + }, + "site-navbar": { + "title": "Pasek nawigacji" + }, + "site-startpage": { + "title": "Ustawianie strony startowej" + } + }, + "links": { + "Docs": "Dokumentacja", + "Help": "Pomoc", + "Blog": "Blog", + "Github": "GitHub" + }, + "categories": { + "User Guide": "Podręcznik użytkownika", + "Developer Guide": "Przewodnik programisty", + "Contribute": "Wesprzyj" + } + }, + "pages-strings": { + "Learn more using the [documentation on this site.](/docs/en/introduction.html)|no description given": "Dowiedz się więcej za pomocą [dokumentacji na tej stronie.](/docs/en/introduction.html)", + "Browse Docs|no description given": "Przeglądaj dokumentację", + "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)|no description given": "Zadaj pytania o dokumentację i projekt [here](https://www.phpb.com/customise/db/extension/phpb_sitemaker_2/support)", + "Join the community|no description given": "Dołącz do społeczności", + "Find out what's new with this project on our [blog](./blog)|no description given": "Dowiedz się, co nowego z tym projektem na naszym [blog](./blog)", + "Stay up to date|no description given": "Bądź na bieżąco", + "Need help?|no description given": "Potrzebujesz pomocy?", + "This project is maintained by a dedicated group of people.|statement made to reader": "Projekt ten jest utrzymywany przez specjalną grupę osób.", + "Try It Out|no description given": "Wypróbuj", + "Download It|no description given": "Pobierz", + "Docs|no description given": "Dokumentacja", + "Help Translate|recruit community translators for your project": "Pomóż w tłumaczeniu", + "Edit this Doc|recruitment message asking to edit the doc source": "Edytuj", + "Translate this Doc|recruitment message asking to translate the docs": "Przetłumacz" + } +} diff --git a/docs/website/i18n/pt.json b/docs/website/i18n/pt.json new file mode 100644 index 000000000000..87d907fbc86b --- /dev/null +++ b/docs/website/i18n/pt.json @@ -0,0 +1,101 @@ +{ + "_comment": "Este arquivo é gerado automaticamente por write-translations.js", + "localized-strings": { + "next": "Próximo", + "previous": "Anterior", + "tagline": "Um portal/CMS para phpBB 3.2x", + "docs": { + "blocks-custom": { + "title": "Bloco personalizado" + }, + "blocks-inheritance": { + "title": "Herança do Bloco Entendido" + }, + "blocks-managing": { + "title": "Mananaging Blocks" + }, + "blocks-overview": { + "title": "O que são blocos?" + }, + "blocks-views": { + "title": "Vista de Bloco" + }, + "contrib-overview": { + "title": "Envolva-se" + }, + "contrib-pull-requests": { + "title": "Enviando um Pull Request", + "sidebar_label": "Pull requests" + }, + "contrib-translators": { + "title": "Tradutores" + }, + "developer-events": { + "title": "eventos do phpBB SiteMaker" + }, + "developer-extensions": { + "title": "Estender o SiteMaker phpBB" + }, + "developer-theming": { + "title": "Temas" + }, + "installation": { + "title": "Instalando / Atualizando" + }, + "introduction": { + "title": "Introdução" + }, + "menus-display": { + "title": "Exibindo menus" + }, + "menus-managing-items": { + "title": "Gerenciando Itens de Menu" + }, + "menus-managing": { + "title": "Gerenciando Menus" + }, + "site-block-modifiers": { + "title": "Personalizando Exibição de Blocos" + }, + "site-default-layout": { + "title": "Definindo um Layout Padrão" + }, + "site-layouts": { + "title": "Layouts" + }, + "site-navbar": { + "title": "Barra de navegação" + }, + "site-startpage": { + "title": "Definindo uma Página Inicial" + } + }, + "links": { + "Docs": "Doces", + "Help": "Ajuda", + "Blog": "Blog", + "Github": "Github" + }, + "categories": { + "User Guide": "Guia do usuário", + "Developer Guide": "Guia do desenvolvedor", + "Contribute": "Contribuir" + } + }, + "pages-strings": { + "Learn more using the [documentation on this site.](/docs/en/introduction.html)|no description given": "Aprenda mais usando a [documentação neste site.](/docs/en/introduction.html)", + "Browse Docs|no description given": "Pesquisar Documentos", + "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)|no description given": "Faça perguntas sobre a documentação e o projeto [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)", + "Join the community|no description given": "Junte-se à comunidade", + "Find out what's new with this project on our [blog](./blog)|no description given": "Descubra o que há de novo com este projeto em nosso [blog](./blog)", + "Stay up to date|no description given": "Mantenha-se atualizado", + "Need help?|no description given": "Precisa de ajuda?", + "This project is maintained by a dedicated group of people.|statement made to reader": "Este projecto é mantido por um grupo dedicado de pessoas.", + "Try It Out|no description given": "Experimente", + "Download It|no description given": "Baixar", + "Docs|no description given": "Doces", + "Help Translate|recruit community translators for your project": "Ajude a traduzir", + "Edit this Doc|recruitment message asking to edit the doc source": "Editar", + "Translate this Doc|recruitment message asking to translate the docs": "Traduzir" + } +} diff --git a/docs/website/i18n/pt_br.json b/docs/website/i18n/pt_br.json new file mode 100644 index 000000000000..8b6dd0a619a4 --- /dev/null +++ b/docs/website/i18n/pt_br.json @@ -0,0 +1,101 @@ +{ + "_comment": "Este arquivo é gerado automaticamente pelo write-translations.js", + "localized-strings": { + "next": "Próximo", + "previous": "Anterior", + "tagline": "Um portal/CMS para phpBB 3.2x", + "docs": { + "blocks-custom": { + "title": "Bloco personalizado" + }, + "blocks-inheritance": { + "title": "Entendendo a herança de blocos" + }, + "blocks-managing": { + "title": "Mananaging Blocks" + }, + "blocks-overview": { + "title": "O que são blocos?" + }, + "blocks-views": { + "title": "Visualizações do Bloco" + }, + "contrib-overview": { + "title": "Envolva-se" + }, + "contrib-pull-requests": { + "title": "Enviando um Pull Request", + "sidebar_label": "Pull Requests" + }, + "contrib-translators": { + "title": "Tradutores" + }, + "developer-events": { + "title": "phpBB SiteMaker Eventos" + }, + "developer-extensions": { + "title": "Estendendo phpBB SiteMaker" + }, + "developer-theming": { + "title": "Temas" + }, + "installation": { + "title": "Instalando / Atualizando" + }, + "introduction": { + "title": "Introdução" + }, + "menus-display": { + "title": "Exibindo Menus" + }, + "menus-managing-items": { + "title": "Gerenciando itens de menu" + }, + "menus-managing": { + "title": "Gerenciando Menus" + }, + "site-block-modifiers": { + "title": "Personalizando exibição de blocos" + }, + "site-default-layout": { + "title": "Definindo um Layout Padrão" + }, + "site-layouts": { + "title": "Layouts" + }, + "site-navbar": { + "title": "Barra de Navegação" + }, + "site-startpage": { + "title": "Configurando uma página inicial" + } + }, + "links": { + "Docs": "Documentação", + "Help": "Socorro", + "Blog": "Blogue", + "Github": "Github" + }, + "categories": { + "User Guide": "Manual do Usuário", + "Developer Guide": "Guia do Desenvolvedor", + "Contribute": "Contribuir" + } + }, + "pages-strings": { + "Learn more using the [documentation on this site.](/docs/en/introduction.html)|no description given": "Aprenda mais usando a [documentação nesse site.](/docs/en/introduction.html)", + "Browse Docs|no description given": "Navegar pela documentação", + "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)|no description given": "Faça perguntas sobre a documentação e projeto [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)", + "Join the community|no description given": "Junte-se à comunidade", + "Find out what's new with this project on our [blog](./blog)|no description given": "Descubra o que há de novo neste projeto no nosso [blog](./blog)", + "Stay up to date|no description given": "Mantenha-se atualizado", + "Need help?|no description given": "Precisa de ajuda?", + "This project is maintained by a dedicated group of people.|statement made to reader": "Este projeto é mantido por um grupo dedicado de pessoas.", + "Try It Out|no description given": "Experimente já", + "Download It|no description given": "Baixe ele", + "Docs|no description given": "Documentação", + "Help Translate|recruit community translators for your project": "Ajudar a traduzir", + "Edit this Doc|recruitment message asking to edit the doc source": "Alterar", + "Translate this Doc|recruitment message asking to translate the docs": "Traduzir" + } +} diff --git a/docs/website/i18n/ro.json b/docs/website/i18n/ro.json new file mode 100644 index 000000000000..aca576857fc6 --- /dev/null +++ b/docs/website/i18n/ro.json @@ -0,0 +1,101 @@ +{ + "_comment": "Acest fișier este auto-generat de write-translations.js", + "localized-strings": { + "next": "Următoarea", + "previous": "Anterior", + "tagline": "Un portal/CMS pentru phpBB 3.2x", + "docs": { + "blocks-custom": { + "title": "Bloc personalizat" + }, + "blocks-inheritance": { + "title": "Înțelegerea moștenirii blocului" + }, + "blocks-managing": { + "title": "Mananaging Blocks" + }, + "blocks-overview": { + "title": "Ce sunt blocurile?" + }, + "blocks-views": { + "title": "Vizualizari bloc" + }, + "contrib-overview": { + "title": "Implicați" + }, + "contrib-pull-requests": { + "title": "Trimiterea unei cereri de tragere", + "sidebar_label": "Trageți cererile" + }, + "contrib-translators": { + "title": "Traducători" + }, + "developer-events": { + "title": "Evenimente fpBB SiteMaker" + }, + "developer-extensions": { + "title": "Extindere fpBB SiteMaker" + }, + "developer-theming": { + "title": "Tema" + }, + "installation": { + "title": "Instalare / Actualizare" + }, + "introduction": { + "title": "Introducere" + }, + "menus-display": { + "title": "Afișare Meniuri" + }, + "menus-managing-items": { + "title": "Elemente de meniu gestionat" + }, + "menus-managing": { + "title": "Meniuri de gestionare" + }, + "site-block-modifiers": { + "title": "Particularizare blocuri afişate" + }, + "site-default-layout": { + "title": "Setarea unui Layout implicit" + }, + "site-layouts": { + "title": "Aranjări" + }, + "site-navbar": { + "title": "Bara de navigare" + }, + "site-startpage": { + "title": "Setarea unei pagini de start" + } + }, + "links": { + "Docs": "Documente", + "Help": "Ajutor", + "Blog": "Blog", + "Github": "Github" + }, + "categories": { + "User Guide": "Ghid de utilizator", + "Developer Guide": "Ghid pentru dezvoltatori", + "Contribute": "Contribuie" + } + }, + "pages-strings": { + "Learn more using the [documentation on this site.](/docs/en/introduction.html)|no description given": "Aflați mai multe folosind [documentația de pe acest site.](/docs/en/introduction.html)", + "Browse Docs|no description given": "Caută Documente", + "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)|no description given": "Pune întrebări despre documentație și proiect [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)", + "Join the community|no description given": "Alătură-te comunității", + "Find out what's new with this project on our [blog](./blog)|no description given": "Află ce este nou cu acest proiect pe [blog](./blog)", + "Stay up to date|no description given": "Rămâi la curent", + "Need help?|no description given": "Ai nevoie de ajutor?", + "This project is maintained by a dedicated group of people.|statement made to reader": "Acest proiect este menținut de un grup dedicat de persoane.", + "Try It Out|no description given": "Încercați să ieșiți", + "Download It|no description given": "Descărcaţi Destinat", + "Docs|no description given": "Documente", + "Help Translate|recruit community translators for your project": "Ajută la traducere", + "Edit this Doc|recruitment message asking to edit the doc source": "Editare", + "Translate this Doc|recruitment message asking to translate the docs": "Tradu" + } +} diff --git a/docs/website/i18n/ru.json b/docs/website/i18n/ru.json new file mode 100644 index 000000000000..063de41f51d2 --- /dev/null +++ b/docs/website/i18n/ru.json @@ -0,0 +1,101 @@ +{ + "_comment": "Этот файл создается автоматически при помощи write-translations.js", + "localized-strings": { + "next": "Далее", + "previous": "Предыдущий", + "tagline": "Портал/CMS для phpBB 3.2x", + "docs": { + "blocks-custom": { + "title": "Пользовательский блок" + }, + "blocks-inheritance": { + "title": "Понимание наследства блока" + }, + "blocks-managing": { + "title": "Mananaging Blocks" + }, + "blocks-overview": { + "title": "Что такое блоки?" + }, + "blocks-views": { + "title": "Просмотр блоков" + }, + "contrib-overview": { + "title": "Примите участие" + }, + "contrib-pull-requests": { + "title": "Отправка Pull Request", + "sidebar_label": "Pull Requests" + }, + "contrib-translators": { + "title": "Переводчики" + }, + "developer-events": { + "title": "phpBB SiteMaker события" + }, + "developer-extensions": { + "title": "Расширение phpBB SiteMaker" + }, + "developer-theming": { + "title": "Тематика" + }, + "installation": { + "title": "Установка / обновление" + }, + "introduction": { + "title": "Введение" + }, + "menus-display": { + "title": "Отображение меню" + }, + "menus-managing-items": { + "title": "Управление пунктами меню" + }, + "menus-managing": { + "title": "Управление меню" + }, + "site-block-modifiers": { + "title": "Настройка отображения блоков" + }, + "site-default-layout": { + "title": "Установка макета по умолчанию" + }, + "site-layouts": { + "title": "Макеты" + }, + "site-navbar": { + "title": "Панель навигации" + }, + "site-startpage": { + "title": "Установка стартовой страницы" + } + }, + "links": { + "Docs": "Доки", + "Help": "Помощь", + "Blog": "Блог", + "Github": "Гитуб" + }, + "categories": { + "User Guide": "Руководство пользователя", + "Developer Guide": "Руководство разработчика", + "Contribute": "Помочь" + } + }, + "pages-strings": { + "Learn more using the [documentation on this site.](/docs/en/introduction.html)|no description given": "Узнайте больше, используя [документацию на этом сайте.](/docs/ru/introduction.html)", + "Browse Docs|no description given": "Просмотр документов", + "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)|no description given": "Задать вопросы о документации и проекте [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)", + "Join the community|no description given": "Присоединиться к сообществу", + "Find out what's new with this project on our [blog](./blog)|no description given": "Узнайте, что нового с этим проектом на нашем [blog](./blog)", + "Stay up to date|no description given": "Будьте в курсе", + "Need help?|no description given": "Нужна помощь?", + "This project is maintained by a dedicated group of people.|statement made to reader": "Этот проект поддерживается специальной группой людей.", + "Try It Out|no description given": "Попробуйте", + "Download It|no description given": "Скачать", + "Docs|no description given": "Доки", + "Help Translate|recruit community translators for your project": "Помочь перевести", + "Edit this Doc|recruitment message asking to edit the doc source": "Правка", + "Translate this Doc|recruitment message asking to translate the docs": "Перевести" + } +} diff --git a/docs/website/i18n/sk.json b/docs/website/i18n/sk.json new file mode 100644 index 000000000000..cc2b8a83bc92 --- /dev/null +++ b/docs/website/i18n/sk.json @@ -0,0 +1,101 @@ +{ + "_comment": "This file is auto-generated by write-translations.js", + "localized-strings": { + "next": "Next", + "previous": "Previous", + "tagline": "A portal/CMS for phpBB 3.2x", + "docs": { + "blocks-custom": { + "title": "Custom Block" + }, + "blocks-inheritance": { + "title": "Understanding Block Inheritance" + }, + "blocks-managing": { + "title": "Mananaging Blocks" + }, + "blocks-overview": { + "title": "What are blocks?" + }, + "blocks-views": { + "title": "Block Views" + }, + "contrib-overview": { + "title": "Get Involved" + }, + "contrib-pull-requests": { + "title": "Submitting a Pull Request", + "sidebar_label": "Pull Requests" + }, + "contrib-translators": { + "title": "Translators" + }, + "developer-events": { + "title": "phpBB SiteMaker Events" + }, + "developer-extensions": { + "title": "Extending phpBB SiteMaker" + }, + "developer-theming": { + "title": "Theming" + }, + "installation": { + "title": "Installing / Upgrading" + }, + "introduction": { + "title": "Introduction" + }, + "menus-display": { + "title": "Displaying Menus" + }, + "menus-managing-items": { + "title": "Managing Menu Items" + }, + "menus-managing": { + "title": "Managing Menus" + }, + "site-block-modifiers": { + "title": "Customizing Blocks Display" + }, + "site-default-layout": { + "title": "Setting a Default Layout" + }, + "site-layouts": { + "title": "Layouts" + }, + "site-navbar": { + "title": "Navigation Bar" + }, + "site-startpage": { + "title": "Setting a Start Page" + } + }, + "links": { + "Docs": "Docs", + "Help": "Help", + "Blog": "Blog", + "Github": "Github" + }, + "categories": { + "User Guide": "User Guide", + "Developer Guide": "Developer Guide", + "Contribute": "Contribute" + } + }, + "pages-strings": { + "Learn more using the [documentation on this site.](/docs/en/introduction.html)|no description given": "Learn more using the [documentation on this site.](/docs/en/introduction.html)", + "Browse Docs|no description given": "Browse Docs", + "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)|no description given": "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)", + "Join the community|no description given": "Join the community", + "Find out what's new with this project on our [blog](./blog)|no description given": "Find out what's new with this project on our [blog](./blog)", + "Stay up to date|no description given": "Stay up to date", + "Need help?|no description given": "Need help?", + "This project is maintained by a dedicated group of people.|statement made to reader": "This project is maintained by a dedicated group of people.", + "Try It Out|no description given": "Try It Out", + "Download It|no description given": "Download It", + "Docs|no description given": "Docs", + "Help Translate|recruit community translators for your project": "Help Translate", + "Edit this Doc|recruitment message asking to edit the doc source": "Edit", + "Translate this Doc|recruitment message asking to translate the docs": "Translate" + } +} diff --git a/docs/website/i18n/sv.json b/docs/website/i18n/sv.json new file mode 100644 index 000000000000..c743f7374777 --- /dev/null +++ b/docs/website/i18n/sv.json @@ -0,0 +1,101 @@ +{ + "_comment": "Denna fil genereras automatiskt av write-translations.js", + "localized-strings": { + "next": "Nästa", + "previous": "Föregående", + "tagline": "En portal/CMS för phpBB 3,2x", + "docs": { + "blocks-custom": { + "title": "Anpassat block" + }, + "blocks-inheritance": { + "title": "Förstå Block Arv" + }, + "blocks-managing": { + "title": "Mananaging Blocks" + }, + "blocks-overview": { + "title": "Vad är block?" + }, + "blocks-views": { + "title": "Blockera visningar" + }, + "contrib-overview": { + "title": "Engagera dig" + }, + "contrib-pull-requests": { + "title": "Skicka in en Pull-förfrågan", + "sidebar_label": "Pull förfrågningar" + }, + "contrib-translators": { + "title": "Översättare" + }, + "developer-events": { + "title": "SiteMaker Evenemang för phpBB" + }, + "developer-extensions": { + "title": "Utöka phpBB SiteMaker" + }, + "developer-theming": { + "title": "Tema" + }, + "installation": { + "title": "Installerar / uppgraderar" + }, + "introduction": { + "title": "Introduktion" + }, + "menus-display": { + "title": "Visar menyer" + }, + "menus-managing-items": { + "title": "Hantera menyobjekt" + }, + "menus-managing": { + "title": "Hantera menyer" + }, + "site-block-modifiers": { + "title": "Anpassa Blocks Display" + }, + "site-default-layout": { + "title": "Ställa in en standardlayout" + }, + "site-layouts": { + "title": "Layouter" + }, + "site-navbar": { + "title": "Navigeringsfält" + }, + "site-startpage": { + "title": "Ställer in en startsida" + } + }, + "links": { + "Docs": "Dokument", + "Help": "Hjälp", + "Blog": "Blogg", + "Github": "Github" + }, + "categories": { + "User Guide": "Användarhandbok", + "Developer Guide": "Guide för utvecklare", + "Contribute": "Bidra" + } + }, + "pages-strings": { + "Learn more using the [documentation on this site.](/docs/en/introduction.html)|no description given": "Läs mer genom att använda [dokumentationen på denna webbplats.](/docs/en/introduction.html)", + "Browse Docs|no description given": "Bläddra bland Dokument", + "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)|no description given": "Ställ frågor om dokumentationen och projektet [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)", + "Join the community|no description given": "Gå med i communityn", + "Find out what's new with this project on our [blog](./blog)|no description given": "Ta reda på vad som är nytt med detta projekt på vår [blog](./blog)", + "Stay up to date|no description given": "Håll dig uppdaterad", + "Need help?|no description given": "Behöver du hjälp?", + "This project is maintained by a dedicated group of people.|statement made to reader": "Detta projekt upprätthålls av en hängiven grupp människor.", + "Try It Out|no description given": "Prova det ut", + "Download It|no description given": "Ladda ner den", + "Docs|no description given": "Dokument", + "Help Translate|recruit community translators for your project": "Hjälp att översätta", + "Edit this Doc|recruitment message asking to edit the doc source": "Redigera", + "Translate this Doc|recruitment message asking to translate the docs": "Översätt" + } +} diff --git a/docs/website/i18n/tr.json b/docs/website/i18n/tr.json new file mode 100644 index 000000000000..af08a9cec58a --- /dev/null +++ b/docs/website/i18n/tr.json @@ -0,0 +1,101 @@ +{ + "_comment": "This file is auto-generated by write-translations.js", + "localized-strings": { + "next": "Next", + "previous": "Previous", + "tagline": "A portal/CMS for phpBB 3.2x", + "docs": { + "blocks-custom": { + "title": "Özel Blok" + }, + "blocks-inheritance": { + "title": "Understanding Block Inheritance" + }, + "blocks-managing": { + "title": "Mananaging Blocks" + }, + "blocks-overview": { + "title": "What are blocks?" + }, + "blocks-views": { + "title": "Block Views" + }, + "contrib-overview": { + "title": "Get Involved" + }, + "contrib-pull-requests": { + "title": "Submitting a Pull Request", + "sidebar_label": "Pull Requests" + }, + "contrib-translators": { + "title": "Translators" + }, + "developer-events": { + "title": "phpBB SiteMaker Events" + }, + "developer-extensions": { + "title": "Extending phpBB SiteMaker" + }, + "developer-theming": { + "title": "Theming" + }, + "installation": { + "title": "Installing / Upgrading" + }, + "introduction": { + "title": "Introduction" + }, + "menus-display": { + "title": "Displaying Menus" + }, + "menus-managing-items": { + "title": "Managing Menu Items" + }, + "menus-managing": { + "title": "Managing Menus" + }, + "site-block-modifiers": { + "title": "Customizing Blocks Display" + }, + "site-default-layout": { + "title": "Setting a Default Layout" + }, + "site-layouts": { + "title": "Layouts" + }, + "site-navbar": { + "title": "Navigation Bar" + }, + "site-startpage": { + "title": "Setting a Start Page" + } + }, + "links": { + "Docs": "Docs", + "Help": "Help", + "Blog": "Blog", + "Github": "Github" + }, + "categories": { + "User Guide": "User Guide", + "Developer Guide": "Developer Guide", + "Contribute": "Contribute" + } + }, + "pages-strings": { + "Learn more using the [documentation on this site.](/docs/en/introduction.html)|no description given": "Learn more using the [documentation on this site.](/docs/en/introduction.html)", + "Browse Docs|no description given": "Dokümanlara göz at", + "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)|no description given": "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)", + "Join the community|no description given": "Topluluğa katılın", + "Find out what's new with this project on our [blog](./blog)|no description given": "Find out what's new with this project on our [blog](./blog)", + "Stay up to date|no description given": "Stay up to date", + "Need help?|no description given": "Yardım ister misin?", + "This project is maintained by a dedicated group of people.|statement made to reader": "Bu proje belirli bir grup insan tarafından yürütülmektedir.", + "Try It Out|no description given": "Try It Out", + "Download It|no description given": "Download It", + "Docs|no description given": "Docs", + "Help Translate|recruit community translators for your project": "Help Translate", + "Edit this Doc|recruitment message asking to edit the doc source": "Düzenle", + "Translate this Doc|recruitment message asking to translate the docs": "Translate" + } +} diff --git a/docs/website/i18n/zh_cmn_hans.json b/docs/website/i18n/zh_cmn_hans.json new file mode 100644 index 000000000000..3ddfb609cad5 --- /dev/null +++ b/docs/website/i18n/zh_cmn_hans.json @@ -0,0 +1,101 @@ +{ + "_comment": "此文件被写入翻译自动生成.js", + "localized-strings": { + "next": "下一步", + "previous": "上一个", + "tagline": "用于 phpBB 3.2x 的门户/CMS", + "docs": { + "blocks-custom": { + "title": "自定义块" + }, + "blocks-inheritance": { + "title": "理解方块继承" + }, + "blocks-managing": { + "title": "管理块" + }, + "blocks-overview": { + "title": "什么是模块?" + }, + "blocks-views": { + "title": "阻止视图" + }, + "contrib-overview": { + "title": "参与" + }, + "contrib-pull-requests": { + "title": "提交拉取请求", + "sidebar_label": "拉取请求" + }, + "contrib-translators": { + "title": "翻译者" + }, + "developer-events": { + "title": "phpBB SiteMaker 事件" + }, + "developer-extensions": { + "title": "扩展 phpBB 站点Maker" + }, + "developer-theming": { + "title": "主题" + }, + "installation": { + "title": "安装/升级" + }, + "introduction": { + "title": "一. 导言" + }, + "menus-display": { + "title": "显示菜单" + }, + "menus-managing-items": { + "title": "管理菜单项" + }, + "menus-managing": { + "title": "管理菜单" + }, + "site-block-modifiers": { + "title": "自定义区块显示" + }, + "site-default-layout": { + "title": "设置默认布局" + }, + "site-layouts": { + "title": "布局" + }, + "site-navbar": { + "title": "导航栏" + }, + "site-startpage": { + "title": "设置起始页" + } + }, + "links": { + "Docs": "文档", + "Help": "帮助", + "Blog": "博客", + "Github": "Github" + }, + "categories": { + "User Guide": "用户指南", + "Developer Guide": "开发者指南", + "Contribute": "贡献" + } + }, + "pages-strings": { + "Learn more using the [documentation on this site.](/docs/en/introduction.html)|no description given": "了解更多使用 [这个网站的文档.](/docs/en/introduction.html)", + "Browse Docs|no description given": "浏览文档", + "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)|no description given": "询问有关文档和项目的问题 [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)", + "Join the community|no description given": "加入社区", + "Find out what's new with this project on our [blog](./blog)|no description given": "在我们的 [blog](./博客) 上找到这个项目的新内容", + "Stay up to date|no description given": "保持更新", + "Need help?|no description given": "需要帮助吗?", + "This project is maintained by a dedicated group of people.|statement made to reader": "这个项目由一个专门的人群维持。", + "Try It Out|no description given": "试试看", + "Download It|no description given": "下载", + "Docs|no description given": "文档", + "Help Translate|recruit community translators for your project": "帮助翻译", + "Edit this Doc|recruitment message asking to edit the doc source": "编辑", + "Translate this Doc|recruitment message asking to translate the docs": "翻译" + } +} diff --git a/docs/website/i18n/zh_cmn_hant.json b/docs/website/i18n/zh_cmn_hant.json new file mode 100644 index 000000000000..fb6b4386f4d7 --- /dev/null +++ b/docs/website/i18n/zh_cmn_hant.json @@ -0,0 +1,101 @@ +{ + "_comment": "This file is auto-generated by write-translations.js", + "localized-strings": { + "next": "Next", + "previous": "Previous", + "tagline": "A portal/CMS for phpBB 3.2x", + "docs": { + "blocks-custom": { + "title": "Custom Block" + }, + "blocks-inheritance": { + "title": "Understanding Block Inheritance" + }, + "blocks-managing": { + "title": "Managing Blocks" + }, + "blocks-overview": { + "title": "What are blocks?" + }, + "blocks-views": { + "title": "Block Views" + }, + "contrib-overview": { + "title": "Get Involved" + }, + "contrib-pull-requests": { + "title": "Submitting a Pull Request", + "sidebar_label": "Pull Requests" + }, + "contrib-translators": { + "title": "Translators" + }, + "developer-events": { + "title": "phpBB SiteMaker Events" + }, + "developer-extensions": { + "title": "Extending phpBB SiteMaker" + }, + "developer-theming": { + "title": "Theming" + }, + "installation": { + "title": "Installing / Upgrading" + }, + "introduction": { + "title": "Introduction" + }, + "menus-display": { + "title": "Displaying Menus" + }, + "menus-managing-items": { + "title": "Managing Menu Items" + }, + "menus-managing": { + "title": "Managing Menus" + }, + "site-block-modifiers": { + "title": "Customizing Blocks Display" + }, + "site-default-layout": { + "title": "Setting a Default Layout" + }, + "site-layouts": { + "title": "Layouts" + }, + "site-navbar": { + "title": "Navigation Bar" + }, + "site-startpage": { + "title": "Setting a Start Page" + } + }, + "links": { + "Docs": "Docs", + "Help": "Help", + "Blog": "Blog", + "Github": "Github" + }, + "categories": { + "User Guide": "User Guide", + "Developer Guide": "Developer Guide", + "Contribute": "Contribute" + } + }, + "pages-strings": { + "Learn more using the [documentation on this site.](/docs/en/introduction.html)|no description given": "Learn more using the [documentation on this site.](/docs/en/introduction.html)", + "Browse Docs|no description given": "Browse Docs", + "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)|no description given": "Ask questions about the documentation and project [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/support)", + "Join the community|no description given": "Join the community", + "Find out what's new with this project on our [blog](./blog)|no description given": "Find out what's new with this project on our [blog](./blog)", + "Stay up to date|no description given": "Stay up to date", + "Need help?|no description given": "Need help?", + "This project is maintained by a dedicated group of people.|statement made to reader": "This project is maintained by a dedicated group of people.", + "Try It Out|no description given": "Try It Out", + "Download It|no description given": "Download It", + "Docs|no description given": "Docs", + "Help Translate|recruit community translators for your project": "Help Translate", + "Edit this Doc|recruitment message asking to edit the doc source": "Edit", + "Translate this Doc|recruitment message asking to translate the docs": "Translate" + } +} diff --git a/docs/website/translated_docs/ar/blocks-custom.md b/docs/website/translated_docs/ar/blocks-custom.md new file mode 100644 index 000000000000..7f4b0bc43883 --- /dev/null +++ b/docs/website/translated_docs/ar/blocks-custom.md @@ -0,0 +1,24 @@ +--- +id: مربعات برمجية +title: كتلة مخصصة +--- + +إذا كانت الكتل المتاحة لا تمنحك الحرية التي تحتاجها، هناك `كتلة مخصصة` التي تسمح لك بحرية عرض المحتوى الخاص بك باستخدام BBcode أو HTML. تأتي الكتلة مع محرر WYSIWYG (TinyMCE) ومدير نصوص: + +## المحرر + +- يمكنك استخدام المحرر لإنشاء محتوى HTML +- يمكنك تعديل رمز المصدر إذا كنت بحاجة إلى مستوى التحكم هذا بالنقر على رمز `المصدر` (`<>`) في المحرر +- يسمح لك المحرر بتحميل وتعديل الصور + - يقوم بإنشاء مجلد جديد في phpBB/images/sitemaker_uploads/ لكل مستخدم يمكنه الوصول إليه + - يمكنك عرض/إدارة جميع مجلدات المستخدم +- يقوم المحرر بتصفية أي برامج نصية خطرة مثل جافا سكريبت، إلخ. إذا كنت بحاجة إلى إضافة محتوى مثل إعلانات جوجل، سيتم تصفية جافا سكريبت ، ولكن يمكنك الحصول على ذلك من خلال القيام بما يلي: + - إضافة كتلة مخصصة إلى الموقع المطلوب + - تعديل الكتلة المخصصة، انقر فوق علامة التبويب `HTML` ولصق جافا سكريبت + +## مدير البرامج النصية + +يسمح لك الكتلة المخصصة أيضا بإضافة ملفات CSS و Javascript المخصصة إلى الصفحة الخاصة بك. للقيام بذلك: + +- إضافة `كتلة مخصصة` لأي وضع كتلة. الموضع لا يهم إلا إذا كنت أيضا تعرض المحتوى مع الكتلة +- تعديل الكتلة، انقر فوق علامة التبويب `سكريبت` وإضافة ملفات CSS أو جافا سكريبت > كلمة التحذير على الرغم من أن الإضافة إلى العديد من البرامج النصية في صفحتك يمكن أن تؤثر على أوقات التحميل \ No newline at end of file diff --git a/docs/website/translated_docs/ar/blocks-inheritance.md b/docs/website/translated_docs/ar/blocks-inheritance.md new file mode 100644 index 000000000000..e64f8cc4ccb0 --- /dev/null +++ b/docs/website/translated_docs/ar/blocks-inheritance.md @@ -0,0 +1,44 @@ +--- +id: الكتلة-الإرث +title: فهم ميراث الكتلة +--- + +لقد رأينا ذلك من خلال تعيين تخطيط افتراضي، الصفحات الأخرى التي لا تحتوي على كتل خاصة بها سوف ترث الكتل من التخطيط الافتراضي. غير أن هناك نوعا آخر من الإرث المجمع. + +## طرق الوالد/الطفل + +في phpBB SiteMaker، نتحدث عن الطرق المتداخلة من حيث الدلائل (الفرعية) المتداخلة الحقيقية أو المسار/المسارات المتداخلة تقريبا. يرجى البقاء معي :). * طرق الوالد/الطفل الحقيقية: على سبيل المثال، المسار /some_directory/sub_directory/index.php هو طفل لـ /some_directory/index. hp * طرق الوالد/الطفل الظاهرية: على سبيل المثال، viewtopic.php يعامل كطفل لviewforum.php. + +وفيما يلي بعض الأمثلة على طرق الوالدين/الأطفال: + +| الأصل | طفل | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/my-مقالة | + +## ميراث الوالد/الطفل المجمع + +بالنسبة لطرق الوالدين/الأطفال، مسار الطفل يرث كتل من المسار الأصلي (إذا كان للوالد كتل خاصة به) أو من التخطيط الافتراضي (إذا كان قد تم تعيين واحد). بعبارة أخرى، حتى لو كان هناك تخطيط افتراضي، مسار الأطفال سوف يرث القطع من طريقه الأصلي إذا كان للطريق الرئيسي قطعه الخاصة به. ولكن لا يجب أن تكون جميع القطع من المسار الأصلي موروثة. + +## التحكم في ميراث الكتلة + +على مستوى الكتلة، يمكنك التحكم في الوقت الذي يمكن أن تكون الكتلة موروثة بواسطة طرق الأطفال. لقد لمسنا هذا في وقت سابق في [إعدادات تحرير الكتلة](./blocks-managing#editing-block-settings). + +فكر في بنية الدليل الحقيقي التالية: + +```text +phpBB + ', index.php + ', Movies/ + ~ index.php + ', page.php + ', Comedy/ + ~ index.php +``` + +لأغراض وراثة القطع، نقول: * المسار الأصلي لـ /phpBB/Movies/Comedy/index.php هو /phpBB/Movies/index. hp وليس /phpBB/Movies/page.php * جميع الصفحات في دليل فرعي يتعلق بـ /phpBB/index.php هي مسار ثانوي لـ /phpBB/index.php. إذاً /phpBB/Movies/index.php و /phpBB/Movies/page.php جميعهم أطفال /phpBB/index.php وبالتالي سيرثون كتلهم إذا لم يكن لديهم كتل خاصة بهم. في هذه الحالة: * عندما تكون بلوكة على /phpBB/index. تم تعيين hp للعرض في **إخفاء طرق الأطفال**، ستظهر الكتلة على /phpBB/index. hp (المسار الرئيسي) ولكن ليس على مسارات الأطفال الخاصة به * عندما تكون بلوكة على /phpBB/index. تم تعيين hp للعرض في **عرض على طرق الأطفال فقط**، وسوف يتم عرضها على /phpBB/Movies/index.php و /phpBB/Movies/page. hp (طرق الأطفال) ولكن ليس على /phpBB/index.php (parent)، ولا /phpBB/Movies/Comedy/index. hp (نحن نذهب لمستوى واحد عميق) * عندما تكون بلوكة على /phpBB/index. hp تم تعيينه لعرض **دائمًا** (الافتراضي)، سيتم عرضه على /phpBB/index.php (parent)، /phpBB/Movies/index. hp و /phpBB/page.php (طرق الأطفال) ولكن ليس على /phpBB/Movies/Comedy/index.php (نذهب إلى مستوى واحد عميق). في هذه الحالة، سيرث /phpBB/Movies/Comedy/index.php من المسار الافتراضي (إن وجد) + +## دولة المستقبل المحتملة + +أنا مهتم حقاً بردود فعلكم في هذا المجال. لن يكون لدى معظم مستخدمي phpBB أدلة حقيقية كما هو مبين أعلاه. لذا فأنا أفكر في استخدام البنية التي يتم تعريفها في قائمة كتلة كهيكل دليل افتراضي وتطبيق هذا الإرث للوالد/الطفل عليها. أنا أيضا أفكر في الذهاب إلى أبعد من مستوى واحد عميق. من فضلك أخبرني إذا كان هذا سيكون مفيداً لك. \ No newline at end of file diff --git a/docs/website/translated_docs/ar/blocks-managing.md b/docs/website/translated_docs/ar/blocks-managing.md new file mode 100644 index 000000000000..023df46f8597 --- /dev/null +++ b/docs/website/translated_docs/ar/blocks-managing.md @@ -0,0 +1,38 @@ +--- +id: إدارة الكتل +title: إدارة الكتل البرمجية +--- + +لإدارة الكتل البرمجية في phpBB SiteMaker، يجب أن تكون في [وضع تحرير](./blocks-overview#edit-mode). + +> عندما لا تعرض الكتلة أي محتوى، لن يتم عرضها، إلا في وضع التحرير. بهذه الطريقة، يمكنك إما إعطائها محتوى (في حالة الكتلة المخصصة) أو تغيير الإعدادات الخاصة بها. +> +> في وضع التعديل، الكتل الشفافة بعض الشيء هي كتل لن يتم عرضها لولا ذلك ولكن يتم عرضها فقط لأننا في وضع التحرير + +## إضافة كتل + +يمكنك إضافة كتل إلى أي صفحة أمامية, باستثناء صفحات لوحة تحكم المستخدم و لوحة تحكم المشرفين. لإضافة كتلة ، ستحتاج إلى: * انقر فوق **كتل** في شريط المدير. هذا سيعرض قائمة بالكتل المتاحة * اسحب و أسقط الكتلة المطلوبة إلى أي موقع كتلة + +## تحرير الكتل البرمجية + +### إضافة أيقونة كتلة + +إلى اليسار من عنوان الكتلة (prosilver)، هناك صندوق لأيقونة الكتل. انقر على هذا المربع للحصول على منتقي الأيقونة. يمكنك تحديد حجم الأيقونة ، الألوان ، العوامة ، الدوران ، إلخ. + +### تحرير عنوان الكتلة + +سيكون لكتل phpBB SiteMaker افتراضياً، العنوان المترجم ولكن إذا كان العنوان لا يلبي احتياجاتك، يمكنك تغييره. لتعديل عنوان الكتلة، * انقر على عنوان الكتلة للحصول على نموذج تحرير مضمن * تغيير العنوان إلى أي شيء تريده * إزالة التركيز من الحقل أو اضغط على إدخال لإرسال التغييرات + +> عنوان الكتلة المعدل الخاص بك غير مترجمة +> +> للعودة إلى العنوان الافتراضي، ببساطة قم بحذف العنوان واضغط على إدخال + +### تعديل إعدادات الكتلة + +عندما تضغط فوق كتلة، ستظهر أيقونة الكتلة إلى يمين الكتلة التي يمكن استخدامها لتحرير الكتلة. في مربع حوار كتلة التحرير، يمكنك : - تمكين / تعطيل كتلة [Status] - اختر متى يجب / لا يجب عرض الكتلة [Display]. ينطبق هذا فقط في الحالات التي تكون فيها صفحات متداخلة (انظر [فهم إرث الكتلة](./blocks-inheritance.md)): - **دائمًا**: عرض الكتلة - **إخفاء على طرق الأطفال**: فقط إظهار هذه الكتلة على الطريق الأصل - **إظهار على طرق الأطفال فقط**: إظهار هذه الكتلة فقط على طريق الأطفال - اختر مجموعات المستخدمين الذين يمكنهم عرض الكتلة [من قبل]. استخدم CTRL + انقر لتحديد مجموعات متعددة. - تعيين فئات مخصصة لتعديل مظهر الكتلة أو العناصر (قوائم، صور، خلفية، إلخ) داخل الكتلة [صف CSS] - إظهار/إخفاء عنوان الكتلة [إخفاء عنوان الكتلة؟ - حدد عرض الكتلة [عرض الكتلة]. يمكنك تحديد عرض الكتلة الافتراضي عند إضافة كتل جديدة في ACP. - **الافتراضي / البسيط**: يستخدم فئة لوحة البروفتور لإغلاق الكتلة في حاوية مضافة - **أساسية**: الكتلة لا تحتوي على أي حاوية تغلفها - **مربع**: يستخدم فئة الفراغ الفضي لإغلاق الكتلة في مربع - تعيين / تحديث إعدادات محددة - إذا كان لديك نفس الكتلة بنفس الإعدادات عبر صفحات متعددة، يمكنك تحديث كل منهم مرة واحدة عن طريق التحقق من **كتل التحديث مع إعدادات مشابهة** + +## حذف الكتل البرمجية + +- فوق الكتلة التي ترغب في حذفها +- انقر على أيقونة **x** وتأكد من رغبتك في حذف الكتلة +- انتقل إلى شريط المشرف وانقر على `حفظ التغييرات` \ No newline at end of file diff --git a/docs/website/translated_docs/ar/blocks-overview.md b/docs/website/translated_docs/ar/blocks-overview.md new file mode 100644 index 000000000000..a2a13d6e38c7 --- /dev/null +++ b/docs/website/translated_docs/ar/blocks-overview.md @@ -0,0 +1,10 @@ +--- +id: الكتلة-نظرة عامة +title: ما هي الكتلة؟ +--- + +في قلب phpBB SiteMaker هو مفهوم الكتل. الكتل هي أجزاء صغيرة من المحتوى الذي يمكنك وضعه في مناطق مختلفة محددة مسبقاً (مواقع الكتل) على موقعك. تحتوي الكتل عادة على إعدادات يمكنك تعيينها/تغييرها لصقل المحتوى الذي ترغب في عرضه. معظم الكتل البرمجية، ولكن ليس كلها، ستجعل استفسارات قاعدة البيانات للحصول على المحتوى المطلوب. لذا دعونا لا نجنون جدا:). لإدارة الكتل البرمجية، سوف تحتاج إلى التبديل إلى "وضع التحرير". + +## وضع التحرير + +قم بالتبديل إلى وضع التحرير عن طريق النقر على أيقونة قلم الرصاص في أعلى يمين موقعك. هذا سوف يعرض "شريط المشرف" مع "الكتل" و "الإعدادات". يشار إلى هذا على أنه في "وضع التحرير". \ No newline at end of file diff --git a/docs/website/translated_docs/ar/blocks-views.md b/docs/website/translated_docs/ar/blocks-views.md new file mode 100644 index 000000000000..0b416627e6d2 --- /dev/null +++ b/docs/website/translated_docs/ar/blocks-views.md @@ -0,0 +1,6 @@ +--- +id: الكتل المشاهدة +title: حظر المشاهدات +--- + +العمل جاري... \ No newline at end of file diff --git a/docs/website/translated_docs/ar/contrib-overview.md b/docs/website/translated_docs/ar/contrib-overview.md new file mode 100644 index 000000000000..830acbd9b31c --- /dev/null +++ b/docs/website/translated_docs/ar/contrib-overview.md @@ -0,0 +1,11 @@ +--- +id: نظرة عامة +title: اشترك +--- + +phpBB SiteMaker هو مشروع مفتوح المصدر ويرحب بأفكارك ومساهماتك. لذا لا تتردد في المشاركة. يمكنك المساهمة في هذا المشروع من خلال: + +* [تقديم الدعم/الملاحظات](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [أخطاء التبليغ](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [المساعدة في الترجمة](./contrib-translators.md) +* [إصلاح الأخطاء أو إضافة ميزات](./contrib-pull-requests.md) \ No newline at end of file diff --git a/docs/website/translated_docs/ar/contrib-pull-requests.md b/docs/website/translated_docs/ar/contrib-pull-requests.md new file mode 100644 index 000000000000..390859733e82 --- /dev/null +++ b/docs/website/translated_docs/ar/contrib-pull-requests.md @@ -0,0 +1,76 @@ +--- +id: طلبات سحب contrib-سحب- +title: تقديم طلب سحب +sidebar_label: طلبات السحب +--- + +`طلبات السحب تتيح لك إخبار الآخرين عن التغييرات التي دفعتها إلى فرع في مستودع GitHub. بمجرد فتح طلب سحب، يمكنك مناقشة ومراجعة التغييرات المحتملة مع المتعاونين وإضافة التزامات المتابعة قبل دمج التغييرات الخاصة بك في فرع القاعدة.` [اقرأ المزيد](https://help.github.com/articles/about-pull-requests/) + +## التصنيع/الاستنساخ + +* إنشاء حساب github إذا لم يكن لديك بالفعل حساب +* انتقل إلى https://github.com/blitze/phpBB-ext-sitemaker.git وانقر على "Fork" + +استنسخ شوكك من المستودع: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +من سطر الأوامر انتقل إلى دليل الموقع: + + cd phpBB/ext/blitze/sitemaker + + +**تكوين الحدث:** + +إضافة اسم المستخدم الخاص بك إلى Git على النظام الخاص بك: + + git config --المستخدم العالمي.name "اسمك هنا" + + +أضف عنوان بريدك الإلكتروني إلى Git على النظام الخاص بك: + + git config --إضافة user.email username@phpbb.com + + +أضف جهاز التحكم عن بعد (يمكنك تغيير "التمهيد" إلى أي شيء تريد): + + git عن بعد إضافة أعلى مسار git://github.com/blitze/phpBB-ext-sitemaker.git + + +**تثبيت البائعين** + + تثبيت المؤلف + + +**تثبيت حزم NPM** + + npm install + + +بدلاً من ذلك، يمكنك استخدام [yarn](https://yarnpkg.com): + + تثبيت yarn + + +## طلبات السحب + + # قم بإنشاء فرع جديد للميزة الخاصة بك & قم بالتبديل إليه + git Checout -b feature/my-fancy-new-feat + + # قم بإنشاء فرع جديد للمشكلة التي تعمل عليها * قم بالتبديل إليها (التذكرة # من github tracker) + git Checout - b ticket/1234 + + +إجراء التغييرات الخاصة بك + + # المرحلة + git إضافة الملفات + + # إرسال الملفات - الرجاء استخدام رسالة الالتزام الصحيحة + git الالتزام -m "رسالة الالتزام الخاصة بي" + + +ارجع الفرع إلى خاصية GitHub git push Originure/my-fancy-new-الميزة الجديدة + +تقديم [طلب سحب](https://github.com/blitze/phpBB-ext-sitemaker/pulls) \ No newline at end of file diff --git a/docs/website/translated_docs/ar/contrib-translators.md b/docs/website/translated_docs/ar/contrib-translators.md new file mode 100644 index 000000000000..5aba9d8511f6 --- /dev/null +++ b/docs/website/translated_docs/ar/contrib-translators.md @@ -0,0 +1,17 @@ +--- +id: مترجمون +title: المترجمون +--- + +ونحن بحاجة إلى المساعدة في ترجمة هذا التمديد، فضلا عن وثائقه. لقد أنشأنا مشروعا على كراودِن لتسهيل الترجمات. كراودِن يعطيك واجهة ترجمة لا تكاد لا تتوقف. يمكنك المساهمة بما تريده على الإطلاق، لكننا نوصي حقاً باستخدام كراودن. + +> كراودِن هو منصة إدارة التوطين التي تساعد الشركات على ترجمة برامجها. يمكنك قراءة المزيد عن كراودِن [هنا](https://support.crowdin.com/crowdin-intro/) + +إذا كنت على استعداد للمساهمة في الترجمة، فستحتاج إلى: + +* حساب [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) +* اختر اللغة المستهدفة إذا كان هناك طلب خلاف ذلك ليتم تفعيله. + +إذا لم تكن لغتك المطلوبة مدرجة في القائمة، يرجى [الاتصال بي](https://crowdin.com/profile/blitze) وسأضيفها. + +[بدء الترجمة](https://crowdin.com/project/phpbb-ext-sitemaker) \ No newline at end of file diff --git a/docs/website/translated_docs/ar/developer-events.md b/docs/website/translated_docs/ar/developer-events.md new file mode 100644 index 000000000000..86f861470c49 --- /dev/null +++ b/docs/website/translated_docs/ar/developer-events.md @@ -0,0 +1,120 @@ +--- +id: أحداث المطور +title: أحداث phpBB SiteMaker +--- + +يمكنك تعديل سلوك phpBB SiteMaker باستخدام نظام أحداث phpBB. + +## أحداث PHP + +# blitze.sitemaker.acp_add_bulk_menu_options + +- الموقع: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- منذئذ: 3.1.0 +- الغرض: إضافة خيارات القائمة بالجملة في قائمة الأوكب + +# blitze.sitemaker.acp_display_settings_form + +- الموقع: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- منذئذ: 3.1.0 +- الغرض: عرض رمز إعدادات (الموقع) + +# blitze.sitemaker.acp_save_إعدادات + +- الموقع: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- منذئذ: 3.1.0 +- الغرض: حفظ إعدادات الـ acp (الموقع) + +# blitze.sitemaker.admin_bar.set_assets + +- الموقع: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- منذ: 3.0.1-RC1 +- الغرض: إضافة أصول للكتل المتاحة في وضع التحرير + +# blitze.sitemaker.modify_block_posi_ + +- الموقع: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- منذ: 3.0.1-RC1 +- الغرض: تعديل مواقع الكتل + +# blitze.sitemaker.modify_rendered_block + +- الموقع: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- منذ: 3.0.1-RC1 +- الغرض: تعديل كتلة تم تحويلها + +## أحداث القالب + +# إعدادات_sitemaker_acp_blitze_sitemaker_acp_ + +- الموقع: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- منذئذ: 3.1.0 +- الغرض: إضافة حقول النموذج لإعدادات الموقع + +# تبليغ_الموقع_admin_bar_ملحق + +- الموقع: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- منذئذ: 3.1.0 +- الغرض: إضافة عناصر القائمة إلى شريط المشرف + +# بلتزي_الموقع_admin_bar_templates + +- الموقع: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- منذئذ: 3.1.0 +- الغرض: إضافة ملفات قالب لاستخدامها في JS لعرض الكتل، إلخ + +## أحداث جافا سكريبت + +# بلتزي_sitemaker_layout_حفظ + +- الموقع: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- بعد: 3-1-2 +- الغرض: حدث للسماح للملحقات الأخرى بالقيام بشيء ما عندما يتم حفظ تغييرات التخطيط + +# ضغط_الموقع_render_block_قبل + +- الموقع: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- بعد: 3-1-2 +- الغرض: حدث للسماح للملحقات الأخرى بالقيام بشيء ما قبل أن يتم تنفيذ الكتلة أو منع إعادة إصدارها + +# ضغط_الموقع_render_block_بعد + +- الموقع: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- بعد: 3-1-2 +- الغرض: الحدث للسماح للملحقات الأخرى بالقيام بشيء ما بعد أن يتم تحويل الكتلة + +# ضغط_الموقع_save_block_قبل + +- الموقع: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- بعد: 3-1-2 +- الغرض: حدث للسماح للملحقات الأخرى بتعديل بيانات الحظر قبل حفظها + +# ضغط_الموقع_عرض_all_block_posi_ + +- الموقع: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- بعد: 3-1-2 +- الغرض: حدث للسماح للملحقات الأخرى بالقيام بشيء ما عندما تظهر جميع مواقع الكتل + +# ضغط_الموقع_hide_empty_block_positions + +- الموقع: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- بعد: 3-1-2 +- الغرض: حدث للسماح للملحقات الأخرى بالقيام بشيء ما عندما تكون المواقع الفارغة مخفية + +# بلتزي_sitemaker_layout_cleared + +- الموقع: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- بعد: 3-1-2 +- الغرض: حدث للسماح للملحقات الأخرى بالقيام بشيء ما عندما يتم مسح التخطيط + +# بلتزي_sitemaker_layout_محدَّث + +- الموقع: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- بعد: 3-1-2 +- الغرض: حدث للسماح للملحقات الأخرى بالقيام بشيء ما عندما يتم تحديث التخطيط + +# بلعة_sitemaker_tinymce_options + +- الموقع: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- منذ: 3.3.0 +- الغرض: حدث للسماح للملحقات الأخرى لتعديل خيارات التعقيد \ No newline at end of file diff --git a/docs/website/translated_docs/ar/developer-extensions.md b/docs/website/translated_docs/ar/developer-extensions.md new file mode 100644 index 000000000000..476ddbb8232a --- /dev/null +++ b/docs/website/translated_docs/ar/developer-extensions.md @@ -0,0 +1,177 @@ +--- +id: إضافات المطور +title: تمديد phpBB SiteMaker +--- + +يمكنك تمديد / تعديل phpBB SiteMaker باستخدام [استبدال الخدمة](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement)و [ديكور الخدمة](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration)و [نظام أحداث phpBBB](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). يمكنك العثور على قائمة بالأحداث المدعومة [هنا](./developer-events.md). + +## إنشاء كتلة SiteMaker + +كتلة phpBB SiteMaker هي ببساطة فئة تمدد فئة blitze\sitemaker\services\blocks\driver\block وتعيد صفيفة من طريقة "Display" مع 'title' و 'content'. كل شيء آخر فيما بين هذه الأمور يعود لك. لجعل الكتلة الخاصة بك قابلة للاكتشاف بواسطة SiteMaker، ستحتاج إلى إعطائها علامة "sitemaker.block". + +قل أن لدينا تمديد مع البائع/التمديد كمثال/مثال. لإنشاء كتلة تسمى "my_block" لـ phpBB SiteMaker: + +- إنشاء مجلد "القطع" +- إنشاء ملف my_block.php في مجلد الكتل مع المحتوى التالي + +```php +اسم الفضاء my\example\block; + +استخدم blitze\sitemaker\services\blocks\driver\block; + +class my_block يمدد كتلة +{ + /** + * {@inheritdoc} + */ + عرض الدالة العامة (صفيف $settings, $edit_mode = خطأ) + { + مرجع المصفوف( + 'title' => 'بلدي بلوك'، + 'المحتوى' => 'محتوى الكتلة', + )؛ + } +} +``` + +ثم في ملف config.yml الخاص بك، أضف ما يلي: + +```yml +الخدمات: + +... + + my.example.block.my_block: + class: my\example\blocks\my_block + مكالمات: + - [set_name, [my.example.block.my_block]] + العلامات: + - { name: sitemaker.block } + +.... + +``` + +على أقل تقدير، هذا كل ما تحتاجين. إذا ذهبت إلى وضع التحرير، يجب أن ترى الكتلة المدرجة كـ 'MY_EXAMPLE_BLOCK_MY_BLOCK' التي يمكن سحبها وإسقاطها في أي وضع كتل. لكن هذه الكتلة لا تفعل أي شيء مثير. ليس لديه إعدادات ولا يترجم اسم الكتلة. دعونا نجعلها أكثر إثارة للاهتمام. + +### إعدادات حظر + +دعونا نعدل كتلنا/my_block. اضف ملف وأضف طريقة "get_config" عند إرجاع مصفوفة مع المفاتيح هي إعدادات الكتلة والقيم هي مصفوفة تصف الإعدادات مثل: + +```php + /** + * @inheritdoc + */ + وظيفة عامة get_config(صفيف $settings) + { + $options = المصفوفة (1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR')؛ + مصفوفة العودة ( + 'اسطورية1' => 'TAB1', + 'مربع الاختيار' => المصفوفة('lang' => 'SOME_LANG_VAR_1', 'صلاحية' => 'سلسلة'، 'نوع' => 'مربع الاختيار'، 'خيارات' => $options، 'الافتراضي' => الصفيفة (), 'فسر ' => false), + 'yes_no' => Array('lang' => 'SOME_LANG_VAR_2', 'صحيح' => 'bool', 'type' => 'radio:yes_no', 'فسر ' => false, 'ault' => false), + 'radio' => Array('lang' => 'SOME_LANG_VAR_3', 'صلاحية' => 'bool', 'type' => 'radio', 'خيارات' => $options, 'فسر ' => false, 'الافتراضي' => 'الموضوع')، + 'إختيار' => المصفوف('lang' => 'SOME_LANG_VAR_4', 'صواب' => 'سلسلة'، 'نوع' => 'إختيار'، 'خيارات' => $options، 'افتراضي' => '، 'شرح' => false)، + 'عدة' => صفيفة ('lang' => 'SOME_LANG_VAR_5', 'صحيح' => 'سلسلة', 'نوع' => 'multi_select', 'خيارات' => $options، 'الافتراضي' => المصفوفة (), 'فسر ' => false)، + 'اسطورية2' => 'TAB2', + 'العدد' => الصفيف('lang' => 'SOME_LANG_VAR_6', 'صحيح' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'الافتراضي' => 5)، + 'textarea' => Array('lang' => 'SOME_LANG_VAR_7', 'صحيح' => 'سلسلة', 'نوع' => 'textarea:3:40', 'maxlength' => 2, 'فسر ' => صحيح, 'الافتراضي' => ')، + 'تبديل العمل' => مصفوفة ('lang' => 'SOME_TOGLABLE_VAR', 'صحيح' => 'سلسلة'، 'نوع' => 'إختيار:1:0:toggle_key', 'خيارات' => $options، 'الافتراضي' => '، 'تذييل' => '
فقط عندما يتم اختيار الخيار 1
')، + )؛ +} +``` + +تم بناء هذا بنفس الطريقة التي يبني بها phpBB التكوين لإعدادات اللوحة في ACP. يمكنك رؤية المزيد من الأمثلة [هنا](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +إذا كنت تريد نوع حقل مخصص، يمكنك مشاهدة مثال [هنا](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) (إعدادات 'content_type'. + +لاحظ 'legend1' و 'legend2': يتم استخدام هذه الإعدادات لفصل الإعدادات إلى علامات التبويب. + +### كتل التسمية + +اتفاقية أسماء الكتل هي أن اسم الخدمة (مثل my.example.block). و*أعلاه) سوف تستخدم كمفتاح اللغة عن طريق استبدال النقاط (.) بسطر (*مثلاً: MY_EXAMPLE_BLOCK_MY_BLOCK). + +### الترجمة + +لاحظ أيضا أن لدينا عدة مفاتيح لغوية تحتاج للترجمة. للقيام بذلك، قم بإنشاء ملف يسمى "blocks_admin.php" في مجلد لغتك. سيتم تحميل هذا الملف تلقائياً عند تحرير المربعات البرمجية، ويجب أن يحتوي على ترجمات لإعدادات المربعات البرمجية الخاصة بك وأسماء الحظر. + + $lang = المصفوفة_دمج($lang، المصفوفة( + 'SOME_LANG_VAR' => 'الخيار 1', + 'OTHER_LANG_VAR' => 'الخيار 2', + 'SOME_LANG_VAR_1' => 'إعداد 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'بلدي بلوك'، + )؛ + + +لأنه يتم تحميل "blocks_admin.php" فقط عند تحرير المربعات البرمجية، سوف تحتاج إلى إضافة ترجمات أخرى (على سبيل المثال. حظر العنوان عن طريق تحميل ملف لغة في طريقة العرض الخاصة بك مثل `$language->add_lang('my_lang_file', 'my/example');` + +### تقديم الكتلة + +سيتم عرض الكتلة الجديدة فقط إذا كانت تقدم شيئاً. يمكن لكتلة التحكم الخاصة بك إرجاع أي سلسلة كمحتوى ولكن في معظم الحالات، تحتاج إلى قالب لتقديم المحتوى الخاص بك. لعرض كتلة استخدام قوالب، يجب أن تعيد الكتلة مصفوفة تحتوي على البيانات التي تريد تمريرها إلى القالب ويجب أيضا تنفيذ طريقة `get_template` كما هو موضح أدناه: + +```php + /** + * @inheritdoc + */ + وظيفة عامة get_config(صفيف $settings) + { + $options = المصفوفة (1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR')؛ + مصفوفة العودة ( + 'اسطورية1' => 'TAB1', + 'some_setting' => ary('lang' => 'SOME_LANG_VAR_1', 'صلاحية' => 'سلسلة'، 'نوع' => 'مربع الاختيار'، 'خيارات' => $options، 'الافتراضي' => المصفوفة (), 'فسر ' => false), + ); + } + + /** + * {@inheritdoc} + */ + وظيفة عامة get_template() + { + return '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + عرض الوظيفة العامة (الصفيفة $data, $edit_mode = خطأ) + { + اذا ($edit_mode) + { + // افعل شيئا فقط في وضع التحرير + } + + مصفوفة العودة ( + 'title' => 'MY_BLOCK_TITLE', + 'البيانات' => صفيفة( + 'some_var' => $data['settings']['some_setting']، + )، + )؛ +} +``` + +ثم قد يبدو ملف الأنماط/all/my_block.html أو styles/prosilver/my_block.html شيئًا كهذا: + +

لقد اخترت: {{ some_var }}

+ + +وباختصار، يجب أن تعيد الكتلة المصفوفة التي تحتوي على مفتاح `عنوان` (لعنوان الكتلة) ومفتاح `محتوى` (إذا كانت الكتلة تعرض سلسلة فقط ولا تستخدم قالب) أو مفتاح `بيانات` (إذا كانت الكتلة تستخدم قالب، في هذه الحالة، ستحتاج أيضًا إلى تنفيذ طريقة `get_template`). + +### حظر الأصول + +إذا كان الكتلة الخاصة بك تحتاج إلى إضافة الأصول (ss/js) إلى الصفحة، فأنا أوصي باستخدام صنف الموقع [util](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) لذلك. بما أنه يمكن أن يكون هناك أكثر من مثال واحد من نفس الكتلة على الصفحة، أو قد تكون الكتل الأخرى إضافة نفس الأصل، حتى تضمن الفئة أن الأصل مضاف فقط. + +```php + $this->util->add_assets(array( + 'js' => ary( + '@my_example/assets/some. s', + 100 => '@my_example/assets/other. s', // تعيين الأولوية + )، + 'css' => المصفوفة( + '@my_example/assets/some. ع ، + ) +)؛ +``` + +سيلزم بالطبع إضافة الصف إلى تعاريف الخدمة الخاصة بك في config.yml مثل ذلك: `- '@blitze.sitemaker. حتى` ومعرّف في منشئ الكتلة `\blitze\sitemaker\services\util $util`. + +وهذا كل شيء. لقد انتهينا منها! \ No newline at end of file diff --git a/docs/website/translated_docs/ar/developer-theming.md b/docs/website/translated_docs/ar/developer-theming.md new file mode 100644 index 000000000000..a0ebad1e8188 --- /dev/null +++ b/docs/website/translated_docs/ar/developer-theming.md @@ -0,0 +1,55 @@ +--- +id: موضوع المطور +title: القالب +--- + +يأتي phpBB SiteMaker مع أنماط وألوان مصنوعة للفضة. يمكنك الكتابة فوق ملفات CSS و JS و HTML عن طريق إنشاء الملف المقابل في مجلد النمط الخاص بك. + +# إنشاء ملفات JS/CSS للنمط الخاص بك + +ملاحظة: * لغرض التعليمات أدناه سوف نفترض أن لديك أسلوبا يسمى النمط my. + +استنسخ إلى phpBB/ext/blitze/sitemaker: + + استنساخ git https://github.com/blitze/phpBB-ext-sitemaker.git phpBBB/ext/blitze/sitemaker + + +من سطر الأوامر انتقل إلى دليل الموقع: + + cd phpBB/ext/blitze/sitemaker + + +**تثبيت البائعين** + + تثبيت المؤلف + + +**تثبيت الحزم** + +للأوامر أدناه يمكنك استخدام npm أو [yarn](https://yarnpkg.com) + + تثبيت yarn + + +**مشاهدة التغييرات** + + بدء yarn - نمط السمة + + +**إجراء تغييرات** + +* قم بإجراء التغييرات الخاصة بك على الملفات في مجلد phpBBB/ext/blitze/sitemaker/develop. +* انظر إلى phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss للمتغيرات الزجاجية + +**بناء الأصول** + + ابن يارن - نمط السمة + + +**نشر** + +يمكنك الآن نسخ الملفات التي تم إنشاؤها من phpBB/ext/blitze/sitemaker/styles/my-style ورفعتها إلى خادم الإنتاج الخاص بك. + +> يستخدم هذا الملحق واجهة المستخدم jQuery للتبويبات، مربعات الحوار والأزر. موضوع jQuery الافتراضي هو 'سلسة.' يمكنك استخدام سمة واجهة مستخدم jQuery مختلفة تناسب الموضوع الخاص بك. يمكنك تحديد سمة واجهة المستخدم jQuery باستخدام العلم --jq_ui_theme. وعلى سبيل المثال: + + ابن yarn يبني - موضوع النمط -jq_ui_Them-ui-lightness \ No newline at end of file diff --git a/docs/website/translated_docs/ar/filemanager.md b/docs/website/translated_docs/ar/filemanager.md new file mode 100644 index 000000000000..08caa9b8029e --- /dev/null +++ b/docs/website/translated_docs/ar/filemanager.md @@ -0,0 +1,34 @@ +--- +id: filemanager +title: Responsive Filemanager +--- + +As of version 3.1.0, phpBB SiteMaker supports the [Responsive Filemanager](http://responsivefilemanager.com) + +* The file manager is used as a TinyMCE pluging (WYSIWYG editor) when editing custom blocks +* It is currently configured to creat separate folders for each user, except the user with a_sm_filemanager permission (Can see/manage other users' folders), which allows them access to view/manage all upload folders. + +## Installation + +* Download the [Responsive FileManager](http://responsivefilemanager.com/index.php#sthash.5UrnhjX2.dpbs) +* Extract it, and upload the files to your phpBB root folder. The file structure should be as below: + +```text +phpBB +├── images/ +├── includes/ +├── ... +└── ResponsiveFilemanager/ + └── filemanager/ + └── config/ + ├── .htaccess + └── config.php +``` + +## Activation + +* Go to ACP > Extensions > SiteMaker > Settings +* Enable File Manager feature +* Save changes +* Update user permissions (Misc tab) to determine who can use this feature [Can use File Manager] +* Update admin permissions (Misc tab) to determine who can manager user folders [Can see/manage other users’ folders in File Manager] \ No newline at end of file diff --git a/docs/website/translated_docs/ar/installation.md b/docs/website/translated_docs/ar/installation.md new file mode 100644 index 000000000000..b353b3b78a43 --- /dev/null +++ b/docs/website/translated_docs/ar/installation.md @@ -0,0 +1,18 @@ +--- +id: تثبيت +title: تثبيت / ترقية +--- + +تحميل الملحق من [هنا](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker + +* استخرج ثم رفعه إلى ملف phpBB/ext/حتى يكون لديك phpBB/ext/blitze/sitemaker +* انتقل إلى "ACP" > "تخصيص" > "ملحقات" وتمكين ملحق "phpBB Sitemaker". + +## ترقية phpBB SiteMaker + +* إنشاء نسخة احتياطية من قاعدة البيانات الخاصة بك فقط في حالة حدوث خطأ ما +* انتقل إلى "ACP" > "تخصيص" > "ملحقات" وتعطيل (لا تطهير) "phpBB Sitemaker" +* قم بتنزيل واستخراج أحدث إصدار لـ phpBB SiteMaker وتحميله إلى phpBBB/ext/مجلد (فوق الكتابة) +* انتقل إلى "ACP" > "تخصيص" > "ملحقات" وتمكين ملحق "phpBB Sitemaker". \ No newline at end of file diff --git a/docs/website/translated_docs/ar/introduction.md b/docs/website/translated_docs/ar/introduction.md new file mode 100644 index 000000000000..fa42c6ea811a --- /dev/null +++ b/docs/website/translated_docs/ar/introduction.md @@ -0,0 +1,6 @@ +--- +id: مقدمة +title: مقدمة +--- + +يسعى phpBB SiteMaker إلى تحويل لوحة phpBB إلى CM/Poral. تقوم بذلك من خلال تزويدك بالكتل والقوائم لمساعدتك على تخصيص موقعك بما يحب لك. هناك أو سوف تكون هناك ملحقات SiteMaker الأخرى التي توفر وظائف إضافية لتحقيق هذا الهدف. كما أنه يسمح لك بتحديد صفحة هبوط عند الوصول إلى موقعك. إذا كنت لا تريد لزوار موقعك أن يشاهدوا على الفور منتدى phpBB عندما يذهبون إلى www.. our-site.com، يمكنك تحديد صفحة البداية الخاصة بك. \ No newline at end of file diff --git a/docs/website/translated_docs/ar/menus-display.md b/docs/website/translated_docs/ar/menus-display.md new file mode 100644 index 000000000000..753a113a4d25 --- /dev/null +++ b/docs/website/translated_docs/ar/menus-display.md @@ -0,0 +1,18 @@ +--- +id: قوائم-عرض +title: عرض القوائم +--- + +الآن بعد أن قمت بإنشاء القوائم الخاصة بك، يمكنك عرضها بعدة طرق: + +## كتلة الروابط + +يمكنك استخدام هذه الكتلة لعرض قائمة مسطحة أو متداخلة من عناصر القائمة. لا يقصد بهذه الكتلة أن تستخدم في الملاحة، أي أنها لن تظهر صفحة حالية أو أي شيء من هذا القبيل. وهو مخصص لقائمة بالبنود، بما في ذلك الروابط الخارجية. + +## كتلة القوائم + +هذه الكتلة مخصصة للتنقل في الموقع. وهي تقوم ببعض الحسابات الإضافية لتحديد الموقع الحالي وليس المقصود منها أن تكون قائمة كبيرة جدا. + +## شريط التنقل + +على غرار كتلة القوائم ، سيعرض شريط التنقل عناصر القائمة كقائمة قائمة منسدلة مستجيبة مخصصة للتنقل في الموقع. يمكنك تمكين هذا في ACP > ملحقات > Sitemaker > الإعدادات > حدد القائمة \ No newline at end of file diff --git a/docs/website/translated_docs/ar/menus-managing-items.md b/docs/website/translated_docs/ar/menus-managing-items.md new file mode 100644 index 000000000000..ae16c1055562 --- /dev/null +++ b/docs/website/translated_docs/ar/menus-managing-items.md @@ -0,0 +1,30 @@ +--- +id: عناصر إدارة القوائم +title: إدارة عناصر القائمة +--- + +القائمة الخاصة بك غير مفيدة ما لم تكن تحتوي على عناصر قائمة. يمكنك إضافة عناصر القائمة التي تشير إلى الملفات المحلية أو الخارجية. + +> عنوان URL للمواقع الخارجية يجب أن يبدأ بـ http(s)://، ftp://، /، إلخ. +> +> يمكنك إنشاء موفر عن طريق إدخال '-' كعنوان العنصر + +## إضافة عناصر القائمة + +يمكنك إضافة عناصر قائمة عنصر واحد في كل مرة، أو يمكنك إضافة عناصر قائمة متعددة في عناصر أخرى. + +### إضافة عناصر قائمة واحدة + +لإضافة عنصر قائمة واحدة، * انقر فوق `زر إضافة عنصر القائمة` * تعبئة المعلومات المطلوبة واضغط `حفظ` + +### إضافة عناصر متعددة + +لإضافة عناصر قائمة متعددة في وقت واحد، * انقر على الأيقونة بجوار `إضافة عنصر القائمة` * يمكنك إضافة العناصر يدوياً عن طريق وضع كل عنصر على سطر جديد واستخدام عناصر العش الحرف علامة التبويب أو * يمكنك النقر على أحد الخيارات المقدمة في أسفل النص لملء عناصر القائمة تلقائياً + +## إعادة ترتيب عناصر القائمة + +يمكنك سحب وإسقاط عناصر القائمة لأعلى/لأسفل لتعيين ترتيب العرض، أو سحبها يسار/يمين لتعيين التسلسل الهرمي المطلوب. + +## إعادة بناء عناصر القائمة + +إذا وجدت أن عناصر القائمة لا تظهر بشكل صحيح، انقر على زر `إعادة بناء شجرة` لإعادة بناء عناصر القائمة. \ No newline at end of file diff --git a/docs/website/translated_docs/ar/menus-managing.md b/docs/website/translated_docs/ar/menus-managing.md new file mode 100644 index 000000000000..4f751a80dc1c --- /dev/null +++ b/docs/website/translated_docs/ar/menus-managing.md @@ -0,0 +1,22 @@ +--- +id: إدارة القوائم +title: إدارة القوائم +--- + +يمكنك إنشاء قوائم في ACP يمكنك عرضها باستخدام القوائم أو كتل الروابط أو عرضها كشريط التنقل الأفقي. + +## إدارة القوائم + +لإدارة القوائم، انتقل إلى ACP > ملحقات > صانع الموقع > القائمة + +### إنشاء قوائم + +لإنشاء قائمة جديدة (مجموعة)، انقر على زر `إضافة قائمة`. سيتم إنشاء مجموعة قائمة جديدة مع اسم تم إنشاؤه عشوائياً. سيتم تحديد القائمة الجديدة أيضًا حتى يمكنك البدء بإضافة عناصر القائمة إليها. + +### تحرير القوائم + +إذا كنت تريد اسم قائمة ذي مغزى أكبر، * فوق اسم القائمة وانقر على أيقونة الكوكب * أدخل اسم القائمة الجديدة واضغط على الإدخال لتحديثها + +### حذف القوائم + +لحذف القائمة ، وعناصرها، * فوق اسم القائمة وانقر على **x** أيقونة * إذا كان عنصر القائمة لا يحتوي على عناصر فرعية، سوف تحتاج إلى تأكيد اختيارك لحذف العنصر * إذا كان عنصر القائمة يحتوي على عناصر فرعية، سوف تحتاج إلى الإشارة إلى ما إذا كنت تريد حذف العنصر فقط ونقل أولاده إلى الأعلى أو إذا كنت تريد حذف الفرع بأكمله \ No newline at end of file diff --git a/docs/website/translated_docs/ar/site-block-modifiers.md b/docs/website/translated_docs/ar/site-block-modifiers.md new file mode 100644 index 000000000000..1dfe4692d067 --- /dev/null +++ b/docs/website/translated_docs/ar/site-block-modifiers.md @@ -0,0 +1,6 @@ +--- +id: تعديل الموقع +title: تخصيص عرض الكتل +--- + +العمل جاري... \ No newline at end of file diff --git a/docs/website/translated_docs/ar/site-default-layout.md b/docs/website/translated_docs/ar/site-default-layout.md new file mode 100644 index 000000000000..7aca5e74b246 --- /dev/null +++ b/docs/website/translated_docs/ar/site-default-layout.md @@ -0,0 +1,10 @@ +--- +id: site-default-layout +title: إعداد تخطيط افتراضي +--- + +عند إضافة كتلة، يتم إضافتها إلى تلك الصفحة المحددة. ولذلك، سيكون من المهام الشاقة وضع كتل لجميع الصفحات الموجودة على موقعك. يمكنك تعيين جميع الكتل المطلوبة لصفحة معينة، ثم تعيين تلك الصفحة كتخطيط افتراضي. بعبارة أخرى، أي صفحة لا تحتوي على كتل خاصة بها، سوف ترث كتل من هذه الصفحة. + +لتعيين تخطيط افتراضي * انتقل إلى الصفحة التي ترغب في تعيينها كتخطيط افتراضي * انقر على `الإعدادات` في شريط المشرف * انقر فوق `مجموعة كزر تخطيط افتراضي` + +قل أننا نضيف كتل إلى صفحة (phpBB/index.php) مع كتل في الشريط الجانبي والمواقع العليا، على سبيل المثال، وقم بتعيينها كتخطيطنا الافتراضي. هذا له التأثيرات التالية لصفحات أخرى: * أي صفحة لا تحتوي على كتل خاصة بها، سوف ترث الكتل البرمجية من التخطيط الافتراضي. راجع [فهم ميراث الكتلة](./blocks-inheritance.md) للحصول على استثناءات. * لا تزال ترث القطع من تخطيط افتراضي (فهرس. hp) ولكن اختر عدم عرض الكتل في بعض مواقع الكتل أو عدم عرض أي كتل على الإطلاق. للقيام بذلك، * انتقل إلى الصفحة التي لا تريد أن تعرض جميع/بعض الكتل * انقر على `إعدادات` في شريط المشرف * حدد `لا تظهر الكتل في هذه الصفحة` إذا كنت لا تريد إرث/عرض أي كتل في هذه الصفحة أو * استخدم CTRL + انقر لتحديد مواقع الكتل (على اليمين) التي لا تريد عرض الكتل في * في `وضع التحرير`، صفحة ترث الكتل البرمجية من التخطيط الافتراضي، لن تظهر أي كتل، إعطائك الفرصة لإضافة كتل إلى الصفحة إذا كنت ترغب في * أي صفحة تحتوي على كتل خاصة بها لن ترث من التخطيط الافتراضي \ No newline at end of file diff --git a/docs/website/translated_docs/ar/site-layouts.md b/docs/website/translated_docs/ar/site-layouts.md new file mode 100644 index 000000000000..b8d9a2231f17 --- /dev/null +++ b/docs/website/translated_docs/ar/site-layouts.md @@ -0,0 +1,20 @@ +--- +id: تخطيط المواقع +title: المخططات +--- + +"تخطيط" يحدد مواقع القطع المتاحة وكيف يتم عرضها. + +## حظر المواقع + +مواقع الكتلة هي مناطق محددة مسبقاً على موقعك حيث يمكن أن توجد الكتل. يتم تحديد مواقع الكتل المتاحة بواسطة نمط القالب الذي تستخدمه. بالنسبة للفضة، phpBB SiteMaker يأتي مع مواقع الكتل التالية: * اللوحة: العرض الكامل عبر الجزء العلوي * الشريط الجانبي: يسار/يمين تبعاً للتخطيط أدناه * المحتوى الفرعي: مماثل للالشريط الجانبي أكبر فقط * top_hor: كتل أفقية عبر الأعلى، الترميز فوق الشريط الجانبي/المحتوى الفرعي تبعاً للتخطيط * الأعلى: المحتوى الرئيسي أعلاه * المربع: العرض المتساوي، كتل أفقية أسفل المحتوى الرئيسي * أسفل: أسفل المحتوى الرئيسي * أسفل الصور: كتل أفقية عبر الأسفل، ترميز الشريط الجانبي/المحتوى الفرعي تبعاً للتخطيط * تذييل: كتل أفقية في تذييل الصفحة يمكنك إضافة المزيد من مواقع الكتل في قوالب النمط الخاص بك عن طريق نسخ وتعديل قوالب phpBB SiteMaker المقابلة + +## تخطيط الموقع + +يمكنك اختيار تخطيط موقعك في ACP (ملحقات > صانع الموقع > الإعدادات): * **المدونة**: المحتوى الفرعي والشريط الجانبي بجوار بعضهما البعض. دفع إلى اليمين، top_hor/botom_hor فرعي فارغ * **الكأس المقدسة**: الشريط الجانبي و المحتوى الفرعي على جانبين متعارضين، top_hor/botom_ساعة محتوى فرعي فارغ * **بوابة**: الشريط الجانبي على اليسار، المحتوى الفرعي على اليمين. top_hor/botom_ساعة محتوى فرعي فارغ * **البوابة Alt**: المحتوى الفرعي على اليسار، الشريط الجانبي على اليمين، الشريط الجانبي الخاص بـ top_hor/botom_hor * **مخصص**: تعيين عرض الشريط الجانبي يدوياً على شكل px، %، em أو rem. الافتراضي إلى 200 بكسل على كل جانب + +## قوالب/أنماط مخصصة + +أكبر قدر ممكن، حاولنا وضع ملفات القالب والأصول في الأنماط/كل/مجلد حتى تتمكن من الكتابة فوقها عن طريق إنشاء ملف بنفس الاسم تحت قالب القالب الخاص بك. . فضة. لذا إذا كنت ترغب في تعديل طريقة عرض كتلة معينة أو إذا كنت ترغب في إنشاء التخطيط الخاص بك مع مواقع الكتلة الخاصة بك، تحتاج ببساطة إلى إنشاء ملف بنفس الاسم والمسار كما هو الأصل في أسلوبك الخاص. + +إذا كنت بحاجة إلى تخصيص ملفات CSS/JS، ألقي نظرة على قسم [الموضوع](./developer-theming.md). \ No newline at end of file diff --git a/docs/website/translated_docs/ar/site-navbar.md b/docs/website/translated_docs/ar/site-navbar.md new file mode 100644 index 000000000000..c5f4ffdee0c9 --- /dev/null +++ b/docs/website/translated_docs/ar/site-navbar.md @@ -0,0 +1,6 @@ +--- +id: site-navbar +title: شريط التنقل +--- + +شاهد [عرض القوائم](./menus-display#navigation-bar) \ No newline at end of file diff --git a/docs/website/translated_docs/ar/site-startpage.md b/docs/website/translated_docs/ar/site-startpage.md new file mode 100644 index 000000000000..ef786babf321 --- /dev/null +++ b/docs/website/translated_docs/ar/site-startpage.md @@ -0,0 +1,8 @@ +--- +id: site-startpage +title: إعداد صفحة البداية +--- + +phpBB SiteMaker يسمح لك باختيار أي وحدة تحكم أمامي (الصفحات التي يمكن الوصول إليها عبر app.php/... كصفحة البداية الافتراضية الخاصة بك (الصفحة التي ستظهر عند زيارة شخص ما لموقعك) بدلاً من فهرس اللوحة. + +للقيام بذلك: * انتقل إلى الصفحة التي تريد تعيينها كصفحة بدء افتراضية * انقر فوق `الإعدادات` في شريط المدير. إذا كانت صفحة مؤهلة لذلك، سترى `تعيين كصفحة بدء` زر * انقر فوق `تعيين كصفحة بداية` زر \ No newline at end of file diff --git a/docs/website/translated_docs/bg/blocks-custom.md b/docs/website/translated_docs/bg/blocks-custom.md new file mode 100644 index 000000000000..41d4365d553d --- /dev/null +++ b/docs/website/translated_docs/bg/blocks-custom.md @@ -0,0 +1,24 @@ +--- +id: blocks-custom +title: Custom Block +--- + +If the available blocks do not give you the freedom you need, there is the `Custom Block` which allows you the freedom to display your own content using BBcode or HTML. The block comes with a WYSIWYG editor (TinyMCE) and a scripts manager: + +## The editor + +- You can use the editor to create HTML content +- You can edit the source code if you need that level of control by clicking on the `Source code` icon (`<>`) in the editor +- The editor allows you to upload and modify images + - It creates a new folder in phpBB/images/sitemaker_uploads/ for every user who has access to it + - You can view/manage all user folders +- The editor filters out any potentially dangerous scripts like javascript, etc. If you need to add content like google ads, the javascript will be filtered out, but you can get around that by doing the following: + - Add the Custom Block to desired location + - Edit the Custom Block, click on the `HTML` tab and paste your Javascript + +## The Scripts Manager + +The Custom Block also allows you to add custom CSS and Javascript files to your page. To do this: + +- Add a `Custom Block` to any block position. The position does not matter unless you are also displaying content with the block +- Edit the block, click on the `Scripts` tab and add your CSS or Javascript files > Word of caution though: Adding to many scripts on your page can affect load times \ No newline at end of file diff --git a/docs/website/translated_docs/bg/blocks-inheritance.md b/docs/website/translated_docs/bg/blocks-inheritance.md new file mode 100644 index 000000000000..7128c0ffbcd9 --- /dev/null +++ b/docs/website/translated_docs/bg/blocks-inheritance.md @@ -0,0 +1,44 @@ +--- +id: blocks-inheritance +title: Understanding Block Inheritance +--- + +We have already seen that by setting a default layout, other pages that do not have blocks of their own will inherit the blocks from the default layout. There is, however, another type of block inheritance. + +## Parent/Child Routes + +In phpBB SiteMaker, we speak of nested routes in terms of real nested (sub) directories or virtually nested paths/routes. Please stay with me :). * Real Parent/Child routes: For example, the path /some_directory/sub_directory/index.php is a child of /some_directory/index.php * Virtual Parent/Child routes: For example, viewtopic.php is treated as a child of viewforum.php. + +Here are some examples of parent/child routes: + +| Parent | Child | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/my-article | + +## Parent/Child Block Inheritance + +For parent/child routes, the child route inherits the blocks of the parent route (if the parent has its own blocks) or from the default layout (if one has been set). In other words, even if there is a default layout, the child route will inherit blocks from its parent route if the parent route has its own blocks. But not all blocks from the parent route must be inherited. + +## Controlling Block Inheritance + +At a block level, you can control when a block can be inherited by child routes. We touched on this earlier in the [Editing Block Settings](./blocks-managing#editing-block-settings). + +Consider the following real directory structure: + +```text +phpBB +├── index.php +└── Movies/ + ├── index.php + ├── page.php + └── Comedy/ + └── index.php +``` + +For the purposes of inheriting blocks, we say: * The parent route of /phpBB/Movies/Comedy/index.php is /phpBB/Movies/index.php and not /phpBB/Movies/page.php * All pages in a sub directory relative to /phpBB/index.php is a child route of /phpBB/index.php. So /phpBB/Movies/index.php and /phpBB/Movies/page.php are all children of /phpBB/index.php and will therefore inherit its blocks if they do not have blocks of their own. In this case: * When a block on /phpBB/index.php is set to display on **Hide on child routes**, the block will show on /phpBB/index.php (parent route) but not on its child routes * When a block on /phpBB/index.php is set to display on **Show on child routes only**, it will display on /phpBB/Movies/index.php and /phpBB/Movies/page.php (child routes) but not on /phpBB/index.php (parent), nor /phpBB/Movies/Comedy/index.php (we only go one level deep) * When a block on /phpBB/index.php is set to display **always** (default), it will display on /phpBB/index.php (parent), /phpBB/Movies/index.php and /phpBB/page.php (child routes) but not on /phpBB/Movies/Comedy/index.php (we only go one level deep). In this case, /phpBB/Movies/Comedy/index.php will inherit from the default route (if it exists) + +## Posible Future State + +I'm really interested in your feedback in this area. Most phpBB users will not have real directories as outlined above. So I'm thinking of using the structure that is defined in a menu block as a virtual directory structure and apply this parent/child inheritance to it. I'm also considering going beyond one level deep. Please let me know if this will be useful to you. \ No newline at end of file diff --git a/docs/website/translated_docs/bg/blocks-managing.md b/docs/website/translated_docs/bg/blocks-managing.md new file mode 100644 index 000000000000..a2f385077835 --- /dev/null +++ b/docs/website/translated_docs/bg/blocks-managing.md @@ -0,0 +1,38 @@ +--- +id: blocks-managing +title: Managing Blocks +--- + +To manage blocks in phpBB SiteMaker, you must be in [Edit Mode](./blocks-overview#edit-mode). + +> When a block does not display any content, it will not be displayed, except in edit mode. That way, you can either give it content (in the case of the Custom block) or change its settings. +> +> In edit mode, the somewhat transparent blocks are blocks that will otherwise not be displayed but are only being displayed because we are in edit mode + +## Adding blocks + +You can add blocks to any front-facing page, except the User Control Panel and Moderator Control Panel pages. To add a block, you will need to: * click on **Blocks** in the Admin bar. This will display a list of available blocks * Drag and drop the desired block to any block position + +## Editing blocks + +### Adding a block icon + +To the left of the block title (prosilver), there is a box for the block icon. Click on this box to get the icon picker. You can select the icon size, color, float, rotation, etc. + +### Editing the Block Title + +phpBB SiteMaker blocks will have a default, translated title but if the title does not meet your needs, you can change it. To edit the block title, * Click on the block title to get an inline edit form * Change the title to whatever you want * Remove focus from the field or hit enter to submit changes + +> Your modified block title is not translated +> +> To revert to the default title, simple delete the title and hit enter + +### Editing block settings + +When you hover over a block, a cog icon will appear to the right of the block that can be used to edit the block. In the edit block dialog, you can: - Enable/disable a block [Status] - Choose when the block should/should not be displayed [Display]. This only applies in cases where you have nested pages (see [Understanding Block Inheritance](./blocks-inheritance.md)): - **Always**: Always display the block - **Hide on child routes**: Only show this block on the parent route - **Show on child routes only**: Only show this block on a child route - Choose which groups of users can view the block [Viewable by]. Use CTRL + click to select multiple groups. - Set custom classes to modify the appearance of the block or items (lists, images, background, etc) within the block [CSS Class] - Show/hide the block title [Hide block title?] - Select the block view [Block view]. You can select a default block view when new blocks are added in ACP. - **Default / Simple**: uses the prosilver panel class to wrap the block in a padded container - **Basic**: block does not have any container wrapping it - **Boxed**: uses the prosilver forabg class to wrap the block in a box - Set / Update block specific settings - If you have the same block with same settings across multiple pages, you can update all of them at once by checking the **Update blocks with similar settings** + +## Deleting blocks + +- Hover over the block you'd like to delete +- Click on the **x** icon and confirm that you wish to delete the block +- Go up to the admin bar and click on `Save Changes` \ No newline at end of file diff --git a/docs/website/translated_docs/bg/blocks-overview.md b/docs/website/translated_docs/bg/blocks-overview.md new file mode 100644 index 000000000000..251efb9bfd8a --- /dev/null +++ b/docs/website/translated_docs/bg/blocks-overview.md @@ -0,0 +1,10 @@ +--- +id: blocks-overview +title: What are blocks? +--- + +At the heart of phpBB SiteMaker is the concept of blocks. Blocks are little pieces of content that you can place in different pre-defined areas (block positions) on your site. The blocks will typically have settings that you can set/change to fine-tune the content that you wish to display. Most blocks, but not all, will make database queries to get the desired content. So let's not get too crazy :). To manage blocks, you will need to switch to "edit mode". + +## Edit Mode + +Switch to edit mode by clicking on the pencil icon on the top right of your site. This will display the "Admin bar" with "Blocks" and "Settings" menu items. This is referred to as being in 'edit mode'. \ No newline at end of file diff --git a/docs/website/translated_docs/bg/blocks-views.md b/docs/website/translated_docs/bg/blocks-views.md new file mode 100644 index 000000000000..a6b7ec57e9ab --- /dev/null +++ b/docs/website/translated_docs/bg/blocks-views.md @@ -0,0 +1,6 @@ +--- +id: blocks-views +title: Block Views +--- + +Work in progress... \ No newline at end of file diff --git a/docs/website/translated_docs/bg/contrib-overview.md b/docs/website/translated_docs/bg/contrib-overview.md new file mode 100644 index 000000000000..d32a77ff101d --- /dev/null +++ b/docs/website/translated_docs/bg/contrib-overview.md @@ -0,0 +1,11 @@ +--- +id: contrib-overview +title: Get Involved +--- + +phpBB SiteMaker is an open source project and welcomes your ideas and contributions. So feel free to get involved. You can contribute to this project by: + +* [Providing Support/Feedback](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Reporting Bugs](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Helping with Translation](./contrib-translators.md) +* [Fixing bugs or adding features](./contrib-pull-requests.md) \ No newline at end of file diff --git a/docs/website/translated_docs/bg/contrib-pull-requests.md b/docs/website/translated_docs/bg/contrib-pull-requests.md new file mode 100644 index 000000000000..a7351ca23f5f --- /dev/null +++ b/docs/website/translated_docs/bg/contrib-pull-requests.md @@ -0,0 +1,76 @@ +--- +id: contrib-pull-requests +title: Submitting a Pull Request +sidebar_label: Pull Requests +--- + +`Pull requests let you tell others about changes you've pushed to a branch in a repository on GitHub. Once a pull request is opened, you can discuss and review the potential changes with collaborators and add follow-up commits before your changes are merged into the base branch.` [Read more](https://help.github.com/articles/about-pull-requests/) + +## Forking/Cloning + +* Create a github account if you don't already have one +* Go to https://github.com/blitze/phpBB-ext-sitemaker.git and click on "Fork" + +Clone your fork of the repository: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +From command line go to sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + + +**Configure git:** + +Add your Username to Git on your system: + + git config --global user.name "Your Name Here" + + +Add your E-mail address to Git on your system: + + git config --add user.email username@phpbb.com + + +Add the upstream remote (you can change ‘upstream’ to whatever you like): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + + +**Install vendors** + + composer install + + +**Install NPM packages** + + npm install + + +Alternatively you may use [yarn](https://yarnpkg.com): + + yarn install + + +## Pull Requests + + # Create a new branch for your feature & switch to it + git checkout -b feature/my-fancy-new-feature + + # create a new branch for the issue you are working on * switch to it (ticket # is from github tracker) + git checkout -b ticket/1234 + + +Make your changes + + # Stage the files + git add + + # Commit staged files - please use a correct commit message + git commit -m "my commit message" + + +Push the branch back to GitHub git push origin feature/my-fancy-new-feature + +Submit a [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) \ No newline at end of file diff --git a/docs/website/translated_docs/bg/contrib-translators.md b/docs/website/translated_docs/bg/contrib-translators.md new file mode 100644 index 000000000000..5f14593015ba --- /dev/null +++ b/docs/website/translated_docs/bg/contrib-translators.md @@ -0,0 +1,17 @@ +--- +id: contrib-translators +title: Translators +--- + +We need help translating this extension, as well as its documentation. We have created a project on Crowdin to ease translations. Crowdin gives you a translation interface that's second to none. You can contribute how ever you want but we really recommend using Crowdin. + +> Crowdin is a localization management platform that helps companies to translate their software. You can read more about Crowdin [here](https://support.crowdin.com/crowdin-intro/) + +If you are willing to contribute with translations, you will need: + +* A [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) account. +* Chose the target language if exist otherwise request to be enabled. + +If your desired language is not listed, please [contact me](https://crowdin.com/profile/blitze) and I will add it. + +[Start Translating](https://crowdin.com/project/phpbb-ext-sitemaker) \ No newline at end of file diff --git a/docs/website/translated_docs/bg/developer-events.md b/docs/website/translated_docs/bg/developer-events.md new file mode 100644 index 000000000000..562c7bed6fd4 --- /dev/null +++ b/docs/website/translated_docs/bg/developer-events.md @@ -0,0 +1,120 @@ +--- +id: developer-events +title: phpBB SiteMaker Events +--- + +You can modify the behavior of phpBB SiteMaker using phpBB's event system. + +## PHP Events + +# blitze.sitemaker.acp_add_bulk_menu_options + +- Location: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Since: 3.1.0 +- Purpose: Add bulk menu options in acp menu + +# blitze.sitemaker.acp_display_settings_form + +- Location: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Since: 3.1.0 +- Purpose: display acp (sitemaker) settings form + +# blitze.sitemaker.acp_save_settings + +- Location: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Since: 3.1.0 +- Purpose: Save acp (sitemaker) settings + +# blitze.sitemaker.admin_bar.set_assets + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Since: 3.0.1-RC1 +- Purpose: Add assets for available blocks in edit mode + +# blitze.sitemaker.modify_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Since: 3.0.1-RC1 +- Purpose: Modify block positions + +# blitze.sitemaker.modify_rendered_block + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Since: 3.0.1-RC1 +- Purpose: Modify a rendered block + +## Template Events + +# blitze_sitemaker_acp_settings + +- Location: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Since: 3.1.0 +- Purpose: Add form fields for sitemaker settings + +# blitze_sitemaker_admin_bar_append + +- Location: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Since: 3.1.0 +- Purpose: Add menu items to admin bar + +# blitze_sitemaker_admin_bar_templates + +- Location: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Since: 3.1.0 +- Purpose: Add template files to be used in JS for block views, etc + +## Javascript Events + +# blitze_sitemaker_layout_saved + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout changes are saved + +# blitze_sitemaker_render_block_before + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something before block is rendered or prevent it from being re-rendered + +# blitze_sitemaker_render_block_after + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something after block is rendered + +# blitze_sitemaker_save_block_before + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to modify block data before it is saved + +# blitze_sitemaker_show_all_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when all block positions are shown + +# blitze_sitemaker_hide_empty_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when empty positions are hidden + +# blitze_sitemaker_layout_cleared + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout is cleared + +# blitze_sitemaker_layout_updated + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout is updated + +# blitze_sitemaker_tinymce_options + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Since: 3.3.0 +- Purpose: Event to allow other extensions to modify tinymce options \ No newline at end of file diff --git a/docs/website/translated_docs/bg/developer-extensions.md b/docs/website/translated_docs/bg/developer-extensions.md new file mode 100644 index 000000000000..fc9e22ad6904 --- /dev/null +++ b/docs/website/translated_docs/bg/developer-extensions.md @@ -0,0 +1,177 @@ +--- +id: developer-extensions +title: Extending phpBB SiteMaker +--- + +You can extend/modify phpBB SiteMaker using [service replacement](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [service decoration](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), and [phpBB's event system](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). You can find a list of supported events [here](./developer-events.md). + +## Creating a SiteMaker block + +A phpBB SiteMaker block is simply a class that extends the blitze\sitemaker\services\blocks\driver\block class and returns an array from the "display" method with a 'title' and 'content'. Everything else inbetween is up to you. To make your block discoverable by phpBB SiteMaker, you'll need to give it the "sitemaker.block" tag. + +Say we have an extension with vendor/extension as my/example. To create a block called "my_block" for phpBB SiteMaker: + +- Create a "blocks" folder +- Create my_block.php file in the blocks folder with the following content + +```php +namespace my\example\blocks; + +use blitze\sitemaker\services\blocks\driver\block; + +class my_block extends block +{ + /** + * {@inheritdoc} + */ + public function display(array $settings, $edit_mode = false) + { + return array( + 'title' => 'my block title', + 'content' => 'my block content', + ); + } +} +``` + +Then in your config.yml file, add the following: + +```yml +services: + + ... + + my.example.block.my_block: + class: my\example\blocks\my_block + calls: + - [set_name, [my.example.block.my_block]] + tags: + - { name: sitemaker.block } + + .... + +``` + +At a bare minimum, that's all you need. If you go into edit mode, you should see the block listed as 'MY_EXAMPLE_BLOCK_MY_BLOCK' that can be dragged and dropped on any block position. But this block doesn't do anything exciting. It has no settings and does not translate the block name. Let's make it more interesting. + +### Block Settings + +Let's modify our blocks/my_block.php file and add a "get_config" method th at returns an array with the keys being the block settings and the values being an array describing the settings like so: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Only show when option 1 is selected
'), + ); + } +``` + +This is constructed the same way that phpBB builds the configuration for board settings in ACP. You can see more examples [here](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +If you want a custom field type, you can see an example [here](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' setting). + +Notice 'legend1' and 'legend2': These are used to separate the settings into tabs. + +### Naming Blocks + +The convention for block names is that the service name (e.g my.example.block.my*block above) will be used as the language key by replacing the dots (.) with underscore (*) (e.g MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Translation + +Also notice that we have several language keys that need to be translated. To do this, create a file named "blocks_admin.php" in your language folder. This file will be automatically loaded when editing blocks, and should have translations for your blocks settings and block names. + + $lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Option 1', + 'OTHER_LANG_VAR' => 'Option 2', + 'SOME_LANG_VAR_1' => 'Setting 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'My Block', + ); + + +Because 'blocks_admin.php' is only loaded when editing blocks, you will need to add other translations (e.g. block title) by loading a language file in your display method like so `$language->add_lang('my_lang_file', 'my/example');` + +### Rendering the block + +The new block will only be displayed if it is rendering something. Your block can return any string as content but in most cases, you need a template to render your content. To render your block using templates, the block must return an array that holds the data that you want to pass to the template and must also implement the `get_template` method as demonstrated below: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block.html'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // do something only in edit mode + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); + } +``` + +Then your styles/all/my_block.html or styles/prosilver/my_block.html file might look something like this: + +

You selected: {{ some_var }}

+ + +In summary, your block must return an array with a `title` key (for the block title) and a `content` key (if the block just displays a string and does not use a template) or a `data` key (if the block uses a template, in which case, you will also need to implement the `get_template` method). + +### Block Assets + +If your block needs to add assets (css/js) to the page, I recommend using the sitemaker [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) for that. Since there can be more than one instance of the same block on the page, or other blocks might be adding the same asset, the util class ensures that the asset is only added ones. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some.js', + 100 => '@my_example/assets/other.js', // set priority + ), + 'css' => array( + '@my_example/assets/some.css', + ) + )); +``` + +The util class will, of course, need to be added to your service definitions in config.yml like so: `- '@blitze.sitemaker.util'` and defined in your block's constructor `\blitze\sitemaker\services\util $util`. + +And that's it. We're done! \ No newline at end of file diff --git a/docs/website/translated_docs/bg/developer-theming.md b/docs/website/translated_docs/bg/developer-theming.md new file mode 100644 index 000000000000..8f76e7c40ddd --- /dev/null +++ b/docs/website/translated_docs/bg/developer-theming.md @@ -0,0 +1,55 @@ +--- +id: developer-theming +title: Theming +--- + +phpBB SiteMaker comes with styles and colors made for prosilver. You can overwrite CSS, JS, and HTML files by creating the corresponding file in your style's folder. + +# Creating JS/CSS files for your style + +Note: * For the purpose of the below instructions we will assume that you have a style called my-style. + +Clone into phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +From command line go to sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + + +**Install vendors** + + composer install + + +**Install packages** + +For the below commands you can use npm or [yarn](https://yarnpkg.com) + + yarn install + + +**Watch Changes** + + yarn start --theme my-style + + +**Make Changes** + +* Make your changes to files in the phpBB/ext/blitze/sitemaker/develop folder. +* Look at phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss for sass variables + +**Build Assets** + + yarn build --theme my-style + + +**Deploy** + +You can now copy the generated files from phpBB/ext/blitze/sitemaker/styles/my-style and uploaded them to your production server. + +> This extension uses jQuery UI for tabs, dialogs and buttons. The default jQuery theme is 'smoothness.' You can use a different jQuery UI theme that best fits your theme. You can specify the jQuery UI theme using the flag --jq_ui_theme. For example: + + yarn build --theme my-style --jq_ui_theme ui-lightness \ No newline at end of file diff --git a/docs/website/translated_docs/bg/filemanager.md b/docs/website/translated_docs/bg/filemanager.md new file mode 100644 index 000000000000..08caa9b8029e --- /dev/null +++ b/docs/website/translated_docs/bg/filemanager.md @@ -0,0 +1,34 @@ +--- +id: filemanager +title: Responsive Filemanager +--- + +As of version 3.1.0, phpBB SiteMaker supports the [Responsive Filemanager](http://responsivefilemanager.com) + +* The file manager is used as a TinyMCE pluging (WYSIWYG editor) when editing custom blocks +* It is currently configured to creat separate folders for each user, except the user with a_sm_filemanager permission (Can see/manage other users' folders), which allows them access to view/manage all upload folders. + +## Installation + +* Download the [Responsive FileManager](http://responsivefilemanager.com/index.php#sthash.5UrnhjX2.dpbs) +* Extract it, and upload the files to your phpBB root folder. The file structure should be as below: + +```text +phpBB +├── images/ +├── includes/ +├── ... +└── ResponsiveFilemanager/ + └── filemanager/ + └── config/ + ├── .htaccess + └── config.php +``` + +## Activation + +* Go to ACP > Extensions > SiteMaker > Settings +* Enable File Manager feature +* Save changes +* Update user permissions (Misc tab) to determine who can use this feature [Can use File Manager] +* Update admin permissions (Misc tab) to determine who can manager user folders [Can see/manage other users’ folders in File Manager] \ No newline at end of file diff --git a/docs/website/translated_docs/bg/installation.md b/docs/website/translated_docs/bg/installation.md new file mode 100644 index 000000000000..298f90a9e5c0 --- /dev/null +++ b/docs/website/translated_docs/bg/installation.md @@ -0,0 +1,18 @@ +--- +id: installation +title: Installing / Upgrading +--- + +Download the extension from [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker + +* Extract and upload it to your phpBB/ext/ folder so you have phpBB/ext/blitze/sitemaker +* Go to "ACP" > "Customise" > "Extensions" and enable the "phpBB Sitemaker" extension. + +## Upgrading phpBB SiteMaker + +* Create a backup of your database just in case something goes wrong +* Go to "ACP" > "Customise" > "Extensions" and disable (do not purge) "phpBB Sitemaker" +* Download and extract the latest version of phpBB SiteMaker and upload it to your phpBB/ext/ folder (overwrite) +* Go to "ACP" > "Customise" > "Extensions" and enable the "phpBB Sitemaker" extension. \ No newline at end of file diff --git a/docs/website/translated_docs/bg/introduction.md b/docs/website/translated_docs/bg/introduction.md new file mode 100644 index 000000000000..ff5a07cb2614 --- /dev/null +++ b/docs/website/translated_docs/bg/introduction.md @@ -0,0 +1,6 @@ +--- +id: introduction +title: Introduction +--- + +phpBB SiteMaker seeks to transform your phpBB board into a CMS/portal. It does so by providing you with blocks and menus to help you customize your site to your liking. There are or will be other SiteMaker extensions that provide additional functionality to meet this goal. It also allows you to define a landing page when your site is accessed. So if you don't want visitors to your site to immediately see the phpBB forum when they go to www.your-site.com, you can define your own start page. \ No newline at end of file diff --git a/docs/website/translated_docs/bg/menus-display.md b/docs/website/translated_docs/bg/menus-display.md new file mode 100644 index 000000000000..795985e02a3c --- /dev/null +++ b/docs/website/translated_docs/bg/menus-display.md @@ -0,0 +1,18 @@ +--- +id: menus-display +title: Displaying Menus +--- + +Now that you have create your menus, you can display them in several ways: + +## Links Block + +You can use this block to display a flat or nested list of menu items. This block is not intended to be used for navigation i.e. it will not show a current page or anything like that. It is intended for a list of items, including external links. + +## Menus Block + +This block is intended for site navigation. It does some additional computations to determine current location and is not intended to be a very large list. + +## Navigation bar + +Similar to the Menus block, the navigation bar will display menu items as a responsive dropdown menu intended for site navigation. You can enable this in ACP > Extensions > Sitemaker > Settings > Select menu \ No newline at end of file diff --git a/docs/website/translated_docs/bg/menus-managing-items.md b/docs/website/translated_docs/bg/menus-managing-items.md new file mode 100644 index 000000000000..e63160278c4c --- /dev/null +++ b/docs/website/translated_docs/bg/menus-managing-items.md @@ -0,0 +1,30 @@ +--- +id: menus-managing-items +title: Managing Menu Items +--- + +Your menu is useless unless it has menu items. You can add menu items that point to local or external files. + +> The URL for external sites must begin with http(s)://, ftp://, //, etc. +> +> You can create a divider by entering '-' as the item title + +## Adding Menu items + +You can add menu items one item at a time, or you can add multiple menu items at ones. + +### Adding single menu items + +To add a single menu item, * click on the `Add Menu Item` button * Fill in the required information and hit `Save` + +### Adding multiple items + +To add multiple menu items at once, * Click on the ▼ icon next to `Add Menu Item` * You can manually add items by placing each item on a new line and using the tab character nest items or * You can click on one of the provided options at the bottom of the textarea to automatically fill in the menu items + +## Reorder the menu items + +You can drag and drop the menu items up/down to set their display order, or drag them left/right to set the desired hierarchy. + +## Rebuilding the menu items + +If you find that the menu items are not displaying correctly, click on the `Rebuild Tree` button to rebuild the menu items. \ No newline at end of file diff --git a/docs/website/translated_docs/bg/menus-managing.md b/docs/website/translated_docs/bg/menus-managing.md new file mode 100644 index 000000000000..5be36cddb83a --- /dev/null +++ b/docs/website/translated_docs/bg/menus-managing.md @@ -0,0 +1,22 @@ +--- +id: menus-managing +title: Managing Menus +--- + +You can create menus in ACP that you can then display using the Menus or the Links blocks or displayed as a horizontal navbar. + +## Managing Menus + +To manage menus, go to ACP > Extensions > Sitemaker > Menu + +### Creating Menus + +To create a new menu (group), click on the `Add Menu` button. A new menu group will be created with a randomly generated name. The new menu will also be selected so you can begin adding menu items to it. + +### Editing Menus + +If you want a more meaningful menu name, * hover over the menu name and click on the cog icon * enter the new menu name and hit enter to update it + +### Deleting Menus + +To delete a menu, and its items, * Hover over the menu name and click on the **x** icon * If the menu item has no child items, you will need to confirm your choice to delete the item * If the menu item has child items, you will need to indicate if you want to delete only the item and move its children up or if you want to delete the entire branch \ No newline at end of file diff --git a/docs/website/translated_docs/bg/site-block-modifiers.md b/docs/website/translated_docs/bg/site-block-modifiers.md new file mode 100644 index 000000000000..4712e963c3a2 --- /dev/null +++ b/docs/website/translated_docs/bg/site-block-modifiers.md @@ -0,0 +1,6 @@ +--- +id: site-block-modifiers +title: Customizing Blocks Display +--- + +Work in progress... \ No newline at end of file diff --git a/docs/website/translated_docs/bg/site-default-layout.md b/docs/website/translated_docs/bg/site-default-layout.md new file mode 100644 index 000000000000..247f9e388692 --- /dev/null +++ b/docs/website/translated_docs/bg/site-default-layout.md @@ -0,0 +1,10 @@ +--- +id: site-default-layout +title: Setting a Default Layout +--- + +When you add a block, it is added to that specific page. It would, therefore, be a tedious task to set blocks for all the pages on your site. You can set all the desired blocks for a particular page, then set that page as the default layout. In others words, any page that does not have its own blocks, will inherit blocks from this page. + +To set a default layout * Go to the page that you'd like to set as default layout * Click on `Settings` in the admin bar * Click the `Set as default layout` button + +Say we add blocks to a page (phpBB/index.php) with blocks in the sidebar and top positions, for example, and set it as our default layout. This has the following effects for other pages: * Any page that does not have its own blocks, will inherit the blocks from the default layout. See [Understanding Block Inheritance](./blocks-inheritance.md) for exceptions. * You may still inherit blocks from a default layout (index.php) but choose to not display blocks on some block positions or not display any blocks at all. To do this, * Go to the page that you don't want all/some blocks to display * Click on `Settings` in the admin bar * Select `Do not show blocks on this page` if you don't want to inherit/display any blocks on this page OR * Use CTRL + click to select the block positions (on the right) that you do not want to display blocks on * In `edit mode`, a page that inherits blocks from the default layout, will not show any blocks, giving you the opportunity to add blocks to the page if you want to * Any page that has its own blocks will not inherit from the default layout \ No newline at end of file diff --git a/docs/website/translated_docs/bg/site-layouts.md b/docs/website/translated_docs/bg/site-layouts.md new file mode 100644 index 000000000000..fd4b6d625602 --- /dev/null +++ b/docs/website/translated_docs/bg/site-layouts.md @@ -0,0 +1,20 @@ +--- +id: site-layouts +title: Layouts +--- + +"Layouts" determine the available block positions and how they are displayed. + +## Block Positions + +Block positions are predefined areas on your site where blocks can exist. The available block positions are determined by the template style that you are using. For prosilver, phpBB SiteMaker comes with the following block positions: * panel: full width across the top * sidebar: left/right depending on layout below * subcontent: similar to sidebar just larger * top_hor: horizontal blocks across the top, flanking above sidebar/subcontent depending on layout * top: above main content * box: equal width, horizontal blocks below main content * bottom: below main content * bottom_hor: horizontal blocks across the bottom, flanking the sidebar/subcontent depending on layout * footer: horizontal blocks in the footer You can add more block positions in your own style templates by copying and modifying the corresponding phpBB SiteMaker templates + +## Site Layout + +You can choose the layout for your site in ACP (Extensions > Sitemaker > Settings): * **Blog**: subcontent and sidebar next to each other, pushed to the right, top_hor/botom_hor flank subcontent * **Holy Grail**: equal width sidebar and subcontent on opposite sides, top_hor/botom_hor flank subcontent * **Portal**: sidebar on left, subcontent on the right, top_hor/botom_hor flank subcontent * **Portal Alt**: subcontent on left, sidebar on the right, top_hor/botom_hor flank sidebar * **Custom**: Manually set the width of the sidebars as px, %, em or rem. Defaults to 200px on each side + +## Custom templates/styles + +As much as possible, we tried to put template files and assets in styles/all/ folder so that you can overwrite them by creating a file with same name under your own template theme e.g. prosilver. So if you want to modify how a certain block displays or if you want to create your own layout with your own block positions, you simply need to create a file with the same name and path as the original in your own style. + +If you need to customize CSS/JS files, take a look at the [theming](./developer-theming.md) section. \ No newline at end of file diff --git a/docs/website/translated_docs/bg/site-navbar.md b/docs/website/translated_docs/bg/site-navbar.md new file mode 100644 index 000000000000..edffeefdd49d --- /dev/null +++ b/docs/website/translated_docs/bg/site-navbar.md @@ -0,0 +1,6 @@ +--- +id: site-navbar +title: Navigation Bar +--- + +See [Displaying Menus](./menus-display#navigation-bar) \ No newline at end of file diff --git a/docs/website/translated_docs/bg/site-startpage.md b/docs/website/translated_docs/bg/site-startpage.md new file mode 100644 index 000000000000..95b0b046cca0 --- /dev/null +++ b/docs/website/translated_docs/bg/site-startpage.md @@ -0,0 +1,8 @@ +--- +id: site-startpage +title: Setting a Start Page +--- + +phpBB SiteMaker allows you to choose any front controller (pages accessed via app.php/...) as your default start page (the page that will be shown when someone visits your site) instead of the board index. + +To do this: * Go to the page that you want to set as default start page * Click on `Settings` in the admin bar. If it is an eligible page, you will see a `Set as start page` button * Click on the `Set as start page` button \ No newline at end of file diff --git a/docs/website/translated_docs/cs/blocks-custom.md b/docs/website/translated_docs/cs/blocks-custom.md new file mode 100644 index 000000000000..71bc25e55e3a --- /dev/null +++ b/docs/website/translated_docs/cs/blocks-custom.md @@ -0,0 +1,24 @@ +--- +id: bloky na míru +title: Celní blok +--- + +Pokud dostupné bloky neposkytují potřebnou svobodu. existuje `Vlastní blok` umožňující zobrazení vlastního obsahu pomocí BBCode nebo HTML. Blok přichází s WYSIWYG editorem (TinyMCE) a manažerem skriptů: + +## Redaktor + +- Můžete použít editor k vytvoření obsahu HTML +- Pokud potřebujete tuto úroveň řízení, můžete upravit kliknutím na ikonu `zdrojového kódu` (`<>`) v editoru +- Editor umožňuje nahrát a upravovat obrázky + - Vytváří novou složku v phpBB/images/sitemaker_uploads/ pro každého uživatele, který k ní má přístup + - Můžete zobrazit/spravovat všechny uživatelské složky +- Editor filtruje jakékoli potenciálně nebezpečné skripty, jako je javascript atd. Pokud potřebujete přidat obsah jako google reklamy, javascript bude odfiltrován, ale můžete si to obejít pomocí následující: + - Přidejte celní blok na požadovanou polohu + - Upravte vlastní blok, klikněte na záložku `HTML` a vložte svůj JavaScript + +## Správce skriptů + +Vlastní blok vám také umožňuje přidat vlastní CSS a Javascript soubory na vaši stránku. Abych to udělal: + +- Přidejte `vlastní blok` do libovolné pozice bloku. Pozice nezáleží, pokud také nezobrazujete obsah s blokem +- Upravit blok, klikněte na záložku `skripty` a přidejte soubory CSS nebo Javascript > Slovo opatrnosti: Přidání mnoha skriptů na vaší stránce může ovlivnit časy načítání \ No newline at end of file diff --git a/docs/website/translated_docs/cs/blocks-inheritance.md b/docs/website/translated_docs/cs/blocks-inheritance.md new file mode 100644 index 000000000000..47ed905b2996 --- /dev/null +++ b/docs/website/translated_docs/cs/blocks-inheritance.md @@ -0,0 +1,44 @@ +--- +id: blocks-inheritance +title: Porozumění blokové gramotnosti +--- + +Již jsme viděli, že pokud nastavíme výchozí rozložení, jiné stránky, které nemají vlastní bloky, zdědí bloky z výchozí rozložení. Existuje však i další typ blokového dědictví. + +## Rodiče/děti + +V phpBB SiteMaker, mluvíme o hnízdních trasách z hlediska skutečných hnízdních (sub) adresářů nebo prakticky zasazené cesty/trasy. Prosím, zůstaňte se mnou :). * Real Parent/Child routes: například cesta /some_directory/sub_directory/index.php je dítě /some_directory/index.php * Virtual Parent/Child routes: například prohlížení.php je zacházeno jako s dítětem divforum.php. + +Zde jsou některé příklady tras rodiče/dítě: + +| Parent | Dět | +| ------------------ | ------------------------------- | +| /index.php | /viewforum.php, /dir/index.php. | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/my-článek | + +## Parent/dítě blokové gramotnosti + +U rodičovských či dětských tras zdědí trasa rodičovské (pokud má rodič své vlastní bloky) nebo výchozí rozložení (pokud byla nastavena). Jinými slovy, i když existuje standardní rozložení, po rodičovské trase zdědí bloky z rodičovské trasy, pokud má rodičovská trasa své vlastní bloky. Ne všechny bloky rodičovské trasy však musí být zděděny. + +## Kontrola blokové gramotnosti + +Na blokové úrovni můžete kontrolovat, zda blok lze zdědit dětskými trasami. Tohle jsme se dotkli již dříve v [Upravit nastavení bloků](./blocks-managing#editing-block-settings). + +Uvažme následující skutečnou strukturu katalogů: + +```text +phpBB + index.php + َ Movies/ + index.php + page.php + Comedy/ + 32/ index.php +``` + +Pro účely dědice bloků říkáme: * Nadřízená trasa /phpBB/Movies/Comedy/index.php je /phpBB/Movies/index. hp a ne /phpBB/Movies/page.php * Všechny stránky v podadresáři relativní k /phpBB/index.php je podřízená cesta z /phpBB/index.php. Takže /phpBB/Movies/index.php a /phpBB/Movies/page.php jsou všechny děti /phpBB/index.php, a proto zdědí své bloky, pokud nemají své vlastní bloky. V tomto případě: * Když blok na /phpBB/index. hp je nastaven na **Hide on child routes**, blok se zobrazí na /phpBB/index. hp (nadřazená cesta), ale ne na jejích podřízených směrech * Když blok na /phpBB/index. hp je nastaven na zobrazení na **Zobrazit pouze na dětských cestách**, bude se zobrazovat na /phpBB/Movies/index.php a /phpBB/Movies/page. hp (dětské trasy), ale ne na /phpBB/index.php (rodič), nebo /phpBB/Movies/Comedy/index. hp (jdeme pouze do jedné úrovně) * Když blok na /phpBB/index. hp je nastaven na zobrazení **vždy** (výchozí), zobrazí se na /phpBB/index.php (rodič), /phpBB/Movies/index. hp a /phpBB/page.php (dětské trasy), ale ne na /phpBB/Movies/Comedy/index.php (pouze jdeme o jednu úroveň hluboká). V tomto případě, /phpBB/Movies/Comedy/index.php zdědí z výchozí trasy (pokud existuje) + +## Budoucnost státu + +Skutečně se zajímám o vaši zpětnou vazbu v této oblasti. Většina uživatelů phpBB nebude mít skutečné adresáře uvedené výše. Proto přemýšlím o použití struktury, která je definována v menu bloku jako virtuální adresářová struktura, a uplatním na ni tento rodič/dítě inheritance. Zvažujem také jít nad rámec jedné úrovně hluboko. Prosím, dejte mi vědět, zda to bude pro vás užitečné. \ No newline at end of file diff --git a/docs/website/translated_docs/cs/blocks-managing.md b/docs/website/translated_docs/cs/blocks-managing.md new file mode 100644 index 000000000000..93d74b001c23 --- /dev/null +++ b/docs/website/translated_docs/cs/blocks-managing.md @@ -0,0 +1,38 @@ +--- +id: správa bloků +title: Správa bloků +--- + +Chcete-li spravovat bloky v phpBB SiteMaker, musíte být v [Edit Mode](./blocks-overview#edit-mode). + +> Pokud blok nezobrazí žádný obsah, nebude zobrazen, s výjimkou editačního režimu. Tímto způsobem jej můžete buď seznámit s obsahem (v případě celního bloku) nebo změnit jeho nastavení. +> +> V editačním režimu jsou poněkud transparentní bloky, které se jinak nezobrazují, ale zobrazují se pouze proto, že jsme v režimu úpravy. + +## Přidání bloků + +Bloky můžete přidávat na libovolnou stránku s náporem, kromě User Control Panel a Moderator Control Panel stránek. Chceš-li přidat blok, musíš to: * klikni na **bloky** v panelu Admina. Toto zobrazí seznam dostupných bloků * přetáhni požadovaný blok na jakoukoli pozici bloku + +## Nastavení bloků + +### Přidáním blokové ikony + +Pro levou část blokového titulu (prosilver) je zde krabice pro ikonu bloku. Klikněte na tuto schránku, abyste si vybrali ikonu. Můžete zvolit velikost ikon, barvu, float, rotaci, atd. + +### Upravit blokovou hlavičku + +phpBB SiteMaker bloky budou mít výchozí, přeložené tituly, ale pokud název nesplňuje vaše potřeby, můžete změnit. Možnost upravit název bloku, * Klikni na název bloku a najdi inline editační formulář * Změň název na cokoliv chceš * Odstraň zaměření pole nebo stiskni enter pro submit změn. + +> Vaše modifikovaný název není přeložen +> +> Pro návrat do výchozího názvu jednoduše smažte název a stiskněte Enter. + +### Upravit nastavení bloků + +Když se vznášíte přes blok, objeví se ikona pro sdílení pravé části bloku, který může být použit k úpravě bloku. V okně bloku úprav můžete: - Povolit/zakázat blok [Status] - Vyberte kdy by blok neměl být zobrazován [Display]. This only applies in cases where you have nested pages (see [Understanding Block Inheritance](./blocks-inheritance.md)): - **Always**: Always display the block - **Hide on child routes**: Only show this block on the parent route - **Show on child routes only**: Only show this block on a child route - Choose which groups of users can view the block [Viewable by]. Použijte CTRL + klikněte na výběr více skupin. - Nastavte vlastní třídy pro změnu vzhledu bloku nebo položek (seznamy, obrázky, pozadí. atd) v bloku [CSS Class] - Zobrazit/skrýt název bloku [Skrýt název bloku? - Vyberte si zobrazení bloku [Block view]. Při přidání nových bloků do zemí AKT si můžete zvolit výchozí blokový náhled. - **Výchozí / Jednoduché**: použije třídu prostříbra panelu bloku pro zabalení do ohraničeného kontejneru - **Basic**: blok nemá žádný kontejner zabalený - **Boxed**: používá prosilver třídy pro zabalení bloku do pole - Aktualizujte specifické nastavení blokování - Pokud máte stejný blok se stejným nastavením na více stránkách, všechny aktualizace můžete aktualizovat najednou kontrolou **aktualizačních bloků v podobném nastavení** + +## Odstranění bloků + +- Hover nad blokem, který chcete odstranit +- Klepněte na ikonu **x** a potvrďte, že chcete tento blok odstranit. +- Jdi na panel administrace a klikni na `Uložit změny` \ No newline at end of file diff --git a/docs/website/translated_docs/cs/blocks-overview.md b/docs/website/translated_docs/cs/blocks-overview.md new file mode 100644 index 000000000000..093a699f1daf --- /dev/null +++ b/docs/website/translated_docs/cs/blocks-overview.md @@ -0,0 +1,10 @@ +--- +id: blocks-přehled +title: Jaké jsou bloky? +--- + +V srdci phpBB SiteMaker je koncept bloků. Blocks jsou malé části obsahu, které můžete umístit v různých předdefinovaných oblastech (blokové pozice) na vašich stránkách. Bloky budou mít obvykle nastavení, která můžete nastavit nebo změnit tak, aby vyhovovala obsahu, který chcete zobrazit. Většina bloků, ale ne všechny, bude database dotazy získat požadovaný obsah. A tak se nenechme být příliš blázniví :). Pro správu bloků budete muset přejít na "editační režim". + +## Upravit model + +Chcete-li změnit režim, klepněte na ikonu pencil přímo na horní stránce. Toto zobrazí položku "Admin bar" s položkami "Blocks" a "Nastavení". To se označuje jako "editační režim". \ No newline at end of file diff --git a/docs/website/translated_docs/cs/blocks-views.md b/docs/website/translated_docs/cs/blocks-views.md new file mode 100644 index 000000000000..b86ec6e57a39 --- /dev/null +++ b/docs/website/translated_docs/cs/blocks-views.md @@ -0,0 +1,6 @@ +--- +id: blocks-náhledy +title: Blokové zobrazení +--- + +Probíhající práce... \ No newline at end of file diff --git a/docs/website/translated_docs/cs/contrib-overview.md b/docs/website/translated_docs/cs/contrib-overview.md new file mode 100644 index 000000000000..f99c7a274ee6 --- /dev/null +++ b/docs/website/translated_docs/cs/contrib-overview.md @@ -0,0 +1,11 @@ +--- +id: Náhled +title: Zapojit se +--- + +phpBB SiteMaker je open source projekt a vítá vaše myšlenky a příspěvky. Takže se můžete svobodně zapojit. Do tohoto projektu můžete přispět: + +* [Poskytování podpory/zpětného ohlédnutí](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Oznámení o platbách](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Pomoc s překladem](./contrib-translators.md) +* [Oprava chyb nebo přidání funkcí](./contrib-pull-requests.md) \ No newline at end of file diff --git a/docs/website/translated_docs/cs/contrib-pull-requests.md b/docs/website/translated_docs/cs/contrib-pull-requests.md new file mode 100644 index 000000000000..14672ae4e35d --- /dev/null +++ b/docs/website/translated_docs/cs/contrib-pull-requests.md @@ -0,0 +1,76 @@ +--- +id: Požadavky na registraci +title: Odesílání žádosti o ubytování +sidebar_label: Pull Requests +--- + +`Pull requests let you tell others about changes you've ve ve made a branch in a repository on GitHub. Po otevření pull requestu můžete prodiskutovat a zkontrolovat případné změny se spolupracovníky a přidat následné commity před sloučením do základní větve.` [Přečtěte si více](https://help.github.com/articles/about-pull-requests/) + +## Klonování + +* Pokud již nemáte účet +* Jděte na https://github.com/blitze/phpBB-ext-sitemaker.git a klikněte na "Fork" + +Klone Váš vidák repozitáře: + + git klon git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker/ + + +Z příkazové řádky přejděte do složky sitemaker: + + cd phpBB/ext/blitze/sitemaker + + +**Konfigurovat git:** + +Přidejte uživatelské jméno Gitovi na váš systém: + + git config --global user.name "Vaše jméno zde" + + +Přidejte svou e-mailovou adresu k Gitu na váš systém: + + git config --add user.email username@phpbb.com + + +Přidejte nahoru vzdálený (můžete změnit ‘upstream’ na to, co chcete): + + git vzdálené přidat upstream git://github.com/blitze/phpBB-ext-sitemaker.git. + + +**Nainstalujte prodejce** + + Jak instalovat skladatele + + +**Nainstalujte NPM balíčky** + + npm install + + +Případně můžete použít [yarn](https://yarnpkg.com): + + yarn instalace + + +## Pull Requests + + # Vytvořte novou větev pro vaši funkci & přepněte na ni + git checkout -b feature/my-fancy-new-feature + + # vytvořte novou větev pro problém, na kterém pracujete* přepnout na (ticket # je z github tracker) + git checkout -b ticket/1234 + + +Učiňte změny + + # Fáze souborů + git add + + # archivovaných souborů - použijte prosím správnou commit zprávu + git commit -m "moje commit zpráva" + + +Stiskněte větev zpět na GitHub možnost původu gitu / muj-fancy-new-feature + +Podat [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) \ No newline at end of file diff --git a/docs/website/translated_docs/cs/contrib-translators.md b/docs/website/translated_docs/cs/contrib-translators.md new file mode 100644 index 000000000000..b7429682ec0b --- /dev/null +++ b/docs/website/translated_docs/cs/contrib-translators.md @@ -0,0 +1,17 @@ +--- +id: contrib-překladatelé +title: Překladatelé +--- + +Potřebujeme pomoci s překladem tohoto rozšíření a také jeho dokumentaci. Vytvořili jsme projekt Crowdin pro zjednodušení překladů. Crowdin poskytuje překladové rozhraní, které je druhé až žádné. Můžete přispět, jak vždy chcete, ale opravdu doporučujeme používat Crowdin. + +> Crowdin je platforma pro správu lokalizací, která pomáhá společnostem přeložit svůj software. Více o Crowdin [se zde dočtete](https://support.crowdin.com/crowdin-intro/) + +Pokud jste ochotni přispět překlady, budete potřebovat: + +* [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) účet. +* Pokud existuje jiná žádost, vyberte si cílový jazyk. + +Pokud váš jazyk není uveden, prosím [kontaktujte mě](https://crowdin.com/profile/blitze) a já jej přidám. + +[Začněte překlady](https://crowdin.com/project/phpbb-ext-sitemaker) \ No newline at end of file diff --git a/docs/website/translated_docs/cs/developer-events.md b/docs/website/translated_docs/cs/developer-events.md new file mode 100644 index 000000000000..36834eddf8fa --- /dev/null +++ b/docs/website/translated_docs/cs/developer-events.md @@ -0,0 +1,120 @@ +--- +id: Vývojářské akce +title: phpBB SiteMaker Události +--- + +Umíte změnit chování phpBB SiteMaker pomocí phpBB event systém. + +## Události PHP + +# blitze.sitemaker.acp_add_bulk_menu_options_options_options_options. + +- Location: /phpBB/ext/blitze/sitemaker/acp/menu_module.php. +- Vzhledem k tomu: 3.1.0 +- Cíl: Nastavení široké nabídky v menu acp + +# blitze.sitemaker.acp_display_settings_form + +- Location: /phpBB/ext/blitze/sitemaker/acp/settings_module.php. +- Vzhledem k tomu: 3.1.0 +- Účet: zobrazovací formulář (sitemaker) + +# blitze.sitemaker.acp_save_settings + +- Location: /phpBB/ext/blitze/sitemaker/acp/settings_module.php. +- Vzhledem k tomu: 3.1.0 +- Cíl: Uložit acp (sitemaker) nastavení + +# blitze.sitemaker.admin_bar.set_assets + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Od: 3.0.1-RC1 +- Cíl: Přidat aktiva k dostupným blokům v režimu editace + +# blitze.sitemaker.modify_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks.php +- Od: 3.0.1-RC1 +- Záměr: změna blokových postojů + +# blitze.sitemaker.modify_rendered_block + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks.php +- Od: 3.0.1-RC1 +- Záměr: Jak změnit tvarovaný blok + +## Template Events + +# blitze_sitemaker_acp_settings + +- Location: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Vzhledem k tomu: 3.1.0 +- Cíl: Přidat pole formuláře pro nastavení sitemaker + +# blitze_sitemaker_admin_bar_append + +- Location: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Vzhledem k tomu: 3.1.0 +- Cíl: Přidat položky menu do admin baru + +# blitze_sitemaker_admin_bar_templates + +- Location: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Vzhledem k tomu: 3.1.0 +- Cíl: Přidat šablony, které mají být použity v JS pro blokové názory, atd. + +## Události JavaScript + +# blitze_sitemaker_layout_saved + +- Místo: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Od: 3.1.2 +- Úmysl: Pokud jsou změny rozložení zachráněny, akce umožňují jiným rozšířením něco udělat. + +# blitze_sitemaker_render_block_before before + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Od: 3.1.2 +- Záměr: Příprava umožňující jiným rozšířením něco udělat před odebráním bloku nebo zabránit jeho znovuzavedení. + +# blitze_sitemaker_render_block_after + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Od: 3.1.2 +- Úmysl: Příprava povolit další rozšíření tak, aby něco dělal po bloku se provádí + +# blitze_sitemaker_save_block_před tím. + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Od: 3.1.2 +- Cíl: Událost umožňující jiným rozšířením měnit bloková data dříve, než je uložena. + +# blitze_sitemaker_show_all_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Od: 3.1.2 +- Úmysl: Když se na všechny blokové pozice objeví všechny přípony, povolte jiným rozšířením něco dělat. + +# blitze_sitemaker_hide_empty_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Od: 3.1.2 +- Záměr: Událost umožňující jiným rozšířením něco dělat, když jsou prázdná místa skryta. + +# blitze_sitemaker_layout_cleared + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Od: 3.1.2 +- Cíl: Událost umožňující jiným rozšířením něco dělat, je-li rozložení odstraněno. + +# blitze_sitemaker_layout_updated + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Od: 3.1.2 +- Cíl: Událost umožňující jiným rozšířením něco dělat, je-li rozložení aktualizováno + +# Blitze_sitemaker_tinymce_možnosti + +- Umístění: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Od: 3.3.0 +- Účel: Událost pro další rozšíření pro změnu možností tinymce \ No newline at end of file diff --git a/docs/website/translated_docs/cs/developer-extensions.md b/docs/website/translated_docs/cs/developer-extensions.md new file mode 100644 index 000000000000..178db9035a2d --- /dev/null +++ b/docs/website/translated_docs/cs/developer-extensions.md @@ -0,0 +1,177 @@ +--- +id: Rozšíření vývojářů +title: Rozšíření phpBB SiteMaker +--- + +phpBB SiteMaker můžete rozšířit pomocí [nahrazení služby](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [dekorace služeb](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration)a [phpBB's event systém](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Seznam podporovaných událostí najdete zde [](./developer-events.md). + +## Vytváření SiteMaker bloku + +Blok phpBB SiteMaker je jednoduše třída, která rozšiřuje kategorii blitze\sitemaker\services\blocks\driver\block třídu a vrací pole z "zobrazovací" metody s "titul" a "obsah". Všechno ostatní vložení je na vás. Abyste svůj blok objevil phpBB SiteMaker, musíte mu dát štítek "sitemaker.block". + +Jako příklad uveďme rozšíření s dodavatelem/rozšířením. Chcete-li vytvořit blok nazvaný "můj_block" pro phpBB SiteMaker: + +- Vytvořte složku "bloků". +- Vytvořte můj_block.php soubor v bloku složky s následujícím obsahem + +```php +namespace my\example\blocks; + +používá blitze\sitemaker\services\blocks\driver\block; + +class my_block rozšiřuje blok +{ + /** + * {@inheritdoc} + */ + veřejné funkce zobrazení (array $settings, $edit_mode = false) + { + reklamační pole ( + 'title' => 'Můj název bloku', + 'content' => 'můj obsah bloku', + ); + } +} +``` + +Potom ve vašem konfiguragu.yml souboru přidejte následující: + +```yml +služeb: + +... + + my.example.block.my_block: + class: my\example\blocks\my_block + calls: + - [set_name, [my.example.block.my_block]] + tagy: + - { name: sitemaker.block } + +.... + +``` + +To je minimum, to je vše, co potřebujete. Pokud přejdete do editačního režimu, měli byste vidět blok zapsaný jako 'MY_EXAMPLE_BLOCK_MY_BLOCK', který může být přetažen a vyřazen na jakoukoli blokovou pozici. Tento blok ale nedělá nic vzrušujícího. Nemá žádné nastavení a nepřeloží název bloku. Učiňme to zajímavějším. + +### Blokové nastavení + +Pojďme upravit naše bloky/my_block. hp soubor a přidat metodu "get_config" na vrací pole s tím, že klíče jsou nastavení bloků, a hodnoty popisující nastavení, jako je toto: + +```php + /** + * @inheritdoc + */ + veřejná funkce get_config(pole $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => „OTHER_LANG_VAR“); + zpáteční pole + 'legend1' => 'TAB1', + 'checkbox' => pole ('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options„výchozí“ => pole(), „vysvětlit“ => false), + 'yes_no' => pole ('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'rád' => pole ('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'vysvětlit' => false, 'default' => 'topic'), + 'select' => pole ('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', „vysvětlit“ => nepravda), + 'multi' => pole ('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'možnosti' => $options, 'default' => pole(), 'vysvětlit' => false), + 'legend2' => 'TAB2', + 'číslo' => pole ('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false; „výchozí“ => 5), + 'textarea' => pole ('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'výchozí' => ''), + 'togglable' => pole ('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options'výchozí' => '', 'append' => '
Zobrazit pouze když je zvolena možnost 1
'), + ); +} +``` + +To je postaveno stejně, jako phpBB buduje konfiguraci pro nastavení desky v AKT. Můžete si prohlédnout další příklady [zde](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Pokud chcete typ vlastního pole, můžete vidět příklad [zde](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) (nastavení 'content_type'). + +Poznámka "legend1" a "legend2": Tato nastavení se používají pro oddělená nastavení na taby. + +### Název bloků + +Konventem názvů bloků je název služby (např. my.example.block. y*blok výše) bude použit jako jazykový klíč nahrazením teček (.) podtržítkem (*) (např. MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Překlad + +Také si všimněte, že máme několik jazykových kláves, které musí být přeloženy. Chcete-li toho dosáhnout, vytvořte soubor nazvaný "blocks_admin.php" ve vaší jazykové složce. Tento soubor bude automaticky nahrán při editaci bloků a měl by mít překlady pro nastavení bloků a bloková jména. + + $lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Option 1', + 'JA_LANG_VAR' => 'Volba 2', + 'SOME_LANG_VAR_1' => 'Nastavení 1', + .... + "MY_EXAMPLE_BLOCK_MY_BLOCK' => 'My Block', + ); + + +Protože 'blocks_admin.php' je nahrán pouze při úpravách bloků, budete muset přidat další překlady (např. název bloku) nahráním jazykového souboru do zobrazovací metody, tak `$language->add_lang('my_lang_file', 'my/example');` + +### Obnovení bloku + +Nový blok se zobrazí pouze v případě, že něco objeví. Váš blok může vrátit libovolný řetězec jako obsah, ale ve většině případů potřebujete šablonu, aby se zobrazil obsah. Pro vykreslení bloku pomocí šablon, blok musí vrátit pole, které obsahuje data, která chcete předat do šablony, a musí také implementovat metodu `get_template` , jak je uvedeno níže: + +```php + /** + * @inheritdoc + */ + veřejná funkce get_config(pole $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => „OTHER_LANG_VAR“); + zpáteční pole + 'legend1' => 'TAB1', + 'some_setting' => pole('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options„výchozí“ => pole(), „vysvětlit“ => false), + ); + } + + /** + * {@inheritdoc} + */ + Veřejná funkce get_template() + { + return '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + zobrazení veřejné funkce (pole $data, $edit_mode = false) + { + if ($edit_mode) + { + // do něco pouze v editačním módu + } + + return ary( + 'title' => 'MY_BLOCK_TITLE', + 'data' => pole + 'some_var' => $data['settings']['some_setting'] + ), + ); +} +``` + +Pak vaše styles/all/my_block.html nebo styles/prosilver/my_block.html soubor může vypadat takto: + +

Vybrali jste: {{ some_var }}

+ + +In summary, your block must return an array with a `title` key (for the block title) and a `content` key (if the block just displays a string and does not use a template) or a `data` key (if the block uses a template, in which case, you will also need to implement the `get_template` method). + +### Blokové aktivy + +Pokud váš blok potřebuje přidat aktiva (css/js) na stránku, doporučuji pro to použít sitemaker [util třídu](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php). Protože na stránce může být více než jedna instance téhož bloku, nebo jiné bloky mohou přidávat stejné aktivum, třída utilu zajišťuje, že aktivum je pouze přidáno. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/některé. s', + 100 => '@my_example/assets/other. s', // nastavit prioritu + ), + 'css' => pole( + '@my_example/assets/některé. ss', + ) +)); +``` + +Do definic vašich služeb bude samozřejmě muset být přidána utilová třída v config.yml jako je toto: `- '@blitze.sitemaker. til'` a definováno v konstruktoru vašeho bloku `\blitze\sitemaker\services\util $util`. + +A je to. Jsme hotovi! \ No newline at end of file diff --git a/docs/website/translated_docs/cs/developer-theming.md b/docs/website/translated_docs/cs/developer-theming.md new file mode 100644 index 000000000000..16ff711339d2 --- /dev/null +++ b/docs/website/translated_docs/cs/developer-theming.md @@ -0,0 +1,55 @@ +--- +id: projektová tematika +title: Teorie +--- + +phpBB SiteMaker přichází se styly a barvy vyrobené pro prosilver. Můžete přepsat soubory CSS, JS a HTML vytvořením odpovídajícího souboru ve složce vašeho stylu. + +# Vytváření souborů JS/CSS pro váš styl + +Poznámka: * Pro účely níže uvedených pokynů budeme předpokládat, že máte styl zvaný muj-styl. + +Klone do phpBB/ext/blitze/sitemaker: + + git klon https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker. + + +Z příkazové řádky přejděte do složky sitemaker: + + cd phpBB/ext/blitze/sitemaker + + +**Nainstalujte prodejce** + + Jak instalovat skladatele + + +**Instalace balíčků** + +Pro níže uvedené příkazy můžete použít npm nebo [yarn](https://yarnpkg.com) + + yarn instalace + + +**Pozor na změny** + + yarn start --theme my-styl + + +**Změny** + +* Udělejte změny v souborech ve složce phpBB/ext/blitze/sitemaker/develop. +* Podívejte se na phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss for sass variables. + +**Sestavovat aktiva** + + yarn staví --téma můj styl + + +**Deploy** + +Nyní můžete zkopírovat zdrojové soubory z phpBB/ext/blitze/sitemaker/styles/my-styl a nahrát je na váš výrobní server. + +> Toto rozšíření používá jQuery UI pro taby, dialogy a tlačítka. Výchozí jQuery téma je 'smoothness.' Můžete použít různé jQuery UI téma, které nejlépe vyhovuje vaší téma. Můžete zadat jQuery UI téma s použitím vlajky --jq_ui_theme. Například: + + yarn build --theme my-styl --jq_ui_theme ui-lightness ness \ No newline at end of file diff --git a/docs/website/translated_docs/cs/filemanager.md b/docs/website/translated_docs/cs/filemanager.md new file mode 100644 index 000000000000..08caa9b8029e --- /dev/null +++ b/docs/website/translated_docs/cs/filemanager.md @@ -0,0 +1,34 @@ +--- +id: filemanager +title: Responsive Filemanager +--- + +As of version 3.1.0, phpBB SiteMaker supports the [Responsive Filemanager](http://responsivefilemanager.com) + +* The file manager is used as a TinyMCE pluging (WYSIWYG editor) when editing custom blocks +* It is currently configured to creat separate folders for each user, except the user with a_sm_filemanager permission (Can see/manage other users' folders), which allows them access to view/manage all upload folders. + +## Installation + +* Download the [Responsive FileManager](http://responsivefilemanager.com/index.php#sthash.5UrnhjX2.dpbs) +* Extract it, and upload the files to your phpBB root folder. The file structure should be as below: + +```text +phpBB +├── images/ +├── includes/ +├── ... +└── ResponsiveFilemanager/ + └── filemanager/ + └── config/ + ├── .htaccess + └── config.php +``` + +## Activation + +* Go to ACP > Extensions > SiteMaker > Settings +* Enable File Manager feature +* Save changes +* Update user permissions (Misc tab) to determine who can use this feature [Can use File Manager] +* Update admin permissions (Misc tab) to determine who can manager user folders [Can see/manage other users’ folders in File Manager] \ No newline at end of file diff --git a/docs/website/translated_docs/cs/installation.md b/docs/website/translated_docs/cs/installation.md new file mode 100644 index 000000000000..fb2625a98abe --- /dev/null +++ b/docs/website/translated_docs/cs/installation.md @@ -0,0 +1,18 @@ +--- +id: instalace +title: Instalace / Aktualizace +--- + +Stáhnout rozšíření z [zde](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Instalace phpBB SiteMaker + +* Extract and upload it to your phpBB/ext/ folder so you have phpBB/ext/blitze/sitemaker. +* Jděte do "AKT" > "Celní" > "Rozšiřování" a umožnit rozšíření "phpBB Sitemaker". + +## Aktualizace phpBB SiteMaker + +* Vytvořte zálohu vaší databáze pro případ, že se něco pokazí. +* Jděte do "AKT" > "Customise" > "Extensions" a disable (no purge) "phpBB Sitemaker" +* Stáhnout a extrahovat nejnovější verzi phpBB SiteMaker a upload to your phpBB/ext/ složka (overwrite) +* Jděte do "AKT" > "Celní" > "Rozšiřování" a umožnit rozšíření "phpBB Sitemaker". \ No newline at end of file diff --git a/docs/website/translated_docs/cs/introduction.md b/docs/website/translated_docs/cs/introduction.md new file mode 100644 index 000000000000..2e50def4e187 --- /dev/null +++ b/docs/website/translated_docs/cs/introduction.md @@ -0,0 +1,6 @@ +--- +id: úvod +title: Zavedení +--- + +phpBB SiteMaker se snaží přeměnit vaši phpBB desku na CMS/portál. To dělá tak, že vám poskytuje bloky a menu, které vám pomohou přizpůsobit vaše stránky podle chuti. Existují nebo budou další rozšíření SiteMaker, která poskytují další funkce pro splnění tohoto cíle. Také vám umožní definovat při přístupu na stránky pro přistání. Takže pokud nechcete, aby návštěvníci vašeho webu okamžitě vidět phpBB fórum, když jdou na www.your-site.com, můžete definovat své vlastní úvodní stránky. \ No newline at end of file diff --git a/docs/website/translated_docs/cs/menus-display.md b/docs/website/translated_docs/cs/menus-display.md new file mode 100644 index 000000000000..0ad290992d20 --- /dev/null +++ b/docs/website/translated_docs/cs/menus-display.md @@ -0,0 +1,18 @@ +--- +id: zobrazování menu +title: Displaying Menus +--- + +Nyní, když vytvoříte menu, můžete je zobrazit několika způsoby: + +## Linky bloku + +Tento blok můžete použít k zobrazení plochého nebo nestydatého seznamu nabídek. Tento blok není určen pro navigaci, tj. nebude zobrazovat aktuální stránku nebo nic podobného. Je určen pro seznam položek včetně externích odkazů. + +## Muž blokovat + +Tento blok je určen pro navigaci na webu. Určuje aktuální umístění a není určen pro velký seznam. + +## Třída navigace + +Podobně jako Menus blok, bude navigační lišta zobrazovat položky menu jako nabídku reagující shazování menu určená pro navigaci na místě. To je možné v AKT > Rozšíření > Mapa stránek > Nastavení > Vyberte nabídku \ No newline at end of file diff --git a/docs/website/translated_docs/cs/menus-managing-items.md b/docs/website/translated_docs/cs/menus-managing-items.md new file mode 100644 index 000000000000..7d34618ea19b --- /dev/null +++ b/docs/website/translated_docs/cs/menus-managing-items.md @@ -0,0 +1,30 @@ +--- +id: položky pro správu menu +title: Správa Menu bodů +--- + +Vaše menu je zbytečné, pokud neobsahuje položky menu. Můžete přidat položky menu, které ukazují místní nebo externí soubory. + +> URL pro externí stránky musí začít u http(s)://, ftp://, //, atd. +> +> Můžete vytvořit dělicí čáru zadáním '-' jako položky titul titulu položky. + +## Přidat položky Menu + +Podmínky menu můžete přidat jednou položkou, nebo můžete přidat více menu. + +### Přidáním samostatných menu + +Možnost přidat položku nabídky, * klikněte na `Přidat položku nabídky` * Vyplňte požadované informace a stiskněte `Uložit` + +### Přidáním více položek + +Pro přidání více položek nabídky najednou, * Klikni na ikonu vedle `přidat položku nabídky` * Můžete ručně přidat položky, přidáním každé položky na nový řádek a použitím záložkového znaku, nebo * Můžete kliknout na jednu z nabízených možností ve spodní části textarey, aby se automaticky vyplnily položky nabídky. + +## Nastavte nabídku + +Můžete přetáhnout položky menu nahoru/dolů a nastavit jejich pořadí, nebo je přetáhněte vlevo/vpravo pro nastavení požadované hierarchie. + +## Obnovení nabídky + +Zjistíte-li, že položky menu nejsou správně zobrazeny, klepněte na tlačítko `Rebuild Tree` Rebuild Tree obnovit položky menu. \ No newline at end of file diff --git a/docs/website/translated_docs/cs/menus-managing.md b/docs/website/translated_docs/cs/menus-managing.md new file mode 100644 index 000000000000..bfee3f019909 --- /dev/null +++ b/docs/website/translated_docs/cs/menus-managing.md @@ -0,0 +1,22 @@ +--- +id: Model-management +title: Správa osobností +--- + +Můžete vytvořit menu v AKT, které pak můžete zobrazit použitím Menu nebo bloků Linků nebo zobrazit jako horizontální navbar. + +## Správa osobností + +Chcete-li řídit menu, přejděte do AKT > Rozšíření > Sitemaker > Menu + +### Vytváření rozumu + +Chcete-li vytvořit novou nabídku (skupinu), klikněte na tlačítko `Přidat nabídku` Nová kategorie menu bude vytvořena s náhodně vytvořeným názvem. Nové menu bude také vybráno, takže do něj můžete přidat položky menu. + +### Upravit rozum + +Pokud chcete mít smysluplnější název nabídky. * Najeďte myší nad název menu a klikněte na ikonu kolečka * zadejte název nového menu a stiskněte enter pro aktualizaci + +### Jak ozdravit + +Možnost smazat nabídku a její položky. * Najeďte myší nad název menu a klikněte na ikonu **x** * Pokud položka nabídky neobsahuje žádné podřízené položky, pro smazání položky * Pokud má položka nabídky podřízené položky, budete potřebovat svou volbu. budete muset uvést, pokud chcete odstranit pouze položku a přesunout její potomky nebo odstranit celou větev \ No newline at end of file diff --git a/docs/website/translated_docs/cs/site-block-modifiers.md b/docs/website/translated_docs/cs/site-block-modifiers.md new file mode 100644 index 000000000000..f3f1b5772f8c --- /dev/null +++ b/docs/website/translated_docs/cs/site-block-modifiers.md @@ -0,0 +1,6 @@ +--- +id: rohové modifikátory stránek +title: Přizpůsobení blokových disků +--- + +Probíhající práce... \ No newline at end of file diff --git a/docs/website/translated_docs/cs/site-default-layout.md b/docs/website/translated_docs/cs/site-default-layout.md new file mode 100644 index 000000000000..483d154bac56 --- /dev/null +++ b/docs/website/translated_docs/cs/site-default-layout.md @@ -0,0 +1,10 @@ +--- +id: výchozí rozvržení na webu +title: Nastavení platební neschopnosti +--- + +Když přidáte blok, je přidán na tuto konkrétní stránku. Bylo by proto únavným úkolem vymezit bloky všech stránek na vašich stránkách. Můžete nastavit všechny požadované bloky pro konkrétní stránku, pak nastavit tuto stránku jako výchozí rozložení. Jinými slovy, každá stránka, která nemá své vlastní bloky, zdědí bloky z této stránky. + +Chcete-li nastavit výchozí rozložení * Přejděte na stránku, kterou chcete nastavit jako výchozí rozložení * Klikněte na `Nastavení` v administračním panelu * Klikněte na `Nastavit jako výchozí rozložení` + +Say we add blocks to a page (phpBB/index.php) with blocks in the sidebar and top positions, such as, and set it as our default layout. To má následující účinky na ostatní stránky: * Jakákoliv stránka, která nemá své vlastní bloky, zdědí bloky z výchozího rozložení. See [Understanding Block Inheritance](./blocks-inheritance.md) pro výjimky. * You may still inherit blocks from a default layout (index.php), but choose to not display blocks on some block positions or not display any blocks at all. Za tímto účelem * Přejděte na stránku, kterou nechcete zobrazit všechny/některé bloky * Klikněte na `Nastavení` v admin liště * Vyberte `Nezobrazovat bloky na této stránce` , pokud nechcete zdědit/zobrazovat žádné bloky na této stránce NEBO * Použijte CTRL + klikněte pro výběr blokových pozic (v pravé straně) které nechcete zobrazovat bloky na * V `editačním módu`, stránka, která zdědí bloky z výchozího rozložení, nezobrazí žádné bloky, dáváte možnost přidat bloky na stránku, pokud chcete * Každá stránka, která má své vlastní bloky, nebude zděděna z výchozího rozložení \ No newline at end of file diff --git a/docs/website/translated_docs/cs/site-layouts.md b/docs/website/translated_docs/cs/site-layouts.md new file mode 100644 index 000000000000..c9f4da4cc295 --- /dev/null +++ b/docs/website/translated_docs/cs/site-layouts.md @@ -0,0 +1,20 @@ +--- +id: lokalizace +title: Mládež +--- + +"Layouts" určuje dostupné blokové pozice a způsob jejich zobrazení. + +## Blokové pozice + +Blokové pozice jsou predefinované oblasti na vašich stránkách, kde mohou existovat bloky. Dostupné blokové pozice jsou určovány šablonským stylem, který používáte. Pro prosilver, phpBB SiteMaker přichází s následujícími pozicemi bloku: * panel: plná šířka nahoře * postranní panel: left/vpravo v závislosti na rozložení níže * subobsah: podobně jako postranní panel jen větší * top_hor: vodorovné bloky nahoře, přehrání nad postranním panelu/podobsahem v závislosti na rozložení * Nahoře: nad hlavním obsahem * box: stejná šířka, vodorovné bloky pod hlavním obsahem * dolů: pod hlavním obsahem * dole _hor: horizontální bloky přes dolní část, flanuji postranník/podobsah v závislosti na rozložení * patičky: vodorovné bloky v zápatí Můžete přidat více pozic bloků ve vašem vlastním stylu kopírováním a úpravou odpovídajících phpBB SiteMaker šablon + +## Site Layout + +Můžete si vybrat vzhled pro své stránky v AKT. (Rozšíření > Sitemaker > Nastavení): * **Blog**: subcontent and postranní panel vedle sebe posunuto na pravou stranu, horní část _hor/botom_hor subobsah * **Svatý Grail**: stejný šířkový postranní panel a subobsah na opačných stranách. top _hor/botom_hor subobsah flank * **Portál**: postranní panel vlevo, podobsah napravo top _hor/botom_hor subobsah objektu * **Alt**: subobsah vlevo, postranní panel napravo top_hor/botom_hor boční boční panel * **Vlastní**: Ručně nastavte šířku postranních panelů jako px, %, em nebo rem. Chyby pro 200 px na obou stranách + +## Zákazné šablony/styly + +Pokud je to možné, snažili jsme se vložit šablony souborů a aktiv do stylů/all/ složky, takže je můžete přepsat vytvořením souboru se stejným jménem pod vlastní šablonu téma, např. prosilver. Pokud tedy chcete změnit způsob zobrazování určitého bloku nebo chcete-li vytvořit vlastní rozložení s vlastními blokovými pozicemi, musíte jednoduše vytvořit soubor se stejným jménem a cestou jako původní ve vašem stylu. + +Pokud potřebujete přizpůsobit CSS/JS soubory, podívejte se na téma [téma](./developer-theming.md). \ No newline at end of file diff --git a/docs/website/translated_docs/cs/site-navbar.md b/docs/website/translated_docs/cs/site-navbar.md new file mode 100644 index 000000000000..f5a0d6a74c70 --- /dev/null +++ b/docs/website/translated_docs/cs/site-navbar.md @@ -0,0 +1,6 @@ +--- +id: site-navbar +title: Bar navigace +--- + +Viz [Displaying Menus](./menus-display#navigation-bar) \ No newline at end of file diff --git a/docs/website/translated_docs/cs/site-startpage.md b/docs/website/translated_docs/cs/site-startpage.md new file mode 100644 index 000000000000..75ca835ac20b --- /dev/null +++ b/docs/website/translated_docs/cs/site-startpage.md @@ -0,0 +1,8 @@ +--- +id: web-startpage +title: Nastavení startovacích kanálů +--- + +phpBB SiteMaker umožňuje zvolit libovolný přední řadič (stránky přístupné přes app.php/...) jako výchozí úvodní stránku (stránku, která se zobrazí, když někdo navštíví vaše stránky) namísto deskového indexu. + +Chcete-li tak učinit: * Přejděte na stránku, kterou chcete nastavit jako výchozí úvodní stránku, * Klikněte na `Nastavení` v admin panelu. Pokud se jedná o stranu způsobilou, uvidíte tlačítko `Nastavit jako úvodní stránku` * Klikněte na tlačítko `Nastavit jako úvodní stránku` \ No newline at end of file diff --git a/docs/website/translated_docs/da/blocks-custom.md b/docs/website/translated_docs/da/blocks-custom.md new file mode 100644 index 000000000000..fb2165bd098a --- /dev/null +++ b/docs/website/translated_docs/da/blocks-custom.md @@ -0,0 +1,24 @@ +--- +id: blok-brugerdefineret +title: Brugerdefineret Blok +--- + +Hvis de tilgængelige blokke ikke giver dig den frihed, du har brug for, der er `Custom Block` , som giver dig frihed til at vise dit eget indhold ved hjælp af BBcode eller HTML. Blokken kommer med en WYSIWYG editor (TinyMCE) og en scripts manager: + +## Redaktøren + +- Du kan bruge editoren til at oprette HTML-indhold +- Du kan redigere kildekoden, hvis du har brug for dette kontrolniveau ved at klikke på ikonet `Kildekode` (`<>`) i editoren +- Editoren giver dig mulighed for at uploade og ændre billeder + - Det skaber en ny mappe i phpBB/images/sitemaker_uploads / for hver bruger, der har adgang til det + - Du kan se/administrere alle brugermapper +- Editoren filtrerer alle potentielt farlige scripts som javascript, osv. Hvis du har brug for at tilføje indhold som google annoncer, javascript vil blive filtreret ud, men du kan komme rundt at ved at gøre følgende: + - Tilføj den brugerdefinerede blok til den ønskede placering + - Rediger den brugerdefinerede blok, klik på `HTML` fanen og indsæt din Javascript + +## Scripts Håndtering + +Brugerdefineret blok giver dig også mulighed for at tilføje brugerdefinerede CSS og Javascript filer til din side. For at gøre dette: + +- Tilføj en `brugerdefineret blok` til enhver blok position. Positionen er ligegyldig, medmindre du også viser indhold med blokken +- Rediger blokken klik på fanen `Scripts` og tilføj dine CSS eller Javascript filer > Ord med forsigtighed selvfølgelig: Tilføjelse til mange scripts på din side kan påvirke indlæsningstider \ No newline at end of file diff --git a/docs/website/translated_docs/da/blocks-inheritance.md b/docs/website/translated_docs/da/blocks-inheritance.md new file mode 100644 index 000000000000..1f778ff1a1f0 --- /dev/null +++ b/docs/website/translated_docs/da/blocks-inheritance.md @@ -0,0 +1,44 @@ +--- +id: blok-arv +title: Forståelse Af Blokarv +--- + +Vi har allerede set, at ved at indstille et standardlayout andre sider, der ikke har blokke af deres egen vil arve blokkene fra standard layout. Der er imidlertid en anden type blokarv. + +## Forældre/Barneruter + +I phpBB SiteMaker, vi taler om indlejrede ruter i form af reelle indlejrede (sub) mapper eller næsten indlejrede stier/ruter. Vær venlig at blive hos mig :). * Rigtige forældre/Barn-ruter: For eksempel, stien /some_directory/sub_directory/index.php er et barn af /some_directory/index. hp * Virtuelle forældre / Barn ruter: For eksempel viewtopic.php behandles som et barn af viewforum.php. + +Her er nogle eksempler på forældre/barn ruter: + +| Overordnet | Barn | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/artikler | /app.php/articles/min-article | + +## Forældre/Barneblok Arv + +For forældre/barn ruter barnets rute arver blokkene på den overordnede rute (hvis forælderen har sine egne blokke) eller fra standardlayoutet (hvis en er indstillet). Med andre ord, selv om der er et standard layout, barnets rute vil arve blokke fra sin overordnede rute, hvis den overordnede rute har sine egne blokke. Men ikke alle blokke fra forældreruten skal arves. + +## Kontrollerende Blok Nedarvning + +På et blokniveau kan du styre, hvornår en blok kan arves af børneruter. Vi berørte dette tidligere i [Redigering af blok indstillinger](./blocks-managing#editing-block-settings). + +Overvej følgende rigtige mappestruktur: + +```text +phpBB +- opdatering: index.php +- opdateringen/ + - opdateringen/ - index.php + - opdateringen,page.php + - opdateringen/ - kammerat/ + - opdateringen,index.php +``` + +Med henblik på at arve blokke, siger vi: * Den overordnede rute for /phpBB/Movies/Comedy/index.php er /phpBB/Movies/index. hp og ikke /phpBB/Movies/page.php * Alle sider i en undermappe i forhold til /phpBB/index.php er en underrute til /phpBB/index.php. Så /phpBB/Movies/index.php og /phpBB/Movies/page.php er alle børn af /phpBB/index.php og vil derfor arve sine blokke, hvis de ikke har deres egne blokke. I dette tilfælde: * Når en blok på /phpBB/index. hp er sat til at vise på **Skjul på underordnede ruter**, blokken vil blive vist på /phpBB/index. hp (overordnet rute), men ikke på dens underruter * Når en blok på /phpBB/index. hp er sat til at vise på **Vis kun på underordnede ruter**, den vil blive vist på /phpBB/Movies/index.php og /phpBB/Movies/page. hp (barnruter), men ikke på /phpBB/index.php (forælder), eller /phpBB/Film / Comedy/index. hp (vi går kun et niveau dybt) * Når en blok på /phpBB/index. hp er sat til at vise **altid** (standard), den vil blive vist på /phpBB/index.php (forælder), /phpBB/Movies/index. hp og /phpBB/page.php (børneruter), men ikke på /phpBB/Movies/Comedy/index.php (vi går kun et niveau dybt). I dette tilfælde arver /phpBB/Movies/Comedy/index.php fra standardruten (hvis den eksisterer) + +## Potentiel Fremtidig Stat + +Jeg er virkelig interesseret i din feedback på dette område. De fleste phpBB-brugere vil ikke have rigtige mapper som beskrevet ovenfor. Så jeg tænker på at bruge den struktur, der er defineret i en menublok som en virtuel mappestruktur og anvende denne forældre/barn arv til det. Jeg overvejer også at gå ud over et niveau dyb. Lad mig vide, om dette vil være nyttigt for dig. \ No newline at end of file diff --git a/docs/website/translated_docs/da/blocks-managing.md b/docs/website/translated_docs/da/blocks-managing.md new file mode 100644 index 000000000000..a7009979eea3 --- /dev/null +++ b/docs/website/translated_docs/da/blocks-managing.md @@ -0,0 +1,38 @@ +--- +id: blokstyring +title: Håndtering Af Blokke +--- + +For at administrere blokke i phpBB SiteMaker, skal du være i [Rediger tilstand](./blocks-overview#edit-mode). + +> Når en blok ikke viser noget indhold, vil den ikke blive vist, undtagen i redigeringstilstand. På den måde kan du enten give det indhold (i tilfælde af den brugerdefinerede blok) eller ændre dens indstillinger. +> +> I redigeringstilstand de noget gennemsigtige blokke er blokke, der ellers ikke vil blive vist, men kun bliver vist, fordi vi er i redigeringstilstand + +## Tilføjer blokke + +Du kan tilføje blokke til enhver front-facing side, undtagen User Control Panel og Moderator Control Panel sider. For at tilføje en blok, skal du: * klik på **Blokke** i administratorlinjen. Dette vil vise en liste over tilgængelige blokke * Træk og slip den ønskede blok til enhver blok position + +## Redigering af blokke + +### Tilføjer et blokikon + +Til venstre for blokkens titel (forsølv), er der en boks til blokikonet. Klik på dette felt for at få ikonvælgeren. Du kan vælge ikonstørrelse, farve, float, rotation, osv. + +### Redigering af blok titel + +phpBB SiteMaker blokke vil have en standard, oversat titel, men hvis titlen ikke opfylder dine behov, kan du ændre den. For at redigere blokkens titel, * Klik på blokkens titel for at få en inline redigeringsformular * Skift titel til hvad du ønsker * Fjern fokus fra feltet eller tryk på enter for at indsende ændringer + +> Din ændrede bloktitel er ikke oversat +> +> For at vende tilbage til standard titel, skal du slette titlen og trykke på enter + +### Redigerer blokindstillinger + +Når du svæver over en blok, vises et cog ikon til højre for blokken, der kan bruges til at redigere blokken. I redigeringsblok-dialogen, kan du: - Aktiver/deaktiver en blok [Status] - Vælg hvornår blokken skal/bør ikke vises [Display]. Dette gælder kun i tilfælde, hvor du har indlejrede sider (se [Forståelse blok arv](./blocks-inheritance.md)): - **Altid**: Vis altid blok - **Skjul på underordnede ruter**: Vis kun denne blok på den overordnede rute - **Vis kun på underordnede ruter**: Vis kun denne blok på en underordnede rute - Vælg hvilke grupper af brugere der kan se blokken [Kan ses af]. Brug CTRL + klik for at vælge flere grupper. - Indstil brugerdefinerede klasser til at ændre udseendet af blokken eller elementer (lister, billeder, baggrund, osv) inden for blokken [CSS klasse] - Vis/skjul blokkens titel [Skjul blokkens titel? - Vælg blokvisningen [Blokér visning]. Du kan vælge en standard blok visning, når nye blokke er tilføjet i ACP. - **Standard / Simple**: bruger profilpanelklassen til at pakke blokken ind i en polstret beholder - **Grundlæggende**: Blokken har ingen containerindpakning den - **Boks**: bruger profilforagtningsklasse til at pakke blokken ind i en kasse - Indstil / Opdater blokspecifikke indstillinger - Hvis du har den samme blok med samme indstillinger på tværs af flere sider, du kan opdatere dem alle på én gang ved at kontrollere **Opdateringsblokke med lignende indstillinger** + +## Sletter blokke + +- Hold musen over den blok, du vil slette +- Klik på **x** ikonet og bekræft, at du ønsker at slette blokken +- Gå op til admin bjælken og klik på `Gem ændringer` \ No newline at end of file diff --git a/docs/website/translated_docs/da/blocks-overview.md b/docs/website/translated_docs/da/blocks-overview.md new file mode 100644 index 000000000000..7493f035ce19 --- /dev/null +++ b/docs/website/translated_docs/da/blocks-overview.md @@ -0,0 +1,10 @@ +--- +id: blokoversigt +title: Hvad er blokke? +--- + +Kernen i phpBB SiteMaker er begrebet blokke. Blokke er små stykker indhold, som du kan placere i forskellige foruddefinerede områder (blok positioner) på dit websted. Blokkene vil typisk have indstillinger, som du kan indstille/ændre for at finjustere det indhold, du ønsker at vise. De fleste blokke, men ikke alle, vil gøre database forespørgsler for at få det ønskede indhold. Så lad os ikke få for skøre :). For at håndtere blokke, skal du skifte til "redigeringstilstand". + +## Rediger Tilstand + +Skift til redigeringstilstand ved at klikke på blyant-ikonet øverst til højre på dit websted. Dette vil vise menupunkterne "Admin bar" med "Blocks" og "Indstillinger". Dette kaldes at være i 'redigeringstilstand'. \ No newline at end of file diff --git a/docs/website/translated_docs/da/blocks-views.md b/docs/website/translated_docs/da/blocks-views.md new file mode 100644 index 000000000000..1a795a2c2171 --- /dev/null +++ b/docs/website/translated_docs/da/blocks-views.md @@ -0,0 +1,6 @@ +--- +id: blok-visninger +title: Blokér Visninger +--- + +Arbejdet er i gang... \ No newline at end of file diff --git a/docs/website/translated_docs/da/contrib-overview.md b/docs/website/translated_docs/da/contrib-overview.md new file mode 100644 index 000000000000..23d6870aa75e --- /dev/null +++ b/docs/website/translated_docs/da/contrib-overview.md @@ -0,0 +1,11 @@ +--- +id: contrib-oversigt +title: Bliv Involveret +--- + +phpBB SiteMaker er et open source-projekt og hilser dine ideer og bidrag velkommen. Så du er velkommen til at involvere dig. Du kan bidrage til dette projekt ved at: + +* [Tilbyder Support/Feedback](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Rapportering Af Fejl](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Hjælper med oversættelse](./contrib-translators.md) +* [Fastsættelse af fejl eller tilføjelse af funktioner](./contrib-pull-requests.md) \ No newline at end of file diff --git a/docs/website/translated_docs/da/contrib-pull-requests.md b/docs/website/translated_docs/da/contrib-pull-requests.md new file mode 100644 index 000000000000..ab7fce053989 --- /dev/null +++ b/docs/website/translated_docs/da/contrib-pull-requests.md @@ -0,0 +1,76 @@ +--- +id: contrib-pull-requests +title: Indsendelse af en Pull-anmodning +sidebar_label: Træk Forespørgsler +--- + +`Træk anmodninger lader dig fortælle andre om ændringer, du har skubbet til en gren i et depot på GitHub. Når en pull request er åbnet, du kan diskutere og gennemgå de potentielle ændringer med samarbejdspartnere og tilføje opfølgningsforpligtelser, før dine ændringer bliver flettet ind i basisbranchen.` [Læs mere](https://help.github.com/articles/about-pull-requests/) + +## Forking/Kloning + +* Opret en github konto hvis du ikke allerede har en +* Gå til https://github.com/blitze/phpBB-ext-sitemaker.git og klik på "Fork" + +Klon din gaffel af lageret: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +Fra kommandolinjen gå til sitemaker mappe: + + cd phpBB/ext/blitze/sitemaker + + +**Konfigurer git:** + +Tilføj dit brugernavn til Git på dit system: + + git config -- global user.name "Dit navn her" + + +Tilføj din e-mailadresse til Git på dit system: + + git config --add user.email brugernavn@phpbb.com + + +Tilføj fjernbetjeningen opstrøms (du kan ændre 'opstrøm' til hvad du vil): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + + +**Installer sælgere** + + installation af komponist + + +**Installer NPM pakker** + + npm install + + +Alternativt kan du bruge [garn](https://yarnpkg.com): + + garninstallation + + +## Træk Forespørgsler + + # Opret en ny gren for din funktion & skift til den + git checkout -b feature/min-fancy-new-feature + + # oprette en ny gren for det problem, du arbejder på * skifte til det (billet # er fra github tracker) + git checkout -b billet/1234 + + +Foretag dine ændringer + + # Trin filerne + git add + + # Commit staged files - brug venligst en korrekt commit besked + git commit -m "min commit besked" + + +Skub grenen tilbage til GitHub git push origin feature/min-fancy-new-feature + +Indsend en [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) \ No newline at end of file diff --git a/docs/website/translated_docs/da/contrib-translators.md b/docs/website/translated_docs/da/contrib-translators.md new file mode 100644 index 000000000000..72aa31ae2d0f --- /dev/null +++ b/docs/website/translated_docs/da/contrib-translators.md @@ -0,0 +1,17 @@ +--- +id: contrib-oversættere +title: Oversættere +--- + +Vi har brug for hjælp til at oversætte denne udvidelse samt dokumentationen. Vi har oprettet et projekt på Crowdin for at lette oversættelser. Crowdin giver dig et oversættelsesinterface, der er andet end ingen. Du kan bidrage med, hvordan du vil, men vi anbefaler virkelig, at du bruger Crowdin. + +> Crowdin er en lokaliseringsadministrationsplatform, der hjælper virksomheder med at oversætte deres software. Du kan læse mere om Crowdin [her](https://support.crowdin.com/crowdin-intro/) + +Hvis du er villig til at bidrage med oversættelser, skal du: + +* En [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) konto. +* Vælg målsproget, hvis der ellers findes en anmodning om at blive aktiveret. + +Hvis dit ønskede sprog ikke er angivet, bedes du [kontakte mig](https://crowdin.com/profile/blitze) og jeg vil tilføje det. + +[Start Oversættelse](https://crowdin.com/project/phpbb-ext-sitemaker) \ No newline at end of file diff --git a/docs/website/translated_docs/da/developer-events.md b/docs/website/translated_docs/da/developer-events.md new file mode 100644 index 000000000000..92c7ffec4055 --- /dev/null +++ b/docs/website/translated_docs/da/developer-events.md @@ -0,0 +1,120 @@ +--- +id: udvikler-events +title: phpBB SiteMaker begivenheder +--- + +Du kan ændre phpBB SiteMakers adfærd ved hjælp af phpBB's event system. + +## Php Begivenheder + +# blitze.sitemaker.acp_add_bulk_menu_options + +- Sted: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Efter: 3.1.0 +- Formål: Tilføj bulk menuindstillinger i acp menu + +# blitze.sitemaker.acp_display_settings_form + +- Lokation: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Efter: 3.1.0 +- Formål: formular til visning af acp (sitemaker) + +# blitze.sitemaker.acp_save_settings + +- Lokation: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Efter: 3.1.0 +- Formål: Gem acp (sitemaker) indstillinger + +# blitze.sitemaker.admin_bar.set_assets + +- Sted: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Siden 3.0.1-RC1 +- Formål: Tilføj aktiver for tilgængelige blokke i redigeringstilstand + +# blitze.sitemaker.modify_block_positions + +- Sted: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Siden 3.0.1-RC1 +- Formål: Ændre blokpositioner + +# blitze.sitemaker.modify_rendered_block + +- Sted: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Siden 3.0.1-RC1 +- Formål: Ændre en gengivet blok + +## Skabelon Begivenheder + +# blitze_sitemaker_acp_settings + +- Sted: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Efter: 3.1.0 +- Formål: Tilføj formularfelter til sitemaker indstillinger + +# blitze_sitemaker_admin_bar_append + +- Sted: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Efter: 3.1.0 +- Formål: Tilføj menupunkter til admin bar + +# blitze_sitemaker_admin_bar_templates + +- Sted: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Efter: 3.1.0 +- Formål: Tilføj skabelonfiler, der skal bruges i JS til blokvisninger, osv. + +## Javascript Begivenheder + +# blitze_sitemaker_layout_gemt + +- Placering: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Dæk: 3.1.2 +- Formål: Begivenhed for at tillade andre udvidelser at gøre noget, når layoutændringer gemmes + +# blitze_sitemaker_render_block_før + +- Placering: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Dæk: 3.1.2 +- Formål: Begivenhed for at tillade andre udvidelser at gøre noget før blokken gengives eller forhindre den i at blive gengivet + +# blitze_sitemaker_render_block_efter + +- Placering: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Dæk: 3.1.2 +- Formål: Begivenhed for at tillade andre udvidelser at gøre noget efter blokken er gengivet + +# blitze_sitemaker_save_block_før + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Dæk: 3.1.2 +- Formål: Begivenhed for at tillade andre udvidelser at ændre blokdata, før den gemmes + +# blitze_sitemaker_show_all_block_positions + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Dæk: 3.1.2 +- Formål: Begivenhed for at tillade andre udvidelser at gøre noget, når alle blokpositioner vises + +# blitze_sitemaker_hide_empty_block_positions + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Dæk: 3.1.2 +- Formål: Begivenhed for at tillade andre udvidelser at gøre noget, når tomme positioner er skjult + +# blitze_sitemaker_layout_clearet + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Dæk: 3.1.2 +- Formål: Begivenhed for at tillade andre udvidelser at gøre noget, når layout er ryddet + +# blitze_sitemaker_layout_opdateret + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Dæk: 3.1.2 +- Formål: Begivenhed for at tillade andre udvidelser at gøre noget, når layoutet opdateres + +# blitze_sitemaker_tinymce_options + +- Placering: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Efter: 3.3.0 +- Formål: Begivenhed for at tillade andre udvidelser at ændre tinymce indstillinger \ No newline at end of file diff --git a/docs/website/translated_docs/da/developer-extensions.md b/docs/website/translated_docs/da/developer-extensions.md new file mode 100644 index 000000000000..4186961a8c26 --- /dev/null +++ b/docs/website/translated_docs/da/developer-extensions.md @@ -0,0 +1,177 @@ +--- +id: udvikler-udvidelser +title: Udvidelse af phpBB SiteMaker +--- + +Du kan udvide/ændre phpBB SiteMaker ved hjælp af [service udskiftning](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [service dekoration](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration)og [phpBB's event system](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Du kan finde en liste over understøttede begivenheder [her](./developer-events.md). + +## Opretter en SiteMaker blok + +En phpBB SiteMaker blok er blot en klasse, der udvider blitze\sitemaker\services\blocks\driver\block class og returnerer et array fra "display" metoden med en 'titel' og 'indhold'. Alt andet mellem er op til jer. For at gøre din blok synlig af phpBB SiteMaker, skal du give det "sitemaker.block" tag. + +Sig at vi har en forlængelse med sælger/udvidelse som min/eksempel. For at oprette en blok kaldet "my_block" til phpBB SiteMaker: + +- Opret en "blokke" mappe +- Opret my_block.php-fil i blokmappen med følgende indhold + +```php +namespace min\example\blocks; + +brug blitze\sitemaker\services\blocks\driver\block; + +klasse my_block udvider blok +{ + /** + * {@inheritdoc} + */ + public function display(array $settings, $edit_mode = false) + { + return array( + 'titel' => 'min blok titel', + 'indhold' => 'mit blokindhold', + ); + } +} +``` + +Derefter i din config.yml fil, tilføje følgende: + +```yml +tjenesteydelser: + +... + + my.example.block.my_block: + class: my\example\blocks\my_block + calls: + - [set_name, [my.example.block.my_block]] + tags: + - { name: sitemaker.block } + +.... + +``` + +På et minimum, det er alt hvad du behøver. Hvis du går ind i redigeringstilstand, skal du se blokken opført som 'MY_EXAMPLE_BLOCK_MY_BLOCK', der kan trækkes og slippes på en hvilken som helst blokposition. Men denne blok gør ikke noget spændende. Det har ingen indstillinger og oversætter ikke blokkens navn. Lad os gøre det mere interessant. + +### Bloker Indstillinger + +Lad os ændre vores blokke/my_block. hp fil og tilføje en "get_config" metode th på returnerer et array med tasterne er blokken indstillinger og værdierne er et array der beskriver indstillingerne som så: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + returarray( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'streng', 'type' => 'checkbox', 'indstillinger' => $options, 'default' => array(), 'explain' => false) + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false) + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'emne'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'streng', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false) + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'streng', 'type' => 'multi_select', 'indstillinger' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'tal' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'streng', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'streng', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Vis kun, når indstilling 1 er valgt
'), + ); +} +``` + +Dette er konstrueret på samme måde, som phpBB bygger konfiguration for board indstillinger i ACP. Du kan se flere eksempler [her](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Hvis du vil have en brugerdefineret felttype, kan du se et eksempel [her](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' indstilling). + +Bemærk 'legend1' og 'legend2': Disse bruges til at adskille indstillingerne i faneblade. + +### Navnende Blokke + +Konventionen for bloknavne er, at tjenestenavnet (f.eks. my.example.block. y*blok ovenfor) vil blive brugt som sprognøglen ved at erstatte prikker (.) med understregning (*) (f.eks MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Oversættelse + +Bemærk også, at vi har flere sprognøgler, der skal oversættes. For at gøre dette skal du oprette en fil med navnet "blocks_admin.php" i din sprogmappe. Denne fil vil automatisk blive indlæst, når du redigerer blokke, og bør have oversættelser til dine blokindstillinger og blokere navne. + + $lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Option 1', + 'OTHER_LANG_VAR' => 'Option 2', + 'SOME_LANG_VAR_1' => 'Indstilling 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Min Block', + ); + + +Da 'blocks_admin.php' kun indlæses ved redigering af blokke, skal du tilføje andre oversættelser (f.eks. blok titel) ved at indlæse en sprogfil i din visningsmetode som `$language->add_lang('my_lang_file', 'my/example');` + +### Gengiver blokken + +Den nye blok vil kun blive vist, hvis den gengiver noget. Din blok kan returnere enhver streng som indhold, men i de fleste tilfælde har du brug for en skabelon for at gengive dit indhold. For at vise din blok ved hjælp af skabeloner, blokken skal returnere et array, der indeholder de data, du ønsker at videregive til skabelonen, og skal også implementere `get_template` -metoden som vist nedenfor: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + returarray( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'streng', 'type' => 'checkbox', 'indstillinger' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // gør noget kun i redigeringstilstand + } + + returarray( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Så kan din stil/all/my_block.html eller stil/prosilver/my_block.html fil se sådan ud: + +

Du valgte: {{ some_var }}

+ + +Sammenfattende din blok skal returnere et array med en `titel` -nøgle (for blokkens titel) og en `indholds` -nøgle (hvis blokken bare viser en streng og ikke bruger en skabelon) eller en `-data-` -nøgle (hvis blokken bruger en skabelon, i hvilket tilfælde skal du også implementere `get_template` metoden). + +### Aktiver Blok + +Hvis din blok har brug for at tilføje aktiver (css/js) til siden, anbefaler jeg at bruge sitemaker [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) for at. Da der kan være mere end en instans af den samme blok på siden, eller andre blokke kan være at tilføje det samme aktiv, util klassen sikrer, at aktivet kun er tilføjet. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some. s', + 100 => '@my_example/assets/other. s', // fastsat prioritet + ), + 'css' => array( + '@my_example/assets/some. ss', + ) +)); +``` + +Den util klasse vil naturligvis skal føjes til din service definitioner i config.yml som så: `- '@blitze.sitemaker. til'` og defineret i din bloks konstruktør `\blitze\sitemaker\services\util $util`. + +Og det er det. Vi er færdig! \ No newline at end of file diff --git a/docs/website/translated_docs/da/developer-theming.md b/docs/website/translated_docs/da/developer-theming.md new file mode 100644 index 000000000000..c6aa57564e83 --- /dev/null +++ b/docs/website/translated_docs/da/developer-theming.md @@ -0,0 +1,55 @@ +--- +id: udvikler-tema +title: Temaer +--- + +phpBB SiteMaker kommer med stilarter og farver lavet til prosilver. Du kan overskrive CSS, JS og HTML-filer ved at oprette den tilsvarende fil i din stils mappe. + +# Oprettelse af JS/CSS-filer til din stil + +Bemærk: * Med henblik på nedenstående instruktioner vil vi antage, at du har en stil kaldet min-stil. + +Klon i phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +Fra kommandolinjen gå til sitemaker mappe: + + cd phpBB/ext/blitze/sitemaker + + +**Installer sælgere** + + installation af komponist + + +**Installer pakker** + +Til nedenstående kommandoer kan du bruge npm eller [garn](https://yarnpkg.com) + + garninstallation + + +**Overvågning Ændringer** + + garn start -- theme min- style + + +**Foretag Ændringer** + +* Foretag dine ændringer til filer i phpBB/ext/blitze/sitemaker/udvikle mappen. +* Kig på phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss for sass variabler + +**Byg Aktiver** + + garn build -- theme min- style + + +**Deploy** + +Du kan nu kopiere de genererede filer fra phpBB/ext/blitze/sitemaker/styles/my-style og uploade dem til din produktionsserver. + +> Denne udvidelse bruger jQuery UI til faner, dialoger og knapper. Standard jQuery tema er 'smoothness.' Du kan bruge et andet jQuery UI tema, der passer bedst til dit tema. Du kan angive jQuery UI temaet ved hjælp af flaget --jq_ui_theme. For eksempel: + + garn build --theme min-stil --jq_ui_theme ui-lethed \ No newline at end of file diff --git a/docs/website/translated_docs/da/filemanager.md b/docs/website/translated_docs/da/filemanager.md new file mode 100644 index 000000000000..08caa9b8029e --- /dev/null +++ b/docs/website/translated_docs/da/filemanager.md @@ -0,0 +1,34 @@ +--- +id: filemanager +title: Responsive Filemanager +--- + +As of version 3.1.0, phpBB SiteMaker supports the [Responsive Filemanager](http://responsivefilemanager.com) + +* The file manager is used as a TinyMCE pluging (WYSIWYG editor) when editing custom blocks +* It is currently configured to creat separate folders for each user, except the user with a_sm_filemanager permission (Can see/manage other users' folders), which allows them access to view/manage all upload folders. + +## Installation + +* Download the [Responsive FileManager](http://responsivefilemanager.com/index.php#sthash.5UrnhjX2.dpbs) +* Extract it, and upload the files to your phpBB root folder. The file structure should be as below: + +```text +phpBB +├── images/ +├── includes/ +├── ... +└── ResponsiveFilemanager/ + └── filemanager/ + └── config/ + ├── .htaccess + └── config.php +``` + +## Activation + +* Go to ACP > Extensions > SiteMaker > Settings +* Enable File Manager feature +* Save changes +* Update user permissions (Misc tab) to determine who can use this feature [Can use File Manager] +* Update admin permissions (Misc tab) to determine who can manager user folders [Can see/manage other users’ folders in File Manager] \ No newline at end of file diff --git a/docs/website/translated_docs/da/installation.md b/docs/website/translated_docs/da/installation.md new file mode 100644 index 000000000000..94722b9c5846 --- /dev/null +++ b/docs/website/translated_docs/da/installation.md @@ -0,0 +1,18 @@ +--- +id: installation +title: Installerer / Opgradering +--- + +Download udvidelsen fra [her](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker + +* Udtræk og upload den til din phpBB/ext/ mappe, så du har phpBB/ext/blitze/sitemaker +* Gå til "ACP" > "Customise" > "Udvidelser" og aktiver "phpBB Sitemaker" udvidelsen. + +## Opgradering af phpBB SiteMaker + +* Opret en sikkerhedskopi af din database i tilfælde af at noget går galt +* Gå til "ACP" > "Customise" > "Udvidelser" og deaktivér (udtør ikke) "phpBB Sitemaker" +* Hent og uddrag den nyeste version af phpBB SiteMaker og uploade den til din phpBB/ext/ mappe (overskriv) +* Gå til "ACP" > "Customise" > "Udvidelser" og aktiver "phpBB Sitemaker" udvidelsen. \ No newline at end of file diff --git a/docs/website/translated_docs/da/introduction.md b/docs/website/translated_docs/da/introduction.md new file mode 100644 index 000000000000..69e8dde1db69 --- /dev/null +++ b/docs/website/translated_docs/da/introduction.md @@ -0,0 +1,6 @@ +--- +id: introduktion +title: Indledning +--- + +phpBB SiteMaker søger at omdanne din phpBB bord til en CMS/portal. Det gør det ved at give dig blokke og menuer til at hjælpe dig med at tilpasse dit websted til din smag. Der er eller vil være andre SiteMaker udvidelser, der giver ekstra funktionalitet til at opfylde dette mål. Det giver dig også mulighed for at definere en destinationsside, når dit websted er tilgået. Så hvis du ikke vil have besøgende på dit websted til straks at se phpBB forum, når de går til www. vores-site.com, du kan definere din egen startside. \ No newline at end of file diff --git a/docs/website/translated_docs/da/menus-display.md b/docs/website/translated_docs/da/menus-display.md new file mode 100644 index 000000000000..9d05715c8002 --- /dev/null +++ b/docs/website/translated_docs/da/menus-display.md @@ -0,0 +1,18 @@ +--- +id: menu-display +title: Viser Menuer +--- + +Nu hvor du har oprettet dine menuer, kan du vise dem på flere måder: + +## Links Blok + +Du kan bruge denne blok til at vise en flad eller indlejret liste over menupunkter. Denne blok er ikke beregnet til at blive brugt til navigation, dvs. den vil ikke vise en aktuel side eller noget lignende. Det er beregnet til en liste over emner, herunder eksterne links. + +## Menuer Blok + +Denne blok er beregnet til sejlads på stedet. Det gør nogle yderligere beregninger for at bestemme nuværende placering og er ikke beregnet til at være en meget stor liste. + +## Navigation bar + +Svarende til menublokken, vil navigationslinjen vise menupunkter som en følsom dropdown menu beregnet til site navigation. Du kan aktivere dette i AVS > Udvidelser > Sitemaker > Indstillinger > Vælg menu \ No newline at end of file diff --git a/docs/website/translated_docs/da/menus-managing-items.md b/docs/website/translated_docs/da/menus-managing-items.md new file mode 100644 index 000000000000..10f72528d570 --- /dev/null +++ b/docs/website/translated_docs/da/menus-managing-items.md @@ -0,0 +1,30 @@ +--- +id: menus-managing-items +title: Håndterer Menupunkter +--- + +Din menu er ubrugelig, medmindre den har menupunkter. Du kan tilføje menupunkter, der peger på lokale eller eksterne filer. + +> Webadressen for eksterne websteder skal begynde med http(s)://, ftp://, //, etc. +> +> Du kan oprette en divider ved at indtaste '-' som elementets titel + +## Tilføjer menupunkter + +Du kan tilføje menupunkter et punkt ad gangen, eller du kan tilføje flere menupunkter på dem. + +### Tilføjer enkelte menupunkter + +For at tilføje et enkelt menupunkt, * klik på `Tilføj menupunkt` knappen * Udfyld de krævede oplysninger og tryk `Gem` + +### Tilføjer flere elementer + +For at tilføje flere menupunkter på én gang, * Klik på ikonet Start ved siden af `Tilføj menupunkt` * Du kan manuelt tilføje elementer ved at placere hvert element på en ny linje og ved hjælp af tabulatortegnet nest elementer eller * Du kan klikke på en af de angivne muligheder nederst i textarea for automatisk at udfylde menupunkterne + +## Omarrangér menupunkterne + +Du kan trække og slippe menupunkterne op/ned for at indstille deres visningsrækkefølge, eller trække dem venstre/højre for at indstille det ønskede hierarki. + +## Genopbygger menupunkterne + +Hvis du finder, at menupunkterne ikke vises korrekt, skal du klikke på knappen `Genopbyg træ` for at genopbygge menupunkterne. \ No newline at end of file diff --git a/docs/website/translated_docs/da/menus-managing.md b/docs/website/translated_docs/da/menus-managing.md new file mode 100644 index 000000000000..8734722a2963 --- /dev/null +++ b/docs/website/translated_docs/da/menus-managing.md @@ -0,0 +1,22 @@ +--- +id: menu-administration +title: Håndtering Af Menuer +--- + +Du kan oprette menuer i AVS, som du derefter kan vise ved hjælp af menuer eller links blokke eller vises som en vandret navbar. + +## Håndtering Af Menuer + +For at administrere menuer, gå til AVS > Udvidelser > Sitemaker > Menu + +### Opretter Menuer + +For at oprette en ny menu (gruppe), klik på `Tilføj menu` knappen. En ny menugruppe vil blive oprettet med et tilfældigt genereret navn. Den nye menu vil også blive valgt så du kan begynde at tilføje menupunkter til den. + +### Redigering Af Menuer + +Hvis du ønsker et mere meningsfuldt menunavn, * hover over menunavnet og klik på tandhjulsikonet * skriv det nye menunavn og tryk på enter for at opdatere det + +### Sletter Menuer + +For at slette en menu og dens elementer, * Hold musen over menunavnet og klik på **x** ikonet * Hvis menupunktet ikke har nogen underordnede elementer, du skal bekræfte dit valg for at slette punktet * Hvis menupunktet har underpunkter du bliver nødt til at angive, om du kun vil slette elementet og flytte dets underordnede op eller hvis du vil slette hele grenen \ No newline at end of file diff --git a/docs/website/translated_docs/da/site-block-modifiers.md b/docs/website/translated_docs/da/site-block-modifiers.md new file mode 100644 index 000000000000..ca2768fd7144 --- /dev/null +++ b/docs/website/translated_docs/da/site-block-modifiers.md @@ -0,0 +1,6 @@ +--- +id: sted-block-modifikatorer +title: Tilpasning Af Blokkevisning +--- + +Arbejdet er i gang... \ No newline at end of file diff --git a/docs/website/translated_docs/da/site-default-layout.md b/docs/website/translated_docs/da/site-default-layout.md new file mode 100644 index 000000000000..32bb8c065f82 --- /dev/null +++ b/docs/website/translated_docs/da/site-default-layout.md @@ -0,0 +1,10 @@ +--- +id: site-default-layout +title: Indstilling af et standard layout +--- + +Når du tilføjer en blok, tilføjes den til den specifikke side. Det ville derfor være en kedelig opgave at sætte blokke for alle siderne på dit websted. Du kan indstille alle ønskede blokke for en bestemt side, og derefter indstille den side som standard layout. Med andre ord, enhver side, der ikke har sine egne blokke, vil arve blokke fra denne side. + +For at angive et standard layout * Gå til den side, du gerne vil angive som standard layout * Klik på `Indstillinger` i admin bjælken * Klik på `Sæt som standard layout` knap + +Sig at vi tilføjer blokke til en side (phpBB/index.php) med blokke i sidepanelet og toppositioner, for eksempel, og sæt det som vores standard layout. Dette har følgende effekter på andre sider: * Enhver side, der ikke har sine egne blokke, vil arve blokkene fra standardlayoutet. Se [Forståelse blok arv](./blocks-inheritance.md) for undtagelser. * Du kan stadig arve blokke fra et standard layout (indeks. hp), men vælg ikke at vise blokke på nogle blokpositioner eller slet ikke vise nogen blokke. For at gøre dette, * Gå til den side, du ikke ønsker, at alle/nogle blokke skal vises * Klik på `Indstillinger` i admin bjælken * Vælg `Vis ikke blokke på denne side` , hvis du ikke ønsker at arve/vise nogen blokke på denne side ELLER * Brug CTRL + klik for at vælge de blok positioner (til højre), som du ikke ønsker at vise blokke på * I `redigeringstilstand`, en side, der arver blokke fra standard layout, vil ikke vise nogen blokke, giver dig mulighed for at tilføje blokke til siden, hvis du ønsker at * Enhver side, der har sine egne blokke, vil ikke arve fra standard layout \ No newline at end of file diff --git a/docs/website/translated_docs/da/site-layouts.md b/docs/website/translated_docs/da/site-layouts.md new file mode 100644 index 000000000000..42ebdcd6af40 --- /dev/null +++ b/docs/website/translated_docs/da/site-layouts.md @@ -0,0 +1,20 @@ +--- +id: site-layouts +title: Layout +--- + +"Layouts" bestemmer de tilgængelige blokpositioner og hvordan de vises. + +## Blok Positioner + +Blok positioner er foruddefinerede områder på dit websted, hvor blokke kan eksistere. De tilgængelige blokpositioner bestemmes af den skabelonstil, du bruger. Til prosilver phpBB SiteMaker kommer med følgende blok positioner: * panel: fuld bredde over toppen * sidepanel: Venstre/højre afhængigt af layout under * subindhold: ligner sidepanel lige større * top_hor: vandrette blokke over toppen, flanking over sidebar/underindhold afhængigt af layout * top: ovenfor hovedindhold * boks: lige bredde vandrette blokke under hovedindholdet * nederst: under hovedindholdet * bottom_hor: vandrette blokke over bunden, flanking af sidebjælke/underindhold afhængigt af layout * footer: horisontale blokke i footer Du kan tilføje flere blokpositioner i dine egne stil skabeloner ved at kopiere og ændre de tilsvarende phpBB SiteMaker skabeloner + +## Websteds Layout + +Du kan vælge layoutet for dit websted i AVS (Extensions > Sitemaker > Indstillinger): * **Blog**: subcontent og sidebar ved siden af hinanden, skubbet til højre, top_hor/botom_hor flank subcontent * **Holy Grail**: lige bredde sidebar og subcontent på modsatte sider, top_hor/botom_hor flank underindhold * **Portal**: sidebar til venstre, underindhold til højre, top_hor/botom_hor flank underindhold * **Portal Alt**: underindhold til venstre sidepanel til højre top_hor/botom_hor flank sidebar * **Brugerdefineret**: Indstil bredden af sidebjælkerne manuelt som px, %, em eller rem. Standard er 200px på hver side + +## Brugerdefinerede skabeloner/stilarter + +Så vidt muligt vi forsøgte at sætte skabelonfiler og -filer i stil/alle / mappe, så du kan overskrive dem ved at oprette en fil med samme navn under dit eget skabelontema . . prosilver. Så hvis du ønsker at ændre, hvordan en bestemt blok vises, eller hvis du ønsker at oprette dit eget layout med dine egne blok positioner, du simpelthen nødt til at oprette en fil med samme navn og sti som originalen i din egen stil. + +Hvis du har brug for at tilpasse CSS/JS-filer, så tag et kig på afsnittet [theming](./developer-theming.md). \ No newline at end of file diff --git a/docs/website/translated_docs/da/site-navbar.md b/docs/website/translated_docs/da/site-navbar.md new file mode 100644 index 000000000000..85da5bfc9224 --- /dev/null +++ b/docs/website/translated_docs/da/site-navbar.md @@ -0,0 +1,6 @@ +--- +id: site-navbar +title: Navigationsbjælke +--- + +Se [Viser menuer](./menus-display#navigation-bar) \ No newline at end of file diff --git a/docs/website/translated_docs/da/site-startpage.md b/docs/website/translated_docs/da/site-startpage.md new file mode 100644 index 000000000000..b718d71ef770 --- /dev/null +++ b/docs/website/translated_docs/da/site-startpage.md @@ -0,0 +1,8 @@ +--- +id: site-startpage +title: Indstilling af en startside +--- + +phpBB SiteMaker giver dig mulighed for at vælge en frontcontroller (sider tilgås via app.php... som din standardstartside (siden der vises, når nogen besøger din websted) i stedet for brætindekset. + +For at gøre dette: * Gå til den side, du ønsker at indstille som standard startside * Klik på `Indstillinger` i admin bjælken. Hvis det er en berettiget side, du vil se en `Set som startside` knap * Klik på `Sæt som startside` \ No newline at end of file diff --git a/docs/website/translated_docs/de/blocks-custom.md b/docs/website/translated_docs/de/blocks-custom.md new file mode 100644 index 000000000000..a469dae2e748 --- /dev/null +++ b/docs/website/translated_docs/de/blocks-custom.md @@ -0,0 +1,24 @@ +--- +id: block-benutzerdefiniert +title: Eigener Block +--- + +Wenn die verfügbaren Blöcke dir nicht die Freiheit geben die du brauchst gibt es den `benutzerdefinierten Block` der es dir erlaubt, deine eigenen Inhalte mit BBcode oder HTML anzuzeigen. Der Block kommt mit einem WYSIWYG-Editor (TinyMCE) und einem Skript-Manager: + +## Der Editor + +- Sie können den Editor verwenden, um HTML-Inhalte zu erstellen +- Sie können den Quellcode bearbeiten, wenn Sie diese Kontrollstufe benötigen, indem Sie auf das `Quellcode` Symbol (`<>`) im Editor klicken +- Mit dem Editor können Sie Bilder hochladen und bearbeiten + - Es erstellt einen neuen Ordner in phpBB/images/sitemaker_uploads/ für jeden Benutzer, der Zugriff darauf hat + - Sie können alle Benutzerordner ansehen/verwalten +- Der Editor filtert potenziell gefährliche Skripte wie Javascript usw. Wenn Sie Inhalte wie Google-Anzeigen hinzufügen müssen, wird das Javascript gefiltert, aber Sie können das umgehen, indem Sie folgendes tun: + - Füge den Custom Block zu dem gewünschten Ort hinzu + - Bearbeiten Sie den benutzerdefinierten Block, klicken Sie auf den `HTML` Tab und fügen Sie Ihr Javascript ein + +## Skript-Verwaltung + +Mit dem Custom Block können Sie auch benutzerdefinierte CSS- und Javascript-Dateien zu Ihrer Seite hinzufügen. Du kannst das folgendermaßen tun: + +- Fügen Sie einen `benutzerdefinierten Block` zu jeder Blockposition hinzu. Die Position spielt keine Rolle, es sei denn, Sie zeigen auch Inhalte mit dem Block +- Den Block bearbeiten, klicken Sie auf den `Reiter` und fügen Sie Ihre CSS- oder Javascript-Dateien hinzu > Warnwort: Das Hinzufügen zu vielen Skripten auf Ihrer Seite kann die Ladezeiten beeinflussen \ No newline at end of file diff --git a/docs/website/translated_docs/de/blocks-inheritance.md b/docs/website/translated_docs/de/blocks-inheritance.md new file mode 100644 index 000000000000..d5ce738a8175 --- /dev/null +++ b/docs/website/translated_docs/de/blocks-inheritance.md @@ -0,0 +1,44 @@ +--- +id: block-Vererbung +title: Blockvererbung verstehen +--- + +Wir haben bereits gesehen, dass durch die Einstellung eines Standardlayouts andere Seiten, die keine eigenen Blöcke haben, die Blöcke aus dem Standardlayout erben. Es gibt jedoch eine andere Art von Blockvererbung. + +## Eltern-/Kind-Routen + +In phpBB SiteMaker sprechen wir von verschachtelten Routen in Bezug auf echte verschachtelte (Sub-)Verzeichnisse oder praktisch verschachtelte Pfade/Routen. Bitte bleiben Sie bei mir :). * Real Parent/Child routes: Zum Beispiel ist der Pfad /some_directory/sub_directory/index.php ein Kind von /some_directory/index.php * Virtual Parent/Child routes: Zum Beispiel wird viewtopic.php als Kind von viewforum.php behandelt. + +Hier sind einige Beispiele für Eltern-/Kind-Routen: + +| Eltern | Kind | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/artikel | /app.php/articles/my-article | + +## Eltern-/Kind-Block Vererbung + +Bei übergeordneten/untergeordneten Routen erbt die untergeordnete Route die Blöcke der übergeordneten Route (wenn der Elternteil eigene Blöcke hat) oder des Standardlayouts (falls eine gesetzt wurde). Mit anderen Worten, selbst wenn es ein Standardlayout gibt, wird die untergeordnete Route Blöcke von ihrer übergeordneten Route erben, wenn die übergeordnete Route eigene Blöcke hat. Aber nicht alle Blöcke der übergeordneten Route müssen geerbt werden. + +## Blockvererbung kontrollieren + +Auf einer Blockebene können Sie festlegen, wann ein Block durch Kinderrouten vererbt werden kann. Wir haben dies bereits in den [Editing Block Settings](./blocks-managing#editing-block-settings) erwähnt. + +Betrachten Sie die folgende echte Verzeichnisstruktur: + +```text +phpBB + index.php + Movies/ + index.php + page.php + Comedy/ + index.php +``` + +Zum Zwecke der Vererbung von Blöcken sagen wir: * Die übergeordnete Route von /phpBB/Movies/Comedy/index.php ist /phpBB/Movies/index.php und nicht /phpBB/Movies/page.php * Alle Seiten in einem Unterverzeichnis relativ zu /phpBB/index.php ist eine untergeordnete Route von /phpBB/index.php. Also /phpBB/Movies/index.php und /phpBB/Movies/page.php sind alle Kinder von /phpBB/index.php und werden daher ihre Blöcke erben, wenn sie keine eigenen Blöcke haben. In diesem Fall: * Wenn ein Block auf /phpBB/index. hp ist auf **Ausblenden auf untergeordneten Routen**gesetzt, der Block wird auf /phpBB/index angezeigt. hp (übergeordnete Route) aber nicht auf seinen untergeordneten Routen * Wenn ein Block auf /phpBB/index. hp wird auf **nur auf untergeordneten Routen angezeigt**, es wird auf /phpBB/Movies/index.php und /phpBB/Movies/page angezeigt. hp (Kindrouten), aber nicht auf /phpBB/index.php (parent), noch /phpBB/Movies/Comedy/index. hp (wir gehen nur eine Ebene tief) * Wenn ein Block auf /phpBB/index. hp wird auf **immer** gesetzt (Standard), es wird auf /phpBB/index.php (parent), /phpBB/Movies/index angezeigt. hp und /phpBB/page.php (Kind-Routen) aber nicht auf /phpBB/Movies/Comedy/index.php (wir gehen nur eine Ebene deep). In diesem Fall wird /phpBB/Movies/Comedy/index.php von der Standardroute geerbt (falls vorhanden) + +## Posible Zukunft Status + +Ich bin wirklich an Ihrem Feedback in diesem Bereich interessiert. Die meisten phpBB-Benutzer werden keine echten Verzeichnisse wie oben beschrieben haben. Ich denke also an die Struktur, die in einem Menüblock als virtuelle Verzeichnisstruktur definiert ist, und verwende diese übergeordnete/untergeordnete Vererbung. Ich denke auch darüber hinaus gehen über eine Ebene tief. Bitte lassen Sie mich wissen, ob dies Ihnen nützlich sein wird. \ No newline at end of file diff --git a/docs/website/translated_docs/de/blocks-managing.md b/docs/website/translated_docs/de/blocks-managing.md new file mode 100644 index 000000000000..3481c2ed8873 --- /dev/null +++ b/docs/website/translated_docs/de/blocks-managing.md @@ -0,0 +1,38 @@ +--- +id: blockverwaltung +title: Verwalte Blöcke +--- + +Um Blöcke in phpBB SiteMaker zu verwalten, müssen Sie im [Edit Mode](./blocks-overview#edit-mode) sein. + +> Wenn ein Block keinen Inhalt anzeigt, wird er nicht angezeigt, außer im Bearbeitungsmodus. Auf diese Weise können Sie entweder Inhalte geben (im Falle des benutzerdefinierten Blocks) oder seine Einstellungen ändern. +> +> Im Bearbeitungsmodus sind die etwas transparenten Blöcke Blöcke, die ansonsten nicht angezeigt werden, sondern nur angezeigt werden, weil wir im Bearbeitungsmodus sind + +## Füge Blöcke hinzu + +Sie können Blöcke zu jeder Frontseite hinzufügen, außer den Seiten für Benutzerverwaltung und Moderator-Systemsteuerung. Um einen Block hinzuzufügen, müssen Sie: * klicken Sie auf **Blöcke** in der Admin-Leiste. Hier wird eine Liste der verfügbaren Blöcke angezeigt * Ziehen und den gewünschten Block an eine beliebige Blockposition ablegen + +## Blöcke bearbeiten + +### Füge ein Blocksymbol hinzu + +Links vom Blocktitel (Prosilver) befindet sich ein Feld für das Blocksymbol. Klicken Sie auf dieses Feld, um die Symbolauswahl zu erhalten. Sie können die Symbolgröße, Farbe, Float, Rotation usw. auswählen. + +### Block-Titel bearbeiten + +phpBB SiteMaker Blöcke haben einen Standard-übersetzten Titel, aber wenn der Titel nicht Ihren Bedürfnissen entspricht, können Sie ihn ändern. Um den Block-Titel zu bearbeiten, * Klicken Sie auf den Block-Titel, um ein Inline-Bearbeitungsformular zu erhalten * Ändern Sie den Titel auf was Sie wollen * Fokus aus dem Feld entfernen oder Enter drücken, um Änderungen einzureichen + +> Ihr modifizierter Block-Titel ist nicht übersetzt +> +> Um zum Standardtitel zurückzukehren, löschen Sie einfach den Titel und drücken Sie Enter + +### Blockeinstellungen bearbeiten + +Wenn Sie über einem Block schweben, erscheint rechts auf dem Block ein Zahnrad-Symbol, das zum Bearbeiten des Blocks verwendet werden kann. Im Bearbeiten-Block-Dialog können Sie: - Aktiviere/Deaktiviere einen Block [Status] - Wähle, wann der Block angezeigt werden soll/sollte [Display]. Dies gilt nur in Fällen, in denen Sie verschachtelte Seiten haben (siehe [Block Vererbung verstehen](./blocks-inheritance.md)): - **Immer**: Immer den Block - **auf Unterrouten ausblenden**: Nur diesen Block auf der übergeordneten Route anzeigen - **Nur auf untergeordneten Routen anzeigen**: Nur diesen Block auf einer untergeordneten Route anzeigen - Wählen Sie, welche Benutzergruppen den Block ansehen können [Sichtbar von]. Verwenden Sie STRG + klicken, um mehrere Gruppen auszuwählen. - Legen Sie benutzerdefinierte Klassen fest, um das Aussehen des Blocks oder der Elemente (Listen, Bilder, Hintergrund usw.) innerhalb des Blocks [CSS-Klasse] - Zeige/Verstecke den Blocktitel [Block-Titel verbergen?] - Wählen Sie die Blockansicht [Block-Ansicht]. Sie können eine Standard-Blockansicht auswählen, wenn neue Blöcke in den AKP-Ländern hinzugefügt werden. - **Standard / Einfache**: verwendet die prosilber-Panel-Klasse, um den Block in einen gepolsterten Container zu verpacken - **Basic**: Block hat keinen Container, der ihn umwickelt - **Boxed**: verwendet die prosilber-Forabg-Klasse, um den Block in ein Feld einzuwickeln - Setze / Update-Block spezifische Einstellungen - Wenn du denselben Block mit gleichen Einstellungen auf mehreren Seiten hast, du kannst alle auf einmal aktualisieren, indem du die **Update-Blöcke mit ähnlichen Einstellungen auswählst** + +## Lösche Blöcke + +- Hover über dem Block, den du löschen möchtest +- Klicken Sie auf das Symbol **x** und bestätigen Sie, dass Sie den Block löschen möchten +- Gehe zur Admin-Leiste und klicke auf `Änderungen speichern` \ No newline at end of file diff --git a/docs/website/translated_docs/de/blocks-overview.md b/docs/website/translated_docs/de/blocks-overview.md new file mode 100644 index 000000000000..cc45238dbe1a --- /dev/null +++ b/docs/website/translated_docs/de/blocks-overview.md @@ -0,0 +1,10 @@ +--- +id: block-Übersicht +title: Was sind Blöcke? +--- + +Im Herzen von phpBB SiteMaker liegt das Konzept der Blöcke. Blöcke sind kleine Inhaltsstücke, die Sie in verschiedenen vordefinierten Bereichen (Blockpositionen) auf Ihrer Website platzieren können. Die Blöcke haben typischerweise Einstellungen, die Sie einstellen/ändern können, um den Inhalt, den Sie anzeigen möchten, zu verfeinern. Die meisten Blöcke, aber nicht alle, werden Datenbankabfragen machen, um den gewünschten Inhalt zu erhalten. Also lass uns nicht zu verrückt :). Um Blöcke zu verwalten, müssen Sie in den "Bearbeiten-Modus" wechseln. + +## Bearbeiten + +Wechseln Sie zum Bearbeiten-Modus, indem Sie auf das Stiftsymbol oben rechts auf Ihrer Seite klicken. Dadurch wird die "Admin Bar" mit "Blöcke" und "Einstellungen" Menüeinträgen angezeigt. Dies wird als 'edit mode' bezeichnet. \ No newline at end of file diff --git a/docs/website/translated_docs/de/blocks-views.md b/docs/website/translated_docs/de/blocks-views.md new file mode 100644 index 000000000000..7ff9eeac8faa --- /dev/null +++ b/docs/website/translated_docs/de/blocks-views.md @@ -0,0 +1,6 @@ +--- +id: blocks-views +title: Ansichten blockieren +--- + +Arbeiten läuft... \ No newline at end of file diff --git a/docs/website/translated_docs/de/contrib-overview.md b/docs/website/translated_docs/de/contrib-overview.md new file mode 100644 index 000000000000..e482657920f7 --- /dev/null +++ b/docs/website/translated_docs/de/contrib-overview.md @@ -0,0 +1,11 @@ +--- +id: contrib-Übersicht +title: Beteiligt werden +--- + +phpBB SiteMaker ist ein Open Source Projekt und begrüßt Ihre Ideen und Beiträge. Nehmen Sie sich also an. Sie können zu diesem Projekt beitragen durch: + +* [Support/Feedback bereitstellen](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Melde Fehler](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Hilfe bei der Übersetzung](./contrib-translators.md) +* [Fehlerbehebung oder Hinzufügen von Funktionen](./contrib-pull-requests.md) \ No newline at end of file diff --git a/docs/website/translated_docs/de/contrib-pull-requests.md b/docs/website/translated_docs/de/contrib-pull-requests.md new file mode 100644 index 000000000000..72d694c27af5 --- /dev/null +++ b/docs/website/translated_docs/de/contrib-pull-requests.md @@ -0,0 +1,76 @@ +--- +id: contrib-pull-requests +title: Einreichen einer Pull-Anfrage +sidebar_label: Pull-Anfragen +--- + +`Pull-Requests lassen Sie andere über Änderungen informieren, die Sie in einen Branch in einem Repository auf GitHub kopiert haben. Sobald eine Pull-Anfrage geöffnet ist, können Sie die möglichen Änderungen mit Mitarbeitern besprechen und überprüfen und weitere Commits hinzufügen, bevor Ihre Änderungen in den Basiszweig eingefügt werden.` [Lesen Sie mehr](https://help.github.com/articles/about-pull-requests/) + +## Gabeln/Klonen + +* Erstellen Sie ein Github-Konto, wenn Sie noch kein Konto haben +* Gehe zu https://github.com/blitze/phpBB-ext-sitemaker.git und klicke auf "Fork" + +Klone deine Fork des Repository: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +Von der Kommandozeile gehen Sie in das Sitemaker-Verzeichnis: + + cd phpBB/ext/blitze/sitemaker + + +**Git konfigurieren:** + +Füge deinen Benutzernamen zu Git auf deinem System hinzu: + + git config --global user.name "Your Name Here" + + +Füge deine E-Mail-Adresse zu Git auf deinem System hinzu: + + git config --add user.email username@phpbb.com + + +Fügen Sie die Upstream-Fernbedienung hinzu (Sie können 'Upstream' auf was immer Sie möchten ändern): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + + +**Hersteller installieren** + + Komponist Installation + + +**NPM-Pakete installieren** + + npm Installation + + +Alternativ können Sie [Garn](https://yarnpkg.com) verwenden: + + yarn Installation + + +## Pull-Anfragen + + # Erstelle einen neuen Branch für deine Funktion & wechsle zu ihm + git checkout -b feature/my-fancy-new-feature + + # erstelle einen neuen Branch für das Problem, an dem du arbeitest * wechsle zu ihm (Ticket # ist von github tracker) + git checkout -b ticket/1234 + + +Änderungen vornehmen + + # Stage die Dateien + Git hinzufügen + + # Inszenierte Dateien übernehmen - bitte verwenden Sie eine korrekte Commit-Nachricht + git commit -m "my commit message" + + +Push den Branch zurück zu GitHub git push origin feature/my-fancy-new-feature + +Sende eine [Pull-Request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) \ No newline at end of file diff --git a/docs/website/translated_docs/de/contrib-translators.md b/docs/website/translated_docs/de/contrib-translators.md new file mode 100644 index 000000000000..e145e116718d --- /dev/null +++ b/docs/website/translated_docs/de/contrib-translators.md @@ -0,0 +1,17 @@ +--- +id: contrib-Übersetzer +title: Übersetzer +--- + +Wir brauchen Hilfe bei der Übersetzung dieser Erweiterung und ihrer Dokumentation. Wir haben ein Projekt auf Crowdin erstellt, um Übersetzungen zu erleichtern. Crowdin gibt dir eine Übersetzungsschnittstelle, die zweitrangig ist. Sie können dazu beitragen, wie immer Sie wollen, aber wir empfehlen dringend Crowdin zu verwenden. + +> Crowdin ist eine Lokalisierungsmanagement-Plattform, die Unternehmen bei der Übersetzung ihrer Software hilft. Sie können hier mehr über Crowdin [lesen](https://support.crowdin.com/crowdin-intro/) + +Wenn Sie bereit sind, mit Übersetzungen beizutragen, benötigen Sie: + +* Ein [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) Konto. +* Wählen Sie die Zielsprache aus, wenn eine andere Anfrage aktiviert werden soll. + +Wenn Ihre gewünschte Sprache nicht aufgeführt ist, bitte [kontaktieren Sie mich](https://crowdin.com/profile/blitze) und ich werde sie hinzufügen. + +[Übersetzen starten](https://crowdin.com/project/phpbb-ext-sitemaker) \ No newline at end of file diff --git a/docs/website/translated_docs/de/developer-events.md b/docs/website/translated_docs/de/developer-events.md new file mode 100644 index 000000000000..6c1a26f648b4 --- /dev/null +++ b/docs/website/translated_docs/de/developer-events.md @@ -0,0 +1,120 @@ +--- +id: Entwicklerevents +title: phpBB SiteMaker Events +--- + +Sie können das Verhalten von phpBB SiteMaker mit phpBB's Eventsystem ändern. + +## PHP-Ereignisse + +# blitze.sitemaker.acp_add_bulk_menu_options + +- Ort: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Seit: 3.1.0 +- Zweck: Bulk-Menü-Optionen im Akp-Menü hinzufügen + +# blitze.sitemaker.acp_display_settings_form + +- Ort: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Seit: 3.1.0 +- Zweck: Anzeige Akp (Sitemaker) Einstellungsformular + +# blitze.sitemaker.acp_save_settings + +- Ort: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Seit: 3.1.0 +- Zweck: acp (sitemaker) Einstellungen speichern + +# blitze.sitemaker.admin_bar.set_assets + +- Ort: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Seit: 3.0.1-RC1 +- Zweck: Assets für verfügbare Blöcke im Bearbeitungsmodus hinzufügen + +# blitze.sitemaker.modify_block_position + +- Ort: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Seit: 3.0.1-RC1 +- Zweck: Blockpositionen ändern + +# blitze.sitemaker.modify_rendered_block + +- Ort: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Seit: 3.0.1-RC1 +- Zweck: Bearbeite einen gerenderten Block + +## Vorlagenereignisse + +# blitze_sitemaker_acp_settings + +- Lage: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Seit: 3.1.0 +- Zweck: Formularfelder für Sitemaker-Einstellungen hinzufügen + +# blitze_sitemaker_admin_bar_append + +- Ort: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Seit: 3.1.0 +- Zweck: Menüeinträge zur Admin-Leiste hinzufügen + +# blitze_sitemaker_admin_bar_templates + +- Ort: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Seit: 3.1.0 +- Zweck: Füge Template-Dateien hinzu, die in JS für Block-Ansichten verwendet werden, etc + +## Javascript-Ereignisse + +# blitze_sitemaker_layout_saved + +- Ort: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Seit: 3.1.2 +- Zweck: Ereignis, um anderen Erweiterungen zu erlauben, etwas zu tun, wenn Layout-Änderungen gespeichert werden + +# blitze_sitemaker_render_block_before + +- Ort: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Seit: 3.1.2 +- Zweck: Ereignis, um anderen Erweiterungen zu erlauben, etwas zu tun, bevor der Block gerendert wird oder um zu verhindern, dass er wiedergegeben wird + +# blitze_sitemaker_render_block_after + +- Ort: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Seit: 3.1.2 +- Zweck: Ereignis, um anderen Erweiterungen zu erlauben, etwas zu tun, nachdem der Block gerendert wurde + +# blitze_sitemaker_save_block_before + +- Ort: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Seit: 3.1.2 +- Zweck: Ereignis, um anderen Erweiterungen zu erlauben, Blockdaten zu ändern, bevor sie gespeichert werden + +# blitze_sitemaker_show_all_block_position + +- Lage: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Seit: 3.1.2 +- Zweck: Ereignis, um anderen Erweiterungen zu erlauben, etwas zu tun, wenn alle Blockpositionen angezeigt werden + +# blitze_sitemaker_hide_empty_block_position + +- Lage: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Seit: 3.1.2 +- Zweck: Ereignis, um anderen Erweiterungen zu erlauben, etwas zu tun, wenn leere Positionen versteckt sind + +# blitze_sitemaker_layout_cleared + +- Lage: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Seit: 3.1.2 +- Zweck: Ereignis, um anderen Erweiterungen zu erlauben, etwas zu tun, wenn das Layout gelöscht wird + +# blitze_sitemaker_layout_updated + +- Lage: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Seit: 3.1.2 +- Zweck: Ereignis, um anderen Erweiterungen zu erlauben, etwas zu tun, wenn das Layout aktualisiert wird + +# blitze_sitemaker_tinymce_options + +- Ort: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Mehr noch: 3.3.0 +- Zweck: Ereignis um anderen Erweiterungen zu erlauben, Tinkymce-Optionen zu ändern \ No newline at end of file diff --git a/docs/website/translated_docs/de/developer-extensions.md b/docs/website/translated_docs/de/developer-extensions.md new file mode 100644 index 000000000000..184c958c7282 --- /dev/null +++ b/docs/website/translated_docs/de/developer-extensions.md @@ -0,0 +1,177 @@ +--- +id: Entwicklererweiterungen +title: phpBB SiteMaker erweitern +--- + +Sie können phpBB SiteMaker erweitern/ändern, indem Sie [Service Replace](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [Service Dekoration](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration)und [phpBB's Event System](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html) verwenden. Eine Liste unterstützter Veranstaltungen findest du hier [](./developer-events.md). + +## Einen SiteMaker-Block erstellen + +Ein phpBB SiteMaker Block ist einfach eine Klasse, die die Blitze\sitemaker\services\blocks\driver\block Klasse erweitert und ein Array aus der "display"-Methode mit einem 'title' und 'content' zurückgibt. Alles andere in inbetween liegt bei Ihnen. Damit Ihr Block von phpBB SiteMaker entdeckt werden kann, müssen Sie ihm den Tag "sitemaker.block" geben. + +Sagen Sie, wir haben eine Erweiterung mit dem Hersteller/der Erweiterung als mein/Beispiel. Um einen Block namens "my_block" für phpBB SiteMaker zu erstellen: + +- Erstelle einen "Blöcke"-Ordner +- Meine_block.php-Datei im Block-Ordner mit dem folgenden Inhalt erstellen + +```php +namespace mein\beispiel\blocks; + +nutze blitze\sitemaker\services\blocks\driver\block; + +Klasse my_block extends block +{ + /** + * {@inheritdoc} + */ + public function display(array $settings, $edit_mode = false) + { + return array( + 'title' => 'my block title', + 'content' => 'my block content', + ); + } +} +``` + +Dann fügen Sie in Ihrer Datei config.yml folgendes hinzu: + +```yml +services: + + ... + + my.example.block.my_block: + class: my\example\blocks\my_block + calls: + - [set_name, [my.example.block.my_block]] + tags: + - { name: sitemaker.block } + + .... + +``` + +Das ist alles, was Sie brauchen. Wenn Sie in den Bearbeitungsmodus gehen, sollten Sie den Block als 'MY_EXAMPLE_BLOCK_MY_BLOCK' sehen, der an jeder Blockposition gezogen und gelöscht werden kann. Aber dieser Block macht nichts Aufregendes. Es hat keine Einstellungen und übersetzt nicht den Blocknamen. Lass uns es interessanter machen. + +### Blockeinstellungen + +Lass uns unsere Blöcke/meinen Block ändern. hp-Datei und fügen Sie eine "get_config"-Methode bei der Rückgabe eines Arrays hinzu, wobei die Schlüssel die Blockeinstellungen sind und die Werte ein Array sind, das die Einstellungen wie folgt beschreibt: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Only show when option 1 is selected
'), + ); + } +``` + +Dies ist genau so konstruiert, wie phpBB die Konfiguration für Board-Einstellungen in AKP erstellt. Weitere Beispiele [finden Sie hier](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Wenn Sie einen benutzerdefinierten Feldtyp möchten, können Sie ein Beispiel [hier sehen](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' Einstellung). + +Hinweis 'legend1' und 'legend2': Diese werden verwendet, um die Einstellungen in Tabs zu trennen. + +### Benennen von Blöcken + +Die Konvention für Blocknamen ist, dass der Service-Name (z. B. my.example.block. y*-Block oben) wird als Sprachschlüssel verwendet, indem die Punkte (.) durch Unterstriche (*) ersetzt werden (z.B. MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Übersetzung + +Beachten Sie auch, dass wir mehrere Sprachschlüssel haben, die übersetzt werden müssen. Erstellen Sie dazu eine Datei mit dem Namen "blocks_admin.php" in Ihrem Sprachordner. Diese Datei wird beim Bearbeiten von Blöcken automatisch geladen und sollte Übersetzungen für die Blockeinstellungen und Blocknamen haben. + + $lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Option 1', + 'OTHER_LANG_VAR' => 'Option 2', + 'SOME_LANG_VAR_1' => 'Setting 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'My Block', + ); + + +Da 'blocks_admin.php' nur beim Bearbeiten von Blöcken geladen wird, müssen Sie andere Übersetzungen (z.B. Blocktitel) hinzufügen, indem Sie eine Sprachdatei in Ihrer Anzeigemethode laden `$language->add_lang('my_lang_file', 'my/example');` + +### Den Block rendern + +Der neue Block wird nur angezeigt, wenn er etwas rendert. Ihr Block kann jede Zeichenfolge als Inhalt zurückgeben, aber in den meisten Fällen benötigen Sie eine Vorlage, um Ihren Inhalt zu rendern. Um deinen Block mit Vorlagen zu rendern der Block muss ein Array zurückgeben, das die Daten enthält, die Sie an die Vorlage übergeben möchten, und die `get_template` Methode wie unten gezeigt implementieren: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'ANDERER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // nur im Bearbeitungsmodus + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Dann könnte deine styles/all/my_block.html oder styles/prosilver/my_block.html Datei so aussehen: + +

Sie haben ausgewählt: {{ some_var }}

+ + +Zusammenfassend Ihr Block muss ein Array mit einer `-Titel-Taste` (für den Block-Titel) und einer `Inhalts-Taste` (wenn der Block nur einen String anzeigt und keine Vorlage verwendet) oder einer `Daten-Taste` (wenn der Block eine Vorlage verwendet, in diesem Fall müssen Sie auch die Methode `get_template` implementieren). + +### Assets blockieren + +Wenn Ihr Block Assets (css/js) zur Seite hinzufügen muss, empfehle ich dafür den Sitemaker [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) zu verwenden. Da es mehr als eine Instanz desselben Blocks auf der Seite geben kann oder andere Blöcke das gleiche Asset hinzufügen, stellt die Util-Klasse sicher, dass das Asset nur hinzugefügt wird. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/einige. s', + 100 => '@my_example/assets/others. s', // Priorität setzen + ), + 'css' => array( + '@my_example/assets/some ss', + ) +)); +``` + +Die Util-Klasse muss natürlich zu Ihren Service-Definitionen in config.yml hinzugefügt werden, wie so: `- '@blitze.sitemaker. bis` und definiert im Konstruktor Ihres Blocks `\blitze\sitemaker\services\util $util`. + +Und das war's. Wir sind fertig! \ No newline at end of file diff --git a/docs/website/translated_docs/de/developer-theming.md b/docs/website/translated_docs/de/developer-theming.md new file mode 100644 index 000000000000..931eff2e6e1e --- /dev/null +++ b/docs/website/translated_docs/de/developer-theming.md @@ -0,0 +1,55 @@ +--- +id: Entwicklerthema +title: Theming +--- + +phpBB SiteMaker enthält Stile und Farben für Prosilver. Sie können CSS-, JS- und HTML-Dateien überschreiben, indem Sie die entsprechende Datei im Ordner Ihres Stils erstellen. + +# Erstellen von JS/CSS-Dateien für Ihren Stil + +Hinweis: * Für den Zweck der folgenden Anweisungen gehen wir davon aus, dass Sie einen Stil namens my-style haben. + +Klone in phpBB/ext/blitze/sitemaker: + + git Klon https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +Von der Kommandozeile gehen Sie in das Sitemaker-Verzeichnis: + + cd phpBB/ext/blitze/sitemaker + + +**Hersteller installieren** + + Komponist Installation + + +**Pakete installieren** + +Für die folgenden Befehle können Sie npm oder [Garn](https://yarnpkg.com) verwenden + + yarn Installation + + +**Änderungen beobachten** + + yarn start --theme my-style + + +**Änderungen vornehmen** + +* Machen Sie Ihre Änderungen an Dateien im phpBB/ext/blitze/sitemaker/develop Ordner. +* Betrachten Sie phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss für sass Variablen + +**Assets erstellen** + + yarn build --theme my-style + + +**Verteilen** + +Sie können nun die generierten Dateien von phpBB/ext/blitze/sitemaker/styles/my-style kopieren und auf Ihren Produktionsserver hochladen. + +> Diese Erweiterung verwendet jQuery UI für Tabs, Dialoge und Schaltflächen. Das Standard-jQuery-Theme ist 'Smoothness.' Du kannst ein anderes jQuery-UI-Theme verwenden, das am besten zu deinem Theme passt. Sie können das jQuery UI Theme mit dem Flag --jq_ui_theme angeben. Zum Beispiel: + + yarn Build --theme my-style --jq_ui_theme ui-lightness \ No newline at end of file diff --git a/docs/website/translated_docs/de/filemanager.md b/docs/website/translated_docs/de/filemanager.md new file mode 100644 index 000000000000..08caa9b8029e --- /dev/null +++ b/docs/website/translated_docs/de/filemanager.md @@ -0,0 +1,34 @@ +--- +id: filemanager +title: Responsive Filemanager +--- + +As of version 3.1.0, phpBB SiteMaker supports the [Responsive Filemanager](http://responsivefilemanager.com) + +* The file manager is used as a TinyMCE pluging (WYSIWYG editor) when editing custom blocks +* It is currently configured to creat separate folders for each user, except the user with a_sm_filemanager permission (Can see/manage other users' folders), which allows them access to view/manage all upload folders. + +## Installation + +* Download the [Responsive FileManager](http://responsivefilemanager.com/index.php#sthash.5UrnhjX2.dpbs) +* Extract it, and upload the files to your phpBB root folder. The file structure should be as below: + +```text +phpBB +├── images/ +├── includes/ +├── ... +└── ResponsiveFilemanager/ + └── filemanager/ + └── config/ + ├── .htaccess + └── config.php +``` + +## Activation + +* Go to ACP > Extensions > SiteMaker > Settings +* Enable File Manager feature +* Save changes +* Update user permissions (Misc tab) to determine who can use this feature [Can use File Manager] +* Update admin permissions (Misc tab) to determine who can manager user folders [Can see/manage other users’ folders in File Manager] \ No newline at end of file diff --git a/docs/website/translated_docs/de/installation.md b/docs/website/translated_docs/de/installation.md new file mode 100644 index 000000000000..3ac8b74ee780 --- /dev/null +++ b/docs/website/translated_docs/de/installation.md @@ -0,0 +1,18 @@ +--- +id: installieren +title: Installation / Upgrade +--- + +Die Erweiterung von [hier herunterladen](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installiere phpBB SiteMaker + +* Extrahiere und lade es in deinen phpBB/ext/ Ordner hoch, damit du phpBB/ext/blitze/sitemaker hast +* Gehen Sie zu "ACP" > "Customise" > "Erweiterungen" und aktivieren Sie die "phpBB Sitemaker" Erweiterung. + +## Aktualisiere phpBB SiteMaker + +* Erstellen Sie ein Backup Ihrer Datenbank, falls etwas schief geht +* Gehen Sie zu "ACP" > "Customise" > "Erweiterungen" und deaktivieren (nicht löschen) "phpBB Sitemaker" +* Lade die neueste Version von phpBB SiteMaker herunter und entpacke sie in deinen phpBB/ext/ Ordner (überschreiben) +* Gehen Sie zu "ACP" > "Customise" > "Erweiterungen" und aktivieren Sie die "phpBB Sitemaker" Erweiterung. \ No newline at end of file diff --git a/docs/website/translated_docs/de/introduction.md b/docs/website/translated_docs/de/introduction.md new file mode 100644 index 000000000000..ee1afb3ae7b1 --- /dev/null +++ b/docs/website/translated_docs/de/introduction.md @@ -0,0 +1,6 @@ +--- +id: einlegen +title: Einführung +--- + +phpBB SiteMaker versucht Ihr phpBB Board in ein CMS/Portal umzuwandeln. Es tut dies, indem Sie Blöcke und Menüs zur Verfügung stellen, um Ihnen zu helfen, Ihre Website nach Ihren Wünschen anzupassen. Es gibt oder wird andere SiteMaker-Erweiterungen geben, die zusätzliche Funktionalität bieten, um dieses Ziel zu erreichen. Es erlaubt Ihnen auch, eine Landingpage zu definieren, wenn Ihre Website aufgerufen wird. Wenn Sie also nicht möchten, dass Besucher Ihrer Website sofort das phpBB Forum sehen, wenn sie auf www.your-site.com gehen, können Sie Ihre eigene Startseite definieren. \ No newline at end of file diff --git a/docs/website/translated_docs/de/menus-display.md b/docs/website/translated_docs/de/menus-display.md new file mode 100644 index 000000000000..47fbcbabc687 --- /dev/null +++ b/docs/website/translated_docs/de/menus-display.md @@ -0,0 +1,18 @@ +--- +id: menügenanzeige +title: Menüs anzeigen +--- + +Jetzt, da Sie Ihre Menüs erstellt haben, können Sie sie auf mehrere Arten anzeigen: + +## Links-Block + +Sie können diesen Block verwenden, um eine flache oder verschachtelte Liste von Menüpunkten anzuzeigen. Dieser Block ist nicht für die Navigation gedacht, d.h. er zeigt keine aktuelle Seite oder ähnliches an. Es ist für eine Liste von Artikeln, einschließlich externer Links. + +## Menüs-Block + +Dieser Block ist für die Seitennavigation gedacht. Es gibt einige zusätzliche Berechnungen, um den aktuellen Standort zu ermitteln und ist nicht beabsichtigt, eine sehr große Liste zu sein. + +## Navigationsleiste + +Ähnlich dem Menus-Block zeigt die Navigationsleiste Menüeinträge als ein für die Seitennavigation geeignetes Auswahlmenü an. Sie können dies in AKP > Erweiterungen > Sitemaker > Einstellungen > Menü auswählen \ No newline at end of file diff --git a/docs/website/translated_docs/de/menus-managing-items.md b/docs/website/translated_docs/de/menus-managing-items.md new file mode 100644 index 000000000000..539a273347c4 --- /dev/null +++ b/docs/website/translated_docs/de/menus-managing-items.md @@ -0,0 +1,30 @@ +--- +id: menüs-management-items +title: Menüeinträge verwalten +--- + +Ihr Menü ist nutzlos, es sei denn, es hat Menüpunkte. Sie können Menüeinträge hinzufügen, die auf lokale oder externe Dateien verweisen. + +> Die URL für externe Seiten muss mit http(s)://, ftp://, //, etc. beginnen. +> +> Sie können einen Trenner erstellen, indem Sie '-' als Titel eingeben + +## Menüeinträge hinzufügen + +Sie können jederzeit Menüeinträge ein Element hinzufügen oder mehrere Menüeinträge hinzufügen. + +### Einzelne Menüeinträge hinzufügen + +Um ein einzelnes Menüelement hinzuzufügen, klicken Sie * auf die Schaltfläche `Menüpunkt hinzufügen` * Füllen Sie die benötigten Informationen aus und drücken Sie `Speichern` + +### Mehrere Elemente hinzufügen + +Mehrere Menüpunkte auf einmal hinzufügen * Klicken Sie auf das Symbol neben `Menüpunkt hinzufügen` * Sie können manuell Elemente hinzufügen, indem Sie jedes Element auf eine neue Zeile platzieren und die Tabulator-Elemente verwenden oder * Sie können auf eine der angebotenen Optionen am unteren Rand des Textbereichs klicken, um automatisch die Menüpunkte auszufüllen + +## Menüeinträge neu anordnen + +Sie können die Menüeinträge nach oben oder unten ziehen, um ihre Anzeigereihenfolge festzulegen, oder sie nach links/rechts ziehen, um die gewünschte Hierarchie festzulegen. + +## Menüpunkte neu aufbauen + +Wenn Sie feststellen, dass die Menüeinträge nicht korrekt angezeigt werden, klicken Sie auf die Schaltfläche `Umbau Baum` , um die Menüeinträge neu zu erstellen. \ No newline at end of file diff --git a/docs/website/translated_docs/de/menus-managing.md b/docs/website/translated_docs/de/menus-managing.md new file mode 100644 index 000000000000..b182958a1825 --- /dev/null +++ b/docs/website/translated_docs/de/menus-managing.md @@ -0,0 +1,22 @@ +--- +id: menüsverwaltung +title: Menüs verwalten +--- + +Sie können Menüs in den AKP-Ländern erstellen, die Sie dann mit Hilfe des Menüs oder der Links-Blöcke anzeigen können oder als horizontale Navigationsleiste angezeigt werden. + +## Menüs verwalten + +Um Menüs zu verwalten, gehen Sie zu AKP > Erweiterungen > Sitemaker > Menü + +### Menüs erstellen + +Um ein neues Menü (Gruppe) zu erstellen, klicken Sie auf die Schaltfläche `Menü hinzufügen`. Eine neue Menügruppe wird mit einem zufällig generierten Namen erstellt. Das neue Menü wird ebenfalls ausgewählt, damit Sie damit beginnen können, Menüpunkte hinzuzufügen. + +### Menüs bearbeiten + +Wenn Sie einen aussagekräftigeren Menünamen wollen, * schweben über dem Menünamen und klicken Sie auf das Zahnrad-Symbol * geben Sie den neuen Menünamen ein und drücken Sie Enter, um es zu aktualisieren + +### Lösche Menüs + +Um ein Menü und seine Elemente zu löschen * Schweben Sie über den Menünamen und klicken Sie auf das **x** Symbol * Wenn der Menüpunkt keine untergeordneten Elemente hat, müssen Sie Ihre Wahl bestätigen, um den Eintrag * zu löschen, wenn der Menüpunkt untergeordnete Elemente enthält, müssen Sie angeben, ob Sie nur das Element löschen und dessen Unterordner nach oben verschieben möchten oder ob Sie den gesamten Zweig löschen möchten \ No newline at end of file diff --git a/docs/website/translated_docs/de/site-block-modifiers.md b/docs/website/translated_docs/de/site-block-modifiers.md new file mode 100644 index 000000000000..f3864eba76c7 --- /dev/null +++ b/docs/website/translated_docs/de/site-block-modifiers.md @@ -0,0 +1,6 @@ +--- +id: site-block-modifiers +title: Anzeige der Blöcke anpassen +--- + +Arbeiten läuft... \ No newline at end of file diff --git a/docs/website/translated_docs/de/site-default-layout.md b/docs/website/translated_docs/de/site-default-layout.md new file mode 100644 index 000000000000..f15286177eab --- /dev/null +++ b/docs/website/translated_docs/de/site-default-layout.md @@ -0,0 +1,10 @@ +--- +id: site-default-layout +title: Standardlayout festlegen +--- + +Wenn Sie einen Block hinzufügen, wird er zu dieser speziellen Seite hinzugefügt. Es wäre daher eine mühsame Aufgabe, für alle Seiten auf Ihrer Website Blöcke zu setzen. Sie können alle gewünschten Blöcke für eine bestimmte Seite festlegen und diese Seite dann als Standardlayout festlegen. Mit anderen Worten, jede Seite, die keine eigenen Blöcke hat, wird Blöcke von dieser Seite erben. + +Um ein Standard-Layout zu setzen * Gehe zu der Seite, die du als Standard-Layout festlegen möchtest * Klicke auf `Einstellungen` in der Admin-Leiste * Klicke auf das `Set als Standard-Layout` + +Sag, wir fügen Blöcke zu einer Seite (phpBB/index.php) mit Blöcken in der Seitenleiste und Top-Positionen, zum Beispiel, und setzen Sie es als unser Standard-Layout. Dies hat die folgenden Effekte für andere Seiten: * Jede Seite, die keine eigenen Blöcke hat, erbt die Blöcke aus dem Standardlayout. Siehe [Verständnis der Blockvererbung](./blocks-inheritance.md) für Ausnahmen. * Sie können immer noch Blöcke von einem Standardlayout (index.php) erben, aber wählen Sie nicht Blöcke auf einigen Blockpositionen anzeigen oder gar keine Blöcke anzeigen. Dazu * Gehe zu der Seite, auf der du nicht möchtest, dass alle oder einige Blöcke angezeigt werden * Klicke auf `Einstellungen` in der Adminbar * Wähle `Blöcke auf dieser Seite nicht anzeigen` , wenn du keine Blöcke auf dieser Seite vererben/anzeigen möchtest oder * STRG verwenden + klicke um die Block-Positionen auszuwählen, die du nicht auf * Im `Bearbeiten-Modus`anzeigen möchtest eine Seite, die Blöcke vom Standardlayout ererbt, zeigt keine Blöcke an, gibt Ihnen die Möglichkeit, Blöcke zur Seite hinzuzufügen, wenn Sie möchten * Jede Seite, die eigene Blöcke hat, wird nicht vom Standardlayout erben \ No newline at end of file diff --git a/docs/website/translated_docs/de/site-layouts.md b/docs/website/translated_docs/de/site-layouts.md new file mode 100644 index 000000000000..9f6ba65d514b --- /dev/null +++ b/docs/website/translated_docs/de/site-layouts.md @@ -0,0 +1,20 @@ +--- +id: site-layouts +title: Layouts +--- + +"Layouts" bestimmen die verfügbaren Blockpositionen und wie sie angezeigt werden. + +## Blockpositionen + +Blockpositionen sind vordefinierte Bereiche auf Ihrer Website, in denen Blöcke existieren können. Die verfügbaren Blockpositionen werden durch den verwendeten Template-Stil bestimmt. Für Prosilver, phpBB SiteMaker enthält die folgenden Blockpositionen: * Panel: volle Breite über die obere * Seitenleiste: links/rechts je nach Layout unten * Subcontent: ähnlich der Seitenleiste nur größer * top_hor: horizontale Blöcke über die Oberseite, Flansche oberhalb der Seitenleiste/Unterinhalt abhängig vom Layout * oben: oberhalb des Hauptinhalts * Box: gleiche Breite, horizontale Blöcke unterhalb des Hauptinhalts * unten: unterhalb des Hauptinhalts: * bottom_hor: horizontale Blöcke über die Unterseite, die Seitenleiste/Unterinhalt abhängig vom Layout * Fußzeile flankieren: horizontale Blöcke in der Fußzeile Sie können weitere Blockpositionen in Ihren eigenen Stilvorlagen hinzufügen, indem Sie die entsprechenden phpBB SiteMaker Templates kopieren und ändern + +## Site-Layout + +Sie können das Layout für Ihre Site in AKP auswählen (Erweiterungen > Sitemaker > Einstellungen): * **Blog**: Unterinhalt und Seitenleiste nebeneinander nach rechts gedrückt, top_hor/botom_hor Flankeninhalt * **Heiliger Gral**: gleiche Breite Seitenleiste und Unterinhalt auf gegenüberliegenden Seiten, top_hor/botom_hor flankieren Unterinhalt * **Portal**: Sidebar auf links, Unterinhalt auf der rechten Seite top_hor/botom_hor flankieren Unterinhalt * **Portal Alt**: Unterinhalt auf links, Seitenleiste auf der rechten Seite top_hor/botom_hor flank Sidebar * **Benutzerdefiniert**: Manuell die Breite der Sidebars als px, %, em oder rem. Standardeinstellung auf 200px auf jeder Seite + +## Eigene Vorlagen/Stile + +So weit wie möglich haben wir versucht, Template-Dateien und Assets in Styles/all/ Ordner zu setzen, so dass Sie diese überschreiben können, indem Sie eine Datei mit demselben Namen unter Ihrem eigenen Template-Theme erstellen, z.B. prosilver. Wenn Sie also ändern möchten, wie ein bestimmter Block angezeigt wird oder wenn Sie Ihr eigenes Layout mit Ihren eigenen Blockpositionen erstellen möchten, müssen Sie einfach eine Datei mit dem gleichen Namen und Pfad wie das Original in Ihrem eigenen Stil erstellen. + +Wenn Sie CSS/JS-Dateien anpassen müssen, werfen Sie einen Blick auf das [Thema](./developer-theming.md). \ No newline at end of file diff --git a/docs/website/translated_docs/de/site-navbar.md b/docs/website/translated_docs/de/site-navbar.md new file mode 100644 index 000000000000..b74907abbaed --- /dev/null +++ b/docs/website/translated_docs/de/site-navbar.md @@ -0,0 +1,6 @@ +--- +id: site-navbar +title: Navigationsleiste +--- + +Siehe [angezeigte Menüs](./menus-display#navigation-bar) \ No newline at end of file diff --git a/docs/website/translated_docs/de/site-startpage.md b/docs/website/translated_docs/de/site-startpage.md new file mode 100644 index 000000000000..92e0dee08004 --- /dev/null +++ b/docs/website/translated_docs/de/site-startpage.md @@ -0,0 +1,8 @@ +--- +id: site-startpage +title: Startseite festlegen +--- + +phpBB SiteMaker ermöglicht es Ihnen, jeden Front-Controller (Seiten, auf die via app.php/...) als Standard-Startseite (die Seite, die angezeigt wird, wenn jemand Ihre Website besucht) anstelle des Board-Index zu wählen. + +Um dies zu tun: * Gehen Sie zu der Seite, die Sie als Standard-Startseite festlegen möchten * Klicken Sie auf `Einstellungen` in der Admin-Leiste. Wenn es sich um eine zuschussfähige Seite handelt, sehen Sie einen `Set als Startseite` Button * Klicken Sie auf die Startseite `` \ No newline at end of file diff --git a/docs/website/translated_docs/el/blocks-custom.md b/docs/website/translated_docs/el/blocks-custom.md new file mode 100644 index 000000000000..a3c36d7b7853 --- /dev/null +++ b/docs/website/translated_docs/el/blocks-custom.md @@ -0,0 +1,24 @@ +--- +id: προσαρμοσμένα blocks- +title: Προσαρμοσμένο Μπλοκ +--- + +Εάν τα διαθέσιμα μπλοκ δεν σας δίνουν την ελευθερία που χρειάζεστε, υπάρχει το `Προσαρμοσμένο Block` που σας επιτρέπει την ελευθερία να εμφανίζετε το δικό σας περιεχόμενο χρησιμοποιώντας BBcode ή HTML. Το μπλοκ έρχεται με έναν επεξεργαστή WYSIWYG (TinyMCE) και έναν διευθυντή σεναρίων: + +## Ο επεξεργαστής κειμένου + +- Μπορείτε να χρησιμοποιήσετε τον επεξεργαστή για να δημιουργήσετε περιεχόμενο HTML +- You can edit the source code if you need that level of control by clicking on the `Source code` icon (`<>`) in the editor +- Ο επεξεργαστής σας επιτρέπει να ανεβάσετε και να τροποποιήσετε εικόνες + - Δημιουργεί ένα νέο φάκελο στο phpBB/images/sitemaker_uploads/ για κάθε χρήστη που έχει πρόσβαση σε αυτό + - Μπορείτε να δείτε/διαχειριστείτε όλους τους φακέλους χρηστών +- Ο επεξεργαστής φιλτράρει τυχόν επικίνδυνα σενάρια όπως javascript, κλπ. Αν χρειαστεί να προσθέσετε περιεχόμενο, όπως το google διαφημίσεις, το javascript θα φιλτραριστούν, αλλά μπορείτε να πάρετε γύρω από αυτό κάνοντας τα εξής: + - Προσθέστε το προσαρμοσμένο μπλοκ στην επιθυμητή τοποθεσία + - Επεξεργαστείτε το Προσαρμοσμένο Φραγμό, κάντε κλικ στην καρτέλα `HTML` και επικολλήστε το Javascript σας + +## Ο Διαχειριστής Σεναρίων + +Το Προσαρμοσμένο Block σας επιτρέπει επίσης να προσθέσετε προσαρμοσμένα αρχεία CSS και Javascript στη σελίδα σας. Για να το κάνετε αυτό: + +- Πρόσθεσε ένα `Προσαρμοσμένο Block` σε οποιαδήποτε θέση μπλοκ. Η θέση δεν έχει σημασία αν δεν εμφανίζετε επίσης περιεχόμενο με το block +- Επεξεργασία του μπλοκ, κάντε κλικ στην καρτέλα `Σενάρια` και προσθέστε τα αρχεία CSS ή Javascript > Προσοχή όμως: Προσθέτοντας πολλά σενάρια στη σελίδα σας μπορεί να επηρεάσει τις ώρες φόρτωσης \ No newline at end of file diff --git a/docs/website/translated_docs/el/blocks-inheritance.md b/docs/website/translated_docs/el/blocks-inheritance.md new file mode 100644 index 000000000000..fbe2108ea874 --- /dev/null +++ b/docs/website/translated_docs/el/blocks-inheritance.md @@ -0,0 +1,44 @@ +--- +id: blocks-κληρονομικότητα +title: Κατανόηση Κληρονομιάς Block +--- + +Έχουμε ήδη δει ότι ορίζοντας μια προεπιλεγμένη διάταξη, άλλες σελίδες που δεν έχουν δικά τους μπλοκ θα κληρονομήσουν τα μπλοκ από την προεπιλεγμένη διάταξη. Υπάρχει, ωστόσο, ένας άλλος τύπος παρωχημένης κληρονομιάς. + +## Γονικές/Παιδικές Διαδρομές + +Στο phpBB SiteMaker, μιλάμε για ένθετες διαδρομές από την άποψη των πραγματικών ένθετων (sub) καταλόγων ή σχεδόν ένθετα μονοπάτια / διαδρομές. Παρακαλώ μείνετε μαζί μου :). * Real Parent/Child διαδρομές: Για παράδειγμα, η διαδρομή /some_directory/sub_directory/index.php είναι ένα παιδί του /some_directory/index. hp * Εικονικός Γονέας / Παιδί διαδρομές: Για παράδειγμα, το viewtopic.php αντιμετωπίζεται ως παιδί του viewforum.php. + +Εδώ είναι μερικά παραδείγματα γονέων/παιδιού διαδρομές: + +| Γονικός | Παιδί | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/my-article | + +## Κληρονομικότητα Σε Γονέα/Παιδί + +Για διαδρομές γονέας/παιδιού, η παιδική διαδρομή κληρονομεί τα μπλοκ της γονικής διαδρομής (αν ο γονέας έχει τα δικά του μπλοκ) ή από την προεπιλεγμένη διάταξη (αν έχει οριστεί κάποιο). Με άλλα λόγια, ακόμη και αν υπάρχει μια προεπιλεγμένη διάταξη, η παιδική διαδρομή θα κληρονομήσει μπλοκ από τη γονική διαδρομή αν η γονική διαδρομή έχει τα δικά της μπλοκ. Αλλά δεν πρέπει να κληρονομούνται όλα τα μπλοκ από τη γονική διαδρομή. + +## Έλεγχος Κληρονομιάς Μπλοκ + +Σε επίπεδο μπλοκ, μπορείς να ελέγξεις πότε ένα μπλοκ μπορεί να κληρονομηθεί από παιδικές διαδρομές. Το αγγίξαμε αυτό νωρίτερα στις [Ρυθμίσεις Επεξεργασίας Block](./blocks-managing#editing-block-settings). + +Εξετάστε την ακόλουθη πραγματική δομή καταλόγου: + +```text +phpBB +- index.php +- Ταινίες / + - index.php + - page.php + - Comedy/ + +``` + +Για τους σκοπούς της κληρονομίας μπλοκ, λέμε: * Η γονική διαδρομή του /phpBB/Movies/Comedy/index.php είναι /phpBB/Ταινίες/index. hp and not /phpBB/Movies/page.php * Όλες οι σελίδες σε έναν υποκατάλογο σχετικά με το /phpBB/index.php είναι μια διαδρομή για παιδί του /phpBB/index.php. Έτσι, το /phpBB/Movies/index.php και το /phpBB/Movies/page.php είναι όλα τα παιδιά του /phpBB/index.php και θα κληρονομήσει τα μπλοκ του αν δεν έχουν δικά τους μπλοκ. Σε αυτή την περίπτωση: * Όταν ένα block στο /phpBB/index. hp έχει ρυθμιστεί να εμφανίζεται στο **Απόκρυψη σε θυγατρικές διαδρομές**, το μπλοκ θα εμφανίζεται στο /phpBB/index. hp (γονική διαδρομή) αλλά όχι στις θυγατρικές διαδρομές * Όταν ένα μπλοκ στο /phpBB/index. hp έχει ρυθμιστεί να εμφανίζεται στις **Εμφάνιση μόνο σε θυγατρικές διαδρομές**, θα εμφανίζεται στο /phpBB/Movies/index.php και /phpBB/Ταινίες/σελίδα. hp (παιδικές διαδρομές), αλλά όχι στο /phpBB/index.php (γονέας), ούτε στο /phpBB/Ταινίες/Κωμωδία/δείκτη. hp (πηγαίνουμε μόνο ένα επίπεδο βαθιά) * Όταν ένα μπλοκ στο /phpBB/index. hp έχει οριστεί να εμφανίζει **πάντα** (προεπιλογή), θα εμφανιστεί στο /phpBB/index.php (μητρική), /phpBB/Ταινίες/index. hp and /phpBB/page.php (child routes) but not on /phpBB/Movies/Comedy/index.php (πηγαίνουμε μόνο ένα επίπεδο βαθιά). Σε αυτή την περίπτωση, το /phpBB/Movies/Comedy/index.php θα κληρονομήσει από την προεπιλεγμένη διαδρομή (αν υπάρχει) + +## Πιθανή Μελλοντική Κατάσταση + +Ενδιαφέρομαι πραγματικά για τα σχόλιά σας σε αυτόν τον τομέα. Οι περισσότεροι χρήστες phpBB δεν θα έχουν πραγματικούς καταλόγους όπως περιγράφεται παραπάνω. Έτσι σκέφτομαι τη χρήση της δομής που ορίζεται σε ένα μπλοκ μενού ως μια δομή εικονικού καταλόγου και να εφαρμόσει αυτή την κληρονομιά γονέας/παιδιού σε αυτό. Επίσης, σκέφτομαι να πάω πέρα από ένα επίπεδο βαθιά. Παρακαλώ επιτρέψτε μου να ξέρω αν αυτό θα είναι χρήσιμο για σας. \ No newline at end of file diff --git a/docs/website/translated_docs/el/blocks-managing.md b/docs/website/translated_docs/el/blocks-managing.md new file mode 100644 index 000000000000..79c6bcd83e76 --- /dev/null +++ b/docs/website/translated_docs/el/blocks-managing.md @@ -0,0 +1,38 @@ +--- +id: blocks-διαχείριση +title: Διαχείριση Κύβων +--- + +Για να διαχειριστείτε τα μπλοκ σε phpBB SiteMaker, πρέπει να είστε σε [Λειτουργία Επεξεργασίας](./blocks-overview#edit-mode). + +> Όταν ένα μπλοκ δεν εμφανίζει οποιοδήποτε περιεχόμενο, δεν θα εμφανίζεται, εκτός από τη λειτουργία επεξεργασίας. Με αυτόν τον τρόπο, μπορείτε είτε να του δώσετε περιεχόμενο (στην περίπτωση του Προσαρμοσμένου μπλοκ) είτε να αλλάξετε τις ρυθμίσεις του. +> +> Σε λειτουργία επεξεργασίας, τα κάπως διαφανή μπλοκ είναι μπλοκ που διαφορετικά δεν θα εμφανίζονται, αλλά εμφανίζονται μόνο επειδή είμαστε σε λειτουργία επεξεργασίας + +## Προσθήκη μπλοκ + +Μπορείτε να προσθέσετε μπλοκ σε οποιαδήποτε σελίδα με μέτωπο εκτός από τον Πίνακα Ελέγχου Χρήστη και τον Πίνακα Ελέγχου Συντονιστή. Για να προσθέσετε ένα μπλοκ, θα πρέπει να: * κάντε κλικ στο **μπλοκ** στη γραμμή διαχειριστή. Αυτό θα εμφανίσει μια λίστα με τα διαθέσιμα μπλοκ * Σύρετε και αφήστε το επιθυμητό μπλοκ σε οποιαδήποτε θέση μπλοκ + +## Επεξεργασία μπλοκ + +### Προσθήκη εικονιδίου μπλοκ + +Στα αριστερά του τίτλου μπλοκ (prosilver), υπάρχει ένα πλαίσιο για το εικονίδιο μπλοκ. Κάντε κλικ σε αυτό το πλαίσιο για να πάρετε τον επιλογέα εικονιδίων. Μπορείτε να επιλέξετε το μέγεθος του εικονιδίου, χρώμα, πλωτήρα, περιστροφή, κλπ. + +### Επεξεργασία τίτλου μπλοκ + +Τα μπλοκ phpBB SiteMaker θα έχουν προεπιλεγμένο, μεταφρασμένο τίτλο, αλλά αν ο τίτλος δεν ικανοποιεί τις ανάγκες σας, μπορείτε να τα αλλάξετε. Για να επεξεργαστείτε τον τίτλο του ταμπλό, * Κάντε κλικ στον τίτλο του ταμπλό για να πάρετε μια ενσωματωμένη φόρμα επεξεργασίας * Αλλάξτε τον τίτλο σε ό, τι θέλετε * Αφαιρέστε την εστίαση από το πεδίο ή πατήστε enter για να υποβάλετε αλλαγές + +> Ο τροποποιημένος τίτλος δεν έχει μεταφραστεί +> +> Για να επιστρέψετε στον προεπιλεγμένο τίτλο, απλά διαγράψτε τον τίτλο και πατήστε enter + +### Επεξεργασία ρυθμίσεων ταμπλό + +Όταν τοποθετείτε το ποντίκι πάνω από ένα μπλοκ, θα εμφανιστεί ένα εικονίδιο γραναζιού στα δεξιά του μπλοκ που μπορεί να χρησιμοποιηθεί για την επεξεργασία του μπλοκ. Στο διάλογο επεξεργασίας μπλοκ, μπορείτε: - Ενεργοποίηση/απενεργοποίηση μπλοκ [Status] - Επιλέξτε πότε το μπλοκ θα πρέπει/δεν θα εμφανίζεται [Display]. Αυτό ισχύει μόνο σε περιπτώσεις όπου έχετε ένθετες σελίδες (βλ. [Κατανόηση Κληρονομιάς Block](./blocks-inheritance.md)): - **Πάντα**: Να εμφανίζεται πάντα το μπλοκ - **Απόκρυψη σε θυγατρικές διαδρομές**: Να εμφανίζεται μόνο αυτό το μπλοκ στη γονική διαδρομή - **Εμφάνιση μόνο σε παιδικές διαδρομές**: Να εμφανίζεται αυτό το μπλοκ σε μια παιδική διαδρομή - Επιλέξτε ποιες ομάδες χρηστών μπορούν να δουν το μπλοκ [Προβολή από]. Χρησιμοποιήστε CTRL + κλικ για να επιλέξετε πολλαπλές ομάδες. - Ορίστε προσαρμοσμένες κλάσεις για να τροποποιήσετε την εμφάνιση του μπλοκ ή των αντικειμένων (λίστες, εικόνες, φόντο, κλπ) μέσα στο μπλοκ [CSS Class] - Εμφάνιση/απόκρυψη του τίτλου μπλοκ [Απόκρυψη τίτλου μπλοκ? - Επιλέξτε την προβολή μπλοκ [προβολή μπλοκ]. Μπορείτε να επιλέξετε μια προεπιλεγμένη προβολή μπλοκ όταν προστίθενται νέα μπλοκ σε ACP. - **Προεπιλογή / Απλό**: χρησιμοποιεί την κλάση πάνελ prosilver για να τυλίξει το μπλοκ σε ένα γεμισμένο δοχείο - **Basic**: το μπλοκ δεν περιέχει περιέκτη περιτυλίγματος - **Βαμμένο**: χρησιμοποιεί την κλάση prosilver forabg για να τυλίξει το μπλοκ σε ένα πλαίσιο - Ορισμός / Ενημέρωση συγκεκριμένων ρυθμίσεων - Εάν έχετε το ίδιο μπλοκ με τις ίδιες ρυθμίσεις σε πολλαπλές σελίδες, μπορείτε να ενημερώσετε όλα αυτά ταυτόχρονα ελέγχοντας τα **μπλοκ ενημέρωσης με παρόμοιες ρυθμίσεις** + +## Διαγραφή μπλοκ + +- Τοποθετήστε πάνω από το μπλοκ που θα θέλατε να διαγράψετε +- Κάντε κλικ στο εικονίδιο **x** και επιβεβαιώστε ότι θέλετε να διαγράψετε το μπλοκ +- Πηγαίνετε στη γραμμή διαχείρισης και κάντε κλικ στο `Αποθήκευση αλλαγών` \ No newline at end of file diff --git a/docs/website/translated_docs/el/blocks-overview.md b/docs/website/translated_docs/el/blocks-overview.md new file mode 100644 index 000000000000..47103dd967e5 --- /dev/null +++ b/docs/website/translated_docs/el/blocks-overview.md @@ -0,0 +1,10 @@ +--- +id: Επισκόπηση αποκλεισμών +title: Τι είναι τα μπλοκ? +--- + +Στην καρδιά του phpBB SiteMaker είναι η έννοια των μπλοκ. Τα μπλοκ είναι μικρά κομμάτια περιεχομένου που μπορείτε να τοποθετήσετε σε διαφορετικές προκαθορισμένες περιοχές (θέσεις μπλοκ) στον ιστότοπό σας. Τα μπλοκ συνήθως έχουν τις ρυθμίσεις που μπορείτε να ορίσετε/αλλάξετε για να ρυθμίσετε λεπτομερώς το περιεχόμενο που θέλετε να εμφανίσετε. Τα περισσότερα μπλοκ, αλλά όχι όλα, θα κάνουν ερωτήματα σε βάση δεδομένων για να πάρετε το επιθυμητό περιεχόμενο. Ας μην τρελαθούμε λοιπόν πάρα πολύ :). Για να διαχειριστείτε τα μπλοκ, θα πρέπει να μεταβείτε σε "λειτουργία επεξεργασίας". + +## Λειτουργία Επεξεργασίας + +Ενεργοποιήστε τη λειτουργία επεξεργασίας κάνοντας κλικ στο εικονίδιο του μολυβιού στην επάνω δεξιά γωνία του ιστοτόπου σας. Αυτό θα εμφανίσει τη γραμμή "Admin bar" με τα στοιχεία μενού "Blocks" και "Ρυθμίσεις". Αυτό αναφέρεται ως "κατάσταση επεξεργασίας". \ No newline at end of file diff --git a/docs/website/translated_docs/el/blocks-views.md b/docs/website/translated_docs/el/blocks-views.md new file mode 100644 index 000000000000..a219cf81c2be --- /dev/null +++ b/docs/website/translated_docs/el/blocks-views.md @@ -0,0 +1,6 @@ +--- +id: blocks-προβολές +title: Αποκλεισμός Προβολών +--- + +Εργασία σε εξέλιξη... \ No newline at end of file diff --git a/docs/website/translated_docs/el/contrib-overview.md b/docs/website/translated_docs/el/contrib-overview.md new file mode 100644 index 000000000000..a9476a8a0c1a --- /dev/null +++ b/docs/website/translated_docs/el/contrib-overview.md @@ -0,0 +1,11 @@ +--- +id: contrib-overview +title: Συμμετέχετε +--- + +Το phpBB SiteMaker είναι ένα έργο ανοιχτού κώδικα και καλωσορίζει τις ιδέες και τις συνεισφορές σας. Έτσι αισθάνεστε ελεύθεροι να συμμετάσχετε. Μπορείτε να συνεισφέρετε σε αυτό το έργο μέσω: + +* [Παροχή Υποστήριξης/Ανατροφοδότησης](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Αναφορά Σφαλμάτων](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Βοηθώντας στη μετάφραση](./contrib-translators.md) +* [Διόρθωση σφαλμάτων ή προσθήκη χαρακτηριστικών](./contrib-pull-requests.md) \ No newline at end of file diff --git a/docs/website/translated_docs/el/contrib-pull-requests.md b/docs/website/translated_docs/el/contrib-pull-requests.md new file mode 100644 index 000000000000..dbc7e2b5236f --- /dev/null +++ b/docs/website/translated_docs/el/contrib-pull-requests.md @@ -0,0 +1,76 @@ +--- +id: contrib-pull-requests +title: Υποβολή αιτήματος έλξης +sidebar_label: Αιτήσεις Λήψης +--- + +`Τραβήξτε αιτήσεις μας επιτρέπουν να πούμε σε άλλους για τις αλλαγές που έχουμε ωθήσει σε έναν κλάδο σε ένα αποθετήριο στο GitHub. Μόλις ανοίξει ένα αίτημα έλξης, μπορούμε να συζητήσουμε και να εξετάσουμε τις πιθανές αλλαγές με τους συνεργάτες μας και να προσθέσουμε υποβολές πριν οι αλλαγές μας συγχωνευθούν στον βασικό κλάδο.` [Διαβάστε περισσότερα](https://help.github.com/articles/about-pull-requests/) + +## Περονοφόρο/κλωνοποίηση + +* Δημιουργήστε ένα λογαριασμό github αν δεν έχετε ήδη έναν +* Πηγαίνετε στο https://github.com/blitze/phpBB-ext-sitemaker.git και κάντε κλικ στο "Fork" + +Κλωνοποιήστε το πιρούνι σας του αποθετηρίου: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +Από τη γραμμή εντολών πηγαίνετε στον κατάλογο sitemaker: + + cd phpBB/ext/blitze/sitemaker + + +**Ρύθμιση git:** + +Προσθέστε το όνομα χρήστη στο Git στο σύστημά σας: + + git config --global user.name "Your Name Here" + + +Προσθέστε τη διεύθυνση ηλεκτρονικού ταχυδρομείου σας στο Git στο σύστημά σας: + + git config --add user.email username@phpbb.com + + +Προσθέστε το τηλεχειριστήριο ανάντη (μπορείτε να αλλάξετε το 'upstream' σε ό,τι θέλετε): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + + +**Εγκατάσταση προμηθευτών** + + εγκατάσταση συνθέτη + + +**Εγκατάσταση πακέτων NPM** + + npm install + + +Εναλλακτικά μπορείτε να χρησιμοποιήσετε [νήματα](https://yarnpkg.com): + + εγκατάσταση νήματος + + +## Αιτήσεις Λήψης + + # Δημιουργήστε έναν νέο κλάδο για τη δυνατότητα μας & αλλάξτε σε αυτόν + git checkout -b feature/my-fancy-new-feature + + # δημιουργήστε έναν νέο κλάδο για το ζήτημα που εργαζόμαστε στο * μεταβείτε σε αυτόν (ticket # is from github tracker) + git checkout -b ticket/1234 + + +Κάντε τις αλλαγές σας + + # Στάδιο τα αρχεία + git add + + # Commit staged files - παρακαλώ χρησιμοποιήστε ένα σωστό μήνυμα υποβολής + git commit -m "το μήνυμα υποβολής μου" + + +Πιέστε τον κλάδο πίσω στο GitHub git push origin feature/my-fancy-new-feature + +Υποβάλετε [αίτηση έλξης](https://github.com/blitze/phpBB-ext-sitemaker/pulls) \ No newline at end of file diff --git a/docs/website/translated_docs/el/contrib-translators.md b/docs/website/translated_docs/el/contrib-translators.md new file mode 100644 index 000000000000..d095d17dbada --- /dev/null +++ b/docs/website/translated_docs/el/contrib-translators.md @@ -0,0 +1,17 @@ +--- +id: contrib-μεταφραστές +title: Μεταφραστές +--- + +Χρειαζόμαστε βοήθεια για τη μετάφραση αυτής της επέκτασης, καθώς και για την τεκμηρίωσή της. Έχουμε δημιουργήσει ένα έργο στο Crowdin για να διευκολύνουμε τις μεταφράσεις. Το Crowdin σας δίνει μια διεπαφή μετάφρασης που δεν είναι δεύτερη. Μπορείτε να συνεισφέρετε στο πόσο θέλετε αλλά σας συνιστούμε να χρησιμοποιήσετε το Crowdin. + +> Το Crowdin είναι μια πλατφόρμα διαχείρισης τοπικοποίησης που βοηθά τις εταιρείες να μεταφράσουν το λογισμικό τους. Μπορείτε να διαβάσετε περισσότερα για το Crowdin [εδώ](https://support.crowdin.com/crowdin-intro/) + +Αν είστε πρόθυμοι να συνεισφέρετε με μεταφράσεις, θα χρειαστείτε: + +* Ένας λογαριασμός [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker). +* Επιλέξτε τη γλώσσα-στόχο εάν υπάρχει διαφορετικά αίτημα για ενεργοποίηση. + +Εάν η επιθυμητή γλώσσα σας δεν είναι καταχωρημένη, παρακαλώ [επικοινωνήστε μαζί μου](https://crowdin.com/profile/blitze) και θα την προσθέσω. + +[Έναρξη Μετάφρασης](https://crowdin.com/project/phpbb-ext-sitemaker) \ No newline at end of file diff --git a/docs/website/translated_docs/el/developer-events.md b/docs/website/translated_docs/el/developer-events.md new file mode 100644 index 000000000000..d4831eab6246 --- /dev/null +++ b/docs/website/translated_docs/el/developer-events.md @@ -0,0 +1,120 @@ +--- +id: προγραμματιστής-εκδηλώσεις +title: Εκδηλώσεις του phpBB SiteMaker +--- + +Μπορείτε να τροποποιήσετε τη συμπεριφορά του phpBB SiteMaker χρησιμοποιώντας το σύστημα γεγονότων του phpBB. + +## Συμβάντα PHP + +# blitze.sitemaker.acp_add_bulk_menu_options + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Από: 3.1.0 +- Σκοπός: Προσθήκη μαζικών επιλογών μενού στο μενού acp + +# blitze.sitemaker.acp_display_settings_form + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Από: 3.1.0 +- Σκοπός: μορφή ρυθμίσεων acp οθόνης (sitemaker) + +# blitze.sitemaker.acp_save_settings + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Από: 3.1.0 +- Σκοπός: Αποθήκευση ρυθμίσεων acp (sitemaker) + +# blitze.sitemaker.admin_bar.set_assets + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Από: 3.0.1-RC1 +- Σκοπός: Προσθήκη στοιχείων για τα διαθέσιμα μπλοκ σε λειτουργία επεξεργασίας + +# blitze.sitemaker.modify_block_positions + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Από: 3.0.1-RC1 +- Σκοπός: Τροποποίηση θέσεων μπλοκ + +# blitze.sitemaker.modify_rendered_block + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Από: 3.0.1-RC1 +- Σκοπός: Τροποποίηση ενός αποτυπωμένου μπλοκ + +## Συμβάντα Προτύπου + +# blitze_sitemaker_acp_settings + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Από: 3.1.0 +- Σκοπός: Προσθέστε πεδία φόρμας για τις ρυθμίσεις sitemaker + +# blitze_sitemaker_admin_bar_append + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Από: 3.1.0 +- Σκοπός: Προσθήκη στοιχείων μενού στη γραμμή διαχείρισης + +# blitze_sitemaker_admin_bar_templates + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Από: 3.1.0 +- Σκοπός: Προσθήκη αρχείων προτύπου που θα χρησιμοποιηθούν στο JS για προβολές μπλοκ, κλπ + +## Συμβάντα Javascript + +# blitze_sitemaker_layout_saved + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Από: 3.1.2 +- Σκοπός: Γεγονός που επιτρέπει σε άλλες επεκτάσεις να κάνουν κάτι όταν αποθηκεύονται οι αλλαγές διάταξης + +# blitze_sitemaker_render_block_before + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Από: 3.1.2 +- Σκοπός: Το συμβάν που επιτρέπει σε άλλες επεκτάσεις να κάνουν κάτι πριν το μπλοκ αποδοθεί ή αποτρέψει την επανεμφάνιση του + +# blitze_sitemaker_render_block_after + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Από: 3.1.2 +- Σκοπός: Το συμβάν επιτρέπει σε άλλες επεκτάσεις να κάνουν κάτι μετά την απόδοση του μπλοκ + +# blitze_sitemaker_save_block_before + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Από: 3.1.2 +- Σκοπός: Γεγονός που επιτρέπει σε άλλες επεκτάσεις να τροποποιήσουν τα δεδομένα του block πριν αποθηκευτεί + +# blitze_sitemaker_show_all_block_positions + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Από: 3.1.2 +- Σκοπός: Γεγονός που επιτρέπει σε άλλες επεκτάσεις να κάνουν κάτι όταν εμφανίζονται όλες οι θέσεις μπλοκ + +# blitze_sitemaker_hide_empty_block_positions + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Από: 3.1.2 +- Σκοπός: Το συμβάν επιτρέπει σε άλλες επεκτάσεις να κάνουν κάτι όταν είναι κρυμμένες οι κενές θέσεις + +# blitze_sitemaker_layout_εκκαθαρίστηκε + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Από: 3.1.2 +- Σκοπός: Γεγονός που επιτρέπει σε άλλες επεκτάσεις να κάνουν κάτι όταν η διάταξη εκκαθαριστεί + +# blitze_sitemaker_layout_updated + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Από: 3.1.2 +- Σκοπός: Γεγονός που επιτρέπει σε άλλες επεκτάσεις να κάνουν κάτι όταν ενημερώνεται η διάταξη + +# blitze_sitemaker_tinymce_options + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Από: 3.3.0 +- Σκοπός: Γεγονός για να επιτρέψετε σε άλλες επεκτάσεις να τροποποιήσουν τις επιλογές tinymce \ No newline at end of file diff --git a/docs/website/translated_docs/el/developer-extensions.md b/docs/website/translated_docs/el/developer-extensions.md new file mode 100644 index 000000000000..330d04196cc5 --- /dev/null +++ b/docs/website/translated_docs/el/developer-extensions.md @@ -0,0 +1,177 @@ +--- +id: επεκτάσεις προγραμματιστή +title: Επέκταση phpBB SiteMaker +--- + +You can extend/modify phpBB SiteMaker using [service replacement](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [service decoration](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), and [phpBB event system](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Μπορείτε να βρείτε μια λίστα με τις υποστηριζόμενες εκδηλώσεις [εδώ](./developer-events.md). + +## Δημιουργία μπλοκ Κατασκευαστή SiteMaker + +Ένα μπλοκ phpBB SiteMaker είναι απλά μια κλάση που επεκτείνει το blitze\sitemaker\services\blocks\driver\block class και επιστρέφει έναν πίνακα από τη μέθοδο "εμφάνιση" με έναν 'τίτλο' και 'περιεχόμενο'. Όλα τα υπόλοιπα είναι στο χέρι σας. Για να γίνει το block σας αναγνωρίσιμο από το phpBB SiteMaker, θα πρέπει να του δώσετε την ετικέτα "sitemaker.block". + +Πείτε ότι έχουμε μια επέκταση με προμηθευτή/επέκταση ως μου / παράδειγμα. Για να δημιουργήσετε ένα μπλοκ που ονομάζεται "my_block" για το phpBB SiteMaker: + +- Δημιουργία φακέλου "blocks" +- Δημιουργήστε το αρχείο my_block.php στο φάκελο μπλοκ με το ακόλουθο περιεχόμενο + +```php +namespace my\example\blocks; + +χρήση blitze\sitemaker\services\blocks\driver\block; + +class my_block extends block +mptom + /** + * {@inheritdoc} + */ + public function display(array $settings, $edit_mode = false) + mptom + return array( + 'title' => 'my block title', + 'περιεχόμενο' => 'το περιεχόμενό μου', + ); + } +} +``` + +Στη συνέχεια, στο αρχείο config.yml σας, προσθέστε τα εξής: + +```yml +υπηρεσίες: + +... + + my.example.block.my_block: + class: my\example\blocks\my_block + κλήσεις: + - [set_name, [my.example.block.my_block]] + ετικέτες: + - { name: sitemaker.block } + +.... + +``` + +Σε ένα ελάχιστο ελάχιστο, αυτό είναι το μόνο που χρειάζεστε. Αν μεταβείτε σε λειτουργία επεξεργασίας, θα πρέπει να δείτε το μπλοκ που εμφανίζεται ως 'MY_EXAMPLE_BLOCK_MY_BLOCK' που μπορεί να συρθεί και να πέσει σε οποιαδήποτε θέση του μπλοκ. Αλλά αυτό το μπλοκ δεν κάνει τίποτα συναρπαστικό. Δεν έχει ρυθμίσεις και δεν μεταφράζει το όνομα του ταμπλό. Ας το κάνουμε πιο ενδιαφέρον. + +### Ρυθμίσεις Μπλοκ + +Ας τροποποιήσουμε τα blocks/my_block. hp αρχείο και να προσθέσετε μια μέθοδο "get_config" th στο επιστρέφει έναν πίνακα με τα πλήκτρα να είναι οι ρυθμίσεις μπλοκ και οι τιμές να είναι ένας πίνακας που περιγράφει τις ρυθμίσεις όπως έτσι: + +```php + /** + * @inheritdoc + */ + δημόσια συνάρτηση get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + πίνακας επιστροφής ( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false), + 'multi' => πίνακας ('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'αριθμός' => πίνακας ('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'προεπιλογή' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options'προεπιλογή' => '', 'append' => '
Εμφανίζονται μόνο όταν η επιλογή 1 είναι ενεργοποιημένη
'), + ); +} +``` + +Αυτό είναι κατασκευασμένο με τον ίδιο τρόπο που το phpBB χτίζει τη διαμόρφωση για τις ρυθμίσεις του πίνακα στα ACP. Μπορείτε να δείτε περισσότερα παραδείγματα [εδώ](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Αν θέλετε έναν προσαρμοσμένο τύπο πεδίου, μπορείτε να δείτε ένα παράδειγμα [εδώ](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) (ρύθμιση 'content_type'). + +Παρατηρήστε το 'legend1' και το 'legend2': Χρησιμοποιούνται για να διαχωρίσουν τις ρυθμίσεις σε καρτέλες. + +### Μπλοκ Ονόματος + +Η σύμβαση για τα ονόματα μπλοκ είναι ότι το όνομα της υπηρεσίας (π.χ. my.example.block. y*μπλοκ παραπάνω) θα χρησιμοποιηθεί ως κλειδί γλώσσας αντικαθιστώντας τις τελείες (.) με κάτω παύλα (*) (π.χ MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Μετάφραση + +Επίσης παρατηρήσετε ότι έχουμε πολλά κλειδιά γλώσσας που πρέπει να μεταφραστούν. Για να το κάνετε αυτό, δημιουργήστε ένα αρχείο με όνομα "blocks_admin.php" στο φάκελο γλώσσας σας. Αυτό το αρχείο θα φορτωθεί αυτόματα κατά την επεξεργασία μπλοκ και θα πρέπει να έχει μεταφράσεις για τις ρυθμίσεις μπλοκ και τα ονόματα μπλοκ. + + $lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Επιλογή 1', + 'OTHER_LANG_VAR' => 'Επιλογή 2', + 'SOME_LANG_VAR_1' => 'Ρύθμιση 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Ο Κύβος μου', + , ); + + +Επειδή το 'blocks_admin.php' φορτώνεται μόνο όταν επεξεργάζεστε μπλοκ, θα πρέπει να προσθέσετε άλλες μεταφράσεις (π.χ. αποκλείστε τον τίτλο) φορτώνοντας ένα αρχείο γλώσσας με τη μέθοδο εμφάνισης όπως αυτή `$language->add_lang('my_lang_file', 'my/example');` + +### Αποδίδοντας το μπλοκ + +Το νέο μπλοκ θα εμφανιστεί μόνο αν αποδίδει κάτι. Το μπλοκ σας μπορεί να επιστρέψει οποιαδήποτε συμβολοσειρά ως περιεχόμενο, αλλά στις περισσότερες περιπτώσεις, χρειάζεστε ένα πρότυπο για να αποδώσετε το περιεχόμενό σας. Για να εμφανίσετε το block σας χρησιμοποιώντας πρότυπα, το μπλοκ πρέπει να επιστρέψει έναν πίνακα που κρατά τα δεδομένα που θέλετε να περάσετε στο πρότυπο και πρέπει επίσης να εφαρμόσει τη μέθοδο `get_template` , όπως φαίνεται παρακάτω: + +```php + /** + * @inheritdoc + */ + δημόσια συνάρτηση get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + πίνακας επιστροφής ( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + δημόσια συνάρτηση get_ template() + { + επιστρέφει '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + εμφάνιση δημόσιας λειτουργίας (πίνακας $data, $edit_mode = false) + { + if ($edit_mode) + { + // do something only in edit mode + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'δεδομένα' => πίνακας ( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Στη συνέχεια, το αρχείο styles/all/my_block.html ή στυλ/prosilver/my_block.html μπορεί να μοιάζει κάπως έτσι: + +

Επιλέξατε: {{ some_var }}

+ + +Συνοπτικά, το ταμπλό σας πρέπει να επιστρέψει έναν πίνακα με ένα `κλειδί τίτλου` (για τον τίτλο του μπλοκ) και ένα κλειδί `περιεχομένου` (αν το μπλοκ εμφανίζει απλά μια συμβολοσειρά και δεν χρησιμοποιεί ένα πρότυπο) ή ένα κλειδί `δεδομένων` (αν το μπλοκ χρησιμοποιεί ένα πρότυπο, σε ποια περίπτωση, θα χρειαστεί επίσης να εφαρμόσετε τη μέθοδο `get_template`). + +### Αποκλεισμός Περιουσιακών Στοιχείων + +Αν το μπλοκ σας χρειάζεται να προσθέσει περιουσιακά στοιχεία (css/js) στη σελίδα, συνιστώ τη χρήση της κλάσης [util](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) του sitemaker για αυτό. Δεδομένου ότι μπορεί να υπάρχουν περισσότερες από μία περιπτώσεις του ίδιου μπλοκ στη σελίδα, ή άλλα μπλοκ μπορεί να προσθέτουν το ίδιο περιουσιακό στοιχείο, η κλάση util εξασφαλίζει ότι το περιουσιακό στοιχείο προστίθεται μόνο αυτά. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some. s', + 100 => '@my_example/assets/other. s', // ορισμός προτεραιότητας + ), + 'css' => array( + '@my_example/assets/some. ss', + ) +)); +``` + +Η κλάση util θα πρέπει, φυσικά, να προστεθεί στους ορισμούς των υπηρεσιών σας στο config.yml όπως τόσο: `- '@blitze.sitemaker. til'` και ορίστηκε στον κατασκευαστή του block's `\blitze\sitemaker\services\util $util`. + +Και αυτό είναι όλο. Είμαστε έτοιμοι! \ No newline at end of file diff --git a/docs/website/translated_docs/el/developer-theming.md b/docs/website/translated_docs/el/developer-theming.md new file mode 100644 index 000000000000..27903c763bd7 --- /dev/null +++ b/docs/website/translated_docs/el/developer-theming.md @@ -0,0 +1,55 @@ +--- +id: θεματική προγραμματιστή +title: Θέμα +--- + +phpBB SiteMaker έρχεται με στυλ και χρώματα για prosilver. Μπορείτε να αντικαταστήσετε αρχεία CSS, JS και HTML δημιουργώντας το αντίστοιχο αρχείο στο φάκελο του στυλ. + +# Δημιουργία αρχείων JS/CSS για το στυλ σας + +Σημείωση: * Για τους σκοπούς των παρακάτω οδηγιών θα υποθέσουμε ότι έχετε ένα στυλ που ονομάζεται my-style. + +Κλωνοποίηση στο phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +Από τη γραμμή εντολών πηγαίνετε στον κατάλογο sitemaker: + + cd phpBB/ext/blitze/sitemaker + + +**Εγκατάσταση προμηθευτών** + + εγκατάσταση συνθέτη + + +**Εγκατάσταση πακέτων** + +Για τις παρακάτω εντολές μπορείτε να χρησιμοποιήσετε npm ή [νήματα](https://yarnpkg.com) + + εγκατάσταση νήματος + + +**Παρακολούθηση Αλλαγών** + + έναρξη νήματος --theme my-style + + +**Δημιουργία Αλλαγών** + +* Κάντε τις αλλαγές σας σε αρχεία στο phpBB/ext/blitze/sitemaker/develop φάκελο. +* Κοιτάξτε το phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss για sass μεταβλητές + +**Κατασκευή Αντικειμένων** + + νήματα χτίζουν --θέμα my-style + + +**Ανάπτυξη** + +Τώρα μπορείτε να αντιγράψετε τα αρχεία που δημιουργούνται από το phpBB/ext/blitze/sitemaker/styles/my-style και να τα ανεβάσετε στο διακομιστή παραγωγής σας. + +> Αυτή η επέκταση χρησιμοποιεί jQuery UI για καρτέλες, διαλόγους και κουμπιά. Το προεπιλεγμένο jQuery θέμα είναι 'ομαλότητα'. Μπορείτε να χρησιμοποιήσετε ένα διαφορετικό jQuery UI θέμα που ταιριάζει καλύτερα στο θέμα σας. Μπορείτε να καθορίσετε το θέμα διεπαφής χρήστη jQuery χρησιμοποιώντας τη σημαία --jq_ui_theme. Για παράδειγμα: + + yarn build --theme my-style --jq_ui_theme ui-lightness \ No newline at end of file diff --git a/docs/website/translated_docs/el/filemanager.md b/docs/website/translated_docs/el/filemanager.md new file mode 100644 index 000000000000..08caa9b8029e --- /dev/null +++ b/docs/website/translated_docs/el/filemanager.md @@ -0,0 +1,34 @@ +--- +id: filemanager +title: Responsive Filemanager +--- + +As of version 3.1.0, phpBB SiteMaker supports the [Responsive Filemanager](http://responsivefilemanager.com) + +* The file manager is used as a TinyMCE pluging (WYSIWYG editor) when editing custom blocks +* It is currently configured to creat separate folders for each user, except the user with a_sm_filemanager permission (Can see/manage other users' folders), which allows them access to view/manage all upload folders. + +## Installation + +* Download the [Responsive FileManager](http://responsivefilemanager.com/index.php#sthash.5UrnhjX2.dpbs) +* Extract it, and upload the files to your phpBB root folder. The file structure should be as below: + +```text +phpBB +├── images/ +├── includes/ +├── ... +└── ResponsiveFilemanager/ + └── filemanager/ + └── config/ + ├── .htaccess + └── config.php +``` + +## Activation + +* Go to ACP > Extensions > SiteMaker > Settings +* Enable File Manager feature +* Save changes +* Update user permissions (Misc tab) to determine who can use this feature [Can use File Manager] +* Update admin permissions (Misc tab) to determine who can manager user folders [Can see/manage other users’ folders in File Manager] \ No newline at end of file diff --git a/docs/website/translated_docs/el/installation.md b/docs/website/translated_docs/el/installation.md new file mode 100644 index 000000000000..f369a97403dc --- /dev/null +++ b/docs/website/translated_docs/el/installation.md @@ -0,0 +1,18 @@ +--- +id: εγκατάσταση +title: Εγκατάσταση / Αναβάθμιση +--- + +Κατεβάστε την επέκταση από [εδώ](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker + +* Εξάγετε και ανεβάστε το στο φάκελο phpBB/ext/ έτσι έχετε το phpBB/ext/blitze/sitemaker +* Πηγαίνετε στο "ACP" > "Προσαρμογή" > "Επεκτάσεις" και ενεργοποιήστε την επέκταση "phpBB Sitemaker". + +## Αναβάθμιση του phpBB SiteMaker + +* Δημιουργήστε ένα αντίγραφο ασφαλείας της βάσης δεδομένων σας μόνο σε περίπτωση που κάτι πάει στραβά +* Πηγαίνετε στο "ACP" > "Προσαρμογή" > "Επεκτάσεις" και απενεργοποιήστε (μην καθαρίσετε) "phpBB Sitemaker" +* Κατεβάστε και εξαγάγετε την τελευταία έκδοση του phpBB SiteMaker και ανεβάστε το στο phpBB/ext/ φάκελο σας (αντικατάσταση) +* Πηγαίνετε στο "ACP" > "Προσαρμογή" > "Επεκτάσεις" και ενεργοποιήστε την επέκταση "phpBB Sitemaker". \ No newline at end of file diff --git a/docs/website/translated_docs/el/introduction.md b/docs/website/translated_docs/el/introduction.md new file mode 100644 index 000000000000..2923f3313b4b --- /dev/null +++ b/docs/website/translated_docs/el/introduction.md @@ -0,0 +1,6 @@ +--- +id: εισαγωγή +title: Εισαγωγή +--- + +phpBB SiteMaker επιδιώκει να μετατρέψει την πλακέτα phpBB σας σε ένα CMS/portal. Αυτό το κάνει με την παροχή σας με μπλοκ και μενού για να σας βοηθήσει να προσαρμόσετε το site σας σύμφωνα με τις προτιμήσεις σας. Υπάρχουν ή θα είναι άλλες επεκτάσεις SiteMaker που παρέχουν πρόσθετη λειτουργικότητα για την επίτευξη αυτού του στόχου. Σας επιτρέπει επίσης να ορίσετε μια σελίδα προορισμού όταν το site σας είναι προσβάσιμο. Έτσι, αν δεν θέλετε οι επισκέπτες στο site σας να δουν αμέσως το φόρουμ phpBB όταν πηγαίνουν στο www. our-site.com, μπορείτε να ορίσετε τη δική σας σελίδα έναρξης. \ No newline at end of file diff --git a/docs/website/translated_docs/el/menus-display.md b/docs/website/translated_docs/el/menus-display.md new file mode 100644 index 000000000000..7c320ccbbed2 --- /dev/null +++ b/docs/website/translated_docs/el/menus-display.md @@ -0,0 +1,18 @@ +--- +id: οθόνη μενού +title: Εμφάνιση Μενού +--- + +Τώρα που έχετε δημιουργήσει τα μενού σας, μπορείτε να τα εμφανίσετε με διάφορους τρόπους: + +## Μπλοκ Συνδέσμων + +Μπορείτε να χρησιμοποιήσετε αυτό το μπλοκ για να εμφανίσετε μια επίπεδη ή εμφωλευμένη λίστα από στοιχεία μενού. Αυτό το μπλοκ δεν προορίζεται να χρησιμοποιηθεί για πλοήγηση, δηλαδή δεν θα εμφανίζει μια τρέχουσα σελίδα ή κάτι τέτοιο. Προορίζεται για κατάλογο στοιχείων, συμπεριλαμβανομένων των εξωτερικών συνδέσμων. + +## Μπλοκ Μενού + +Αυτό το μπλοκ προορίζεται για την πλοήγηση ιστοσελίδων. Κάνει μερικές επιπλέον υπολογισμούς για να καθορίσει την τρέχουσα θέση και δεν προορίζεται να είναι μια πολύ μεγάλη λίστα. + +## Γραμμή πλοήγησης + +Παρόμοια με το μπλοκ μενού, η γραμμή πλοήγησης θα εμφανίσει τα στοιχεία μενού ως αναπτυσσόμενο μενού που ανταποκρίνεται για την πλοήγηση ιστοσελίδα. Μπορείτε να το ενεργοποιήσετε σε ACP > Επεκτάσεις > Ιδιοκτήτης> Ρυθμίσεις> Επιλογή μενού \ No newline at end of file diff --git a/docs/website/translated_docs/el/menus-managing-items.md b/docs/website/translated_docs/el/menus-managing-items.md new file mode 100644 index 000000000000..2e0565d9b6b7 --- /dev/null +++ b/docs/website/translated_docs/el/menus-managing-items.md @@ -0,0 +1,30 @@ +--- +id: menus-managing-items +title: Διαχείριση Στοιχείων Μενού +--- + +Το μενού σας είναι άχρηστο εκτός αν έχει στοιχεία μενού. Μπορείτε να προσθέσετε στοιχεία μενού που οδηγούν σε τοπικά ή εξωτερικά αρχεία. + +> Η διεύθυνση URL για τις εξωτερικές τοποθεσίες πρέπει να ξεκινά με http(s)://, ftp://, //, κλπ. +> +> Μπορείτε να δημιουργήσετε ένα διαχωριστικό εισάγοντας '-' ως τίτλο του αντικειμένου + +## Προσθήκη στοιχείων μενού + +Μπορείτε να προσθέσετε στοιχεία μενού ένα στοιχείο κάθε φορά, ή μπορείτε να προσθέσετε πολλαπλά στοιχεία μενού σε αυτά. + +### Προσθήκη στοιχείων ενός μενού + +Για να προσθέσετε ένα στοιχείο μενού, * Κάντε κλικ στο κουμπί `Προσθήκη στοιχείου μενού` * Συμπληρώστε τις απαιτούμενες πληροφορίες και πατήστε `Αποθήκευση` + +### Προσθήκη πολλαπλών στοιχείων + +Για να προσθέσετε πολλαπλά στοιχεία μενού ταυτόχρονα, * Κάντε κλικ στο εικονίδιο ▼ δίπλα στο `Προσθήκη στοιχείου Μενού` * Μπορείτε να προσθέσετε χειροκίνητα στοιχεία τοποθετώντας κάθε στοιχείο σε μια νέα γραμμή και χρησιμοποιώντας τα στοιχεία φωλιά χαρακτήρα καρτέλας ή * Μπορείτε να κάνετε κλικ σε μία από τις παρεχόμενες επιλογές στο κάτω μέρος του textarea για να συμπληρώσετε αυτόματα τα στοιχεία μενού + +## Αναδιάταξη των στοιχείων μενού + +Μπορείτε να σύρετε και να αποθέσετε τα στοιχεία μενού πάνω/κάτω για να ορίσετε την σειρά εμφάνισης τους ή να τα σύρετε αριστερά/δεξιά για να ορίσετε την επιθυμητή ιεραρχία. + +## Ανοικοδόμηση στοιχείων μενού + +Αν διαπιστώσετε ότι τα στοιχεία μενού δεν εμφανίζονται σωστά, κάντε κλικ στο κουμπί `Αναδόμηση Δέντρου` για να ξαναδημιουργήσετε τα στοιχεία του μενού. \ No newline at end of file diff --git a/docs/website/translated_docs/el/menus-managing.md b/docs/website/translated_docs/el/menus-managing.md new file mode 100644 index 000000000000..f64efdb7af36 --- /dev/null +++ b/docs/website/translated_docs/el/menus-managing.md @@ -0,0 +1,22 @@ +--- +id: μενού-διαχείριση +title: Διαχείριση Μενού +--- + +Μπορείτε να δημιουργήσετε μενού στις χώρες ΑΚΕ που μπορείτε να εμφανίσετε χρησιμοποιώντας τα μενού ή τα μπλοκ συνδέσμων ή να εμφανίζεται ως οριζόντια γραμμή πλοήγησης. + +## Διαχείριση Μενού + +Για να διαχειριστείτε τα μενού, πηγαίνετε στις ΑΚΕ > Επεκτάσεις > Ιδιοκτήτης> Μενού + +### Δημιουργία Μενού + +Για να δημιουργήσετε ένα νέο μενού (ομάδα), κάντε κλικ στο `Προσθήκη μενού`. Μια νέα ομάδα μενού θα δημιουργηθεί με ένα τυχαίο όνομα. Το νέο μενού θα επιλεγεί επίσης ώστε να μπορείτε να αρχίσετε να προσθέτετε στοιχεία μενού σε αυτό. + +### Επεξεργασία Μενού + +Αν θέλετε ένα πιο σημαντικό όνομα μενού, * τοποθετήστε το ποντίκι πάνω από το όνομα του μενού και κάντε κλικ στο εικονίδιο κώδικα * εισάγετε το νέο όνομα του μενού και πατήστε το enter για να το ενημερώσετε + +### Διαγραφή Μενού + +Για να διαγράψετε ένα μενού και τα στοιχεία του, * Hover πάνω από το όνομα του μενού και κάντε κλικ στο εικονίδιο **x** * Εάν το στοιχείο μενού δεν έχει θυγατρικά στοιχεία, θα χρειαστεί να επιβεβαιώσετε την επιλογή σας για να διαγράψετε το στοιχείο * Εάν το στοιχείο μενού έχει θυγατρικά στοιχεία, Θα χρειαστεί να υποδείξουμε αν θέλουμε να διαγράψουμε μόνο το στοιχείο και να μετακινήσουμε τα θυγατρικά του επάνω ή αν θέλουμε να διαγράψουμε ολόκληρο τον κλάδο \ No newline at end of file diff --git a/docs/website/translated_docs/el/site-block-modifiers.md b/docs/website/translated_docs/el/site-block-modifiers.md new file mode 100644 index 000000000000..bef43a4a6bb2 --- /dev/null +++ b/docs/website/translated_docs/el/site-block-modifiers.md @@ -0,0 +1,6 @@ +--- +id: τροποποιητές site-block- +title: Προσαρμογή Οθόνης Μπλοκ +--- + +Εργασία σε εξέλιξη... \ No newline at end of file diff --git a/docs/website/translated_docs/el/site-default-layout.md b/docs/website/translated_docs/el/site-default-layout.md new file mode 100644 index 000000000000..88a2dd1b26a5 --- /dev/null +++ b/docs/website/translated_docs/el/site-default-layout.md @@ -0,0 +1,10 @@ +--- +id: site-default-layout +title: Ορισμός μιας προκαθορισμένης διάταξης +--- + +Όταν προσθέτετε ένα μπλοκ, προστίθεται σε αυτή τη συγκεκριμένη σελίδα. Ως εκ τούτου, θα ήταν ένα κουραστικό καθήκον να θέσει μπλοκ για όλες τις σελίδες στην ιστοσελίδα σας. Μπορείτε να ορίσετε όλα τα επιθυμητά μπλοκ για μια συγκεκριμένη σελίδα, και στη συνέχεια να ορίσετε αυτή τη σελίδα ως την προεπιλεγμένη διάταξη. Με άλλα λόγια, οποιαδήποτε σελίδα δεν έχει δικά της μπλοκ, θα κληρονομήσει μπλοκ από αυτή τη σελίδα. + +Για να ορίσετε μια προεπιλεγμένη διάταξη * Μεταβείτε στη σελίδα που θα θέλατε να ορίσετε ως προεπιλεγμένη διάταξη * Κάντε κλικ στο `Ρυθμίσεις` στη γραμμή διαχείρισης * Κάντε κλικ στο `Ορισμός ως προεπιλεγμένη διάταξη` κουμπί + +Πείτε ότι προσθέτουμε μπλοκ σε μια σελίδα (phpBB/index.php) με μπλοκ στην πλαϊνή μπάρα και στις κορυφαίες θέσεις, για παράδειγμα, και ορίστε την ως προεπιλεγμένη διάταξη μας. Αυτό έχει τα ακόλουθα εφέ για άλλες σελίδες: * Οποιαδήποτε σελίδα που δεν έχει δικά της μπλοκ, θα κληρονομήσει τα μπλοκ από την προεπιλεγμένη διάταξη. Βλ. [Κατανόηση της Κληρονομιάς](./blocks-inheritance.md) για εξαιρέσεις. * Μπορείτε ακόμα να κληρονομήσετε μπλοκ από μια προεπιλεγμένη διάταξη (δείκτη. hp) αλλά επιλέξτε να μην εμφανίζονται μπλοκ σε κάποιες θέσεις μπλοκ ή να μην εμφανίζονται καθόλου μπλοκ. Για να το κάνετε αυτό, * Μεταβείτε στη σελίδα που δεν θέλετε να εμφανίζονται όλα/κάποια μπλοκ * Κάντε κλικ στο `Ρυθμίσεις` στη γραμμή διαχείρισης * Επιλέξτε `Μην εμφανίζετε μπλοκ σε αυτή τη σελίδα` αν δεν θέλετε να κληρονομείτε/εμφανίσετε τυχόν μπλοκ σε αυτή τη σελίδα Ή * Χρησιμοποιήστε CTRL + κάντε κλικ για να επιλέξετε τις θέσεις μπλοκ (στα δεξιά) που δεν θέλετε να εμφανίσετε μπλοκ σε * Σε `λειτουργία επεξεργασίας`, μια σελίδα που κληρονομεί μπλοκ από την προεπιλεγμένη διάταξη, δεν θα εμφανίζει μπλοκ, σας δίνει την ευκαιρία να προσθέσετε μπλοκ στη σελίδα αν θέλετε να * Οποιαδήποτε σελίδα που έχει τα δικά της μπλοκ δεν θα κληρονομήσει από την προεπιλεγμένη διάταξη \ No newline at end of file diff --git a/docs/website/translated_docs/el/site-layouts.md b/docs/website/translated_docs/el/site-layouts.md new file mode 100644 index 000000000000..43e03ceb1375 --- /dev/null +++ b/docs/website/translated_docs/el/site-layouts.md @@ -0,0 +1,20 @@ +--- +id: διατάξεις τοποθεσίας +title: Διατάξεις +--- + +"Διατάξεις" καθορίζουν τις διαθέσιμες θέσεις μπλοκ και πώς εμφανίζονται. + +## Αποκλεισμός Θέσεων + +Οι θέσεις μπλοκ είναι προκαθορισμένες περιοχές στο site σας όπου μπορεί να υπάρχουν μπλοκ. Οι διαθέσιμες θέσεις μπλοκ καθορίζονται από το στυλ προτύπου που χρησιμοποιείτε. Για prosilver, phpBB SiteMaker έρχεται με τις ακόλουθες θέσεις μπλοκ: * πίνακα: πλήρες πλάτος στην κορυφή * πλευρική μπάλα: αριστερά/δεξιά ανάλογα με τη διάταξη κάτω * υποπεριεχόμενο: παρόμοιο με την πλαϊνή μπάρα μόλις μεγαλύτερο * top_hor: οριζόντια μπλοκ σε όλη την κορυφή, flanking above sidebar/subcontent depending on layout * top: πάνω από το κύριο περιεχόμενο * κουτί: ίσο πλάτος, οριζόντια μπλοκ κάτω από το κύριο περιεχόμενο * κάτω: κάτω από το κύριο περιεχόμενο * bottom_hor: οριζόντια μπλοκ σε όλο το κάτω μέρος, flanking the sidebar/subcontent depending on layout * footer: horizontal blocks in the footer Μπορείτε να προσθέσετε περισσότερες θέσεις μπλοκ στα δικά σας πρότυπα στυλ αντιγράφοντας και τροποποιώντας τα αντίστοιχα πρότυπα του phpBB SiteMaker + +## Διάταξη Ιστοσελίδας + +Μπορείτε να επιλέξετε τη διάταξη για τον ιστότοπό σας στις χώρες ΑΚΕ (Προτάσεις > Ιδιοκτήτης> Ρυθμίσεις): * **Blog**: subcontent και sidebar ο ένας δίπλα στον άλλο, έσπρωξε προς τα δεξιά, top_hor/botom_hor flank subcontent * **Ιερό Grail**: πλευρική μπάρα ίσου πλάτους και υποπεριεκτικότητα σε αντίθετες πλευρές, top_hor/botom_hor flank subcontent * **Portal**: πλαϊνή μπάρα στα αριστερά, subcontent στα δεξιά, top_hor/botom_hor flank subcontent * **Portal Alt**: subcontent στα αριστερά, πλευρική μπάρα στα δεξιά, top_hor/botom_hor flank sidebar * **Προσαρμοσμένο**: Χειροκίνητα ρυθμίστε το πλάτος των πλαϊνών debars σε px, %, em ή rem. Προεπιλογές σε 200px σε κάθε πλευρά + +## Προσαρμοσμένα πρότυπα/στυλ + +Όσο το δυνατόν περισσότερο, προσπαθήσαμε να βάλουμε πρότυπα αρχεία και περιουσιακά στοιχεία σε στυλ/όλους/ φάκελο, έτσι ώστε να μπορείτε να τα αντικαταστήσετε δημιουργώντας ένα αρχείο με το ίδιο όνομα κάτω από το δικό σας πρότυπο θέμα e. . prosilver. Έτσι, αν θέλετε να τροποποιήσετε τον τρόπο εμφάνισης ενός συγκεκριμένου ταμπλό ή αν θέλετε να δημιουργήσετε τη δική σας διάταξη με τις δικές σας θέσεις μπλοκ, απλά πρέπει να δημιουργήσετε ένα αρχείο με το ίδιο όνομα και διαδρομή όπως το πρωτότυπο στο δικό σας στυλ. + +Αν χρειαστεί να προσαρμόσετε τα αρχεία CSS/JS, ρίξτε μια ματιά στην ενότητα [theming](./developer-theming.md). \ No newline at end of file diff --git a/docs/website/translated_docs/el/site-navbar.md b/docs/website/translated_docs/el/site-navbar.md new file mode 100644 index 000000000000..648ee32f5bd3 --- /dev/null +++ b/docs/website/translated_docs/el/site-navbar.md @@ -0,0 +1,6 @@ +--- +id: site-navbar +title: Γραμμή Πλοήγησης +--- + +Δείτε [Εμφάνιση Μενού](./menus-display#navigation-bar) \ No newline at end of file diff --git a/docs/website/translated_docs/el/site-startpage.md b/docs/website/translated_docs/el/site-startpage.md new file mode 100644 index 000000000000..9ce746d3c3d7 --- /dev/null +++ b/docs/website/translated_docs/el/site-startpage.md @@ -0,0 +1,8 @@ +--- +id: site-startpage +title: Ορισμός μιας αρχικής σελίδας +--- + +phpBB SiteMaker σας επιτρέπει να επιλέξετε οποιοδήποτε μπροστινό χειριστήριο (σελίδες προσβάσιμες μέσω app.php/... ως προεπιλεγμένη σελίδα εκκίνησης (τη σελίδα που θα εμφανίζεται όταν κάποιος επισκέπτεται τον ιστότοπό σας) αντί για το ευρετήριο του πίνακα. + +Για να το κάνετε αυτό: * Μεταβείτε στη σελίδα που θέλετε να ορίσετε ως προεπιλεγμένη σελίδα έναρξης * Κάντε κλικ στο `Ρυθμίσεις` στη γραμμή διαχείρισης. Αν είναι μια επιλέξιμη σελίδα, θα δείτε ένα `Set as start page` button * Κάντε κλικ στο `Ορισμός ως αρχική σελίδα` κουμπί \ No newline at end of file diff --git a/docs/website/translated_docs/es/blocks-custom.md b/docs/website/translated_docs/es/blocks-custom.md new file mode 100644 index 000000000000..44408d0bd3bf --- /dev/null +++ b/docs/website/translated_docs/es/blocks-custom.md @@ -0,0 +1,24 @@ +--- +id: bloques-personalizados +title: Bloque personalizado +--- + +Si los bloques disponibles no te dan la libertad que necesitas, hay el `Bloque Personalizado` que te permite la libertad de mostrar tu propio contenido usando BBcode o HTML. El bloque viene con un editor WYSIWYG (TinyMCE) y un gestor de scrips: + +## El editor + +- Puede usar el editor para crear contenido HTML +- Puede editar el código fuente si necesita ese nivel de control haciendo clic en el icono `Código fuente` (`<>`) en el editor +- El editor le permite subir y modificar imágenes + - Crea una nueva carpeta en phpBB/images/sitemaker_uploads/ para cada usuario que tenga acceso a ella + - Puede ver/administrar todas las carpetas de usuario +- El editor filtra cualquier script potencialmente peligroso como javascript, etc. Si necesitas añadir contenido como anuncios de google, el javascript será filtrado, pero puedes evitarlo haciendo lo siguiente: + - Añadir el bloque personalizado a la ubicación deseada + - Editar el bloque personalizado, haga clic en la pestaña `HTML` y pegue su Javascript + +## El Administrador de Scripts + +El Bloque Personalizado también le permite añadir archivos CSS y Javascript personalizados a su página. Para hacer esto: + +- Añade un `bloque personalizado` a cualquier posición de bloque. La posición no importa a menos que también muestre contenido con el bloque +- Editar el bloque, haga clic en la pestaña `Scripts` y añada sus archivos CSS o Javascript > Palabra de precaución: Añadir a muchos scripts en su página puede afectar a los tiempos de carga \ No newline at end of file diff --git a/docs/website/translated_docs/es/blocks-inheritance.md b/docs/website/translated_docs/es/blocks-inheritance.md new file mode 100644 index 000000000000..8d45ad75f4fc --- /dev/null +++ b/docs/website/translated_docs/es/blocks-inheritance.md @@ -0,0 +1,44 @@ +--- +id: bloques-herencia +title: Entender Herencia de Bloques +--- + +Ya hemos visto que al establecer un diseño predeterminado, otras páginas que no tienen bloques propios heredarán los bloques del diseño predeterminado. Sin embargo, existe otro tipo de herencia de bloques. + +## Rutas padre/hijo + +En phpBB SiteMaker, hablamos de rutas anidadas en términos de directorios anidados reales (sub) o rutas/rutas virtualmente anidadas. Por favor, manténgase conmigo :). * Rutas padres/hijos reales: Por ejemplo, la ruta /some_directory/sub_directory/index.php es un hijo de /some_directory/index.php * Rutas padres/hijos virtuales: Por ejemplo, viewtopic.php es tratado como un hijo de viewforum.php. + +Aquí hay algunos ejemplos de rutas padre/hijo: + +| Padre | Niño | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/artículos | /app.php/articles/my-article | + +## Herencia del bloque padre/hijo + +Para las rutas padre/hijo, la ruta hijo hereda los bloques de la ruta padre (si el padre tiene sus propios bloques) o del diseño predeterminado (si se ha establecido uno). En otras palabras, incluso si hay un diseño predeterminado, la ruta hijo heredará bloques de su ruta padre si la ruta padre tiene sus propios bloques. Pero no todos los bloques de la ruta padre deben ser heredados. + +## Controlando Herencia de Bloques + +A nivel de bloque, puede controlar cuándo un bloque puede ser heredado por rutas hijo. Hemos tocado esto antes en [Editando ajustes de bloques](./blocks-managing#editing-block-settings). + +Considere la siguiente estructura real de directorios: + +```text +phpBB +► index.php +✫ :/★ Movies/ + ► 4b4bindex.php + ► page.php + → Comedy/ + → → index.php +``` + +Para los propósitos de heredar bloques, decimos: * La ruta padre de /phpBB/Movies/Comedy/index.php es /phpBB/Movies/index.php y no /phpBB/Movies/page.php * Todas las páginas en un subdirectorio relativo a /phpBB/index.php es una ruta hijo de /phpBB/index.php. Así que /phpBB/Movies/index.php y /phpBB/Movies/page.php son todos hijos de /phpBB/index.php y por lo tanto heredarán sus bloques si no tienen bloques propios. En este caso: * Cuando un bloque en /phpBB/index. hp está configurado para mostrar en **Ocultar en rutas secundarias**, el bloque se mostrará en /phpBB/index. hp (ruta padre) pero no en sus rutas hijo * Cuando un bloque en /phpBB/index. hp está configurado para mostrar en **Mostrar en rutas secundarias sólo**, se mostrará en /phpBB/Movies/index.php y /phpBB/Movies/page. hp (rutas hijas) pero no en /phpBB/index.php (padre), ni /phpBB/Movies/Comedy/index. hp (sólo vamos un nivel de profundidad) * Cuando un bloque en /phpBB/index. hp está configurado para mostrar **siempre** (por defecto), se mostrará en /phpBB/index.php (padre), /phpBB/Movies/index. hp y /phpBB/page.php (rutas hijas) pero no en /phpBB/Movies/Comedy/index.php (sólo vamos un nivel de profundidad). En este caso, /phpBB/Movies/Comedy/index.php heredará de la ruta predeterminada (si existe) + +## Posible Estado futuro + +Estoy muy interesado en sus comentarios en este área. La mayoría de los usuarios de phpBB no tendrán directorios reales como se describe anteriormente. Así que estoy pensando en usar la estructura que se define en un bloque de menú como una estructura de directorios virtual y aplicar esta herencia padre/hijo a ella. También estoy considerando ir más allá de un nivel profundo. Por favor, háganme saber si esto le será útil. \ No newline at end of file diff --git a/docs/website/translated_docs/es/blocks-managing.md b/docs/website/translated_docs/es/blocks-managing.md new file mode 100644 index 000000000000..09f5dfc480a7 --- /dev/null +++ b/docs/website/translated_docs/es/blocks-managing.md @@ -0,0 +1,38 @@ +--- +id: gestión de bloques +title: Gestión de Bloques +--- + +Para administrar bloques en phpBB SiteMaker, debes estar en [Edit Mode](./blocks-overview#edit-mode). + +> Cuando un bloque no muestre ningún contenido, no se mostrará, excepto en modo edición. De esta forma, puede darle contenido (en el caso del bloque personalizado) o cambiar sus ajustes. +> +> En modo de edición, los bloques algo transparentes son bloques que de lo contrario no se mostrarán, pero sólo se mostrarán porque estamos en modo edición + +## Agregando bloques + +Puede agregar bloques a cualquier página de cara frontal, excepto las páginas del Panel de Control del Usuario y del Panel de Control del Moderador. Para añadir un bloque, necesitarás: * hacer clic en **Bloques** en la barra de administración. Esto mostrará una lista de bloques disponibles * Arrastra y suelta el bloque deseado a cualquier posición de bloque + +## Editando bloques + +### Agregando un icono de bloque + +A la izquierda del título del bloque (prosilver), hay una caja para el icono del bloque. Haga clic en este cuadro para obtener el selector de iconos. Puede seleccionar el tamaño del icono, color, flotante, rotación, etc. + +### Editando el título del bloque + +Los bloques phpBB SiteMaker tendrán un título por defecto, traducido pero si el título no satisface sus necesidades, puede cambiarlo. Para editar el título del bloque, * Haz clic en el título del bloque para obtener un formulario de edición en línea * Cambia el título a lo que quieras * Quitar el foco del campo o pulsa Intro para enviar cambios + +> El título del bloque modificado no está traducido +> +> Para volver al título por defecto, basta con borrar el título y pulsar enter + +### Editando ajustes de bloque + +Cuando se pasa sobre un bloque, un icono de cog aparecerá a la derecha del bloque que se puede utilizar para editar el bloque. En el diálogo de edición de bloque, puede: - Activar/desactivar un bloque [Status] - Elegir cuándo el bloque debe o no ser mostrado [Display]. Esto sólo se aplica en los casos en los que ha anidado páginas (véase [Entendiendo herencia del bloque](./blocks-inheritance.md)): - **Siempre**: Mostrar siempre el bloque - **Ocultar en las rutas secundarias**: Mostrar sólo este bloque en la ruta padre - **Mostrar en las rutas secundarias sólo**: Mostrar este bloque en una ruta secundaria - Elegir qué grupos de usuarios pueden ver el bloque [Visible por]. Utilice CTRL + clic para seleccionar varios grupos. - Establecer clases personalizadas para modificar la apariencia del bloque o elementos (listas, imágenes, fondo, etc) dentro del bloque [Clase CSS] - Mostrar/ocultar el título del bloque [Ocultar título del bloque?] - Seleccione la vista de bloque [Vista de bloque]. Puede seleccionar una vista de bloque por defecto cuando se agregan nuevos bloques en ACP. - **Predeterminado / Simple**: utiliza la clase del panel de prosilver para envolver el bloque en un contenedor acolchado - **Basic**: el bloque no tiene ningún contenedor envuelto - **Boxed**: utiliza la clase forabg de prosilver para envolver el bloque en una caja - Establecer / Actualizar configuración específica - Si tienes el mismo bloque con la misma configuración a través de múltiples páginas, puedes actualizarlos todos a la vez revisando los bloques de actualización **con configuraciones similares** + +## Eliminando bloques + +- Pasa por encima del bloque que te gustaría eliminar +- Haga clic en el icono **x** y confirme que desea eliminar el bloque +- Sube a la barra de administración y haz clic en `Guardar Cambios` \ No newline at end of file diff --git a/docs/website/translated_docs/es/blocks-overview.md b/docs/website/translated_docs/es/blocks-overview.md new file mode 100644 index 000000000000..60c703c8f9a6 --- /dev/null +++ b/docs/website/translated_docs/es/blocks-overview.md @@ -0,0 +1,10 @@ +--- +id: resumen de bloques +title: '¿Qué son los bloques?' +--- + +En el corazón de phpBB SiteMaker es el concepto de bloques. Los bloques son pequeñas piezas de contenido que puedes colocar en diferentes áreas predefinidas (posiciones de bloque) en tu sitio. Los bloques normalmente tendrán ajustes que puedes configurar/cambiar para afinar el contenido que desees mostrar. La mayoría de los bloques, pero no todos, harán consultas de base de datos para obtener el contenido deseado. Así que no nos volvamos locos :). Para administrar bloques, necesitarás cambiar a "modo de edición". + +## Editar modo + +Cambia a modo de edición haciendo clic en el icono del lápiz en la parte superior derecha de tu sitio. Esto mostrará la "barra de administración" con los elementos del menú "Bloques" y "Ajustes". Esto se denomina "modo edición". \ No newline at end of file diff --git a/docs/website/translated_docs/es/blocks-views.md b/docs/website/translated_docs/es/blocks-views.md new file mode 100644 index 000000000000..d9cd013156b9 --- /dev/null +++ b/docs/website/translated_docs/es/blocks-views.md @@ -0,0 +1,6 @@ +--- +id: vistas-de-bloques +title: Bloquear vistas +--- + +Trabajo en curso... \ No newline at end of file diff --git a/docs/website/translated_docs/es/contrib-overview.md b/docs/website/translated_docs/es/contrib-overview.md new file mode 100644 index 000000000000..c3effe02c598 --- /dev/null +++ b/docs/website/translated_docs/es/contrib-overview.md @@ -0,0 +1,11 @@ +--- +id: resumen-contrib +title: Involúcrate +--- + +phpBB SiteMaker es un proyecto de código abierto y da la bienvenida a sus ideas y contribuciones. Así que siéntase libre de participar. Puedes contribuir a este proyecto por: + +* [Proporcionando soporte/comentarios](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Reportando errores](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Ayudando con la traducción](./contrib-translators.md) +* [Arreglando errores o añadiendo características](./contrib-pull-requests.md) \ No newline at end of file diff --git a/docs/website/translated_docs/es/contrib-pull-requests.md b/docs/website/translated_docs/es/contrib-pull-requests.md new file mode 100644 index 000000000000..2751e6ccb662 --- /dev/null +++ b/docs/website/translated_docs/es/contrib-pull-requests.md @@ -0,0 +1,76 @@ +--- +id: contrib-pull-requests +title: Enviando una Pull Request +sidebar_label: Pull Requests +--- + +`Las solicitudes de Pull te permiten informar a otros sobre los cambios que has empujado a una rama en un repositorio en GitHub. Una vez que se abre una pull request, puedes discutir y revisar los cambios potenciales con colaboradores y añadir confirmaciones de seguimiento antes de que tus cambios se fusionen en la rama base.` [Leer más](https://help.github.com/articles/about-pull-requests/) + +## Forking/Cloning + +* Crea una cuenta github si no tienes una +* Vaya a https://github.com/blitze/phpBB-ext-sitemaker.git y haga clic en "Fork" + +Clonar el fork del repositorio: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +Desde la línea de comandos ir al directorio sitemaker: + + cd phpBB/ext/blitze/sitemaker + + +**Configurar git:** + +Añade tu nombre de usuario a Git en tu sistema: + + git config --global user.name "Tu nombre aquí" + + +Añade tu dirección de correo electrónico a Git en tu sistema: + + git config --add user.email username@phpbb.com + + +Agrega el mando principal (puedes cambiar 'upstream' a lo que quieras): + + git remoto añadir git://github.com/blitze/phpBB-ext-sitemaker.git + + +**Instalar vendedores** + + instalación del compositor + + +**Instalar paquetes NPM** + + instalar npm + + +Alternativamente puedes usar [yarn](https://yarnpkg.com): + + instalación de yarn + + +## Pull Requests + + # Crear una nueva rama para su característica & cambiar a ella + git checkout -b feature/my-fancy-new-feature + + # crear una nueva rama para el problema en el que está trabajando * cambiar a ella (ticket # es de github tracker) + git checkout -b ticket/1234 + + +Haz tus cambios + + # Etapa de los archivos + git add + + # Commit staged files - por favor use un mensaje de confirmación correcto + git commit -m "mi mensaje de confirmación" + + +Devuelve la rama a GitHub git función de origen push/mi-característica-nueva-elegante + +Enviar una pull-request [](https://github.com/blitze/phpBB-ext-sitemaker/pulls) \ No newline at end of file diff --git a/docs/website/translated_docs/es/contrib-translators.md b/docs/website/translated_docs/es/contrib-translators.md new file mode 100644 index 000000000000..f791c2b5492d --- /dev/null +++ b/docs/website/translated_docs/es/contrib-translators.md @@ -0,0 +1,17 @@ +--- +id: contrib-traductores +title: Traductores +--- + +Necesitamos ayudar a traducir esta extensión, así como su documentación. Hemos creado un proyecto en Crowdin para facilitar las traducciones. Crowdin te da una interfaz de traducción que no es la segunda. Puedes contribuir a lo que quieras pero recomendamos usar Crowdin. + +> Crowdin es una plataforma de administración de localización que ayuda a las empresas a traducir su software. Puedes leer más sobre Crowdin [aquí](https://support.crowdin.com/crowdin-intro/) + +Si quieres contribuir con las traducciones, necesitarás: + +* Una cuenta [de crowdin](https://crowdin.com/project/phpbb-ext-sitemaker). +* Elija el idioma de destino si existe de otro modo la solicitud para ser habilitada. + +Si el idioma deseado no está en la lista, por favor [póngase en contacto conmigo](https://crowdin.com/profile/blitze) y lo añadiré. + +[Empezar a traducir](https://crowdin.com/project/phpbb-ext-sitemaker) \ No newline at end of file diff --git a/docs/website/translated_docs/es/developer-events.md b/docs/website/translated_docs/es/developer-events.md new file mode 100644 index 000000000000..ed1bf5e25db5 --- /dev/null +++ b/docs/website/translated_docs/es/developer-events.md @@ -0,0 +1,120 @@ +--- +id: eventos-de-desarrollador +title: phpBB Eventos de SiteMaker +--- + +Puede modificar el comportamiento de phpBB SiteMaker usando el sistema de eventos de phpBB. + +## Eventos PHP + +# blitze.sitemaker.acp_add_bulk_menu_options + +- Ubicación: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Desde: 3.1.0 +- Propósito: Agrega opciones de menú a granel en el menú acp + +# blitze.sitemaker.acp_display_settings_form + +- Ubicación: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Desde: 3.1.0 +- Propósito: formulario de configuración de acp (sitemaker) + +# blitze.sitemaker.acp_save_settings + +- Ubicación: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Desde: 3.1.0 +- Propósito: Guardar ajustes de acp (sitemaker) + +# blitze.sitemaker.admin_bar.set_assets + +- Ubicación: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Desde: 3.0.1-RC1 +- Propósito: Agregar activos para bloques disponibles en modo edición + +# blitze.sitemaker.modify_block_positions + +- Ubicación: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Desde: 3.0.1-RC1 +- Propósito: Modificar posiciones de bloque + +# blitze.sitemaker.modify_rendered_block + +- Ubicación: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Desde: 3.0.1-RC1 +- Propósito: Modifica un bloque procesado + +## Eventos de Plantilla + +# propiedades + +- Ubicación: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Desde: 3.1.0 +- Propósito: Agregar campos de formulario para la configuración del sitemaker + +# añadir + +- Ubicación: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Desde: 3.1.0 +- Propósito: Añadir elementos de menú a la barra de administración + +# plantillas de la barra de administración + +- Ubicación: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Desde: 3.1.0 +- Propósito: Añadir archivos de plantilla a ser usados en JS para vistas de bloques, etc + +## Eventos Javascript + +# mapa de sitio guardado + +- Ubicación: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Desde: 3.1.2 +- Propósito: Evento para permitir que otras extensiones hagan algo cuando se guardan los cambios de diseño + +# blitze_sitemaker_render_block_before + +- Ubicación: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Desde: 3.1.2 +- Propósito: Evento para permitir que otras extensiones hagan algo antes de que el bloque sea procesado o para evitar que se vuelva a procesar + +# %s + +- Ubicación: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Desde: 3.1.2 +- Propósito: Evento para permitir que otras extensiones hagan algo después de que el bloque sea procesado + +# guardar bloque antes + +- Ubicación: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Desde: 3.1.2 +- Propósito: Evento para permitir que otras extensiones modifiquen los datos del bloque antes de ser guardado + +# mostrar todas las posiciones de bloque + +- Ubicación: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Desde: 3.1.2 +- Propósito: Evento para permitir que otras extensiones hagan algo cuando se muestren todas las posiciones de bloque + +# ocultar posiciones de bloque vacías + +- Ubicación: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Desde: 3.1.2 +- Propósito: Evento para permitir que otras extensiones hagan algo cuando las posiciones vacías estén ocultas + +# borrado + +- Ubicación: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Desde: 3.1.2 +- Propósito: Evento para permitir que otras extensiones hagan algo cuando el diseño sea borrado + +# blitze_sitemaker_layout_updated + +- Ubicación: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Desde: 3.1.2 +- Propósito: Evento para permitir que otras extensiones hagan algo cuando se actualiza el diseño + +# opciones de creación de sitios + +- Ubicación: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Desde: 3.3.0 +- Propósito: Evento para permitir que otras extensiones modifiquen las opciones de tinymce \ No newline at end of file diff --git a/docs/website/translated_docs/es/developer-extensions.md b/docs/website/translated_docs/es/developer-extensions.md new file mode 100644 index 000000000000..888e30ed97a3 --- /dev/null +++ b/docs/website/translated_docs/es/developer-extensions.md @@ -0,0 +1,177 @@ +--- +id: extensiones-de-desarrollador +title: Extendiendo phpBB SiteMaker +--- + +Puedes extender/modificar phpBB SiteMaker usando [service replacement](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [service decoration](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), y [phpBB's event system](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Puedes encontrar una lista de eventos soportados [aquí](./developer-events.md). + +## Creando un bloque de SiteMaker + +Un bloque phpBB SiteMaker es simplemente una clase que extiende el blitze\sitemaker\services\blocks\driver\block class y devuelve una matriz del método "display" con un 'title' y 'content'. Todo lo demás intermedio depende de usted. Para hacer que su bloque sea detectable por phpBB SiteMaker, necesitará darle la etiqueta "sitemaker.block". + +Digamos que tenemos una extensión con el proveedor/extensión como mi/ejemplo. Para crear un bloque llamado "my_block" para phpBB SiteMaker: + +- Crear una carpeta "bloques" +- Crear archivo my_block.php en la carpeta de bloques con el siguiente contenido + +```php +my\example\blocks; + +use blitze\sitemaker\services\blocks\driver\block; + +class my_block extends block +{ + /** + * {@inheritdoc} + */ + public function display(array $settings, $edit_mode = false) + { + return array( + 'title' => 'mi título de bloque', + 'content' => 'mi contenido de bloqueo', + ); + } +} +``` + +Luego en tu archivo config.yml, añade lo siguiente: + +```yml +servicios: + + ... + + my.example.block.my_block: + class: my\example\blocks\my_block + calls: + - [set_name, [my.example.block.my_block]] + tags: + - { name: sitemaker.block } + + .... + +``` + +Como mínimo, eso es todo lo que necesitas. Si entras en modo de edición, deberías ver el bloque listado como 'MY_EXAMPLE_BLOCK_MY_BLOCK' que se puede arrastrar y soltar en cualquier posición de bloque. Pero este bloque no hace nada emocionante. No tiene ajustes y no traduce el nombre del bloque. Hagámoslo más interesante. + +### Bloquear ajustes + +Vamos a modificar nuestros bloques/my_block. archivo hp y añadir un método "get_config" devuelve una matriz en la que las claves son la configuración de bloque y los valores son una matriz que describe la configuración así: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + array de retorno( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explicar' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explicar' => false, 'predeterminado' => 'tema'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explicar' => falso), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explicar' => false), + 'legend2' => 'TAB2', + 'número' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explicar' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'tipo' => 'textarea:3:40', 'maxlength' => 2, 'explicar' => true, 'default' => ''), + 'activar' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Mostrar sólo cuando la opción 1 está seleccionada
'), + ); +} +``` + +Esto se construye de la misma manera que phpBB construye la configuración para la configuración del tablero en ACP. Puedes ver más ejemplos [aquí](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Si desea un tipo de campo personalizado, puede ver un ejemplo [aquí](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' setting). + +Aviso 'leyenda 1' y 'leyenda2': Estos se usan para separar los ajustes en pestañas. + +### Nombrar bloques + +La convención para nombres de bloque es que el nombre del servicio (por ejemplo, my.example.block. y el bloque*de arriba) se utilizará como la clave de idioma reemplazando los puntos (.) con guión bajo (*) (por ejemplo, MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Traducción + +Tenga en cuenta que tenemos varias claves de idioma que necesitan ser traducidas. Para hacer esto, cree un archivo llamado "blocks_admin.php" en su carpeta de idioma. Este archivo se cargará automáticamente al editar bloques, y debería tener traducciones para la configuración de bloques y nombres de bloques. + + $lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Option 1', + 'OTHER_LANG_VAR' => 'Option 2', + 'SOME_LANG_VAR_1' => 'Setting 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Mi Bloque', + ); + + +Debido a que 'blocks_admin.php' sólo se carga al editar bloques, necesitarás añadir otras traducciones (por ejemplo, título de bloque) cargando un archivo de idioma en tu método de visualización como `$language->add_lang('mi_lang_file', 'mi/ejemplo');` + +### Renderizando el bloque + +El nuevo bloque sólo se mostrará si está renderizando algo. Tu bloque puede devolver cualquier cadena como contenido pero en la mayoría de los casos, necesitas una plantilla para renderizar tu contenido. Para renderizar tu bloque usando plantillas, el bloque debe retornar un array que contenga los datos que desea pasar a la plantilla y también debe implementar el método `get_template` como se demuestra a continuación: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + array de retorno( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explicar' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // hacer algo sólo en modo edición + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Entonces tu archivo styles/all/my_block.html o styles/prosilver/my_block.html podría verse algo así: + +

Has seleccionado: {{ some_var }}

+ + +En resumen, tu bloque debe devolver un array con una clave de `título` (para el título del bloque) y una clave de `contenido` (si el bloque solo muestra una cadena y no utiliza una plantilla) o una clave de `datos` (si el bloque usa una plantilla, en tal caso, también necesitará implementar el método `get_template`. + +### Bloquear activos + +Si tu bloque necesita añadir recursos (css/js) a la página, recomiendo usar la clase utilitario [del sitemaker](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) para eso. Ya que puede haber más de una instancia del mismo bloque en la página, u otros bloques podrían estar añadiendo el mismo activo, la clase util asegura que el activo sólo se añade uno. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/algunos. s', + 100 => '@mi_ejemplo/activos/otro. s', // establecer prioridad + ), + 'css' => array( + '@my_example/assets/algunos. ss', + ) +)); +``` + +Por supuesto, la clase util tendrá que ser añadida a sus definiciones de servicio en config.yml así: `- '@blitze.sitemaker. til'` y definido en el constructor de tu bloque `\blitze\sitemaker\services\util $util`. + +Y eso es todo. ¡Hemos terminado! \ No newline at end of file diff --git a/docs/website/translated_docs/es/developer-theming.md b/docs/website/translated_docs/es/developer-theming.md new file mode 100644 index 000000000000..d1f1cb83b452 --- /dev/null +++ b/docs/website/translated_docs/es/developer-theming.md @@ -0,0 +1,55 @@ +--- +id: tema-de-desarrollador +title: Tema +--- + +phpBB SiteMaker viene con estilos y colores hechos para prosilver. Puede sobrescribir archivos CSS, JS y HTML creando el archivo correspondiente en la carpeta de su estilo. + +# Creando archivos JS/CSS para tu estilo + +Nota: * Para el propósito de las siguientes instrucciones asumiremos que tiene un estilo llamado mi-estilo. + +Clonar en phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +Desde la línea de comandos ir al directorio sitemaker: + + cd phpBB/ext/blitze/sitemaker + + +**Instalar vendedores** + + instalación del compositor + + +**Instalar paquetes** + +Para los siguientes comandos puedes usar npm o [yarn](https://yarnpkg.com) + + instalación de yarn + + +**Ver cambios** + + inicio de yarn --theme my-style + + +**Hacer cambios** + +* Haga sus cambios a los archivos en la carpeta phpBB/ext/blitze/sitemaker/develop. +* Mira phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss para las variables de savss + +**Construir Equipos** + + yarn build --theme my-style + + +**Desplegar** + +Ahora puede copiar los archivos generados desde phpBB/ext/blitze/sitemaker/styles/my-style y subirlos a su servidor de producción. + +> Esta extensión usa la interfaz de usuario jQuery para pestañas, diálogos y botones. El tema jQuery por defecto es 'suavidad.' Puedes usar un tema diferente de la interfaz de usuario jQuery que mejor se adapte a tu tema. Puede especificar el tema de la interfaz de usuario jQuery usando el parámetro --jq_ui_theme. Por ejemplo: + + yarn build --theme my-style --jq_ui_theme ui-lightness \ No newline at end of file diff --git a/docs/website/translated_docs/es/filemanager.md b/docs/website/translated_docs/es/filemanager.md new file mode 100644 index 000000000000..08caa9b8029e --- /dev/null +++ b/docs/website/translated_docs/es/filemanager.md @@ -0,0 +1,34 @@ +--- +id: filemanager +title: Responsive Filemanager +--- + +As of version 3.1.0, phpBB SiteMaker supports the [Responsive Filemanager](http://responsivefilemanager.com) + +* The file manager is used as a TinyMCE pluging (WYSIWYG editor) when editing custom blocks +* It is currently configured to creat separate folders for each user, except the user with a_sm_filemanager permission (Can see/manage other users' folders), which allows them access to view/manage all upload folders. + +## Installation + +* Download the [Responsive FileManager](http://responsivefilemanager.com/index.php#sthash.5UrnhjX2.dpbs) +* Extract it, and upload the files to your phpBB root folder. The file structure should be as below: + +```text +phpBB +├── images/ +├── includes/ +├── ... +└── ResponsiveFilemanager/ + └── filemanager/ + └── config/ + ├── .htaccess + └── config.php +``` + +## Activation + +* Go to ACP > Extensions > SiteMaker > Settings +* Enable File Manager feature +* Save changes +* Update user permissions (Misc tab) to determine who can use this feature [Can use File Manager] +* Update admin permissions (Misc tab) to determine who can manager user folders [Can see/manage other users’ folders in File Manager] \ No newline at end of file diff --git a/docs/website/translated_docs/es/installation.md b/docs/website/translated_docs/es/installation.md new file mode 100644 index 000000000000..d0be92df7851 --- /dev/null +++ b/docs/website/translated_docs/es/installation.md @@ -0,0 +1,18 @@ +--- +id: instalación +title: Instalando / Actualizando +--- + +Descarga la extensión de [aquí](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Instalando phpBB SiteMaker + +* Extraer y subirlo a su carpeta phpBB/ext/ para que tenga phpBB/ext/blitze/sitemaker +* Vaya a "ACP" > "Personalizar" > "Extensiones" y habilite la extensión "phpBB Sitemaker". + +## Actualizando phpBB SiteMaker + +* Crear una copia de seguridad de su base de datos sólo en caso de que algo vaya mal +* Ir a "ACP" > "Personalizar" > "Extensiones" y desactivar (no purgar) "phpBB Sitemaker" +* Descargar y extraer la última versión de phpBB SiteMaker y subirla a su carpeta phpBB/ext/ (sobrescribir) +* Vaya a "ACP" > "Personalizar" > "Extensiones" y habilite la extensión "phpBB Sitemaker". \ No newline at end of file diff --git a/docs/website/translated_docs/es/introduction.md b/docs/website/translated_docs/es/introduction.md new file mode 100644 index 000000000000..77765099aa7d --- /dev/null +++ b/docs/website/translated_docs/es/introduction.md @@ -0,0 +1,6 @@ +--- +id: introducción +title: Introducción +--- + +phpBB SiteMaker busca transformar su tabla phpBB en un CMS/portal. Lo hace proporcionando bloques y menús para ayudarle a personalizar su sitio a su gusto. Hay o habrá otras extensiones de SiteMaker que proporcionan funcionalidad adicional para alcanzar este objetivo. También le permite definir una página de inicio cuando se accede a su sitio. Así que si no desea que los visitantes a su sitio vean inmediatamente el foro phpBB cuando vayan a www.your-site.com, puede definir su propia página de inicio. \ No newline at end of file diff --git a/docs/website/translated_docs/es/menus-display.md b/docs/website/translated_docs/es/menus-display.md new file mode 100644 index 000000000000..e635e079b803 --- /dev/null +++ b/docs/website/translated_docs/es/menus-display.md @@ -0,0 +1,18 @@ +--- +id: menús +title: Mostrando Menús +--- + +Ahora que has creado tus menús, puedes mostrarlos de varias maneras: + +## Bloque de enlaces + +Puede utilizar este bloque para mostrar una lista plana o anidada de elementos del menú. Este bloque no está destinado a ser utilizado para la navegación, es decir, no mostrará una página actual ni nada parecido. Está pensado para una lista de elementos, incluyendo enlaces externos. + +## Bloque de Menús + +Este bloque está destinado a la navegación del sitio. Hace algunos cálculos adicionales para determinar la ubicación actual y no pretende ser una lista muy grande. + +## Barra de navegación + +Similar al bloque Menus, la barra de navegación mostrará los elementos del menú como un menú desplegable receptivo destinado a la navegación del sitio. Puedes activar esto en ACP > Extensiones > Sitemaker > Ajustes > Seleccionar menú \ No newline at end of file diff --git a/docs/website/translated_docs/es/menus-managing-items.md b/docs/website/translated_docs/es/menus-managing-items.md new file mode 100644 index 000000000000..ee64f705ce34 --- /dev/null +++ b/docs/website/translated_docs/es/menus-managing-items.md @@ -0,0 +1,30 @@ +--- +id: menús-elementos-de-gestión +title: Gestionar elementos del menú +--- + +Su menú es inútil a menos que tenga elementos de menú. Puede añadir elementos de menú que apunten a archivos locales o externos. + +> La URL para sitios externos debe comenzar con http(s)://, ftp://, ///, etc. +> +> Puede crear un divisor introduciendo '-' como título del artículo + +## Agregando elementos del menú + +Puede añadir elementos de menú a una hora, o puede añadir varios elementos de menú a los que desee. + +### Agregando elementos de menú único + +Para añadir un único elemento de menú, * haga clic en el botón Agregar elemento de menú `` * Rellene la información requerida y pulse `Guardar` + +### Agregando múltiples elementos + +Para añadir varios elementos de menú a la vez, * Haga clic en el icono junto a `Añadir elemento de menú` * Puede agregar elementos manualmente colocando cada elemento en una nueva línea y usando la pestaña nido de caracteres o * Puede hacer clic en una de las opciones proporcionadas en la parte inferior del área de texto para rellenar automáticamente los elementos del menú + +## Reordenar los elementos del menú + +Puede arrastrar y soltar los elementos del menú arriba/abajo para establecer su orden de visualización, o arrastrarlos hacia la izquierda/derecha para establecer la jerarquía deseada. + +## Reconstruyendo los elementos del menú + +Si encuentras que los elementos del menú no se muestran correctamente, haz clic en el botón `Reconstruir árbol` para reconstruir los elementos del menú. \ No newline at end of file diff --git a/docs/website/translated_docs/es/menus-managing.md b/docs/website/translated_docs/es/menus-managing.md new file mode 100644 index 000000000000..5dc5678d2099 --- /dev/null +++ b/docs/website/translated_docs/es/menus-managing.md @@ -0,0 +1,22 @@ +--- +id: gestión de menús +title: Gestionar Menús +--- + +Puede crear menús en ACP que luego se pueden mostrar usando los bloques Menus o Links o como una barra de navegación horizontal. + +## Gestionar Menús + +Para administrar menús, vaya a ACP > Extensiones > Sitemaker > Menu + +### Creando Menús + +Para crear un nuevo menú (grupo), haga clic en el botón Agregar Menú ``. Se creará un nuevo grupo de menús con un nombre generado aleatoriamente. También se seleccionará el nuevo menú para que pueda comenzar a añadir elementos de menú. + +### Editar Menús + +Si quieres un nombre de menú más significativo, * pasa por encima del nombre del menú y haz clic en el icono del engranaje * introduce el nuevo nombre del menú y pulsa Intro para actualizarlo + +### Eliminando Menús + +Para eliminar un menú, y sus elementos, * Pase el cursor sobre el nombre del menú y haga clic en el icono **x** * Si el elemento del menú no tiene elementos secundarios, tendrás que confirmar tu elección para eliminar el elemento * Si el elemento del menú tiene elementos secundarios, tendrás que indicar si quieres eliminar sólo el elemento y mover sus hijos hacia arriba o si quieres eliminar toda la rama \ No newline at end of file diff --git a/docs/website/translated_docs/es/site-block-modifiers.md b/docs/website/translated_docs/es/site-block-modifiers.md new file mode 100644 index 000000000000..897a66eeef83 --- /dev/null +++ b/docs/website/translated_docs/es/site-block-modifiers.md @@ -0,0 +1,6 @@ +--- +id: modificadores-de-bloque-sitio +title: Personalizar pantalla de bloques +--- + +Trabajo en curso... \ No newline at end of file diff --git a/docs/website/translated_docs/es/site-default-layout.md b/docs/website/translated_docs/es/site-default-layout.md new file mode 100644 index 000000000000..458ae37dd184 --- /dev/null +++ b/docs/website/translated_docs/es/site-default-layout.md @@ -0,0 +1,10 @@ +--- +id: sitio por defecto +title: Establecer un diseño por defecto +--- + +Cuando añades un bloque, se añade a esa página específica. Por lo tanto, sería una tarea tediosa establecer bloques para todas las páginas de su sitio. Puede establecer todos los bloques deseados para una página en particular, y luego establecer esa página como el diseño predeterminado. En otras palabras, cualquier página que no tenga sus propios bloques, heredará bloques de esta página. + +Para establecer una disposición predeterminada * Ir a la página que te gustaría establecer como disposición predeterminada * Haga clic en `Configuración` en la barra de administración * Haga clic en el botón `Establecer como disposición predeterminada` + +Digamos que añadimos bloques a una página (phpBB/index.php) con bloques en la barra lateral y posiciones superiores, por ejemplo, y lo configuramos como nuestro diseño por defecto. Esto tiene los siguientes efectos para otras páginas: * Cualquier página que no tenga sus propios bloques, heredará los bloques del diseño predeterminado. Vea [Entendiendo Herencia de Bloques](./blocks-inheritance.md) para excepciones. * Aún puedes heredar bloques de un diseño por defecto (index.php) pero elegir no mostrar bloques en algunas posiciones de bloque o no mostrar ningún bloque en absoluto. Para hacer esto, * Ve a la página que no quieres que se muestren todos/algunos bloques * Haz clic en `Configuración` en la barra de administración * Selecciona `No mostrar bloques en esta página` si no quieres heredar/mostrar ningún bloque en esta página o * Usa CTRL + haz clic para seleccionar las posiciones del bloque (a la derecha) que no quieras mostrar en * En `modo de edición`, una página que hereda bloques del diseño por defecto, no mostrará ningún bloque, dándote la oportunidad de añadir bloques a la página si quieres * Cualquier página que tenga sus propios bloques no heredará del diseño predeterminado \ No newline at end of file diff --git a/docs/website/translated_docs/es/site-layouts.md b/docs/website/translated_docs/es/site-layouts.md new file mode 100644 index 000000000000..9d6cb5920882 --- /dev/null +++ b/docs/website/translated_docs/es/site-layouts.md @@ -0,0 +1,20 @@ +--- +id: sitios-diseños +title: Diseños +--- + +Los "Layouts" determinan las posiciones de bloque disponibles y cómo se muestran. + +## Posición del bloque + +Las posiciones de bloques son áreas predefinidas en tu sitio donde pueden existir bloques. Las posiciones de bloque disponibles están determinadas por el estilo de plantilla que está utilizando. Para proplata, phpBB SiteMaker viene con las siguientes posiciones de bloques: * panel: ancho completo en la parte superior * sidebar: izquierda/derecha dependiendo del diseño de abajo * subcontenido: similar a sidebar sólo más grande * top_hor: bloques horizontales en la parte superior, flanking above sidebar/subcontent depending on layout * top: above main content * box: equal width, bloques horizontales debajo del contenido principal * abajo: debajo del contenido principal * bottom_hor: bloques horizontales a través de la parte inferior, flanking the sidebar/subcontent depending on layout * footer: horizontal blocks in the footer You can add more block positions in your own style templates by copying and modifying the corresponding phpBB SiteMaker templates + +## Diseño del sitio + +Usted puede elegir el diseño para su sitio en ACP (Extensiones > Sitemaker > Configuración): * **Blog**: subcontenido y barra lateral al lado del otro empujado a la derecha, top_hor/botom_hor subcontenido del flanco * **Santo Grial**: barra lateral y subcontenido de ancho igual en lados opuestos, subcontenido del flanco top_hor/botom_hor * **Portal**: barra lateral a la izquierda, subcontenido a la derecha, subcontenido del flanco top_hor/botom_hor * **Alt del Portal**: subcontenido a la izquierda, barra lateral a la derecha top_hor/botom_hor barra lateral del flanco * **Personalizado**: Establecer manualmente el ancho de las barras laterales como px, %, em o rem. Por defecto a 200px en cada lado + +## Plantillas y estilos personalizados + +En la medida de lo posible, intentamos poner archivos de plantilla y activos en la carpeta styles/all/ para que pueda sobrescribirlos creando un archivo con el mismo nombre bajo su propio tema de plantilla, por ejemplo, prosilver. Así que si desea modificar cómo se muestra un determinado bloque o si desea crear su propio diseño con sus propias posiciones de bloque, simplemente necesita crear un archivo con el mismo nombre y ruta que el original en su propio estilo. + +Si necesita personalizar los archivos CSS/JS, eche un vistazo a la sección [theming](./developer-theming.md). \ No newline at end of file diff --git a/docs/website/translated_docs/es/site-navbar.md b/docs/website/translated_docs/es/site-navbar.md new file mode 100644 index 000000000000..b746229016c2 --- /dev/null +++ b/docs/website/translated_docs/es/site-navbar.md @@ -0,0 +1,6 @@ +--- +id: barra-de-sitio +title: Barra de navegación +--- + +Ver [Mostrando Menús](./menus-display#navigation-bar) \ No newline at end of file diff --git a/docs/website/translated_docs/es/site-startpage.md b/docs/website/translated_docs/es/site-startpage.md new file mode 100644 index 000000000000..b823ef368194 --- /dev/null +++ b/docs/website/translated_docs/es/site-startpage.md @@ -0,0 +1,8 @@ +--- +id: página de inicio-sitio +title: Configurando una página inicial +--- + +phpBB SiteMaker le permite elegir cualquier controlador frontal (páginas accedidas a través de app.php/...) como su página de inicio por defecto (la página que se mostrará cuando alguien visita su sitio) en lugar del índice del tablero. + +Para hacer esto: * Ir a la página que desea establecer como página de inicio predeterminada * Haga clic en `Configuración` en la barra de administración. Si es una página elegible, verás un `Establecer como página de inicio` botón * Haga clic en el `Establecer como página de inicio` botón \ No newline at end of file diff --git a/docs/website/translated_docs/fr/blocks-custom.md b/docs/website/translated_docs/fr/blocks-custom.md new file mode 100644 index 000000000000..5079904a4f24 --- /dev/null +++ b/docs/website/translated_docs/fr/blocks-custom.md @@ -0,0 +1,24 @@ +--- +id: blocs-personnalisés +title: Bloc personnalisé +--- + +Si les blocs disponibles ne vous donnent pas la liberté dont vous avez besoin. il y a le `Custom Block` qui vous permet d'afficher votre propre contenu en utilisant le BBcode ou le HTML. Le bloc est livré avec un éditeur WYSIWYG (TinyMCE) et un gestionnaire de scripts : + +## L'éditeur + +- Vous pouvez utiliser l'éditeur pour créer du contenu HTML +- Vous pouvez modifier le code source si vous avez besoin de ce niveau de contrôle en cliquant sur l'icône `Code source` (`<>`) dans l'éditeur +- L'éditeur vous permet de télécharger et de modifier des images + - Il crée un nouveau dossier dans phpBB/images/sitemaker_uploads/ pour chaque utilisateur qui y a accès + - Vous pouvez voir/gérer tous les dossiers utilisateur +- L'éditeur filtre tous les scripts potentiellement dangereux comme javascript, etc. Si vous avez besoin d'ajouter du contenu comme google ads, le javascript sera filtré, mais vous pouvez le contourner en faisant ce qui suit : + - Ajouter le bloc personnalisé à l'emplacement désiré + - Modifiez le bloc personnalisé, cliquez sur l'onglet `HTML` et collez votre Javascript + +## Le gestionnaire de scripts + +Le bloc personnalisé vous permet également d'ajouter des fichiers CSS et Javascript personnalisés à votre page. Pour faire ceci : + +- Ajouter un bloc `personnalisé` à n'importe quelle position de bloc. La position n'a pas d'importance sauf si vous affichez également du contenu avec le bloc +- Modifier le bloc, cliquez sur l'onglet `Scripts` et ajoutez vos fichiers CSS ou Javascript > Mot de prudence : ajouter à plusieurs scripts sur votre page peut affecter les temps de chargement \ No newline at end of file diff --git a/docs/website/translated_docs/fr/blocks-inheritance.md b/docs/website/translated_docs/fr/blocks-inheritance.md new file mode 100644 index 000000000000..01aca394fec1 --- /dev/null +++ b/docs/website/translated_docs/fr/blocks-inheritance.md @@ -0,0 +1,44 @@ +--- +id: héritage-blocs +title: Comprendre l'héritage du bloc +--- + +Nous avons déjà vu qu'en définissant une mise en page par défaut, d'autres pages qui n'ont pas de blocs de leurs propres hériteront des blocs de la mise en page par défaut. Il y a cependant un autre type d'héritage de bloc. + +## Routes parent/enfant + +Dans phpBB SiteMaker, nous parlons de routes imbriquées en termes de véritables répertoires imbriqués (sous) ou de routes virtuellement imbriquées. Veuillez rester avec moi :). * Real Parent/Child routes: Par exemple, le chemin /some_directory/sub_directory/index.php est un enfant de /some_directory/index.php * Virtual Parent/Child routes: Par exemple, viewtopic.php est traité comme un enfant de viewforum.php. + +Voici quelques exemples de routes parent/enfant : + +| Parent | Enfant | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/mon-article | + +## Hérité du bloc parent/enfant + +Pour les routes parent/enfant, le chemin enfant hérite des blocs de la route mère (si le parent a ses propres blocs) ou de la mise en page par défaut (si l'un a été défini). En d'autres termes, même s'il y a une disposition par défaut, la route enfant héritera des blocs de sa route parente si la route parente a ses propres blocs. Mais tous les blocs de la route mère ne doivent pas être hérités. + +## Contrôle de l'héritage des blocs + +À un niveau de bloc, vous pouvez contrôler quand un bloc peut être hérité par des routes enfants. Nous l'avons déjà touché dans les [Paramètres d'édition des blocs](./blocks-managing#editing-block-settings). + +Considérez la structure de répertoire réelle suivante : + +```text +phpBB +├── index.php +└── Movies/ + ├── index.php + ├── page.php + └── Comedy/ + └── index.php +``` + +Pour l'héritage de blocs, nous disons : * Le chemin parent de /phpBB/Movies/Comedy/index.php est /phpBB/Movies/index.php et non /phpBB/Movies/page.php * Toutes les pages d'un sous répertoire relatif à /phpBB/index.php est un chemin enfant de /phpBB/index.php. Donc /phpBB/Movies/index.php et /phpBB/Movies/page.php sont tous des enfants de /phpBB/index.php et hériteront donc de ses blocs s'ils n'ont pas de blocs. Dans ce cas: * Quand un bloc sur /phpBB/index. hp est configuré pour afficher sur **Cacher sur les routes enfants**, le bloc s'affichera sur /phpBB/index. hp (route parentale) mais pas sur ses routes enfants * Quand un bloc sur /phpBB/index. hp est configuré pour afficher sur **Afficher sur les routes enfants seulement**, il s'affichera sur /phpBB/Movies/index.php et /phpBB/Movies/page. hp (routes enfants) mais pas sur /phpBB/index.php (parent), ni /phpBB/Movies/Comedy/index. hp (nous ne faisons qu'un niveau de profondeur) * Quand un bloc sur /phpBB/index. hp est configuré pour afficher **toujours** (par défaut), il s'affichera sur /phpBB/index.php (parent), /phpBB/Movies/index. hp et /phpBB/page.php (routes enfants) mais pas sur /phpBB/Movies/Comedy/index.php (nous ne faisons qu'un niveau de profondeur). Dans ce cas, /phpBB/Movies/Comedy/index.php héritera de la route par défaut (si elle existe) + +## État d'avenir acceptable + +Je suis vraiment intéressé par vos commentaires dans ce domaine. La plupart des utilisateurs de phpBB n'auront pas de répertoires réels comme indiqué ci-dessus. Donc, je pense à utiliser la structure qui est définie dans un bloc de menu comme une structure de répertoire virtuel et d'y appliquer cet héritage parent/enfant. Je pense aussi aller au-delà d'un niveau profond. Veuillez me dire si cela vous sera utile. \ No newline at end of file diff --git a/docs/website/translated_docs/fr/blocks-managing.md b/docs/website/translated_docs/fr/blocks-managing.md new file mode 100644 index 000000000000..b5ad411e6290 --- /dev/null +++ b/docs/website/translated_docs/fr/blocks-managing.md @@ -0,0 +1,38 @@ +--- +id: gestion des blocs +title: Gestion des blocs +--- + +Pour gérer les blocs dans phpBB SiteMaker, vous devez être dans la [mode édition](./blocks-overview#edit-mode). + +> Lorsqu'un bloc n'affiche aucun contenu, il ne sera pas affiché, sauf en mode édition. De cette façon, vous pouvez soit lui donner du contenu (dans le cas du bloc personnalisé) ou modifier ses paramètres. +> +> En mode édition, les blocs un peu transparents sont des blocs qui, sinon, ne seront pas affichés mais ne seront affichés que parce que nous sommes en mode édition + +## Ajout des blocs + +Vous pouvez ajouter des blocs à n'importe quelle page d'accueil, à l'exception des pages du panneau de configuration utilisateur et du panneau de configuration des modérateurs. Pour ajouter un bloc, vous aurez besoin de : * cliquez sur **Blocs** dans la barre d'administration. Ceci affichera une liste de blocs disponibles * Glisser et déposer le bloc désiré à n'importe quelle position de bloc + +## Modifier les blocs + +### Ajout d'une icône de bloc + +À la gauche du titre du bloc (prosilver), il y a une boîte pour l'icône du bloc. Cliquez sur cette case pour obtenir le sélecteur d'icônes. Vous pouvez sélectionner la taille de l'icône, la couleur, le float, la rotation, etc. + +### Modifier le titre du bloc + +Les blocs phpBB SiteMaker auront un titre traduit par défaut, mais si le titre ne répond pas à vos besoins, vous pouvez le changer. Pour modifier le titre du bloc, * Cliquez sur le titre du bloc pour obtenir un formulaire d'édition en ligne * Changez le titre à ce que vous voulez * Retirez le focus du champ ou appuyez sur Entrée pour soumettre des modifications + +> Votre titre de bloc modifié n'est pas traduit +> +> Pour revenir au titre par défaut, supprimez simplement le titre et appuyez sur Entrée + +### Modifier les paramètres du bloc + +Lorsque vous survolez un bloc, une icône de cog apparaîtra à droite du bloc qui peut être utilisé pour modifier le bloc. Dans la boîte de dialogue du bloc d'édition, vous pouvez : - Activer/désactiver un bloc [Status] - Choisissez quand le bloc devrait/ne pas être affiché [Display]. Ceci ne s'applique que dans les cas où vous avez des pages imbriquées (voir [Comprendre l'héritage du bloc](./blocks-inheritance.md)) - **Toujours**: Toujours afficher le bloc - **Masquer sur les routes enfantes**: n'afficher que ce bloc sur la route parentale - **Afficher sur les routes enfants seulement**: n'afficher que ce bloc sur une route enfant - Choisissez quels groupes d'utilisateurs peuvent voir le bloc [consultable par]. Utilisez CTRL + cliquez pour sélectionner plusieurs groupes. - Définir des classes personnalisées pour modifier l'apparence du bloc ou des éléments (listes, images, arrière-plan, etc) dans le bloc [Classe CSS] - Afficher/masquer le titre du bloc [Masquer le titre du bloc?] - Sélectionnez la vue du bloc [Vue du bloc]. Vous pouvez sélectionner une vue par défaut lorsque de nouveaux blocs sont ajoutés dans ACP. - **Défaut / Simple**: utilise la classe du panneau d'argent pour envelopper le bloc dans un conteneur rembourré -> **Basique**: le bloc n'a pas de conteneur l'enveloppement -> **Boîté**: utilise la classe forabg prosilver pour envelopper le bloc dans une boîte - Définir / Mettre à jour les paramètres spécifiques du bloc - Si vous avez le même bloc avec les mêmes paramètres sur plusieurs pages, vous pouvez les mettre à jour à la fois en vérifiant les blocs **avec des paramètres similaires** + +## Suppression des blocs + +- Survolez le bloc que vous souhaitez supprimer +- Cliquez sur l'icône **x** et confirmez que vous souhaitez supprimer le bloc +- Allez dans la barre d'administration et cliquez sur `Enregistrer les modifications` \ No newline at end of file diff --git a/docs/website/translated_docs/fr/blocks-overview.md b/docs/website/translated_docs/fr/blocks-overview.md new file mode 100644 index 000000000000..9eacc7d34f0a --- /dev/null +++ b/docs/website/translated_docs/fr/blocks-overview.md @@ -0,0 +1,10 @@ +--- +id: vue d'ensemble des blocs +title: Quels sont les blocs ? +--- + +Au cœur de phpBB SiteMaker est le concept de blocs. Les blocs sont de petits morceaux de contenu que vous pouvez placer dans différentes zones prédéfinies (positions des blocs) sur votre site. Les blocs ont généralement des paramètres que vous pouvez définir/modifier pour affiner le contenu que vous souhaitez afficher. La plupart des blocs, mais pas tous, feront des requêtes de base de données pour obtenir le contenu désiré. Alors ne soyons pas trop fou :). Pour gérer les blocs, vous devrez passer en mode "édition". + +## Mode Edition + +Basculez pour modifier le mode en cliquant sur l'icône crayon en haut à droite de votre site. Ceci affichera la barre d'administration avec les éléments de menu "Blocs" et "Paramètres". Il s'agit d'être en "mode édition". \ No newline at end of file diff --git a/docs/website/translated_docs/fr/blocks-views.md b/docs/website/translated_docs/fr/blocks-views.md new file mode 100644 index 000000000000..6b9db8fc8491 --- /dev/null +++ b/docs/website/translated_docs/fr/blocks-views.md @@ -0,0 +1,6 @@ +--- +id: vues-blocs +title: Vue de bloc +--- + +Travail en cours... \ No newline at end of file diff --git a/docs/website/translated_docs/fr/contrib-overview.md b/docs/website/translated_docs/fr/contrib-overview.md new file mode 100644 index 000000000000..f96956dc44d6 --- /dev/null +++ b/docs/website/translated_docs/fr/contrib-overview.md @@ -0,0 +1,11 @@ +--- +id: Aperçu contrib +title: Impliquez-vous +--- + +phpBB SiteMaker est un projet open source et accueille vos idées et contributions. N'hésitez donc pas à vous impliquer. Vous pouvez contribuer à ce projet par : + +* [Fournir soutien/rétroaction](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Rapports de bugs](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Aide à la traduction](./contrib-translators.md) +* [Correction de bugs ou ajout de fonctionnalités](./contrib-pull-requests.md) \ No newline at end of file diff --git a/docs/website/translated_docs/fr/contrib-pull-requests.md b/docs/website/translated_docs/fr/contrib-pull-requests.md new file mode 100644 index 000000000000..acf362f116e5 --- /dev/null +++ b/docs/website/translated_docs/fr/contrib-pull-requests.md @@ -0,0 +1,76 @@ +--- +id: Demandes contrib-pull +title: Soumettre une demande de Pull +sidebar_label: Demandes de Pull +--- + +`Les requêtes Pull vous permettent d'informer les autres des changements que vous avez poussés vers une branche dans un référentiel sur GitHub. Une fois qu'une pull request est ouverte, vous pouvez discuter et examiner les changements potentiels avec des collaborateurs et ajouter des commits de suivi avant que vos changements ne soient fusionnés dans la branche de base.` [Lire la suite](https://help.github.com/articles/about-pull-requests/) + +## Forcer/Cloner + +* Créer un compte github si vous n'en avez pas déjà un +* Allez sur https://github.com/blitze/phpBB-ext-sitemaker.git et cliquez sur "Fork" + +Cloner votre fork du dépôt : + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +De la ligne de commande, allez au répertoire sitemaker : + + cd phpBB/ext/blitze/sitemaker + + +**Configurer git :** + +Ajoutez votre nom d'utilisateur à Git sur votre système : + + git config --global user.name "Votre nom ici" + + +Ajoutez votre adresse e-mail à Git sur votre système : + + git config --add user.email username@phpbb.com + + +Ajouter la télécommande amont (vous pouvez changer 'amont' à ce que vous voulez) : + + git distant add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + + +**Installer des vendeurs** + + installation du compositeur + + +**Installer les paquets NPM** + + installation npm + + +Vous pouvez également utiliser le fil [](https://yarnpkg.com): + + yarn install + + +## Demandes de Pull + + # Créez une nouvelle branche pour votre fonctionnalité & basculez vers lui + git checkout -b feature/my-fancy-new-feature + + # créez une nouvelle branche pour le problème sur lequel vous travaillez * basculez vers elle (ticket # est depuis github tracker) + git checkout -b ticket/1234 + + +Modifier + + # Stage the files + git add + + # Commit staged files - please use a correct commit message + git commit -m "my commit message" + + +Retournez la branche vers GitHub fonctionnalité de push git/ma-fancy-new-feature + +Soumettre une pull-request [](https://github.com/blitze/phpBB-ext-sitemaker/pulls) \ No newline at end of file diff --git a/docs/website/translated_docs/fr/contrib-translators.md b/docs/website/translated_docs/fr/contrib-translators.md new file mode 100644 index 000000000000..b7ed417f23d3 --- /dev/null +++ b/docs/website/translated_docs/fr/contrib-translators.md @@ -0,0 +1,17 @@ +--- +id: Traducteurs contrib +title: Traducteurs +--- + +Nous avons besoin d'aide pour traduire cette extension, ainsi que sa documentation. Nous avons créé un projet sur Crowdin pour faciliter les traductions. Crowdin vous donne une interface de traduction qui est la deuxième à aucune. Vous pouvez contribuer comme jamais vous voulez, mais nous recommandons vraiment d'utiliser Crowdin. + +> Crowdin est une plate-forme de gestion de la localisation qui aide les entreprises à traduire leurs logiciels. Vous pouvez en savoir plus sur Crowdin [ici](https://support.crowdin.com/crowdin-intro/) + +Si vous êtes prêt à contribuer avec les traductions, vous aurez besoin de : + +* Un compte [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker). +* Choisissez la langue cible si une autre demande existe pour être activée. + +Si votre langue ne figure pas dans la liste, veuillez [me contacter](https://crowdin.com/profile/blitze) et je l'ajouterai. + +[Commencer à traduire](https://crowdin.com/project/phpbb-ext-sitemaker) \ No newline at end of file diff --git a/docs/website/translated_docs/fr/developer-events.md b/docs/website/translated_docs/fr/developer-events.md new file mode 100644 index 000000000000..bb741b0d6388 --- /dev/null +++ b/docs/website/translated_docs/fr/developer-events.md @@ -0,0 +1,120 @@ +--- +id: développeur-événements +title: Événements phpBB SiteMaker +--- + +Vous pouvez modifier le comportement de phpBB SiteMaker en utilisant le système d'événements de phpBB. + +## Événements PHP + +# sitemaker.acp_add_bulk_menu_options + +- Emplacement: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Depuis : 3.1.0 +- But : Ajouter des options de menu en vrac dans le menu acp + +# sitemaker.acp_display_settings_form + +- Emplacement: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Depuis : 3.1.0 +- But : afficher le formulaire de configuration acp (sitemaker) + +# paramètres sitemaker.acp_save_settings + +- Emplacement: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Depuis : 3.1.0 +- But : Sauvegarder les paramètres acp (sitemaker) + +# sitemaker.admin_bar.set_assets + +- Emplacement: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Depuis : 3.0.1-RC1 +- But : Ajouter des ressources pour les blocs disponibles en mode édition + +# modifier_bloquer les positions + +- Emplacement: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Depuis : 3.0.1-RC1 +- But : Modifier les positions de bloc + +# modifier_rendu_bloc + +- Emplacement: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Depuis : 3.0.1-RC1 +- But : Modifier un bloc rendu + +## Événements du modèle + +# paramètres du sitemaker_acp + +- Emplacement: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Depuis : 3.1.0 +- But : Ajouter les champs de formulaire pour les paramètres du sitemaker + +# ajouter une barre d'administration + +- Emplacement: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Depuis : 3.1.0 +- But : Ajouter des éléments de menu à la barre d'administration + +# emaker_admin_bar_templates + +- Emplacement: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Depuis : 3.1.0 +- But : Ajouter des fichiers de modèle à utiliser en JS pour les vues de bloc, etc + +## Événements Javascript + +# sitemaker_layout_sauvegardé + +- Emplacement: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Depuis : 3.1.2 +- But : Événement permettant à d'autres extensions de faire quelque chose lorsque les changements de mise en page sont sauvegardés + +# %1 + +- Emplacement: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Depuis : 3.1.2 +- But : Événement permettant à d'autres extensions de faire quelque chose avant que le bloc soit rendu ou l'empêche d'être ré-rendu + +# après + +- Emplacement: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Depuis : 3.1.2 +- But : Événement permettant aux autres extensions de faire quelque chose après que le bloc soit rendu + +# %1 + +- Emplacement: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Depuis : 3.1.2 +- But : Événement permettant aux autres extensions de modifier les données de bloc avant qu'elles ne soient enregistrées + +# afficher tous les blocs + +- Emplacement: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Depuis : 3.1.2 +- But : Événement permettant aux autres extensions de faire quelque chose lorsque toutes les positions de blocage sont affichées + +# afficher les positions vides + +- Emplacement: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Depuis : 3.1.2 +- But : Événement permettant aux autres extensions de faire quelque chose quand les positions vides sont masquées + +# sitemaker_layout_effacé + +- Emplacement: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Depuis : 3.1.2 +- But : Événement permettant aux autres extensions de faire quelque chose quand la mise en page est effacée + +# mise à jour + +- Emplacement: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Depuis : 3.1.2 +- But : Événement permettant aux autres extensions de faire quelque chose lorsque la mise en page est mise à jour + +# Options de mise à jour du site + +- Lieu: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Depuis : 3.3.0 +- But : Événement permettant aux autres extensions de modifier les options de tinymce \ No newline at end of file diff --git a/docs/website/translated_docs/fr/developer-extensions.md b/docs/website/translated_docs/fr/developer-extensions.md new file mode 100644 index 000000000000..38875ab4b934 --- /dev/null +++ b/docs/website/translated_docs/fr/developer-extensions.md @@ -0,0 +1,177 @@ +--- +id: développeurs-extensions +title: Extension du siteMaker phpBB +--- + +Vous pouvez étendre/modifier phpBB SiteMaker en utilisant [remplacement de service](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [décoration de service](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), et [système d'événement phpBB](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Vous pouvez trouver une liste des événements supportés ici [](./developer-events.md). + +## Création d'un bloc SiteMaker + +Un bloc SiteMaker phpBB est simplement une classe qui étend la classe blitze\sitemaker\services\blocks\driver\block class et retourne un tableau de la méthode "display" avec un "title" et "content". Tout le reste inbetween est à vous. Pour rendre votre bloc accessible par phpBB SiteMaker, vous devrez lui donner la balise "sitemaker.block". + +Dites que nous avons une extension avec vendor/extension comme mon/exemple. Pour créer un bloc appelé "my_block" pour phpBB SiteMaker : + +- Créer un dossier "blocs" +- Créer mon fichier_block.php dans le dossier blocks avec le contenu suivant + +```php +espace de noms mon\example\blocks; + +utilisez blitze\sitemaker\services\blocks\driver\block; + +classe my_block extends bloc +{ + /** + * {@inheritdoc} + */ + public function display(table $settings, $edit_mode = false) + { + return array( + 'title' => 'my block title', + 'content' => 'mon contenu bloc', + ); + } +} +``` + +Ensuite, dans votre fichier config.yml, ajoutez les éléments suivants : + +```yml +services : + + ... + + mon.exemple.block.my_block : + classe : mon\exemple\blocs\my_block + appelle : + - [set_name, [my.example.block.my_block]] + tags : + - { name: sitemaker.block } + + .... + +``` + +Au minimum, c'est tout ce dont vous avez besoin. Si vous allez en mode édition, vous devriez voir le bloc listé comme 'MY_EXAMPLE_BLOCK_MY_BLOCK' qui peut être déplacé et déposé sur n'importe quelle position de bloc. Mais ce bloc ne fait rien d'excitant. Il n'a pas de paramètres et ne traduit pas le nom du bloc. Rendons-le plus intéressant. + +### Paramètres du bloc + +Modifions nos blocs/mon_block. hp file and add a "get_config" method th at return an array with the keys being the block settings and the values being an array describing the settings like so: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Only show when option 1 is selected
'), + ); + } +``` + +Cela est construit de la même manière que phpBB construit la configuration pour les réglages de conseil en ACP. Vous pouvez voir d'autres exemples [ici](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Si vous voulez un type de champ personnalisé, vous pouvez voir un exemple [ici](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' paramètre). + +Notice 'legend1' and 'legend2' : These are used to separate the settings into tabs. + +### Nommer les blocs + +La convention pour les noms de blocs est que le nom du service (par exemple mon.exemple.block. y*bloc ci-dessus) sera utilisé comme clé de langage en remplaçant les points (.) par trait de soulignement (*) (par exemple MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Traduction + +Notez également que nous avons plusieurs clés de langue qui doivent être traduites. Pour cela, créez un fichier nommé "blocks_admin.php" dans votre dossier de langue. Ce fichier sera automatiquement chargé lors de l'édition de blocs, et devrait avoir des traductions pour les paramètres de blocs et les noms de blocs. + + $lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Option 1', + 'OTHER_LANG_VAR' => 'Option 2', + 'SOME_LANG_VAR_1' => 'Réglage 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Mon bloc', + ); + + +Comme 'blocks_admin.php' n'est chargé que lors de l'édition de blocs, vous devrez ajouter d'autres traductions (par exemple le titre du bloc) en chargeant un fichier de langue dans votre méthode d'affichage comme ainsi ' `$language->add_lang('my_lang_file', 'my/example');` + +### Rendre le bloc + +Le nouveau bloc ne sera affiché que s'il rend quelque chose. Votre bloc peut retourner n'importe quelle chaîne de contenu mais dans la plupart des cas, vous avez besoin d'un modèle pour rendre votre contenu. Pour afficher votre bloc en utilisant des modèles, le bloc doit retourner un tableau qui contient les données que vous voulez passer au modèle et doit également implémenter la méthode `get_template` comme démontré ci-dessous : + +```php + /** + * @inheritdoc + */ + fonction publique get_config(table $settings) + { + $options = table(1 => 'SOME_LANG_VAR', 2 => 'AUTRE_LANG_VAR'); + retour tableau( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'chaîne', 'type' => 'checkbox', 'options' => $options, 'default' => tableau(), 'expliquer' => faux), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + public function display(tableau $data, $edit_mode = false) + { + if ($edit_mode) + { + // ne fait quelque chose qu'en mode édition + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Ensuite, votre fichier styles/all/my_block.html ou styles/prosilver/my_block.html pourrait ressembler à ceci : + +

Vous avez sélectionné : {{ some_var }}

+ + +En résumé, votre bloc doit retourner un tableau avec une clé `titre` (pour le titre du bloc) et une clé `contenu` (si le bloc affiche juste une chaîne de caractères et n'utilise pas de modèle) ou une clé `de données` (si le bloc utilise un modèle, dans ce cas, vous devrez également implémenter la méthode `get_template`). + +### Bloc d'actifs + +Si votre bloc doit ajouter des assets (css/js) à la page, je vous recommande d'utiliser la classe [util du sitemaker](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) pour cela. Comme il peut y avoir plus d'une instance du même bloc sur la page, ou d'autres blocs pourraient être d'ajouter le même actif, la classe utilitaire s'assure que l'actif est seulement ajouté. + +```php + $this->util->add_assets(array( + 'js' => array( + '@mon_exemple/assets/une. s', + 100 => '@mon_exemple/assets/autre. s', // définit la priorité + ), + 'css' => tableau( + '@mon_exemple/assets/unes. ss', + ) +)); +``` + +La classe utilitaire devra bien sûr être ajoutée à vos définitions de service dans config.yml comme suit: `- '@blitze.sitemaker. til'` et défini dans le constructeur de votre bloc `\blitze\sitemaker\services\util $util`. + +Et c'est tout. Nous avons terminé ! \ No newline at end of file diff --git a/docs/website/translated_docs/fr/developer-theming.md b/docs/website/translated_docs/fr/developer-theming.md new file mode 100644 index 000000000000..fcd90ff40c6e --- /dev/null +++ b/docs/website/translated_docs/fr/developer-theming.md @@ -0,0 +1,55 @@ +--- +id: thème développeur +title: Thème +--- + +phpBB SiteMaker est livré avec des styles et des couleurs faits pour prosilver. Vous pouvez écraser les fichiers CSS, JS et HTML en créant le fichier correspondant dans le dossier de votre style. + +# Création de fichiers JS/CSS pour votre style + +Note: * Pour les instructions ci-dessous, nous supposerons que vous avez un style appelé mon-style. + +Cloner dans phpBB/ext/blitze/sitemaker : + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +De la ligne de commande, allez au répertoire sitemaker : + + cd phpBB/ext/blitze/sitemaker + + +**Installer des vendeurs** + + installation du compositeur + + +**Installer des paquets** + +Pour les commandes ci-dessous, vous pouvez utiliser npm ou [yarn](https://yarnpkg.com) + + yarn install + + +**Suivre les changements** + + yarn start --theme mon-style + + +**Modifier** + +* Faites vos modifications aux fichiers dans le dossier phpBB/ext/blitze/sitemaker/develop. +* Regardez phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss for sass variables + +**Construire des éléments** + + yarn build --theme mon-style + + +**Déployer** + +Vous pouvez maintenant copier les fichiers générés depuis phpBB/ext/blitze/sitemaker/styles/my-style et les télécharger sur votre serveur de production. + +> Cette extension utilise l'interface jQuery pour les onglets, les dialogues et les boutons. Le thème jQuery par défaut est 'smoothness.' Vous pouvez utiliser un autre thème jQuery UI qui correspond le mieux à votre thème. Vous pouvez spécifier le thème jQuery UI en utilisant le drapeau --jq_ui_theme. Par exemple : + + yarn build --theme my-style --jq_ui_theme ui-lightness \ No newline at end of file diff --git a/docs/website/translated_docs/fr/filemanager.md b/docs/website/translated_docs/fr/filemanager.md new file mode 100644 index 000000000000..08caa9b8029e --- /dev/null +++ b/docs/website/translated_docs/fr/filemanager.md @@ -0,0 +1,34 @@ +--- +id: filemanager +title: Responsive Filemanager +--- + +As of version 3.1.0, phpBB SiteMaker supports the [Responsive Filemanager](http://responsivefilemanager.com) + +* The file manager is used as a TinyMCE pluging (WYSIWYG editor) when editing custom blocks +* It is currently configured to creat separate folders for each user, except the user with a_sm_filemanager permission (Can see/manage other users' folders), which allows them access to view/manage all upload folders. + +## Installation + +* Download the [Responsive FileManager](http://responsivefilemanager.com/index.php#sthash.5UrnhjX2.dpbs) +* Extract it, and upload the files to your phpBB root folder. The file structure should be as below: + +```text +phpBB +├── images/ +├── includes/ +├── ... +└── ResponsiveFilemanager/ + └── filemanager/ + └── config/ + ├── .htaccess + └── config.php +``` + +## Activation + +* Go to ACP > Extensions > SiteMaker > Settings +* Enable File Manager feature +* Save changes +* Update user permissions (Misc tab) to determine who can use this feature [Can use File Manager] +* Update admin permissions (Misc tab) to determine who can manager user folders [Can see/manage other users’ folders in File Manager] \ No newline at end of file diff --git a/docs/website/translated_docs/fr/installation.md b/docs/website/translated_docs/fr/installation.md new file mode 100644 index 000000000000..77b351b616d6 --- /dev/null +++ b/docs/website/translated_docs/fr/installation.md @@ -0,0 +1,18 @@ +--- +id: installation +title: Installation / Mise à jour +--- + +Télécharger l'extension depuis [ici](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installation de phpBB SiteMaker + +* Extrayez et téléchargez-le dans votre dossier phpBB/ext/ pour que vous ayez phpBB/ext/blitze/sitemaker +* Allez dans "ACP" > "Personnaliser" > "Extensions" et activez l'extension "phpBB Sitemaker". + +## Mise à jour de phpBB SiteMaker + +* Créez une sauvegarde de votre base de données juste au cas où quelque chose ne va pas +* Aller à "ACP" > "Personnaliser" > "Extensions" et désactiver (ne pas purger) "phpBB Sitemaker" +* Téléchargez et extrayez la dernière version de phpBB SiteMaker et téléchargez-la dans votre dossier phpBB/ext (écrasement) +* Allez dans "ACP" > "Personnaliser" > "Extensions" et activez l'extension "phpBB Sitemaker". \ No newline at end of file diff --git a/docs/website/translated_docs/fr/introduction.md b/docs/website/translated_docs/fr/introduction.md new file mode 100644 index 000000000000..38e4f9a63f7f --- /dev/null +++ b/docs/website/translated_docs/fr/introduction.md @@ -0,0 +1,6 @@ +--- +id: introduction +title: Introduction +--- + +phpBB SiteMaker cherche à transformer votre forum phpBB en un CMS/portail. Il le fait en vous fournissant des blocs et des menus pour vous aider à personnaliser votre site à votre goût. Il y a ou il y aura d'autres extensions SiteMaker qui fournissent des fonctionnalités supplémentaires pour atteindre cet objectif. Il vous permet également de définir une page d'atterrissage lorsque votre site est accessible. Donc, si vous ne voulez pas que les visiteurs de votre site voient immédiatement le forum phpBB quand ils vont sur www.votre-site.com, vous pouvez définir votre propre page de démarrage. \ No newline at end of file diff --git a/docs/website/translated_docs/fr/menus-display.md b/docs/website/translated_docs/fr/menus-display.md new file mode 100644 index 000000000000..c6f512f50b4f --- /dev/null +++ b/docs/website/translated_docs/fr/menus-display.md @@ -0,0 +1,18 @@ +--- +id: affichage des menus +title: Affichage des menus +--- + +Maintenant que vous avez créé vos menus, vous pouvez les afficher de plusieurs façons : + +## Bloc de liens + +Vous pouvez utiliser ce bloc pour afficher une liste d'éléments de menu plat ou imbriqué. Ce bloc n'est pas destiné à être utilisé pour la navigation, c'est-à-dire qu'il n'affichera pas une page courante ou quelque chose comme ça. Il est destiné à une liste d'éléments, y compris des liens externes. + +## Bloc Menus + +Ce bloc est destiné à la navigation du site. Il fait quelques calculs supplémentaires pour déterminer l'emplacement actuel et n'est pas destiné à être une liste très grande. + +## Barre de navigation + +Similaire au bloc Menus, la barre de navigation affichera les éléments du menu comme un menu déroulant réactif destiné à la navigation sur le site. Vous pouvez activer ceci dans ACP > Extensions > Plan du site > Paramètres > Sélectionner menu \ No newline at end of file diff --git a/docs/website/translated_docs/fr/menus-managing-items.md b/docs/website/translated_docs/fr/menus-managing-items.md new file mode 100644 index 000000000000..e1563027db80 --- /dev/null +++ b/docs/website/translated_docs/fr/menus-managing-items.md @@ -0,0 +1,30 @@ +--- +id: gestion des menus +title: Gérer les éléments du menu +--- + +Votre menu est inutile à moins qu'il n'ait des éléments de menu. Vous pouvez ajouter des éléments de menu pointant vers des fichiers locaux ou externes. + +> L'URL des sites externes doit commencer par http(s)://, ftp://, //, etc. +> +> Vous pouvez créer un séparateur en entrant '-' comme titre de l'élément + +## Ajout des éléments du menu + +Vous pouvez ajouter des éléments de menu à un élément à la fois, ou ajouter plusieurs éléments de menu à ceux-ci. + +### Ajout d'éléments de menu unique + +Pour ajouter un élément de menu unique, * cliquez sur le bouton `Ajouter l'élément de menu` * Remplissez les informations requises et appuyez sur `Enregistrer` + +### Ajout de plusieurs éléments + +Pour ajouter plusieurs éléments de menu à la fois, * Cliquez sur l'icône à côté de `Ajouter élément de menu` * Vous pouvez ajouter manuellement des éléments en plaçant chaque élément sur une nouvelle ligne et en utilisant le nid de caractères de tabulation ou * Vous pouvez cliquer sur l'une des options fournies au bas de la zone de texte pour remplir automatiquement les éléments de menu + +## Réordonner les éléments du menu + +Vous pouvez faire glisser et déposer les éléments du menu vers le haut/vers le bas pour définir leur ordre d'affichage, ou les faire glisser vers la gauche/la droite pour définir la hiérarchie souhaitée. + +## Reconstruire les éléments du menu + +Si vous trouvez que les éléments du menu ne s'affichent pas correctement, cliquez sur le bouton `Reconstruire l'Arbre` pour reconstruire les éléments du menu. \ No newline at end of file diff --git a/docs/website/translated_docs/fr/menus-managing.md b/docs/website/translated_docs/fr/menus-managing.md new file mode 100644 index 000000000000..e9622ccaa840 --- /dev/null +++ b/docs/website/translated_docs/fr/menus-managing.md @@ -0,0 +1,22 @@ +--- +id: gestion des menus +title: Gérer les menus +--- + +Vous pouvez créer des menus en ACP que vous pouvez ensuite afficher en utilisant les menus ou les blocs Liens ou affichés comme une barre de navigation horizontale. + +## Gérer les menus + +Pour gérer les menus, allez dans ACP > Extensions > Plan du site > Menu + +### Création du menu + +Pour créer un nouveau menu (groupe), cliquez sur le bouton `Ajouter le menu`'. Un nouveau groupe de menu sera créé avec un nom généré aléatoirement. Le nouveau menu sera également sélectionné afin que vous puissiez commencer à y ajouter des éléments de menu. + +### Modifier le menu + +Si vous voulez un nom de menu plus significatif, * survolez le nom du menu et cliquez sur l'icône cog * entrez le nouveau nom de menu et appuyez sur Entrée pour le mettre à jour + +### Suppression des menus + +Pour supprimer un menu et ses éléments, * Survolez le nom du menu et cliquez sur l'icône **x** * Si l'élément de menu n'a pas d'élément enfant, vous devrez confirmer votre choix pour supprimer l'article * Si l'élément de menu a des éléments enfants, vous devrez indiquer si vous voulez supprimer seulement l'élément et déplacer ses enfants vers le haut ou si vous voulez supprimer la branche entière \ No newline at end of file diff --git a/docs/website/translated_docs/fr/site-block-modifiers.md b/docs/website/translated_docs/fr/site-block-modifiers.md new file mode 100644 index 000000000000..dc2114653961 --- /dev/null +++ b/docs/website/translated_docs/fr/site-block-modifiers.md @@ -0,0 +1,6 @@ +--- +id: modificateurs de bloc-site +title: Affichage des blocs personnalisés +--- + +Travail en cours... \ No newline at end of file diff --git a/docs/website/translated_docs/fr/site-default-layout.md b/docs/website/translated_docs/fr/site-default-layout.md new file mode 100644 index 000000000000..d1b83a9cee85 --- /dev/null +++ b/docs/website/translated_docs/fr/site-default-layout.md @@ -0,0 +1,10 @@ +--- +id: mise en page par défaut +title: Définir une mise en page par défaut +--- + +Lorsque vous ajoutez un bloc, il est ajouté à cette page spécifique. Il serait donc fastidieux de définir des blocs pour toutes les pages de votre site. Vous pouvez définir tous les blocs désirés pour une page particulière, puis définir cette page comme mise en page par défaut. En d'autres termes, toute page qui n'a pas ses propres blocs, héritera des blocs de cette page. + +Pour définir une mise en page par défaut * Aller à la page que vous souhaitez définir comme mise en page par défaut * Cliquez sur `Réglages` dans la barre d'administration * Cliquez sur le bouton `Définir comme mise en page par défaut` + +Say we add blocks to a page (phpBB/index.php) with blocks in the sidebar and top positions, par exemple, and set it as our default layout. Ceci a les effets suivants pour les autres pages : * Toute page qui n'a pas ses propres blocs, héritera des blocs de la disposition par défaut. Voir [Understanding Block Inheritance](./blocks-inheritance.md) pour les exceptions. * Vous pouvez toujours hériter des blocs d'une mise en page par défaut (index.php) mais choisissez de ne pas afficher de blocs sur certaines positions de blocs ou de ne pas afficher de blocs du tout. Pour ce faire, * Allez à la page que vous ne voulez pas que tous les blocs affichent * Cliquez sur `Paramètres` dans la barre d'administration * Sélectionnez `Ne pas afficher les blocs sur cette page` si vous ne voulez pas hériter/afficher de blocs sur cette page OU * Utilisez CTRL + cliquez pour sélectionner les positions de bloc (à droite) que vous ne voulez pas afficher de blocs sur * En `mode d'édition`, une page qui hérite des blocs de la disposition par défaut, ne montrera aucun bloc, vous donnant la possibilité d'ajouter des blocs à la page si vous voulez * Toute page qui a ses propres blocs n'héritera pas de la disposition par défaut \ No newline at end of file diff --git a/docs/website/translated_docs/fr/site-layouts.md b/docs/website/translated_docs/fr/site-layouts.md new file mode 100644 index 000000000000..ccdc828b73f9 --- /dev/null +++ b/docs/website/translated_docs/fr/site-layouts.md @@ -0,0 +1,20 @@ +--- +id: mise en page du site +title: Dispositions +--- + +Les « Layouts » déterminent les positions de bloc disponibles et la façon dont elles sont affichées. + +## Positions du bloc + +Les positions des blocs sont des zones prédéfinies sur votre site où des blocs peuvent exister. Les positions de blocs disponibles sont déterminées par le style de modèle que vous utilisez. Pour prosilver, phpBB SiteMaker est livré avec les positions de bloc suivantes: * Panneau : pleine largeur en haut * barre latérale : gauche/droite selon la mise en page en-dessous * sous-contenu: similaire à la barre latérale juste plus grand * top_hor: blocs horizontaux en haut, flanc au-dessus de la barre latérale/sous-contenu en fonction de la mise en page * haut : au-dessus du contenu principal * boîte : largeur égale, blocs horizontaux en dessous du contenu principal * en bas : en bas du contenu principal * en bas : blocs horizontaux en bas, flanquer la barre latérale/sous-contenu en fonction de la disposition * pied de page : blocs horizontaux dans le pied de page Vous pouvez ajouter plus de positions de bloc dans vos propres modèles de style en copiant et en modifiant les modèles phpBB SiteMaker correspondants + +## Disposition du site + +Vous pouvez choisir la mise en page de votre site en ACP (Extensions > Sitemaker > Paramètres): * **Blog**: sous-contenu et barre latérale à côté. poussé à droite, top_hor/botom_hor sous-contenu flanc * **Saint Graal**: largeur égale et sous-contenu sur les côtés opposés, top_hor/botom_hor sous-contenu flank * **Portail**: barre latérale à gauche, sous-contenu à droite. top_hor/botom_hor sous-contenu flank * **Portail Alt**: sous-contenu à gauche, barre latérale à droite top_hor/botom_hor flank sidebar * **Personnalisé**: Régler manuellement la largeur des barres latérales comme px, %, em ou rem. 200px par défaut sur chaque côté + +## Modèles/styles personnalisés + +Dans la mesure du possible, nous avons essayé de mettre des fichiers de gabarits et des assets dans le dossier styles/all/ afin que vous puissiez les écraser en créant un fichier avec le même nom sous votre propre thème de gabarit, par exemple prosilver. Donc, si vous voulez modifier la façon dont un certain bloc s'affiche ou si vous voulez créer votre propre disposition avec vos propres positions de bloc, vous devez simplement créer un fichier avec le même nom et le même chemin que l'original dans votre propre style. + +Si vous devez personnaliser les fichiers CSS/JS, jetez un œil à la section [de](./developer-theming.md). \ No newline at end of file diff --git a/docs/website/translated_docs/fr/site-navbar.md b/docs/website/translated_docs/fr/site-navbar.md new file mode 100644 index 000000000000..6a4472376919 --- /dev/null +++ b/docs/website/translated_docs/fr/site-navbar.md @@ -0,0 +1,6 @@ +--- +id: barre de navigation +title: Barre de navigation +--- + +Voir [Affichage des menus](./menus-display#navigation-bar) \ No newline at end of file diff --git a/docs/website/translated_docs/fr/site-startpage.md b/docs/website/translated_docs/fr/site-startpage.md new file mode 100644 index 000000000000..af78ce2eb45d --- /dev/null +++ b/docs/website/translated_docs/fr/site-startpage.md @@ -0,0 +1,8 @@ +--- +id: page d'accueil +title: Définir une page de début +--- + +phpBB SiteMaker vous permet de choisir n'importe quel contrôleur avant (pages consultées via app.php/...) comme page de démarrage par défaut (la page qui sera affichée lorsque quelqu'un visite votre site) au lieu de l'index du tableau. + +Pour ce faire : * Aller à la page que vous voulez définir comme page de démarrage par défaut * Cliquez sur `Paramètres` dans la barre d'administration. Si c'est une page éligible, vous verrez un ' `Set as start page` bouton * Cliquez sur le ' `Set as start page` bouton \ No newline at end of file diff --git a/docs/website/translated_docs/he/blocks-custom.md b/docs/website/translated_docs/he/blocks-custom.md new file mode 100644 index 000000000000..41d4365d553d --- /dev/null +++ b/docs/website/translated_docs/he/blocks-custom.md @@ -0,0 +1,24 @@ +--- +id: blocks-custom +title: Custom Block +--- + +If the available blocks do not give you the freedom you need, there is the `Custom Block` which allows you the freedom to display your own content using BBcode or HTML. The block comes with a WYSIWYG editor (TinyMCE) and a scripts manager: + +## The editor + +- You can use the editor to create HTML content +- You can edit the source code if you need that level of control by clicking on the `Source code` icon (`<>`) in the editor +- The editor allows you to upload and modify images + - It creates a new folder in phpBB/images/sitemaker_uploads/ for every user who has access to it + - You can view/manage all user folders +- The editor filters out any potentially dangerous scripts like javascript, etc. If you need to add content like google ads, the javascript will be filtered out, but you can get around that by doing the following: + - Add the Custom Block to desired location + - Edit the Custom Block, click on the `HTML` tab and paste your Javascript + +## The Scripts Manager + +The Custom Block also allows you to add custom CSS and Javascript files to your page. To do this: + +- Add a `Custom Block` to any block position. The position does not matter unless you are also displaying content with the block +- Edit the block, click on the `Scripts` tab and add your CSS or Javascript files > Word of caution though: Adding to many scripts on your page can affect load times \ No newline at end of file diff --git a/docs/website/translated_docs/he/blocks-inheritance.md b/docs/website/translated_docs/he/blocks-inheritance.md new file mode 100644 index 000000000000..7128c0ffbcd9 --- /dev/null +++ b/docs/website/translated_docs/he/blocks-inheritance.md @@ -0,0 +1,44 @@ +--- +id: blocks-inheritance +title: Understanding Block Inheritance +--- + +We have already seen that by setting a default layout, other pages that do not have blocks of their own will inherit the blocks from the default layout. There is, however, another type of block inheritance. + +## Parent/Child Routes + +In phpBB SiteMaker, we speak of nested routes in terms of real nested (sub) directories or virtually nested paths/routes. Please stay with me :). * Real Parent/Child routes: For example, the path /some_directory/sub_directory/index.php is a child of /some_directory/index.php * Virtual Parent/Child routes: For example, viewtopic.php is treated as a child of viewforum.php. + +Here are some examples of parent/child routes: + +| Parent | Child | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/my-article | + +## Parent/Child Block Inheritance + +For parent/child routes, the child route inherits the blocks of the parent route (if the parent has its own blocks) or from the default layout (if one has been set). In other words, even if there is a default layout, the child route will inherit blocks from its parent route if the parent route has its own blocks. But not all blocks from the parent route must be inherited. + +## Controlling Block Inheritance + +At a block level, you can control when a block can be inherited by child routes. We touched on this earlier in the [Editing Block Settings](./blocks-managing#editing-block-settings). + +Consider the following real directory structure: + +```text +phpBB +├── index.php +└── Movies/ + ├── index.php + ├── page.php + └── Comedy/ + └── index.php +``` + +For the purposes of inheriting blocks, we say: * The parent route of /phpBB/Movies/Comedy/index.php is /phpBB/Movies/index.php and not /phpBB/Movies/page.php * All pages in a sub directory relative to /phpBB/index.php is a child route of /phpBB/index.php. So /phpBB/Movies/index.php and /phpBB/Movies/page.php are all children of /phpBB/index.php and will therefore inherit its blocks if they do not have blocks of their own. In this case: * When a block on /phpBB/index.php is set to display on **Hide on child routes**, the block will show on /phpBB/index.php (parent route) but not on its child routes * When a block on /phpBB/index.php is set to display on **Show on child routes only**, it will display on /phpBB/Movies/index.php and /phpBB/Movies/page.php (child routes) but not on /phpBB/index.php (parent), nor /phpBB/Movies/Comedy/index.php (we only go one level deep) * When a block on /phpBB/index.php is set to display **always** (default), it will display on /phpBB/index.php (parent), /phpBB/Movies/index.php and /phpBB/page.php (child routes) but not on /phpBB/Movies/Comedy/index.php (we only go one level deep). In this case, /phpBB/Movies/Comedy/index.php will inherit from the default route (if it exists) + +## Posible Future State + +I'm really interested in your feedback in this area. Most phpBB users will not have real directories as outlined above. So I'm thinking of using the structure that is defined in a menu block as a virtual directory structure and apply this parent/child inheritance to it. I'm also considering going beyond one level deep. Please let me know if this will be useful to you. \ No newline at end of file diff --git a/docs/website/translated_docs/he/blocks-managing.md b/docs/website/translated_docs/he/blocks-managing.md new file mode 100644 index 000000000000..a2f385077835 --- /dev/null +++ b/docs/website/translated_docs/he/blocks-managing.md @@ -0,0 +1,38 @@ +--- +id: blocks-managing +title: Managing Blocks +--- + +To manage blocks in phpBB SiteMaker, you must be in [Edit Mode](./blocks-overview#edit-mode). + +> When a block does not display any content, it will not be displayed, except in edit mode. That way, you can either give it content (in the case of the Custom block) or change its settings. +> +> In edit mode, the somewhat transparent blocks are blocks that will otherwise not be displayed but are only being displayed because we are in edit mode + +## Adding blocks + +You can add blocks to any front-facing page, except the User Control Panel and Moderator Control Panel pages. To add a block, you will need to: * click on **Blocks** in the Admin bar. This will display a list of available blocks * Drag and drop the desired block to any block position + +## Editing blocks + +### Adding a block icon + +To the left of the block title (prosilver), there is a box for the block icon. Click on this box to get the icon picker. You can select the icon size, color, float, rotation, etc. + +### Editing the Block Title + +phpBB SiteMaker blocks will have a default, translated title but if the title does not meet your needs, you can change it. To edit the block title, * Click on the block title to get an inline edit form * Change the title to whatever you want * Remove focus from the field or hit enter to submit changes + +> Your modified block title is not translated +> +> To revert to the default title, simple delete the title and hit enter + +### Editing block settings + +When you hover over a block, a cog icon will appear to the right of the block that can be used to edit the block. In the edit block dialog, you can: - Enable/disable a block [Status] - Choose when the block should/should not be displayed [Display]. This only applies in cases where you have nested pages (see [Understanding Block Inheritance](./blocks-inheritance.md)): - **Always**: Always display the block - **Hide on child routes**: Only show this block on the parent route - **Show on child routes only**: Only show this block on a child route - Choose which groups of users can view the block [Viewable by]. Use CTRL + click to select multiple groups. - Set custom classes to modify the appearance of the block or items (lists, images, background, etc) within the block [CSS Class] - Show/hide the block title [Hide block title?] - Select the block view [Block view]. You can select a default block view when new blocks are added in ACP. - **Default / Simple**: uses the prosilver panel class to wrap the block in a padded container - **Basic**: block does not have any container wrapping it - **Boxed**: uses the prosilver forabg class to wrap the block in a box - Set / Update block specific settings - If you have the same block with same settings across multiple pages, you can update all of them at once by checking the **Update blocks with similar settings** + +## Deleting blocks + +- Hover over the block you'd like to delete +- Click on the **x** icon and confirm that you wish to delete the block +- Go up to the admin bar and click on `Save Changes` \ No newline at end of file diff --git a/docs/website/translated_docs/he/blocks-overview.md b/docs/website/translated_docs/he/blocks-overview.md new file mode 100644 index 000000000000..251efb9bfd8a --- /dev/null +++ b/docs/website/translated_docs/he/blocks-overview.md @@ -0,0 +1,10 @@ +--- +id: blocks-overview +title: What are blocks? +--- + +At the heart of phpBB SiteMaker is the concept of blocks. Blocks are little pieces of content that you can place in different pre-defined areas (block positions) on your site. The blocks will typically have settings that you can set/change to fine-tune the content that you wish to display. Most blocks, but not all, will make database queries to get the desired content. So let's not get too crazy :). To manage blocks, you will need to switch to "edit mode". + +## Edit Mode + +Switch to edit mode by clicking on the pencil icon on the top right of your site. This will display the "Admin bar" with "Blocks" and "Settings" menu items. This is referred to as being in 'edit mode'. \ No newline at end of file diff --git a/docs/website/translated_docs/he/blocks-views.md b/docs/website/translated_docs/he/blocks-views.md new file mode 100644 index 000000000000..a6b7ec57e9ab --- /dev/null +++ b/docs/website/translated_docs/he/blocks-views.md @@ -0,0 +1,6 @@ +--- +id: blocks-views +title: Block Views +--- + +Work in progress... \ No newline at end of file diff --git a/docs/website/translated_docs/he/contrib-overview.md b/docs/website/translated_docs/he/contrib-overview.md new file mode 100644 index 000000000000..d32a77ff101d --- /dev/null +++ b/docs/website/translated_docs/he/contrib-overview.md @@ -0,0 +1,11 @@ +--- +id: contrib-overview +title: Get Involved +--- + +phpBB SiteMaker is an open source project and welcomes your ideas and contributions. So feel free to get involved. You can contribute to this project by: + +* [Providing Support/Feedback](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Reporting Bugs](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Helping with Translation](./contrib-translators.md) +* [Fixing bugs or adding features](./contrib-pull-requests.md) \ No newline at end of file diff --git a/docs/website/translated_docs/he/contrib-pull-requests.md b/docs/website/translated_docs/he/contrib-pull-requests.md new file mode 100644 index 000000000000..a7351ca23f5f --- /dev/null +++ b/docs/website/translated_docs/he/contrib-pull-requests.md @@ -0,0 +1,76 @@ +--- +id: contrib-pull-requests +title: Submitting a Pull Request +sidebar_label: Pull Requests +--- + +`Pull requests let you tell others about changes you've pushed to a branch in a repository on GitHub. Once a pull request is opened, you can discuss and review the potential changes with collaborators and add follow-up commits before your changes are merged into the base branch.` [Read more](https://help.github.com/articles/about-pull-requests/) + +## Forking/Cloning + +* Create a github account if you don't already have one +* Go to https://github.com/blitze/phpBB-ext-sitemaker.git and click on "Fork" + +Clone your fork of the repository: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +From command line go to sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + + +**Configure git:** + +Add your Username to Git on your system: + + git config --global user.name "Your Name Here" + + +Add your E-mail address to Git on your system: + + git config --add user.email username@phpbb.com + + +Add the upstream remote (you can change ‘upstream’ to whatever you like): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + + +**Install vendors** + + composer install + + +**Install NPM packages** + + npm install + + +Alternatively you may use [yarn](https://yarnpkg.com): + + yarn install + + +## Pull Requests + + # Create a new branch for your feature & switch to it + git checkout -b feature/my-fancy-new-feature + + # create a new branch for the issue you are working on * switch to it (ticket # is from github tracker) + git checkout -b ticket/1234 + + +Make your changes + + # Stage the files + git add + + # Commit staged files - please use a correct commit message + git commit -m "my commit message" + + +Push the branch back to GitHub git push origin feature/my-fancy-new-feature + +Submit a [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) \ No newline at end of file diff --git a/docs/website/translated_docs/he/contrib-translators.md b/docs/website/translated_docs/he/contrib-translators.md new file mode 100644 index 000000000000..5f14593015ba --- /dev/null +++ b/docs/website/translated_docs/he/contrib-translators.md @@ -0,0 +1,17 @@ +--- +id: contrib-translators +title: Translators +--- + +We need help translating this extension, as well as its documentation. We have created a project on Crowdin to ease translations. Crowdin gives you a translation interface that's second to none. You can contribute how ever you want but we really recommend using Crowdin. + +> Crowdin is a localization management platform that helps companies to translate their software. You can read more about Crowdin [here](https://support.crowdin.com/crowdin-intro/) + +If you are willing to contribute with translations, you will need: + +* A [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) account. +* Chose the target language if exist otherwise request to be enabled. + +If your desired language is not listed, please [contact me](https://crowdin.com/profile/blitze) and I will add it. + +[Start Translating](https://crowdin.com/project/phpbb-ext-sitemaker) \ No newline at end of file diff --git a/docs/website/translated_docs/he/developer-events.md b/docs/website/translated_docs/he/developer-events.md new file mode 100644 index 000000000000..562c7bed6fd4 --- /dev/null +++ b/docs/website/translated_docs/he/developer-events.md @@ -0,0 +1,120 @@ +--- +id: developer-events +title: phpBB SiteMaker Events +--- + +You can modify the behavior of phpBB SiteMaker using phpBB's event system. + +## PHP Events + +# blitze.sitemaker.acp_add_bulk_menu_options + +- Location: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Since: 3.1.0 +- Purpose: Add bulk menu options in acp menu + +# blitze.sitemaker.acp_display_settings_form + +- Location: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Since: 3.1.0 +- Purpose: display acp (sitemaker) settings form + +# blitze.sitemaker.acp_save_settings + +- Location: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Since: 3.1.0 +- Purpose: Save acp (sitemaker) settings + +# blitze.sitemaker.admin_bar.set_assets + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Since: 3.0.1-RC1 +- Purpose: Add assets for available blocks in edit mode + +# blitze.sitemaker.modify_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Since: 3.0.1-RC1 +- Purpose: Modify block positions + +# blitze.sitemaker.modify_rendered_block + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Since: 3.0.1-RC1 +- Purpose: Modify a rendered block + +## Template Events + +# blitze_sitemaker_acp_settings + +- Location: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Since: 3.1.0 +- Purpose: Add form fields for sitemaker settings + +# blitze_sitemaker_admin_bar_append + +- Location: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Since: 3.1.0 +- Purpose: Add menu items to admin bar + +# blitze_sitemaker_admin_bar_templates + +- Location: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Since: 3.1.0 +- Purpose: Add template files to be used in JS for block views, etc + +## Javascript Events + +# blitze_sitemaker_layout_saved + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout changes are saved + +# blitze_sitemaker_render_block_before + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something before block is rendered or prevent it from being re-rendered + +# blitze_sitemaker_render_block_after + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something after block is rendered + +# blitze_sitemaker_save_block_before + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to modify block data before it is saved + +# blitze_sitemaker_show_all_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when all block positions are shown + +# blitze_sitemaker_hide_empty_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when empty positions are hidden + +# blitze_sitemaker_layout_cleared + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout is cleared + +# blitze_sitemaker_layout_updated + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout is updated + +# blitze_sitemaker_tinymce_options + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Since: 3.3.0 +- Purpose: Event to allow other extensions to modify tinymce options \ No newline at end of file diff --git a/docs/website/translated_docs/he/developer-extensions.md b/docs/website/translated_docs/he/developer-extensions.md new file mode 100644 index 000000000000..fc9e22ad6904 --- /dev/null +++ b/docs/website/translated_docs/he/developer-extensions.md @@ -0,0 +1,177 @@ +--- +id: developer-extensions +title: Extending phpBB SiteMaker +--- + +You can extend/modify phpBB SiteMaker using [service replacement](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [service decoration](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), and [phpBB's event system](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). You can find a list of supported events [here](./developer-events.md). + +## Creating a SiteMaker block + +A phpBB SiteMaker block is simply a class that extends the blitze\sitemaker\services\blocks\driver\block class and returns an array from the "display" method with a 'title' and 'content'. Everything else inbetween is up to you. To make your block discoverable by phpBB SiteMaker, you'll need to give it the "sitemaker.block" tag. + +Say we have an extension with vendor/extension as my/example. To create a block called "my_block" for phpBB SiteMaker: + +- Create a "blocks" folder +- Create my_block.php file in the blocks folder with the following content + +```php +namespace my\example\blocks; + +use blitze\sitemaker\services\blocks\driver\block; + +class my_block extends block +{ + /** + * {@inheritdoc} + */ + public function display(array $settings, $edit_mode = false) + { + return array( + 'title' => 'my block title', + 'content' => 'my block content', + ); + } +} +``` + +Then in your config.yml file, add the following: + +```yml +services: + + ... + + my.example.block.my_block: + class: my\example\blocks\my_block + calls: + - [set_name, [my.example.block.my_block]] + tags: + - { name: sitemaker.block } + + .... + +``` + +At a bare minimum, that's all you need. If you go into edit mode, you should see the block listed as 'MY_EXAMPLE_BLOCK_MY_BLOCK' that can be dragged and dropped on any block position. But this block doesn't do anything exciting. It has no settings and does not translate the block name. Let's make it more interesting. + +### Block Settings + +Let's modify our blocks/my_block.php file and add a "get_config" method th at returns an array with the keys being the block settings and the values being an array describing the settings like so: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Only show when option 1 is selected
'), + ); + } +``` + +This is constructed the same way that phpBB builds the configuration for board settings in ACP. You can see more examples [here](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +If you want a custom field type, you can see an example [here](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' setting). + +Notice 'legend1' and 'legend2': These are used to separate the settings into tabs. + +### Naming Blocks + +The convention for block names is that the service name (e.g my.example.block.my*block above) will be used as the language key by replacing the dots (.) with underscore (*) (e.g MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Translation + +Also notice that we have several language keys that need to be translated. To do this, create a file named "blocks_admin.php" in your language folder. This file will be automatically loaded when editing blocks, and should have translations for your blocks settings and block names. + + $lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Option 1', + 'OTHER_LANG_VAR' => 'Option 2', + 'SOME_LANG_VAR_1' => 'Setting 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'My Block', + ); + + +Because 'blocks_admin.php' is only loaded when editing blocks, you will need to add other translations (e.g. block title) by loading a language file in your display method like so `$language->add_lang('my_lang_file', 'my/example');` + +### Rendering the block + +The new block will only be displayed if it is rendering something. Your block can return any string as content but in most cases, you need a template to render your content. To render your block using templates, the block must return an array that holds the data that you want to pass to the template and must also implement the `get_template` method as demonstrated below: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block.html'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // do something only in edit mode + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); + } +``` + +Then your styles/all/my_block.html or styles/prosilver/my_block.html file might look something like this: + +

You selected: {{ some_var }}

+ + +In summary, your block must return an array with a `title` key (for the block title) and a `content` key (if the block just displays a string and does not use a template) or a `data` key (if the block uses a template, in which case, you will also need to implement the `get_template` method). + +### Block Assets + +If your block needs to add assets (css/js) to the page, I recommend using the sitemaker [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) for that. Since there can be more than one instance of the same block on the page, or other blocks might be adding the same asset, the util class ensures that the asset is only added ones. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some.js', + 100 => '@my_example/assets/other.js', // set priority + ), + 'css' => array( + '@my_example/assets/some.css', + ) + )); +``` + +The util class will, of course, need to be added to your service definitions in config.yml like so: `- '@blitze.sitemaker.util'` and defined in your block's constructor `\blitze\sitemaker\services\util $util`. + +And that's it. We're done! \ No newline at end of file diff --git a/docs/website/translated_docs/he/developer-theming.md b/docs/website/translated_docs/he/developer-theming.md new file mode 100644 index 000000000000..8f76e7c40ddd --- /dev/null +++ b/docs/website/translated_docs/he/developer-theming.md @@ -0,0 +1,55 @@ +--- +id: developer-theming +title: Theming +--- + +phpBB SiteMaker comes with styles and colors made for prosilver. You can overwrite CSS, JS, and HTML files by creating the corresponding file in your style's folder. + +# Creating JS/CSS files for your style + +Note: * For the purpose of the below instructions we will assume that you have a style called my-style. + +Clone into phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +From command line go to sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + + +**Install vendors** + + composer install + + +**Install packages** + +For the below commands you can use npm or [yarn](https://yarnpkg.com) + + yarn install + + +**Watch Changes** + + yarn start --theme my-style + + +**Make Changes** + +* Make your changes to files in the phpBB/ext/blitze/sitemaker/develop folder. +* Look at phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss for sass variables + +**Build Assets** + + yarn build --theme my-style + + +**Deploy** + +You can now copy the generated files from phpBB/ext/blitze/sitemaker/styles/my-style and uploaded them to your production server. + +> This extension uses jQuery UI for tabs, dialogs and buttons. The default jQuery theme is 'smoothness.' You can use a different jQuery UI theme that best fits your theme. You can specify the jQuery UI theme using the flag --jq_ui_theme. For example: + + yarn build --theme my-style --jq_ui_theme ui-lightness \ No newline at end of file diff --git a/docs/website/translated_docs/he/filemanager.md b/docs/website/translated_docs/he/filemanager.md new file mode 100644 index 000000000000..08caa9b8029e --- /dev/null +++ b/docs/website/translated_docs/he/filemanager.md @@ -0,0 +1,34 @@ +--- +id: filemanager +title: Responsive Filemanager +--- + +As of version 3.1.0, phpBB SiteMaker supports the [Responsive Filemanager](http://responsivefilemanager.com) + +* The file manager is used as a TinyMCE pluging (WYSIWYG editor) when editing custom blocks +* It is currently configured to creat separate folders for each user, except the user with a_sm_filemanager permission (Can see/manage other users' folders), which allows them access to view/manage all upload folders. + +## Installation + +* Download the [Responsive FileManager](http://responsivefilemanager.com/index.php#sthash.5UrnhjX2.dpbs) +* Extract it, and upload the files to your phpBB root folder. The file structure should be as below: + +```text +phpBB +├── images/ +├── includes/ +├── ... +└── ResponsiveFilemanager/ + └── filemanager/ + └── config/ + ├── .htaccess + └── config.php +``` + +## Activation + +* Go to ACP > Extensions > SiteMaker > Settings +* Enable File Manager feature +* Save changes +* Update user permissions (Misc tab) to determine who can use this feature [Can use File Manager] +* Update admin permissions (Misc tab) to determine who can manager user folders [Can see/manage other users’ folders in File Manager] \ No newline at end of file diff --git a/docs/website/translated_docs/he/installation.md b/docs/website/translated_docs/he/installation.md new file mode 100644 index 000000000000..298f90a9e5c0 --- /dev/null +++ b/docs/website/translated_docs/he/installation.md @@ -0,0 +1,18 @@ +--- +id: installation +title: Installing / Upgrading +--- + +Download the extension from [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker + +* Extract and upload it to your phpBB/ext/ folder so you have phpBB/ext/blitze/sitemaker +* Go to "ACP" > "Customise" > "Extensions" and enable the "phpBB Sitemaker" extension. + +## Upgrading phpBB SiteMaker + +* Create a backup of your database just in case something goes wrong +* Go to "ACP" > "Customise" > "Extensions" and disable (do not purge) "phpBB Sitemaker" +* Download and extract the latest version of phpBB SiteMaker and upload it to your phpBB/ext/ folder (overwrite) +* Go to "ACP" > "Customise" > "Extensions" and enable the "phpBB Sitemaker" extension. \ No newline at end of file diff --git a/docs/website/translated_docs/he/introduction.md b/docs/website/translated_docs/he/introduction.md new file mode 100644 index 000000000000..ff5a07cb2614 --- /dev/null +++ b/docs/website/translated_docs/he/introduction.md @@ -0,0 +1,6 @@ +--- +id: introduction +title: Introduction +--- + +phpBB SiteMaker seeks to transform your phpBB board into a CMS/portal. It does so by providing you with blocks and menus to help you customize your site to your liking. There are or will be other SiteMaker extensions that provide additional functionality to meet this goal. It also allows you to define a landing page when your site is accessed. So if you don't want visitors to your site to immediately see the phpBB forum when they go to www.your-site.com, you can define your own start page. \ No newline at end of file diff --git a/docs/website/translated_docs/he/menus-display.md b/docs/website/translated_docs/he/menus-display.md new file mode 100644 index 000000000000..795985e02a3c --- /dev/null +++ b/docs/website/translated_docs/he/menus-display.md @@ -0,0 +1,18 @@ +--- +id: menus-display +title: Displaying Menus +--- + +Now that you have create your menus, you can display them in several ways: + +## Links Block + +You can use this block to display a flat or nested list of menu items. This block is not intended to be used for navigation i.e. it will not show a current page or anything like that. It is intended for a list of items, including external links. + +## Menus Block + +This block is intended for site navigation. It does some additional computations to determine current location and is not intended to be a very large list. + +## Navigation bar + +Similar to the Menus block, the navigation bar will display menu items as a responsive dropdown menu intended for site navigation. You can enable this in ACP > Extensions > Sitemaker > Settings > Select menu \ No newline at end of file diff --git a/docs/website/translated_docs/he/menus-managing-items.md b/docs/website/translated_docs/he/menus-managing-items.md new file mode 100644 index 000000000000..e63160278c4c --- /dev/null +++ b/docs/website/translated_docs/he/menus-managing-items.md @@ -0,0 +1,30 @@ +--- +id: menus-managing-items +title: Managing Menu Items +--- + +Your menu is useless unless it has menu items. You can add menu items that point to local or external files. + +> The URL for external sites must begin with http(s)://, ftp://, //, etc. +> +> You can create a divider by entering '-' as the item title + +## Adding Menu items + +You can add menu items one item at a time, or you can add multiple menu items at ones. + +### Adding single menu items + +To add a single menu item, * click on the `Add Menu Item` button * Fill in the required information and hit `Save` + +### Adding multiple items + +To add multiple menu items at once, * Click on the ▼ icon next to `Add Menu Item` * You can manually add items by placing each item on a new line and using the tab character nest items or * You can click on one of the provided options at the bottom of the textarea to automatically fill in the menu items + +## Reorder the menu items + +You can drag and drop the menu items up/down to set their display order, or drag them left/right to set the desired hierarchy. + +## Rebuilding the menu items + +If you find that the menu items are not displaying correctly, click on the `Rebuild Tree` button to rebuild the menu items. \ No newline at end of file diff --git a/docs/website/translated_docs/he/menus-managing.md b/docs/website/translated_docs/he/menus-managing.md new file mode 100644 index 000000000000..5be36cddb83a --- /dev/null +++ b/docs/website/translated_docs/he/menus-managing.md @@ -0,0 +1,22 @@ +--- +id: menus-managing +title: Managing Menus +--- + +You can create menus in ACP that you can then display using the Menus or the Links blocks or displayed as a horizontal navbar. + +## Managing Menus + +To manage menus, go to ACP > Extensions > Sitemaker > Menu + +### Creating Menus + +To create a new menu (group), click on the `Add Menu` button. A new menu group will be created with a randomly generated name. The new menu will also be selected so you can begin adding menu items to it. + +### Editing Menus + +If you want a more meaningful menu name, * hover over the menu name and click on the cog icon * enter the new menu name and hit enter to update it + +### Deleting Menus + +To delete a menu, and its items, * Hover over the menu name and click on the **x** icon * If the menu item has no child items, you will need to confirm your choice to delete the item * If the menu item has child items, you will need to indicate if you want to delete only the item and move its children up or if you want to delete the entire branch \ No newline at end of file diff --git a/docs/website/translated_docs/he/site-block-modifiers.md b/docs/website/translated_docs/he/site-block-modifiers.md new file mode 100644 index 000000000000..4712e963c3a2 --- /dev/null +++ b/docs/website/translated_docs/he/site-block-modifiers.md @@ -0,0 +1,6 @@ +--- +id: site-block-modifiers +title: Customizing Blocks Display +--- + +Work in progress... \ No newline at end of file diff --git a/docs/website/translated_docs/he/site-default-layout.md b/docs/website/translated_docs/he/site-default-layout.md new file mode 100644 index 000000000000..247f9e388692 --- /dev/null +++ b/docs/website/translated_docs/he/site-default-layout.md @@ -0,0 +1,10 @@ +--- +id: site-default-layout +title: Setting a Default Layout +--- + +When you add a block, it is added to that specific page. It would, therefore, be a tedious task to set blocks for all the pages on your site. You can set all the desired blocks for a particular page, then set that page as the default layout. In others words, any page that does not have its own blocks, will inherit blocks from this page. + +To set a default layout * Go to the page that you'd like to set as default layout * Click on `Settings` in the admin bar * Click the `Set as default layout` button + +Say we add blocks to a page (phpBB/index.php) with blocks in the sidebar and top positions, for example, and set it as our default layout. This has the following effects for other pages: * Any page that does not have its own blocks, will inherit the blocks from the default layout. See [Understanding Block Inheritance](./blocks-inheritance.md) for exceptions. * You may still inherit blocks from a default layout (index.php) but choose to not display blocks on some block positions or not display any blocks at all. To do this, * Go to the page that you don't want all/some blocks to display * Click on `Settings` in the admin bar * Select `Do not show blocks on this page` if you don't want to inherit/display any blocks on this page OR * Use CTRL + click to select the block positions (on the right) that you do not want to display blocks on * In `edit mode`, a page that inherits blocks from the default layout, will not show any blocks, giving you the opportunity to add blocks to the page if you want to * Any page that has its own blocks will not inherit from the default layout \ No newline at end of file diff --git a/docs/website/translated_docs/he/site-layouts.md b/docs/website/translated_docs/he/site-layouts.md new file mode 100644 index 000000000000..fd4b6d625602 --- /dev/null +++ b/docs/website/translated_docs/he/site-layouts.md @@ -0,0 +1,20 @@ +--- +id: site-layouts +title: Layouts +--- + +"Layouts" determine the available block positions and how they are displayed. + +## Block Positions + +Block positions are predefined areas on your site where blocks can exist. The available block positions are determined by the template style that you are using. For prosilver, phpBB SiteMaker comes with the following block positions: * panel: full width across the top * sidebar: left/right depending on layout below * subcontent: similar to sidebar just larger * top_hor: horizontal blocks across the top, flanking above sidebar/subcontent depending on layout * top: above main content * box: equal width, horizontal blocks below main content * bottom: below main content * bottom_hor: horizontal blocks across the bottom, flanking the sidebar/subcontent depending on layout * footer: horizontal blocks in the footer You can add more block positions in your own style templates by copying and modifying the corresponding phpBB SiteMaker templates + +## Site Layout + +You can choose the layout for your site in ACP (Extensions > Sitemaker > Settings): * **Blog**: subcontent and sidebar next to each other, pushed to the right, top_hor/botom_hor flank subcontent * **Holy Grail**: equal width sidebar and subcontent on opposite sides, top_hor/botom_hor flank subcontent * **Portal**: sidebar on left, subcontent on the right, top_hor/botom_hor flank subcontent * **Portal Alt**: subcontent on left, sidebar on the right, top_hor/botom_hor flank sidebar * **Custom**: Manually set the width of the sidebars as px, %, em or rem. Defaults to 200px on each side + +## Custom templates/styles + +As much as possible, we tried to put template files and assets in styles/all/ folder so that you can overwrite them by creating a file with same name under your own template theme e.g. prosilver. So if you want to modify how a certain block displays or if you want to create your own layout with your own block positions, you simply need to create a file with the same name and path as the original in your own style. + +If you need to customize CSS/JS files, take a look at the [theming](./developer-theming.md) section. \ No newline at end of file diff --git a/docs/website/translated_docs/he/site-navbar.md b/docs/website/translated_docs/he/site-navbar.md new file mode 100644 index 000000000000..edffeefdd49d --- /dev/null +++ b/docs/website/translated_docs/he/site-navbar.md @@ -0,0 +1,6 @@ +--- +id: site-navbar +title: Navigation Bar +--- + +See [Displaying Menus](./menus-display#navigation-bar) \ No newline at end of file diff --git a/docs/website/translated_docs/he/site-startpage.md b/docs/website/translated_docs/he/site-startpage.md new file mode 100644 index 000000000000..95b0b046cca0 --- /dev/null +++ b/docs/website/translated_docs/he/site-startpage.md @@ -0,0 +1,8 @@ +--- +id: site-startpage +title: Setting a Start Page +--- + +phpBB SiteMaker allows you to choose any front controller (pages accessed via app.php/...) as your default start page (the page that will be shown when someone visits your site) instead of the board index. + +To do this: * Go to the page that you want to set as default start page * Click on `Settings` in the admin bar. If it is an eligible page, you will see a `Set as start page` button * Click on the `Set as start page` button \ No newline at end of file diff --git a/docs/website/translated_docs/hr/blocks-custom.md b/docs/website/translated_docs/hr/blocks-custom.md new file mode 100644 index 000000000000..41d4365d553d --- /dev/null +++ b/docs/website/translated_docs/hr/blocks-custom.md @@ -0,0 +1,24 @@ +--- +id: blocks-custom +title: Custom Block +--- + +If the available blocks do not give you the freedom you need, there is the `Custom Block` which allows you the freedom to display your own content using BBcode or HTML. The block comes with a WYSIWYG editor (TinyMCE) and a scripts manager: + +## The editor + +- You can use the editor to create HTML content +- You can edit the source code if you need that level of control by clicking on the `Source code` icon (`<>`) in the editor +- The editor allows you to upload and modify images + - It creates a new folder in phpBB/images/sitemaker_uploads/ for every user who has access to it + - You can view/manage all user folders +- The editor filters out any potentially dangerous scripts like javascript, etc. If you need to add content like google ads, the javascript will be filtered out, but you can get around that by doing the following: + - Add the Custom Block to desired location + - Edit the Custom Block, click on the `HTML` tab and paste your Javascript + +## The Scripts Manager + +The Custom Block also allows you to add custom CSS and Javascript files to your page. To do this: + +- Add a `Custom Block` to any block position. The position does not matter unless you are also displaying content with the block +- Edit the block, click on the `Scripts` tab and add your CSS or Javascript files > Word of caution though: Adding to many scripts on your page can affect load times \ No newline at end of file diff --git a/docs/website/translated_docs/hr/blocks-inheritance.md b/docs/website/translated_docs/hr/blocks-inheritance.md new file mode 100644 index 000000000000..7128c0ffbcd9 --- /dev/null +++ b/docs/website/translated_docs/hr/blocks-inheritance.md @@ -0,0 +1,44 @@ +--- +id: blocks-inheritance +title: Understanding Block Inheritance +--- + +We have already seen that by setting a default layout, other pages that do not have blocks of their own will inherit the blocks from the default layout. There is, however, another type of block inheritance. + +## Parent/Child Routes + +In phpBB SiteMaker, we speak of nested routes in terms of real nested (sub) directories or virtually nested paths/routes. Please stay with me :). * Real Parent/Child routes: For example, the path /some_directory/sub_directory/index.php is a child of /some_directory/index.php * Virtual Parent/Child routes: For example, viewtopic.php is treated as a child of viewforum.php. + +Here are some examples of parent/child routes: + +| Parent | Child | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/my-article | + +## Parent/Child Block Inheritance + +For parent/child routes, the child route inherits the blocks of the parent route (if the parent has its own blocks) or from the default layout (if one has been set). In other words, even if there is a default layout, the child route will inherit blocks from its parent route if the parent route has its own blocks. But not all blocks from the parent route must be inherited. + +## Controlling Block Inheritance + +At a block level, you can control when a block can be inherited by child routes. We touched on this earlier in the [Editing Block Settings](./blocks-managing#editing-block-settings). + +Consider the following real directory structure: + +```text +phpBB +├── index.php +└── Movies/ + ├── index.php + ├── page.php + └── Comedy/ + └── index.php +``` + +For the purposes of inheriting blocks, we say: * The parent route of /phpBB/Movies/Comedy/index.php is /phpBB/Movies/index.php and not /phpBB/Movies/page.php * All pages in a sub directory relative to /phpBB/index.php is a child route of /phpBB/index.php. So /phpBB/Movies/index.php and /phpBB/Movies/page.php are all children of /phpBB/index.php and will therefore inherit its blocks if they do not have blocks of their own. In this case: * When a block on /phpBB/index.php is set to display on **Hide on child routes**, the block will show on /phpBB/index.php (parent route) but not on its child routes * When a block on /phpBB/index.php is set to display on **Show on child routes only**, it will display on /phpBB/Movies/index.php and /phpBB/Movies/page.php (child routes) but not on /phpBB/index.php (parent), nor /phpBB/Movies/Comedy/index.php (we only go one level deep) * When a block on /phpBB/index.php is set to display **always** (default), it will display on /phpBB/index.php (parent), /phpBB/Movies/index.php and /phpBB/page.php (child routes) but not on /phpBB/Movies/Comedy/index.php (we only go one level deep). In this case, /phpBB/Movies/Comedy/index.php will inherit from the default route (if it exists) + +## Posible Future State + +I'm really interested in your feedback in this area. Most phpBB users will not have real directories as outlined above. So I'm thinking of using the structure that is defined in a menu block as a virtual directory structure and apply this parent/child inheritance to it. I'm also considering going beyond one level deep. Please let me know if this will be useful to you. \ No newline at end of file diff --git a/docs/website/translated_docs/hr/blocks-managing.md b/docs/website/translated_docs/hr/blocks-managing.md new file mode 100644 index 000000000000..7003f206e075 --- /dev/null +++ b/docs/website/translated_docs/hr/blocks-managing.md @@ -0,0 +1,38 @@ +--- +id: blocks-managing +title: Mananaging Blocks +--- + +To manage blocks in phpBB SiteMaker, you must be in [Edit Mode](./blocks-overview#edit-mode). + +> When a block does not display any content, it will not be displayed, except in edit mode. That way, you can either give it content (in the case of the Custom block) or change its settings. +> +> In edit mode, the somewhat transparent blocks are blocks that will otherwise not be displayed but are only being displayed because we are in edit mode + +## Adding blocks + +You can add blocks to any front-facing page, except the User Control Panel and Moderator Control Panel pages. To add a block, you will need to: * click on **Blocks** in the Admin bar. This will display a list of available blocks * Drag and drop the desired block to any block position + +## Editing blocks + +### Adding a block icon + +To the left of the block title (prosilver), there is a box for the block icon. Click on this box to get the icon picker. You can select the icon size, color, float, rotation, etc. + +### Editing the Block Title + +phpBB SiteMaker blocks will have a default, translated title but if the title does not meet your needs, you can change it. To edit the block title, * Click on the block title to get an inline edit form * Change the title to whatever you want * Remove focus from the field or hit enter to submit changes + +> Your modified block title is not translated +> +> To revert to the default title, simple delete the title and hit enter + +### Editing block settings + +When you hover over a block, a cog icon will appear to the right of the block that can be used to edit the block. In the edit block dialog, you can: - Enable/disable a block [Status] - Choose when the block should/should not be displayed [Display]. This only applies in cases where you have nested pages (see [Understanding Block Inheritance](./blocks-inheritance.md)): - **Always**: Always display the block - **Hide on child routes**: Only show this block on the parent route - **Show on child routes only**: Only show this block on a child route - Choose which groups of users can view the block [Viewable by]. Use CTRL + click to select multiple groups. - Set custom classes to modify the appearance of the block or items (lists, images, background, etc) within the block [CSS Class] - Show/hide the block title [Hide block title?] - Select the block view [Block view]. You can select a default block view when new blocks are added in ACP. - **Default / Simple**: uses the prosilver panel class to wrap the block in a padded container - **Basic**: block does not have any container wrapping it - **Boxed**: uses the prosilver forabg class to wrap the block in a box - Set / Update block specific settings - If you have the same block with same settings across multiple pages, you can update all of them at once by checking the **Update blocks with similar settings** + +## Deleting blocks + +- Hover over the block you'd like to delete +- Click on the **x** icon and confirm that you wish to delete the block +- Go up to the admin bar and click on `Save Changes` \ No newline at end of file diff --git a/docs/website/translated_docs/hr/blocks-overview.md b/docs/website/translated_docs/hr/blocks-overview.md new file mode 100644 index 000000000000..251efb9bfd8a --- /dev/null +++ b/docs/website/translated_docs/hr/blocks-overview.md @@ -0,0 +1,10 @@ +--- +id: blocks-overview +title: What are blocks? +--- + +At the heart of phpBB SiteMaker is the concept of blocks. Blocks are little pieces of content that you can place in different pre-defined areas (block positions) on your site. The blocks will typically have settings that you can set/change to fine-tune the content that you wish to display. Most blocks, but not all, will make database queries to get the desired content. So let's not get too crazy :). To manage blocks, you will need to switch to "edit mode". + +## Edit Mode + +Switch to edit mode by clicking on the pencil icon on the top right of your site. This will display the "Admin bar" with "Blocks" and "Settings" menu items. This is referred to as being in 'edit mode'. \ No newline at end of file diff --git a/docs/website/translated_docs/hr/blocks-views.md b/docs/website/translated_docs/hr/blocks-views.md new file mode 100644 index 000000000000..a6b7ec57e9ab --- /dev/null +++ b/docs/website/translated_docs/hr/blocks-views.md @@ -0,0 +1,6 @@ +--- +id: blocks-views +title: Block Views +--- + +Work in progress... \ No newline at end of file diff --git a/docs/website/translated_docs/hr/contrib-overview.md b/docs/website/translated_docs/hr/contrib-overview.md new file mode 100644 index 000000000000..d32a77ff101d --- /dev/null +++ b/docs/website/translated_docs/hr/contrib-overview.md @@ -0,0 +1,11 @@ +--- +id: contrib-overview +title: Get Involved +--- + +phpBB SiteMaker is an open source project and welcomes your ideas and contributions. So feel free to get involved. You can contribute to this project by: + +* [Providing Support/Feedback](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Reporting Bugs](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Helping with Translation](./contrib-translators.md) +* [Fixing bugs or adding features](./contrib-pull-requests.md) \ No newline at end of file diff --git a/docs/website/translated_docs/hr/contrib-pull-requests.md b/docs/website/translated_docs/hr/contrib-pull-requests.md new file mode 100644 index 000000000000..a7351ca23f5f --- /dev/null +++ b/docs/website/translated_docs/hr/contrib-pull-requests.md @@ -0,0 +1,76 @@ +--- +id: contrib-pull-requests +title: Submitting a Pull Request +sidebar_label: Pull Requests +--- + +`Pull requests let you tell others about changes you've pushed to a branch in a repository on GitHub. Once a pull request is opened, you can discuss and review the potential changes with collaborators and add follow-up commits before your changes are merged into the base branch.` [Read more](https://help.github.com/articles/about-pull-requests/) + +## Forking/Cloning + +* Create a github account if you don't already have one +* Go to https://github.com/blitze/phpBB-ext-sitemaker.git and click on "Fork" + +Clone your fork of the repository: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +From command line go to sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + + +**Configure git:** + +Add your Username to Git on your system: + + git config --global user.name "Your Name Here" + + +Add your E-mail address to Git on your system: + + git config --add user.email username@phpbb.com + + +Add the upstream remote (you can change ‘upstream’ to whatever you like): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + + +**Install vendors** + + composer install + + +**Install NPM packages** + + npm install + + +Alternatively you may use [yarn](https://yarnpkg.com): + + yarn install + + +## Pull Requests + + # Create a new branch for your feature & switch to it + git checkout -b feature/my-fancy-new-feature + + # create a new branch for the issue you are working on * switch to it (ticket # is from github tracker) + git checkout -b ticket/1234 + + +Make your changes + + # Stage the files + git add + + # Commit staged files - please use a correct commit message + git commit -m "my commit message" + + +Push the branch back to GitHub git push origin feature/my-fancy-new-feature + +Submit a [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) \ No newline at end of file diff --git a/docs/website/translated_docs/hr/contrib-translators.md b/docs/website/translated_docs/hr/contrib-translators.md new file mode 100644 index 000000000000..5f14593015ba --- /dev/null +++ b/docs/website/translated_docs/hr/contrib-translators.md @@ -0,0 +1,17 @@ +--- +id: contrib-translators +title: Translators +--- + +We need help translating this extension, as well as its documentation. We have created a project on Crowdin to ease translations. Crowdin gives you a translation interface that's second to none. You can contribute how ever you want but we really recommend using Crowdin. + +> Crowdin is a localization management platform that helps companies to translate their software. You can read more about Crowdin [here](https://support.crowdin.com/crowdin-intro/) + +If you are willing to contribute with translations, you will need: + +* A [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) account. +* Chose the target language if exist otherwise request to be enabled. + +If your desired language is not listed, please [contact me](https://crowdin.com/profile/blitze) and I will add it. + +[Start Translating](https://crowdin.com/project/phpbb-ext-sitemaker) \ No newline at end of file diff --git a/docs/website/translated_docs/hr/developer-events.md b/docs/website/translated_docs/hr/developer-events.md new file mode 100644 index 000000000000..562c7bed6fd4 --- /dev/null +++ b/docs/website/translated_docs/hr/developer-events.md @@ -0,0 +1,120 @@ +--- +id: developer-events +title: phpBB SiteMaker Events +--- + +You can modify the behavior of phpBB SiteMaker using phpBB's event system. + +## PHP Events + +# blitze.sitemaker.acp_add_bulk_menu_options + +- Location: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Since: 3.1.0 +- Purpose: Add bulk menu options in acp menu + +# blitze.sitemaker.acp_display_settings_form + +- Location: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Since: 3.1.0 +- Purpose: display acp (sitemaker) settings form + +# blitze.sitemaker.acp_save_settings + +- Location: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Since: 3.1.0 +- Purpose: Save acp (sitemaker) settings + +# blitze.sitemaker.admin_bar.set_assets + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Since: 3.0.1-RC1 +- Purpose: Add assets for available blocks in edit mode + +# blitze.sitemaker.modify_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Since: 3.0.1-RC1 +- Purpose: Modify block positions + +# blitze.sitemaker.modify_rendered_block + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Since: 3.0.1-RC1 +- Purpose: Modify a rendered block + +## Template Events + +# blitze_sitemaker_acp_settings + +- Location: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Since: 3.1.0 +- Purpose: Add form fields for sitemaker settings + +# blitze_sitemaker_admin_bar_append + +- Location: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Since: 3.1.0 +- Purpose: Add menu items to admin bar + +# blitze_sitemaker_admin_bar_templates + +- Location: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Since: 3.1.0 +- Purpose: Add template files to be used in JS for block views, etc + +## Javascript Events + +# blitze_sitemaker_layout_saved + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout changes are saved + +# blitze_sitemaker_render_block_before + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something before block is rendered or prevent it from being re-rendered + +# blitze_sitemaker_render_block_after + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something after block is rendered + +# blitze_sitemaker_save_block_before + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to modify block data before it is saved + +# blitze_sitemaker_show_all_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when all block positions are shown + +# blitze_sitemaker_hide_empty_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when empty positions are hidden + +# blitze_sitemaker_layout_cleared + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout is cleared + +# blitze_sitemaker_layout_updated + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout is updated + +# blitze_sitemaker_tinymce_options + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Since: 3.3.0 +- Purpose: Event to allow other extensions to modify tinymce options \ No newline at end of file diff --git a/docs/website/translated_docs/hr/developer-extensions.md b/docs/website/translated_docs/hr/developer-extensions.md new file mode 100644 index 000000000000..fc9e22ad6904 --- /dev/null +++ b/docs/website/translated_docs/hr/developer-extensions.md @@ -0,0 +1,177 @@ +--- +id: developer-extensions +title: Extending phpBB SiteMaker +--- + +You can extend/modify phpBB SiteMaker using [service replacement](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [service decoration](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), and [phpBB's event system](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). You can find a list of supported events [here](./developer-events.md). + +## Creating a SiteMaker block + +A phpBB SiteMaker block is simply a class that extends the blitze\sitemaker\services\blocks\driver\block class and returns an array from the "display" method with a 'title' and 'content'. Everything else inbetween is up to you. To make your block discoverable by phpBB SiteMaker, you'll need to give it the "sitemaker.block" tag. + +Say we have an extension with vendor/extension as my/example. To create a block called "my_block" for phpBB SiteMaker: + +- Create a "blocks" folder +- Create my_block.php file in the blocks folder with the following content + +```php +namespace my\example\blocks; + +use blitze\sitemaker\services\blocks\driver\block; + +class my_block extends block +{ + /** + * {@inheritdoc} + */ + public function display(array $settings, $edit_mode = false) + { + return array( + 'title' => 'my block title', + 'content' => 'my block content', + ); + } +} +``` + +Then in your config.yml file, add the following: + +```yml +services: + + ... + + my.example.block.my_block: + class: my\example\blocks\my_block + calls: + - [set_name, [my.example.block.my_block]] + tags: + - { name: sitemaker.block } + + .... + +``` + +At a bare minimum, that's all you need. If you go into edit mode, you should see the block listed as 'MY_EXAMPLE_BLOCK_MY_BLOCK' that can be dragged and dropped on any block position. But this block doesn't do anything exciting. It has no settings and does not translate the block name. Let's make it more interesting. + +### Block Settings + +Let's modify our blocks/my_block.php file and add a "get_config" method th at returns an array with the keys being the block settings and the values being an array describing the settings like so: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Only show when option 1 is selected
'), + ); + } +``` + +This is constructed the same way that phpBB builds the configuration for board settings in ACP. You can see more examples [here](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +If you want a custom field type, you can see an example [here](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' setting). + +Notice 'legend1' and 'legend2': These are used to separate the settings into tabs. + +### Naming Blocks + +The convention for block names is that the service name (e.g my.example.block.my*block above) will be used as the language key by replacing the dots (.) with underscore (*) (e.g MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Translation + +Also notice that we have several language keys that need to be translated. To do this, create a file named "blocks_admin.php" in your language folder. This file will be automatically loaded when editing blocks, and should have translations for your blocks settings and block names. + + $lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Option 1', + 'OTHER_LANG_VAR' => 'Option 2', + 'SOME_LANG_VAR_1' => 'Setting 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'My Block', + ); + + +Because 'blocks_admin.php' is only loaded when editing blocks, you will need to add other translations (e.g. block title) by loading a language file in your display method like so `$language->add_lang('my_lang_file', 'my/example');` + +### Rendering the block + +The new block will only be displayed if it is rendering something. Your block can return any string as content but in most cases, you need a template to render your content. To render your block using templates, the block must return an array that holds the data that you want to pass to the template and must also implement the `get_template` method as demonstrated below: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block.html'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // do something only in edit mode + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); + } +``` + +Then your styles/all/my_block.html or styles/prosilver/my_block.html file might look something like this: + +

You selected: {{ some_var }}

+ + +In summary, your block must return an array with a `title` key (for the block title) and a `content` key (if the block just displays a string and does not use a template) or a `data` key (if the block uses a template, in which case, you will also need to implement the `get_template` method). + +### Block Assets + +If your block needs to add assets (css/js) to the page, I recommend using the sitemaker [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) for that. Since there can be more than one instance of the same block on the page, or other blocks might be adding the same asset, the util class ensures that the asset is only added ones. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some.js', + 100 => '@my_example/assets/other.js', // set priority + ), + 'css' => array( + '@my_example/assets/some.css', + ) + )); +``` + +The util class will, of course, need to be added to your service definitions in config.yml like so: `- '@blitze.sitemaker.util'` and defined in your block's constructor `\blitze\sitemaker\services\util $util`. + +And that's it. We're done! \ No newline at end of file diff --git a/docs/website/translated_docs/hr/developer-theming.md b/docs/website/translated_docs/hr/developer-theming.md new file mode 100644 index 000000000000..8f76e7c40ddd --- /dev/null +++ b/docs/website/translated_docs/hr/developer-theming.md @@ -0,0 +1,55 @@ +--- +id: developer-theming +title: Theming +--- + +phpBB SiteMaker comes with styles and colors made for prosilver. You can overwrite CSS, JS, and HTML files by creating the corresponding file in your style's folder. + +# Creating JS/CSS files for your style + +Note: * For the purpose of the below instructions we will assume that you have a style called my-style. + +Clone into phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +From command line go to sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + + +**Install vendors** + + composer install + + +**Install packages** + +For the below commands you can use npm or [yarn](https://yarnpkg.com) + + yarn install + + +**Watch Changes** + + yarn start --theme my-style + + +**Make Changes** + +* Make your changes to files in the phpBB/ext/blitze/sitemaker/develop folder. +* Look at phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss for sass variables + +**Build Assets** + + yarn build --theme my-style + + +**Deploy** + +You can now copy the generated files from phpBB/ext/blitze/sitemaker/styles/my-style and uploaded them to your production server. + +> This extension uses jQuery UI for tabs, dialogs and buttons. The default jQuery theme is 'smoothness.' You can use a different jQuery UI theme that best fits your theme. You can specify the jQuery UI theme using the flag --jq_ui_theme. For example: + + yarn build --theme my-style --jq_ui_theme ui-lightness \ No newline at end of file diff --git a/docs/website/translated_docs/hr/filemanager.md b/docs/website/translated_docs/hr/filemanager.md new file mode 100644 index 000000000000..08caa9b8029e --- /dev/null +++ b/docs/website/translated_docs/hr/filemanager.md @@ -0,0 +1,34 @@ +--- +id: filemanager +title: Responsive Filemanager +--- + +As of version 3.1.0, phpBB SiteMaker supports the [Responsive Filemanager](http://responsivefilemanager.com) + +* The file manager is used as a TinyMCE pluging (WYSIWYG editor) when editing custom blocks +* It is currently configured to creat separate folders for each user, except the user with a_sm_filemanager permission (Can see/manage other users' folders), which allows them access to view/manage all upload folders. + +## Installation + +* Download the [Responsive FileManager](http://responsivefilemanager.com/index.php#sthash.5UrnhjX2.dpbs) +* Extract it, and upload the files to your phpBB root folder. The file structure should be as below: + +```text +phpBB +├── images/ +├── includes/ +├── ... +└── ResponsiveFilemanager/ + └── filemanager/ + └── config/ + ├── .htaccess + └── config.php +``` + +## Activation + +* Go to ACP > Extensions > SiteMaker > Settings +* Enable File Manager feature +* Save changes +* Update user permissions (Misc tab) to determine who can use this feature [Can use File Manager] +* Update admin permissions (Misc tab) to determine who can manager user folders [Can see/manage other users’ folders in File Manager] \ No newline at end of file diff --git a/docs/website/translated_docs/hr/installation.md b/docs/website/translated_docs/hr/installation.md new file mode 100644 index 000000000000..298f90a9e5c0 --- /dev/null +++ b/docs/website/translated_docs/hr/installation.md @@ -0,0 +1,18 @@ +--- +id: installation +title: Installing / Upgrading +--- + +Download the extension from [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker + +* Extract and upload it to your phpBB/ext/ folder so you have phpBB/ext/blitze/sitemaker +* Go to "ACP" > "Customise" > "Extensions" and enable the "phpBB Sitemaker" extension. + +## Upgrading phpBB SiteMaker + +* Create a backup of your database just in case something goes wrong +* Go to "ACP" > "Customise" > "Extensions" and disable (do not purge) "phpBB Sitemaker" +* Download and extract the latest version of phpBB SiteMaker and upload it to your phpBB/ext/ folder (overwrite) +* Go to "ACP" > "Customise" > "Extensions" and enable the "phpBB Sitemaker" extension. \ No newline at end of file diff --git a/docs/website/translated_docs/hr/introduction.md b/docs/website/translated_docs/hr/introduction.md new file mode 100644 index 000000000000..ff5a07cb2614 --- /dev/null +++ b/docs/website/translated_docs/hr/introduction.md @@ -0,0 +1,6 @@ +--- +id: introduction +title: Introduction +--- + +phpBB SiteMaker seeks to transform your phpBB board into a CMS/portal. It does so by providing you with blocks and menus to help you customize your site to your liking. There are or will be other SiteMaker extensions that provide additional functionality to meet this goal. It also allows you to define a landing page when your site is accessed. So if you don't want visitors to your site to immediately see the phpBB forum when they go to www.your-site.com, you can define your own start page. \ No newline at end of file diff --git a/docs/website/translated_docs/hr/menus-display.md b/docs/website/translated_docs/hr/menus-display.md new file mode 100644 index 000000000000..795985e02a3c --- /dev/null +++ b/docs/website/translated_docs/hr/menus-display.md @@ -0,0 +1,18 @@ +--- +id: menus-display +title: Displaying Menus +--- + +Now that you have create your menus, you can display them in several ways: + +## Links Block + +You can use this block to display a flat or nested list of menu items. This block is not intended to be used for navigation i.e. it will not show a current page or anything like that. It is intended for a list of items, including external links. + +## Menus Block + +This block is intended for site navigation. It does some additional computations to determine current location and is not intended to be a very large list. + +## Navigation bar + +Similar to the Menus block, the navigation bar will display menu items as a responsive dropdown menu intended for site navigation. You can enable this in ACP > Extensions > Sitemaker > Settings > Select menu \ No newline at end of file diff --git a/docs/website/translated_docs/hr/menus-managing-items.md b/docs/website/translated_docs/hr/menus-managing-items.md new file mode 100644 index 000000000000..e63160278c4c --- /dev/null +++ b/docs/website/translated_docs/hr/menus-managing-items.md @@ -0,0 +1,30 @@ +--- +id: menus-managing-items +title: Managing Menu Items +--- + +Your menu is useless unless it has menu items. You can add menu items that point to local or external files. + +> The URL for external sites must begin with http(s)://, ftp://, //, etc. +> +> You can create a divider by entering '-' as the item title + +## Adding Menu items + +You can add menu items one item at a time, or you can add multiple menu items at ones. + +### Adding single menu items + +To add a single menu item, * click on the `Add Menu Item` button * Fill in the required information and hit `Save` + +### Adding multiple items + +To add multiple menu items at once, * Click on the ▼ icon next to `Add Menu Item` * You can manually add items by placing each item on a new line and using the tab character nest items or * You can click on one of the provided options at the bottom of the textarea to automatically fill in the menu items + +## Reorder the menu items + +You can drag and drop the menu items up/down to set their display order, or drag them left/right to set the desired hierarchy. + +## Rebuilding the menu items + +If you find that the menu items are not displaying correctly, click on the `Rebuild Tree` button to rebuild the menu items. \ No newline at end of file diff --git a/docs/website/translated_docs/hr/menus-managing.md b/docs/website/translated_docs/hr/menus-managing.md new file mode 100644 index 000000000000..5be36cddb83a --- /dev/null +++ b/docs/website/translated_docs/hr/menus-managing.md @@ -0,0 +1,22 @@ +--- +id: menus-managing +title: Managing Menus +--- + +You can create menus in ACP that you can then display using the Menus or the Links blocks or displayed as a horizontal navbar. + +## Managing Menus + +To manage menus, go to ACP > Extensions > Sitemaker > Menu + +### Creating Menus + +To create a new menu (group), click on the `Add Menu` button. A new menu group will be created with a randomly generated name. The new menu will also be selected so you can begin adding menu items to it. + +### Editing Menus + +If you want a more meaningful menu name, * hover over the menu name and click on the cog icon * enter the new menu name and hit enter to update it + +### Deleting Menus + +To delete a menu, and its items, * Hover over the menu name and click on the **x** icon * If the menu item has no child items, you will need to confirm your choice to delete the item * If the menu item has child items, you will need to indicate if you want to delete only the item and move its children up or if you want to delete the entire branch \ No newline at end of file diff --git a/docs/website/translated_docs/hr/site-block-modifiers.md b/docs/website/translated_docs/hr/site-block-modifiers.md new file mode 100644 index 000000000000..4712e963c3a2 --- /dev/null +++ b/docs/website/translated_docs/hr/site-block-modifiers.md @@ -0,0 +1,6 @@ +--- +id: site-block-modifiers +title: Customizing Blocks Display +--- + +Work in progress... \ No newline at end of file diff --git a/docs/website/translated_docs/hr/site-default-layout.md b/docs/website/translated_docs/hr/site-default-layout.md new file mode 100644 index 000000000000..247f9e388692 --- /dev/null +++ b/docs/website/translated_docs/hr/site-default-layout.md @@ -0,0 +1,10 @@ +--- +id: site-default-layout +title: Setting a Default Layout +--- + +When you add a block, it is added to that specific page. It would, therefore, be a tedious task to set blocks for all the pages on your site. You can set all the desired blocks for a particular page, then set that page as the default layout. In others words, any page that does not have its own blocks, will inherit blocks from this page. + +To set a default layout * Go to the page that you'd like to set as default layout * Click on `Settings` in the admin bar * Click the `Set as default layout` button + +Say we add blocks to a page (phpBB/index.php) with blocks in the sidebar and top positions, for example, and set it as our default layout. This has the following effects for other pages: * Any page that does not have its own blocks, will inherit the blocks from the default layout. See [Understanding Block Inheritance](./blocks-inheritance.md) for exceptions. * You may still inherit blocks from a default layout (index.php) but choose to not display blocks on some block positions or not display any blocks at all. To do this, * Go to the page that you don't want all/some blocks to display * Click on `Settings` in the admin bar * Select `Do not show blocks on this page` if you don't want to inherit/display any blocks on this page OR * Use CTRL + click to select the block positions (on the right) that you do not want to display blocks on * In `edit mode`, a page that inherits blocks from the default layout, will not show any blocks, giving you the opportunity to add blocks to the page if you want to * Any page that has its own blocks will not inherit from the default layout \ No newline at end of file diff --git a/docs/website/translated_docs/hr/site-layouts.md b/docs/website/translated_docs/hr/site-layouts.md new file mode 100644 index 000000000000..fd4b6d625602 --- /dev/null +++ b/docs/website/translated_docs/hr/site-layouts.md @@ -0,0 +1,20 @@ +--- +id: site-layouts +title: Layouts +--- + +"Layouts" determine the available block positions and how they are displayed. + +## Block Positions + +Block positions are predefined areas on your site where blocks can exist. The available block positions are determined by the template style that you are using. For prosilver, phpBB SiteMaker comes with the following block positions: * panel: full width across the top * sidebar: left/right depending on layout below * subcontent: similar to sidebar just larger * top_hor: horizontal blocks across the top, flanking above sidebar/subcontent depending on layout * top: above main content * box: equal width, horizontal blocks below main content * bottom: below main content * bottom_hor: horizontal blocks across the bottom, flanking the sidebar/subcontent depending on layout * footer: horizontal blocks in the footer You can add more block positions in your own style templates by copying and modifying the corresponding phpBB SiteMaker templates + +## Site Layout + +You can choose the layout for your site in ACP (Extensions > Sitemaker > Settings): * **Blog**: subcontent and sidebar next to each other, pushed to the right, top_hor/botom_hor flank subcontent * **Holy Grail**: equal width sidebar and subcontent on opposite sides, top_hor/botom_hor flank subcontent * **Portal**: sidebar on left, subcontent on the right, top_hor/botom_hor flank subcontent * **Portal Alt**: subcontent on left, sidebar on the right, top_hor/botom_hor flank sidebar * **Custom**: Manually set the width of the sidebars as px, %, em or rem. Defaults to 200px on each side + +## Custom templates/styles + +As much as possible, we tried to put template files and assets in styles/all/ folder so that you can overwrite them by creating a file with same name under your own template theme e.g. prosilver. So if you want to modify how a certain block displays or if you want to create your own layout with your own block positions, you simply need to create a file with the same name and path as the original in your own style. + +If you need to customize CSS/JS files, take a look at the [theming](./developer-theming.md) section. \ No newline at end of file diff --git a/docs/website/translated_docs/hr/site-navbar.md b/docs/website/translated_docs/hr/site-navbar.md new file mode 100644 index 000000000000..edffeefdd49d --- /dev/null +++ b/docs/website/translated_docs/hr/site-navbar.md @@ -0,0 +1,6 @@ +--- +id: site-navbar +title: Navigation Bar +--- + +See [Displaying Menus](./menus-display#navigation-bar) \ No newline at end of file diff --git a/docs/website/translated_docs/hr/site-startpage.md b/docs/website/translated_docs/hr/site-startpage.md new file mode 100644 index 000000000000..95b0b046cca0 --- /dev/null +++ b/docs/website/translated_docs/hr/site-startpage.md @@ -0,0 +1,8 @@ +--- +id: site-startpage +title: Setting a Start Page +--- + +phpBB SiteMaker allows you to choose any front controller (pages accessed via app.php/...) as your default start page (the page that will be shown when someone visits your site) instead of the board index. + +To do this: * Go to the page that you want to set as default start page * Click on `Settings` in the admin bar. If it is an eligible page, you will see a `Set as start page` button * Click on the `Set as start page` button \ No newline at end of file diff --git a/docs/website/translated_docs/it/blocks-custom.md b/docs/website/translated_docs/it/blocks-custom.md new file mode 100644 index 000000000000..0935225db149 --- /dev/null +++ b/docs/website/translated_docs/it/blocks-custom.md @@ -0,0 +1,24 @@ +--- +id: blocchi-personalizzati +title: Blocco personalizzato +--- + +Se i blocchi disponibili non ti danno la libertà che ti serve, c'è il blocco `personalizzato` che ti permette di visualizzare liberamente i tuoi contenuti utilizzando BBcode o HTML. Il blocco viene fornito con un editor WYSIWYG (TinyMCE) e un gestore di script: + +## L'editor + +- Puoi usare l'editor per creare contenuti HTML +- Puoi modificare il codice sorgente se hai bisogno di questo livello di controllo cliccando sull'icona `del codice sorgente` (`<>`) nell'editor +- L'editor consente di caricare e modificare le immagini + - Crea una nuova cartella in phpBB/images/sitemaker_uploads/ per ogni utente che ha accesso ad essa + - È possibile visualizzare/gestire tutte le cartelle utente +- L'editor filtra qualsiasi script potenzialmente pericoloso come javascript, ecc. Se hai bisogno di aggiungere contenuti come pubblicità google, gli javascript verranno filtrati, ma è possibile aggirare questo problema facendo quanto segue: + - Aggiungi il blocco personalizzato alla posizione desiderata + - Modifica il Blocco Personalizzato, clicca sulla scheda `HTML` e incolla il tuo Javascript + +## Il Gestore Degli Script + +Il blocco personalizzato consente anche di aggiungere file CSS e Javascript personalizzati alla tua pagina. Per fare questo: + +- Aggiungi un `blocco personalizzato` a qualsiasi posizione di blocco. La posizione non importa a meno che non si visualizzano anche contenuti con il blocco +- Modifica il blocco, fare clic sulla scheda `Script` e aggiungere i file CSS o Javascript > Parola di cautela però: Aggiungere a molti script sulla tua pagina può influenzare i tempi di caricamento \ No newline at end of file diff --git a/docs/website/translated_docs/it/blocks-inheritance.md b/docs/website/translated_docs/it/blocks-inheritance.md new file mode 100644 index 000000000000..e77fb40db5e8 --- /dev/null +++ b/docs/website/translated_docs/it/blocks-inheritance.md @@ -0,0 +1,44 @@ +--- +id: blocchi-ereditarietà +title: Eredità Blocco Understanding +--- + +Abbiamo già visto che impostando un layout predefinito, altre pagine che non hanno blocchi propri erediteranno i blocchi dal layout predefinito. Vi è tuttavia un altro tipo di successione di blocchi. + +## Route Genitori/Figlie + +In phpBB SiteMaker, parliamo di rotte nidificate in termini di directory reali nidificate (sub) o percorsi/rotte virtualmente nidificate. Rimani con me :). * Real Parent/Child routes: ad esempio, il percorso /some_directory/sub_directory/index.php è un figlio di /some_directory/index.php * Virtual Parent/Child routes: viewtopic.php è trattato come figlio di viewforum.php. + +Ecco alcuni esempi di percorsi genitore/figlio: + +| Genitore | Figlio | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articoli | /app.php/articoli/mio-articolo | + +## Eredità blocco genitore/figlio + +Per i percorsi padre/figlio, il percorso figlio eredita i blocchi dell'itinerario genitore (se il genitore ha i propri blocchi) o dal layout predefinito (se è stato impostato uno). In altre parole, anche se c'è un layout predefinito, l'itinerario figlio erediterà blocchi dal suo percorso padre se l'itinerario genitore ha i propri blocchi. Ma non tutti i blocchi dell'itinerario genitore devono essere ereditati. + +## Controllo dell'ereditarietà del blocco + +A livello di blocco, puoi controllare quando un blocco può essere ereditato da percorsi figli. Ne abbiamo già parlato nelle [Impostazioni del blocco](./blocks-managing#editing-block-settings). + +Considera la seguente struttura directory reale: + +```text +phpBB +├ index.php + film/ + index.php + page.php + Comedy/ + index.php +``` + +Per ereditare i blocchi, diciamo: * Il percorso genitore di /phpBB/Movies/Comedy/index.php è /phpBB/Movies/index.php e non /phpBB/Movies/page.php * Tutte le pagine in una sotto directory relativa a /phpBB/index.php è un percorso figlio di /phpBB/index.php. Quindi /phpBB/Movies/index.php e /phpBB/Movies/page.php sono tutti figli di /phpBB/index.php e quindi erediteranno i suoi blocchi se non hanno blocchi propri. In questo caso: * quando un blocco su /phpBB/index. hp è impostato per essere visualizzato su **Nascondi sulle rotte bambini**, il blocco verrà mostrato su /phpBB/indice. hp (itinerario genitore) ma non sulle sue rotte figlie * quando un blocco su /phpBB/indice. hp è impostato su **Mostra solo su percorsi bambini**, sarà visualizzato sulla pagina /phpBB/Filvies/index.php e /phpBB/Movies/page. hp (percorsi figli) ma non su /phpBB/index.php (genit), né /phpBB/Filvies/Comedy/index. hp (è profondo un solo livello) * quando un blocco su /phpBB/indice. hp è impostato per visualizzare **always** (default), verrà visualizzato su /phpBB/index.php (genito), /phpBB/Filvies/index. hp e /phpBB/page.php (percorsi figli) ma non su /phpBB/Filvies/Comedy/index.php (si va solo a un livello profondo). In questo caso, /phpBB/Movies/Comedy/index.php erediterà dal percorso predefinito (se esiste) + +## Stato futuro sostenibile + +Sono davvero interessato al tuo feedback in quest'area. La maggior parte degli utenti phpBB non avrà cartelle reali come delineate sopra. Sto pensando di utilizzare la struttura definita in un blocco di menu come struttura di directory virtuale e di applicare a questa eredità padre/figlio. Penso anche di andare oltre un livello profondo. Per favore, fatemi sapere se questo sarà utile per voi. \ No newline at end of file diff --git a/docs/website/translated_docs/it/blocks-managing.md b/docs/website/translated_docs/it/blocks-managing.md new file mode 100644 index 000000000000..65f9176e5754 --- /dev/null +++ b/docs/website/translated_docs/it/blocks-managing.md @@ -0,0 +1,38 @@ +--- +id: gestione blocchi +title: Gestione dei blocchi +--- + +Per gestire i blocchi in phpBB SiteMaker, devi essere in [Modo Modifica](./blocks-overview#edit-mode). + +> Quando un blocco non mostra alcun contenuto, non verrà visualizzato, eccetto in modalità modifica. In questo modo, puoi dargli contenuto (nel caso del blocco personalizzato) o cambiarne le impostazioni. +> +> In modalità modifica, i blocchi in un certo senso trasparenti sono blocchi che altrimenti non verranno visualizzati ma verranno visualizzati solo perché siamo in modalità di modifica + +## Aggiungi blocchi + +Puoi aggiungere blocchi a qualsiasi pagina frontale, eccetto il Pannello di Controllo Utente e le pagine del Pannello di Controllo Moderatore. Per aggiungere un blocco, devi: * clicca su **Blocchi** nella barra di amministrazione. Questo mostrerà una lista di blocchi disponibili * Trascina e rilascia il blocco desiderato in qualsiasi posizione di blocco + +## Modifica blocchi + +### Aggiungi icona blocco + +A sinistra del titolo del blocco (prosilver), c'è una casella per l'icona del blocco. Clicca su questa casella per ottenere il selettore icona. È possibile selezionare la dimensione dell'icona, colore, float, rotazione, ecc. + +### Modifica del titolo del blocco + +phpBB SiteMaker blocchi avranno un titolo predefinito, tradotto ma se il titolo non soddisfa le tue esigenze, puoi cambiarlo. Per modificare il titolo del blocco, * Clicca sul titolo del blocco per ottenere un modulo di modifica inline * Cambia il titolo in quello che vuoi * Rimuovi il focus dal campo o premi invio per inviare le modifiche + +> Il titolo del blocco modificato non è tradotto +> +> Per tornare al titolo predefinito, elimina il titolo e premi invio + +### Modifica impostazioni blocco + +Quando passi sopra un blocco, un'icona rotellino apparirà a destra del blocco che può essere utilizzato per modificare il blocco. Nella finestra di modifica del blocco, puoi: - Abilita/disabilita un blocco [Status] - Scegli quando il blocco non deve essere visualizzato [Display]. Questo vale solo per i casi in cui hai annidato pagine (vedi [Understanding Block Inheritance](./blocks-inheritance.md)): - **Sempre**: mostra sempre il blocco - **Hide on Children**: Mostra solo questo blocco sul percorso genitore - **Mostra solo sulle rotte figli**: mostra solo questo blocco su un percorso figlio - Scegli quali gruppi di utenti possono visualizzare il blocco [Visualizzabile da]. Usa CTRL + click per selezionare più gruppi. - Imposta le classi personalizzate per modificare l'aspetto del blocco o degli elementi (liste, immagini, sfondo, ecc) all'interno del blocco [CSS Class] - Mostra/nascondi il titolo del blocco [Nascondi titolo del blocco?] - Seleziona la vista del blocco [Vista blocco]. Puoi selezionare una vista di blocco predefinita quando vengono aggiunti nuovi blocchi nei paesi ACP. - **di default / Semplice**: usa la classe pannello proargento per inserire il blocco in un contenitore imbottito - **Base**: il blocco non ha alcun contenitore da confezionare - **Boxed**: usa la classe proargver forabg per ingoiare il blocco in una casella - Imposta / Aggiorna impostazioni specifiche del blocco - se hai lo stesso blocco con le stesse impostazioni in più pagine, puoi aggiornarli tutti contemporaneamente controllando i **blocchi di aggiornamento con impostazioni simili** + +## Eliminazione blocchi + +- Passa sopra il blocco che vuoi eliminare +- Clicca sull'icona **x** e conferma di voler eliminare il blocco +- Vai fino alla barra di amministrazione e clicca su `Salva le modifiche` \ No newline at end of file diff --git a/docs/website/translated_docs/it/blocks-overview.md b/docs/website/translated_docs/it/blocks-overview.md new file mode 100644 index 000000000000..3daba27e32bb --- /dev/null +++ b/docs/website/translated_docs/it/blocks-overview.md @@ -0,0 +1,10 @@ +--- +id: anteprima-blocchi +title: Quali sono i blocchi? +--- + +Al centro di phpBB SiteMaker c'è il concetto di blocchi. I blocchi sono pochi contenuti che puoi inserire in diverse aree predefinite (posizioni di blocco) sul tuo sito. I blocchi avranno le impostazioni che potrai impostare/modificare per perfezionare il contenuto che desideri visualizzare. La maggior parte dei blocchi, ma non tutti, renderà le query del database per ottenere il contenuto desiderato. Quindi non impazziamoci troppo :). Per gestire i blocchi, dovrai passare alla modalità "modifica". + +## Modo Modifica + +Passa alla modalità di modifica cliccando sull'icona della matita in alto a destra del tuo sito. Questo mostrerà la "barra di amministrazione" con "Blocchi" e "Impostazioni" voci di menu. Questo viene definito come 'modifica modalità'. \ No newline at end of file diff --git a/docs/website/translated_docs/it/blocks-views.md b/docs/website/translated_docs/it/blocks-views.md new file mode 100644 index 000000000000..3a2a0e138d13 --- /dev/null +++ b/docs/website/translated_docs/it/blocks-views.md @@ -0,0 +1,6 @@ +--- +id: blocchi-viste +title: Viste blocco +--- + +Lavoro in corso... \ No newline at end of file diff --git a/docs/website/translated_docs/it/contrib-overview.md b/docs/website/translated_docs/it/contrib-overview.md new file mode 100644 index 000000000000..e389ea2a804b --- /dev/null +++ b/docs/website/translated_docs/it/contrib-overview.md @@ -0,0 +1,11 @@ +--- +id: contribuzione-panoramica +title: Coinvolgi +--- + +phpBB SiteMaker è un progetto open source e accoglie le tue idee e contributi. Sentiti libero di partecipare. Puoi contribuire a questo progetto da: + +* [Fornire supporto/feedback](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Segnala bug](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Aiuta con la traduzione](./contrib-translators.md) +* [Correggere bug o aggiungere funzionalità](./contrib-pull-requests.md) \ No newline at end of file diff --git a/docs/website/translated_docs/it/contrib-pull-requests.md b/docs/website/translated_docs/it/contrib-pull-requests.md new file mode 100644 index 000000000000..2e3d278d7276 --- /dev/null +++ b/docs/website/translated_docs/it/contrib-pull-requests.md @@ -0,0 +1,76 @@ +--- +id: contrib-pull-requests +title: Invio di una Pull Request +sidebar_label: Pull Requests +--- + +`Le richieste di Pull ti permettono di dire agli altri le modifiche che hai spinto su un ramo in un repository su GitHub. Una volta aperta una richiesta di pull, è possibile discutere e rivedere i potenziali cambiamenti con i collaboratori e aggiungere commit di follow-up prima che le modifiche vengano unite nel ramo base.` [Leggi di più](https://help.github.com/articles/about-pull-requests/) + +## Forzare/Clonazione + +* Crea un account github se non ne hai già uno +* Vai su https://github.com/blitze/phpBB-ext-sitemaker.git e clicca su "Fork" + +Clona la tua fork del repository: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +Dalla linea di comando vai alla directory sitemaker: + + cd phpBB/ext/blitze/sitemaker + + +**Configura git:** + +Aggiungi il tuo nome utente a Git sul tuo sistema: + + git config --global user.name "Your Name Here" + + +Aggiungi il tuo indirizzo e-mail a Git sul tuo sistema: + + git config --add user.email username@phpbb.com + + +Aggiungi il monte remoto (puoi cambiare 'upstream' a qualsiasi cosa tu voglia): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + + +**Installa venditori** + + installazione compositore + + +**Installa pacchetti NPM** + + Installazione npm + + +In alternativa puoi utilizzare [yarn](https://yarnpkg.com): + + installa yarn + + +## Pull Requests + + # Crea un nuovo ramo per la tua funzione & passa a questo + git checkout -b feature/my-fancy-new-feature + + # crea un nuovo ramo per il problema su cui stai lavorando * passa ad esso (ticket # è dal tracker di github) + git checkout -b/1234 + + +Effettua le tue modifiche + + # Fase i file + git add + + # Commit staged files - si prega di utilizzare un messaggio di commit corretto + git commit -m "my commit message" + + +Spingere il ramo su GitHub opzione di origine git/mia-fantastica-nuova-funzione + +Invia una [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) \ No newline at end of file diff --git a/docs/website/translated_docs/it/contrib-translators.md b/docs/website/translated_docs/it/contrib-translators.md new file mode 100644 index 000000000000..b7e25130c4d9 --- /dev/null +++ b/docs/website/translated_docs/it/contrib-translators.md @@ -0,0 +1,17 @@ +--- +id: traduttori-contrib +title: Traduttori +--- + +Abbiamo bisogno di aiuto per tradurre questa estensione e la sua documentazione. Abbiamo creato un progetto su Crowdin per facilitare le traduzioni. Crowdin ti dà un'interfaccia di traduzione che non è seconda a nessuno. Puoi contribuire come vuoi, ma ti consigliamo veramente di utilizzare Crowdin. + +> Crowdin è una piattaforma di gestione della localizzazione che aiuta le aziende a tradurre il loro software. Puoi leggere di più su Crowdin [qui](https://support.crowdin.com/crowdin-intro/) + +Se sei disposto a contribuire con le traduzioni, avrai bisogno di: + +* Un [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) account. +* Scegli la lingua di destinazione se esiste una richiesta di essere abilitata. + +Se la lingua desiderata non è elencata, per favore [contattami](https://crowdin.com/profile/blitze) e la aggiungerò. + +[Inizia a tradurre](https://crowdin.com/project/phpbb-ext-sitemaker) \ No newline at end of file diff --git a/docs/website/translated_docs/it/developer-events.md b/docs/website/translated_docs/it/developer-events.md new file mode 100644 index 000000000000..8f87b39f29cd --- /dev/null +++ b/docs/website/translated_docs/it/developer-events.md @@ -0,0 +1,120 @@ +--- +id: sviluppatori-eventi +title: phpBB SiteMaker eventi +--- + +Puoi modificare il comportamento di phpBB SiteMaker utilizzando il sistema di eventi di phpBB. + +## Eventi PHP + +# blitze.sitemaker.acp_add_bulk_menu_options + +- Posizione: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Da: 3.1.0 +- Scopo: Aggiungi opzioni menu massivo nel menu acp + +# blitze.sitemaker.acp_display_settings_form + +- Posizione: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Da: 3.1.0 +- Scopo: visualizzare il modulo di impostazioni acp (sitemaker) + +# blitze.sitemaker.acp_save_settings + +- Posizione: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Da: 3.1.0 +- Scopo: Salva impostazioni acp (sitemaker) + +# blitze.sitemaker.admin_bar.set_assets + +- Posizione: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Da: 3.0.1-RC1 +- Scopo: aggiungere risorse per i blocchi disponibili in modalità modifica + +# blitze.sitemaker.modify_block_positions + +- Posizione: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Da: 3.0.1-RC1 +- Scopo: Modifica posizione blocco + +# blitze.sitemaker.modify_rendered_block + +- Posizione: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Da: 3.0.1-RC1 +- Scopo: Modifica un blocco renderizzato + +## Eventi Template + +# blitze_sitemaker_acp_settings + +- Posizione: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Da: 3.1.0 +- Scopo: Aggiungi i campi del modulo per le impostazioni sitemaker + +# blitze_sitemaker_admin_bar_append + +- Posizione: /phpBB/ext/blitze/sitemaker/stili/all/template/admin_bar.html +- Da: 3.1.0 +- Scopo: aggiungere voci di menu alla barra di amministrazione + +# blitze_sitemaker_admin_bar_templates + +- Posizione: /phpBB/ext/blitze/sitemaker/stili/all/template/admin_bar.html +- Da: 3.1.0 +- Scopo: Aggiungere file modello da utilizzare in JS per visualizzare i blocchi, ecc + +## Eventi Javascript + +# blitze_sitemaker_layout_salvato + +- Posizione: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Da: 3.1.2 +- Scopo: Evento per consentire ad altre estensioni di fare qualcosa quando vengono salvate le modifiche di layout + +# blitze_sitemaker_render_block_precedente + +- Posizione: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Da: 3.1.2 +- Scopo: Evento per consentire ad altre estensioni di fare qualcosa prima che il blocco venga visualizzato o impedire che venga ri-reso + +# blitze_sitemaker_render_block_dopo + +- Posizione: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Da: 3.1.2 +- Scopo: Evento per consentire ad altre estensioni di fare qualcosa dopo che il blocco è stato renderizzato + +# blitze_sitemaker_save_block_precedente + +- Posizione: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Da: 3.1.2 +- Scopo: Evento per consentire ad altre estensioni di modificare i dati del blocco prima di essere salvato + +# blitze_sitemaker_show_all_block_positions + +- Posizione: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Da: 3.1.2 +- Scopo: Evento per consentire ad altre estensioni di fare qualcosa quando vengono mostrate tutte le posizioni di blocco + +# blitze_sitemaker_hide_empty_block_positions + +- Posizione: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Da: 3.1.2 +- Scopo: Evento per consentire ad altre estensioni di fare qualcosa quando le posizioni vuote sono nascoste + +# blitze_sitemaker_layout_cancellato + +- Posizione: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Da: 3.1.2 +- Scopo: Evento per consentire ad altre estensioni di fare qualcosa quando il layout viene cancellato + +# blitze_sitemaker_layout_aggiornato + +- Posizione: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Da: 3.1.2 +- Scopo: Evento per consentire ad altre estensioni di fare qualcosa quando il layout è aggiornato + +# blitze_sitemaker_tinymce_options + +- Ubicazione: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Poiché: 3.3.0 +- Scopo: Evento per consentire ad altre estensioni di modificare le opzioni di timo \ No newline at end of file diff --git a/docs/website/translated_docs/it/developer-extensions.md b/docs/website/translated_docs/it/developer-extensions.md new file mode 100644 index 000000000000..9bcdcc2458e4 --- /dev/null +++ b/docs/website/translated_docs/it/developer-extensions.md @@ -0,0 +1,177 @@ +--- +id: estensioni-sviluppatore +title: Estendi phpBB SiteMaker +--- + +Puoi estendere/modificare phpBB SiteMaker utilizzando [sostituzione del servizio](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [decorazione del servizio](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), e [phpBB's event system](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Puoi trovare una lista di eventi supportati [qui](./developer-events.md). + +## Creazione di un blocco SiteMaker + +Un blocco phpBB SiteMaker è semplicemente una classe che estende il blitze\sitemaker\services\blocks\driver\block class e restituisce un array dal metodo "display" con un 'title' e 'content'. Tocca a te tutto il resto. Per rendere il tuo blocco rilevabile da phpBB SiteMaker, dovrai dargli il tag "sitemaker.block". + +Dire che abbiamo un'estensione con vendor/extension come mio/esempio. Per creare un blocco chiamato "my_block" per phpBB SiteMaker: + +- Crea una cartella "blocchi" +- Crea il file my_block.php nella cartella dei blocchi con il seguente contenuto + +```php +namespace mio\esempio\blocks; + +usa blitze\sitemaker\services\blocks\driver\block; + +classe my_block extends block +{ + /** + * {@inheritdoc} + */ + public function display(array $settings, $edit_mode = falso) + { + return array( + 'titolo' => 'mio titolo di blocco', + 'contenuto' => 'contenuto del mio blocco' + ); + } +} +``` + +Quindi nel tuo file config.yml, aggiungi quanto segue: + +```yml +servizi: + +... + + mio.esempio.block.my_block: + classe: my\example\blocks\my_block + chiamate: + - [set_name, [my.example.block.my_block]] + tags: + - { name: sitemaker.block } + + .... + +``` + +Al minimo, è tutto quello che ti serve. Se vai in modalità modifica, dovresti vedere il blocco elencato come 'MY_EXAMPLE_BLOCK_MY_BLOCK' che può essere trascinato e trascinato in qualsiasi posizione di blocco. Ma questo blocco non fa nulla di eccitante. Non ha impostazioni e non traduce il nome del blocco. Rendiamolo più interessante. + +### Impostazioni blocco + +Modifichiamo i nostri blocchi/mio_blocco. hp file e aggiungere un metodo "get_config" th a restituisce un array con le chiavi che sono le impostazioni del blocco e i valori che sono un array che descrive le impostazioni in questo modo: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'spiegare' => falso), + 'sì_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'spiegare' => falso, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'spiegare' => falso), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Mostra solo quando è selezionata l'opzione 1
'), + ); +} +``` + +Questo è costruito nello stesso modo in cui phpBB costruisce la configurazione delle impostazioni di bordo in ACP. Puoi vedere altri esempi [qui](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Se vuoi un tipo di campo personalizzato, puoi vedere un esempio [qui](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type'). + +Avviso 'legend1' e 'legend2': sono usati per separare le impostazioni in schede. + +### Blocchi associati + +La convenzione per i nomi dei blocchi è che il nome del servizio (ad esempio my.example.block. y*block above) sarà usato come chiave della lingua sostituendo i punti (.) con underscore (*) (e.g MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Traduzione + +Notiamo inoltre che abbiamo diverse chiavi linguistiche che devono essere tradotte. Per fare questo, crea un file denominato "blocks_admin.php" nella cartella della lingua. Questo file verrà caricato automaticamente quando modifichi i blocchi, e dovrebbe avere traduzioni per le impostazioni dei blocchi e i nomi dei blocchi. + + $lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Option 1', + 'OTHER_LANG_VAR' => 'Option 2', + 'SOME_LANG_VAR_VAR_1' => 'Setting 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Mio blocco', + ); + + +Poiché 'blocks_admin.php' è caricato solo quando si modificano i blocchi, è necessario aggiungere altre traduzioni (es. titolo del blocco) caricando un file di lingua nel metodo di visualizzazione così `$language->add_lang('my_lang_file', 'my/example');` + +### Rendering del blocco + +Il nuovo blocco verrà visualizzato solo se sta producendo qualcosa. Il tuo blocco può restituire qualsiasi stringa come contenuto, ma nella maggior parte dei casi hai bisogno di un modello per visualizzare il tuo contenuto. Per rendere il tuo blocco usando i modelli, il blocco deve restituire un array che contiene i dati che si desidera passare al modello e deve anche implementare il metodo `get_template` come dimostrato di seguito: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // do something only in edit mode + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Quindi i tuoi styles/all/my_block.html o styles/prosilver/my_block.html file potrebbero assomigliare a questo: + +

Hai selezionato: {{ some_var }}

+ + +In sintesi, il tuo blocco deve restituire un array con una chiave `title` (per il titolo del blocco) e una chiave `content` (se il blocco visualizza solo una stringa e non utilizza un modello) o una chiave `dati` (se il blocco utilizza un modello, in questo caso, dovrai anche implementare il metodo `get_template`). + +### Blocca Asset + +Se il tuo blocco ha bisogno di aggiungere asset (css/js) alla pagina, ti consiglio di usare la sitemaker [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) per questo. Dal momento che ci può essere più di un'istanza dello stesso blocco sulla pagina, o altri blocchi potrebbero essere l'aggiunta della stessa attività, la classe util assicura che l'asset è solo aggiunto. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some. s', + 100 => '@my_example/assets/other. s', // imposta priorità + ), + 'css' => array( + '@my_example/assets/some. s', + ) +)); +``` + +La classe util dovrà, ovviamente, essere aggiunta alle definizioni del servizio in config.yml così: `- '@blitze.sitemaker. til'` e definito nel costruttore del blocco `\blitze\sitemaker\services\util $util`. + +E questo è tutto. Abbiamo finito! \ No newline at end of file diff --git a/docs/website/translated_docs/it/developer-theming.md b/docs/website/translated_docs/it/developer-theming.md new file mode 100644 index 000000000000..d89638e46d32 --- /dev/null +++ b/docs/website/translated_docs/it/developer-theming.md @@ -0,0 +1,55 @@ +--- +id: tema-sviluppatore +title: Tema +--- + +phpBB SiteMaker viene con stili e colori realizzati per il prosilver. Puoi sovrascrivere i file CSS, JS e HTML creando il file corrispondente nella cartella del tuo stile. + +# Creazione di file JS/CSS per il tuo stile + +Nota: * Per le istruzioni qui sotto, supponiamo che tu abbia uno stile chiamato il mio stile. + +Clona in phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +Dalla linea di comando vai alla directory sitemaker: + + cd phpBB/ext/blitze/sitemaker + + +**Installa venditori** + + installazione compositore + + +**Installa pacchetti** + +Per i comandi qui sotto puoi usare npm o [yarn](https://yarnpkg.com) + + installa yarn + + +**Guarda le modifiche** + + yarn start --theme-style + + +**Crea modifiche** + +* Effettua le modifiche ai file nella cartella phpBB/ext/blitze/sitemaker/develop. +* Guarda phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss per le variabili sass + +**Costruisci Risorse** + + yarn build --theme-style + + +**Deploy** + +Ora puoi copiare i file generati da phpBB/ext/blitze/sitemaker/stili/mio-style e caricarli sul tuo server di produzione. + +> Questa estensione utilizza jQuery UI per schede, finestre e pulsanti. Il tema predefinito jQuery è 'fluido.' Puoi utilizzare un altro tema jQuery UI che meglio si adatta al tuo tema. È possibile specificare il tema jQuery UI utilizzando il flag --jq_ui_theme. Per esempio: + + yarn build --theme my-style --jq_ui_theme ui-lightness \ No newline at end of file diff --git a/docs/website/translated_docs/it/filemanager.md b/docs/website/translated_docs/it/filemanager.md new file mode 100644 index 000000000000..08caa9b8029e --- /dev/null +++ b/docs/website/translated_docs/it/filemanager.md @@ -0,0 +1,34 @@ +--- +id: filemanager +title: Responsive Filemanager +--- + +As of version 3.1.0, phpBB SiteMaker supports the [Responsive Filemanager](http://responsivefilemanager.com) + +* The file manager is used as a TinyMCE pluging (WYSIWYG editor) when editing custom blocks +* It is currently configured to creat separate folders for each user, except the user with a_sm_filemanager permission (Can see/manage other users' folders), which allows them access to view/manage all upload folders. + +## Installation + +* Download the [Responsive FileManager](http://responsivefilemanager.com/index.php#sthash.5UrnhjX2.dpbs) +* Extract it, and upload the files to your phpBB root folder. The file structure should be as below: + +```text +phpBB +├── images/ +├── includes/ +├── ... +└── ResponsiveFilemanager/ + └── filemanager/ + └── config/ + ├── .htaccess + └── config.php +``` + +## Activation + +* Go to ACP > Extensions > SiteMaker > Settings +* Enable File Manager feature +* Save changes +* Update user permissions (Misc tab) to determine who can use this feature [Can use File Manager] +* Update admin permissions (Misc tab) to determine who can manager user folders [Can see/manage other users’ folders in File Manager] \ No newline at end of file diff --git a/docs/website/translated_docs/it/installation.md b/docs/website/translated_docs/it/installation.md new file mode 100644 index 000000000000..47c1ec684c4a --- /dev/null +++ b/docs/website/translated_docs/it/installation.md @@ -0,0 +1,18 @@ +--- +id: installazione +title: Installazione / Aggiornamento +--- + +Scarica l'estensione da [qui](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installazione phpBB SiteMaker + +* Estrai e caricalo nella tua cartella phpBB/ext/ in modo da avere phpBB/ext/blitze/sitemaker +* Vai su "ACP" > "Personalizza" > "Estensioni" e attiva l'estensione "phpBB Sitemaker". + +## Aggiornamento phpBB SiteMaker + +* Crea un backup del database solo nel caso qualcosa vada storto +* Vai su "ACP" > "Personalizza" > "Estensioni" e disabilita (non eliminare) "phpBB Sitemaker" +* Scarica ed estrai l'ultima versione di phpBB SiteMaker e caricala nella tua cartella phpBB/ext/ (sovrascrittura) +* Vai su "ACP" > "Personalizza" > "Estensioni" e attiva l'estensione "phpBB Sitemaker". \ No newline at end of file diff --git a/docs/website/translated_docs/it/introduction.md b/docs/website/translated_docs/it/introduction.md new file mode 100644 index 000000000000..76a1b7857e83 --- /dev/null +++ b/docs/website/translated_docs/it/introduction.md @@ -0,0 +1,6 @@ +--- +id: introduzione +title: Introduzione +--- + +phpBB SiteMaker cerca di trasformare la tua scheda phpBB in un CMS/portale. Lo fa fornendoti blocchi e menu per aiutarti a personalizzare il tuo sito a tuo piacimento. Ci sono o ci saranno altre estensioni SiteMaker che forniscono funzionalità aggiuntive per raggiungere questo obiettivo. Ti permette anche di definire una pagina di atterraggio quando si accede al tuo sito. Quindi, se non vuoi che i visitatori del tuo sito possano vedere immediatamente il forum phpBB quando vanno su www.your-site.com, puoi definire la tua pagina iniziale. \ No newline at end of file diff --git a/docs/website/translated_docs/it/menus-display.md b/docs/website/translated_docs/it/menus-display.md new file mode 100644 index 000000000000..3dd2afc2ad08 --- /dev/null +++ b/docs/website/translated_docs/it/menus-display.md @@ -0,0 +1,18 @@ +--- +id: menù-display +title: Visualizzazione menu +--- + +Ora che hai creato i tuoi menu, puoi visualizzarli in diversi modi: + +## Blocco link + +Puoi utilizzare questo blocco per visualizzare una lista flat o nidificata delle voci di menu. Questo blocco non è destinato ad essere utilizzato per la navigazione, ad esempio, non mostrerà una pagina corrente o qualcosa di simile. E' destinato a un elenco di elementi, compresi i link esterni. + +## Blocco menu + +Questo blocco è destinato alla navigazione del sito. Fa qualche ulteriore calcolo per determinare la posizione attuale e non è inteso a essere un elenco molto grande. + +## Barra di navigazione + +Simile al blocco Menus, la barra di navigazione visualizzerà le voci di menu come un menu a discesa reattivo per la navigazione del sito. Puoi attivarlo in ACP > Estensioni > Sitemaker > Impostazioni > Seleziona menu \ No newline at end of file diff --git a/docs/website/translated_docs/it/menus-managing-items.md b/docs/website/translated_docs/it/menus-managing-items.md new file mode 100644 index 000000000000..8d28dda03305 --- /dev/null +++ b/docs/website/translated_docs/it/menus-managing-items.md @@ -0,0 +1,30 @@ +--- +id: menu-gestione-elementi +title: Gestione delle voci di menu +--- + +Il tuo menu è inutile a meno che non abbia voci di menu. È possibile aggiungere voci di menu che puntano a file locali o esterni. + +> L'URL dei siti esterni deve iniziare con http(s)://, ftp://, //, ecc. +> +> Puoi creare un separatore inserendo '-' come titolo dell'elemento + +## Aggiunta voci di menu + +È possibile aggiungere voci di menu alla volta, o è possibile aggiungere più voci di menu a quelle. + +### Aggiunta di voci di menu singolo + +Per aggiungere una singola voce di menu, * clicca su `Aggiungi voce di menu` pulsante * Inserisci le informazioni richieste e premi `Salva` + +### Aggiunta di elementi multipli + +Per aggiungere più voci di menu contemporaneamente, * Clicca sull'icona accanto a `Aggiungi voce di menu` * È possibile aggiungere manualmente gli elementi inserendo ogni elemento su una nuova linea e utilizzando gli elementi nest del carattere di scheda o * È possibile cliccare su una delle opzioni fornite nella parte inferiore dell'area di testo per compilare automaticamente gli elementi del menu + +## Riordina le voci del menu + +Puoi trascinare e rilasciare le voci di menu su/giù per impostare il loro ordine di visualizzazione, o trascinarle a sinistra/destra per impostare la gerarchia desiderata. + +## Ricostruzione delle voci di menu + +Se riscontri che le voci di menu non vengono visualizzate correttamente, clicca sul pulsante `Ricostruisci l'albero` per ricostruire le voci di menu. \ No newline at end of file diff --git a/docs/website/translated_docs/it/menus-managing.md b/docs/website/translated_docs/it/menus-managing.md new file mode 100644 index 000000000000..9fa1c64ad959 --- /dev/null +++ b/docs/website/translated_docs/it/menus-managing.md @@ -0,0 +1,22 @@ +--- +id: gestione menu +title: Gestione menu +--- + +Puoi creare dei menu nei paesi ACP che poi potrai visualizzare usando i menu o i blocchi dei link o visualizzarli come navbar orizzontale. + +## Gestione menu + +Per gestire i menu, vai su ACP > Estensioni > Sitemaker > Menu + +### Creazione di menu + +Per creare un nuovo menu (gruppo), clicca sul pulsante `Aggiungi Menu`. Verrà creato un nuovo gruppo di menu con un nome generato casualmente. Il nuovo menu verrà selezionato in modo da poter iniziare ad aggiungere voci di menu. + +### Modifica menu + +Se vuoi un nome del menu più significativo, * passa sopra il nome del menu e clicca sull'icona del ingrana * inserisci il nuovo nome del menu e premi invio per aggiornarlo + +### Eliminazione menu + +Per eliminare un menu e i suoi elementi, * Passa sopra il nome del menu e clicca sull'icona **x** * Se la voce del menu non ha elementi figli, dovrai confermare la tua scelta per eliminare l'elemento * Se la voce di menu ha elementi figli, è necessario indicare se si desidera eliminare solo l'elemento e spostare i suoi figli in su o se si desidera eliminare l'intero ramo \ No newline at end of file diff --git a/docs/website/translated_docs/it/site-block-modifiers.md b/docs/website/translated_docs/it/site-block-modifiers.md new file mode 100644 index 000000000000..aaa6147fa895 --- /dev/null +++ b/docs/website/translated_docs/it/site-block-modifiers.md @@ -0,0 +1,6 @@ +--- +id: modificatori-blocco-sito +title: Visualizzazione dei blocchi personalizzati +--- + +Lavoro in corso... \ No newline at end of file diff --git a/docs/website/translated_docs/it/site-default-layout.md b/docs/website/translated_docs/it/site-default-layout.md new file mode 100644 index 000000000000..50df3a6cf499 --- /dev/null +++ b/docs/website/translated_docs/it/site-default-layout.md @@ -0,0 +1,10 @@ +--- +id: layout-predefinito-sito +title: Impostazione Layout Predefinito +--- + +Quando aggiungi un blocco, viene aggiunto a quella pagina specifica. Sarebbe quindi noioso fissare blocchi per tutte le pagine del tuo sito. Puoi impostare tutti i blocchi desiderati per una pagina particolare, quindi impostare quella pagina come layout predefinito. In altre parole, qualsiasi pagina che non ha i propri blocchi, erediterà blocchi da questa pagina. + +Per impostare un layout predefinito * Vai alla pagina che vorresti impostare come layout predefinito * Clicca su `Impostazioni` nella barra di amministrazione * Clicca sul `impostato come layout predefinito` + +Dici che aggiungiamo blocchi a una pagina (phpBB/index.php) con blocchi nella barra laterale e posizioni top, ad esempio, e impostalo come nostro layout predefinito. Questo ha i seguenti effetti per altre pagine: * Qualsiasi pagina che non ha i propri blocchi, erediterà i blocchi dal layout predefinito. Vedi [Understanding Block Inheritance](./blocks-inheritance.md) per eccezioni. * Puoi ancora ereditare blocchi da un layout predefinito (index.php) ma scegliere di non visualizzare blocchi su alcune posizioni di blocco o di non visualizzare alcun blocco. Per fare questo, * Vai alla pagina che non vuoi che vengano visualizzati tutti/alcuni blocchi * Clicca su `Impostazioni` nella barra di amministrazione * Seleziona `Non mostrare blocchi in questa pagina` se non vuoi ereditare/visualizzare nessun blocco in questa pagina O * Usa CTRL + clicca per selezionare le posizioni del blocco (a destra) che non vuoi visualizzare blocchi su * In `modalità di modifica`, una pagina che eredita blocchi dal layout predefinito, non mostrerà alcun blocco, dandoti la possibilità di aggiungere blocchi alla pagina se vuoi * Qualsiasi pagina che ha i suoi blocchi non erediterà dal layout predefinito \ No newline at end of file diff --git a/docs/website/translated_docs/it/site-layouts.md b/docs/website/translated_docs/it/site-layouts.md new file mode 100644 index 000000000000..8b0d8aa46d19 --- /dev/null +++ b/docs/website/translated_docs/it/site-layouts.md @@ -0,0 +1,20 @@ +--- +id: layout-sito +title: Layout +--- + +"Disposizioni" determina le posizioni dei blocchi disponibili e come vengono visualizzate. + +## Posizione blocco + +Le posizioni bloccate sono aree predefinite sul tuo sito dove possono esistere blocchi. Le posizioni di blocco disponibili sono determinate dallo stile del template che stai usando. Per prosilver, phpBB SiteMaker è dotato delle seguenti posizioni a blocco: * pannello: larghezza intera in alto * barre laterali: sinistra/destra a seconda del layout sottostante * sottodomino: simile alla barra laterale appena più grande * top_hor: blocchi orizzontali in alto fianco sopra la barra laterale/sotto-contenuto a seconda del layout * superiore: sopra il contenuto principale * casella: larghezza uguale, blocchi orizzontali sotto il contenuto principale * bassi: sotto il contenuto principale * inferiore: blocchi orizzontali oltre il basso, fiancheggiando la barra laterale/sotto-contenuto a seconda del layout * footer: blocchi orizzontali nel piè di pagina È possibile aggiungere ulteriori punti nei propri modelli di stile copiando e modificando i corrispondenti modelli phpBB SiteMaker + +## Layout Sito + +Puoi scegliere il layout per il tuo sito in ACP (Esiche > Sitemaker > Impostazioni): * **Blog**: sottocontenuto e barra laterale vicini l'uno all'altro spinto a destra, top_hor/botom_hor di sottodolore fianco * **Sacro Grail**: larghezza uguale della barra laterale e sottodimensionamento sul lato opposto top_hor/botom_hor sotto-content flank * **Portale**: sidebar a sinistra, sottodominio a destra, sottocontenuto top_hor/botom_hor flank * **Portal Alt**: sottocontenuto a sinistra, sidebar a destra top_hor/botom_hor Sidebar flank * **Custom**: Imposta manualmente la larghezza della barra laterale come px, %, em o rem. Default a 200px su ogni lato + +## Modelli/stili personalizzati + +Per quanto possibile, abbiamo provato a mettere i file del modello e gli asset nella cartella stili/tutti/ in modo da poterli sovrascrivere creando un file con lo stesso nome sotto il tuo tema modello, ad esempio prosilver. Quindi, se vuoi modificare come viene visualizzato un determinato blocco o se vuoi creare un layout con le tue posizioni di blocco, devi semplicemente creare un file con lo stesso nome e percorso dell'originale nel tuo stile. + +Se hai bisogno di personalizzare i file CSS/JS, dai un'occhiata alla sezione [del tema](./developer-theming.md). \ No newline at end of file diff --git a/docs/website/translated_docs/it/site-navbar.md b/docs/website/translated_docs/it/site-navbar.md new file mode 100644 index 000000000000..5d7dbc67f695 --- /dev/null +++ b/docs/website/translated_docs/it/site-navbar.md @@ -0,0 +1,6 @@ +--- +id: navbar-sito +title: Barra di navigazione +--- + +Vedi [Visualizza menu](./menus-display#navigation-bar) \ No newline at end of file diff --git a/docs/website/translated_docs/it/site-startpage.md b/docs/website/translated_docs/it/site-startpage.md new file mode 100644 index 000000000000..44bc543a2310 --- /dev/null +++ b/docs/website/translated_docs/it/site-startpage.md @@ -0,0 +1,8 @@ +--- +id: pagina iniziale del sito +title: Impostazione di una pagina iniziale +--- + +phpBB SiteMaker ti permette di scegliere qualsiasi controller frontale (pagine accedute via app.php/...) come pagina iniziale predefinita (la pagina che verrà visualizzata quando qualcuno visita il tuo sito) al posto dell'indice della board. + +Per fare questo: * Vai alla pagina che vuoi impostare come pagina iniziale predefinita * Clicca su `Impostazioni` nella barra di amministrazione. Se è una pagina idonea, vedrai un `impostato come pagina iniziale` pulsante * Clicca sul pulsante `Imposta come pagina iniziale` \ No newline at end of file diff --git a/docs/website/translated_docs/ja/blocks-custom.md b/docs/website/translated_docs/ja/blocks-custom.md new file mode 100644 index 000000000000..d1990e6763b1 --- /dev/null +++ b/docs/website/translated_docs/ja/blocks-custom.md @@ -0,0 +1,24 @@ +--- +id: blocks-Custom +title: カスタムブロック +--- + +利用可能なブロックが必要な自由を与えてくれない場合 BBcodeやHTMLを使って自由に自分のコンテンツを表示できる `カスタムブロック` があります。 ブロックには WYSIWYG エディタ(TinyMCE)とスクリプトマネージャーが付属しています。 + +## エディタ + +- エディタを使用してHTMLコンテンツを作成することができます +- エディタの `ソース コード` アイコン (`<>`) をクリックして、そのレベルの制御が必要な場合は、ソースコードを編集できます。 +- このエディターでは、画像をアップロードおよび変更することができます + - phpBB/images/sitemaker_uploads/ に新しいフォルダを作成します。 + - すべてのユーザーフォルダを表示/管理できます +- エディタは、javascriptなどの危険なスクリプトをフィルタリングします。 google 広告のようなコンテンツを追加する必要がある場合は、javascript は除外されますが、次の操作を行うことで回避できます。 + - 目的の場所にカスタムブロックを追加 + - カスタムブロックを編集し、 `HTML` タブをクリックしてJavascriptを貼り付けます。 + +## スクリプトマネージャー + +カスタムブロックでは、カスタム CSS と Javascript ファイルをページに追加することもできます。 以下を行うには: + +- 任意のブロック位置に `カスタムブロック` を追加します。 ブロックの内容を表示しない限り、位置は関係ありません +- ブロックを編集 `スクリプト` タブをクリックし、CSSまたはJavascriptファイルを追加します。 > 注意事項:ページの多くのスクリプトに追加すると、読み込み時間に影響を与える可能性があります \ No newline at end of file diff --git a/docs/website/translated_docs/ja/blocks-inheritance.md b/docs/website/translated_docs/ja/blocks-inheritance.md new file mode 100644 index 000000000000..a7e12ef500b5 --- /dev/null +++ b/docs/website/translated_docs/ja/blocks-inheritance.md @@ -0,0 +1,44 @@ +--- +id: blocks-inherited from +title: ブロック継承を理解する +--- + +既定のレイアウトを設定することによって、既にそれを見ています。 独自のブロックを持たない他のページは、既定のレイアウトからブロックを継承します。 しかし、別のタイプのブロック継承があります。 + +## 親/子ルート + +phpBB SiteMakerでは、ネストされたルートについて、実際のネストされた(サブ)ディレクトリ、または事実上ネストされたパス/ルートについて述べています。 私と一緒にいてください :). * 実親/子ルート: 例えば、/some_directory/sub_directory/index.phpは/some_directory/index.phpの子です。 hp * 仮想親/子ルート: 例えば、viewtopic.phpはviewforum.phpの子として扱われます。 + +以下に、親/子ルートの例を示します。 + +| 親 | 子要素 | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/my-article | + +## 親/子ブロックの継承 + +親/子ルートの場合 子ルートは、親ルート(親が独自のブロックを持っている場合)またはデフォルトレイアウト(設定されている場合)から親ルートのブロックを継承します。 つまり、デフォルトのレイアウトがあっても。 親ルートに独自のブロックがある場合、子ルートはその親ルートからブロックを継承します。 しかし、親ルートからのすべてのブロックが継承されるわけではありません。 + +## ブロック継承の制御 + +ブロックレベルでは、ブロックを子ルートに継承できるタイミングを制御できます。 これについては、 [ブロック設定](./blocks-managing#editing-block-settings) を編集しています。 + +次の実際のディレクトリ構造を考えてみましょう。 + +```text +phpBB +├── index.php +├── Movies/ + ├── index.php + ├── page.php + ├── Comedy/ + ├── index.php +``` + +For the purposes of inheriting blocks, we say: * The parent route of /phpBB/Movies/Comedy/index.php is /phpBB/Movies/index.php and not /phpBB/Movies/page.php * All pages in a sub directory relative to /phpBB/index.php is a child route of /phpBB/index.php. ですから、/phpBB/Movies/index.phpと/phpBB/Movies/page.phpはすべて/phpBB/index.phpの子であり、自分のブロックがない場合はブロックを継承します。 In this case: * When a block on /phpBB/index.php is set to display on **Hide on child routes**, the block will show on /phpBB/index.php (parent route) but not on its child routes * When a block on /phpBB/index.php is set to display on **Show on child routes only**, it will display on /phpBB/Movies/index.php and /phpBB/Movies/page.php (child routes) but not on /phpBB/index.php (parent), nor /phpBB/Movies/Comedy/index.php (we only go one level deep) * When a block on /phpBB/index.php is set to display **always** (default), it will display on /phpBB/index.php (parent), /phpBB/Movies/index.php and /phpBB/page.php (child routes) but not on /phpBB/Movies/Comedy/index.php (we only go one level deep). この場合、/phpBB/Movies/Comedy/index.phpはデフォルトのルート(存在する場合)から継承されます。 + +## Posible Future State + +私はこの分野であなたのフィードバックに本当に興味があります。 ほとんどのphpBBユーザーは、上記のような実際のディレクトリを持っていません。 そこで、メニューブロックで定義されている構造を仮想ディレクトリ構造として使用し、この親/子継承を適用しようと考えています。 私はまた、1つのレベルの深さを超えることを検討しています. これが役に立つかどうか教えてください。 \ No newline at end of file diff --git a/docs/website/translated_docs/ja/blocks-managing.md b/docs/website/translated_docs/ja/blocks-managing.md new file mode 100644 index 000000000000..896e544e79d9 --- /dev/null +++ b/docs/website/translated_docs/ja/blocks-managing.md @@ -0,0 +1,38 @@ +--- +id: ブロック管理 +title: ブロックの管理 +--- + +phpBB SiteMakerでブロックを管理するには、 [編集モード](./blocks-overview#edit-mode)にする必要があります。 + +> ブロックがコンテンツを表示しない場合、編集モード以外は表示されません。 これにより、(format@@0ブロックの場合)コンテンツを与えるか、設定を変更することができます。 +> +> 編集モード やや透明なブロックは、表示されないブロックですが、編集モードになっているためにのみ表示されます + +## ブロックを追加中 + +ユーザーコントロールパネルとモデレーターコントロールパネルページを除き、フロントページにブロックを追加できます。 ブロックを追加するには、以下を行う必要があります: * Admin バーの **Blocks** をクリックします。 利用可能なブロックのリストが表示されます * 任意のブロック位置にドラッグ&ドロップします + +## ブロックの編集 + +### ブロックアイコンを追加する + +ブロックタイトルの左側には、ブロックアイコンのボックスがあります。 アイコンピッカーを取得するには、このボックスをクリックしてください。 アイコンのサイズ、色、フロート、回転などを選択できます。 + +### ブロックタイトルの編集 + +phpBB SiteMakerブロックにはデフォルトで翻訳されたタイトルがありますが、タイトルがニーズを満たしていない場合は変更できます。 ブロックのタイトルを編集する * ブロックのタイトルをクリックしてインライン編集フォームを取得する * タイトルを希望するものに変更する * フィールドからフォーカスを取り除くか、Enter キーを押して変更を送信する + +> 変更されたブロックのタイトルは翻訳されていません +> +> デフォルトのタイトルに戻すには、単純にタイトルを削除してEnterキーを押します。 + +### ブロック設定の編集 + +ブロックにカーソルを合わせると、コグアイコンがブロックの右側に表示され、ブロックを編集できます。 - ブロックを有効/無効にする [Status] - ブロックを表示/非表示にするタイミングを選択する [Display]. This only applies in cases where you have nested pages (see [Understanding Block Inheritance](./blocks-inheritance.md)): - **Always**: Always display the block - **Hide on child routes**: Only show this block on the parent route - **Show on child routes only**: Only show this block on a child route - Choose which groups of users can view the block [Viewable by]. 複数のグループを選択するには、Ctrl + クリックを使用します。 - ブロックまたはアイテム(リスト、画像、背景)の外観を変更するカスタムクラスを設定します etc) ブロック内の [CSS クラス] - ブロックタイトルを表示・非表示にします。 - ブロックビュー を選択します。 ACPに新しいブロックが追加されると、デフォルトのブロックビューを選択できます。 - **Default / Simple**: uses the prosilver panel class to wrap the block in a padded container - **Basic**: block does not have any container wrapping it - **Boxed**: uses the prosilver forabg class to wrap the block in a box - Set / Update block specific settings - If you have the same block with same settings across multiple pages, you can update all of them at once by checking the **Update blocks with similar settings** + +## ブロックを削除中 + +- 削除したいブロックにカーソルを合わせます +- **x** アイコンをクリックし、ブロックを削除することを確認します +- 管理者バーに移動し、 `変更を保存` をクリックします \ No newline at end of file diff --git a/docs/website/translated_docs/ja/blocks-overview.md b/docs/website/translated_docs/ja/blocks-overview.md new file mode 100644 index 000000000000..308e93c0d60f --- /dev/null +++ b/docs/website/translated_docs/ja/blocks-overview.md @@ -0,0 +1,10 @@ +--- +id: ブロックの概要 +title: ブロックとは? +--- + +phpBB SiteMakerの中心にはブロックの概念があります。 ブロックとは、サイト上のさまざまな事前定義されたエリア(ブロック位置)に配置できる小さなコンテンツのことです。 ブロックには通常、表示したいコンテンツを微調整するように設定/変更できる設定があります。 ほとんどのブロックは、すべてではありませんが、所望のコンテンツを取得するためにデータベースクエリを行います。 だから、あまりにもクレイジーにしないようにしましょう :)。 ブロックを管理するには、「編集モード」に切り替える必要があります。 + +## 編集モード + +サイトの右上にある鉛筆アイコンをクリックして編集モードに切り替えます。 これにより、"ブロック" と "設定" のメニュー項目が表示されます。 これは「編集モード」と呼ばれます。 \ No newline at end of file diff --git a/docs/website/translated_docs/ja/blocks-views.md b/docs/website/translated_docs/ja/blocks-views.md new file mode 100644 index 000000000000..bdfa4a82b255 --- /dev/null +++ b/docs/website/translated_docs/ja/blocks-views.md @@ -0,0 +1,6 @@ +--- +id: ブロックビュー +title: ブロックビュー +--- + +作業中... \ No newline at end of file diff --git a/docs/website/translated_docs/ja/contrib-overview.md b/docs/website/translated_docs/ja/contrib-overview.md new file mode 100644 index 000000000000..ddd9c0f2a1c9 --- /dev/null +++ b/docs/website/translated_docs/ja/contrib-overview.md @@ -0,0 +1,11 @@ +--- +id: contrib-overview +title: 参加する +--- + +phpBB SiteMakerはオープンソースプロジェクトであり、あなたのアイデアや貢献を歓迎します。 だから自由に参加してください。 このプロジェクトに貢献することができます: + +* [サポート/フィードバックの提供](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [バグの報告](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [翻訳を支援する](./contrib-translators.md) +* [バグの修正や機能の追加](./contrib-pull-requests.md) \ No newline at end of file diff --git a/docs/website/translated_docs/ja/contrib-pull-requests.md b/docs/website/translated_docs/ja/contrib-pull-requests.md new file mode 100644 index 000000000000..d2bd4c28aade --- /dev/null +++ b/docs/website/translated_docs/ja/contrib-pull-requests.md @@ -0,0 +1,76 @@ +--- +id: contrib-pull-requests +title: プルリクエストを送信中 +sidebar_label: 取得リクエスト +--- + +`プルリクエストを使用すると、GitHub 上のリポジトリのブランチにプッシュした変更を他の人に知らせることができます。 プルリクエストが開かれると、 コラボレーターとの潜在的な変化について議論したり確認したりできますし、変更がベースブランチにマージされる前にフォローアップコミットを追加できます。` [続きを読む](https://help.github.com/articles/about-pull-requests/) + +## フォーク/複製 + +* Github アカウントをまだお持ちでない場合は作成してください +* https://github.com/blitze/phpBB-ext-sitemaker.git に移動し、"Fork" をクリックしてください。 + +リポジトリのフォークをクローン: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +コマンドラインから sitemaker ディレクトリに移動します: + + cd phpBB/ext/blitze/sitemaker + + +**gitを設定:** + +システムの Git にユーザー名を追加します。 + + git config --global user.name "Your Name Here" + + +システムの Git にメールアドレスを追加します。 + + git config --add user.email username@phpbb.com + + +上流のリモートを追加します(「upstream」を好きなように変更できます): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + + +**ベンダのインストール** + + composer install + + +**NPMパッケージのインストール** + + npm install + + +あるいは、 [yarn](https://yarnpkg.com) を使用することもできます。 + + yarn install + + +## 取得リクエスト + + # あなたの機能 & に切り替えるための新しいブランチを作成します。 + git checkout -b feature/my-fancy-new-feature + + # あなたが取り組んでいる課題の新しいブランチを作成します(チケット # github trackerからのものです)。 + git checkout -b ticket/1234 + + +変更を加えてください + + # Stage the files + git add + + # Commit steded files - Please use a correct commit message + git commit -m "my commit message" + + +ブランチをGitHub に押し戻します git push origin feature/my-fancy-new-feature + +[プルリクエスト](https://github.com/blitze/phpBB-ext-sitemaker/pulls)を送信 \ No newline at end of file diff --git a/docs/website/translated_docs/ja/contrib-translators.md b/docs/website/translated_docs/ja/contrib-translators.md new file mode 100644 index 000000000000..d4da5d20cbae --- /dev/null +++ b/docs/website/translated_docs/ja/contrib-translators.md @@ -0,0 +1,17 @@ +--- +id: contrib-translators +title: 翻訳 +--- + +この拡張機能の翻訳とドキュメントが必要です。 翻訳を容易にするためにCrowdinでプロジェクトを作成しました。 Crowdinは誰にも負けない翻訳インターフェースを提供します。 あなたはいつでも貢献することができますが、Crowdinを使用することをお勧めします。 + +> Crowdin は企業がソフトウェアを翻訳するのに役立つローカライズマネージメントプラットフォームです。 Crowdin [についてはこちら](https://support.crowdin.com/crowdin-intro/) をご覧ください。 + +翻訳に貢献したい場合は、以下が必要になります: + +* [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) アカウント +* それ以外の場合に有効にするために、ターゲット言語を選択します。 + +ご希望の言語が記載されていない場合は、 [私に連絡してください](https://crowdin.com/profile/blitze) そして私は追加します。 + +[翻訳を開始](https://crowdin.com/project/phpbb-ext-sitemaker) \ No newline at end of file diff --git a/docs/website/translated_docs/ja/developer-events.md b/docs/website/translated_docs/ja/developer-events.md new file mode 100644 index 000000000000..4a9b9591b7cb --- /dev/null +++ b/docs/website/translated_docs/ja/developer-events.md @@ -0,0 +1,120 @@ +--- +id: developer-events +title: phpBBサイトメーカーのイベント +--- + +phpBBのイベントシステムを使ってphpBB SiteMakerの動作を変更できます。 + +## PHPイベント + +# blitze.sitemaker.acp_add_bulk_menu_options + +- 場所: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- 以降: 3.1.0 +- 目的: 一括メニューオプションを acp メニューに追加 + +# blitze.sitemaker.acp_display_settings_form + +- 場所: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- 以降: 3.1.0 +- 目的: acp (sitemaker) 設定フォームの表示 + +# blitze.sitemaker.acp_save_settings + +- 場所: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- 以降: 3.1.0 +- 目的: acp (sitemaker) 設定を保存 + +# blitze.sitemaker.admin_bar.set_assets + +- 場所: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- 以降: 3.0.1-RC1 +- 目的: 編集モードで利用可能なブロックにアセットを追加 + +# blitze.sitemaker.modify_block_positions + +- 場所: /phpBB/ext/blitze/sitemaker/services/blocks.php +- 以降: 3.0.1-RC1 +- 目的: ブロック位置の変更 + +# blitze.sitemaker.modify_rendered_block + +- 場所: /phpBB/ext/blitze/sitemaker/services/blocks.php +- 以降: 3.0.1-RC1 +- 目的: レンダリングされたブロックを変更 + +## テンプレートイベント + +# blitze_sitemaker_acp_settings + +- 場所: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- 以降: 3.1.0 +- 目的: サイトマッカー設定用のフォームフィールドを追加 + +# blitze_sitemaker_admin_bar_append + +- 場所: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- 以降: 3.1.0 +- 目的: 管理バーにメニュー項目を追加 + +# blitze_sitemaker_admin_bar_templates + +- 場所: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- 以降: 3.1.0 +- 目的: ブロックビューなどの JS で使用するテンプレートファイルを追加 + +## Javascriptイベント + +# blitze_sitemaker_layout_saved + +- 場所: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- 以降: 3.1.2 +- 目的: レイアウトの変更が保存されたときに他の拡張機能が何かを行うことを許可するイベント + +# blitze_sitemaker_render_block_before + +- 場所: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- 以降: 3.1.2 +- 目的: ブロックがレンダリングされる前に他の拡張機能が何かを行えるようにするイベント、または再レンダリングされないようにするイベント + +# blitze_sitemaker_render_block_after + +- 場所: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- 以降: 3.1.2 +- 目的: ブロックがレンダリングされた後に他の拡張機能が何かを行えるようにするイベント + +# blitze_sitemaker_save_block_before + +- 場所: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- 以降: 3.1.2 +- 目的: 他の拡張機能がブロックデータを保存する前に変更できるイベント + +# blitze_sitemaker_show_all_block_positions + +- 場所: /phpBB/ext/blitze/sitemaker/develop/components/Positions.js +- 以降: 3.1.2 +- 目的: すべてのブロック位置が表示されているときに他の拡張機能が何かを行うことを許可するイベント + +# blitze_sitemaker_hide_empty_block_positions + +- 場所: /phpBB/ext/blitze/sitemaker/develop/components/Positions.js +- 以降: 3.1.2 +- 目的: 空の位置が非表示の場合、他の拡張機能が何かを行えるようにするイベント + +# blitze_sitemaker_layout_clear + +- 場所: /phpBB/ext/blitze/sitemaker/develop/components/Positions.js +- 以降: 3.1.2 +- 目的: レイアウトがクリアされたときに他の拡張機能が何かを行えるようにするイベント + +# blitze_sitemaker_layout_updated + +- 場所: /phpBB/ext/blitze/sitemaker/develop/components/Positions.js +- 以降: 3.1.2 +- 目的: レイアウトが更新されたときに他の拡張機能が何かを行うことを許可するイベント + +# blitze_sitemaker_tinymce_options + +- 場所: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- 以降: 3.3.0 +- 目的: 他のエクステンションがtinymceオプションを変更できるようにするイベント \ No newline at end of file diff --git a/docs/website/translated_docs/ja/developer-extensions.md b/docs/website/translated_docs/ja/developer-extensions.md new file mode 100644 index 000000000000..189877c6b652 --- /dev/null +++ b/docs/website/translated_docs/ja/developer-extensions.md @@ -0,0 +1,177 @@ +--- +id: developer-extensions +title: phpBBサイトメーカーを拡張 +--- + +phpBB SiteMakerは、 [サービス交換](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement)、 [サービスデコレーション](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration)、および [phpBBのイベントシステム](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html)を使用して拡張/変更できます。 サポートされているイベントのリストは [](./developer-events.md) をご覧ください。 + +## SiteMaker ブロックの作成 + +phpBB SiteMaker ブロックは、blitze\sitemaker\services\blocks\driver\block クラスを拡張し、「display」メソッドから 'title' と 'content' の配列を返す単なるクラスです。 他のすべてはあなた次第です。 phpBB SiteMakerでブロックを検出できるようにするには、「sitemaker.block」タグを指定する必要があります。 + +例えば、vendor/extension を my/example とする拡張子があるとします。 phpBB SiteMakerの「my_block」というブロックを作成するには: + +- "blocks" フォルダを作成 +- 以下の内容のmy_block.phpファイルをblockフォルダに作成します + +```php +namespace my\example\blocks; + +use blitze\sitemaker\services\blocks\driver\block; + +class my_block extends block +{ + /** + * {@inheritdoc} + */ + public function display(array $settings, $edit_mode = false) + { + return array( + 'title' => 'my block title', + 'content' => 'my block content', + ); + } +} +``` + +次に、config.yml ファイルに以下を追加します。 + +```yml +サービス: + +... + + my.example.block.my_block: + class: my\example\blocks\my_block + calls: + - [set_name, [my.example.block.my_block]] + tags: + - { name: sitemaker.block } + +.... + +``` + +最低限必要なのはそれだけです 編集モードに入ると、任意のブロック位置にドラッグ&ドロップできる「MY_EXAMPLE_BLOCK_MY_BLOCK」と表示されているブロックが表示されます。 しかし、このブロックはエキサイティングではありません。 これは設定を持たず、ブロック名を変換しません。 もっと面白くしましょう。 + +### ブロック設定 + +ブロック/my_blockを修正しましょう。 hpファイルと追加「get_config」メソッドでは、ブロック設定とそのような設定を説明する配列であるキーを持つ配列を返します。 + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Only show when option 1 is selected
'), + ); + } +``` + +これは、phpBBがACPのボード設定用の構成を構築するのと同じ方法で構成されています。 さらに多くの例 [はこちら](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php) をご覧ください。 + +カスタムフィールドタイプが必要な場合は、 [の例](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' の設定) を参照できます。 + +'legend1' と 'legend2' に注意してください: これらは設定をタブに分割するために使用されます。 + +### 名前を付けるブロック + +ブロック名の規則は、サービス名 (e.g my.example.block) というものです。 y*block above)は、ドット(.)をアンダースコア(*)に置き換えることで言語キーとして使用されます(例:MY_EXAMPLE_BLOCK_MY_BLOCK)。 + +### 翻訳 + +また、翻訳が必要な言語キーがいくつかあります。 これを行うには、言語フォルダに「blocks_admin.php」という名前のファイルを作成します。 このファイルは、ブロックを編集するときに自動的に読み込まれます。あなたのブロックの設定とブロック名の翻訳が必要です。 + + $lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Option 1', + 'OTHER_LANG_VAR' => 'Option 2', + 'SOME_LANG_VAR_1' => 'Setting 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'マイブロック', + ); + + +'blocks_admin.php' はブロックを編集するときにのみ読み込まれるので、他の翻訳を追加する必要があります(例: `$language->add_lang('my_lang_file', 'my/example'); のようにdisplayメソッドに言語ファイルを読み込んでください。` + +### ブロックのレンダリング + +新しいブロックは、何かをレンダリングしている場合にのみ表示されます。 ブロックは任意の文字列をコンテンツとして返すことができますが、ほとんどの場合、コンテンツをレンダリングするためのテンプレートが必要です。 テンプレートを使用してブロックをレンダリングするには、 ブロックは、テンプレートに渡すデータを保持する配列を返し、 `get_template` メソッドを以下に示すように実装する必要があります。 + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block.html'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // do something only in edit mode + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); + } +``` + +styles/all/my_block.htmlまたはstyles/prosilver/my_block.htmlファイルは次のようになります: + +

選択済: {{ some_var }}

+ + +In summary, your block must return an array with a `title` key (for the block title) and a `content` key (if the block just displays a string and does not use a template) or a `data` key (if the block uses a template, in which case, you will also need to implement the `get_template` method). + +### 資産をブロック + +ページにアセット(css/js)を追加する必要がある場合は、サイトメーカー [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) を使用することをお勧めします。 ページ上に同じブロックのインスタンスが複数ある場合があるので、 または他のブロックが同じ資産を追加している可能性がありますutilクラスは、資産が追加されたもののみを保証します。 + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some.js', + 100 => '@my_example/assets/other.js', // set priority + ), + 'css' => array( + '@my_example/assets/some.css', + ) + )); +``` + +The util class will, of course, need to be added to your service definitions in config.yml like so: `- '@blitze.sitemaker.util'` and defined in your block's constructor `\blitze\sitemaker\services\util $util`. + +以上です 完了! \ No newline at end of file diff --git a/docs/website/translated_docs/ja/developer-theming.md b/docs/website/translated_docs/ja/developer-theming.md new file mode 100644 index 000000000000..13c98b761221 --- /dev/null +++ b/docs/website/translated_docs/ja/developer-theming.md @@ -0,0 +1,55 @@ +--- +id: 開発者のテーマ +title: テーマ +--- + +phpBB SiteMakerはプロシルバー用に作られたスタイルと色が付属しています。 スタイルフォルダに対応するファイルを作成することで、CSS、JS、およびHTMLファイルを上書きできます。 + +# スタイルの JS/CSS ファイルを作成する + +注: * 以下の手順では、my-styleと呼ばれるスタイルがあると仮定します。 + +phpBB/ext/blitze/sitemakerにクローン: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +コマンドラインから sitemaker ディレクトリに移動します: + + cd phpBB/ext/blitze/sitemaker + + +**ベンダのインストール** + + composer install + + +**パッケージのインストール** + +以下のコマンドでは、npm または [yarn](https://yarnpkg.com) を使用できます。 + + yarn install + + +**ウォッチの変更** + + yarn start --theme my-style + + +**変更する** + +* phpBB/ext/blitze/sitemaker/developmentフォルダ内のファイルに変更を加えます。 +* sass 変数の phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss を参照してください。 + +**資産を構築** + + yarn build --theme my-style + + +**デプロイ** + +phpBB/ext/blitze/sitemaker/styles/my-styleから生成されたファイルをコピーして、本番サーバーにアップロードできるようになりました。 + +> この拡張機能は、タブ、ダイアログ、ボタンにjQuery UIを使用します。 デフォルトのjQueryテーマは「滑らかさ」です。テーマに最適な別のjQuery UIテーマを使用できます。 jQuery UI テーマは、--jq_ui_themeフラグを使用して指定できます。 例: + + yarn build --theme my-style -jq_ui_theme ui-lightness \ No newline at end of file diff --git a/docs/website/translated_docs/ja/filemanager.md b/docs/website/translated_docs/ja/filemanager.md new file mode 100644 index 000000000000..08caa9b8029e --- /dev/null +++ b/docs/website/translated_docs/ja/filemanager.md @@ -0,0 +1,34 @@ +--- +id: filemanager +title: Responsive Filemanager +--- + +As of version 3.1.0, phpBB SiteMaker supports the [Responsive Filemanager](http://responsivefilemanager.com) + +* The file manager is used as a TinyMCE pluging (WYSIWYG editor) when editing custom blocks +* It is currently configured to creat separate folders for each user, except the user with a_sm_filemanager permission (Can see/manage other users' folders), which allows them access to view/manage all upload folders. + +## Installation + +* Download the [Responsive FileManager](http://responsivefilemanager.com/index.php#sthash.5UrnhjX2.dpbs) +* Extract it, and upload the files to your phpBB root folder. The file structure should be as below: + +```text +phpBB +├── images/ +├── includes/ +├── ... +└── ResponsiveFilemanager/ + └── filemanager/ + └── config/ + ├── .htaccess + └── config.php +``` + +## Activation + +* Go to ACP > Extensions > SiteMaker > Settings +* Enable File Manager feature +* Save changes +* Update user permissions (Misc tab) to determine who can use this feature [Can use File Manager] +* Update admin permissions (Misc tab) to determine who can manager user folders [Can see/manage other users’ folders in File Manager] \ No newline at end of file diff --git a/docs/website/translated_docs/ja/installation.md b/docs/website/translated_docs/ja/installation.md new file mode 100644 index 000000000000..74e9fac3f8ef --- /dev/null +++ b/docs/website/translated_docs/ja/installation.md @@ -0,0 +1,18 @@ +--- +id: インストール +title: インストール/アップグレード +--- + +[から](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) 拡張機能をダウンロードする + +## Installing phpBB SiteMaker + +* phpBB/ext/blitze/sitemaker があるように、phpBB/ext/ext/ext/sitemaker にそれを抽出してアップロードします +* 「ACP」>「カスタマイズ」>「拡張機能」に移動し、「phpBBサイトマッカー」拡張機能を有効にします。 + +## phpBB SiteMaker をアップグレードする + +* 何か問題が発生した場合に備えてデータベースのバックアップを作成します +* 「ACP」>「カスタマイズ」>「拡張機能」に移動し、無効にします(パージしない)「phpBB Sitemaker」 +* 最新バージョンのphpBB SiteMakerをダウンロードして抽出し、phpBB/ext/フォルダにアップロードしてください(上書き) +* 「ACP」>「カスタマイズ」>「拡張機能」に移動し、「phpBBサイトマッカー」拡張機能を有効にします。 \ No newline at end of file diff --git a/docs/website/translated_docs/ja/introduction.md b/docs/website/translated_docs/ja/introduction.md new file mode 100644 index 000000000000..19033cd7c60e --- /dev/null +++ b/docs/website/translated_docs/ja/introduction.md @@ -0,0 +1,6 @@ +--- +id: 紹介 +title: はじめに +--- + +phpBB SiteMakerは、phpBBボードをCMS/ポータルに変換しようとしています。 それはあなたがあなたの好みに合わせてあなたのサイトをカスタマイズするのを助けるためにブロックとメニューを提供することによってそうします。 この目標を達成するための追加機能を提供する他のSiteMakerエクステンションがあります。 また、サイトにアクセスしたときにランディングページを定義することもできます。 だから、彼らがwwwに行くとき、あなたのサイトへの訪問者がすぐにphpBBフォーラムを見たいと思わない場合。 私たちの site.com、あなた自身のスタートページを定義することができます。 \ No newline at end of file diff --git a/docs/website/translated_docs/ja/menus-display.md b/docs/website/translated_docs/ja/menus-display.md new file mode 100644 index 000000000000..11490e0a2d65 --- /dev/null +++ b/docs/website/translated_docs/ja/menus-display.md @@ -0,0 +1,18 @@ +--- +id: menus-display +title: メニューを表示 +--- + +メニューを作成したので、いくつかの方法で表示できます。 + +## リンクブロック + +このブロックを使用して、メニュー項目のフラットまたはネストされたリストを表示できます。 このブロックはナビゲーションに使用されることを意図していません。つまり、現在のページやそのようなものは表示されません。 これは外部リンクを含む項目のリストを対象としています。 + +## メニューブロック + +このブロックはサイトナビゲーションを目的としています。 現在位置を決定するためにいくつかの追加の計算を行い、非常に大きなリストであることを意図していません。 + +## ナビゲーションバー + +format@@0 ブロックと同様に、ナビゲーション バーには、サイト ナビゲーション用の応答性の高いドロップダウン メニューとしてメニュー アイテムが表示されます。 これを有効にするには、ACP > エクステンション > サイトマッカー > 設定 > メニューを選択してください \ No newline at end of file diff --git a/docs/website/translated_docs/ja/menus-managing-items.md b/docs/website/translated_docs/ja/menus-managing-items.md new file mode 100644 index 000000000000..9c178055ac4b --- /dev/null +++ b/docs/website/translated_docs/ja/menus-managing-items.md @@ -0,0 +1,30 @@ +--- +id: menus-managing-items +title: メニューアイテムの管理 +--- + +メニューにメニューアイテムがない限り、メニューは役に立ちません。 ローカルまたは外部ファイルをポイントするメニュー項目を追加できます。 + +> 外部サイトの URL は、http(s)://、ftp://、などで始まる必要があります。 +> +> 項目名として「-」を入力することで区切り文字を作成することができます + +## メニューアイテムを追加中 + +一度に1つの項目を追加したり、複数のメニュー項目を一度に追加したりできます。 + +### 単一のメニュー項目を追加 + +単一のメニューアイテムを追加するには * `メニュー項目を追加` ボタンをクリック * 必要な情報を入力し、 `保存` + +### 複数のアイテムを追加中 + +一度に複数のメニュー項目を追加する。 * `メニュー項目を追加`の横にある アイコンをクリックします。 * 新しい行に各項目を配置し、タブ文字のネスト項目を使用することで手動で項目を追加することができます。 * テキスト領域の下部にある提供されたオプションのいずれかをクリックして、メニュー項目を自動的に入力することができます。 + +## メニュー項目を並び替え + +メニュー項目を上下にドラッグ&ドロップして表示順序を設定したり、左右にドラッグして目的の階層を設定したりできます。 + +## メニューアイテムの再構築 + +メニュー項目が正しく表示されていない場合は、 `Rebuild Tree` ボタンをクリックしてメニュー項目を再構築します。 \ No newline at end of file diff --git a/docs/website/translated_docs/ja/menus-managing.md b/docs/website/translated_docs/ja/menus-managing.md new file mode 100644 index 000000000000..d3da3dd31172 --- /dev/null +++ b/docs/website/translated_docs/ja/menus-managing.md @@ -0,0 +1,22 @@ +--- +id: menus-managing +title: メニューの管理 +--- + +ACPでメニューを作成し、メニューやリンクブロックを使って表示したり、水平ナビゲーションバーとして表示したりできます。 + +## メニューの管理 + +メニューを管理するには、ACP > Extensions> Sitemaker > Menu + +### メニューの作成 + +新しいメニュー (グループ) を作成するには、 `メニューの追加` ボタンをクリックします。 ランダムに生成された名前で新しいメニューグループが作成されます。 新しいメニューも選択されるので、メニュー項目を追加することができます。 + +### メニューの編集 + +もっと意味のあるメニュー名が欲しい場合 * メニュー名にカーソルを合わせ、歯車アイコンをクリック * 新しいメニュー名を入力し、Enter キーを押して更新します。 + +### メニューの削除 + +To delete a menu, and its items, * Hover over the menu name and click on the **x** icon * If the menu item has no child items, you will need to confirm your choice to delete the item * If the menu item has child items, you will need to indicate if you want to delete only the item and move its children up or if you want to delete the entire branch \ No newline at end of file diff --git a/docs/website/translated_docs/ja/site-block-modifiers.md b/docs/website/translated_docs/ja/site-block-modifiers.md new file mode 100644 index 000000000000..548e94748202 --- /dev/null +++ b/docs/website/translated_docs/ja/site-block-modifiers.md @@ -0,0 +1,6 @@ +--- +id: site-block-modifiers +title: ブロックの表示をカスタマイズ +--- + +作業中... \ No newline at end of file diff --git a/docs/website/translated_docs/ja/site-default-layout.md b/docs/website/translated_docs/ja/site-default-layout.md new file mode 100644 index 000000000000..a67866f69da8 --- /dev/null +++ b/docs/website/translated_docs/ja/site-default-layout.md @@ -0,0 +1,10 @@ +--- +id: site-default-layout +title: デフォルトレイアウトの設定 +--- + +ブロックを追加すると、その特定のページに追加されます。 従って、あなたの場所のすべてのページのためのブロックをセットすることは退屈な仕事である。 特定のページに必要なすべてのブロックを設定し、そのページをデフォルトのレイアウトとして設定できます。 つまり、独自のブロックを持たないページは、このページからブロックを継承します。 + +デフォルトのレイアウトを設定するには * デフォルトのレイアウトとして設定したいページに移動します。 * 管理バーの `設定` をクリックします。 * `既定のレイアウトに設定する` ボタンをクリックします。 + +たとえば、サイドバーと最上位の位置にブロックを含むページ(phpBB/index.php)にブロックを追加し、デフォルトのレイアウトとして設定します。 他のページには以下のような効果があります: * ブロックがないページ。 は、デフォルトレイアウトからブロックを継承します。 例外については、 [ブロック継承の理解](./blocks-inheritance.md) を参照してください。 * デフォルトのレイアウト(インデックス)からブロックを継承することができます。 hp) しかし、一部のブロック位置にブロックを表示しないように選択するか、まったくブロックを表示しません。 To do this, * Go to the page that you don't want all/some blocks to display * Click on `Settings` in the admin bar * Select `Do not show blocks on this page` if you don't want to inherit/display any blocks on this page OR * Use CTRL + click to select the block positions (on the right) that you do not want to display blocks on * In `edit mode`, a page that inherits blocks from the default layout, will not show any blocks, giving you the opportunity to add blocks to the page if you want to * Any page that has its own blocks will not inherit from the default layout \ No newline at end of file diff --git a/docs/website/translated_docs/ja/site-layouts.md b/docs/website/translated_docs/ja/site-layouts.md new file mode 100644 index 000000000000..0507607a0208 --- /dev/null +++ b/docs/website/translated_docs/ja/site-layouts.md @@ -0,0 +1,20 @@ +--- +id: サイトレイアウト +title: レイアウト +--- + +"レイアウト" は、使用可能なブロックの位置と表示方法を決定します。 + +## ブロックの位置 + +ブロック位置は、ブロックが存在できるサイト上の事前定義された領域です。 使用可能なブロックの位置は、使用しているテンプレートスタイルによって決まります。 For prosilver, phpBB SiteMaker comes with the following block positions: * panel: full width across the top * sidebar: left/right depending on layout below * subcontent: similar to sidebar just larger * top_hor: horizontal blocks across the top, flanking above sidebar/subcontent depending on layout * top: above main content * box: equal width, horizontal blocks below main content * bottom: below main content * bottom_hor: horizontal blocks across the bottom, flanking the sidebar/subcontent depending on layout * footer: horizontal blocks in the footer You can add more block positions in your own style templates by copying and modifying the corresponding phpBB SiteMaker templates + +## サイトレイアウト + +You can choose the layout for your site in ACP (Extensions > Sitemaker > Settings): * **Blog**: subcontent and sidebar next to each other, pushed to the right, top_hor/botom_hor flank subcontent * **Holy Grail**: equal width sidebar and subcontent on opposite sides, top_hor/botom_hor flank subcontent * **Portal**: sidebar on left, subcontent on the right, top_hor/botom_hor flank subcontent * **Portal Alt**: subcontent on left, sidebar on the right, top_hor/botom_hor flank sidebar * **Custom**: Manually set the width of the sidebars as px, %, em or rem. デフォルトは、各側面で 200px です。 + +## カスタムテンプレート/スタイル + +できるだけ多くの テンプレートファイルとアセットをstyles/all/フォルダに入れて、自分のテンプレートテーマeの下に同じ名前のファイルを作成することで上書きできるようにしました。 プロシルバーだ そのため、特定のブロックの表示方法を変更したい場合や、独自のブロックの位置を使用して独自のレイアウトを作成したい場合に使用します。 オリジナルと同じ名前とパスを持つファイルを独自のスタイルで作成する必要があります + +CSS/JS ファイルをカスタマイズする必要がある場合は、 [テーマ](./developer-theming.md) セクションを参照してください。 \ No newline at end of file diff --git a/docs/website/translated_docs/ja/site-navbar.md b/docs/website/translated_docs/ja/site-navbar.md new file mode 100644 index 000000000000..a0ce5c0f36c5 --- /dev/null +++ b/docs/website/translated_docs/ja/site-navbar.md @@ -0,0 +1,6 @@ +--- +id: site-navbar +title: ナビゲーションバー +--- + +[メニューの表示](./menus-display#navigation-bar) を参照 \ No newline at end of file diff --git a/docs/website/translated_docs/ja/site-startpage.md b/docs/website/translated_docs/ja/site-startpage.md new file mode 100644 index 000000000000..55c150217b87 --- /dev/null +++ b/docs/website/translated_docs/ja/site-startpage.md @@ -0,0 +1,8 @@ +--- +id: site-startpage +title: スタートページの設定 +--- + +phpBB SiteMakerでは、任意のフロントコントローラー(app.php/char@@0からアクセスするページ)を選択できます。 をデフォルトのスタートページ(誰かがサイトにアクセスしたときに表示されるページ)として、ボードインデックスの代わりに表示されます。 + +これを行うには: * デフォルトの開始ページとして設定したいページに移動します * 管理バーの `設定` をクリックします。 対象となるページの場合。 `開始ページに設定` ボタン * `開始ページに設定` ボタン \ No newline at end of file diff --git a/docs/website/translated_docs/nb/blocks-custom.md b/docs/website/translated_docs/nb/blocks-custom.md new file mode 100644 index 000000000000..d259fbabd19f --- /dev/null +++ b/docs/website/translated_docs/nb/blocks-custom.md @@ -0,0 +1,24 @@ +--- +id: blokkers-egendefinert +title: Egendefinert blokk +--- + +Hvis tilgjengelige blokker ikke gir deg den friheten du trenger, Det er `Egendefinerte blokker` som lar deg friheten til å vise ditt eget innhold ved hjelp av BBcode eller HTML. Blokken kommer med en WYSIWYG editor (TinyMCE) og administrerer: + +## Redaktør + +- Du kan bruke redigeringsprogrammet for å lage HTML-innhold +- Du kan redigere kildekoden hvis du trenger det kontrollnivået ved å klikke på `Kildekode` -ikonet (`<>`) i editoren +- Redigeringsprogrammet lar deg laste opp og endre bilder + - Det oppretter en ny mappe i phpBB/images/sitemaker_uploads/ for alle brukere som har tilgang til den + - Du kan se/behandle alle brukermapper +- Redigeringsprogrammet filtrerer ut potensielt farlige skripter som javascript, osv. Hvis du trenger å legge til innhold som google annonser, vil JavaScript filtreres ut, men det kan du komme deg rundt ved å gjøre følgende: + - Legg til den egendefinerte blokken til ønsket sted + - Rediger egendefinert blokk, klikk på `HTML` og lim inn Javascript + +## Skript behandler + +Den egendefinerte blokken lar deg også legge til egendefinerte CSS-filer til siden din. Å gjøre dette: + +- Legg til en `egendefinert blokk` i hvilken som helst blokkposisjon. Denne posisjonen spiller ingen rolle med mindre du også viser innhold med blokken +- Rediger blokken, klikk på `Scripts` fanen og legg til dine CSS eller Javascript-filer > Varsomhet med ord: Legg til i mange skript på siden kan påvirke lastetiden \ No newline at end of file diff --git a/docs/website/translated_docs/nb/blocks-inheritance.md b/docs/website/translated_docs/nb/blocks-inheritance.md new file mode 100644 index 000000000000..eaec755e695a --- /dev/null +++ b/docs/website/translated_docs/nb/blocks-inheritance.md @@ -0,0 +1,44 @@ +--- +id: blokkers arv +title: Forstå blokkarving +--- + +Vi har allerede sett at ved å sette et standardoppsett, andre sider som ikke har egne blokker vil arve blokkene fra standardoppsettet. Det finnes imidlertid en annen form for arv. + +## Foreldre/Underordnede ruter + +I phpBB SiteMaker snakker vi om nestede ruter i form av ekte nested (sub) kataloger eller tilnærmet nested paths/routes. Bli med meg :). * Virkelige foreldre/barn-veier: For eksempel er stien /some_directory/sub_directory/index.php et barn i /some_directory/index. hp * Virtuelle Parent/Underbarn: For eksempel behandles viewtopic.php som barn i viewforum.php. + +Her er noen eksempler på foreldre/barn-veier: + +| Forelder | Barn | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/artikler | /app.php/articles/my-article | + +## Foreldre/Barn blokkerer Inheritance + +For foreldre/barn-veier, barnetruten arver blokker av overordnet rute (hvis overordnet har egne blokker) eller fra standardoppsettet (hvis den er angitt). Med andre ord, selv om det er standardutforming, Barneveien vil arve blokker fra overordnet rute dersom overordnet rute har egne blokker. Men ikke alle blokker av morsveien skal arves. + +## Styring av blokker arving + +På et blokknivå kan du kontrollere når en blokk kan arves av underordnede ruter. Vi berørte dette tidligere i [Redigeringsblokkinnstillinger](./blocks-managing#editing-block-settings). + +Ta i betraktning følgende virkelige mappestruktur: + +```text +phpBB +LaborLabor″index.php +iNatur″εεεεε″Movies/ + AtriAtriindex.php + ephal″Side page.php + 1993-¦ Comedy/ + ¤ index.php +``` + +I forbindelse med arvede blokker, sier vi: * Overordnet ruten til /phpBB/Movies/Comedy/index.php er /phpBB/Movies/index. hp og ikke /phpBB/Movies/page.php * Alle sider i en sub mappe relativ til /phpBB/index.php er en underrute av /phpBB/index.php. Så /phpBB/Movies/index.php og /phpBB/Movies/page.php er alle barn på /phpBB/index.php og vil derfor arve blokker dersom de ikke har blokker av sine egen. I denne saken: * Når en blokk på /phpBB/index. hp er satt til å vise på **Skjul på underordnede ruter**, blokken vil vises på /phpBB/index. hp (overordnet rute) men ikke på underordnet * Når en blokk på /phpBB/index. hp er satt til å vise på **Vis kun på underordnede ruter,**vil den vises på /phpBB/Movies/index.php og /phpBB/Movies/side. hp (underruter) men ikke på /phpBB/index.php (foreldre), eller /phpBB/Movies/Comedy/index. hp (vi går bare et nivå dyp) * Når en blokk på /phpBB/index. hp er satt til å vise **alltid** (standard), den vises på /phpBB/index.php (forelder), /phpBB/Movies/index. hp and /phpBB/page.php (under-routes) men ikke på /phpBB/Movies/Comedy/index.php (vi går bare til et nivå dyp). I dette tilfellet, /phpBB/Movies/Comedy/index.php vil arve fra standard rute (hvis den eksisterer) + +## Tillatt status over fremtid + +Jeg har stor interesse av deres tilbakemeldinger på dette feltet. De fleste phpBB brukere vil ikke ha ekte mapper som beskrevet ovenfor. Så jeg tenker på å bruke strukturen som er definert i en menyblokk som en virtuell mappestruktur, og bruke denne forelderen/barnet arv på den. Jeg vurderer også å gå videre utover ett nivå dypt. Vennligst gi meg beskjed om dette vil være nyttig for deg. \ No newline at end of file diff --git a/docs/website/translated_docs/nb/blocks-managing.md b/docs/website/translated_docs/nb/blocks-managing.md new file mode 100644 index 000000000000..2688f65fd5a5 --- /dev/null +++ b/docs/website/translated_docs/nb/blocks-managing.md @@ -0,0 +1,38 @@ +--- +id: Blokk-styring +title: Mananaging Blocks +--- + +For å behandle blokker i phpBB SiteMaker, må du være i [Redigeringsmodus](./blocks-overview#edit-mode). + +> Når en blokk ikke viser noe innhold, vises den ikke unntatt i redigeringsmodus. På den måten kan du enten gi det innhold (i tilfelle av "Tilpasset"-blokken) eller endre innstillingene. +> +> I redigeringsmodus, de litt gjennomsiktige blokkene er blokker som ellers ikke vil vises, men bare vises fordi vi er i redigeringsmodus + +## Legger til blokker + +Du kan legge til blokker til alle sider på siden, unntatt Brukerkontrollpanelet og Moderator kontrollpanelet. For å legge til en blokk må du * klikke på **Blokker** på Admin-feltet. Dette vil vise en liste over tilgjengelige blokker * Dra og slipp den ønskede blokken til enhver blokkplassering + +## Redigerer blokker + +### Legge til et blokk-ikon + +Til venstre for blokktittelen (prosilver) er det en boks for blokkens ikon. Klikk på denne boksen for å få ikonvelgeren. Du kan velge ikonstørrelsen, farge, gulv, rotasjon, osv. + +### Redigering av tittel på blokken + +phpBB SiteMaker blokker vil ha en standard, oversatt tittel, men hvis tittelen ikke oppfyller dine behov, kan du endre den. For å redigere blokktittelen, * Klikk på blokktittelen for å få et skjema for redigering * Endre tittelen til hva du vil * Fjern fokus fra feltet eller trykk på enter for å sende inn endringer + +> Din modifisert blokk tittel er ikke oversatt +> +> For å gå tilbake til standardtittelen, enkelt slett tittelen og treff angi + +### Redigerer blokkinnstillinger + +Når du holder musepekeren over en blokk, vil det se ut et cog-ikon til høyre for blokken som kan brukes til å redigere blokken. I dialogboksen for redigering kan du: - Aktiver/deaktivere en blokk [Status] – Velg når blokken bør/ikke vises [Display]. Dette gjelder bare i tilfeller der du har nestede sider (se [Understanding Block Inheritance](./blocks-inheritance.md)): - **Alltid**: Vis alltid blokk - **Skjul på underveger**: Bare vis denne blokken på overordnet rute - **Vis kun underordnede ruter**: Bare vis denne blokken på en underordnet rute - Velg hvilke brukergrupper som kan vise blokken [Synlig av]. Bruk CTRL + klikk for å velge flere grupper. - Angi egendefinerte klasser for å endre utseendet til blokken eller elementer (lister, bilder, bakgrunn, etc) i blokken [CSS Class] - Vis/skjul blokktittelen [Skjul blokktittel? - Velg blokkvisning [Block view]. Du kan velge en standard blokkvisning når nye blokker er lagt til i ACP. - **Standard / Simple**: bruker prosilver panelklassen til å pakke inn blokken i en polert beholder - **Vanlig**: blokken har ingen beholder innpakning - **i boks**: bruker antakerens glemmelighet til å pakke blokken i en boks - Sett / Oppdater blokk spesifikke innstillinger - Hvis du har samme blokk med samme innstillinger på tvers av flere sider, du kan oppdatere alle blokkene på en gang ved å sjekke oppdateringsblokkene **med lignende innstillinger** + +## Sletter blokker + +- Hold over blokken du ønsker å slette +- Klikk på **x** -ikonet og bekreft at du ønsker å slette blokken +- Gå opp til admin-baren og klikk på `Lagre endringer` \ No newline at end of file diff --git a/docs/website/translated_docs/nb/blocks-overview.md b/docs/website/translated_docs/nb/blocks-overview.md new file mode 100644 index 000000000000..ef76529c72d9 --- /dev/null +++ b/docs/website/translated_docs/nb/blocks-overview.md @@ -0,0 +1,10 @@ +--- +id: blokk-oversikt +title: Hva er blokker? +--- + +I hjertet av phpBB SiteMaker er konseptet blokker. Blokker er små innholdsdeler som du kan plassere i forskjellige forhåndsdefinerte områder (blokkposisjoner) på ditt nettsted. Blokkene vil vanligvis ha innstillinger som du kan sette/endre til å finjustere innholdet du ønsker å vise. De fleste blokker, men ikke alle, vil foreta databasespørringer for å få ønsket innhold. Så la oss ikke bli for gale :). For å administrere blokker må du bytte til "redigeringsmodus". + +## Rediger modus + +Bytt til redigeringsmodus ved å klikke på blyant-ikonet øverst til høyre på nettstedet. Dette vil vise "Administratorlinje" med "Blokker" og "Innstillinger" menypunkter. Dette kalles for å være i 'redigeringsmodus'. \ No newline at end of file diff --git a/docs/website/translated_docs/nb/blocks-views.md b/docs/website/translated_docs/nb/blocks-views.md new file mode 100644 index 000000000000..3be323caf286 --- /dev/null +++ b/docs/website/translated_docs/nb/blocks-views.md @@ -0,0 +1,6 @@ +--- +id: blokker/visninger +title: Blokker Visninger +--- + +Jobb pågår... \ No newline at end of file diff --git a/docs/website/translated_docs/nb/contrib-overview.md b/docs/website/translated_docs/nb/contrib-overview.md new file mode 100644 index 000000000000..f8e0ccbfe971 --- /dev/null +++ b/docs/website/translated_docs/nb/contrib-overview.md @@ -0,0 +1,11 @@ +--- +id: 1.5b-oversikt +title: Engasjer deg +--- + +phpBB SiteMaker er er et åpen kildekode-prosjekt og ønsker ideer og bidrag velkommen. Du kan derfor føle deg fri til å rammes. Du kan bidra til dette prosjektet ved å: + +* [Tilbud om støtte/tilbakemelding](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Rapporter feil](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Hjelpe med oversettelse](./contrib-translators.md) +* [Fikser bugs eller legge til funksjoner](./contrib-pull-requests.md) \ No newline at end of file diff --git a/docs/website/translated_docs/nb/contrib-pull-requests.md b/docs/website/translated_docs/nb/contrib-pull-requests.md new file mode 100644 index 000000000000..a3b0c7d06529 --- /dev/null +++ b/docs/website/translated_docs/nb/contrib-pull-requests.md @@ -0,0 +1,76 @@ +--- +id: λ b-pull-forespørsler +title: Sender en trekkforespørsel +sidebar_label: Rull Requests +--- + +`Pull forespørsler lar deg fortelle andre om endringer du har trykket på en gren i et område på GitHub. Når en forespørselsforespørsel er åpnet, Du kan diskutere og gjennomgå mulige endringer med samarbeidspartnere, og legge til en oppfølging før endringene fusjoneres i grunngrenen.` [Les mer](https://help.github.com/articles/about-pull-requests/) + +## Tår/Kloning + +* Opprett en github konto hvis du ikke allerede har en +* Gå til https://github.com/blitze/phpBB-ext-sitemaker.git og klikk på "Fork" + +Klon din gren av depoet: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +Fra kommandolinjen går til sitemaker mappen: + + cd phpBB/ext/blitze/sitemaker + + +**Konfigurer siden:** + +Legg brukernavnet ditt til Git i systemet: + + git config --global bruker.navn "Ditt navn her" + + +Legg til din e-postadresse til Git på ditt system: + + git config --legg til bruker.email brukernavn@phpbbb.com + + +Legg til fjernkontrollen oppstrøms (du kan endre "oppstrøm" til hva du vil): + + git ekstern legg til oppstrøms git://github.com/blitze/phpBB-ext-sitemaker.git + + +**Installer leverandører** + + installering av komponist + + +**Installer NPM pakker** + + npm install + + +Alternativt kan du bruke [garn](https://yarnpkg.com): + + garn installer + + +## Rull Requests + + # Lag en ny gren for din funksjon & bytt til den + git checkout -b funksjon/my-fancy-new-feature + + # Opprett en ny filial for feilen du arbeider på * bytt til den (billett # er fra github tracker) + git sjekk -b ticket/1234 + + +Gjør dine endringer + + # Scene filene + git legg til + + # Send inn staged filer - Vennligst bruk en korrekt commit melding + git commit -m "my commit message" + + +Skyv gren tilbake til GitHub git push-origin funksjon/my-fancy-new-feature + +Send inn en [trekk-forespørsel](https://github.com/blitze/phpBB-ext-sitemaker/pulls) \ No newline at end of file diff --git a/docs/website/translated_docs/nb/contrib-translators.md b/docs/website/translated_docs/nb/contrib-translators.md new file mode 100644 index 000000000000..2ca12728ec13 --- /dev/null +++ b/docs/website/translated_docs/nb/contrib-translators.md @@ -0,0 +1,17 @@ +--- +id: 1/10) b-oversettere +title: Oversettere +--- + +Vi må bidra til å oversette denne utvidelsen, samt dokumentasjon. Vi har laget et prosjekt på Crowdin for å lette oversettelsene. Crowdin gir deg et oversettelsesgrensesnitt som er sekund til ingen. Du kan bidra til hvordan du vil, men vi anbefaler å bruke Crowdin. + +> Crowdin er en lokaliseringsstyringsplattform som hjelper selskaper med å oversette programvaren. Du kan lese mer om Crowdin [her](https://support.crowdin.com/crowdin-intro/) + +Hvis du er villig til å bidra med oversettelser, trenger du: + +* En [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) konto. +* Velg målspråket dersom ønsker å bli aktivert på annen måte. + +Hvis det ønskede språket ditt ikke er oppført på listen, vennligst [kontakt meg](https://crowdin.com/profile/blitze) og jeg vil legge det til. + +[Begynn å oversette](https://crowdin.com/project/phpbb-ext-sitemaker) \ No newline at end of file diff --git a/docs/website/translated_docs/nb/developer-events.md b/docs/website/translated_docs/nb/developer-events.md new file mode 100644 index 000000000000..5e22ed7950e2 --- /dev/null +++ b/docs/website/translated_docs/nb/developer-events.md @@ -0,0 +1,120 @@ +--- +id: utviklerhendelser +title: phpBB SiteMaker Hendelser +--- + +Du kan endre adferden til phpBB SiteMaker ved hjelp av phpBB's hendelsessystem. + +## PHP hendelser + +# blitze.sitemaker.acp_add_bulk_menu_options + +- Sted: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Siden: 3.1.0 +- Formål: Legg til massealternativer i blokk-menyen + +# blitze.sitemaker.acp_display_settings_form + +- Sted: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Siden: 3.1.0 +- Formål: vis acp (sitemaker) innstillingsskjema + +# blitze.sitemaker.acp_save_settings + +- Sted: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Siden: 3.1.0 +- Formål: Lagre acp (sitemaker) innstillinger + +# blitze.sitemaker.admin_bar.set_assets + +- Sted: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Siden: 3.0.1-RC1 +- Formål: Legg til ressurser for tilgjengelige blokker i redigeringsmodus + +# blitze.sitemaker.modify_block_posier + +- Sted: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Siden: 3.0.1-RC1 +- Formål: posisjoner endre blokker + +# blitze.sitemaker.modify_rendered_block + +- Sted: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Siden: 3.0.1-RC1 +- Formål: endre en rendret blokk + +## Mal hendelser + +# blitze_sitemaker_acp_innstillinger + +- Sted: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Siden: 3.1.0 +- Formål: Legg til skjemafelter for sidemaker innstillinger + +# blitze_sitemaker_admin_bar_append + +- Sted: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Siden: 3.1.0 +- Formål: Legg til menyelementer i adminbar + +# blitze_sitemaker_admin_bar_maler + +- Sted: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Siden: 3.1.0 +- Formål: Legg til malfiler som skal brukes i JS for blokkvisning, osv + +## Javascript hendelser + +# blitze_sitemaker_layout_lagret + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Sid: 3.1.2 +- Formål: Hendelse for å tillate andre utvidelser å gjøre noe når endringer i oppsett blir lagret + +# blitze_sitemaker_render_block_før + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Sid: 3.1.2 +- Formål: Hendelse som tillater andre utvidelser å gjøre noe før blokk gjengis eller forhindre at den blir gjengitt + +# blitze_sitemaker_render_block_etter + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Sid: 3.1.2 +- Formål: Hendelse for å tillate andre utvidelser å gjøre noe etter at blokk er gjengitt + +# blitze_sitemaker_save_block_før + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Sid: 3.1.2 +- Formål: Hendelse for å tillate andre utvidelser å endre blokkdata før den blir lagret + +# blitze_sitemaker_show_all_block_positions + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/Positions.js +- Sid: 3.1.2 +- Formål: Hendelse for å tillate andre utvidelser å gjøre noe når alle blokkposisjoner vises + +# blitze_sitemaker_hide_empty_block_posier + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/Positions.js +- Sid: 3.1.2 +- Formål: Hendelse som tillater andre utvidelser å gjøre noe når tomme posisjoner er skjult + +# blitze_sitemaker_layout_cleared + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/Positions.js +- Sid: 3.1.2 +- Formål: Hendelse for å tillate andre utvidelser å gjøre noe når oppsettet er tømt + +# blitze_sitemaker_oppsett_oppdatert + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/Positions.js +- Sid: 3.1.2 +- Formål: Hendelse som tillater andre utvidelser å gjøre noe når oppsett blir oppdatert + +# blitze_sitemaker_tinymce_innstillinger + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Siden: 3.3.0 +- Formål: Hendelse for å tillate andre utvidelser å endre tinymce alternativer \ No newline at end of file diff --git a/docs/website/translated_docs/nb/developer-extensions.md b/docs/website/translated_docs/nb/developer-extensions.md new file mode 100644 index 000000000000..3b7b1f78b871 --- /dev/null +++ b/docs/website/translated_docs/nb/developer-extensions.md @@ -0,0 +1,177 @@ +--- +id: utviklerutvidelser +title: Utvide phpBB SiteMaker +--- + +Du kan utvide/endre phpBB SiteMaker ved hjelp av [tjeneste erstatting](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [servicedekorasjon](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), og [phpBB's hendelsessystem](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Du finner en liste over støttede hendelser [her](./developer-events.md). + +## Oppretter en SiteMaker-blokk + +En phpBB SiteMaker blokk er ganske enkelt en klasse som utvider blitze\sitemaker\services\blocks\driver\block class og returnerer en array fra "display" metoden med en 'title' og 'content'. Alt annet i mellom er opp til deg. For å gjøre blokken din synlig av phpBB SiteMaker, må du gi den "sitemaker.block" -taggen. + +Si at vi har en utvidelse med leverandør/utvidelse som min/eksempel. For å opprette en blokk kalt "my_block" for phpBB SiteMaker: + +- Opprett en "blocks" mappe +- Lag filen my_block.php i blokkmappen med følgende innhold + +```php +navneområde my\example\blocks; + +bruk blitze\sitemaker\services\blocks\driver\block; + +klasse my_block utvider blokk +{ + /** + * {@inheritdoc} + */ + public function display(array $settings $edit_mode = false) + { + returarray( + 'title' => 'min blokktittel', + 'content' => 'mitt blokkinnhold', + ); + } +} +``` + +Så i din config.yml fil, legg til følgende: + +```yml +Tjenester: + +... + + mitt.example.block.my_block: + klasse: mitt\example\blocks\my_block + calls: + - [set_name, [my.example.block.my_block]] + koder: + - { name: sitemaker.block } + +.... + +``` + +På et bart minimum er alt du trenger. Hvis du går i redigeringsmodus, bør du se blokken listet som 'MY_EXAMPLE_BLOCK_MY_BLOCK' som kan dras og slippes på en hvilken som helst blokkposisjon. Men denne blokken gjør ikke noe spennende. Den har ingen innstillinger og har ikke oversette blokknavnet. La oss gjøre det mer interessant. + +### Blokker innstillinger + +La oss endre våre blokker/my_block. hp fil og legg til en "get_config" metode i å returnere en liste med tastene som blokkinnstillingene og verdiene som en liste beskriver innstillinger som: + +```php + /** + * @inheritdoc + */ + offentlig funksjon get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + returarray( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'valider' => 'streng', 'type' => 'avkrysningsboks', 'valg' => $options, 'standard' => matrise(), 'Forklarer' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validere' => 'bool', 'type' => 'radio:yes_no', 'Forklarer' => false, 'default' => usann), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'valider' => 'bool', 'type' => 'radio', 'valg' => $options, 'Forklarer' => usann, 'default' => 'emne'), + 'valg' => array('lang' => 'SOME_LANG_VAR_4', 'valider' => 'string', 'type' => 'select', 'valg' => $options, 'default' => '', 'Forklarer' => usann), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'valider' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'Forklarer' => usann), + 'legend2' => 'TAB2', + 'nummer' => array('lang' => 'SOME_LANG_VAR_6', 'Godkjenn' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'Forklarer' => feil, 'standard' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'valider' => 'string', 'type' => 'tekstfelt:3:40', 'makslengde' => 2, 'Forklarer' => sann, 'standard' => ''), + «aktiverbar» => array('lang' => 'SOME_TOGGLABLE_VAR', 'valider' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'standard' => '', 'lagt til' => '
Vis bare når valg 1 er valgt
'), + +} +``` + +Denne er konstruert på samme måte som phpBB bygger konfigurasjonen for bordinnstillinger i ACP. Du kan se flere eksempler [her](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Dersom du ønsker en egendefinert felttype, kan du se et eksempel [her](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type'-innstillingen. + +Merk 'legend1' og 'legend2': Disse blir brukt til å skille innstillingene i faner. + +### Navngi blokker + +Konvensjonen om blokknavn er at tjenestenavnet (f.eks my.example.block. y*blokk ovenfor) vil bli brukt som språkkode ved å erstatte prikkene (.) med understreking (*) (f.eks MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Oversettelse + +Legg også merke til at vi har flere språknøkler som må oversettes. For å gjøre dette, må du opprette en fil som heter "blocks_admin.php" i språkmappen. Denne filen vil automatisk bli lastet når du redigerer blokker, og bør ha oversettelser for blokkene innstillingene og blokkér navn. + + $lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Alternativ 1', + 'OTHER_LANG_VAR' => 'Alternativ 2', + 'SOME_LANG_VAR_1' => 'Innstilling 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Min blokk', + ); + + +Fordi 'blocks_admin.php' bare er lastet inn når du redigerer blokker, må du legge til andre oversettelser (f.eks. blokk tittel) ved å laste en språkfil i din visningsmetode så `$language->add_lang('my_lang_file', 'mitt/eksempel');` + +### Gjengir blokken + +Den nye blokken vises bare hvis den gjengir noe. Blokken din kan returnere en streng som innhold, men du trenger i de fleste tilfeller en mal for å gjengi innholdet. For å gjengi blokka din bruk av maler, blokken må returnere en liste med dataene du vil sende til malen, og også implementere `get_template` metoden som vist nedenfor: + +```php + /** + * @inheritdoc + */ + offentlig funksjon get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + returarray( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'valider' => 'streng', 'type' => 'avkrysningsboks', 'valg' => $options, 'standard' => matrise(), 'forklarende' => false), + ); + } + + /** + * {@inheritdoc} + */ + offentlige funksjoner get_template() + { + return '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + hvis ($edit_mode) + { + // gjør noe bare i redigeringsmodus + } + + returarray( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Deretter kan dine stiler/all/my_block.html eller styles/prosilver/my_block.html se omtrent slik ut: + +

Du valgte: {{ some_var }}

+ + +Kort fattet, blokken må returnere en liste med en `tittel` tast (for blokktittelen) og en `innhold` nøkkel (hvis blokken akkurat viser en streng og ikke bruker en mal) eller en `data` nøkkel (hvis blokken bruker en mal i så fall må du også implementere metoden, `get_template`). + +### Blokker Eiendeler + +Hvis blokken din trenger å legge til eiendeler (css/js) til siden, anbefaler jeg å bruke sitemaker [util klasse](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) for det. Siden det kan være mer enn én forekomst av samme blokk på siden, eller andre blokker kan legge til samme aktivum, util klassen sikrer at aktivumet bare blir lagt til. + +```php + $this->benytt->add_assets(array( + 'js' => array( + '@my_example/assets/som. s', + 100 => '@my_example/assets/other. s', // sett prioritet + ), + 'css' => array( + '@my_example/assets/som. s', + ) +)); +``` + +Selvsagt må util klassen dine legges til i tjenestedefinisjonene dine i config.yml: `- '@blitze.sitemaker. til'` og definert i din blokks konstruktør `\blitze\sitemaker\services\util $util`. + +Og det er det. Vi er ferdig! \ No newline at end of file diff --git a/docs/website/translated_docs/nb/developer-theming.md b/docs/website/translated_docs/nb/developer-theming.md new file mode 100644 index 000000000000..49722b2480e2 --- /dev/null +++ b/docs/website/translated_docs/nb/developer-theming.md @@ -0,0 +1,55 @@ +--- +id: utviklertema +title: Utseende +--- + +phpBB SiteMaker kommer med stiler og farger laget for prosilver. Du kan overskrive CSS, JS og HTML filer ved å opprette den tilsvarende filen i stilmappen. + +# Oppretter JS/CSS-filer for din stil + +Merk: * Med tanke på instruksjonene nedenfor antar vi at du har en stil kalt min-stil. + +Klon inn i phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +Fra kommandolinjen går til sitemaker mappen: + + cd phpBB/ext/blitze/sitemaker + + +**Installer leverandører** + + installering av komponist + + +**Installer pakker** + +For kommandoene under kan du bruke npm eller [garn](https://yarnpkg.com) + + garn installer + + +**Se Endringer** + + garn start --tema min-stil + + +**Gjøre endringer** + +* Gjør endringer i filen i phpBB/ext/blitze/sitemaker/utviklingsmappen +* Se på phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss for sass variabler + +**Bygg Eiendeler** + + garn bygg --theme min-stil + + +**Installer** + +Nå kan du kopiere de genererte filene fra phpBB/ext/blitze/sitemaker/stiler/my-stil og laste dem opp i din produksjonsserver. + +> Denne utvidelsen bruker jQuery UI for faner, dialoger og knapper. Det standard jQuery temaet er 'glatt'. Du kan bruke et annet jQuery UI tema som passer ditt tema. Du kan spesifisere jQuery UI temaet ved hjelp av flagget --jq_ui_theme. For eksempel: + + garn bygge --theme min-style --jq_ui_theme ui-lightness \ No newline at end of file diff --git a/docs/website/translated_docs/nb/filemanager.md b/docs/website/translated_docs/nb/filemanager.md new file mode 100644 index 000000000000..08caa9b8029e --- /dev/null +++ b/docs/website/translated_docs/nb/filemanager.md @@ -0,0 +1,34 @@ +--- +id: filemanager +title: Responsive Filemanager +--- + +As of version 3.1.0, phpBB SiteMaker supports the [Responsive Filemanager](http://responsivefilemanager.com) + +* The file manager is used as a TinyMCE pluging (WYSIWYG editor) when editing custom blocks +* It is currently configured to creat separate folders for each user, except the user with a_sm_filemanager permission (Can see/manage other users' folders), which allows them access to view/manage all upload folders. + +## Installation + +* Download the [Responsive FileManager](http://responsivefilemanager.com/index.php#sthash.5UrnhjX2.dpbs) +* Extract it, and upload the files to your phpBB root folder. The file structure should be as below: + +```text +phpBB +├── images/ +├── includes/ +├── ... +└── ResponsiveFilemanager/ + └── filemanager/ + └── config/ + ├── .htaccess + └── config.php +``` + +## Activation + +* Go to ACP > Extensions > SiteMaker > Settings +* Enable File Manager feature +* Save changes +* Update user permissions (Misc tab) to determine who can use this feature [Can use File Manager] +* Update admin permissions (Misc tab) to determine who can manager user folders [Can see/manage other users’ folders in File Manager] \ No newline at end of file diff --git a/docs/website/translated_docs/nb/installation.md b/docs/website/translated_docs/nb/installation.md new file mode 100644 index 000000000000..5d34e7d7873f --- /dev/null +++ b/docs/website/translated_docs/nb/installation.md @@ -0,0 +1,18 @@ +--- +id: installasjon +title: Installerer / oppgradering +--- + +Last ned utvidelsen fra [her](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker + +* Pakk ut og last opp til din phpBB/ext/mappe så du har phpBB/ext/blitze/sitemaker +* Gå til "ACP" > "Tilpasning" > "Utvidelser" og aktiver "phpBB Sitemaker" utvidelsen. + +## Oppgraderer phpBB SiteMaker + +* Opprett en sikkerhetskopi av databasen bare i tilfelle noe går galt +* Gå til "ACP" > "Tilpasning" > "Utvidelser" og deaktiver (ikke fjerne) "phpBB sidaker" +* Last ned og trekk ut den siste versjonen av phpBB SiteMaker og last den opp til din phpBB/ext/folder (overskrive) +* Gå til "ACP" > "Tilpasning" > "Utvidelser" og aktiver "phpBB Sitemaker" utvidelsen. \ No newline at end of file diff --git a/docs/website/translated_docs/nb/introduction.md b/docs/website/translated_docs/nb/introduction.md new file mode 100644 index 000000000000..eda2bf945836 --- /dev/null +++ b/docs/website/translated_docs/nb/introduction.md @@ -0,0 +1,6 @@ +--- +id: introduksjon +title: Introduksjon +--- + +phpBB SiteMaker søker å transformere din phpBB brett til en CMS/portal. Det gjør dette ved å gi deg blokker og menyer som hjelper deg å tilpasse nettstedet ditt til din smak. Det finnes eller vil være andre utvidelser fra SiteMaker som tilbyr ytterligere funksjonalitet for å nå dette målet. Du kan også definere en landingsside når nettstedet ditt har tilgang. Så hvis du ikke vil at besøkende på nettstedet ditt umiddelbart skal se phpBB forum når de går til www. vår-nettsted.com, kan du definere din egen startside. \ No newline at end of file diff --git a/docs/website/translated_docs/nb/menus-display.md b/docs/website/translated_docs/nb/menus-display.md new file mode 100644 index 000000000000..cf24fe7f51ba --- /dev/null +++ b/docs/website/translated_docs/nb/menus-display.md @@ -0,0 +1,18 @@ +--- +id: menyer visning +title: Viser menyer +--- + +Nå som du har opprettet dine menn, kan du vise dem på flere måter: + +## Lenker blokk + +Du kan bruke denne blokken til å vise en flat eller nestet liste over menyelementer. Denne blokken er ikke ment å bli brukt til navigasjon, det vil si at den ikke viser en gjeldende side eller noe sånt. Den er beregnet på en liste over objekter, inkludert eksterne koblinger. + +## Blokker menyer + +Denne blokken er beregnet på stedsnavigasjon. Det gjør enkelte ekstra beregninger for å bestemme gjeldende sted, og er ikke ment å være en svært stor liste. + +## Navigasjonsfelt + +I likhet med menyblokkeringen vil navigasjonslinjen vise menypunkter som en responsiv nedtrekksmeny beregnet for stedsnavigasjon. Du kan aktivere dette i ACP > Extensions > Sitemaker > Settings > Select menu \ No newline at end of file diff --git a/docs/website/translated_docs/nb/menus-managing-items.md b/docs/website/translated_docs/nb/menus-managing-items.md new file mode 100644 index 000000000000..3e873af0f478 --- /dev/null +++ b/docs/website/translated_docs/nb/menus-managing-items.md @@ -0,0 +1,30 @@ +--- +id: menus-administrerende elementer +title: Administrere menyelementer +--- + +Menyen er ubrukelig med mindre den har menyelementer. Du kan legge til menyelementer som peker til lokale eller eksterne filer. + +> URL-adressen for eksterne nettsteder må begynne med http(s)://, ftp://, //, osv. +> +> Du kan lage en skilder ved å skrive inn ' ' som artikkeltittel + +## Legger til menypunkter + +Du kan legge til et element om gangen eller du kan legge til flere menypunkter på et menypunkt. + +### Legger til et menypunkt + +To add a single menu item, * click on the `Add Menu Item` button * Fill in the required information and hit `Save` + +### Legger til flere elementer + +For å legge til flere menyelementer samtidig. * Klikk på ikonet ved siden av `Legg til menyelement` * Du kan legge til produkter manuelt ved å plassere hvert element på en ny linje, og ved å bruke fanetegnsett elementer eller * Du kan klikke på en av de angitte alternativene nederst i tekstskuffen for å automatisk fylle ut menyelementene + +## Omorganiser menyelementer + +Du kan dra og slippe menyelementene opp/ned for å angi visningsrekkefølgen, eller dra dem til venstre/høyre for å angi ønsket hierarki. + +## Gjenopprette menyelementer + +Hvis du finner at menyelementene ikke vises riktig, klikk på `Gjenoppbygg tre` -knappen for å gjenoppbygge menyelementene. \ No newline at end of file diff --git a/docs/website/translated_docs/nb/menus-managing.md b/docs/website/translated_docs/nb/menus-managing.md new file mode 100644 index 000000000000..4d1ae51c1ed6 --- /dev/null +++ b/docs/website/translated_docs/nb/menus-managing.md @@ -0,0 +1,22 @@ +--- +id: menyadministrerer +title: Administrere menyer +--- + +Du kan opprette menyer i ACP som du deretter kan vise ved hjelp av menyen, koblingsblokkene eller vises som en horisontal navnelinje. + +## Administrere menyer + +For å håndtere menyer, gå til ACP > Extensions > Sitemaker > Menu + +### Oppretter menyer + +For å opprette en ny meny (gruppe), klikk på `Legg til meny` knappen. En ny menygruppe vil bli opprettet med et tilfeldig generert navn. Den nye menyen vil også bli valgt, så du kan begynne å legge til menyelementer i den. + +### Redigerer menyer + +Dersom du ønsker et mer meningsfylt menynavn, * sveve over menynavnet og klikk på cog ikonet * Skriv inn det nye menynavnet og trykk skriv inn for å oppdatere det + +### Sletter menyer + +Du kan slette en meny med gjenstander, * Overskrid menynavnet og klikk på **x** ikonet * Hvis menypunktet ikke har noen underelementer, du må bekrefte valget for å slette menypunktet * Hvis menypunktet har underordnede elementer, du må indikere hvis du bare ønsker å slette elementet og flytte barna oppover, eller hvis du vil slette hele grenen \ No newline at end of file diff --git a/docs/website/translated_docs/nb/site-block-modifiers.md b/docs/website/translated_docs/nb/site-block-modifiers.md new file mode 100644 index 000000000000..d5f8cb1622b3 --- /dev/null +++ b/docs/website/translated_docs/nb/site-block-modifiers.md @@ -0,0 +1,6 @@ +--- +id: nettsteds-block-modifikatorer +title: Tilpasse visning av blokker +--- + +Jobb pågår... \ No newline at end of file diff --git a/docs/website/translated_docs/nb/site-default-layout.md b/docs/website/translated_docs/nb/site-default-layout.md new file mode 100644 index 000000000000..1282f63e2169 --- /dev/null +++ b/docs/website/translated_docs/nb/site-default-layout.md @@ -0,0 +1,10 @@ +--- +id: site-default-layout +title: Angi en standard oppsett +--- + +Når du legger til en blokk, er den lagt til den bestemte siden. Det vil derfor være en kjedelig oppgave å sette blokker for alle sidene på ditt nettsted. Du kan angi alle ønskede blokker for en bestemt side, og deretter angi denne siden som standardoppsett. Med andre ord vil hvilken som helst side som ikke har sine egne blokker arve blokker fra denne siden. + +For å sette et standard oppsett * Gå til siden du vil sette som standard oppsett * Klikk `Innstillinger` i admin-linjen * Klikk på `som standard knapp for oppsett` + +Si vi legger til blokker til en side (phpBB/index.php) med blokker i sidepanelet og de øverste posisjonene, for eksempel, og sett den som standard oppsett. Dette har følgende effekter på andre sider: * En side som ikke har sine egne blokker, vil arve blokkene fra standardoppsettet. Se [Understå blokkarving](./blocks-inheritance.md) for unntak. * Du kan fremdeles arve blokker fra et standardoppsett (index. hp) men velg å ikke vise blokker på enkelte blokkposisjoner, eller ikke vise noen blokker i det hele tatt. To do this * Gå til siden du ikke vil at alle/noen blokker skal vises * Klikk `Innstillinger` på admin-linjen * Velg `Ikke vis blokker på denne siden` hvis du ikke vil arv / vise blokker på denne siden ELLER * Bruk CTRL + klikk for å velge blokkposisjonene (til høyre) at du ikke ønsker å vise blokker på * I `redigeringsmodus`, . en side som arver blokker fra standardoppsettet, vil ikke vise noen blokker, gi deg muligheten til å legge til blokker til siden dersom du vil * En side med egne blokker vil ikke arve den fra standardoppsettet \ No newline at end of file diff --git a/docs/website/translated_docs/nb/site-layouts.md b/docs/website/translated_docs/nb/site-layouts.md new file mode 100644 index 000000000000..73da87575de3 --- /dev/null +++ b/docs/website/translated_docs/nb/site-layouts.md @@ -0,0 +1,20 @@ +--- +id: Sidens oppsett +title: Oppsett +--- + +«Oppsett» bestemmer de tilgjengelige blokkposisjonene og hvordan de vises. + +## Blokker posisjoner + +Blokkposisjonene er forhåndsdefinerte områder på nettstedet ditt der det finnes blokker De tilgjengelige blokkposisjonene bestemmes av malens stil du bruker. For røvere, phpBB SiteMaker kommer med følgende blokkposisjoner: * panel: full bredde over toppen * sidestolpe: venstre/høyre avhengig av oppsettet under * delinnhold: lik bare større * top_hor: horisontale blokker over toppen, flankegang over sidebar/underinnhold avhengig av oppstilling * øverst: over hovedinnhold * boks: lik bredde, horisontale blokker under hovedinnholden * nederst: under hovedinnhold * bunn_hor: horisontale blokker utover på bunnen, å flankere side-/underinnhold avhengig av oppsett * bunntekst: horisontale blokker i bunnteksten Du kan legge til flere blokkposisjoner i dine egne stilmaler ved å kopiere og endre de tilsvarende phpBB SiteMaker malene + +## Side Oppsett + +Du kan velge oppsettet for din nettside i ACP (Extensions > Sitemaker > Settings): * **Blogg**: underinnhold og sidestolpe ved siden av hverandre, dyttet til høyre, topp_hor/botom_hor flankeseddel * **Den hellige gril**: lik bredde sidestolpe og underinnhold på motsatte sider, topp_hor/botom_hor flank subinnhold * **Portal**: sidestolpe til venstre, underinnhold til høyre, topp_hor/botom_hor flankert delinnhold * **Portal Alt**: underinnhold til venstre, sidepanel til høyre, topp_hor/botom_hor flankeside sidestolpe * **Egendefinert**: Angi bredden på sidestolpene som px, %, em eller rem. Standardverdi for 200 px på hver side + +## Egendefinerte maler/stiler + +Så mye som mulig Vi forsøkte å legge til designmalfiler og filer i stiler/alle/mappe slik at du kan overskrive dem ved å opprette en fil med samme navn under ditt eget maltema . . proselver. Hvis du ønsker å endre hvordan et bestemt blokkskjermer, eller hvis du vil lage ditt eget oppsett med dine egne blokkposisjoner, du trenger bare å opprette en fil med samme navn og sti som originalen i din egen stil. + +Hvis du trenger å tilpasse CSS/JS-filer, ta en titt på [tema](./developer-theming.md) delen. \ No newline at end of file diff --git a/docs/website/translated_docs/nb/site-navbar.md b/docs/website/translated_docs/nb/site-navbar.md new file mode 100644 index 000000000000..74471fa6ba4c --- /dev/null +++ b/docs/website/translated_docs/nb/site-navbar.md @@ -0,0 +1,6 @@ +--- +id: site-navbar +title: Navigasjonsfelt (Automatic Translation) +--- + +Se [Viser menyer](./menus-display#navigation-bar) \ No newline at end of file diff --git a/docs/website/translated_docs/nb/site-startpage.md b/docs/website/translated_docs/nb/site-startpage.md new file mode 100644 index 000000000000..a27553636814 --- /dev/null +++ b/docs/website/translated_docs/nb/site-startpage.md @@ -0,0 +1,8 @@ +--- +id: site-startpage +title: Angi en startside +--- + +phpBB SiteMaker tillater deg å velge hvilken som helst frontkontroller(sider som er akset via app.php/... som din standard startside (siden som blir vist når noen besøker siden din) i stedet for tavleindeks. + +For å gjøre dette: * Gå til siden du vil sette som standard startside * Klikk `Innstillinger` i adminfeltet. Hvis den er en kvalifisert side, du vil se en `Sett som startside` knapp * Klikk på `Sett som startside` knapp \ No newline at end of file diff --git a/docs/website/translated_docs/nl/blocks-custom.md b/docs/website/translated_docs/nl/blocks-custom.md new file mode 100644 index 000000000000..8e10ae05a312 --- /dev/null +++ b/docs/website/translated_docs/nl/blocks-custom.md @@ -0,0 +1,24 @@ +--- +id: blokken-aangepast +title: Aangepaste blok +--- + +Als de beschikbare blokken je niet de vrijheid geven die je nodig hebt er is de `Custom Block` die u de vrijheid geeft om uw eigen inhoud te tonen met behulp van BBcode of HTML. Het blok wordt geleverd met een WYSIWYG-editor (TinyMCE) en een scriptmanager: + +## De editor + +- U kunt de editor gebruiken om HTML-inhoud aan te maken +- Je kunt de broncode bewerken als je die controle nodig hebt door te klikken op het `Broncode` pictogram (`<>`) in de editor +- Met de editor kunt u afbeeldingen uploaden en wijzigen + - Het maakt een nieuwe map aan in phpBB/images/sitemaker_uploads/ voor elke gebruiker die er toegang toe heeft + - U kunt alle gebruikersmappen bekijken/beheren +- De editor filtert alle potentieel gevaarlijke scripts zoals javascript, enz. Als u inhoud zoals google ads moet toevoegen, zal de javascript worden gefilterd, maar u kunt er omheen door het volgende te doen: + - Voeg het aangepaste blok toe aan de gewenste locatie + - Bewerk het Aangepast Blok, klik op het `tabblad HTML` en plak uw Javascript + +## De Scripts Manager + +Met het aangepaste blok kunt u ook aangepaste CSS-- en Javascript-bestanden aan uw pagina toevoegen. Om dit te doen: + +- Voeg een `Eigen blok` toe aan elke block positie. De positie maakt niet uit tenzij je ook inhoud met het blok weergeeft +- Pas het blok aan klik op het tabblad `Scripts` en voeg je CSS of Javascript bestanden toe > Wees voorzichtig: het toevoegen aan veel scripts op je pagina kan de laadtijden beïnvloeden \ No newline at end of file diff --git a/docs/website/translated_docs/nl/blocks-inheritance.md b/docs/website/translated_docs/nl/blocks-inheritance.md new file mode 100644 index 000000000000..3ed0019dcc47 --- /dev/null +++ b/docs/website/translated_docs/nl/blocks-inheritance.md @@ -0,0 +1,45 @@ +--- +id: blokken-erfenis +title: Erkennende Blok Ererisief +--- + +We hebben al gezien dat door het instellen van een standaard lay-out, andere pagina's die geen eigen blokken hebben de blokken van de standaard lay-out zullen overnemen. Er is echter nog een andere vorm van groepsovername. + +## Ouder/Kind Routes + +In phpBB SiteMaker hebben we het over geneste routes in termen van echte geneste (sub) mappen of bijna geneste paden/routes. Blijf bij mij :). * Real Parent/Child routes: bijvoorbeeld het pad /some_directory/sub_directory/index.php is een kind van /some_directory/index.php. * Virtual Parent/Child routes: Bijvoorbeeld, viewtopic.php wordt behandeld als een kind van viewforum.php. + +Hier zijn enkele voorbeelden van ouder/kind routes: + +| Ouder | Kind | +| ------------------ | ------------------------------- | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/artikelen | /app.php/artikelen/mijn-artikel | + +## Bovenliggend/Kind Blok Erven + +Voor bovenliggende/kind routes erft de onderliggende route de blokken van de bovenliggende route (als de ouder zijn eigen blokken heeft) of van de standaard lay-out (als deze is ingesteld). Met andere woorden, zelfs als er een standaard lay-out is, zal de onderliggende route blokken van de bovenliggende route overnemen als de bovenliggende route zijn eigen blokken heeft. Maar niet alle blokken van de bovenliggende route moeten geërfd worden. + +## Blok Overnemen bepalen + +Op een blokniveau kun je bepalen wanneer een blok geërfd kan worden door onderliggende routes. We hebben dit eerder aangeraakt in de [Blok Instellingen](./blocks-managing#editing-block-settings). + +Overweeg de volgende echte map structuur: + +```text +phpBB + + index.php + Movies/ + Verandert u index.php + pagina.php + Comedy/ + index.php +``` + +Voor het erfgenamen van blokken zeggen we: * De bovenliggende route van /phpBB/Files/Comedy/index.php is /phpBB/Files/index.php en niet /phpBB/Movies/page.php * Alle pagina's in een sub directory relatief aan /phpBB/index.php is een kind van /phpBB/index.php. Dus /phpBB/Files/index.php en /phpBB/Movies/page.php zijn alle kinderen van /phpBB/index.php en zullen daarom de blokken overnemen als ze geen eigen blokken hebben. In dit geval: * Wanneer een blok op /phpBB/index. hp is ingesteld om weer te geven op **Verberg op subroutes**, het blok wordt weergegeven op /phpBB/index. hp (bovenliggende route) maar niet op de onderliggende routes * Wanneer een blok op /phpBB/index staat. hp is ingesteld om weer te geven op **Toon op subroutes alleen**, het wordt weergegeven op /phpBB/Movies/index.php en /phpBB/Movies/page. hp (kinderroutes) maar niet op /phpBB/index.php (ouder), of /phpBB/Movies/Comedy/index. hp (we gaan maar één niveau diep) * Wanneer een blok op /phpBB/index staat. hp is ingesteld op weergave van **altijd** (standaard), het wordt weergegeven op /phpBB/index.php (ouder), /phpBB/Movies/index. hp en /phpBB/page.php (onderkinderroutes) maar niet op /phpBB/Movies/Comedy/index.php (we gaan slechts een diepte). In dit geval zal, /phpBB/Files/Comedy/index.php geërfd worden van de standaard route (als deze bestaat) + +## Mogelijke toekomstige status + +Ik ben echt geïnteresseerd in uw feedback in dit gebied. De meeste phpBB-gebruikers zullen geen echte mappen hebben zoals hierboven beschreven. Ik denk dus aan het gebruik van de structuur die gedefinieerd is in een menu blok als een virtuele directory structuur en gebruik deze ouder/kind erfenis erop. Ik ben ook van plan om verder te gaan dan één niveau diep. Laat mij weten of dit nuttig voor u is. \ No newline at end of file diff --git a/docs/website/translated_docs/nl/blocks-managing.md b/docs/website/translated_docs/nl/blocks-managing.md new file mode 100644 index 000000000000..061c65da215c --- /dev/null +++ b/docs/website/translated_docs/nl/blocks-managing.md @@ -0,0 +1,38 @@ +--- +id: blokken-beheer +title: Blokken beheren +--- + +Om blokken in phpBB SiteMaker te beheren, moet u in [Bewerkingsmodus](./blocks-overview#edit-mode) zijn. + +> Wanneer een blok geen inhoud toont, zal het niet worden weergegeven, behalve in bewerkmodus. Op die manier kunt u het inhoud geven (in het geval van het aangepaste blok) of de instellingen wijzigen. +> +> In bewerkmodus zijn de enigszins transparante blokken blokken die anders niet worden weergegeven maar alleen worden weergegeven omdat we in bewerkmodus zijn + +## Blokken toevoegen + +U kunt blokken toevoegen aan elke front-facing pagina, behalve de User Control Panel en de Moderator Control Panel pagina's. Om een blok toe te voegen moet u * klikken op **blokken** in de Admin balk. Dit toont een lijst van beschikbare blokken * Sleep en laat het gewenste blok naar een blok positie + +## Blokken bewerken + +### Een blok icoon toevoegen + +Aan de linkerkant van de bloktitel (prosilver), is er een vak voor het blokpictogram. Klik op dit vak om de pictogrammenkiezer te krijgen. U kunt de grootte van het pictogram selecteren, kleur, zwevend, rotatie, enz. + +### Bloktitel bewerken + +phpBB SiteMaker blokken zullen een standaard, vertaalde titel hebben, maar als de titel niet voldoet aan uw behoeften, kunt u deze wijzigen. Om de bloktitel te bewerken, * Klik op de bloktitel om een inline bewerkformulier te krijgen * Verander de titel naar wat je wilt * Verwijder de focus uit het veld of klik op enter om wijzigingen in te dienen + +> Uw aangepaste block titel is niet vertaald +> +> Om terug te keren naar de standaardtitel, verwijder de titel en druk op enter + +### Bewerken block instellingen + +Wanneer je over een blok zweeft, zal een cog icoon naar rechts van het blok verschijnen dat gebruikt kan worden om het blok te bewerken. In het bewerk block dialoogvenster kunt u: - In- of uitschakelen van een blok [Status] - Kies wanneer het blok niet moet worden weergegeven [Display]. Dit is alleen van toepassing in de gevallen waarin je geneste pagina's hebt (zie [Understanding Block Inheritance](./blocks-inheritance.md)): - **Altijd**: altijd het blok - **Verbergen op onderliggende routes**: Toon alleen dit blok op de bovenliggende route - **Toon alleen op onderliggende routes**: Toon alleen dit blok op een onderliggende route - kies welke groepen het blok kunnen bekijken [Bekijk]. Gebruik CTRL + klik om meerdere groepen te selecteren. - Stel aangepaste klassen in om het uiterlijk van het blok of items (lijsten, afbeeldingen, achtergrond, enz) te wijzigen in het blok [CSS Class] - Toon/Verberg de bloktitel [Hide block title?] - Selecteer de blokweergave [Block view]. U kunt een standaard blokweergave selecteren wanneer nieuwe blokken worden toegevoegd in de ACS. - **Standaard / Eenvoudige**: maakt gebruik van de prosilver panel class om het blok in een geplakte container - **Basis**: blok bevat geen container verpakking - **Gebogen**: gebruikt de prosilver forg klasse om het blok in een box te verwerken, - Zet / Update blok specifieke instellingen - als je hetzelfde blok hebt met dezelfde instellingen op meerdere pagina's, je kunt ze allemaal tegelijk updaten door de **Update blokken te controleren met soortgelijke instellingen** + +## Blokken verwijderen + +- Beweeg over het blok dat je wilt verwijderen +- Klik op het pictogram **x** en bevestig dat u het blok wilt verwijderen +- Ga naar de admin balk en klik op `Wijzigingen opslaan` \ No newline at end of file diff --git a/docs/website/translated_docs/nl/blocks-overview.md b/docs/website/translated_docs/nl/blocks-overview.md new file mode 100644 index 000000000000..e173a1e35b7f --- /dev/null +++ b/docs/website/translated_docs/nl/blocks-overview.md @@ -0,0 +1,10 @@ +--- +id: blokken-overzicht +title: Wat zijn blokken? +--- + +De kern van phpBB SiteMaker is het concept van blokken. Blokken zijn kleine stukjes inhoud die je kunt plaatsen in verschillende vooraf gedefinieerde gebieden (blokposities) op je site. De blokken zullen meestal instellingen hebben die u kunt instellen/wijzigen om de inhoud die u wilt weergeven, aan te passen. De meeste blokken, maar niet alle, zullen database query's maken om de gewenste inhoud te krijgen. Dus laten we niet te gek worden :). Om blokken te beheren, moet u overschakelen naar "bewerk modus". + +## Modus bewerken + +Schakel om de modus te bewerken door te klikken op het potlood icoon rechtsboven op uw site. Dit toont de "Admin bar" met "Blokken" en "Instellingen" menu items. Dit wordt genoemd in 'edit-mode'. \ No newline at end of file diff --git a/docs/website/translated_docs/nl/blocks-views.md b/docs/website/translated_docs/nl/blocks-views.md new file mode 100644 index 000000000000..1fb1ab4f9919 --- /dev/null +++ b/docs/website/translated_docs/nl/blocks-views.md @@ -0,0 +1,6 @@ +--- +id: blokken-views +title: Blokkeer weergaven +--- + +Werken in uitvoering... \ No newline at end of file diff --git a/docs/website/translated_docs/nl/contrib-overview.md b/docs/website/translated_docs/nl/contrib-overview.md new file mode 100644 index 000000000000..9f66a502f81a --- /dev/null +++ b/docs/website/translated_docs/nl/contrib-overview.md @@ -0,0 +1,11 @@ +--- +id: contrib-overzicht +title: Involved +--- + +phpBB SiteMaker is een open source project en verwelkomt uw ideeën en bijdragen. Ik ben dus vrij om hier iets aan te doen. U kunt bijdragen aan dit project door: + +* [Ondersteuning/Feedback bieden](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Fouten rapporteren](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Helpen met vertaling](./contrib-translators.md) +* [Bugs repareren of functies toevoegen](./contrib-pull-requests.md) \ No newline at end of file diff --git a/docs/website/translated_docs/nl/contrib-pull-requests.md b/docs/website/translated_docs/nl/contrib-pull-requests.md new file mode 100644 index 000000000000..9e744b948b77 --- /dev/null +++ b/docs/website/translated_docs/nl/contrib-pull-requests.md @@ -0,0 +1,76 @@ +--- +id: contrib-pull-requests +title: Een Pull request indienen +sidebar_label: Pull verzoeken +--- + +`Pull verzoeken laten je anderen vertellen over wijzigingen die je hebt doorgevoerd naar een branch in een repository op GitHub. Zodra een pull request is geopend, kunt u de mogelijke wijzigingen met medewerkers bespreken en bekijken en aanvullende commits toevoegen voordat uw wijzigingen worden samengevoegd in de basis branch.` [Lees meer](https://help.github.com/articles/about-pull-requests/) + +## Forking/Klonen + +* Maak een github account aan als je er nog geen hebt +* Ga naar https://github.com/blitze/phpBB-ext-sitemaker.git en klik op "Fork" + +Kloon je fork van de repository: + + git kloon git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +Van opdrachtregel ga naar sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + + +**git configureren:** + +Voeg uw gebruikersnaam toe aan Git op uw systeem: + + git config --global user.name "Your Name here" + + +Voeg uw e-mailadres toe aan Git op uw systeem: + + git config --user.email gebruikersnaam@phpbb.com toevoegen + + +Voeg de stroomafwaartse afstand toe (u kunt 'upstream' veranderen naar wat u wilt): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + + +**Fabrikanten installeren** + + componist installatie + + +**NPM-pakketten installeren** + + npm installatie + + +Alternatief kunt u [yarn](https://yarnpkg.com) gebruiken: + + yarn installatie + + +## Pull verzoeken + + # Maak een nieuwe branch voor je functie & switch naar + git checkout -b functie/my-fancy-new-feature + + # maak een nieuwe branch voor het probleem waaraan je werkt * switch naar het probleem (ticket # is van github tracker) + git checkout -b ticket/1234 + + +Maak je wijzigingen + + # Plaats de bestanden + git add + + # Commit staged files - gebruik een correct commit bericht + git commit -m "mijn commit bericht" + + +Push de branch terug naar GitHub git push-origin functie/my-fancy-new-feature + +Verstuur een [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) \ No newline at end of file diff --git a/docs/website/translated_docs/nl/contrib-translators.md b/docs/website/translated_docs/nl/contrib-translators.md new file mode 100644 index 000000000000..9405e6278248 --- /dev/null +++ b/docs/website/translated_docs/nl/contrib-translators.md @@ -0,0 +1,17 @@ +--- +id: contrib-vertalers +title: Vertalers +--- + +We hebben hulp nodig bij het vertalen van deze extensie en de documentatie ervan. We hebben een project op Crowdin opgezet om vertalingen te vereenvoudigen. Crowdin geeft u een vertaalinterface die op geen enkele plaats is. U kunt bijdragen hoe u wilt, maar we raden u aan om Crowdin te gebruiken. + +> Crowdin is een lokalisatiebeheerplatform dat bedrijven helpt hun software te vertalen. U kunt meer lezen over Crowdin [hier](https://support.crowdin.com/crowdin-intro/) + +Als u bereid bent bij te dragen aan vertalingen, zult u: + +* Een [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) -account. +* Kies de doeltaal als er een andere aanvraag bestaat om ingeschakeld te worden. + +Als uw gewenste taal niet is weergegeven, neem dan [contact met mij op](https://crowdin.com/profile/blitze) en ik zal het toevoegen. + +[Begin met vertalen](https://crowdin.com/project/phpbb-ext-sitemaker) \ No newline at end of file diff --git a/docs/website/translated_docs/nl/developer-events.md b/docs/website/translated_docs/nl/developer-events.md new file mode 100644 index 000000000000..328e6a71371f --- /dev/null +++ b/docs/website/translated_docs/nl/developer-events.md @@ -0,0 +1,120 @@ +--- +id: ontwikkelaars-events +title: phpBB SiteMaker Evenementen +--- + +U kunt het gedrag van phpBB SiteMaker wijzigen met behulp van phpBB's event systeem. + +## PHP Events + +# blitze.sitemaker.acp_add_bulk_menu_options + +- Locatie: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Sinds: 3.1.0 +- Purpose: bulk menu opties toevoegen in acp menu + +# blitze.sitemaker.acp_display_settings_form + +- Locatie: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Sinds: 3.1.0 +- Purpose: toon veld (sitemaker) instellingen formulier + +# blitze.sitemaker.acp_save_settings + +- Locatie: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Sinds: 3.1.0 +- Purpose: Bewaar acp (sitemaker) instellingen + +# blitze.sitemaker.admin_bar.set_assets + +- Locatie: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Sinds: 3.0.1-RC1 +- Doel: Voeg assets toe voor beschikbare blokken in bewerkmodus + +# blitze.sitemaker.modify_block_posities + +- Locatie: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Sinds: 3.0.1-RC1 +- Doel: Blok posities wijzigen + +# blitze.sitemaker.modify_rendered_block + +- Locatie: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Sinds: 3.0.1-RC1 +- Doel: Wijzig een gerenommeerd blok + +## Sjabloon gebeurtenissen + +# blitze_sitemaker_acp_settings + +- Locatie: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Sinds: 3.1.0 +- Doel: Formuliervelden toevoegen voor sitemaker instellingen + +# blitze_sitemaker_admin_bar_bijlage + +- Locatie: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Sinds: 3.1.0 +- Purpose: Menu-items toevoegen aan admin bar + +# blitze_sitemaker_admin_bar_templates + +- Locatie: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Sinds: 3.1.0 +- Purpose: Voeg template bestanden toe die gebruikt worden in JS voor blok weergaven, etc + +## Javascript gebeurtenissen + +# blitze_sitemaker_layout_saved + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/componenten/AdminBar/SaveLayout/index.js +- Sinds: 3.1.2 +- Doel: Gebeurtenis om andere extensies toe te staan iets te doen wanneer lay-out wijzigingen worden opgeslagen + +# blitze_sitemaker_render_block_before + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/componenten/BlockRenderer/index.js +- Sinds: 3.1.2 +- Doel: Gebeurtenis om andere extensies toe te staan iets te doen voordat het blok wordt weergegeven of te voorkomen dat het opnieuw wordt weergegeven + +# blitze_sitemaker_render_block_after + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/componenten/BlockRenderer/index.js +- Sinds: 3.1.2 +- Doel: Gebeurtenis om andere extensies toe te staan iets te doen nadat het blok is weergegeven + +# blitze_sitemaker_save_block_before + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/componenten/BlocksManager/Edit/index.js +- Sinds: 3.1.2 +- Doel: Gebeurtenis om andere extensies toe te staan block data te wijzigen voordat deze is opgeslagen + +# blitze_sitemaker_show_all_block_posities + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/componenten/Posities/Positions.js +- Sinds: 3.1.2 +- Doel: Evenement om andere extensies toe te staan iets te doen wanneer alle blokposities worden weergegeven + +# blitze_sitemaker_Verberg_lege_block_posities + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/componenten/Posities/Positions.js +- Sinds: 3.1.2 +- Doel: Evenement om andere extensies toe te staan iets te doen wanneer lege posities verborgen zijn + +# blitze_sitemaker_layout_cleared + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/componenten/Posities/Positions.js +- Sinds: 3.1.2 +- Doel: Gebeurtenis om andere extensies toe te staan iets te doen wanneer de lay-out is gewist + +# blitze_sitemaker_layout_geüpdatet + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/componenten/Posities/Positions.js +- Sinds: 3.1.2 +- Doel: Gebeurtenis om andere extensies toe te staan iets te doen wanneer de lay-out is bijgewerkt + +# blitze_sitemaker_tinymce_opties + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Sinds: 3.0 +- Doel: Gebeurtenis toestaan dat andere extensies tinymce opties wijzigen \ No newline at end of file diff --git a/docs/website/translated_docs/nl/developer-extensions.md b/docs/website/translated_docs/nl/developer-extensions.md new file mode 100644 index 000000000000..b787372cbacc --- /dev/null +++ b/docs/website/translated_docs/nl/developer-extensions.md @@ -0,0 +1,177 @@ +--- +id: ontwikkelaar-extensies +title: Extensie phpBB SiteMaker +--- + +U kunt phpBB SiteMaker verlengen/wijzigen door [service vervangen](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [service decoratie](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration)en [phpBB's event system](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). U kunt hier een lijst van ondersteunde gebeurtenissen vinden [hier](./developer-events.md). + +## Een SiteMaker blok maken + +Een phpBB SiteMaker blok is simpelweg een klasse die de blitze\sitemaker\services\blocks\driver\block class en geeft een array terug van de "display" methode met een 'titel' en 'inhoud'. Al het andere inbetween is aan u. Om je blok te laten ontdekken door phpBB SiteMaker, moet je het de "sitemaker.block" tag geven. + +Zeg dat we een extensie hebben met vendor/extension als mijn/voorbeeld. Om een blok te maken genaamd "mijn_blok" voor phpBB SiteMaker: + +- Maak een "blokken" map +- Maak mijn_block.php bestand aan in de blokken map met de volgende inhoud + +```php +namespace my\example\blocks; + +gebruik blitze\sitemaker\services\blocks\driver\block; + +class my_block breidt blok +{ + /** + * {@inheritdoc} + */ + openbare functie display(array $settings, $edit_mode = onwaar) + { + return array( + 'title' => 'mijn blok titel', + 'inhoud' => 'mijn blokinhoud', + ); + } +} +``` + +Vervolgens in uw config.yml bestand, voeg het volgende toe: + +```yml +services: + +... + + mijn.example.block.my_block: + klasse: mijn\voorbeeld\blokken\my_block + oproepen: + - [set_name, [my.example.block.my_block]] + tags: + { name: sitemaker.block } + +.... + +``` + +Op een absoluut minimum, dat is alles wat je nodig hebt. Als je in de bewerkmodus gaat, moet je het blok zien dat wordt weergegeven als 'MY_EXAMPLE_BLOCK_MY_BLOCK' die kan worden gesleept en laten vallen op een blokpositie. Maar dit blok doet niets opwindends. Het heeft geen instellingen en vertaalt de naam van het blok niet. Laten we het interessanter maken. + +### Blokkeer instellingen + +Laten we ons blokken/my_block aanpassen. hp bestand en voeg een "get_config" methode toe op een array waarvan de sleutels de blok-instellingen zijn en de waarden een array zijn die de instellingen als volgt beschrijven: + +```php + /** + * @inheritdoc + */ + openbare functie get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + retourarray( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'standaard' => array(), 'verklaren' => false), + 'ja' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'leg uit' => false, 'standaard' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => onwaar, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'standaard' => '', 'uitleggen' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'opties' => $options, 'standaard' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'toelichten' => false, 'standaard' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'toelichten' => waar, 'standaard' => ''), + 'schakellable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'standaard' => '', 'append' => '
Toon alleen wanneer optie 1 is geselecteerd
'), + ); +} +``` + +Dit wordt op dezelfde manier opgebouwd als phpBB de configuratie voor de bord-instellingen in de ACS-landen. U kunt meer voorbeelden zien hier [](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Als je een aangepast veldtype wilt, zie je hier een voorbeeld [](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' instelling). + +Let op 'legend1' en 'legend2': Deze worden gebruikt om de instellingen te scheiden in tabbladen. + +### Namaakblokken + +De conventie voor bloknamen is dat de servicenaam (bijv. mijn.example.blok. y*blok hierboven) zal worden gebruikt als de taalsleutel door de stippen (.) te vervangen door de underscore (*) (e.g MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Vertaling + +Ook merken we dat we verschillende taalsleutels hebben die vertaald moeten worden. Om dit te doen, maak een bestand genaamd "blokken_admin.php" in uw taalmap. Dit bestand zal automatisch worden geladen bij het bewerken van blokken, en moet vertalingen hebben voor uw blokinstellingen en bloknamen. + + $lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Option 1', + 'OTHER_LANG_VAR' => 'Optie 2', + 'SOME_LANG_VAR_1' => 'Instelling 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Mijn Blok', + ) + + +Omdat 'blokken_admin.php' alleen geladen is bij het bewerken van blokken, moet je andere vertalingen toevoegen (bijvoorbeeld block title) door het laden van een taalbestand in je weergavemethode zoals `$language->add_lang('lang_file', 'my/example');` + +### Het blok renderen + +Het nieuwe blok zal alleen worden weergegeven als het iets rendert. Je blok kan een tekenreeks als inhoud retourneren, maar in de meeste gevallen heb je een sjabloon nodig om je inhoud te tonen. Om je blok te tonen met behulp van sjablonen, het blok moet een array retourneren dat de gegevens die je wilt doorgeven aan de template bevat en moet ook de `get_template` methode implementeren, zoals hieronder getoond: + +```php + /** + * @inheritdoc + */ + openbare functie get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + retourarray( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'standaard' => array(), 'verklaren' => false), + ); + } + + /** + * {@inheritdoc} + */ + openbare functie get_template() + { + return '@my_example/my_blok. tml'; + } + + /** + * {@inheritdoc} + */ + openbare functie weergave (array $data, $edit_mode = false) + { + als ($edit_mode) + { + // doe iets alleen in bewerkingsmodus + } + + retourarray( + 'title' => 'MY_BLOCK_TITLE', + 'gegevens' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Dan zou je stijl/alle/my_block.html of styles/prosilver/my_block.html bestand er ongeveer zo uit kunnen zien: + +

Je hebt geselecteerd: {{ some_var }}

+ + +Samenvattend je blok moet een array retourneren met een `titel` sleutel (voor de bloktitel) en een `content` toets (als het blok gewoon een string weergeeft en geen sjabloon gebruikt) of `data` sleutel (als het blok een template gebruikt, in dat geval moet u ook de `get_template` methode implementeren. + +### Blokkeer Assets + +Als je blok content (css/js) aan de pagina moet toevoegen, raad ik aan om de sitemaker [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) daarvoor te gebruiken. Omdat er meer dan één exemplaar van hetzelfde blok op de pagina kan zijn of andere blokken kunnen hetzelfde materiaal toevoegen, de util klasse zorgt ervoor dat de activa alleen toegevoegde zijn. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some. s', + 100 => '@my_example/assets/other. s', // stel prioriteit + in ), + 'css' => array( + '@my_example/assets/some. ss', + ) +)); +``` + +De util class zal natuurlijk moeten worden toegevoegd aan uw servicedefinities in config.yml zoals so: `- '@blitze.sitemaker. tot'` en gedefinieerd in de constructor van uw blok `\blitze\sitemaker\services\util $util`. + +En dat is het. We zijn klaar! \ No newline at end of file diff --git a/docs/website/translated_docs/nl/developer-theming.md b/docs/website/translated_docs/nl/developer-theming.md new file mode 100644 index 000000000000..00f5bd4bc9a8 --- /dev/null +++ b/docs/website/translated_docs/nl/developer-theming.md @@ -0,0 +1,55 @@ +--- +id: ontwikkelaar-theming +title: Thema +--- + +phpBB SiteMaker komt met stijlen en kleuren gemaakt voor prosilver. U kunt CSS, JS en HTML bestanden overschrijven door het bijbehorende bestand in de map van uw stijl te maken. + +# Het maken van JS/CSS bestanden voor uw stijl + +Opmerking: * Voor het doel van de onderstaande instructies gaan we ervan uit dat u een stijl heeft genaamd mijn-stijl. + +Kloon in phpBB/ext/blitze/sitemaker: + + git kloon https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +Van opdrachtregel ga naar sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + + +**Fabrikanten installeren** + + componist installatie + + +**Installeer pakketten** + +Voor de onderstaande opdrachten kunt u npm of [yarn](https://yarnpkg.com) gebruiken + + yarn installatie + + +**Bekijk wijzigingen** + + yarn start --thema mijn-stijl + + +**Wijzigingen maken** + +* Maak uw wijzigingen in bestanden in de phpBB/ext/blitze/sitemaker/develop map. +* Kijk naar phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss voor sass variabelen + +**Bouw Assets** + + yarn build --thema mijn-stijl + + +**Deployen** + +U kunt nu de gegenereerde bestanden kopiëren van phpBB/ext/blitze/sitemaker/styles/my-style en deze uploaden naar uw productieserver. + +> Deze extensie gebruikt jQuery UI voor tabbladen, dialogen en knoppen. Het standaard jQuery thema is 'smoothness.' U kunt een ander jQuery UI thema gebruiken dat het beste past bij uw thema. U kunt het jQuery UI thema met de vlag --jq_ui_theme specificeren. Bijvoorbeeld: + + yarn build --thema mijn-stijl --jq_ui_theme ui-lightness \ No newline at end of file diff --git a/docs/website/translated_docs/nl/filemanager.md b/docs/website/translated_docs/nl/filemanager.md new file mode 100644 index 000000000000..08caa9b8029e --- /dev/null +++ b/docs/website/translated_docs/nl/filemanager.md @@ -0,0 +1,34 @@ +--- +id: filemanager +title: Responsive Filemanager +--- + +As of version 3.1.0, phpBB SiteMaker supports the [Responsive Filemanager](http://responsivefilemanager.com) + +* The file manager is used as a TinyMCE pluging (WYSIWYG editor) when editing custom blocks +* It is currently configured to creat separate folders for each user, except the user with a_sm_filemanager permission (Can see/manage other users' folders), which allows them access to view/manage all upload folders. + +## Installation + +* Download the [Responsive FileManager](http://responsivefilemanager.com/index.php#sthash.5UrnhjX2.dpbs) +* Extract it, and upload the files to your phpBB root folder. The file structure should be as below: + +```text +phpBB +├── images/ +├── includes/ +├── ... +└── ResponsiveFilemanager/ + └── filemanager/ + └── config/ + ├── .htaccess + └── config.php +``` + +## Activation + +* Go to ACP > Extensions > SiteMaker > Settings +* Enable File Manager feature +* Save changes +* Update user permissions (Misc tab) to determine who can use this feature [Can use File Manager] +* Update admin permissions (Misc tab) to determine who can manager user folders [Can see/manage other users’ folders in File Manager] \ No newline at end of file diff --git a/docs/website/translated_docs/nl/installation.md b/docs/website/translated_docs/nl/installation.md new file mode 100644 index 000000000000..c0c89645714c --- /dev/null +++ b/docs/website/translated_docs/nl/installation.md @@ -0,0 +1,18 @@ +--- +id: installatie +title: Installeren / Upgraden +--- + +Download de extensie van [hier](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installeren van phpBB SiteMaker + +* Haal het uit en upload het naar je phpBB/ext/ map zodat je phpBB/ext/blitze/sitemaker hebt +* Ga naar "ACS" > "Aanpassen" > "Extensies" en schakel de "phpBB Sitemaker" extensie in. + +## Upgraden van phpBB SiteMaker + +* Maak een back-up van uw database voor het geval er iets fout gaat +* Ga naar "ACS" > "Aanpassen" > "Extensies" en schakel uit (niet reinigen) "phpBB Sitemaker" +* Download en extract de nieuwste versie van phpBB SiteMaker en upload deze naar uw phpBB/ext/ map (overschrijf) +* Ga naar "ACS" > "Aanpassen" > "Extensies" en schakel de "phpBB Sitemaker" extensie in. \ No newline at end of file diff --git a/docs/website/translated_docs/nl/introduction.md b/docs/website/translated_docs/nl/introduction.md new file mode 100644 index 000000000000..2648dabcf9a3 --- /dev/null +++ b/docs/website/translated_docs/nl/introduction.md @@ -0,0 +1,6 @@ +--- +id: inleiding +title: Inleiding +--- + +phpBB SiteMaker probeert uw phpBB-bord om te zetten in een CMS/portal. Het doet dit door u te voorzien van blokken en menu's om u te helpen uw site naar uw smaak aan te passen. Er zijn of zullen andere SiteMaker extensies zijn die extra functionaliteit bieden om dit doel te bereiken. Het stelt u ook in staat om een landingspagina te definiëren wanneer uw site wordt geopend. Dus als je niet wilt dat bezoekers op je site direct het phpBB-forum zien wanneer ze naar www.your-site.com gaan, dan kun je je eigen startpagina definiëren. \ No newline at end of file diff --git a/docs/website/translated_docs/nl/menus-display.md b/docs/website/translated_docs/nl/menus-display.md new file mode 100644 index 000000000000..223c701ba2d3 --- /dev/null +++ b/docs/website/translated_docs/nl/menus-display.md @@ -0,0 +1,18 @@ +--- +id: menu-weergave +title: Menu's weergeven +--- + +Nu u uw menukaarten hebt aangemaakt, kunt u ze op verschillende manieren weergeven: + +## Links blokkeren + +U kunt dit blok gebruiken om een platte of geneste lijst van menu-items weer te geven. Dit blok is niet bedoeld om te worden gebruikt voor navigatie, d.w.z. het toont geen huidige pagina of iets dergelijks. Het is bedoeld voor een lijst van items, waaronder externe links. + +## Menu blok + +Dit blok is bedoeld voor site navigatie. Het is niet de bedoeling dat het een zeer grote lijst wordt. + +## Navigatiebalk + +Vergelijkbaar met het Menu blok, de navigatiebalk zal menu-items weergeven als een responsive dropdown menu bedoeld voor de navigatie van de site. U kunt dit inschakelen in ACS > Extensies > Sitemaker > Instellingen > Selecteer menu \ No newline at end of file diff --git a/docs/website/translated_docs/nl/menus-managing-items.md b/docs/website/translated_docs/nl/menus-managing-items.md new file mode 100644 index 000000000000..0b574110992d --- /dev/null +++ b/docs/website/translated_docs/nl/menus-managing-items.md @@ -0,0 +1,30 @@ +--- +id: Menu-beheer-items +title: Menu-items beheren +--- + +Uw menu is nutteloos tenzij het menu-items bevat. U kunt menu-items toevoegen die verwijzen naar lokale of externe bestanden. + +> De URL voor externe sites moet beginnen met http(s)://, ftp:/, //, etc. +> +> U kunt een duiker aanmaken door '-' in te voeren als titel van het item + +## Menu items toevoegen + +U kunt menu-items één item tegelijk toevoegen, of u kunt meerdere menu-items toevoegen. + +### Enkele menu-items toevoegen + +Om een enkel menu-item toe te voegen, * klik op de " `Voeg menu toe"` * knop * Vul de vereiste informatie in en druk op `` Opslaan + +### Meerdere items toevoegen + +Om meerdere menu-items in een keer toe te voegen * Klik op het pictogram naast `menu-item` * U kunt handmatig items toevoegen door elk item op een nieuwe regel te plaatsen en gebruik te maken van de tab nest items of * U kunt op een van de verstrekte opties klikken aan de onderkant van de tekst om de menu-items automatisch in te vullen + +## Menu-items opnieuw bestellen + +U kunt de menu-items slepen en neerzetten om hun weergavevolgorde in te stellen, of ze naar links/rechts slepen om de gewenste hiërarchie in te stellen. + +## Herbouwen van de menu-items + +Als u vindt dat de menu-items niet correct worden weergegeven, klik dan op de knop `herbouwde Boom` om de menu-items opnieuw op te bouwen. \ No newline at end of file diff --git a/docs/website/translated_docs/nl/menus-managing.md b/docs/website/translated_docs/nl/menus-managing.md new file mode 100644 index 000000000000..02578b80f765 --- /dev/null +++ b/docs/website/translated_docs/nl/menus-managing.md @@ -0,0 +1,22 @@ +--- +id: menukaartbeheer +title: Menu's beheren +--- + +U kunt menu's maken in de ACS die u vervolgens kunt weergeven met behulp van de Menu's of de links of weergegeven als een horizontale navigatiebalk. + +## Menu's beheren + +Ga naar de ACS > Extensies > Sitemaker > Menu om menu te beheren + +### Menu's aanmaken + +Klik op de knop `Menu` om een nieuw menu (groep) aan te maken. Een nieuwe menu groep wordt aangemaakt met een willekeurig gegenereerde naam. Het nieuwe menu zal ook worden geselecteerd zodat u kunt beginnen met het toevoegen van menu-items. + +### Menu's bewerken + +Als u een meer betekenisvolle menutnaam wilt, * zweven over de menaam en klik op het cog-pictogram * voer de nieuwe menutnaam in en druk op enter om het bij te werken + +### Menu's verwijderen + +Het verwijderen van een menu en zijn items, * Beweeg over de menunaam en klik op de **x** pictogram * Als het menu-item geen onderliggende items heeft, u moet uw keuze om het item te verwijderen bevestigen * als het menu-item onderliggende items heeft, u moet aangeven of u alleen het item wilt verwijderen en zijn kinderen naar boven wilt verplaatsen of dat u de hele branch wilt verwijderen \ No newline at end of file diff --git a/docs/website/translated_docs/nl/site-block-modifiers.md b/docs/website/translated_docs/nl/site-block-modifiers.md new file mode 100644 index 000000000000..f44d5fb11807 --- /dev/null +++ b/docs/website/translated_docs/nl/site-block-modifiers.md @@ -0,0 +1,6 @@ +--- +id: site-block-modifiers +title: Blocks display aanpassen +--- + +Werken in uitvoering... \ No newline at end of file diff --git a/docs/website/translated_docs/nl/site-default-layout.md b/docs/website/translated_docs/nl/site-default-layout.md new file mode 100644 index 000000000000..e872824052a2 --- /dev/null +++ b/docs/website/translated_docs/nl/site-default-layout.md @@ -0,0 +1,10 @@ +--- +id: site-standaard-lay-out +title: Standaard lay-out instellen +--- + +Als je een blok toevoegt, wordt het toegevoegd aan die specifieke pagina. Het zou dan ook een vervelende taak zijn om alle pagina's op uw site te blokkeren. U kunt alle gewenste blokken voor een bepaalde pagina instellen, deze pagina vervolgens als standaard lay-out instellen. Met andere woorden, elke pagina die geen eigen blokken heeft, zal blokken van deze pagina overnemen. + +Om een standaard lay-out in te stellen * Ga naar de pagina die u wilt instellen als standaard lay-out * Klik op `instellingen` in de beheerbalk * Klik op de `set als standaard lay-out` knop + +Zeg dat we blokken toevoegen aan een pagina (phpBB/index.php) met blokken in de zijbalk en top posities, bijvoorbeeld, en deze instellen als onze standaard lay-out. Dit heeft de volgende effecten voor andere pagina's: * Elke pagina die geen eigen blokken heeft, zal de blokken van de standaard lay-out overnemen. Bekijk [Begrepen Blok Erven](./blocks-inheritance.md) voor uitzonderingen. * U kunt nog steeds blokken erven van een standaard lay-out (index.php) maar kies om geen blokken op sommige blokposities weer te geven of helemaal geen blokken weer te geven. Om dit te doen * Ga naar de pagina die je niet wilt laten zien * Klik op `Instellingen` in de beheerbalk * Selecteer `Laat geen blokken op deze pagina zien` als je geen blokken wilt overnemen / weergeven op deze pagina OF * Gebruik CTRL + klik om de blokposities te selecteren (aan de rechterkant) die je niet wilt weergeven op * In `wijzig modus`, een pagina die blokken overneemt van de standaard lay-out, zal geen blokken tonen, geeft u de mogelijkheid om blokken aan de pagina toe te voegen als u wilt * Een pagina met eigen blokken zal niet overgenomen worden van de standaard lay-out \ No newline at end of file diff --git a/docs/website/translated_docs/nl/site-layouts.md b/docs/website/translated_docs/nl/site-layouts.md new file mode 100644 index 000000000000..8828784bae2c --- /dev/null +++ b/docs/website/translated_docs/nl/site-layouts.md @@ -0,0 +1,20 @@ +--- +id: site-lay-outs +title: Lay-outs +--- + +"Layouts" bepalen de beschikbare blokposities en hoe ze worden weergegeven. + +## Blokkeer posities + +Blokkeer posities zijn vooraf gedefinieerde gebieden op je site waar blokken kunnen bestaan. De beschikbare blokposities worden bepaald door de template stijl die u gebruikt. Voor prosilver, phpBB SiteMaker komt met de volgende blokposities: paneel: volledige breedte over de top * sidebar: links/rechts afhankelijk van de lay-out onder * subinhoud: vergelijkbaar met de zijbalk die net groter is * top_hor: horizontale blokken aan de top, flanken boven sidebar/subinhoud afhankelijk van lay-out * top: boven hoofdinhoud * box: gelijke breedte, horizontale blokken onder hoofdinhoud * onder: onder hoofdinhoud * bottom_hor: horizontale blokken overal onderaan De sidebar/subcontent flankeren afhankelijk van lay-out * footer: horizontale blokken in de footer Je kunt meer blokken toevoegen in je eigen stijl sjablonen door de bijbehorende phpBB SiteMaker sjablonen te kopiëren en aan te passen + +## Site lay-out + +U kunt de indeling voor uw site in de ACS kiezen (Extensions > Sitemaker > Instellingen): * **Blog**: subinhoud en sidebar naast elkaar duwde naar rechts, boven_hoor/botom_hor subinhoud * **Heilige Grail**: gelijke breedte zijbalk en subinhoud aan tegenzijde. top_hor/botom_hor flank subinhoud * **Portal**: sidebar aan de linkerkant, subinhoud aan de rechterkant top_hor/botom_hor flank subinhoud * **Portal Alt**: subinhoud links zijbalk aan de rechterkant top_hor/botom_hor flank sidebar * **Aangepast**: Stel de breedte van de sidebars handmatig in als px, %, em of rem. Standaard op 200px aan elke kant + +## Aangepaste templates/stijlen + +We hebben zo veel mogelijk geprobeerd sjabloonbestanden en bestanden in stijlen/all/ map te plaatsen, zodat je ze kunt overschrijven door een bestand met dezelfde naam te maken onder je eigen template thema, bijvoorbeeld prosilver. Dus als je wilt aanpassen hoe een bepaald blok displays of als je je eigen lay-out wilt maken met je eigen blokposities, moet je simpelweg een bestand maken met dezelfde naam en pad als het origineel in je eigen stijl. + +Als u CSS/JS bestanden moet aanpassen, kijk dan naar de [theming](./developer-theming.md) sectie. \ No newline at end of file diff --git a/docs/website/translated_docs/nl/site-navbar.md b/docs/website/translated_docs/nl/site-navbar.md new file mode 100644 index 000000000000..9c548211ce9c --- /dev/null +++ b/docs/website/translated_docs/nl/site-navbar.md @@ -0,0 +1,6 @@ +--- +id: site-navbar +title: Navigatiebalk +--- + +Bekijk [Menu's](./menus-display#navigation-bar) \ No newline at end of file diff --git a/docs/website/translated_docs/nl/site-startpage.md b/docs/website/translated_docs/nl/site-startpage.md new file mode 100644 index 000000000000..9783ab785a10 --- /dev/null +++ b/docs/website/translated_docs/nl/site-startpage.md @@ -0,0 +1,8 @@ +--- +id: website-startpagina +title: Een startpagina instellen +--- + +phpBB SiteMaker staat u toe om een front controller te kiezen (pagina's geopend via app.php/...) als uw standaard startpagina (de pagina die wordt getoond wanneer iemand uw site bezoekt) in plaats van de board index. + +Om dit te doen: * Ga naar de pagina die u wilt instellen als standaardstartpagina * Klik op `Instellingen` in de beheerbalk. Als het een subsidiabele pagina is, ziet u een `Instellen als startpagina` knop * Klik op de `Instellen als startpagina` knop \ No newline at end of file diff --git a/docs/website/translated_docs/pl/blocks-custom.md b/docs/website/translated_docs/pl/blocks-custom.md new file mode 100644 index 000000000000..0ac0ebb9300e --- /dev/null +++ b/docs/website/translated_docs/pl/blocks-custom.md @@ -0,0 +1,24 @@ +--- +id: niestandardowe bloki +title: Własny blok +--- + +Jeśli dostępne bloki nie dają ci potrzebnej wolności, istnieje `Blok niestandardowy` który pozwala ci na swobodne wyświetlanie własnych treści za pomocą BBcode lub HTML. Blok jest wyposażony w edytor WYSIWYG (TinyMCE) i menedżer skryptów: + +## Edytor + +- Możesz użyć edytora do tworzenia zawartości HTML +- Możesz edytować kod źródłowy, jeśli potrzebujesz tego poziomu kontroli klikając na ikonę `kodu źródłowego` (`<>`) w edytorze +- Edytor pozwala na przesyłanie i modyfikowanie obrazów + - Tworzy nowy folder w phpBB/images/sitemaker_uploads/ dla każdego użytkownika, który ma do niego dostęp. + - Możesz przeglądać/zarządzać wszystkimi folderami użytkowników +- Edytor filtruje wszelkie potencjalnie niebezpieczne skrypty, takie jak javascript, itp. Jeśli potrzebujesz dodać treści takie jak reklamy google, javascript zostanie przefiltrowany, ale możesz to obejść, wykonując następujące czynności: + - Dodaj niestandardowy blok do pożądanej lokalizacji + - Edytuj niestandardowy blokadę, kliknij na kartę `HTML` i wklej Javascript + +## Menedżer skryptów + +Niestandardowy blok pozwala również na dodawanie niestandardowych plików CSS i Javascript do twojej strony. Aby to zrobić: + +- Dodaj `niestandardowy blok` do każdej pozycji bloku. Pozycja nie ma znaczenia, chyba że wyświetlasz również zawartość z blokiem +- Edytuj blok, kliknij na karcie `Skrypty` i dodaj pliki CSS lub Javascript > Ostrzeżenie: Dodanie do wielu skryptów na stronie może mieć wpływ na czas ładowania \ No newline at end of file diff --git a/docs/website/translated_docs/pl/blocks-inheritance.md b/docs/website/translated_docs/pl/blocks-inheritance.md new file mode 100644 index 000000000000..724bb0576cc0 --- /dev/null +++ b/docs/website/translated_docs/pl/blocks-inheritance.md @@ -0,0 +1,44 @@ +--- +id: bloki – dziedziczenie +title: Zrozumienie dziedziczenia bloku +--- + +Widzieliśmy to już poprzez ustawienie domyślnego układu, inne strony, które nie mają własnych bloków, odziedziczą bloki z domyślnego układu. Istnieje jednak inny rodzaj dziedziczenia blokowego. + +## Trasy rodzicielskie/podrzędne + +W phpBB SiteMaker mówimy o zagnieżdżonych trasach w postaci realnych zagnieżdżonych katalogów lub praktycznie zagnieżdżonych trasach/trasach. Zostań ze mną :). * Rzeczywiste ścieżki rodzica/podrzędne: Na przykład ścieżka /some_directory/sub_directory/index.php jest podrzędną /some_directory/index. hp * Wirtualne ścieżki rodzica/podrzędne: Na przykład, viewtopic.php jest traktowany jako podrzędny viewforum.php. + +Oto kilka przykładów tras rodzica/potomnych: + +| Nadrzędny | Dziecko | +| ------------------ | ------------------------------ | +| /pl/index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/artykuły | /app.php/articles/moja pozycja | + +## Dziedziczenie rodzica/Dziedzictwa + +drogi rodzicielskie/dziecko, trasa podrzędna dziedziczy bloki trasy nadrzędnej (jeżeli rodzic ma własne bloki) lub z domyślnego układu (jeżeli został ustawiony). Innymi słowy, nawet jeśli istnieje domyślny układ, szlak potomny odziedziczy bloki od trasy rodzicielskiej, jeśli trasa nadrzędna ma własne bloki. Ale nie wszystkie bloki na linii macierzystej muszą być dziedziczone. + +## Kontrola dziedziczenia bloku + +Na poziomie bloku możesz kontrolować, kiedy blok może być dziedziczony przez trasy podrzędne. Dotknęliśmy do tego wcześniej w [Edycji ustawień bloku](./blocks-managing#editing-block-settings). + +Rozważ następującą strukturę katalogów: + +```text +phpBB + · index.php + · Filmy / + · index.php + · page.php + · Comedy/ + · index.php +``` + +Do celów dziedziczenia bloków mówimy: * Droga nadrzędna /phpBB/Movies/Comedy/index.php to /phpBB/Movies/index. hp i nie /phpBB/Movies/page.php * Wszystkie strony w podkatalogu względem /phpBB/index.php to ścieżka podrzędna /phpBB/index.php. Więc /phpBB/Movies/index.php i /phpBB/Movies/page.php są wszystkimi potomkami /phpBB/index.php i dlatego dziedziczy swoje bloki, jeśli nie mają własnych bloków. W tym przypadku: * Gdy blok na /phpBB/index. hp jest ustawiony na **Ukryj na trasach podrzędnych**, blok pojawi się na /phpBB/index. hp (trasa nadrzędna), ale nie na trasach potomnych * Gdy blok na /phpBB/index. hp jest ustawiony na **Pokaż tylko na trasach podrzędnych**, będzie wyświetlany na /phpBB/Movies/index.php i /phpBB/Movies/page hp (trasy potomne), ale nie na /phpBB/index.php (nadrzędne), ani /phpBB/Movies/Comedy/index. hp (idź tylko jeden poziom) * Gdy blok na /phpBB/index. hp jest ustawiony na wyświetlanie **zawsze** (domyślnie), będzie wyświetlany na /phpBB/index.php (parent), /phpBB/Movies/index. hp and /phpBB/page.php (ścieżki podrzędne), ale nie na /phpBB/Movies/Comedy/index.php (idź tylko jeden poziom głębokości). W tym przypadku /phpBB/Movies/Comedy/index.php odziedziczy domyślną trasą (jeśli istnieje) + +## Możliwy przyszły stan + +Naprawdę interesuje mnie twoja opinia w tym obszarze. Większość użytkowników phpBB nie będzie miała prawdziwych katalogów jak opisano powyżej. Myślę więc o użyciu struktury, która jest zdefiniowana w bloku menu jako wirtualna struktura katalogów i zastosuj do niej dziedziczenie rodzica/dziecka. Rozważam również wyjście poza jeden poziom. Daj mi znać, czy to będzie dla Ciebie przydatne. \ No newline at end of file diff --git a/docs/website/translated_docs/pl/blocks-managing.md b/docs/website/translated_docs/pl/blocks-managing.md new file mode 100644 index 000000000000..3658e2424707 --- /dev/null +++ b/docs/website/translated_docs/pl/blocks-managing.md @@ -0,0 +1,38 @@ +--- +id: zarządzanie blokami +title: Zarządzanie blokami +--- + +Aby zarządzać blokami w phpBB SiteMaker, musisz być w [trybie edycji](./blocks-overview#edit-mode). + +> Gdy blok nie wyświetla żadnej zawartości, nie będzie on wyświetlany, z wyjątkiem trybu edycji. W ten sposób możesz podać jej zawartość (w przypadku bloku niestandardowego) lub zmienić jego ustawienia. +> +> W trybie edycji, nieco przezroczyste bloki to bloki, które w przeciwnym razie nie będą wyświetlane, ale są wyświetlane tylko dlatego, że jesteśmy w trybie edycji + +## Dodawanie bloków + +Możesz dodać bloki do każdej strony skierowanej do przodu, z wyjątkiem Panelu Kontroli Użytkownika i Panelu Zarządzania Moderatorami. Aby dodać blok, będziesz musiał: * kliknij na **Bloki** w pasku administracyjnym. To wyświetli listę dostępnych bloków * Przeciągnij i upuść żądany blok na dowolną pozycję bloku + +## Edycja bloków + +### Dodawanie ikony bloku + +W lewo od tytułu bloku (prosrow) znajduje się pole dla ikony bloku. Kliknij na to pole, aby uzyskać wybór ikon. Możesz wybrać rozmiar ikony, kolor, pływanie, obracanie itp. + +### Edycja tytułu bloku + +Bloki phpBB SiteMaker będą miały domyślny, przetłumaczony tytuł, ale jeśli tytuł nie spełnia Twoich potrzeb, możesz go zmienić. Aby edytować tytuł bloku, * Kliknij na tytuł bloku, aby uzyskać formularz edycji wbudowanej * Zmień tytuł na coś, co chcesz * Usuń koncentrację z pola lub naciśnij Enter, aby przesłać zmiany + +> Twój zmodyfikowany tytuł bloku nie jest przetłumaczony +> +> Aby powrócić do domyślnego tytułu, po prostu usuń tytuł i naciśnij enter + +### Edycja ustawień bloku + +Po najechaniu nad blokiem, ikona kug pojawi się po prawej stronie bloku, który może być użyty do edycji bloku. W oknie dialogowym bloku edycji możesz: - Włącz/Wyłącz blok [Status] - Wybierz kiedy blok powinien/nie powinien być wyświetlany [Display]. Ma to zastosowanie tylko w przypadkach gdy zagnieżdżono strony (patrz [Zrozumienie dziedziczenia bloku](./blocks-inheritance.md)): - **Zawsze**: Zawsze wyświetl blok - **Ukryj na trasach podrzędnych**: Pokaż tylko ten blok na ścieżce nadrzędnej - **Pokaż tylko na trasach podrzędnych**: Pokaż tylko ten blok na ścieżce podrzędnej - Wybierz, które grupy użytkowników mogą wyświetlić blok [widoczny przez]. Użyj CTRL + kliknij aby wybrać wiele grup. - Ustaw niestandardowe klasy aby zmodyfikować wygląd bloku lub elementów (listy, obrazki, tło, etc) w bloku [klasa CSS] - Pokaż/ukryj tytuł bloku [Ukryj tytuł bloku? - Wybierz widok bloku [Widok bloku]. Możesz wybrać domyślny widok bloków po dodaniu nowych bloków w ACP. - **Domyślny / Prosty**: używa klasy panelu prosrebrnego do zawinięcia bloku w wypełnionym pojemniku - **Basic**: blok nie ma opakowania - **Boxed**: używa klasy forabg prosrebra do zawinięcia bloku w polu - Ustaw / Aktualizuj konkretne ustawienia - Jeśli masz ten sam blok na wielu stronach, możesz zaktualizować wszystkie na raz poprzez sprawdzenie **bloków aktualizacji z podobnymi ustawieniami** + +## Usuwanie bloków + +- Przytrzymaj nad blokiem, który chcesz usunąć +- Kliknij ikonę **x** i potwierdź, że chcesz usunąć blok +- Przejdź do paska administratora i kliknij na `Zapisz zmiany` \ No newline at end of file diff --git a/docs/website/translated_docs/pl/blocks-overview.md b/docs/website/translated_docs/pl/blocks-overview.md new file mode 100644 index 000000000000..90dc347c6080 --- /dev/null +++ b/docs/website/translated_docs/pl/blocks-overview.md @@ -0,0 +1,10 @@ +--- +id: podgląd bloków +title: Czym są bloki? +--- + +W sercu phpBB SiteMaker znajduje się pojęcie bloków. Bloki są małymi częściami treści, które możesz umieścić w różnych wstępnie zdefiniowanych obszarach (pozycje blokowe) na Twojej stronie. Bloki będą zazwyczaj miały ustawienia, które możesz ustawić/zmienić, aby dostroić zawartość, którą chcesz wyświetlać. Większość bloków, ale nie wszystkie, sprawi, że bazy danych będą zapytać, aby uzyskać żądaną zawartość. Więc nie popadajmy za szalony :). Aby zarządzać blokami, będziesz musiał przełączyć się na "tryb edycji". + +## Tryb edycji + +Przełącz na tryb edycji klikając ikonę ołówka w prawym górnym rogu strony. Spowoduje to wyświetlenie "paska administracyjnego" z elementami menu "Bloki" i "Ustawienia". Nazywa się to "trybem edycji". \ No newline at end of file diff --git a/docs/website/translated_docs/pl/blocks-views.md b/docs/website/translated_docs/pl/blocks-views.md new file mode 100644 index 000000000000..2c1424c48808 --- /dev/null +++ b/docs/website/translated_docs/pl/blocks-views.md @@ -0,0 +1,6 @@ +--- +id: bloki-widoki +title: Blokuj widoki +--- + +Praca w toku... \ No newline at end of file diff --git a/docs/website/translated_docs/pl/contrib-overview.md b/docs/website/translated_docs/pl/contrib-overview.md new file mode 100644 index 000000000000..5ec142c7daaf --- /dev/null +++ b/docs/website/translated_docs/pl/contrib-overview.md @@ -0,0 +1,11 @@ +--- +id: przegląd kontrybucji +title: Zaangażuj się +--- + +phpBB SiteMaker jest projektem open source i z zadowoleniem przyjmuje Twoje pomysły i wkłady. Tak więc czuj się swobodnie angażuj. Możesz przyczynić się do tego projektu poprzez: + +* [Dostarczanie wsparcia/opinii](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Zgłaszanie błędów](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Pomoc w tłumaczeniu](./contrib-translators.md) +* [Naprawianie błędów lub dodawanie funkcji](./contrib-pull-requests.md) \ No newline at end of file diff --git a/docs/website/translated_docs/pl/contrib-pull-requests.md b/docs/website/translated_docs/pl/contrib-pull-requests.md new file mode 100644 index 000000000000..046daa65eccd --- /dev/null +++ b/docs/website/translated_docs/pl/contrib-pull-requests.md @@ -0,0 +1,76 @@ +--- +id: pull-requesty +title: Przesyłanie Pull Request +sidebar_label: Żądania ściągnięcia +--- + +`Pull requestów pozwala Ci powiedzieć innym o zmianach, które wymusiłeś do gałęzi w repozytorium na GitHub. Po otwarciu pull request, możesz przedyskutować i przejrzeć potencjalne zmiany ze współpracownikami, a także dodać następcze commity, zanim Twoje zmiany zostaną połączone z gałęzią bazową.` [Przeczytaj więcej](https://help.github.com/articles/about-pull-requests/) + +## Forkowanie/Klonowanie + +* Utwórz konto github, jeśli nie posiadasz go +* Przejdź do https://github.com/blitze/phpBB-ext-sitemaker.git i kliknij na "Fork" + +Sklonuj swój fork repozytorium: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +Z wiersza poleceń przejdź do katalogu sitemaker: + + cd phpBB/ext/blitze/sitemaker + + +**Skonfiguruj git:** + +Dodaj swoją nazwę użytkownika do Git w systemie: + + git config --global user.name "Twoje imię i nazwisko" + + +Dodaj swój adres e-mail do Git w systemie: + + git config --add user.email username@phpbb.com + + +Dodaj pilota w górę (możesz zmienić "upstream" na dowolny jaki chcesz): + + git remote add git://github.com/blitze/phpBB-ext-sitemaker.git + + +**Zainstaluj wykonawców** + + instalacja kompozytora + + +**Zainstaluj pakiety NPM** + + instalacja npm + + +Alternatywnie możesz użyć [przędzy](https://yarnpkg.com): + + instalacja przędzy + + +## Żądania ściągnięcia + + # Utwórz nową gałąź dla swojej funkcji & przełącz się na nią + git checkout -b/my-fancy-new-feature + + # utwórz nową gałąź dla problemu, nad którym pracujesz * przełącz się na niego (bilet # jest z trackera github) + git checkout -b ticket/1234 + + +Dokonaj zmian + + # Etapuj pliki + git add + + # Wykonaj pliki etapowe - użyj poprawnej wiadomości zatwierdzenia + git commit -m "moja wiadomość zatwierdzenia" + + +Wypchnij gałąź z powrotem do GitHub git push feature/my-fancy-new-feature + +Prześlij [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) \ No newline at end of file diff --git a/docs/website/translated_docs/pl/contrib-translators.md b/docs/website/translated_docs/pl/contrib-translators.md new file mode 100644 index 000000000000..139dbc90c895 --- /dev/null +++ b/docs/website/translated_docs/pl/contrib-translators.md @@ -0,0 +1,17 @@ +--- +id: współtwórcy tłumaczy +title: Tłumacze +--- + +Potrzebujemy pomocy w tłumaczeniu tego rozszerzenia, jak również jego dokumentacji. Stworzyliśmy projekt na Crowdin w celu ułatwienia tłumaczeń. Crowdin daje Ci interfejs tłumaczenia, który nie ma na drugim. Możesz przyczynić się do tego, jak kiedykolwiek chcesz, ale naprawdę zalecamy korzystanie z Crowdin. + +> Crowdin jest platformą zarządzania lokalizacją, która pomaga firmom w tłumaczeniu ich oprogramowania. Możesz dowiedzieć się więcej o Crowdin [tutaj](https://support.crowdin.com/crowdin-intro/) + +Jeśli chcesz, aby wnieść swój wkład w tłumaczenia, potrzebujesz: + +* Konto [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) +* Wybierz język docelowy, jeśli istnieje inny wniosek o włączenie tego języka. + +Jeśli twój pożądany język nie jest wymieniony, proszę [skontaktuj się ze mną](https://crowdin.com/profile/blitze) i dodam go. + +[Rozpocznij tłumaczenie](https://crowdin.com/project/phpbb-ext-sitemaker) \ No newline at end of file diff --git a/docs/website/translated_docs/pl/developer-events.md b/docs/website/translated_docs/pl/developer-events.md new file mode 100644 index 000000000000..fc9676bf317b --- /dev/null +++ b/docs/website/translated_docs/pl/developer-events.md @@ -0,0 +1,120 @@ +--- +id: wydarzenia deweloperskie +title: phpBB SiteMaker Wydarzenia +--- + +Możesz modyfikować zachowanie phpBB SiteMaker za pomocą systemu zdarzeń phpBB. + +## Zdarzenia PHP + +# Opcje edytora strony + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- od: 3.1.0 +- Przeznaczenie: Dodaj opcje menu zbiorczego w menu acp + +# Formularz wyświetlacza + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- od: 3.1.0 +- Przeznaczenie: wyświetlanie ustawień acp (sitemaker) + +# Zapisuj ustawienia + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- od: 3.1.0 +- Zastosowanie: Zapisz ustawienia acp (sitemaker) + +# Admin_Blitze + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- od: 3.0.1-RC1 +- Zastosowanie: Dodaj zasoby dla dostępnych bloków w trybie edycji + +# Modyfikator pozycji + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- od: 3.0.1-RC1 +- Przeznaczenie: Modyfikacja pozycji bloków + +# Zmodyfikuj blok + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- od: 3.0.1-RC1 +- Przeznaczenie: Modyfikuj renderowany blok + +## Wydarzenia szablonu + +# blitze_sitemaker_ustawienia acp_ + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- od: 3.1.0 +- Przeznaczenie: Dodaj pola formularza dla ustawień sitemakera + +# blitze_administrator_admin_bar_dołącz + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- od: 3.1.0 +- Zastosowanie: Dodaj elementy menu do paska administratora + +# [PLACEHOLDER] blitze_sitemaker_admin_bar + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- od: 3.1.0 +- Zastosowanie: Dodaj pliki szablonu do użycia w JS dla widoków bloków itp + +## Wydarzenia JavaScript + +# blitze_layout_zapisany + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Ponieważ: 3.1.2 +- Zastosowanie: Zdarzenie, aby zezwolić innym rozszerzeniom na coś podczas zapisywania zmian układu + +# Blitze_wyrenderowanie_przed + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Ponieważ: 3.1.2 +- Zastosowanie: Zdarzenie, aby zezwolić innym rozszerzeniom na coś przed renderowaniem bloku lub uniemożliwienie jego renderowania + +# blitze_twórca_render_po + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Ponieważ: 3.1.2 +- Zastosowanie: Zdarzenie, aby zezwolić innym rozszerzeniom na coś po wykonaniu bloku + +# Blitze_zapisywanie_przed + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Ponieważ: 3.1.2 +- Przeznaczenie: Zdarzenie pozwalające innym rozszerzeniom na modyfikację danych bloku przed ich zapisaniem + +# [PLACEHOLDER] blitze_sitemaker_show_all_block_positions + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Ponieważ: 3.1.2 +- Zastosowanie: Zdarzenie, aby umożliwić innym rozszerzeniom coś zrobić, gdy wszystkie pozycje bloków są pokazane + +# [PLACEHOLDER] blitze_sitemaker_hiide_empty_block_positions + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Ponieważ: 3.1.2 +- Zastosowanie: Zdarzenie, aby umożliwić innym rozszerzeniom coś zrobić, gdy puste pozycje są ukryte + +# [PLACEHOLDER] blitze_sitemaker_layout_clear + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Ponieważ: 3.1.2 +- Przeznaczenie: Zdarzenie, aby umożliwić innym rozszerzeniom coś zrobić, gdy układ jest wyczyszczony + +# zaktualizowana_układ_blitze_strony + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Ponieważ: 3.1.2 +- Zastosowanie: Zdarzenie, aby zezwolić innym rozszerzeniom na coś podczas aktualizacji układu + +# [PLACEHOLDER] blitze_sitemera + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Od: 3.3.0 +- Przeznaczenie: Wydarzenie umożliwiające innym rozszerzeniom modyfikowanie opcji tinymce \ No newline at end of file diff --git a/docs/website/translated_docs/pl/developer-extensions.md b/docs/website/translated_docs/pl/developer-extensions.md new file mode 100644 index 000000000000..e85a53dae16f --- /dev/null +++ b/docs/website/translated_docs/pl/developer-extensions.md @@ -0,0 +1,177 @@ +--- +id: deweloperskie rozszerzenia +title: Rozszerzenie phpBB SiteMaker +--- + +Możesz rozszerzyć/zmodyfikować phpBB SiteMaker używając [zastępczej usługi](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [dekoracji usługi](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), i [systemu zdarzeń phpBB](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Lista obsługiwanych wydarzeń [znajduje się tutaj](./developer-events.md). + +## Tworzenie bloku SiteMakera + +Blok phpBB SiteMaker to po prostu klasa, która rozszerza blitze\sitemaker\services\blocks\blockks\block i zwraca tablicę z metody "display" z 'tytułem' i 'zawartości'. Wszystko inne zależy od Ciebie. Aby blok mógł zostać odkryty przez phpBB SiteMaker, musisz nadać mu znacznik "sitemaker.block". + +Powiedzmy, że mamy rozszerzenie z dostawcą/rozszerzeniem jako moj/przykład. Aby utworzyć blok o nazwie "my_block" dla phpBB SiteMaker: + +- Utwórz folder "bloków" +- Utwórz plik my_block.php w folderze bloków z następującą zawartością + +```php +moje\przykład\blocks; + +użyj blitze\sitemaker\services\blocks\block; + +klasa my_block rozszerza blok +{ + /** + * {@inheritdoc} + */ + wyświetlacz funkcji publicznej (tablica $settings, $edit_mode = fałsz) + { + zwraca tablicę ( + 'title' => 'mój tytuł bloku', + 'zawartość' => 'moja zawartość bloku', + ); + } +} +``` + +Następnie w pliku config.yml dodaj następujące elementy: + +```yml +usługi: + +... + + moj.example.block.my_block: + klasa: moj\example\blocks\my_block + wywołania: + - [set_name, [my.example.block.my_block]] + tagi: + - { name: sitemaker.block } + +.... + +``` + +To wszystko, czego potrzebujesz. Jeśli przejdziesz do trybu edycji, powinieneś zobaczyć blok wymieniony jako 'MY_EXAMPLE_BLOCK_MY_BLOCK', który może być przeciągany i upuszczony na dowolną pozycję bloku. Ale ten blok nie robi nic ekscytującego. Nie ma żadnych ustawień i nie tłumaczy nazwy bloku. Zróbmy to bardziej interesujące. + +### Ustawienia bloku + +Zmodyfikuj nasze bloki/my_block. plik hp i dodaj metodę "get_config" zwracając tablicę z kluczami będącymi ustawieniami bloku, a wartościami będącymi tablicą opisującą ustawienia takie jak tak: + +```php + /** + * @inheritdoc + */ + funkcja publiczna get_config(tablica $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + zwróć tablicę ( + 'legend1' => 'TAB1', + 'pole wyboru' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'temat'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false), + 'multi' => tablica ('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'włączalny' => tablica ('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options'default' => '', 'append' => '
Pokaż tylko, gdy wybrano opcję 1
'), + ); +} +``` + +Jest to skonstruowane w taki sam sposób, w jaki phpBB buduje konfigurację ustawień płyt w ACP. Więcej przykładów [tutaj](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Jeśli chcesz niestandardowy typ pola, możesz zobaczyć przykład [tutaj](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) (ustawienie 'content_type'). + +Wpis 'legenda1' i 'legenda2': Są one używane do oddzielania ustawień na karty. + +### Bloki nazewnictwa + +Konwencja dla nazw bloków jest taka, że nazwa usługi (np. my.example.block. y*blok powyżej) będzie używany jako klucz językowy, zastępując kropki (.) podkreśleniem (*) (np. MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Tłumaczenie + +Zwróć uwagę, że mamy kilka kluczy językowych, które należy przetłumaczyć. Aby to zrobić, utwórz plik o nazwie "blocks_admin.php" w folderze językowym. Ten plik zostanie automatycznie załadowany podczas edycji bloków i powinien mieć tłumaczenia dla ustawień bloków i nazw bloków. + + $lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Opcja 1', + 'OTHER_LANG_VAR' => 'Opcja 2', + 'SOME_LANG_VAR_1' => 'Ustawienie 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Mój blok', + ); + + +Ponieważ 'blocks_admin.php' jest załadowany tylko podczas edycji bloków, będziesz musiał dodać inne tłumaczenia (np. tytuł bloku) wczytywając plik językowy w twojej metodzie wyświetlania, tak jak `$language->add_lang('my_lang_file', 'moj/przykład');` + +### Renderowanie bloku + +Nowy blok będzie wyświetlany tylko wtedy, gdy coś renderowuje. Twój blok może zwrócić dowolny ciąg jako zawartość, ale w większości przypadków potrzebujesz szablonu, aby wyrenderować zawartość. Aby wyrenderować swój blok za pomocą szablonów, blok musi zwracać tablicę zawierającą dane, które chcesz przekazać do szablonu i musi również zaimplementować metodę `get_template` , jak pokazano poniżej: + +```php + /** + * @inheritdoc + */ + funkcja publiczna get_config(tablica $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + zwróć tablicę ( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + wyświetlacz funkcji publicznych (tablica $data, $edit_mode = false) + { + if ($edit_mode) + { + // zrób coś tylko w trybie edycji + } + + zwraca tablicę ( + 'title' => 'MY_BLOCK_TITLE', + 'data' => tablica ( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Następnie plik styles/all/my_block.html lub styles/prosilver/my_block.html może wyglądać tak: + +

Wybrałeś: {{ some_var }}

+ + +Podsumowując, twój blok musi zwracać tablicę z kluczem `tytuł` (dla tytułu bloku) i kluczem `treści` (jeśli blok wyświetla tylko ciąg znaków i nie używa szablonu) lub kluczem `data` (jeśli blok używa szablonu, W takim przypadku musisz również wdrożyć metodę `get_template`. + +### Blokuj aktywa + +Jeśli twój blok musi dodać aktywa (css/js) do strony, zalecam użycie do tego narzędzia [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php). Ponieważ na stronie może być więcej niż jedna instancja tego samego bloku, lub inne bloki mogą dodawać ten sam składnik aktywów, klasa util zapewnia, że składnik jest dodany tylko do niego. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some. s', + 100 => '@my_example/assets/other. s', // ustaw priorytet + ), + 'css' => tablica( + '@my_example/assets/some. ss', + ) +)); +``` + +Klasa util będzie oczywiście musiała zostać dodana do definicji usług w pliku config.yml jak tak: `- '@blitze.sitemaker. do` i zdefiniowane w konstruktorze twojego bloku `\blitze\sitemaker\services\util $util`. + +I tak jest. Udało się! \ No newline at end of file diff --git a/docs/website/translated_docs/pl/developer-theming.md b/docs/website/translated_docs/pl/developer-theming.md new file mode 100644 index 000000000000..a6f98a97d786 --- /dev/null +++ b/docs/website/translated_docs/pl/developer-theming.md @@ -0,0 +1,55 @@ +--- +id: deweloper-motyw +title: Motywowanie +--- + +phpBB SiteMaker jest wyposażony w style i kolory wykonane dla proslera. Możesz zastąpić pliki CSS, JS i HTML tworząc odpowiedni plik w folderze twojego stylu. + +# Tworzenie plików JS/CSS dla Twojego stylu + +Uwaga: * Dla celów poniższych instrukcji zakładamy, że masz styl zwany moim stylem. + +Sklonuj do phpBB/ext/blitze/sitemaker: + + Klon git https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +Z wiersza poleceń przejdź do katalogu sitemaker: + + cd phpBB/ext/blitze/sitemaker + + +**Zainstaluj wykonawców** + + instalacja kompozytora + + +**Instaluj pakiety** + +Dla poniższych poleceń możesz użyć npm lub [przędzy](https://yarnpkg.com) + + instalacja przędzy + + +**Obserwuj zmiany** + + yarn zaczyna --Them-style + + +**Zrób zmiany** + +* Zrób zmiany w plikach w folderze phpBB/ext/blitze/sitemaker/develop. +* Spójrz na phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss dla zmiennych sass + +**Kompilacja zasobów** + + yarn buduj --Them-styl + + +**Wdrożenie** + +Możesz teraz skopiować wygenerowane pliki z phpBB/ext/blitze/sitemaker/style/my-style i przesłać je na serwer produkcyjny. + +> To rozszerzenie używa jQuery UI dla zakładek, okien dialogowych i przycisków. Domyślny motyw jQuery to "gładkość". Możesz użyć innego motywu jQuery UI, który najlepiej pasuje do Twojego motywu. Możesz określić motyw jQuery UI używając flagi --jq_ui_theme. Na przykład: + + yarn build --Them-style --jq_ui_Themui-lightness \ No newline at end of file diff --git a/docs/website/translated_docs/pl/filemanager.md b/docs/website/translated_docs/pl/filemanager.md new file mode 100644 index 000000000000..08caa9b8029e --- /dev/null +++ b/docs/website/translated_docs/pl/filemanager.md @@ -0,0 +1,34 @@ +--- +id: filemanager +title: Responsive Filemanager +--- + +As of version 3.1.0, phpBB SiteMaker supports the [Responsive Filemanager](http://responsivefilemanager.com) + +* The file manager is used as a TinyMCE pluging (WYSIWYG editor) when editing custom blocks +* It is currently configured to creat separate folders for each user, except the user with a_sm_filemanager permission (Can see/manage other users' folders), which allows them access to view/manage all upload folders. + +## Installation + +* Download the [Responsive FileManager](http://responsivefilemanager.com/index.php#sthash.5UrnhjX2.dpbs) +* Extract it, and upload the files to your phpBB root folder. The file structure should be as below: + +```text +phpBB +├── images/ +├── includes/ +├── ... +└── ResponsiveFilemanager/ + └── filemanager/ + └── config/ + ├── .htaccess + └── config.php +``` + +## Activation + +* Go to ACP > Extensions > SiteMaker > Settings +* Enable File Manager feature +* Save changes +* Update user permissions (Misc tab) to determine who can use this feature [Can use File Manager] +* Update admin permissions (Misc tab) to determine who can manager user folders [Can see/manage other users’ folders in File Manager] \ No newline at end of file diff --git a/docs/website/translated_docs/pl/installation.md b/docs/website/translated_docs/pl/installation.md new file mode 100644 index 000000000000..31f5b752cd8f --- /dev/null +++ b/docs/website/translated_docs/pl/installation.md @@ -0,0 +1,18 @@ +--- +id: instalacja +title: Instalacja / Aktualizacja +--- + +Pobierz rozszerzenie z [tutaj](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Instalowanie phpBB SiteMaker + +* Wypakuj i prześlij do folderu phpBB/ext/ aby mieć phpBB/ext/blitze/sitemaker +* Przejdź do "ACP" > "Dostosuj" > "Rozszerzenia" i włącz rozszerzenie "phpBB Sitemaker". + +## Ulepszanie phpBB SiteMaker + +* Utwórz kopię zapasową bazy danych na wypadek, gdyby coś poszło nie tak +* Przejdź do "ACP" > "Dostosuj" > "Rozszerzenia" i wyłącz (nie czyszczenie) "phpBB Sitemaker" +* Pobierz i rozpakuj najnowszą wersję phpBB SiteMaker i prześlij ją do folderu phpBB/ext/ (nadpisanie) +* Przejdź do "ACP" > "Dostosuj" > "Rozszerzenia" i włącz rozszerzenie "phpBB Sitemaker". \ No newline at end of file diff --git a/docs/website/translated_docs/pl/introduction.md b/docs/website/translated_docs/pl/introduction.md new file mode 100644 index 000000000000..632cf01d53cb --- /dev/null +++ b/docs/website/translated_docs/pl/introduction.md @@ -0,0 +1,6 @@ +--- +id: wprowadzenie +title: Wstęp +--- + +phpBB SiteMaker próbuje przekształcić Twoją tablicę phpBB w CMS/portal. To czyni, dostarczając Ci bloki i menu, które pomogą Ci dostosować witrynę do Twoich potrzeb. Istnieją lub będą inne rozszerzenia SiteMaker, które zapewniają dodatkowe funkcjonalności, aby osiągnąć ten cel. Pozwala również na zdefiniowanie strony docelowej, gdy Twoja strona jest dostępna. Więc jeśli nie chcesz, aby odwiedzający na swojej stronie natychmiast zobaczyli forum phpBB gdy odwiedzają na www. nasza strona.com, możesz zdefiniować swoją własną stronę startową. \ No newline at end of file diff --git a/docs/website/translated_docs/pl/menus-display.md b/docs/website/translated_docs/pl/menus-display.md new file mode 100644 index 000000000000..137d5257b024 --- /dev/null +++ b/docs/website/translated_docs/pl/menus-display.md @@ -0,0 +1,18 @@ +--- +id: wyświetlanie menu +title: Wyświetlane menu +--- + +Po utworzeniu menu możesz je wyświetlić na kilka sposobów: + +## Blok linków + +Możesz użyć tego bloku aby wyświetlić płaską lub zagnieżdżoną listę elementów menu. Ten blok nie jest przeznaczony do nawigacji, tzn. nie będzie pokazywał bieżącej strony ani czegokolwiek takiego. Jest on przeznaczony do sporządzania wykazu pozycji, w tym powiązań zewnętrznych. + +## Blok menu + +Ten blok przeznaczony jest do nawigacji w witrynie. Dokonuje kilku dodatkowych obliczeń w celu określenia aktualnej lokalizacji i nie ma być bardzo dużą listą. + +## Pasek nawigacji + +Podobnie jak blok menu, pasek nawigacji będzie wyświetlany jako responsywne menu rozwijane, przeznaczone do nawigacji witryny. Możesz włączyć to w dodatku AKP > Rozszerzenia > Sitemaker > Ustawienia > Wybierz menu \ No newline at end of file diff --git a/docs/website/translated_docs/pl/menus-managing-items.md b/docs/website/translated_docs/pl/menus-managing-items.md new file mode 100644 index 000000000000..8aefcc2952f9 --- /dev/null +++ b/docs/website/translated_docs/pl/menus-managing-items.md @@ -0,0 +1,30 @@ +--- +id: menu-zarządzania +title: Zarządzanie elementami menu +--- + +Twoje menu jest bezużyteczne, chyba że ma elementy menu. Możesz dodać elementy menu, które wskazują na pliki lokalne lub zewnętrzne. + +> Adres URL dla zewnętrznych witryn musi zaczynać się od http(s)://, ftp://, //, itp. +> +> Możesz utworzyć separator wprowadzając '-' jako tytuł elementu + +## Dodawanie elementów menu + +Możesz dodać jedną pozycję menu na raz, lub dodać wiele pozycji menu na jeden. + +### Dodawanie pojedynczych pozycji menu + +Aby dodać pojedynczą pozycję menu, * kliknij `Dodaj element menu` * Wypełnij wymagane informacje i wciśnij `Zapisz` + +### Dodawanie wielu elementów + +Aby dodać wiele pozycji menu naraz, * Kliknij ikonę obok `Dodaj pozycję menu` * Możesz ręcznie dodać elementy poprzez umieszczenie każdego elementu w nowej linii i użycie elementów gniazda znaków karty lub * Możesz kliknąć na jedną z podanych opcji na dole pola tekstowego, aby automatycznie wypełnić elementy menu + +## Zmień kolejność pozycji menu + +Możesz przeciągnąć i upuścić elementy menu w górę/dół, aby ustawić ich kolejność wyświetlania lub przeciągnąć je w lewo/prawo, aby ustawić żądaną hierarchię. + +## Przebudowa pozycji menu + +Jeśli okaże się, że elementy menu nie są wyświetlane prawidłowo, kliknij przycisk `Przebuduj drzewo` , aby przebudować elementy menu. \ No newline at end of file diff --git a/docs/website/translated_docs/pl/menus-managing.md b/docs/website/translated_docs/pl/menus-managing.md new file mode 100644 index 000000000000..f5eb09e7e02a --- /dev/null +++ b/docs/website/translated_docs/pl/menus-managing.md @@ -0,0 +1,22 @@ +--- +id: zarządzanie menem +title: Zarządzanie menu +--- + +Możesz utworzyć menu w AKP, które możesz wyświetlić za pomocą menu lub bloków Linków lub wyświetlać jako poziomy pasek nawigacyjny. + +## Zarządzanie menu + +Aby zarządzać menem, przejdź do AKP > Rozszerzenia > Sitemaker > Menu + +### Tworzenie menu + +Aby utworzyć nowe menu (grupa), kliknij przycisk `Dodaj menu`. Nowa grupa menu zostanie utworzona z losowo wygenerowaną nazwą. Nowe menu również zostanie wybrane, abyś mógł zacząć dodawać do niego elementy menu. + +### Edycja menu + +Jeśli chcesz mieć bardziej sensowną nazwę menu, * najechaj nad nazwą menu i kliknij na ikonę cog * wprowadź nową nazwę menu i naciśnij enter aby ją zaktualizować + +### Usuwanie menu + +Aby usunąć menu i jego elementy, * Przesuń na nazwę menu i kliknij ikonę **x** * Jeśli pozycja menu nie ma elementów podrzędnych, musisz potwierdzić swój wybór aby usunąć element * Jeśli element menu ma elementy podrzędne, musisz wskazać, czy chcesz usunąć tylko ten element i przenieść jego podrzędne w górę lub czy chcesz usunąć całą gałąź \ No newline at end of file diff --git a/docs/website/translated_docs/pl/site-block-modifiers.md b/docs/website/translated_docs/pl/site-block-modifiers.md new file mode 100644 index 000000000000..05be5d6344b5 --- /dev/null +++ b/docs/website/translated_docs/pl/site-block-modifiers.md @@ -0,0 +1,6 @@ +--- +id: modyfikatory bloków stron +title: Dostosuj wyświetlanie bloków +--- + +Praca w toku... \ No newline at end of file diff --git a/docs/website/translated_docs/pl/site-default-layout.md b/docs/website/translated_docs/pl/site-default-layout.md new file mode 100644 index 000000000000..1770f766ecfd --- /dev/null +++ b/docs/website/translated_docs/pl/site-default-layout.md @@ -0,0 +1,10 @@ +--- +id: domyślny układ strony +title: Ustawienie domyślnego układu +--- + +Po dodaniu bloku, jest on dodany do tej konkretnej strony. W związku z tym trudnym zadaniem byłoby ustawienie bloków dla wszystkich stron twojej witryny. Możesz ustawić wszystkie bloki dla danej strony, a następnie ustawić tę stronę jako domyślny układ. Innymi słowy, każda strona, która nie ma własnych bloków, dziedziczy bloki z tej strony. + +Aby ustawić domyślny układ * Przejdź do strony, którą chcesz ustawić jako domyślny układ * Kliknij `Ustawienia` na pasku administracyjnym * Kliknij `Ustaw jako domyślny układ` + +Powiedz że dodajemy bloki do strony (phpBB/index.php) z blokami na pasku bocznym i na górnych pozycjach i ustaw je jako nasz domyślny układ. Ma to następujące efekty dla innych stron: * Dowolna strona, która nie ma własnych bloków, dziedziczy bloki z domyślnego układu. Zobacz [Zrozumienie dziedziczenia bloku](./blocks-inheritance.md) w celu uzyskania wyjątków. * Możesz nadal dziedziczyć bloki z domyślnego układu (indeks. hp), ale wybierz nie wyświetlaj bloków na niektórych pozycjach bloków lub nie wyświetlaj żadnych bloków. W tym celu * Przejdź do strony, której nie chcesz, aby wszystkie / niektóre bloki były wyświetlane * Kliknij `Ustawienia` w pasku administratora * Wybierz `Nie pokazuj bloków na tej stronie` jeśli nie chcesz dziedziczać/wyświetlać bloków na tej stronie LUB * Użyj CTRL + kliknij aby wybrać pozycje bloków (z prawej), których nie chcesz wyświetlać bloków na * W `trybie edycji`, strona, która dziedziczy bloki z domyślnego układu, nie wyświetli żadnych bloków, dając możliwość dodawania bloków do strony jeśli chcesz * Żadna strona, która ma własne bloki, nie będzie dziedziczyć z domyślnego układu \ No newline at end of file diff --git a/docs/website/translated_docs/pl/site-layouts.md b/docs/website/translated_docs/pl/site-layouts.md new file mode 100644 index 000000000000..63b1d26630b8 --- /dev/null +++ b/docs/website/translated_docs/pl/site-layouts.md @@ -0,0 +1,20 @@ +--- +id: layouty strony +title: Układy +--- + +"Układy" określają dostępne pozycje bloków i sposób ich wyświetlania. + +## Położenie bloku + +Pozycje bloków to wstępnie określone obszary na twojej witrynie, gdzie mogą istnieć bloki. Dostępne pozycje bloków są określane przez styl szablonu, którego używasz. O pojemności skokowej przekraczającej 2500 cm3 phpBB SiteMaker jest wyposażony w następujące pozycje bloku: * panel: pełna szerokość w górze * boczny pasek: lewo/prawo w zależności od układu poniżej * subzawartość: podobne do panelu bocznego * górny poziomy blok w górze, okładka nad paskiem bocznym/podzawartością w zależności od układu * góra: nad główną zawartością * pola: taka sama szerokość, bloki poziome poniżej głównej zawartości * dół: poniżej głównej zawartości * dolnej_hor: bloki poziome na dole, otaczanie paska bocznego/podzawartości w zależności od układu * stopki: bloki poziome w stopce Możesz dodać więcej pozycji blokowych we własnych szablonach poprzez kopiowanie i modyfikację odpowiednich szablonów phpBB SiteMaker + +## Układ witryny + +Możesz wybrać układ dla swojej witryny w AKP (rozszerzenia > Sitemaker > Ustawienia): * **Blog**: subzawartość i pasek boczny obok siebie, wypchnięty w prawo, górny _hor/botom_hor podzawartość boków * **Święty Grail**: pasek boczny o równej szerokości i podzawartość po przeciwległych stronach, top_hor/botom_hor flank subzawartość * **Portal**: pasek boczny po lewej, subzawartość po prawej stronie, top_hor/botom_hor flank subzawartość * **Alt Portal**: podzawartość po lewej stronie, pasek boczny po prawej, top_hor/botom_hor pasek boczny * **Niestandardowy**: Ręcznie ustaw szerokość pasków bocznych jako px, %, em lub rem. Domyślna wartość 200px po każdej stronie + +## Własne szablony/style + +W miarę możliwości, próbowaliśmy umieścić pliki szablonu i zasoby w style/wszystkich/folderze, aby móc je nadpisać tworząc plik o tej samej nazwie pod własnym szablonem. . prosrow. Więc jeśli chcesz zmodyfikować sposób wyświetlania określonego bloku lub jeśli chcesz utworzyć własny układ z własnymi pozycjami bloku, po prostu musisz utworzyć plik o tej samej nazwie i ścieżce co oryginał w swoim własnym stylu. + +Jeśli potrzebujesz dostosować pliki CSS/JS, spójrz się z sekcją [motywu](./developer-theming.md). \ No newline at end of file diff --git a/docs/website/translated_docs/pl/site-navbar.md b/docs/website/translated_docs/pl/site-navbar.md new file mode 100644 index 000000000000..d43bb5af0efe --- /dev/null +++ b/docs/website/translated_docs/pl/site-navbar.md @@ -0,0 +1,6 @@ +--- +id: pasek nawigacji +title: Pasek nawigacji +--- + +Zobacz [Wyświetlanie Menu](./menus-display#navigation-bar) \ No newline at end of file diff --git a/docs/website/translated_docs/pl/site-startpage.md b/docs/website/translated_docs/pl/site-startpage.md new file mode 100644 index 000000000000..724ff36c0c85 --- /dev/null +++ b/docs/website/translated_docs/pl/site-startpage.md @@ -0,0 +1,8 @@ +--- +id: Strona startowa strony +title: Ustawianie strony startowej +--- + +PHpBB SiteMaker pozwala wybrać kontroler frontu (strony dostępne przez app.php/... jako domyślna strona startowa (strona, która będzie wyświetlana kiedy ktoś odwiedza twoją stronę) zamiast indeksu działu. + +Aby to zrobić: * Przejdź do strony, którą chcesz ustawić jako domyślną stronę początkową * Kliknij `Ustawienia` w pasku administracyjnym. Jeżeli jest to strona kwalifikująca się, zobaczysz `Ustaw jako stronę początkową` przycisk * Kliknij `Ustaw jako stronę początkową` \ No newline at end of file diff --git a/docs/website/translated_docs/pt/blocks-custom.md b/docs/website/translated_docs/pt/blocks-custom.md new file mode 100644 index 000000000000..5c5f7e4cdcfa --- /dev/null +++ b/docs/website/translated_docs/pt/blocks-custom.md @@ -0,0 +1,24 @@ +--- +id: blocos-customizados +title: Bloco personalizado +--- + +Se os blocos disponíveis não lhe dão a liberdade que você precisa. há o `Bloco Personalizado` que lhe permite exibir seu próprio conteúdo usando BBcode ou HTML. O bloco vem com um editor WYSIWYG (TinyMCE) e um gerenciador de scripts: + +## O editor + +- Você pode usar o editor para criar conteúdo HTML +- Você pode editar o código-fonte se você precisar desse nível de controle clicando no ícone `código-fonte` (`<>`) no editor +- O editor permite que você envie e modifique imagens + - Cria uma nova pasta no phpBB/images/sitemaker_uploads/ para todos os usuários que têm acesso a ela + - Você pode ver/gerenciar todas as pastas do usuário +- O editor filtra quaisquer scripts potencialmente perigosos como javascript, etc. Se você precisa adicionar conteúdo como google ads, o javascript será filtrado, mas você pode contornar isso fazendo o seguinte: + - Adicionar o bloco personalizado ao local desejado + - Edite o Bloco Personalizado, clique na aba `HTML` e cole seu Javascript + +## O Gerenciador de Scripts + +O Bloco Personalizado também permite que você adicione arquivos CSS e Javascript personalizados à sua página. Para fazer isso: + +- Adicione um `Bloco Personalizado` a qualquer posição do bloco. A posição não importa a menos que você também esteja exibindo conteúdo com o bloco +- Edite o bloco, clique na guia `Scripts` e adicione seus arquivos CSS ou Javascript > Palavra de Cuidado: Adicionar a vários scripts em sua página pode afetar os tempos de carregamento \ No newline at end of file diff --git a/docs/website/translated_docs/pt/blocks-inheritance.md b/docs/website/translated_docs/pt/blocks-inheritance.md new file mode 100644 index 000000000000..23f8a77bca19 --- /dev/null +++ b/docs/website/translated_docs/pt/blocks-inheritance.md @@ -0,0 +1,44 @@ +--- +id: blocos-herança +title: Herança do Bloco Entendido +--- + +Já vimos que ao definir um layout padrão, outras páginas que não têm blocos deles herdarão os blocos do layout padrão. Há, no entanto, outro tipo de herança de bloco. + +## Rotas pais/filhos + +No phpBB SiteMaker, falamos de rotas aninhadas em termos de diretórios aninhados (sub) ou praticamente aninhados caminhos/rotas. Por favor, fique comigo :). * Rotas reais Pai/Criança: Por exemplo, o caminho /some_directory/sub_directory/index.php é filho de /some_directory/index.php * Virtuais Parent/Child routes: Por exemplo, viewtopic.php é tratado como um filho do viewforum.php. + +Aqui estão alguns exemplos de rotas pai/filho: + +| Pai | Criança | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/meu-artigo | + +## Herança do Bloco Pai/Criança + +Para rotas pai/filho, a rota filho herda os blocos da rota pai (se o pai tem seus próprios blocos) ou do layout padrão (se um foi definido). Por outras palavras, mesmo que exista um layout padrão, a rota filho herdará os blocos de sua rota pai se a rota pai tiver seus próprios blocos. Mas nem todos os blocos da rota pai devem ser herdados. + +## Controlando a herança do bloco + +Em um nível de bloco, você pode controlar quando um bloco pode ser herdado por rotas filhas. Nós tocamos nisso anteriormente no [Editando Configurações de Bloco](./blocks-managing#editing-block-settings). + +Considere a seguinte estrutura de diretório real: + +```text +phpBB + Α index.php + © Movies/ + © index.php + © page.php + Comedy/ + © index.php +``` + +Para fins de herança de blocos, dizemos: * A rota pai de /phpBB/Movies/Comedy/index.php é /phpBB/Movies/index.php e não /phpBB/Movies/page.php * Todas as páginas de um sub-diretório relativo a /phpBB/index.php é uma rota filho de /phpBB/index.php. Então /phpBB/Movies/index.php e /phpBB/Movies/page.php são filhos de /phpBB/index.php e, portanto, herdarão seus blocos se não tiverem blocos próprios. Neste caso: * Quando um bloco no /phpBB/index. hp está definido para exibir no **Hide on child routes**, o bloco será exibido no /phpBB/index. hp (rota pai) mas não em suas rotas descendentes * Quando um bloco em /phpBB/index. hp está definido para exibir em **Mostrar somente nas rotas descendentes**, será exibido em /phpBB/filvies/index.php e /phpBB/filmes/page. hp (rotas filhos), mas não em /phpBB/index.php (pai), nem /phpBB/filmes/Comedy/index. hp (nós só vamos um nível) * Quando um bloco no /phpBB/index. hp está configurado para exibir **sempre** (padrão), ele será exibido em /phpBB/index.php (pai), /phpBB/filvies/index. hp e /phpBB/page.php (rotas filhos), mas não em /phpBB/Filvies/Comedy/index.php (nós apenas vamos um nível de profundidade). Neste caso, /phpBB/Movies/Comedy/index.php herdará da rota padrão (se existir) + +## Estado Futuro Positivo + +Estou realmente interessado em seu feedback nesta área. A maioria dos usuários phpBB não terá diretórios reais como descrito acima. Então estou pensando em usar a estrutura que é definida em um bloco de menu como uma estrutura de diretório virtual e aplicar esta herança pai/filho a ele. Eu também estou pensando em ir além de um nível profundo. Por favor, deixe-me saber se isso será útil para você. \ No newline at end of file diff --git a/docs/website/translated_docs/pt/blocks-managing.md b/docs/website/translated_docs/pt/blocks-managing.md new file mode 100644 index 000000000000..a5b68d02ef49 --- /dev/null +++ b/docs/website/translated_docs/pt/blocks-managing.md @@ -0,0 +1,38 @@ +--- +id: gerenciamento de blocos +title: Gerenciando blocos +--- + +Para gerenciar blocos no phpBB SiteMaker, você deve estar no [Modo de Edição](./blocks-overview#edit-mode). + +> Quando um bloco não exibir nenhum conteúdo, ele não será exibido, exceto no modo de edição. Dessa forma, você pode dar conteúdo (no caso do bloco personalizado) ou alterar suas configurações. +> +> No modo de edição, os blocos algo transparentes são blocos que, de outra forma, não serão exibidos, mas apenas porque estamos no modo de edição + +## Adicionando blocos + +Você pode adicionar blocos a qualquer página frontal, exceto as páginas do Painel de Controle do Usuário e do Painel de Controle do Moderador. Para adicionar um bloco, você precisará: * clique em **Blocos** na barra de Admin. Isto irá exibir uma lista de blocos disponíveis * Arraste e solte o bloco desejado para qualquer posição de bloco + +## Editando blocos + +### Adicionando um ícone de bloco + +Para a esquerda do título do bloco (prosilver), há uma caixa para o ícone do bloco. Clique nesta caixa para obter o seletor de ícones. Você pode selecionar o tamanho do ícone, cor, flutuante, rotação, etc. + +### Editando o título do bloco + +blocos phpBB SiteMaker terão um título padrão, traduzido, mas se o título não atender às suas necessidades, você pode alterá-lo. Para editar o título do bloco, * Clique no título do bloco para obter um formulário de edição inline * Altere o título para o que quiser * Remova o foco do campo ou pressione enter para enviar alterações + +> O título do bloco modificado não foi traduzido +> +> Para reverter para o título padrão, simplesmente apague o título e pressione enter + +### Editando configurações de bloco + +Quando você passar o mouse sobre um bloco, um ícone de engrenagem aparecerá à direita do bloco que pode ser usado para editar o bloco. Na caixa de diálogo do bloco editar, você pode: - Ativar/desativar um bloco [Status] - Escolha quando o bloco deve/não ser exibido [Display]. Isso só se aplica em casos em que você tem páginas aninhadas (veja [herança de bloco compreensível](./blocks-inheritance.md)): - **Always**: Sempre exibir o bloco - **Esconder em rotas descendentes**: Apenas mostre este bloco na rota pai - **Mostrar nas rotas descendentes apenas**: Apenas mostrar este bloco em uma rota filha - Escolha quais grupos de usuários podem ver o bloco [Visualizável]. Use CTRL + clique para selecionar vários grupos. - Defina classes personalizadas para modificar a aparência do bloco ou itens (listas, imagens, fundo, etc) dentro do bloco [Classe CSS] - Mostrar/ocultar o título do bloco [Ocultar título do bloco?] - Selecione a visualização do bloco [Vista de bloco]. Você pode selecionar um bloco padrão quando novos blocos forem adicionados em ACP. - **Padrão / Simples**: usa a classe do painel proprata para embrulhar o bloco em um recipiente adicionado - **Básico**: o bloco não tem nenhum container encapitando-o - **Boxed**: usa a classe proprata forabg para embrulhar o bloco em uma caixa - Defina / Atualize configurações específicas - Se você tiver o mesmo bloco com as mesmas configurações em várias páginas, você pode atualizar todos de uma vez ao verificar os **blocos de atualização com configurações semelhantes** + +## Excluindo blocos + +- Passe o mouse sobre o bloco que você gostaria de excluir +- Clique no ícone **x** e confirme que deseja excluir o bloco +- Vá para a barra de administração e clique em `Salvar Alterações` \ No newline at end of file diff --git a/docs/website/translated_docs/pt/blocks-overview.md b/docs/website/translated_docs/pt/blocks-overview.md new file mode 100644 index 000000000000..694f740faa69 --- /dev/null +++ b/docs/website/translated_docs/pt/blocks-overview.md @@ -0,0 +1,10 @@ +--- +id: visão geral dos blocos +title: O que são blocos? +--- + +No cerne do phpBB SiteMaker está o conceito de blocos. Blocos são pequenos pedaços de conteúdo que você pode colocar em diferentes áreas pré-definidas (posições de bloco) em seu site. Os blocos normalmente terão configurações que você pode definir/alterar para ajustar melhor o conteúdo que você deseja exibir. A maioria dos blocos, mas não todos, fará as consultas do banco de dados para obter o conteúdo desejado. Então, não vamos ficar loucos :). Para gerenciar blocos, você precisará mudar para "modo de edição". + +## Modo de edição + +Alterne para o modo de edição clicando no ícone de lápis no canto superior direito do seu site. Isto irá exibir a "Barra de Administração" com os itens de menu "Blocos" e "Configurações". Isto é referido como estando em 'modo de edição'. \ No newline at end of file diff --git a/docs/website/translated_docs/pt/blocks-views.md b/docs/website/translated_docs/pt/blocks-views.md new file mode 100644 index 000000000000..122417c6aef3 --- /dev/null +++ b/docs/website/translated_docs/pt/blocks-views.md @@ -0,0 +1,6 @@ +--- +id: exibições-blocos +title: Vista de Bloco +--- + +Trabalho em andamento... \ No newline at end of file diff --git a/docs/website/translated_docs/pt/contrib-overview.md b/docs/website/translated_docs/pt/contrib-overview.md new file mode 100644 index 000000000000..daab733c1393 --- /dev/null +++ b/docs/website/translated_docs/pt/contrib-overview.md @@ -0,0 +1,11 @@ +--- +id: visão geral do contrib +title: Envolva-se +--- + +phpBB SiteMaker é um projeto de código aberto e saúda suas ideias e contribuições. Por isso, sinta-se livre para participar. Você pode contribuir para este projeto por: + +* [Fornecendo suporte/feedback](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Reportando Bugs](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Ajudar com tradução](./contrib-translators.md) +* [Corrigindo bugs ou adicionando recursos](./contrib-pull-requests.md) \ No newline at end of file diff --git a/docs/website/translated_docs/pt/contrib-pull-requests.md b/docs/website/translated_docs/pt/contrib-pull-requests.md new file mode 100644 index 000000000000..746e30417155 --- /dev/null +++ b/docs/website/translated_docs/pt/contrib-pull-requests.md @@ -0,0 +1,76 @@ +--- +id: contrib-pull-requests +title: Enviando um Pull Request +sidebar_label: Pull requests +--- + +`Pull requests permitem que você diga aos outros sobre as alterações que você empurrou para um branch em um repositório no GitHub. Uma vez aberto um pull request, você pode discutir e rever as possíveis mudanças com os colaboradores e adicionar commits de acompanhamento antes de suas alterações serem mescladas no branch base.` [Leia mais](https://help.github.com/articles/about-pull-requests/) + +## Forjando/Clonando + +* Crie uma conta no github se você ainda não tiver uma +* Vá para https://github.com/blitze/phpBB-ext-sitemaker.git e clique em "Fork" + +Clone seu fork do repositório: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +Da linha de comando vá para o diretório sitemaker: + + cd phpBB/ext/blitze/sitemaker + + +**Configurar git:** + +Adicione seu nome de usuário ao Git no seu sistema: + + git config --global user.name "Your Name Here" + + +Adicione seu endereço de e-mail ao Git em seu sistema: + + git config --add user.email username@phpbb.com + + +Adicione o controle remoto de upstream (você pode mudar 'upstream' para o que quiser): + + git remoto add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + + +**Instalar fornecedores** + + instalar compositor + + +**Instalar pacotes NPM** + + instalar npm + + +Alternativamente você pode usar [yarn](https://yarnpkg.com): + + Instalação yarn + + +## Pull requests + + # Criar um novo branch para o seu recurso & alterna para ele + git checkout -b feature/my-fancy-new-feature + + # criar um novo branch para o problema em que você está trabalhando * alternar para ele (ticket # é de github tracker) + git checkout -b/1234 + + +Faça suas alterações + + # Estágio dos arquivos + git add + + # Arquivos do commit - por favor, use uma mensagem de commit correta + commit git -m "minha mensagem de commit" + + +Volte o branch para o GitHub git push origin feature/my-fancy-new-feature + +Enviar um [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) \ No newline at end of file diff --git a/docs/website/translated_docs/pt/contrib-translators.md b/docs/website/translated_docs/pt/contrib-translators.md new file mode 100644 index 000000000000..0c29a22fcd51 --- /dev/null +++ b/docs/website/translated_docs/pt/contrib-translators.md @@ -0,0 +1,17 @@ +--- +id: contrib-tradutores +title: Tradutores +--- + +Precisamos de ajuda para traduzir esta extensão, bem como sua documentação. Nós criamos um projeto no Crowdin para facilitar as traduções. Crowdin dá-lhe uma interface de tradução que é segundo a nenhum. Você pode contribuir como você quiser, mas realmente recomendamos usar Crowdin. + +> Crowdin é uma plataforma de gerenciamento de localização que ajuda as empresas a traduzir seu software. Você pode ler mais sobre Crowdin [aqui](https://support.crowdin.com/crowdin-intro/) + +Se você estiver disposto a contribuir com traduções, você precisará: + +* Uma conta [multidão](https://crowdin.com/project/phpbb-ext-sitemaker). +* Escolha o idioma de destino se existir, caso contrário, solicitação para ser ativada. + +Se seu idioma desejado não está listado, por favor [contate-me](https://crowdin.com/profile/blitze) e eu o adicionarei. + +[Começar a traduzir](https://crowdin.com/project/phpbb-ext-sitemaker) \ No newline at end of file diff --git a/docs/website/translated_docs/pt/developer-events.md b/docs/website/translated_docs/pt/developer-events.md new file mode 100644 index 000000000000..bb36026041c4 --- /dev/null +++ b/docs/website/translated_docs/pt/developer-events.md @@ -0,0 +1,120 @@ +--- +id: eventos-desenvolvedor +title: eventos do phpBB SiteMaker +--- + +Você pode modificar o comportamento do phpBB SiteMaker usando o sistema de eventos da phpBB. + +## Eventos PHP + +# blitze.sitemaker.acp_add_bulk_menu_options + +- Localização: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Desde: 3.1.0 +- Propósito: Adicionar opções de menu em massa no menu acp + +# blitze.sitemaker.acp_display_settings_form + +- Localização: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Desde: 3.1.0 +- Propósito: exibir o formulário de configurações (sitemaker) + +# blitze.sitemaker.acp_save_configurações + +- Localização: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Desde: 3.1.0 +- Propósito: Salvar configurações de acp (sitemaker) + +# blitze.sitemaker.admin_bar.set_assets + +- Localização: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Desde: 3.0.1-RC1 +- Propósito: Adicionar ativos para blocos disponíveis no modo de edição + +# blitze.sitemaker.modificar_posições_de_blocos + +- Localização: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Desde: 3.0.1-RC1 +- Propósito: Modificar posições dos blocos + +# blitze.sitemaker.modificar_bloco_renderizado + +- Localização: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Desde: 3.0.1-RC1 +- Propósito: Modificar um bloco renderizado + +## Eventos do Template + +# blitze_configurações_do_sitemaker + +- Localização: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Desde: 3.1.0 +- Propósito: Adicionar campos de formulário para configurações de sitemaker + +# blitze_sitemaker_bar_admin_anexar + +- Localização: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Desde: 3.1.0 +- Objetivo: Adicionar itens de menu à barra de admin + +# blitze_sitemaker_templates_bar_admin + +- Localização: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Desde: 3.1.0 +- Propósito: Adicionar arquivos de modelo a serem usados em JS para visualização de blocos, etc + +## Eventos de Javascript + +# blitze_sitemaker_layout_salvo + +- Local: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Desde: 3.1.2 +- Propósito: Evento para permitir que outras extensões façam algo quando alterações de layout são salvas + +# blitze_sitemaker_renderizar_bloco_antes + +- Local: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Desde: 3.1.2 +- Propósito: Evento para permitir que outras extensões façam algo antes que o bloco seja renderizado ou impedir que ele seja re-renderizado + +# blitze_sitemaker_renderizar_bloco_após + +- Local: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Desde: 3.1.2 +- Propósito: Evento para permitir que outras extensões façam algo após o bloco ser renderizado + +# blitze_sitemaker_salvar_bloco_antes + +- Local: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Desde: 3.1.2 +- Propósito: Evento para permitir que outras extensões modifiquem os dados do bloco antes que ele seja salvo + +# blitze_sitemaker_mostrar_todas_as_posições_de_blocos + +- Local: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Desde: 3.1.2 +- Propósito: Evento para permitir que outras extensões façam algo quando todas as posições dos blocos são mostradas + +# blitze_sitemaker_ocultar_posições_vazias_de_blocos + +- Local: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Desde: 3.1.2 +- Objetivo: Evento para permitir que outras extensões façam algo quando posições vazias são ocultas + +# blitze_layout_do_sitemaker_apagado + +- Local: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Desde: 3.1.2 +- Objetivo: Evento para permitir que outras extensões façam algo quando o layout for limpo + +# blitze_layout_do_sitemaker_atualizado + +- Local: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Desde: 3.1.2 +- Propósito: Evento para permitir que outras extensões façam algo quando o layout é atualizado + +# opções_do_sitemaker_tinymce_blitze_site + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Desde: 3.3.0 +- Objetivo: Evento para permitir que outras extensões modifiquem opções de tinymce \ No newline at end of file diff --git a/docs/website/translated_docs/pt/developer-extensions.md b/docs/website/translated_docs/pt/developer-extensions.md new file mode 100644 index 000000000000..6dd9c104da75 --- /dev/null +++ b/docs/website/translated_docs/pt/developer-extensions.md @@ -0,0 +1,177 @@ +--- +id: extensões-de-desenvolvedor +title: Estender o SiteMaker phpBB +--- + +Você pode estender/modificar o phpBB SiteMaker usando [serviço de substituição](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [decoração de serviço](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration)e [sistema de evento da phpBB](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Você pode encontrar uma lista de eventos suportados [aqui](./developer-events.md). + +## Criando um bloco SiteMaker + +Um bloco phpBB SiteMaker é simplesmente uma classe que estende o blitze\sitemaker\services\blocks\driver\block class e retorna uma matriz do método "display" com um 'título' e 'conteúdo'. Tudo o resto está entre você. Para tornar o seu bloco detectável pelo phpBB SiteMaker, você precisará lhe dar a tag "sitemaker.block". + +Diga que temos uma extensão com vendedor/extensão como meu/exemplo. Para criar um bloco chamado "my_block" para phpBB SiteMaker: + +- Criar uma pasta "blocos" +- Criar meu arquivo_block.php na pasta de blocos com o seguinte conteúdo + +```php +namespace min\example\blocks; + +use blitze\sitemaker\serviços\blocks\driver\block; + +class my_block estende o bloco +{ + /** + * {@inheritdoc} + */ + exibição de função pública (matriz $settings, $edit_mode = falso) + { + return array( + 'title' => 'my block title', + 'conteúdo' => 'conteúdo do meu bloco', + ); + } +} +``` + +Em seguida, no seu arquivo config.yml, adicione o seguinte: + +```yml +serviços: + + ... + + my.example.block.my_block: + classe: meu\exemplo\blocos\meu_block + chamadas: + - [set_name, [my.example.block.my_block]] + tags: + - { name: sitemaker.block } + + .... + +``` + +No mínimo, é tudo o que você precisa. Se você entrar no modo de edição, você deve ver o bloco listado como 'MY_EXAMPLE_BLOCK_MY_BLOCK' que pode ser arrastado e soltado em qualquer posição de bloco. Mas este bloco não faz nada emocionante. Não tem configurações e não traduz o nome do bloco. Vamos torná-lo mais interessante. + +### Configurações de bloco + +Vamos modificar nossos blocos/meu_block. arquivo hp e adicione um método "get_config" em retorna uma matriz com as teclas sendo as configurações do bloco e os valores sendo um array descrevendo as configurações da seguinte forma: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Only show when option 1 is selected
'), + ); + } +``` + +Isto é construído da mesma forma que a phpBB constrói a configuração para as configurações de conselho dos países ACP. Você pode ver mais exemplos [aqui](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Se você quer um tipo de campo personalizado, você pode ver um exemplo [aqui](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' ajuste). + +Aviso 'legend1' e 'legend2': Estes são usados para separar as configurações em abas. + +### Blocos de nomeação + +A convenção para nomes de blocos é que o nome do serviço (ex. meu.exemplo.block. y*bloco acima) será usado como a chave de idioma, substituindo os pontos (.) pelo underscore (*) (por exemplo, MY_EXAMPLE_BLOCK_MY_BLOCK_BLOCK). + +### Tradução + +Observe também que temos várias chaves de idioma que precisam ser traduzidas. Para fazer isso, crie um arquivo chamado "blocks_admin.php" na sua pasta de idioma. Este arquivo será carregado automaticamente ao editar blocos, e deve ter traduções para suas configurações de blocos e nomes de blocos. + + $lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Option 1', + 'OTR_LANG_VAR' => 'Option 2', + 'SOME_LANG_VAR_1' => 'Configuração', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Meu Bloco', + ); + + +Porque 'blocks_admin.php' só é carregado quando editar blocos, você precisará adicionar outras traduções (por exemplo, o título do bloco) carregando um arquivo de idioma no seu método de exibição, como por exemplo `$language->add_lang('my_lang_file', 'my/example');` + +### Renderizando o bloco + +O novo bloco só será exibido se estiver renderizando algo. Seu bloco pode retornar qualquer string como conteúdo, mas na maioria dos casos, você precisa de um modelo para renderizar seu conteúdo. Para renderizar seu bloco usando modelos, o bloco deve retornar um array que contém os dados que você deseja passar para o template e também deve implementar o método `get_template` como demonstrado abaixo: + +```php + /** + * @inheritdoc + */ + function pública get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + array de retorno( + 'legenda1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'caixa de seleção', 'opções' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + função pública get_template() + { + return '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + display de função pública(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // faz algo apenas no modo de edição + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'dados' => matriz( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Então o arquivo de estilos/all/my_block.html ou estilos/prosilver/my_block.html pode parecer algo como isto: + +

Você selecionou: {{ some_var }}

+ + +Em resumo, seu bloco deve retornar uma matriz com uma `chave de título` (para o título do bloco) e uma `chave de conteúdo` (se o bloco apenas exibir uma string e não usa um template) ou uma chave `data` (se o bloco usar um template, em que caso, você também precisará implementar o método `get_template`). + +### Bloquear Ativos + +If your block needs to add assets (css/js) to the page, I recommend using the sitemaker [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) for that. Como pode haver mais de uma instância do mesmo bloco na página, ou outros blocos podem estar adicionando o mesmo recurso, a classe de util garante que o ativo é apenas adicionado. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some s', + 100 => '@meu_exemplo/ativos/outros. s', // defina prioridade + ), + 'css' => array( + '@meu_exemplo/ativos/alguns. ss', + ) +)); +``` + +A classe util precisará, é claro, ser adicionada às suas definições de serviço em config.yml assim: `- '@blitze.sitemaker. até` e definido no construtor do seu bloco `\blitze\sitemaker\services\util $util`. + +E é isso. Estamos prontos! \ No newline at end of file diff --git a/docs/website/translated_docs/pt/developer-theming.md b/docs/website/translated_docs/pt/developer-theming.md new file mode 100644 index 000000000000..e1e4fd8a5380 --- /dev/null +++ b/docs/website/translated_docs/pt/developer-theming.md @@ -0,0 +1,55 @@ +--- +id: desenvolvedor-theming +title: Temas +--- + +phpBB SiteMaker vem com estilos e cores feitos para prosilver. Você pode substituir arquivos CSS, JS e HTML criando o arquivo correspondente na pasta do seu estilo. + +# Criando arquivos JS/CSS para seu estilo + +Nota: * Para o propósito das instruções abaixo, assumimos que você tem um estilo chamado meu-estilo. + +Clonar para phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +Da linha de comando vá para o diretório sitemaker: + + cd phpBB/ext/blitze/sitemaker + + +**Instalar fornecedores** + + instalar compositor + + +**Instalar pacotes** + +Para os comandos abaixo você pode usar npm ou [yarn](https://yarnpkg.com) + + Instalação yarn + + +**Ver alterações** + + yarn start --tema meu-estilo + + +**Fazer alterações** + +* Faça suas alterações em arquivos na pasta phpBB/ext/blitze/sitemaker/develop. +* Veja phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss para variáveis de segurança + +**Criar Ativos** + + yarn build --tema meu-estilo + + +**Implantar** + +Agora você pode copiar os arquivos gerados do phpBB/ext/blitze/sitemaker/styles/my-style e enviá-los para o seu servidor de produção. + +> Esta extensão usa jQuery UI para abas, diálogos e botões. O tema jQuery padrão é 'suavidade.' Você pode usar um tema jQuery UI diferente que melhor se encaixa no seu tema. Você pode especificar o tema jQuery UI usando a bandeira --jq_ui_theme. Por exemplo: + + yarn build --theme my-style --jq_ui_theme ui-lightness \ No newline at end of file diff --git a/docs/website/translated_docs/pt/filemanager.md b/docs/website/translated_docs/pt/filemanager.md new file mode 100644 index 000000000000..08caa9b8029e --- /dev/null +++ b/docs/website/translated_docs/pt/filemanager.md @@ -0,0 +1,34 @@ +--- +id: filemanager +title: Responsive Filemanager +--- + +As of version 3.1.0, phpBB SiteMaker supports the [Responsive Filemanager](http://responsivefilemanager.com) + +* The file manager is used as a TinyMCE pluging (WYSIWYG editor) when editing custom blocks +* It is currently configured to creat separate folders for each user, except the user with a_sm_filemanager permission (Can see/manage other users' folders), which allows them access to view/manage all upload folders. + +## Installation + +* Download the [Responsive FileManager](http://responsivefilemanager.com/index.php#sthash.5UrnhjX2.dpbs) +* Extract it, and upload the files to your phpBB root folder. The file structure should be as below: + +```text +phpBB +├── images/ +├── includes/ +├── ... +└── ResponsiveFilemanager/ + └── filemanager/ + └── config/ + ├── .htaccess + └── config.php +``` + +## Activation + +* Go to ACP > Extensions > SiteMaker > Settings +* Enable File Manager feature +* Save changes +* Update user permissions (Misc tab) to determine who can use this feature [Can use File Manager] +* Update admin permissions (Misc tab) to determine who can manager user folders [Can see/manage other users’ folders in File Manager] \ No newline at end of file diff --git a/docs/website/translated_docs/pt/installation.md b/docs/website/translated_docs/pt/installation.md new file mode 100644 index 000000000000..2b037aa3a02d --- /dev/null +++ b/docs/website/translated_docs/pt/installation.md @@ -0,0 +1,18 @@ +--- +id: instalação +title: Instalando / Atualizando +--- + +Baixe a extensão de [aqui](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Instalando o phpBB SiteMaker + +* Extrair e enviá-lo para a pasta phpBB/ext/ para que você tenha phpBB/ext/blitze/sitker +* Vá para "ACP" > "Personalizar" > "Extensões" e habilite a extensão "phpBB Sitemaker". + +## Atualizando o phpBB SiteMaker + +* Criar um backup do seu banco de dados apenas no caso de algo der errado +* Vá para "ACP" > "Personalizar" > "Extensões" e desabilite (não exclua) "phpBB Sitemaker" +* Baixar e extrair a versão mais recente do phpBB SiteMaker e enviá-la para sua pasta phpBB/ext/ (sobrescrever) +* Vá para "ACP" > "Personalizar" > "Extensões" e habilite a extensão "phpBB Sitemaker". \ No newline at end of file diff --git a/docs/website/translated_docs/pt/introduction.md b/docs/website/translated_docs/pt/introduction.md new file mode 100644 index 000000000000..54e1eddf38b0 --- /dev/null +++ b/docs/website/translated_docs/pt/introduction.md @@ -0,0 +1,6 @@ +--- +id: introdução +title: Introdução +--- + +phpBB SiteMaker procura transformar sua placa de phpBB em um CMS/portal. Ele o faz fornecendo blocos e menus para ajudá-lo a personalizar seu site para seu gosto. Existem ou haverá outras extensões SiteMaker que fornecem funcionalidades adicionais para atingir este objetivo. Ele também permite que você defina uma página inicial quando seu site é acessado. Então, se você não quiser que os visitantes do seu site vejam imediatamente o fórum phpBB quando eles vão para www.your-site.com, você pode definir sua própria página inicial. \ No newline at end of file diff --git a/docs/website/translated_docs/pt/menus-display.md b/docs/website/translated_docs/pt/menus-display.md new file mode 100644 index 000000000000..89130208544a --- /dev/null +++ b/docs/website/translated_docs/pt/menus-display.md @@ -0,0 +1,18 @@ +--- +id: exibição-menus +title: Exibindo menus +--- + +Agora que você criou seus menus, você pode exibi-los de várias maneiras: + +## Bloco de Links + +Você pode usar este bloco para exibir uma lista plana ou aninhada de itens de menu. Este bloco não é destinado a ser usado para navegação, ou seja, ele não mostrará uma página atual ou nada parecido com isso. Destina-se a uma lista de itens, incluindo ligações externas. + +## Bloco Menus + +Este bloco é destinado à navegação do site. Faz alguns cálculos adicionais para determinar a localização atual e não se destina a ser uma lista muito grande. + +## Barra de navegação + +Similar ao bloco Menus, a barra de navegação irá exibir itens de menu como um menu suspenso responsivo destinado à navegação do site. Você pode habilitar isto em ACP > Extensões > Sitemaker > Configurações > Selecionar menu \ No newline at end of file diff --git a/docs/website/translated_docs/pt/menus-managing-items.md b/docs/website/translated_docs/pt/menus-managing-items.md new file mode 100644 index 000000000000..04d0769f0479 --- /dev/null +++ b/docs/website/translated_docs/pt/menus-managing-items.md @@ -0,0 +1,30 @@ +--- +id: itens-gerenciamento-menus +title: Gerenciando Itens de Menu +--- + +Seu menu é inútil a menos que tenha itens de menu. Você pode adicionar itens de menu que apontem para arquivos locais ou externos. + +> A URL para sites externos deve começar com http(s)://, ftp://, /, etc. +> +> Você pode criar um divisor digitando '-' como o título do item + +## Adicionando itens de menu + +Você pode adicionar itens de menu um item de cada vez, ou você pode adicionar vários itens de menu em um só. + +### Adicionando itens de menu único + +Para adicionar um único item de menu, * clique no botão `Adicionar Item de Menu` * Preencha as informações necessárias e aperte `Salvar` + +### Adicionando vários itens + +Para adicionar vários itens de menu de uma só vez * Clique no ícone ao lado de `Adicionar Item de Menu` * Você pode adicionar itens manualmente colocando cada item em uma nova linha e usando os ninhos do caractere da aba ou * Você pode clicar em uma das opções fornecidas na parte inferior da textarea para preencher automaticamente os itens de menu + +## Reordenar os itens do menu + +Você pode arrastar e soltar os itens de menu para cima/baixo para definir sua ordem de exibição, ou arraste-os para a esquerda/direita para definir a hierarquia desejada. + +## Reconstruir os itens de menu + +Se você achar que os itens de menu não estão sendo exibidos corretamente, clique no botão `Reconstruir Árvore` para reconstruir os itens de menu. \ No newline at end of file diff --git a/docs/website/translated_docs/pt/menus-managing.md b/docs/website/translated_docs/pt/menus-managing.md new file mode 100644 index 000000000000..62089163dd84 --- /dev/null +++ b/docs/website/translated_docs/pt/menus-managing.md @@ -0,0 +1,22 @@ +--- +id: gerenciamento de menus +title: Gerenciando Menus +--- + +Você pode criar menus em ACP que você pode depois exibir usando os Menus ou os blocos de Links ou exibir como uma barra de navegação horizontal. + +## Gerenciando Menus + +Para gerenciar menus, vá para ACP > Extensões > Sitemaker > Menu + +### Criando menus + +Para criar um novo menu (grupo), clique no botão `Adicionar Menu`. Um novo grupo de menu será criado com um nome gerado aleatoriamente. O novo menu também será selecionado para que você possa começar a adicionar itens de menu a ele. + +### Editando menus + +Se você quiser um nome de menu mais significativo, * hover sobre o nome do menu e clique no ícone cog * digite o novo nome de menu e clique em enter para atualizá-lo + +### Excluindo Menus + +Para excluir um menu e seus itens * Passe o mouse sobre o nome do menu e clique no ícone **x** * Se o item de menu não tem itens filhos, você precisará confirmar sua escolha para excluir o item * Se o item de menu tiver itens filhos, você precisará indicar se você deseja excluir apenas o item e mover seus filhos para cima ou se você deseja excluir o branch inteiro \ No newline at end of file diff --git a/docs/website/translated_docs/pt/site-block-modifiers.md b/docs/website/translated_docs/pt/site-block-modifiers.md new file mode 100644 index 000000000000..49df7f0d9137 --- /dev/null +++ b/docs/website/translated_docs/pt/site-block-modifiers.md @@ -0,0 +1,6 @@ +--- +id: modificadores-bloco-site +title: Personalizando Exibição de Blocos +--- + +Trabalho em andamento... \ No newline at end of file diff --git a/docs/website/translated_docs/pt/site-default-layout.md b/docs/website/translated_docs/pt/site-default-layout.md new file mode 100644 index 000000000000..aac2939253bf --- /dev/null +++ b/docs/website/translated_docs/pt/site-default-layout.md @@ -0,0 +1,10 @@ +--- +id: layout-padrão do site +title: Definindo um Layout Padrão +--- + +Quando você adiciona um bloco, ele é adicionado a essa página específica. Seria, portanto, uma tarefa fastidiosa estabelecer blocos para todas as páginas do vosso sítio. Você pode definir todos os blocos desejados para uma página em particular, e então definir essa página como o layout padrão. Em outras palavras, qualquer página que não tenha seus próprios blocos, herdará blocos desta página. + +Para definir um layout padrão * Vá para a página que você gostaria de definir como layout padrão * Clique em `Configurações` na barra de administração * Clique no `Definir como layout padrão` botão + +Diga que adicionamos blocos a uma página (phpBB/index.php) com blocos na barra lateral e posições de topo, por exemplo, e defina-o como nosso layout padrão. Isto tem os seguintes efeitos para outras páginas: * Qualquer página que não tenha seus próprios blocos, herdará os blocos do layout padrão. Veja [Herança de Bloco Vice-existente](./blocks-inheritance.md) para exceções. * Você ainda pode herdar blocos de um layout padrão (index.php), mas escolha não exibir blocos em algumas posições de blocos ou não exibir nenhum bloco. Para isso, * Vá para a página que você não quer que todos/alguns blocos exibam * Clique em `Configurações` na barra de administração * Selecione `Não mostre blocos nesta página` se você não quer herdar/exibir quaisquer blocos nesta página OU * Use CTRL + clique para selecionar as posições de bloco (à direita) que você não deseja exibir blocos em * Em `modo de edição`, uma página que herda os blocos do layout padrão, não mostrará nenhum bloco, dar a você a oportunidade de adicionar blocos à página se você quiser * Qualquer página que tenha seus próprios blocos não herdará do layout padrão \ No newline at end of file diff --git a/docs/website/translated_docs/pt/site-layouts.md b/docs/website/translated_docs/pt/site-layouts.md new file mode 100644 index 000000000000..6922ead67503 --- /dev/null +++ b/docs/website/translated_docs/pt/site-layouts.md @@ -0,0 +1,20 @@ +--- +id: layouts do site +title: Layouts +--- + +"Layouts" determinam as posições de bloco disponíveis e como elas são exibidas. + +## Bloquear Posições + +As posições dos blocos são áreas predefinidas em seu site onde os blocos podem existir. As posições de blocos disponíveis são determinadas pelo estilo de modelo que você está usando. Proprver, phpBB SiteMaker vem com as seguintes posições de bloco: * painel: largura total na parte superior * barra lateral: esquerda/direita dependendo do layout abaixo * subconteúdo: similar à barra lateral apenas maior * top_hor: blocos horizontais no topo, flanqueando acima da barra lateral/subconteúdo dependendo do layout * topo: acima do conteúdo principal * caixa: largura igual, Blocos horizontais abaixo do conteúdo principal * inferior: abaixo do conteúdo principal * bottom_hor: blocos horizontais na parte inferior, flanqueando o sidebe/subcontent dependendo do layout * rodapé: blocos horizontais no rodapé Você pode adicionar mais posições de blocos em seus próprios modelos de estilo copiando e modificando os correspondentes modelos phpBB SiteMaker + +## Layout do site + +Você pode escolher o layout do seu site em ACP (Expresses > Sitemaker > Configurações): * **Blog**: subconteúdo e barra lateral lado a lado um do outro. pressionado para a direita, top_hor/botom_hor subconteúdo do flanco * **Santo Graly**: barra lateral de largura igual e subconteúdo em lados opostos. top_hor/botom_hor subconteúdo do flanco * **Portal**: barra lateral à esquerda, subconteúdo à direita, top_hor/botom_hor subconteúdo do flanco * **Portal Alt**: subconteúdo à esquerda, barra lateral à direita top_hor/botom_hor flanco siar * **Personalizado**: Definir manualmente a largura das barras laterais como px, %, em ou em. O padrão é 200px em cada lado + +## Modelos/estilos personalizados + +Tanto quanto possível, nós tentamos colocar arquivos de template e assets na pasta styles/all/ para que você possa substituí-los criando um arquivo com o mesmo nome no seu próprio tema de template, por exemplo, prosilver. Então, se você quiser modificar como um determinado bloco exibe ou se você quiser criar seu próprio layout com suas próprias posições de bloco, você simplesmente precisa criar um arquivo com o mesmo nome e caminho que o original no seu próprio estilo. + +Se você precisa personalizar arquivos CSS/JS, dê uma olhada na seção [theming](./developer-theming.md). \ No newline at end of file diff --git a/docs/website/translated_docs/pt/site-navbar.md b/docs/website/translated_docs/pt/site-navbar.md new file mode 100644 index 000000000000..3da1b668d8d2 --- /dev/null +++ b/docs/website/translated_docs/pt/site-navbar.md @@ -0,0 +1,6 @@ +--- +id: site-navbar +title: Barra de navegação +--- + +Veja [Exibindo Menus](./menus-display#navigation-bar) \ No newline at end of file diff --git a/docs/website/translated_docs/pt/site-startpage.md b/docs/website/translated_docs/pt/site-startpage.md new file mode 100644 index 000000000000..921cba677cb6 --- /dev/null +++ b/docs/website/translated_docs/pt/site-startpage.md @@ -0,0 +1,8 @@ +--- +id: página inicial do site +title: Definindo uma Página Inicial +--- + +phpBB SiteMaker permite que você escolha qualquer controlador frontal (páginas acessadas via app.php/...) como sua página inicial padrão (a página que será mostrada quando alguém visita seu site) em vez do índice de tabuleiro. + +Para fazer isso: * Ir para a página que você deseja definir como página inicial padrão * Clique em `Configurações` na barra de administração. Se for uma página elegível, você verá um `Definir como página inicial` botão * Clique no `Definir como botão inicial` \ No newline at end of file diff --git a/docs/website/translated_docs/pt_br/blocks-custom.md b/docs/website/translated_docs/pt_br/blocks-custom.md new file mode 100644 index 000000000000..10116b2e8509 --- /dev/null +++ b/docs/website/translated_docs/pt_br/blocks-custom.md @@ -0,0 +1,24 @@ +--- +id: blocos-personalizado +title: Bloco personalizado +--- + +Se os blocos disponíveis não lhe derem a liberdade de que precisa. existe o `Bloco Customizado` que lhe permite exibir seu próprio conteúdo usando BBcode ou HTML. O bloco vem com um editor WYSIWYG (TinyMCE) e um gerenciador de scripts: + +## O editor + +- Você pode usar o editor para criar conteúdo HTML +- Você pode editar o código fonte se você precisar desse nível de controle clicando no ícone do Código Fonte `(<>`) no editor +- O editor permite que você envie e modifique imagens + - Cria uma nova pasta no phpBB/images/sitemaker_uploads/ para todos os usuários que têm acesso a ela + - Você pode ver/gerenciar todas as pastas do usuário +- O editor filtra quaisquer scripts potencialmente perigosos como javascript, etc. Se você precisar adicionar conteúdo como anúncios do google, o javascript será filtrado, mas você pode contornar isso fazendo o seguinte: + - Adicione o bloco personalizado ao local desejado + - Edite o Bloco Personalizado, clique na aba `HTML` e cole o seu Javascript + +## O Gerenciador de Scripts + +O Bloco Personalizado também permite que você adicione arquivos CSS e Javascript personalizados à sua página. Para fazer isso: + +- Adicione um `Bloco Personalizado` a qualquer posição do bloco. A posição não importa a menos que você também esteja exibindo conteúdo com o bloco +- Edite o bloco, clique na guia `Scripts` e adicione seus arquivos CSS ou Javascript > Palavra de Cuidado: Adicionar a vários scripts em sua página pode afetar os tempos de carregamento \ No newline at end of file diff --git a/docs/website/translated_docs/pt_br/blocks-inheritance.md b/docs/website/translated_docs/pt_br/blocks-inheritance.md new file mode 100644 index 000000000000..00defd62eb11 --- /dev/null +++ b/docs/website/translated_docs/pt_br/blocks-inheritance.md @@ -0,0 +1,45 @@ +--- +id: herança de blocos +title: Entendendo a herança de blocos +--- + +Já vimos isso definindo um layout padrão, outras páginas que não possuem blocos próprios herdarão os blocos do layout padrão. Existe, no entanto, um outro tipo de herança de blocos. + +## Rotas pai/filho + +No phpBB SiteMaker, falamos de rotas aninhadas em termos de diretórios (sub) aninhados ou caminhos/rotas virtualmente aninhadas. Por favor, fique comigo :). * Rotas reais pasta/filho: Por exemplo, o caminho /some_directory/sub_directory/index.php é filho de /some_directory/index. hp * Rotas virtuais de Parente/Filho: Por exemplo, viewtopic.php é tratado como um filho de viewforum.php. + +Aqui estão alguns exemplos de rotas parentais/filho: + +| Antecessor | Filho(a) | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/artigos | /app.php/articles/meu-artigo | + +## Herança do Bloco Pai/Criança + +Para rotas pai/filho, a rota filho herda os blocos da rota pai (se o pai tiver seus próprios blocos) ou do layout padrão (se uma foi definida). Em outras palavras, mesmo que haja um layout padrão, a rota filho herdará blocos da rota pai se a rota pai tiver seus próprios blocos. Mas nem todos os blocos da rota pai devem ser herdados. + +## Controlando Herança de Blocos + +A nível de blocos, você pode controlar quando um bloco pode ser herdado por rotas filhas. Nós tocamos nisso anteriormente na [Edição das Configurações do Bloco](./blocks-managing#editing-block-settings). + +Considere a seguinte estrutura real de diretórios: + +```text +phpBB +── index.php +── filmes/ + ── index.php + ── page.php + ├── page.php + ── Comedy/ + ── index.php +``` + +Para fins de herança de blocos, dizemos: * A rota principal do /phpBB/Movies/Comedy/index.php é /phpBB/Movies/index. hp e não /phpBB/Movies/page.php * Todas as páginas em um sub-diretório em relação a /phpBB/index.php são uma rota filha do /phpBB/index.php. Então /phpBB/Movies/index.php e /phpBB/Movies/page.php são filhos de /phpBB/index.php e, portanto, herdarão seus blocos se não tiverem blocos próprios. Neste caso: * Quando um bloco do /phpBB/index. hp está definido para ser exibido em **Ocultar em rotas filhas**, o bloco será exibido em /phpBB/index. hp (rota principal) mas não em suas rotas filhas * Quando um bloqueio do /phpBB/index. hp está configurado para ser exibido em **Mostrar somente em rotas filhas**, ele será exibido em /phpBB/Movies/index.php e /phpBB/Movies/page. hp (rotas filhas) mas não no /phpBB/index.php (pai), nem no /phpBB/Movies/Comedy/index. hp (nós só superamos um nível de profundidade) * Quando um bloco no /phpBB/index. hp está configurado para exibir **sempre** (padrão), ele será exibido em /phpBB/index.php (pai), /phpBB/Movies/index. hp e /phpBB/page.php (rotas filhas) mas não na /phpBB/Movies/Comedy/index.php (somente atingimos um nível de profundidade). Neste caso, /phpBB/Movies/Comedy/index.php herdará da rota padrão (se existir) + +## Estado futuro possível + +Estou muito interessado em seu feedback nesta área. A maioria dos usuários do phpBB não terão diretórios reais conforme descrito acima. Então estou pensando em usar a estrutura definida em um bloco de menu como uma estrutura virtual de diretórios e aplicar esta herança pai ou filho a ela. Também estou pensando em ir além de um nível de profundidade. Por favor, deixe-me saber se isso será útil para você. \ No newline at end of file diff --git a/docs/website/translated_docs/pt_br/blocks-managing.md b/docs/website/translated_docs/pt_br/blocks-managing.md new file mode 100644 index 000000000000..39202f320b78 --- /dev/null +++ b/docs/website/translated_docs/pt_br/blocks-managing.md @@ -0,0 +1,38 @@ +--- +id: blocos-gerenciamento +title: Mananaging Blocks +--- + +Para gerenciar os blocos no phpBB SiteMaker, você precisa estar no [Modo de Edição](./blocks-overview#edit-mode). + +> Quando um bloco não exibe nenhum conteúdo, ele não será exibido, exceto no modo de edição. Dessa forma, você pode ou dar-lhe conteúdo (no caso do bloco Personalizado) ou alterar suas configurações. +> +> No modo de edição, os blocos um pouco transparentes são blocos que, de outra forma, não serão exibidos, mas estão sendo exibidos apenas porque estamos no modo de edição + +## Adicionando blocos + +Você pode adicionar blocos a qualquer página frontal, exceto ao Painel de Controle do Usuário e Painel de Controle do Moderador. Para adicionar um bloco, você precisará: * clique em **blocos** na barra Admin. Isto irá exibir uma lista de blocos disponíveis * Arraste e solte o bloco desejado para qualquer posição de bloco + +## Editando blocos + +### Adicionando um ícone de bloco + +À esquerda do título do bloco (prosilver), há uma caixa para o ícone do bloco. Clique nesta caixa para obter a seleção de ícone. Você pode selecionar o tamanho do ícone, cor, flutuação, rotação, etc. + +### Editando o título do bloco + +Os blocos phpBB SiteMaker terão um título padrão, traduzido mas se o título não atender às suas necessidades, você pode alterá-lo. Para editar o título do bloco, * Clique no título do bloco para obter um formulário de edição embutido * Muda o título para o que você quiser * Remover foco do campo ou aperte enter para enviar alterações + +> Seu título de bloco modificado não foi traduzido +> +> Para reverter para o título padrão, exclua simplesmente o título e aperte enter + +### Editando configurações do bloco + +Quando você passar o mouse sobre um bloco, um ícone de cog aparecerá à direita do bloco que pode ser usado para editar o bloco. No diálogo de edição do bloco, você pode: - Ativar/desativar um bloco [Status] - Escolher quando o bloco deve/não deve ser exibido [Display]. Isso só se aplica em casos em que você tenha páginas aninhadas (veja [Compreender Bloco Herança](./blocks-inheritance.md)): - **Sempre**: Exibir sempre o bloco - **Esconder nas rotas filhas**: Mostrar este bloco na rota pai - **Mostrar apenas**: Mostrar este bloco em rotas filhas apenas - Escolha quais grupos de usuários podem ver o bloco [Visualizável]. Use CTRL + clique para selecionar múltiplos grupos. - Defina classes personalizadas para modificar a aparência do bloco ou itens (listas, imagens, plano de fundo, etc) dentro do bloco [Classe CSS] - Mostrar/ocultar o título do bloco [Ocultar título do bloco? - Selecione a vista de bloco [Visualização de bloco]. Você pode selecionar uma visualização de bloco padrão quando novos blocos são adicionados em ACP. - **Padrão / Simples**: usa a classe de painel da prosilver para encapsular o bloco em um contêiner preenchido - **Basic**: o bloco não tem qualquer recipiente que envolva ele - **Boxed**: usa a classe de prosilver forabg para envolver o bloco em uma caixa - Defina / Atualizar configurações específicas dos blocos - Se você tiver o mesmo bloco com as mesmas configurações em várias páginas, você pode atualizar todos eles de uma vez, verificando os **blocos de atualização com configurações similares** + +## Excluindo blocos + +- Passe o mouse sobre o bloco que deseja excluir +- Clique no ícone **x** e confirme que você deseja excluir o bloco +- Vá até a barra de administração e clique em `Salvar Mudanças` \ No newline at end of file diff --git a/docs/website/translated_docs/pt_br/blocks-overview.md b/docs/website/translated_docs/pt_br/blocks-overview.md new file mode 100644 index 000000000000..6f3c4f5b77df --- /dev/null +++ b/docs/website/translated_docs/pt_br/blocks-overview.md @@ -0,0 +1,10 @@ +--- +id: blocos-visão +title: O que são blocos? +--- + +No âmago do phpBB SiteMaker está o conceito de blocos. Blocos são pequenos pedaços de conteúdo que você pode colocar em diferentes áreas pré-definidas (posições de blocos) em seu site. Os blocos normalmente terão configurações que você pode definir/alterar para ajustar o conteúdo que você deseja exibir. A maioria dos blocos, mas nem todos, fará consultas de banco de dados para obter o conteúdo desejado. Então não vamos ficar loucos demais :). Para gerenciar os blocos, você precisará alternar para "modo de edição". + +## Modo de edição + +Alterne para o modo de edição clicando no ícone do lápis no canto superior direito do seu site. Isto irá exibir a "Barra de Admin" com "Blocos" e "Configurações" do menu. Isto é referido como estando no "modo de edição". \ No newline at end of file diff --git a/docs/website/translated_docs/pt_br/blocks-views.md b/docs/website/translated_docs/pt_br/blocks-views.md new file mode 100644 index 000000000000..2cfca0dc5edd --- /dev/null +++ b/docs/website/translated_docs/pt_br/blocks-views.md @@ -0,0 +1,6 @@ +--- +id: blocos-visualizações +title: Visualizações do Bloco +--- + +Trabalho em andamento... \ No newline at end of file diff --git a/docs/website/translated_docs/pt_br/contrib-overview.md b/docs/website/translated_docs/pt_br/contrib-overview.md new file mode 100644 index 000000000000..ad2a332801f6 --- /dev/null +++ b/docs/website/translated_docs/pt_br/contrib-overview.md @@ -0,0 +1,11 @@ +--- +id: Visão geral +title: Envolva-se +--- + +phpBB SiteMaker é um projeto de código aberto e agradece suas ideias e contribuições. Por isso, sinta-se livre para participar. Você pode contribuir para este projeto por: + +* [Fornecendo suporte/feedback](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Relatando erros](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Ajudar com a tradução](./contrib-translators.md) +* [Corrigir bugs ou adicionar recursos](./contrib-pull-requests.md) \ No newline at end of file diff --git a/docs/website/translated_docs/pt_br/contrib-pull-requests.md b/docs/website/translated_docs/pt_br/contrib-pull-requests.md new file mode 100644 index 000000000000..a8b6766cf7dd --- /dev/null +++ b/docs/website/translated_docs/pt_br/contrib-pull-requests.md @@ -0,0 +1,76 @@ +--- +id: contrib-pull-requests +title: Enviando um Pull Request +sidebar_label: Pull Requests +--- + +`Pull requests permitem que você informe aos outros sobre as alterações que você fez push em um branch no repositório do GitHub. Quando um pull request for aberto, você pode discutir e rever as mudanças potenciais com colaboradores e adicionar commits de acompanhamento antes que suas alterações sejam mescladas na branch base.` [Leia mais](https://help.github.com/articles/about-pull-requests/) + +## Forking/Clonagem + +* Criar uma conta no github se você ainda não tiver uma +* Vá para https://github.com/blitze/phpBB-ext-sitemaker.git e clique em "Fork" + +Clone seu fork do repositório: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +Da linha de comando vá para o diretório sitemaker: + + cd phpBB/ext/blitze/sitemaker + + +**Configurar git:** + +Adicione seu nome de usuário ao Git no seu sistema: + + git config --global user.name "Seu Nome Aqui" + + +Adicione seu endereço de e-mail ao Git no seu sistema: + + git config --add user.email username@phpbb.com + + +Adicione o controle remoto do upstream (você pode mudar o 'upstream' para o que quiser): + + adicione git://github.com/blitze/phpBB-ext-sitemaker.git remotamente + + +**Instalar fornecedores** + + instalar compositor + + +**Instalar pacotes NPM** + + npm install + + +Como alternativa, você pode usar o [yarn](https://yarnpkg.com): + + instalar Yarn + + +## Pull Requests + + # Crie uma nova branch para o seu recurso & mude para ela + git check-b feature/my-fancy-new-feature + + # crie uma nova branch para a issue em que você está trabalhando * mudar para ela (ticket # é do github tracker) + git check-b ticket/1234 + + +Faça suas alterações + + # Estágio + git add + + # Commit arquivos staged - por favor, use uma mensagem de commit + git commit -m "minha mensagem de commit" + + +Faça um push do branch de volta ao GitHub git push out feature/meu-meu-novo-recurso + +Submeter um pull request [](https://github.com/blitze/phpBB-ext-sitemaker/pulls) \ No newline at end of file diff --git a/docs/website/translated_docs/pt_br/contrib-translators.md b/docs/website/translated_docs/pt_br/contrib-translators.md new file mode 100644 index 000000000000..aef8f57c2a0f --- /dev/null +++ b/docs/website/translated_docs/pt_br/contrib-translators.md @@ -0,0 +1,17 @@ +--- +id: tradutores-contrib +title: Tradutores +--- + +Precisamos de ajuda para traduzir essa extensão, bem como a sua documentação. Criamos um projeto no Crowdin para facilitar as traduções. Crowdin dá-lhe uma interface de tradução que não é igual a nenhuma. Você pode contribuir como sempre quer, mas realmente recomendamos usar o Crowdin. + +> O Crowdin é uma plataforma de gestão de localização que ajuda as empresas a traduzir o seu software. Você pode ler mais sobre o Crowdin [aqui](https://support.crowdin.com/crowdin-intro/) + +Se você estiver disposto a contribuir com as traduções, você precisará: + +* Uma conta no [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker). +* Escolha o idioma de destino se existir caso contrário o pedido para ser habilitado. + +Se o idioma desejado não estiver listado, [entre em contato comigo](https://crowdin.com/profile/blitze) e eu o adicionarei. + +[Iniciar tradução](https://crowdin.com/project/phpbb-ext-sitemaker) \ No newline at end of file diff --git a/docs/website/translated_docs/pt_br/developer-events.md b/docs/website/translated_docs/pt_br/developer-events.md new file mode 100644 index 000000000000..4f43b79450b8 --- /dev/null +++ b/docs/website/translated_docs/pt_br/developer-events.md @@ -0,0 +1,120 @@ +--- +id: eventos-desenvolvedor +title: phpBB SiteMaker Eventos +--- + +Você pode modificar o comportamento do phpBB SiteMaker usando o sistema de eventos do phpBB. + +## Eventos PHP + +# blitze.sitemaker.acp_adicionar_opções_de_menu_bulk + +- Localização: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Desde: 3.1.0 +- Objetivo: Adicionar opções de menu em massa no menu acp + +# blitze.sitemaker.acp_form_de_configurações_do_site + +- Localização: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Desde: 3.1.0 +- Formulário de configurações do acp (sitemaker) + +# blitze.sitemaker.acp_salvar_configurações + +- Localização: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Desde: 3.1.0 +- Purpose: Salvar configurações do acp (sitemaker) + +# blitze.sitemaker.admin_bar.set_assets + +- Localização: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Desde: 3.0.1-RC1 +- Carteira: Adicionar ativos para blocos disponíveis no modo de edição + +# blitze.sitemaker.momodifique_posição_de_blocos + +- Localização: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Desde: 3.0.1-RC1 +- Purpo: Modificar posições do bloco + +# blitze.sitemaker.modify_rendered_block + +- Localização: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Desde: 3.0.1-RC1 +- Purpo: Modifica um bloco renderizado + +## Eventos de Modelo + +# blitze_sitemaker_acp_settings + +- Localização: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Desde: 3.1.0 +- Purpo: Adicionar campos de formulário para configurações do sitemaker + +# blitze_sitemaker_barra_anexar + +- Localização: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Desde: 3.1.0 +- Carteira: Adicionar itens de menu na barra de administração + +# blitze_sitemaker_templates + +- Localização: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Desde: 3.1.0 +- Purpose: Adicionar arquivos de modelo a serem usados em JS para exibições de blocos, etc + +## Eventos de Javascript + +# blitze_sitemaker_layout_saved + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Desde: 3.1.2 +- Carteira: Evento para permitir que outras extensões façam algo quando as alterações no layout são salvas + +# blitze_sitemaker_render_block_antes + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Desde: 3.1.2 +- Purpo: O evento permite que outras extensões façam algo antes que o bloco seja renderizado ou impeça que ele seja re-renderizado + +# blitze_sitemaker_render_block_after + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Desde: 3.1.2 +- Purpo: O Evento para permitir que outras extensões façam algo após o bloco é renderizado + +# blitze_sitemaker_salvar_bloco_antes + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Desde: 3.1.2 +- Purpo: Evento para permitir que outras extensões modifiquem dados do bloco antes de serem salvos + +# blitze_sitemaker_mostrar_todas_as_posição_de_blocos + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Desde: 3.1.2 +- Purpo: Evento para permitir que outras extensões façam algo quando todas as posições de blocos forem mostradas + +# blitze_sitemaker_hide_empty_posição_de_bloco_ + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Desde: 3.1.2 +- Purpo: Evento para permitir que outras extensões façam algo quando posições vazias estiverem ocultas + +# blitze_layouker_de_site_limpo + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Desde: 3.1.2 +- Carteira: Evento para permitir que outras extensões façam algo quando o layout estiver limpo + +# blitze_sitemaker_layout_atualizado + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Desde: 3.1.2 +- Carteira: Evento para permitir que outras extensões façam algo quando o layout é atualizado + +# opções_do_sitemaker_tinymce_blitze_site + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Desde: 3.3.0 +- Objetivo: Evento para permitir que outras extensões modifiquem opções de tinymce \ No newline at end of file diff --git a/docs/website/translated_docs/pt_br/developer-extensions.md b/docs/website/translated_docs/pt_br/developer-extensions.md new file mode 100644 index 000000000000..5e76e3d72b53 --- /dev/null +++ b/docs/website/translated_docs/pt_br/developer-extensions.md @@ -0,0 +1,177 @@ +--- +id: extensão-desenvolvedor +title: Estendendo phpBB SiteMaker +--- + +Você pode estender/modificar o phpBB SiteMaker usando [substituição de serviço](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [decoração de serviço](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration)e [sistema de eventos do phpBB](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Você pode encontrar uma lista dos eventos suportados [aqui](./developer-events.md). + +## Criando um bloco SiteMaker + +Um bloco do phpBB SiteMaker é simplesmente uma classe que estende a classe blitze\sitemaker\services\blocks\blocks\block e retorna uma matriz do método "display" com um 'title' e 'content'. Tudo o resto entre nós é com você. Para tornar seu bloco detectável pelo phpBB SiteMaker, você precisará fornecer-lhe a tag "sitemaker.block". + +Diga que temos uma extensão com o fornecedor / extensão como meu/exemplo. Para criar um bloco chamado "my_block" para o phpBB SiteMaker: + +- Criar uma pasta "blocos" +- Crie o arquivo my_block.php na pasta de blocos com o seguinte conteúdo + +```php +namespace meu\exemplo\blocks; + +use blitze\sitemaker\services\blocks\driver\block; + +class my_block estende o bloco +{ + /** + * {@inheritdoc} + */ + função pública display(array $settings, $edit_mode = false) + { + return array( + 'title' => 'meu título de bloco', + 'conteúdo' => 'conteúdo do meu bloco', + ); + } +} +``` + +Então no arquivo config.yml, adicione o seguinte: + +```yml +serviços: + +... + + my.example.block.my_block: + class: meu\example\blocks\my_block + chamadas: + - [set_name, [my.example.block.my_block]] + tags: + - { name: sitemaker.block } + +... + +``` + +No mínimo, isso é tudo que você precisa. Se você entrar no modo de edição, deverá ver o bloco listado como 'MY_EXAMPLE_BLOCK_MY_BLOCK' que pode ser arrastado e solto em qualquer posição de bloco. Mas esse bloco não faz nada excitante. Não tem configurações e não traduz o nome do bloco. Vamos fazer isso mais interessante. + +### Configurações do Bloco + +Vamos modificar nossos blocos/meu_block. arquivo hp e adicione um método "get_config" em retorna uma matriz com as teclas sendo as configurações do bloco e os valores sendo um array descrevendo as configurações da seguinte forma: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Only show when option 1 is selected
'), + ); + } +``` + +Isso é construído da mesma forma que o phpBB compila a configuração para as configurações do board nos ACP. Você pode ver mais exemplos [aqui](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Se você quiser um tipo de campo personalizado, você pode ver um exemplo [aqui](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' setting). + +Observe 'legenda1' e 'legenda2': Elas são usadas para separar as configurações em guias. + +### Blocos de Nomes + +A convenção para nomes de blocos é que o nome do serviço (ex. meu.exemplo.block. y*bloco acima) será usado como a chave de idioma, substituindo os pontos (.) pelo underscore (*) (por exemplo, MY_EXAMPLE_BLOCK_MY_BLOCK_BLOCK). + +### Tradução + +Observe também que temos várias chaves de idioma que precisam ser traduzidas. Para fazer isso, crie um arquivo chamado "blocks_admin.php" em sua pasta de idioma. Este arquivo será carregado automaticamente durante a edição de blocos e deve ter traduções para as suas configurações de blocos e nomes de blocos. + + $lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Opção 1', + 'OTHER_LANG_VAR' => 'Opção 2', + 'SOME_LANG_VAR_1' => 'Configuração 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Meu Bloco', + ); + + +Como 'blocks_admin.php' só é carregado ao editar blocos, você precisará adicionar outras traduções (por exemplo, bloco título) carregando um arquivo de idioma em seu método de exibição como tal `$language->add_lang('my_lang_file', 'meu/exemplo');` + +### Renderizando o bloco + +O novo bloco só será exibido se ele estiver renderizando algo. Seu bloco pode retornar qualquer string como conteúdo, mas, na maioria dos casos, você precisa de um template para renderizar seu conteúdo. Para renderizar seu bloco usando modelos, o bloco deve retornar um array que contém os dados que você deseja passar para o template e também deve implementar o método `get_template` como demonstrado abaixo: + +```php + /** + * @inheritdoc + */ + function pública get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + array de retorno( + 'legenda1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'caixa de seleção', 'opções' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + função pública get_template() + { + return '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + display de função pública(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // faz algo apenas no modo de edição + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'dados' => matriz( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Então o arquivo de estilos/all/my_block.html ou estilos/prosilver/my_block.html pode parecer algo como isto: + +

Você selecionou: {{ some_var }}

+ + +Em resumo, seu bloco deve retornar uma matriz com uma `chave de título` (para o título do bloco) e uma `chave de conteúdo` (se o bloco apenas exibir uma string e não usa um template) ou uma chave `data` (se o bloco usar um template, em que caso, você também precisará implementar o método `get_template`). + +### Bloquear Ativos + +If your block needs to add assets (css/js) to the page, I recommend using the sitemaker [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) for that. Como pode haver mais de uma instância do mesmo bloco na página, ou outros blocos podem estar adicionando o mesmo recurso, a classe de util garante que o ativo é apenas adicionado. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some s', + 100 => '@meu_exemplo/ativos/outros. s', // defina prioridade + ), + 'css' => array( + '@meu_exemplo/ativos/alguns. ss', + ) +)); +``` + +A classe util precisará, é claro, ser adicionada às suas definições de serviço em config.yml assim: `- '@blitze.sitemaker. até` e definido no construtor do seu bloco `\blitze\sitemaker\services\util $util`. + +E é isso. Estamos prontos! \ No newline at end of file diff --git a/docs/website/translated_docs/pt_br/developer-theming.md b/docs/website/translated_docs/pt_br/developer-theming.md new file mode 100644 index 000000000000..6aa0a95a564e --- /dev/null +++ b/docs/website/translated_docs/pt_br/developer-theming.md @@ -0,0 +1,55 @@ +--- +id: tema-desenvolvedor +title: Temas +--- + +phpBB SiteMaker vem com estilos e cores feitos para prosilver. Você pode substituir arquivos CSS, JS e HTML, criando o arquivo correspondente na pasta do seu estilo. + +# Criando arquivos JS/CSS para seu estilo + +Nota: * Para a finalidade das instruções abaixo, assumimos que você tem um estilo chamado meu-estilo. + +Clonar em phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +Da linha de comando vá para o diretório sitemaker: + + cd phpBB/ext/blitze/sitemaker + + +**Instalar fornecedores** + + instalar compositor + + +**Instalar pacotes** + +Para os comandos abaixo você pode usar o npm ou o [yarn](https://yarnpkg.com) + + instalar Yarn + + +**Ver alterações** + + yarn start --theme meu-estilo + + +**Fazer alterações** + +* Faça suas alterações nos arquivos na pasta phpBB/ext/blitze/sitemaker/desenvolver. +* Veja o phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss para variáveis de sass + +**Compilar ativos** + + yarn build --theme meu-estilo + + +**Implantar** + +Agora você pode copiar os arquivos gerados do phpBB/ext/blitze/sitemaker/styles/meu-estilo e enviá-los para o seu servidor de produção. + +> Esta extensão usa jQuery UI para abas, diálogos e botões. O tema padrão do jQuery é 'suave'. Você pode usar um tema jQuery UI diferente que melhor se adapte ao seu tema. Você pode especificar o tema da UI do jQuery usando a flag --jq_ui_theme. Por exemplo: + + yarn build --theme meu-style --jq_ui_theme ui-lightness \ No newline at end of file diff --git a/docs/website/translated_docs/pt_br/filemanager.md b/docs/website/translated_docs/pt_br/filemanager.md new file mode 100644 index 000000000000..08caa9b8029e --- /dev/null +++ b/docs/website/translated_docs/pt_br/filemanager.md @@ -0,0 +1,34 @@ +--- +id: filemanager +title: Responsive Filemanager +--- + +As of version 3.1.0, phpBB SiteMaker supports the [Responsive Filemanager](http://responsivefilemanager.com) + +* The file manager is used as a TinyMCE pluging (WYSIWYG editor) when editing custom blocks +* It is currently configured to creat separate folders for each user, except the user with a_sm_filemanager permission (Can see/manage other users' folders), which allows them access to view/manage all upload folders. + +## Installation + +* Download the [Responsive FileManager](http://responsivefilemanager.com/index.php#sthash.5UrnhjX2.dpbs) +* Extract it, and upload the files to your phpBB root folder. The file structure should be as below: + +```text +phpBB +├── images/ +├── includes/ +├── ... +└── ResponsiveFilemanager/ + └── filemanager/ + └── config/ + ├── .htaccess + └── config.php +``` + +## Activation + +* Go to ACP > Extensions > SiteMaker > Settings +* Enable File Manager feature +* Save changes +* Update user permissions (Misc tab) to determine who can use this feature [Can use File Manager] +* Update admin permissions (Misc tab) to determine who can manager user folders [Can see/manage other users’ folders in File Manager] \ No newline at end of file diff --git a/docs/website/translated_docs/pt_br/installation.md b/docs/website/translated_docs/pt_br/installation.md new file mode 100644 index 000000000000..48f1aff11d2e --- /dev/null +++ b/docs/website/translated_docs/pt_br/installation.md @@ -0,0 +1,18 @@ +--- +id: instalação +title: Instalando / Atualizando +--- + +Baixar a extensão de [aqui](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker + +* Extraia e envie-o para a pasta phpBB/ext/ para que você tenha phpBB/ext/blitze/sitemaker +* Vá para "ACP" > "Customise" > "Extensões" e ative a extensão "phpBB Sitemaker". + +## Atualizando o site phpBB SiteMaker + +* Crie um backup do seu banco de dados caso algo dê errado +* Vá para "ACP" > "Customise" > "Extensões" e desabilite (do zero) "phpBB Sitemaker" +* Baixe e extraia a versão mais recente do phpBB SiteMaker e envie-o para a sua pasta phpBB/ext/ (sobrescrever) +* Vá para "ACP" > "Customise" > "Extensões" e ative a extensão "phpBB Sitemaker". \ No newline at end of file diff --git a/docs/website/translated_docs/pt_br/introduction.md b/docs/website/translated_docs/pt_br/introduction.md new file mode 100644 index 000000000000..2a5e77257eb9 --- /dev/null +++ b/docs/website/translated_docs/pt_br/introduction.md @@ -0,0 +1,6 @@ +--- +id: introdução +title: Introdução +--- + +phpBB SiteMaker procura transformar a sua seção phpBB em um portal CMS/CMS. Isso é feito fornecendo blocos e menus para ajudá-lo a personalizar seu site de acordo com o seu gosto. Existem ou será outras extensões do SiteMaker que oferecem funcionalidades adicionais para atingir esse objetivo. Ele também permite que você defina uma página inicial quando seu site for acessado. Então, se você não quiser que os visitantes do seu site vejam imediatamente o fórum do phpBB quando forem para o www. nosso site.com, você pode definir sua própria página inicial. \ No newline at end of file diff --git a/docs/website/translated_docs/pt_br/menus-display.md b/docs/website/translated_docs/pt_br/menus-display.md new file mode 100644 index 000000000000..1974f2efeb23 --- /dev/null +++ b/docs/website/translated_docs/pt_br/menus-display.md @@ -0,0 +1,18 @@ +--- +id: exibir-menus- +title: Exibindo Menus +--- + +Agora que você criou seus menus, você pode exibi-los de várias maneiras: + +## Bloco de links + +Você pode usar este bloco para exibir uma lista plana ou aninhada de itens de menu. Este bloco não se destina a ser usado para navegação, ou seja, não irá mostrar uma página atual ou nada parecido. Destina-se a uma lista de itens, incluindo links externos. + +## Bloco de menus + +Este bloco é destinado à navegação no site. Ele faz alguns cálculos adicionais para determinar a localização atual e não pretende ser uma lista muito grande. + +## Barra de navegação + +Semelhante ao bloco Menus, a barra de navegação exibirá os itens de menu como um menu suspenso responsivo destinado a navegação do site. Você pode ativar isto em ACP > Extensões > Sitemaker > Configurações> Selecionar menu \ No newline at end of file diff --git a/docs/website/translated_docs/pt_br/menus-managing-items.md b/docs/website/translated_docs/pt_br/menus-managing-items.md new file mode 100644 index 000000000000..2522ceaf7c44 --- /dev/null +++ b/docs/website/translated_docs/pt_br/menus-managing-items.md @@ -0,0 +1,30 @@ +--- +id: itens +title: Gerenciando itens de menu +--- + +Seu menu é inútil a menos que tenha itens de menu. Você pode adicionar itens de menu que apontem para arquivos locais ou externos. + +> A URL para sites externos deve começar com http(s)://, ftp://, //, etc. +> +> Você pode criar um divisor digitando '-' como o título do item + +## Adicionando itens de menu + +Você pode adicionar um item de menu de cada vez, ou você pode adicionar vários itens de menu. + +### Adicionando itens de menu único + +Para adicionar um único item de menu, * clique no botão `Adicionar Item de Menu` * Preencha as informações necessárias e aperte `Salvar` + +### Adicionando múltiplos itens + +Para adicionar vários itens de menu de uma só vez, * Clique no ícone + `Adicionar Item de Menu` * Você pode adicionar manualmente colocando cada item em uma nova linha e usando o caractere de ninho da aba ou * Você pode clicar em uma das opções fornecidas na parte inferior da caixa de texto para preencher automaticamente os itens do menu + +## Reordenar os itens do menu + +Você pode arrastar e soltar os itens de menu para cima/baixo para definir sua ordem de exibição, ou arrastá-los para a esquerda/direita para definir a hierarquia desejada. + +## Reconstruir os itens do menu + +Se você achar que os itens de menu não estão sendo exibidos corretamente, clique no botão `Reconstruir a Árvore` para reconstruir os itens de menu. \ No newline at end of file diff --git a/docs/website/translated_docs/pt_br/menus-managing.md b/docs/website/translated_docs/pt_br/menus-managing.md new file mode 100644 index 000000000000..712aa7c2db4a --- /dev/null +++ b/docs/website/translated_docs/pt_br/menus-managing.md @@ -0,0 +1,22 @@ +--- +id: gerenciamento de menus- +title: Gerenciando Menus +--- + +Você pode criar menus nos ACP que você pode exibir usando os blocos Menus ou Links ou exibidos como uma barra de navegação horizontal. + +## Gerenciando Menus + +Para gerenciar menus, vá para ACP > Extensões > Sitemaker > Menu + +### Criando menus + +Para criar um novo menu (grupo), clique no botão `Adicionar Menu`. Um novo grupo de menu será criado com um nome gerado aleatoriamente. O novo menu também será selecionado para que você possa começar a adicionar itens de menu a ele. + +### Editando Menus + +Se você quer um nome de menu mais significativo, * Passe o mouse sobre o nome do menu e clique no ícone da engrenagem * insira o novo nome do menu e aperte enter para atualizá-lo + +### Excluindo menus + +Para excluir um menu, e seus itens, * Passe o mouse sobre o nome do menu e clique no ícone **x** * Se o item de menu não tem itens filhos, você precisará confirmar sua escolha para excluir o item * Se o item de menu tiver itens filhos, você precisará indicar se você deseja excluir apenas o item e mover seus filhos para cima ou se você deseja excluir a branch inteira \ No newline at end of file diff --git a/docs/website/translated_docs/pt_br/site-block-modifiers.md b/docs/website/translated_docs/pt_br/site-block-modifiers.md new file mode 100644 index 000000000000..1adeb832fb55 --- /dev/null +++ b/docs/website/translated_docs/pt_br/site-block-modifiers.md @@ -0,0 +1,6 @@ +--- +id: modificador-de-site-bloco +title: Personalizando exibição de blocos +--- + +Trabalho em andamento... \ No newline at end of file diff --git a/docs/website/translated_docs/pt_br/site-default-layout.md b/docs/website/translated_docs/pt_br/site-default-layout.md new file mode 100644 index 000000000000..a15245756cc8 --- /dev/null +++ b/docs/website/translated_docs/pt_br/site-default-layout.md @@ -0,0 +1,10 @@ +--- +id: site-default-layout +title: Definindo um Layout Padrão +--- + +Quando você adiciona um bloco, ele é adicionado a essa página específica. Por conseguinte, seria uma tarefa tediosa estabelecer blocos para todas as páginas do seu site. Você pode definir todos os blocos desejados para uma determinada página e, em seguida, definir essa página como o layout padrão. Em outras palavras, qualquer página que não tenha seus próprios blocos, herdará blocos desta página. + +Para definir um layout padrão * Vá para a página que você gostaria de definir como layout padrão * Clique em `Configurações` na barra de administração * Clique no botão `Definir como layout padrão` + +Digamos que adicionamos blocos a uma página (phpBB/index.php) com blocos na barra lateral e nas posições principais, por exemplo, e definimos como nosso layout padrão. Isto tem os seguintes efeitos para outras páginas: * Qualquer página que não tenha seus próprios blocos, herdará os blocos do layout padrão. Veja [Compreender a herança de blocos](./blocks-inheritance.md) para exceções. * Você ainda pode herdar blocos de um layout padrão (índice. hp) mas escolha não exibir blocos em algumas posições de bloco ou não exibir nenhum bloco. Para fazer isso, * Vá para a página que você não quer que todos/alguns blocos exibam * Clique em `configurações` na barra de administração * Selecione `Não mostre blocos nesta página` se você não deseja herdar / exibir nenhum bloco nesta página OU * Use CTRL + clique para selecionar as posições do bloco (a direita) que você não deseja exibir blocos em * No modo de edição ``, , no modo de edição uma página que herda blocos do layout padrão, não exibirá nenhum bloco, dando-lhe a oportunidade de adicionar blocos à página se você quiser * Qualquer página que tenha seus próprios blocos não herdará do layout padrão \ No newline at end of file diff --git a/docs/website/translated_docs/pt_br/site-layouts.md b/docs/website/translated_docs/pt_br/site-layouts.md new file mode 100644 index 000000000000..3f4de1619daf --- /dev/null +++ b/docs/website/translated_docs/pt_br/site-layouts.md @@ -0,0 +1,20 @@ +--- +id: layouts +title: Layouts +--- + +"Layouts" determinam as posições de blocos disponíveis e como elas são exibidas. + +## Posições do Bloco + +Posições do bloco são áreas predefinidas em seu site onde blocos podem existir. As posições de blocos disponíveis são determinadas pelo estilo de modelo que você está usando. Para prosilver, phpBB SiteMaker vem com as seguintes posições de blocos: * painel: largura total através do topo * barra lateral: esquerda/direita dependendo do layout abaixo de * subconteúdo: similar a barra lateral maior * top_hor: blocos horizontais no topo, flanking acima da barra lateral/subconteúdo dependendo do layout * topo: acima do conteúdo principal * caixa: largura igual, blocos horizontais abaixo do conteúdo principal * inferior: abaixo do conteúdo principal * inferior_hor: blocos horizontais na parte inferior, flanqueando a barra lateral/subconteúdo dependendo do layout * rodapé: blocos horizontais no rodapé Você pode adicionar mais posições de blocos em seus próprios modelos de estilo copiando e modificando os templates do phpBB SiteMaker correspondentes + +## Layout do site + +Você pode escolher o layout para o seu site em ACP (Extensões > Sitemaker > Configurações): * **Blog**: subconteúdo e barra lateral lado a lado. pushed para a direita, top_hor/botom_hor flank subconteúdo * **Santa Grail**: barra lateral de largura igual e subconteúdo em lados opostos, top_hor/botom_hor flank subconteúdo * **Portal**: barra lateral à esquerda, subconteúdo à direita, top_hor/botom_hor flank subconteúdo * **Portal Alt**: subconteúdo à esquerda, barra lateral à direita, top_hor/botom_hor flank sidebar * **Custom**: Defina manualmente a largura das barras laterais como px, %, em ou teria. O padrão é 200px em cada lado + +## Temas/estilos personalizados + +Tanto quanto possível, nós tentamos colocar arquivos de template e assets em estilos/todos/ pastas para que você possa substituí-los criando um arquivo com o mesmo nome sob o seu próprio tema de template. . prosilver. Portanto, se você quiser modificar a forma como um determinado bloco é exibido ou se você quiser criar seu próprio layout com suas próprias posições de bloco, você precisa simplesmente criar um arquivo com o mesmo nome e caminho do original no seu próprio estilo. + +Se você precisar customizar arquivos CSS/JS, dê uma olhada na seção [de temas](./developer-theming.md). \ No newline at end of file diff --git a/docs/website/translated_docs/pt_br/site-navbar.md b/docs/website/translated_docs/pt_br/site-navbar.md new file mode 100644 index 000000000000..3ff778d7baf7 --- /dev/null +++ b/docs/website/translated_docs/pt_br/site-navbar.md @@ -0,0 +1,6 @@ +--- +id: site-navbar +title: Barra de Navegação +--- + +Ver [Exibir Menus](./menus-display#navigation-bar) \ No newline at end of file diff --git a/docs/website/translated_docs/pt_br/site-startpage.md b/docs/website/translated_docs/pt_br/site-startpage.md new file mode 100644 index 000000000000..8bdab942403f --- /dev/null +++ b/docs/website/translated_docs/pt_br/site-startpage.md @@ -0,0 +1,8 @@ +--- +id: site-startpage +title: Configurando uma página inicial +--- + +phpBB SiteMaker permite que você escolha qualquer controlador frontal (páginas acessadas via app.php/... como sua página inicial padrão (a página que será mostrada quando alguém visita o seu site) em vez do índice do fórum. + +Para fazer isso: * Vá para a página que você deseja definir como página inicial padrão * Clique em `configurações` na barra de administração. Se é uma página elegível, você verá um `Definir como o botão` da página inicial * Clique no botão `Definir como página inicial` \ No newline at end of file diff --git a/docs/website/translated_docs/ro/blocks-custom.md b/docs/website/translated_docs/ro/blocks-custom.md new file mode 100644 index 000000000000..a9ca8e5fb286 --- /dev/null +++ b/docs/website/translated_docs/ro/blocks-custom.md @@ -0,0 +1,24 @@ +--- +id: bloc-particularizat +title: Bloc personalizat +--- + +Dacă blocurile disponibile nu vă oferă libertatea de care aveţi nevoie, există `blocul personalizat` care vă permite libertatea de a afişa propriul conţinut folosind BBcode sau HTML. Blocul vine cu un editor WYSIWYG (TinyMCE) și un manager de script-uri: + +## Editorul + +- Poți folosi editorul pentru a crea conținut HTML +- Poți edita codul sursă dacă ai nevoie de acel nivel de control făcând clic pe pictograma `codul sursă` (`<>`) din editor +- Editorul vă permite să încărcaţi şi să modificaţi imaginile + - Creează un dosar nou în phpBB/images/sitemaker_uploads/ pentru fiecare utilizator care are acces la el + - Puteți vizualiza/gestiona toate dosarele utilizatorilor +- Editorul filtrează orice script-uri potențial periculoase cum ar fi javascript, etc. Dacă aveţi nevoie să adăugaţi conţinut ca Google Ads, javascript va fi filtrat, dar puteţi trece peste asta făcând următoarele: + - Adaugă blocul personalizat la locația dorită + - Editați blocul personalizat, faceți clic pe tab-ul `HTML` și lipiți Javascript + +## Managerul de scripturi + +Blocul personalizat vă permite, de asemenea, să adăugați fișiere CSS și Javascript la pagina dvs. Pentru a face acest lucru: + +- Adaugă un `bloc personalizat` în orice poziție de bloc. Poziția nu contează decât dacă afișezi și conținut cu blocul +- Editează blocul, click pe tab-ul `Scripturi` și adaugă fișierele CSS sau Javascript > Word de precauție încă: Adăugarea la mai multe scripturi de pe pagina ta poate afecta timpii de încărcare \ No newline at end of file diff --git a/docs/website/translated_docs/ro/blocks-inheritance.md b/docs/website/translated_docs/ro/blocks-inheritance.md new file mode 100644 index 000000000000..44191caac762 --- /dev/null +++ b/docs/website/translated_docs/ro/blocks-inheritance.md @@ -0,0 +1,44 @@ +--- +id: moștenirea-blocuri +title: Înțelegerea moștenirii blocului +--- + +Am văzut deja acest lucru prin setarea unui layout implicit, alte pagini care nu au blocuri proprii vor moșteni blocurile de la layout-ul implicit. Există, totuşi, un alt tip de moştenire în bloc. + +## Rute părinte/copil + +In phpBB SiteMaker, vorbim de rute imbricate in termeni de directoarele imbricate reale (sub) sau practic imbricate pe rute. Te rog să stai cu mine :). * Adevărate trasee pentru părinți/copii: De exemplu, calea /unul_directory/sub_directory/index.php este un copil al /some_directory/index. hp * Virtual Parent/Copil: De exemplu, viewtopic.php este tratat ca un copil de viewforum.php. + +Iată câteva exemple de piste pentru părinți/copii: + +| Părinte | Copil | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/my-article | + +## Moștenire părinte/bloc copil + +Pentru rutele părinte/copil, ruta copil moștenește blocurile rutei părinte (dacă părintele are propriile blocuri) sau din aspectul implicit (dacă unul a fost stabilit). Cu alte cuvinte, chiar dacă există un aspect implicit, ruta copil va moșteni blocuri de pe ruta sa părinte, în cazul în care ruta părinte are propriile blocuri. Dar nu toate blocurile din ruta părinte trebuie moştenite. + +## Controlul moștenirii blocului + +La un nivel de bloc, poți controla când un bloc poate fi moștenit de trasee pentru copii. Am atins acest lucru mai devreme în [Editarea Setări blocului](./blocks-managing#editing-block-settings). + +Luați în considerare următoarea structură de directoare reală: + +```text +phpBB +Ribavirin ─ index.php +Ribavirin ─ filme/ + • ─ index.php + ß ─ pagină.php + 3.2.3 ─ Comedie/ + Ribavirin ─ index.php +``` + +În scopul moştenirii blocurilor, spunem * Calea părinte a /phpBB/Movies/Comedy/index.php este /phpBB/film/index. hp și nu /phpBB/Movies/page.php * Toate paginile dintr-un subdirector în raport cu /phpBB/index.php este o rută copil de /phpBB/index.php. Așadar /phpBB/Movies/index.php și /phpBB/Movies/page.php sunt copii de /phpBB/index.php și, prin urmare, își va moșteni blocurile dacă nu au blocuri proprii. În acest caz: * Când un bloc este pe /phpBB/index. hp este setat pe **Ascundeți pe rutele copii**, blocul va afișa pe /phpBB/index. hp (ruta părinte), dar nu pe traseul său * Atunci când un bloc este pornit /phpBB/index. hp este setat pe **Afișat doar pe rutele pentru copii**, va fi afișat pe /phpBB/filme/index.php și /phpBB/film/pagină. hp (rute pentru copii), dar nu pe /phpBB/index.php (părinte), nici /phpBB/Movies/Comedy/index. hp (mergem doar un singur nivel adâncime) * Când un bloc este pe /phpBB/index. hp este setat să afișeze **întotdeauna** (implicit), va afișa pe /phpBB/index.php (părinte), /phpBB/Movies/index. hp and /phpBB/page.php (rute copii), dar nu pe /phpBB/Movies/Comedy/index.php (mergem doar un singur nivel adânc). În acest caz, /phpBB/Movies/Comedy/index.php va moșteni de pe ruta implicită (dacă există) + +## Starea Posibil a viitorului + +Sunt foarte interesat de feedback-ul tău în acest domeniu. Majoritatea utilizatorilor phpBB nu vor avea directoare reale, așa cum se subliniază mai sus. Așa că mă gândesc să folosesc structura care este definită într-un bloc de meniu ca o structură de director virtual și să aplicați această moștenire părinte/copil la ea. Mă gândesc, de asemenea, să depăşim un nivel mai adânc. Te rog spune-mi dacă acest lucru îți va fi util. \ No newline at end of file diff --git a/docs/website/translated_docs/ro/blocks-managing.md b/docs/website/translated_docs/ro/blocks-managing.md new file mode 100644 index 000000000000..a74497960144 --- /dev/null +++ b/docs/website/translated_docs/ro/blocks-managing.md @@ -0,0 +1,38 @@ +--- +id: blocks-management +title: Mananaging Blocks +--- + +Pentru a gestiona blocurile în phpBB SiteMaker, trebuie să fiți în [Editare Mod](./blocks-overview#edit-mode). + +> Cand un bloc nu afiseaza nici un continut, nu va fi afisat, cu exceptia modului de editare. În acest fel, fie îi poți da conținut (în cazul blocului personalizat) fie îi poți schimba setările. +> +> În modul de editare blocurile oarecum transparente sunt blocuri care altfel nu vor fi afișate, dar sunt afișate doar pentru că suntem în modul de editare + +## Adăugarea de blocuri + +Puteți adăuga blocuri la orice pagină frontală, cu excepția paginilor Panoului de Control al Utilizatorilor și Panoului de Control Moderator. Pentru a adăuga un bloc, va trebui să: * apasă pe **Blocurile** din bara de administrare. Acest lucru va afișa o listă de blocuri disponibile * Trage și plasează blocul dorit în orice poziție de bloc + +## Editare blocuri + +### Adăugare pictogramă bloc + +În stânga titlului blocului (prosilver), există o casetă pentru iconița blocului. Faceţi clic pe această casetă pentru a obţine selectorul de icoane. Poți selecta dimensiunea pictogramelor, culoarea, pluta, rotația, etc. + +### Editează titlul blocului + +blocurile SiteMaker phpBB vor avea un titlu implicit tradus, dar dacă titlul nu satisface nevoile tale, îl poți modifica. Pentru a edita titlul blocului, * Faceți clic pe titlul blocului pentru a obține un formular de editare în linie * Schimbați titlul la orice doriți * Eliminați focalizarea din câmp sau apăsați enter pentru a trimite modificări + +> Titlul blocului modificat nu este tradus +> +> Pentru a reveni la titlul implicit, simpla ștergere a titlului și apăsați enter + +### Editare setări bloc + +Când plutești peste un bloc, o pictogramă de ceață va apărea în dreapta blocului care poate fi folosit pentru a edita blocul. În caseta de dialog a blocului de editare, puteți: - Activați/dezactivați un bloc [Status] - Alegeți când blocul ar trebui/nu ar trebui afișat [Display]. Acest lucru se aplică numai în cazurile în care ai pagini imbricate (vezi [Înțelegerea moștenirii blocului](./blocks-inheritance.md)): - **Întotdeauna**: Afișează blocul - **Ascunde pe rutele pentru copii**: Arată doar acest bloc pe ruta părinte - **Arată doar pe rutele pentru copii**: Arată acest bloc pe o rută de copii - Alege ce grupuri de utilizatori pot vizualiza blocul [Vizualizabil]. Utilizați CTRL + faceți clic pentru a selecta mai multe grupuri. - Setați clase personalizate pentru a modifica aspectul blocului sau al articolelor (liste, imagini, fundal, etc) în interiorul blocului [Clasa CSS] - Arată/ascunde titlul blocului [Ascunde titlul blocului? - Selectați vizualizarea blocului [Vizualizare bloc]. Puteți selecta o vizualizare implicită a blocului atunci când sunt adăugate blocuri noi în ACP. - **Implicit / Simplu**: folosește clasa panourilor de prosilver pentru a înfășura blocul într-un container padded - **Basic**: blocul nu are nici un container împachetat - **Cuprins**: folosește clasa cu forabg prosilver pentru a înfășura blocul într-o căsuță - Setează / Actualizează setările specifice blocului - Dacă ai același bloc cu aceleași setări pe mai multe pagini, le puteți actualiza imediat verificând blocurile **Actualizare cu setări similare** + +## Ştergere blocuri + +- Treci peste blocul pe care dorești să îl ștergi +- Faceți clic pe pictograma **x** și confirmați că doriți să ștergeți blocul +- Mergeți în sus la bara de administrare și faceți clic pe `Salvează Modificările` \ No newline at end of file diff --git a/docs/website/translated_docs/ro/blocks-overview.md b/docs/website/translated_docs/ro/blocks-overview.md new file mode 100644 index 000000000000..091947b01143 --- /dev/null +++ b/docs/website/translated_docs/ro/blocks-overview.md @@ -0,0 +1,10 @@ +--- +id: block-overview +title: Ce sunt blocurile? +--- + +În inima phpBB SiteMaker este conceptul blocurilor. Blocurile sunt bucăți mici de conținut pe care le poți plasa în diferite zone predefinite (poziții blocate) pe site-ul tău. De obicei, blocurile vor avea setări pe care le puteți seta/modifica pentru a regla conținutul pe care doriți să îl afișați. Cele mai multe blocuri, dar nu toate, vor face interogări de baze de date pentru a obține conținutul dorit. Deci să nu ne înnebunim prea mult :). Pentru a gestiona blocurile, va trebui să comutați la "modul de editare". + +## Mod editare + +Comutați la modul de editare făcând clic pe pictograma creion din dreapta sus a site-ului dvs. Acest lucru va afişa "Bara de administrare" cu "Blocks" şi elementele de meniu "Setări". Acest lucru este denumit „modul de editare”. \ No newline at end of file diff --git a/docs/website/translated_docs/ro/blocks-views.md b/docs/website/translated_docs/ro/blocks-views.md new file mode 100644 index 000000000000..0e54e5a015aa --- /dev/null +++ b/docs/website/translated_docs/ro/blocks-views.md @@ -0,0 +1,6 @@ +--- +id: blocuri-vizualizari +title: Vizualizari bloc +--- + +Lucrări în desfășurare... \ No newline at end of file diff --git a/docs/website/translated_docs/ro/contrib-overview.md b/docs/website/translated_docs/ro/contrib-overview.md new file mode 100644 index 000000000000..c8cb03317e54 --- /dev/null +++ b/docs/website/translated_docs/ro/contrib-overview.md @@ -0,0 +1,11 @@ +--- +id: contribuție-prezentare +title: Implicați +--- + +phpBB SiteMaker este un proiect open source și salută ideile și contribuțiile dumneavoastră. Aşa că nu ezitaţi să vă implicaţi. Puteți contribui la acest proiect prin: + +* [Furnizarea de suport/feedback](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Raportează erorile](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Ajutor cu Traducerea](./contrib-translators.md) +* [Remedierea erorilor sau adăugarea de caracteristici](./contrib-pull-requests.md) \ No newline at end of file diff --git a/docs/website/translated_docs/ro/contrib-pull-requests.md b/docs/website/translated_docs/ro/contrib-pull-requests.md new file mode 100644 index 000000000000..fc78e72ed3c2 --- /dev/null +++ b/docs/website/translated_docs/ro/contrib-pull-requests.md @@ -0,0 +1,76 @@ +--- +id: contribuți-pull-requests +title: Trimiterea unei cereri de tragere +sidebar_label: Trageți cererile +--- + +`Trageți cererile pentru a le spune celorlalți despre modificările pe care le-ați împins la o sucursală dintr-un depozit pe GitHub. Odată ce cererea de tragere este deschisă, puteți discuta și analiza schimbările potențiale cu colaboratori și adăuga angajamente de monitorizare înainte ca modificările să fie îmbinate în sucursala de bază.` [Citește mai mult](https://help.github.com/articles/about-pull-requests/) + +## Forjare/Clonare + +* Creează un cont github dacă nu ai deja unul +* Mergeți la https://github.com/blitze/phpBB-ext-sitemaker.git și faceți clic pe "Fork" + +Clonați furculița din depozit: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +De la linia de comandă mergeți la directorul sitemaker: + + cd phpBB/ext/blitze/sitemaker + + +**Configurare git:** + +Adaugă numele tău de utilizator la Git în sistemul tău: + + git config --global user.name "Numele dvs aici" + + +Adaugă adresa ta de e-mail la Git pe sistem: + + git config --add user.email username@phpbb.com + + +Adaugă telecomanda din amonte (poți schimba 'în amonte' în orice dorești): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + + +**Instalare furnizor** + + Instalare compozitor + + +**Instalaţi pachetele NPM** + + npm install + + +Alternativ, poți folosi [yarn](https://yarnpkg.com): + + instalare yarn + + +## Trageți cererile + + # Creați o sucursală nouă pentru caracteristica dvs. & comutați la aceasta + caracteristica git checkout -b /my-fancy-new-feature + + # creați o sucursală nouă pentru problema la care lucrați * comutați la ea (ticket # is from github tracker) + git checkout -b ticket/1234 + + +Efectuați modificările + + # Etapa fișierelor + git add + + # Fișiere de angajament în etape - vă rugăm să utilizați un mesaj de comitere corect + git commit -m "Mesajul meu de comitere" + + +Apăsați sucursala înapoi la GitHub git push origin feature/my-fancy-new-feature + +Trimite o [cerere de tragere](https://github.com/blitze/phpBB-ext-sitemaker/pulls) \ No newline at end of file diff --git a/docs/website/translated_docs/ro/contrib-translators.md b/docs/website/translated_docs/ro/contrib-translators.md new file mode 100644 index 000000000000..4b352349dce2 --- /dev/null +++ b/docs/website/translated_docs/ro/contrib-translators.md @@ -0,0 +1,17 @@ +--- +id: Colaboratori-traducători +title: Traducători +--- + +Avem nevoie de ajutor pentru traducerea acestei prelungiri, precum şi a documentaţiei sale. Am creat un proiect pe Crowdin pentru a uşura traducerile. Crowdin vă oferă o interfaţă de traducere care este secundară pentru nimeni. Poți contribui cât de mult vrei, dar îți recomandăm să folosești Crowdin. + +> Crowdin este o platformă de management al localizării care ajută companiile să îşi traducă software-ul. Poti citi mai multe despre Crowdin [aici](https://support.crowdin.com/crowdin-intro/) + +Dacă ești dispus să contribui cu traduceri, vei avea nevoie de: + +* Un cont de [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker). +* Alegeţi limba ţintă dacă există altă solicitare pentru a fi activată. + +Dacă limba dorită nu este listată, vă rugăm [să mă contactaţi](https://crowdin.com/profile/blitze) şi o voi adăuga. + +[Începe traducerea](https://crowdin.com/project/phpbb-ext-sitemaker) \ No newline at end of file diff --git a/docs/website/translated_docs/ro/developer-events.md b/docs/website/translated_docs/ro/developer-events.md new file mode 100644 index 000000000000..e467560826dd --- /dev/null +++ b/docs/website/translated_docs/ro/developer-events.md @@ -0,0 +1,120 @@ +--- +id: evenimente dezvoltator +title: Evenimente fpBB SiteMaker +--- + +Puteți modifica comportamentul phpBB SiteMaker folosind sistemul de evenimente al phpBB. + +## Evenimente PHP + +# blitze.sitemaker.acp_add_bulk_menu + +- Locatie: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- De la: 3.1.0 +- Scop : Adăugare opţiuni meniu în meniul acp + +# blitze.sitemaker.acp_display_settings_form + +- Locatie: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- De la: 3.1.0 +- Scopul: display acp (sitemaker) setări formular + +# blitze.sitemaker.acp_save_settings + +- Locatie: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- De la: 3.1.0 +- Scop : Salvare acp (sitemaker) setări + +# blitze.sitemaker.admin_bar.set_assets + +- Locatie: /phpBB/ext/blitze/sitemaker/servicii/blocuri/admin_bar.php +- De la: 3,0,1 RC1 +- Scopul: Adaugă active pentru blocurile disponibile în modul editare + +# blitze.sitemaker.modify_block_positions + +- Locatie: /phpBB/ext/blitze/sitemaker/servicii/blocuri/blocks.php +- De la: 3,0,1 RC1 +- Scopul: Modifică pozițiile blocului + +# blitze.sitemaker.modify_rendered_block + +- Locatie: /phpBB/ext/blitze/sitemaker/servicii/blocuri/blocks.php +- De la: 3,0,1 RC1 +- Scop : Modifică un bloc randat + +## Evenimente șablon + +# setari blitze_sitemaker_acp_ + +- Locatie: /phpBB/ext/blitze/sitemaker/ad/style/acp_settings.html +- De la: 3.1.0 +- Scopul: Adăugați câmpuri formular pentru setările de sitemaker + +# blitze_sitemaker_admin_bar_append + +- Locație: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- De la: 3.1.0 +- Scop : Adaugă elemente de meniu în bara de administrare + +# blitze_sitemaker_admin_bar_template-uri + +- Locație: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- De la: 3.1.0 +- Scop : Adauga sablon fisiere pentru a fi folosite in JS pentru vizualizari blocate, etc + +## Evenimente Javascript + +# blitze_sitemaker_layout_saved + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/componente/AdminBar/SaveLayout/index.js +- De la: 3.1.2 +- Scopul: Eveniment pentru a permite altor extensii să facă ceva atunci când modificările de aspect sunt salvate + +# blitze_sitemaker_render_block_înainte + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/componente/BlockRenderer/index.js +- De la: 3.1.2 +- Scopul: Eveniment pentru a permite altor extensii să facă ceva înainte ca blocul să fie randat sau să împiedice reredarea lui + +# blitze_sitemaker_render_block_after + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/componente/BlockRenderer/index.js +- De la: 3.1.2 +- Scopul: Eveniment pentru a permite altor extensii să facă ceva după bloc este randat + +# blitze_sitemaker_save_block_înainte + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/componente/BlocksManager/Edit/index.js +- De la: 3.1.2 +- Scop : Eveniment pentru a permite altor extensii să modifice datele blocului înainte de a fi salvat + +# blitze_sitemaker_show_all_block_positions + +- Locație: /phpBB/ext/blitze/sitemaker/develop/componente/poziții/poziții.js +- De la: 3.1.2 +- Scopul: Eveniment pentru a permite altor extensii să facă ceva atunci când toate pozițiile blocului sunt afișate + +# blitze_sitemaker_hide_empty_block_positions + +- Locație: /phpBB/ext/blitze/sitemaker/develop/componente/poziții/poziții.js +- De la: 3.1.2 +- Scopul: Eveniment pentru a permite altor extensii să facă ceva atunci când pozițiile goale sunt ascunse + +# blitze_sitemaker_layout_cleared + +- Locație: /phpBB/ext/blitze/sitemaker/develop/componente/poziții/poziții.js +- De la: 3.1.2 +- Scopul: Eveniment pentru a permite altor extensii să facă ceva atunci când aspectul este eliminat + +# blitze_sitemaker_layout_actualizat + +- Locație: /phpBB/ext/blitze/sitemaker/develop/componente/poziții/poziții.js +- De la: 3.1.2 +- Scopul: Eveniment pentru a permite altor extensii să facă ceva atunci când layout este actualizat + +# opțiuni blitze_sitemaker_tinymce_optiones + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/componente/CustomBlock/index.js +- De la: 3,0 +- Scopul: Eveniment pentru a permite altor extensii să modifice opțiunile tinymce \ No newline at end of file diff --git a/docs/website/translated_docs/ro/developer-extensions.md b/docs/website/translated_docs/ro/developer-extensions.md new file mode 100644 index 000000000000..14eeed8d4691 --- /dev/null +++ b/docs/website/translated_docs/ro/developer-extensions.md @@ -0,0 +1,177 @@ +--- +id: extensii-dezvoltatori +title: Extindere fpBB SiteMaker +--- + +Puteți extinde/modifica phpBB SiteMaker folosind [înlocuirea serviciului](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [decor serviciu](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), și [sistemul de evenimente phpBB](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Poți găsi o listă de evenimente acceptate [aici](./developer-events.md). + +## Crearea unui bloc SiteMaker + +Un bloc phpBB SiteMaker este pur și simplu o clasă care extinde blitze\sitemaker\services\blocks\driver\block class și returnează un array din metoda "display" cu 'title' și 'content'. Orice altceva între tine depinde de tine. Pentru a face blocul tău să poată fi descoperit de către phpBB SiteMaker, va trebui să-i dai eticheta "sitemaker.block". + +Spune că avem o extensie cu vânzător/extensie ca exemplu/exemplu. Pentru a crea un bloc numit "my_block" pentru phpBB SiteMaker: + +- Creați un dosar "blocuri" +- Creaza fisierul my_block.php in folderul blocurilor cu urmatorul continut + +```php +namespace me\exemplu\blocks; + +folosește blitze\sitemaker\services\blocks\driver\block; + +clasa my_block extinde blocul +{ + /** + * {@inheritdoc} + */ + functie publica display(array $settings, $edit_mode = false) + { + return array( + 'title' => 'titlul blocului meu', + 'conținut' => 'Conținutul meu de bloc', + ); + } +} +``` + +Apoi in fisierul config.yml, adauga urmatoarele: + +```yml +servicii: + +... + + my.example.block.my_block: + class: my\example\blocks\my_block + apeluri: + - [set_name, [my.example.block.my_block]] + etichete: + - { name: sitemaker.block } + +.... + +``` + +La un nivel minim, asta e tot ce ai nevoie. Dacă mergeți în modul de editare, trebuie să vedeți blocul listat ca 'MY_EXAMPLE_BLOCK_MY_BLOCK' care poate fi mutat și scăpat pe orice poziție de bloc. Dar acest bloc nu face nimic captivant. Nu are setări și nu traduce numele blocului. Hai să-l facem mai interesant. + +### Setări Bloc + +Hai să ne modificăm blocurile/blocurile. hp fişier şi adaugă o metodă "get_config" la returnează un array cu tastele fiind setările blocului şi valorile fiind un array care descrie setările astfel: + +```php + /** + * @inheritdoc + */ + funcție publică get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'casetă' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'implicit' => array(, 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explică' => false, 'implicit' => 'subiect'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explică' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'opțiuni' => $options, 'implicit' => array(), 'explicați' => false), + 'legendă2' => 'TAB2', + 'număr' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'implicit' => 5), + 'zona text' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'implicit' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'implicit' => '', 'append' => '
Arată numai când opțiunea 1 este selectată
'), + ); +} +``` + +Aceasta este construită în acelaşi mod în care phpBB construieşte configuraţia pentru setările de secţiune în ACP. Mai multe exemple [aici](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Dacă doriţi un tip de câmp personalizat, puteţi vedea un exemplu [aici](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) (setarea ('content_type'). + +Observați 'legend1' și 'legend2': Acestea sunt folosite pentru a separa setările în file. + +### Blocuri de nume + +Convenţia pentru numele blocului este că numele serviciului (de ex. my.example.block. y*blocul de mai sus) va fi folosit ca tasta de limbă prin înlocuirea punctelor (.) cu underscore (*(ex. MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Traducere + +Observați de asemenea că avem mai multe chei lingvistice care trebuie traduse. Pentru a face acest lucru, creați un fișier numit "blocks_admin.php" în folderul de limbă. Acest fisier va fi incarcat automat la editarea blocurilor, si ar trebui sa aiba traduceri pentru setarile blocurilor si numele blocurilor. + + $lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Opțiunea 1', + 'OTHER_LANG_VAR' => 'Opțiunea 2', + 'SOME_LANG_VAR_1' => 'Setting 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Blocul meu', + ); + + +Deoarece 'blocks_admin.php' este încărcat doar când editezi blocuri, va trebui să adaugi alte traduceri (de ex. blochează titlul) prin încărcarea unui fișier de limbă în metoda afișată ca `$language->add_lang('my_lang_file', 'my/exemplu');` + +### Redare bloc + +Noul bloc va fi afișat doar în cazul în care randează ceva. Blocul tău poate returna orice șir de caractere ca conținut, dar în majoritatea cazurilor, ai nevoie de un șablon pentru a reda conținutul tău. Pentru a reda blocul tău folosind șabloane, blocul trebuie să returneze un array care conține datele pe care doriți să le transmiteți la șablon și trebuie, de asemenea, să implementeze metoda `get_template` după cum se arată mai jos: + +```php + /** + * @inheritdoc + */ + funcție publică get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + funcție publică get_template() + { + return '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // face ceva numai în modul de editare + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Apoi fişierul styles/all/my_block.html sau styles/prosilver/my_block.html ar putea arăta astfel: + +

Ai selectat: {{ some_var }}

+ + +Pe scurt, blocul tău trebuie să returneze un array cu o cheie `titlu` (pentru titlul blocului) și o tastă `conținut` (dacă blocul doar afișează un șir de caractere și nu folosește un șablon) sau o cheie `de date` (dacă blocul folosește un șablon, caz în care va trebui de asemenea să implementați metoda `get_template`). + +### Blochează active + +În cazul în care blocul dvs. trebuie să adauge active (css/js) la pagină, vă recomand să folosiți sitemaker [util clasa](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) pentru asta. Deoarece pot exista mai multe instanțe ale aceluiași bloc pe pagină, sau alte blocuri ar putea adăuga același activ, clasa util asigură că activul este adăugat doar unu. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/unele. s', + 100 => '@my_example/assets/other. s', // setează prioritatea + ), + 'css' => array( + '@my_example/assets/unele. ss', + ) +)); +``` + +Clasa util va trebui, desigur, să fie adăugată la definițiile serviciului în config.yml astfel: `- '@blitze.sitemaker. til'` și definit în constructorul blocului `\blitze\sitemaker\services\util $util`. + +Şi asta e tot. Am terminat! \ No newline at end of file diff --git a/docs/website/translated_docs/ro/developer-theming.md b/docs/website/translated_docs/ro/developer-theming.md new file mode 100644 index 000000000000..27a683530700 --- /dev/null +++ b/docs/website/translated_docs/ro/developer-theming.md @@ -0,0 +1,55 @@ +--- +id: dezvoltator-tema +title: Tema +--- + +phpBB SiteMaker vine cu stiluri și culori create pentru prosilver. Poți suprascrie fișierele CSS, JS și HTML creând fișierul corespunzător în dosarul stilului tău. + +# Se creează fişiere JS/CSS pentru stilul tău + +Notă: * În scopul instrucțiunilor de mai jos vom presupune că ai un stil numit stilul meu. + +Clonați în phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +De la linia de comandă mergeți la directorul sitemaker: + + cd phpBB/ext/blitze/sitemaker + + +**Instalare furnizor** + + Instalare compozitor + + +**Instalare pachete** + +Pentru comenzile de mai jos poți folosi npm sau [yarn](https://yarnpkg.com) + + instalare yarn + + +**Urmărește modificările** + + yarn start --stil temă mea + + +**Efectuează modificări** + +* Fă modificările tale la fișierele din folderul phpBB/ext/blitze/sitemaker/dezvoltă. +* Uita-te la phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss pentru variabilele sass + +**Construiește active** + + yarn build --theme my-style + + +**Desfășurare** + +Acum puteţi copia fişierele generate din phpBB/ext/blitze/sitemaker/styles/my-style şi să le încărcaţi pe serverul de producţie. + +> Această extensie folosește jQuery UI pentru file, dialoguri și butoane. Tema jQuery implicită este 'netedă'. Puteţi utiliza o altă temă a interfeţei jQuery care se potriveşte cel mai bine temei. Puteţi specifica tema jQuery UI folosind steagul --jq_ui_theme. De exemplu: + + yarn build --theme my-style --jq_ui_theme ui-light \ No newline at end of file diff --git a/docs/website/translated_docs/ro/filemanager.md b/docs/website/translated_docs/ro/filemanager.md new file mode 100644 index 000000000000..08caa9b8029e --- /dev/null +++ b/docs/website/translated_docs/ro/filemanager.md @@ -0,0 +1,34 @@ +--- +id: filemanager +title: Responsive Filemanager +--- + +As of version 3.1.0, phpBB SiteMaker supports the [Responsive Filemanager](http://responsivefilemanager.com) + +* The file manager is used as a TinyMCE pluging (WYSIWYG editor) when editing custom blocks +* It is currently configured to creat separate folders for each user, except the user with a_sm_filemanager permission (Can see/manage other users' folders), which allows them access to view/manage all upload folders. + +## Installation + +* Download the [Responsive FileManager](http://responsivefilemanager.com/index.php#sthash.5UrnhjX2.dpbs) +* Extract it, and upload the files to your phpBB root folder. The file structure should be as below: + +```text +phpBB +├── images/ +├── includes/ +├── ... +└── ResponsiveFilemanager/ + └── filemanager/ + └── config/ + ├── .htaccess + └── config.php +``` + +## Activation + +* Go to ACP > Extensions > SiteMaker > Settings +* Enable File Manager feature +* Save changes +* Update user permissions (Misc tab) to determine who can use this feature [Can use File Manager] +* Update admin permissions (Misc tab) to determine who can manager user folders [Can see/manage other users’ folders in File Manager] \ No newline at end of file diff --git a/docs/website/translated_docs/ro/installation.md b/docs/website/translated_docs/ro/installation.md new file mode 100644 index 000000000000..59a146f3d7a5 --- /dev/null +++ b/docs/website/translated_docs/ro/installation.md @@ -0,0 +1,18 @@ +--- +id: instalare +title: Instalare / Actualizare +--- + +Descarcă extensia de la [aici](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker + +* Extrage și încarcă în dosarul tău phpBB/ext/ pentru a avea phpBB/ext/blitze/sitemaker +* Mergeți la "ACP" > "Personalizare" > "Extensii" și activați extensia "phpBB Sitemaker". + +## Actualizând fpBB SiteMaker + +* Creați o copie de rezervă a bazei de date doar în cazul în care ceva nu merge bine +* Mergeți la "ACP" > "Personalizare" > "Extensii" și dezactivați (nu purificați) "phpBB Sitemaker" +* Descărcați și extrageți cea mai recentă versiune de siteMaker phpBB și încărcați-o în folderul phpBB/ext/ (suprascriere) +* Mergeți la "ACP" > "Personalizare" > "Extensii" și activați extensia "phpBB Sitemaker". \ No newline at end of file diff --git a/docs/website/translated_docs/ro/introduction.md b/docs/website/translated_docs/ro/introduction.md new file mode 100644 index 000000000000..1a90746324b1 --- /dev/null +++ b/docs/website/translated_docs/ro/introduction.md @@ -0,0 +1,6 @@ +--- +id: Introducere +title: Introducere +--- + +phpBB SiteMaker caută să transforme tab-ul phpBB într-un CMS/portal. Face acest lucru oferindu-vă blocuri și meniuri pentru a vă ajuta să vă personalizați site-ul după preferințele dvs. Există sau va exista alte extensii SiteMaker care oferă funcționalități suplimentare pentru a îndeplini acest obiectiv. De asemenea, vă permite să definiți o pagină de aterizare atunci când este accesat site-ul dvs. Așadar, dacă nu doriți ca vizitatorii de pe site-ul dvs. să vadă imediat forumul phpBB atunci când se duc la www. our-site.com, îți poți defini propria pagină de început. \ No newline at end of file diff --git a/docs/website/translated_docs/ro/menus-display.md b/docs/website/translated_docs/ro/menus-display.md new file mode 100644 index 000000000000..8477d7e4e419 --- /dev/null +++ b/docs/website/translated_docs/ro/menus-display.md @@ -0,0 +1,18 @@ +--- +id: afișare meniuri +title: Afișare Meniuri +--- + +Acum că v-aţi creat meniurile, le puteţi afişa în mai multe moduri: + +## Bloc: Link-uri + +Puteți utiliza acest bloc pentru a afișa o listă plană sau imbricată de elemente de meniu. Acest bloc nu este destinat pentru navigare, adică nu va afișa o pagină curentă sau ceva asemănător. Acesta este destinat pentru o listă de articole, inclusiv linkuri externe. + +## Bloc: Meniuri + +Acest bloc este destinat pentru navigarea site-ului. Face unele calcule suplimentare pentru a determina locaţia curentă şi nu se intenţionează a fi o listă foarte mare. + +## Bara de navigare + +Similar cu blocul Menus, bara de navigare va afișa elementele de meniu ca un meniu vertical responsiv destinat navigării pe site. Puteți activa acest lucru în ACP > Extensii > articole > Setări > Selectaţi meniu \ No newline at end of file diff --git a/docs/website/translated_docs/ro/menus-managing-items.md b/docs/website/translated_docs/ro/menus-managing-items.md new file mode 100644 index 000000000000..b0d5ea9d0b88 --- /dev/null +++ b/docs/website/translated_docs/ro/menus-managing-items.md @@ -0,0 +1,30 @@ +--- +id: meniuri-gestionare-elemente +title: Elemente de meniu gestionat +--- + +Meniul tău este inutil dacă nu are elemente de meniu. Puteţi adăuga elemente de meniu care indică fişierele locale sau externe. + +> URL-ul pentru siturile externe trebuie să înceapă cu http(s)://, ftp://, //, etc. +> +> Puteți crea o despărțitoare prin introducerea '-' ca titlu articol + +## Adăugarea elementelor din meniu + +Puteți adăuga elemente de meniu câte un dată, sau puteți adăuga mai multe elemente de meniu la unu. + +### Adăugarea unui singur meniu + +Pentru a adăuga un singur element de meniu, * faceți clic pe butonul `Adăugare element de meniu` * Completați informațiile necesare și apăsați `Salvați` + +### Adăugarea mai multor elemente + +To add multiple menu items at once, * Click on the ▼ icon next to `Add Menu Item` * You can manually add items by placing each item on a new line and using the tab character nest items or * You can click on one of the provided options at the bottom of the textarea to automatically fill in the menu items + +## Reordonați elementele meniului + +Puteți trage și plasa elementele din meniu în sus/jos pentru a seta ordinea de afișare, sau trage-le la stânga/dreapta pentru a seta ierarhia dorită. + +## Reconstruieşte elementele de meniu + +Dacă găsiți că elementele de meniu nu sunt afișate corect, faceți clic pe butonul `Reconstruiește arborele` pentru a reconstrui elementele de meniu. \ No newline at end of file diff --git a/docs/website/translated_docs/ro/menus-managing.md b/docs/website/translated_docs/ro/menus-managing.md new file mode 100644 index 000000000000..c9311f6fa3e4 --- /dev/null +++ b/docs/website/translated_docs/ro/menus-managing.md @@ -0,0 +1,22 @@ +--- +id: administrare meniuri +title: Meniuri de gestionare +--- + +Puteți crea meniuri în ACP pe care le puteți afișa apoi folosind blocurile de meniuri sau link-urile sau afișate ca bară de navigare orizontală. + +## Meniuri de gestionare + +Pentru a gestiona meniurile, accesați ACP > Extensii > articole > Meniu + +### Crearea meniurilor + +Pentru a crea un meniu nou (grup), faceți clic pe butonul `Adaugă meniu`. Un nou grup de meniuri va fi creat cu un nume generat aleator. Noul meniu va fi de asemenea selectat astfel încât să puteți începe să adăugați elemente de meniu la el. + +### Editare Meniuri + +Dacă doriţi un nume de meniu mai semnificativ, * plimbați peste numele meniului și faceți clic pe pictograma cog * introduceți noul nume de meniu și apăsați enter pentru a-l actualiza + +### Ştergere meniuri + +Pentru a șterge un meniu, și elementele lui, * Treceți peste numele meniului și faceți clic pe pictograma **x** * Dacă elementul de meniu nu are elemente copii; va trebui să confirmați alegerea dvs. pentru a șterge elementul * Dacă elementul de meniu are elemente copii, trebuie să indicați dacă doriți să ștergeți numai elementul și să mutați copiii acestuia în sus sau dacă doriți să ștergeți întreaga ramură \ No newline at end of file diff --git a/docs/website/translated_docs/ro/site-block-modifiers.md b/docs/website/translated_docs/ro/site-block-modifiers.md new file mode 100644 index 000000000000..8eb1b39fa1d5 --- /dev/null +++ b/docs/website/translated_docs/ro/site-block-modifiers.md @@ -0,0 +1,6 @@ +--- +id: modificatori-site +title: Particularizare blocuri afişate +--- + +Lucrări în desfășurare... \ No newline at end of file diff --git a/docs/website/translated_docs/ro/site-default-layout.md b/docs/website/translated_docs/ro/site-default-layout.md new file mode 100644 index 000000000000..c34fe9d01633 --- /dev/null +++ b/docs/website/translated_docs/ro/site-default-layout.md @@ -0,0 +1,10 @@ +--- +id: site-default-layout +title: Setarea unui Layout implicit +--- + +Atunci când adăugați un bloc, acesta este adăugat la acea pagină specifică. Prin urmare, ar fi o sarcină obositoare să setezi blocuri pentru toate paginile de pe site-ul tău. Puteți seta toate blocurile dorite pentru o anumită pagină, apoi setați acea pagină ca aspect implicit. În alte cuvinte, orice pagină care nu are propriile blocuri, va moșteni blocuri de pe această pagină. + +Pentru a seta un aspect implicit * Mergeți la pagina pe care doriți să o setați ca aspect implicit * Faceți clic pe `Setări` în bara de administrare * Faceți clic pe butonul `Set ca aspect implicit` + +Spune că am adăugat blocuri unei pagini (phpBB/index.php) cu blocuri în bara laterală și pozițiile de sus, de exemplu, și am setat-o ca aspect implicit. Acesta are următoarele efecte pentru alte pagini: * Orice pagină care nu are propriile blocuri, va moșteni blocurile din layout-ul implicit. Vezi [Înțelegerea moștenirii blocului](./blocks-inheritance.md) pentru excepții. * Încă puteți moșteni blocuri de la un aspect implicit (index). hp) dar alege să nu afișeze blocuri pe unele poziții din bloc sau să nu afișeze niciun bloc. În acest scop, * Mergeți la pagina pe care nu doriți să o afișați toate/unele blocuri * Faceți clic pe `Setări` în bara de administrare * Selectați `Nu afișați blocuri pe această pagină` dacă nu doriți să moșteniți/afișați niciun bloc pe această pagină SAU * Utilizați CTRL + faceți clic pentru a selecta pozițiile blocului (pe dreapta) pe care nu doriți să le afișați pe * În modul de editare ``, o pagină care moștenește blocuri din aspectul implicit, nu va afișa nici un bloc, dând posibilitatea de a adăuga blocuri la pagină dacă doriţi să * Orice pagină care are propriile blocuri nu va moşteni de la aspectul implicit \ No newline at end of file diff --git a/docs/website/translated_docs/ro/site-layouts.md b/docs/website/translated_docs/ro/site-layouts.md new file mode 100644 index 000000000000..b226972d0fa7 --- /dev/null +++ b/docs/website/translated_docs/ro/site-layouts.md @@ -0,0 +1,20 @@ +--- +id: layout-uri +title: Aranjări +--- + +"Schemele" determină pozițiile disponibile ale blocului și modul în care acestea sunt afișate. + +## Poziții bloc + +Pozițiile blocului sunt zone predefinite pe site-ul tău unde blocurile pot exista. Pozițiile disponibile ale blocului sunt determinate de stilul șablonului pe care îl utilizați. Pentru prosilver, phpBB SiteMaker vine cu următoarele poziții ale blocului: * panou: lățimea completă în partea de sus * bara laterală: stânga/dreapta în funcție de aspectul de sub * subconținut: similar cu bara laterală puțin mai mare * blocuri orizontale în partea de sus, atașat deasupra sidebar/subconținutului în funcție de aspectul * sus: deasupra conținutului principal * casetă: lățime egală, blocuri orizontale sub conţinutul principal * dedesubtul conţinutului principal * blocuri orizontale de jos în jos, atașarea sidebar/subconținut în funcție de layout * subsol: blocuri orizontale în subsol Puteți adăuga mai multe poziții de bloc în stilul dvs prin copierea și modificarea șabloanelor corespunzătoare phpBB SiteMaker + +## Aspect site + +Poți alege aspectul site-ului tău în ACP (Extensii > Sitemaker > Setări): * **Blog**: subconținut și bară laterală una lângă cealaltă, împins la dreapta, sus hor/botom_hor flank subconţinut * **Graal Sfânt**: lăţime laterală egală şi subconţinut pe laturile opuse, subconţinut în flanc top_hor/botom_hor * **Portal**: sidebar în stânga, subconţinut în dreapta, top_hor/botom_hor în flanc * **Alt portal**: subconținut în stânga, bara laterală din dreapta, bara laterală top_hor/botom_hor * **Personalizată**: setează manual lățimea sidebarelor ca px, %, em sau rece. Implicit este 200px pe fiecare parte + +## Sabloane/stiluri personalizate + +cât mai mult posibil, am încercat să punem fișiere șablon și active în stiluri/toți/folderul pentru a le putea suprascrie creând un fișier cu același nume în tema dvs. temă. . prosilver. Așa că dacă doriți să modificați modul în care se afișează un anumit bloc sau dacă doriți să vă creați propriul layout cu propriile dvs. poziții blocate, trebuie doar să creați un fișier cu același nume și aceeași cale ca și originalul din propriul stil. + +Dacă trebuie să personalizați fișierele CSS/JS, aruncați o privire la secțiunea [Tema](./developer-theming.md). \ No newline at end of file diff --git a/docs/website/translated_docs/ro/site-navbar.md b/docs/website/translated_docs/ro/site-navbar.md new file mode 100644 index 000000000000..100de012cfc3 --- /dev/null +++ b/docs/website/translated_docs/ro/site-navbar.md @@ -0,0 +1,6 @@ +--- +id: site-navbar +title: Bara de navigare +--- + +Vezi [Afișarea meniurilor](./menus-display#navigation-bar) \ No newline at end of file diff --git a/docs/website/translated_docs/ro/site-startpage.md b/docs/website/translated_docs/ro/site-startpage.md new file mode 100644 index 000000000000..86a21e29f9e2 --- /dev/null +++ b/docs/website/translated_docs/ro/site-startpage.md @@ -0,0 +1,8 @@ +--- +id: site-startpage +title: Setarea unei pagini de start +--- + +phpBB SiteMaker vă permite să alegeți orice controlor din față (paginile accesate prin app.php/... ca pagină de start implicită (pagina care va fi afișată atunci când cineva vizitează site-ul tău) în locul indexului forumului. + +Pentru a face acest lucru: * Du-te la pagina pe care vrei să o setezi ca implicită de început * Dă click pe `Setări` în bara de administrare. Dacă este o pagină eligibilă, vei vedea un `Setează ca pagină de start` buton * Apasă pe butonul `Setează ca pagină de start` \ No newline at end of file diff --git a/docs/website/translated_docs/ru/blocks-custom.md b/docs/website/translated_docs/ru/blocks-custom.md new file mode 100644 index 000000000000..e571bfa9c80f --- /dev/null +++ b/docs/website/translated_docs/ru/blocks-custom.md @@ -0,0 +1,24 @@ +--- +id: пользовательские блоки +title: Пользовательский блок +--- + +Если доступные блоки не дают тебе нужную свободу, есть `Пользовательский блок` , который позволяет вам свободно отображать свой собственный контент с помощью BBcode или HTML. Блок поставляется с WYSIWYG редактором (TinyMCE) и менеджером скриптов: + +## Редактор + +- Вы можете использовать редактор для создания HTML-контента +- Вы можете изменить исходный код, если вам нужен такой уровень контроля, нажав на значок `Исходный код` (`<>`) в редакторе +- Редактор позволяет вам загружать и изменять изображения + - Создает новую папку в phpBB/images/sitemaker_uploads/ для каждого пользователя, имеющего к ней доступ + - Вы можете просматривать/управлять всеми папками пользователей +- Редактор фильтрует любые потенциально опасные скрипты, такие как javascript и т.д. Если вам нужно добавить контент как Google рекламу, javascript будет отфильтрован, но вы можете обойти это, сделав следующее: + - Добавить пользовательский блок в нужное место + - Редактировать пользовательский блок, нажмите на вкладку `HTML` и вставьте ваш Javascript + +## Менеджер скриптов + +Пользовательский блок также позволяет добавлять на вашу страницу пользовательские файлы CSS и Javascript. Для этого: + +- Добавить `Пользовательский блок` в любую позицию блока. Позиция не имеет значения, если вы также отображаете содержимое с блоком +- Редактировать блок, нажмите на вкладку `Scripts` и добавьте файлы CSS или Javascript > Слово осторожности, однако, добавление ко многим скриптам на вашей странице может повлиять на время загрузки \ No newline at end of file diff --git a/docs/website/translated_docs/ru/blocks-inheritance.md b/docs/website/translated_docs/ru/blocks-inheritance.md new file mode 100644 index 000000000000..1017c62bec19 --- /dev/null +++ b/docs/website/translated_docs/ru/blocks-inheritance.md @@ -0,0 +1,44 @@ +--- +id: наследование блоков +title: Понимание наследства блока +--- + +Мы уже видели, что, установив макет по умолчанию, другие страницы, у которых нет собственных блоков, унаследуют блоки из макета по умолчанию. Однако существует еще один тип наследования блоков. + +## Родительские/дочерние маршруты + +В phpBB SiteMaker мы говорим о вложенных маршрутах с точки зрения реальных вложенных (вложенных) каталогов или фактически вложенных путей/маршрутов. Пожалуйста, оставайтесь со мной :). * Real Parent/Child маршруты: Например, путь /some_directory/sub_directory/index.php является ребенком /some_directory/index.php * Virtual Parent/Child маршруты: Например, viewtopic.php рассматривается как потомок viewforum.php. + +Вот некоторые примеры родительских/дочерних маршрутов: + +| Родитель | Дочерний | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/my-article | + +## Наследование родительского/детского блока + +Для родительских/дочерних маршрутов дочерний маршрут наследует блоки родительского маршрута (если родитель имеет свои собственные блоки) или из макета по умолчанию (если он был установлен). Другими словами, даже если есть макет по умолчанию, дочерний маршрут унаследует блоки из родительского маршрута, если родительский маршрут имеет свои блоки. Но не все блоки родительского маршрута должны быть унаследованы. + +## Управление наследием блока + +На уровне блоков можно контролировать, когда блок может быть унаследован дочерними маршрутами. Мы коснулись этого ранее в [Редактирование настроек блока](./blocks-managing#editing-block-settings). + +Рассмотрим следующую реальную структуру каталогов: + +```text +phpBB +├── index.php +└── Movies/ + ├── index.php + ├── page.php + └── Comedy/ + └── index.php +``` + +Для целей наследования блоков мы говорим: * Родительский маршрут /phpBB/Movies/Comedy/index.php является /phpBB/Movies/index.php и не /phpBB/Movies/page.php * Все страницы в подкаталоге относительно /phpBB/index.php является дочерним маршрутом /phpBB/index.php. Так /phpBB/Movies/index.php и /phpBB/Movies/page.php - все дети /phpBB/index.php и поэтому наследуют блоки, если у них нет собственных блоков. В этом случае: * Когда блок на /phpBB/index. hp будет отображаться на **Скрыть на дочерних маршрутах**, блок будет отображаться на /phpBB/index. hp (parent route), но не на дочерних маршрутах * Когда блок на /phpBB/index. hp для отображения на **Показать только на детских маршрутах**, он будет отображаться на /phpBB/Movies/index.php и /phpBB/Movies/page. hp (дочерние маршруты), но не на /phpBB/index.php (parent), ни /phpBB/Movies/Comedy/index. hp (мы выходим только на один уровень) * Когда блок на /phpBB/index. hp используется для отображения **всегда** (по умолчанию), он будет отображаться на /phpBB/index.php (parent), /phpBB/Movies/index. hp и /phpBB/page.php (дочерние маршруты), но не на /phpBB/Movies/Comedy/index.php (мы идем только на один уровень). В этом случае /phpBB/Movies/Comedy/index.php будет наследовать маршрут по умолчанию (если он существует) + +## Возможное будущее состояние + +Я очень заинтересован в ваших отзывах в этой области. Большинство пользователей phpBB не будут иметь реальных каталогов, как описано выше. Поэтому я задумываюсь использовать структуру, которая определена в блоке меню в качестве структуры виртуального каталога, и применить к ней это родительское/детское наследование. Я также рассматриваю возможность перехода за пределы одного уровня в глубину. Пожалуйста, дайте мне знать, будет ли это вам полезно. \ No newline at end of file diff --git a/docs/website/translated_docs/ru/blocks-managing.md b/docs/website/translated_docs/ru/blocks-managing.md new file mode 100644 index 000000000000..a773b4fec516 --- /dev/null +++ b/docs/website/translated_docs/ru/blocks-managing.md @@ -0,0 +1,38 @@ +--- +id: управление блоками +title: Управление блоками +--- + +Чтобы управлять блоками в phpBB SiteMaker, вы должны находиться в [режиме редактирования](./blocks-overview#edit-mode). + +> Если блок не отображает содержимое, он не будет отображаться, за исключением режима редактирования. Таким образом, вы можете либо предоставить его содержимое (в случае Пользовательского блока), либо изменить его настройки. +> +> В режиме редактирования, несколько прозрачных блоков являются блоками, которые в противном случае не будут отображаться, но отображаются только потому, что мы в режиме редактирования + +## Добавление блоков + +Вы можете добавлять блоки на любую главную страницу, за исключением панели управления пользователя и панели управления модератором. Чтобы добавить блок, вам нужно: * нажмите на **Блоков** в панели управления. Отображается список доступных блоков * Перетащите и переместите нужный блок в любое положение блока + +## Редактирование блоков + +### Добавление значка блока + +Слева от названия блока (prosilver), есть поле для значка блока. Щелкните на этом поле, чтобы получить пиктограмму. Вы можете выбрать размер значка, цвет, плавание, вращение и т.д. + +### Редактирование названия блока + +блоки phpBB SiteMaker будут иметь по умолчанию, переведенный заголовок, но если заголовок не соответствует вашим потребностям, вы можете изменить его. Чтобы изменить название блока, * Нажмите на название блока, чтобы получить встроенную форму редактирования * Измените название на все, что вы хотите * Уберите фокус из поля или нажмите Enter, чтобы отправить изменения + +> Заголовок измененного блока не переведен +> +> Чтобы вернуться к названию по умолчанию, просто удалите заголовок и нажмите Enter + +### Редактирование настроек блока + +Когда вы наведите курсор на блок, значок cog появится справа от блока, который может быть использован для редактирования блока. В диалоговом окне блока редактирования вы можете: - Включить/отключить блок [Status] - Выберите, когда блок не должен/не должен отображаться [Display]. Это применимо только в тех случаях, когда вы вложены страницы (см. [Понимание Наследование блоков](./blocks-inheritance.md)): - **Всегда**: Всегда отображать блок - **Скрывать на дочерних маршрутах**: Только показывать этот блок на родительском маршруте - **Показать только на детских маршрутах**: Показывать этот блок только на дочернем маршруте - Выберите, какие группы пользователей могут просматривать блок [Просмотренный]. Используйте CTRL + нажмите, чтобы выбрать несколько групп. - Установка пользовательских классов для изменения внешнего вида блока или элементов (списки, изображения, фон и т.д. ) в блоке [CSS класс] - Показать/скрыть название блока [Скрыть название блока?] - Выберите вид блока [Вид блока]. Вы можете выбрать вид блока по умолчанию, когда в АШП добавляются новые блоки. - **по умолчанию / Простой**: использует класс панели prosilver, чтобы обернуть блок в стеклянный контейнер - **Базовый**: блок не имеет каких-либо контейнеров, обертывающих его - **Boxed**: использует класс prosilver forabg для обертывания блока в поле - Установка / обновление конкретных настроек блока - Если у вас есть один и тот же блок с одинаковыми настройками на нескольких страницах, вы можете обновить все сразу же, установив флажок **Обновить блоки похожими настройками** + +## Удаление блоков + +- Наведите на блок, который вы хотите удалить +- Нажмите на иконку **x** и подтвердите удаление блока +- Перейдите в панель администратора и нажмите `Сохранить изменения` \ No newline at end of file diff --git a/docs/website/translated_docs/ru/blocks-overview.md b/docs/website/translated_docs/ru/blocks-overview.md new file mode 100644 index 000000000000..4b5a4e1d8b70 --- /dev/null +++ b/docs/website/translated_docs/ru/blocks-overview.md @@ -0,0 +1,10 @@ +--- +id: обзор блоков +title: Что такое блоки? +--- + +В центре phpBB SiteMaker находится концепция блоков. Блоки - это небольшие части содержимого, которые вы можете разместить в различных заранее определенных областях (позиции блоков) на вашем сайте. Блоки обычно будут иметь настройки, которые вы можете установить/изменить для тонкой настройки содержимого, который вы хотите отобразить. Большинство блоков, но не все, сделают запросы к базе данных для получения нужного содержания. Так давайте не получим слишком сумасшедший :). Для управления блоками вам нужно переключиться в режим редактирования. + +## Изменить режим + +Переключиться в режим редактирования, нажав на значок карандаша в верхнем правом углу вашего сайта. Это отобразит "Панель управления" в меню "Блоки" и "Настройки". Это относится к "режиму редактирования". \ No newline at end of file diff --git a/docs/website/translated_docs/ru/blocks-views.md b/docs/website/translated_docs/ru/blocks-views.md new file mode 100644 index 000000000000..bacf8e404f64 --- /dev/null +++ b/docs/website/translated_docs/ru/blocks-views.md @@ -0,0 +1,6 @@ +--- +id: блоки-виды +title: Просмотр блоков +--- + +Идет работа... \ No newline at end of file diff --git a/docs/website/translated_docs/ru/contrib-overview.md b/docs/website/translated_docs/ru/contrib-overview.md new file mode 100644 index 000000000000..ee606a31be23 --- /dev/null +++ b/docs/website/translated_docs/ru/contrib-overview.md @@ -0,0 +1,11 @@ +--- +id: contrib-обзор +title: Примите участие +--- + +phpBB SiteMaker является проектом с открытым исходным кодом и приветствует ваши идеи и вклад. Так что не стесняйтесь принимать участие. Вы можете внести свой вклад в этот проект: + +* [Поддержка/Обратная связь](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Сообщить об ошибках](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Помощь с переводом](./contrib-translators.md) +* [Исправление ошибок или добавление функций](./contrib-pull-requests.md) \ No newline at end of file diff --git a/docs/website/translated_docs/ru/contrib-pull-requests.md b/docs/website/translated_docs/ru/contrib-pull-requests.md new file mode 100644 index 000000000000..664bc23f6d00 --- /dev/null +++ b/docs/website/translated_docs/ru/contrib-pull-requests.md @@ -0,0 +1,76 @@ +--- +id: contrib-pull-requests +title: Отправка Pull Request +sidebar_label: Pull Requests +--- + +`Pull requests позволяет вам рассказать другим об изменениях, которые вы отправили в ветку в репозитории на GitHub. После того, как запрос на слияние будет открыт, вы можете обсудить и просмотреть возможные изменения с соавторами и добавить последующие коммиты, прежде чем ваши изменения будут объединены в базовую ветку.` [Подробнее](https://help.github.com/articles/about-pull-requests/) + +## Форжинг/Клонирование + +* Создайте аккаунт github, если у вас еще нет аккаунта +* Перейдите на https://github.com/blitze/phpBB-ext-sitemaker.git и нажмите на "Fork" + +Клонировать форк репозитория: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +Из командной строки перейдите в каталог sitemaker: + + cd phpBB/ext/blitze/sitemaker + + +**Настроить git:** + +Добавьте ваше имя пользователя в Git в вашей системе: + + git config --global user.name "Your Name Here" + + +Добавьте свой адрес электронной почты в Git в вашей системе: + + git config --add user.email username@phpbb.com + + +Добавить удаленный поток (вы можете изменить «вверх» на все, что вам нравится): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + + +**Установить поставщиков** + + установка композитора + + +**Установка пакетов NPM** + + npm установка + + +Или вы можете использовать [ярлыков](https://yarnpkg.com): + + yarn установка + + +## Pull Requests + + # Создайте новую ветку для вашей функции & переключиться на нее + git checkout -b feature/my-fancy-new-feature + + # создать новую ветку для проблемы, которую вы работаете * переключиться на нее (ticket # с github tracker) + git checkout -b ticket/1234 + + +Внести изменения + + # Этап добавления файлов + git + + # Сохранение отложенных файлов - пожалуйста, используйте правильное сообщение коммита + git commit -m "my commit message" + + +Перетащите ветку обратно в GitHub git push origin feature/my-fancy-new-feature + +Отправить [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) \ No newline at end of file diff --git a/docs/website/translated_docs/ru/contrib-translators.md b/docs/website/translated_docs/ru/contrib-translators.md new file mode 100644 index 000000000000..598bced6b5e6 --- /dev/null +++ b/docs/website/translated_docs/ru/contrib-translators.md @@ -0,0 +1,17 @@ +--- +id: contrib-переводчики +title: Переводчики +--- + +Нам нужна помощь в переводе этого расширения, а также его документации. Мы создали проект на Crowdin для облегчения перевода. Crowdin предоставляет вам интерфейс перевода, который является вторым по величине. Вы можете внести свой вклад, но мы действительно рекомендуем использовать Crowdin. + +> Crowdin является платформой для управления локализацией, которая помогает компаниям переводить их программное обеспечение. Вы можете прочитать больше о Crowdin [здесь](https://support.crowdin.com/crowdin-intro/) + +Если вы готовы помочь с переводом, вам понадобится: + +* [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) аккаунт. +* Выберите целевой язык, если существует другой запрос для включения. + +Если нужный язык не указан, пожалуйста, [свяжитесь со мной](https://crowdin.com/profile/blitze) и я добавлю его. + +[Начать перевод](https://crowdin.com/project/phpbb-ext-sitemaker) \ No newline at end of file diff --git a/docs/website/translated_docs/ru/developer-events.md b/docs/website/translated_docs/ru/developer-events.md new file mode 100644 index 000000000000..f1c5761b73ad --- /dev/null +++ b/docs/website/translated_docs/ru/developer-events.md @@ -0,0 +1,120 @@ +--- +id: события разработчика +title: phpBB SiteMaker события +--- + +Вы можете изменить поведение phpBB SiteMaker, используя систему событий phpBB. + +## События PHP + +# blitze.sitemaker.acp_add_bulk_menu_options + +- Расположение: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- С момента: 3.1.0 +- Цель: Добавить опции массового меню в acp меню + +# blitze.sitemaker.acp_display_settings_form + +- Расположение: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- С момента: 3.1.0 +- Цель: отображение формы настроек acp (sitemaker) + +# blitze.sitemaker.acp_save_settings + +- Расположение: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- С момента: 3.1.0 +- Цель: Сохранить настройки acp (sitemaker) + +# blitze.sitemaker.admin_bar.set_assets + +- Расположение: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- После: 3.0.1-RC1 +- Цель: Добавить активы для доступных блоков в режиме редактирования + +# blitze.sitemaker.modify_block_positions + +- Расположение: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- После: 3.0.1-RC1 +- Цель: Изменить позиции блока + +# blitze.sitemaker.modify_rendered_block + +- Расположение: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- После: 3.0.1-RC1 +- Цель: Изменить визуализированный блок + +## События шаблона + +# blitze_sitemaker_acp_settings + +- Расположение: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- С момента: 3.1.0 +- Цель: Добавить поля формы для настроек sitemaker + +# blitze_sitemaker_admin_bar_append + +- Расположение: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- С момента: 3.1.0 +- Цель: Добавить пункты меню в панель администратора + +# blitze_sitemaker_admin_bar_templates + +- Расположение: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- С момента: 3.1.0 +- Цель: Добавить файлы шаблонов для использования в JS для просмотра блоков и т. д + +## События JavaScript + +# blitze_sitemaker_layout_сохранен + +- Расположение: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- После: 3.1.2 +- Цель: событие, позволяющее другим расширениям делать что-то, когда изменения макета сохраняются + +# blitze_sitemaker_render_block_before + +- Расположение: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- После: 3.1.2 +- Цель: событие, позволяющее другим расширениям делать что-то до того, как блок будет выведен или не допустить его повторного отображения + +# blitze_sitemaker_render_block_after + +- Расположение: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- После: 3.1.2 +- Цель: событие, позволяющее другим расширениям делать что-то после показа блока + +# blitze_sitemaker_save_block_before + +- Расположение: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- После: 3.1.2 +- Цель: событие, позволяющее другим расширениям изменять данные блока перед сохранением + +# blitze_sitemaker_show_all_block_positions + +- Расположение: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- После: 3.1.2 +- Цель: событие, позволяющее другим расширениям делать что-то, когда отображаются все позиции блоков + +# blitze_sitemaker_hide_empty_block_positions + +- Расположение: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- После: 3.1.2 +- Цель: событие, позволяющее другим расширениям делать что-то, когда пустые позиции скрыты + +# blitze_sitemaker_layout_cleared + +- Расположение: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- После: 3.1.2 +- Цель: событие, позволяющее другим расширениям делать что-то, когда макет очищен + +# blitze_sitemaker_layout_updated + +- Расположение: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- После: 3.1.2 +- Цель: событие, позволяющее другим расширениям делать что-то, когда макет обновляется + +# blitze_sitemaker_tinymce_options + +- Местонахождение: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- с: 3.3.0 +- Цель: событие для разрешения других расширений для изменения параметров на тиме \ No newline at end of file diff --git a/docs/website/translated_docs/ru/developer-extensions.md b/docs/website/translated_docs/ru/developer-extensions.md new file mode 100644 index 000000000000..a0bfca0efb16 --- /dev/null +++ b/docs/website/translated_docs/ru/developer-extensions.md @@ -0,0 +1,177 @@ +--- +id: расширения для разработчиков +title: Расширение phpBB SiteMaker +--- + +Вы можете расширить/изменить phpBB SiteMaker, воспользовавшись заменой сервиса [](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [украшением сервиса](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration)и системой событий [phpBB](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Вы можете найти список поддерживаемых событий [здесь](./developer-events.md). + +## Создание блока SiteMaker + +Блок SiteMaker phpBB это просто класс, который расширяет класс blitze\sitemaker\services\blocks\driver\block класс и возвращает массив из метода отображения с «title» и «content». Все остальное inbetween зависит от вас. Чтобы сделать ваш блок доступным для поиска через phpBB SiteMaker, вам нужно дать ему тег "sitemaker.block". + +Скажем, у нас есть расширение с поставщиком/расширением в качестве моего/примера. Чтобы создать блок под названием "my_block" для phpBB SiteMaker: + +- Создать папку «блоки» +- Создать файл my_block.php в папке блоков со следующим содержимым + +```php +пространство имен my\example\blocks; + +используйте blitze\sitemaker\services\blocks\driver\block; + +class my_block extends block +{ + /** + * {@inheritdoc} + */ + public function display(array $settings, $edit_mode = false) + { + return array( + 'title' => 'My block title', + 'содержимое' => 'содержимое моего блока', + ); + } +} +``` + +Затем в файле config.yml добавьте следующее: + +```yml +услуги: + + ... + + my.example.block.my_block: + класс: my\example\blocks\my_block + вызовы: + - [set_name, [my.example.block.my_block]] + теги: + - { name: sitemaker.block } + + .... + +``` + +Как минимум, это все, что вам нужно. Если вы перейдете в режим редактирования, вы увидите блок, перечисленный как 'MY_EXAMPLE_BLOCK_MY_BLOCK', который можно перетащить и перетащить на любую позицию блока. Но этот блок ничего не волнует. Он не имеет настроек и не переводит название блока. Давайте сделаем это более интересным. + +### Настройки блока + +Давайте изменим наши блоки/my_block. hp файл и добавьте метод "get_config" на возвращает массив с ключами настроек блока и значениями, представляющими собой массив, описывающий такие параметры, как + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + возвращаемый массив( + 'legend1' => 'TAB1', + 'checkbox' => массив('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'По умолчанию' => массив(), 'объяснять' => ложь), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => массив('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'объяснить' => false, 'default' => 'тема'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'объяснить' => false), + 'multi' => массив('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => массив('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'по умолчанию' => 5), + 'textarea' => массив('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'по умолчанию' => ''), + 'Переключатель' => массив('lang' => 'SOME_TOGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'по умолчанию' => '', 'append' => '
показывать только при выборе варианта 1
'), + ); +} +``` + +Она построена так же, как и phpBB, строит конфигурацию для настроек платы в АШП. Вы можете увидеть больше примеров [здесь](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Если вы хотите, чтобы пользовательский тип поля, вы можете увидеть пример [здесь](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' параметр). + +Обратите внимание 'legend1' и 'legend2': используются для разделения настроек на вкладки. + +### Наименование блоков + +Конвенция о именах блоков заключается в том, что сервис имени (например my.example.block. y*блок выше) будет использоваться в качестве ключа языка, заменив точки (.) на подчеркивание (*) (например, MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Перевод + +Также обратите внимание, что у нас есть несколько языковых ключей, которые необходимо перевести. Для этого создайте файл с именем "blocks_admin.php" в папке вашего языка. Этот файл будет автоматически загружен при редактировании блоков и должен иметь переводы для настроек блоков и имена блоков. + + $lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Option 1', + 'OTHER_LANG_VAR' => 'Option 2', + 'SOME_LANG_VAR_1' => 'Setting 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Мой блок', + ); + + +Потому что 'blocks_admin.php' загружается только при редактировании блоков, вам нужно добавить другие переводы (например, название блока) загрузив языковой файл в вашем методе отображения, например, так `$language->add_lang('my_lang_file', 'my/example');` + +### Отображение блока + +Новый блок будет отображаться только если он что-то сделает. Ваш блок может возвращать любую строку как содержимое, но в большинстве случаев вам нужен шаблон для отображения содержимого. Чтобы отобразить ваш блок с помощью шаблонов, блок должен возвращать массив, содержащий данные, которые вы хотите передать в шаблон, и должен также использовать метод `get_template` , как показано ниже: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + возвращаемый массив( + 'legend1' => 'TAB1', + 'some_setting' => массив('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'По умолчанию' => массив(), 'объяснять' => ложь), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // делаем что-то только в режиме редактирования + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => массив( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Затем файл styles/all/my_block.html или styles/prosilver/my_block.html может выглядеть следующим образом: + +

Вы выбрали: {{ some_var }}

+ + +In summary, your block must return an array with a `title` key (for the block title) and a `content` key (if the block just displays a string and does not use a template) or a `data` key (if the block uses a template, in which case, you will also need to implement the `get_template` method). + +### Блокировать активы + +Если вашему блоку нужно добавить на страницу ресурсы (css/js), я рекомендую использовать для этого инструмент [утилита класса](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php). Поскольку на странице может быть несколько экземпляров одного и того же блока, или другие блоки могут добавить один и тот же актив, утилита класса гарантирует, что актив добавляется только только. + +```php + $this->утилита>add_assets(array( + 'js' => array( + '@my_example/assets/some. s', + 100 => '@my_example/assets/other. s', // установить приоритет + ), + 'css' => array( + '@my_example/assets/some. ss', + ) +)); +``` + +Класс util должен, конечно, быть добавлен в ваши служебные определения в config.yml, как так: `- '@blitze.sitemaker. til'` и определено конструктором вашего блока `\blitze\sitemaker\services\util $util`. + +Вот и всё. Мы закончили! \ No newline at end of file diff --git a/docs/website/translated_docs/ru/developer-theming.md b/docs/website/translated_docs/ru/developer-theming.md new file mode 100644 index 000000000000..743682e80293 --- /dev/null +++ b/docs/website/translated_docs/ru/developer-theming.md @@ -0,0 +1,55 @@ +--- +id: разработчик-тема +title: Тематика +--- + +phpBB SiteMaker поставляет стили и цвета, сделанные для процветания. Вы можете перезаписать CSS, JS и HTML файлы, создав соответствующий файл в папке стиля. + +# Создание JS/CSS файлов для вашего стиля + +Примечание: * Для целей нижеследующих инструкций мы предположим, что у вас стиль, называемый моим. + +Клонировать в phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +Из командной строки перейдите в каталог sitemaker: + + cd phpBB/ext/blitze/sitemaker + + +**Установить поставщиков** + + установка композитора + + +**Установить пакеты** + +Для нижеследующих команд вы можете использовать npm или [yarn](https://yarnpkg.com) + + yarn установка + + +**Смотреть изменения** + + yarn start --theme мой стиль + + +**Сделать изменения** + +* Сделайте изменения в файлах в папке phpBB/ext/blitze/sitemaker/develop. +* Посмотрите на phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss для переменных sass + +**Сборка Активов** + + yarn build --theme мой стиль + + +**Развертывание** + +Теперь вы можете скопировать сгенерированные файлы из phpBB/ext/blitze/sitemaker/styles/my-style и загрузить их на ваш производственный сервер. + +> Это расширение использует jQuery UI для вкладок, диалогов и кнопок. Тема jQuery по умолчанию - 'плавность.' Вы можете использовать другую тему jQuery UI, которая лучше всего подходит для вашей темы. Вы можете указать тему jQuery UI, используя флаг --jq_ui_theme. Например: + + yarn build --theme my-style --jq_ui_theme ui-lightness \ No newline at end of file diff --git a/docs/website/translated_docs/ru/filemanager.md b/docs/website/translated_docs/ru/filemanager.md new file mode 100644 index 000000000000..08caa9b8029e --- /dev/null +++ b/docs/website/translated_docs/ru/filemanager.md @@ -0,0 +1,34 @@ +--- +id: filemanager +title: Responsive Filemanager +--- + +As of version 3.1.0, phpBB SiteMaker supports the [Responsive Filemanager](http://responsivefilemanager.com) + +* The file manager is used as a TinyMCE pluging (WYSIWYG editor) when editing custom blocks +* It is currently configured to creat separate folders for each user, except the user with a_sm_filemanager permission (Can see/manage other users' folders), which allows them access to view/manage all upload folders. + +## Installation + +* Download the [Responsive FileManager](http://responsivefilemanager.com/index.php#sthash.5UrnhjX2.dpbs) +* Extract it, and upload the files to your phpBB root folder. The file structure should be as below: + +```text +phpBB +├── images/ +├── includes/ +├── ... +└── ResponsiveFilemanager/ + └── filemanager/ + └── config/ + ├── .htaccess + └── config.php +``` + +## Activation + +* Go to ACP > Extensions > SiteMaker > Settings +* Enable File Manager feature +* Save changes +* Update user permissions (Misc tab) to determine who can use this feature [Can use File Manager] +* Update admin permissions (Misc tab) to determine who can manager user folders [Can see/manage other users’ folders in File Manager] \ No newline at end of file diff --git a/docs/website/translated_docs/ru/installation.md b/docs/website/translated_docs/ru/installation.md new file mode 100644 index 000000000000..dc699982048a --- /dev/null +++ b/docs/website/translated_docs/ru/installation.md @@ -0,0 +1,18 @@ +--- +id: установка +title: Установка / обновление +--- + +Скачать расширение с [здесь](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Установка phpBB SiteMaker + +* Извлечь и загрузить его в папку phpBB/ext/ так что у вас есть phpBB/ext/blitze/sitemaker +* Перейдите в "ACP" > "Настроить" > "Расширения" и включите расширение "phpBB Sitemaker". + +## Обновление phpBB SiteMaker + +* Создайте резервную копию вашей базы данных, если что-то пошло не так +* Перейдите в "ACP" > "Настроить" > "Расширения" и отключите (не удаляйте) "phpBB Sitemaker" +* Скачайте и извлеките последнюю версию phpBB SiteMaker и загрузите ее в папку phpBB/ext/. +* Перейдите в "ACP" > "Настроить" > "Расширения" и включите расширение "phpBB Sitemaker". \ No newline at end of file diff --git a/docs/website/translated_docs/ru/introduction.md b/docs/website/translated_docs/ru/introduction.md new file mode 100644 index 000000000000..0cf094bbee9b --- /dev/null +++ b/docs/website/translated_docs/ru/introduction.md @@ -0,0 +1,6 @@ +--- +id: введение +title: Введение +--- + +phpBB SiteMaker стремится превратить ваш phpBB форум в CMS/портал. Это делает это, предоставляя вам блоки и меню, чтобы помочь вам настроить ваш сайт по своему вкусу. Есть или будут другие расширения SiteMaker, которые предоставляют дополнительную функциональность для достижения этой цели. Он также позволяет определить страницу посадки при доступе к вашему сайту. Так что если вы не хотите, чтобы посетители вашего сайта сразу увидели форум phpBB, когда они заходят на www.your-site.com, вы можете определить свою собственную стартовую страницу. \ No newline at end of file diff --git a/docs/website/translated_docs/ru/menus-display.md b/docs/website/translated_docs/ru/menus-display.md new file mode 100644 index 000000000000..0f0da3839c74 --- /dev/null +++ b/docs/website/translated_docs/ru/menus-display.md @@ -0,0 +1,18 @@ +--- +id: отображение меню +title: Отображение меню +--- + +Теперь, когда вы создали меню, вы можете отобразить их несколькими способами: + +## Блок ссылок + +Вы можете использовать этот блок для отображения плоского или вложенного списка пунктов меню. Этот блок не предназначен для навигации, т.е. он не будет показывать текущую страницу или что-либо подобное. Предназначен для списка элементов, включая внешние ссылки. + +## Блок меню + +Этот блок предназначен для навигации по сайту. Это делает некоторые дополнительные вычисления для определения текущего местоположения и не является очень большим списком. + +## Панель навигации + +Как и в блоке Меню, панель навигации будет отображать пункты меню в виде быстрого выпадающего меню, предназначенного для навигации по сайту. Вы можете включить это в ACP > Расширения > Sitemaker > Настройки > Выберите меню \ No newline at end of file diff --git a/docs/website/translated_docs/ru/menus-managing-items.md b/docs/website/translated_docs/ru/menus-managing-items.md new file mode 100644 index 000000000000..f7410ed143af --- /dev/null +++ b/docs/website/translated_docs/ru/menus-managing-items.md @@ -0,0 +1,30 @@ +--- +id: пункты меню-управление +title: Управление пунктами меню +--- + +Ваше меню бесполезно, если оно не имеет пунктов меню. Вы можете добавить пункты меню к локальным или внешним файлам. + +> URL для внешних сайтов должен начинаться с http(s)://, ftp://, //, и т.д. +> +> Вы можете создать разделитель, введя '-' в качестве заголовка элемента + +## Добавление пунктов меню + +Вы можете добавить пункты меню один за один раз, или вы можете добавить несколько пунктов меню в один. + +### Добавление одного пункта меню + +Чтобы добавить один пункт меню, * нажмите на кнопку `Добавить пункт меню` * Заполните необходимую информацию и нажмите `Сохранить` + +### Добавление нескольких элементов + +Чтобы добавить несколько пунктов меню сразу, * Щелкните по значку рядом с `Добавить пункт меню` * Вы можете добавить элементы вручную, разместив каждый элемент на новой строке и используя элементы вкладки гнездовья или * Вы можете кликнуть на один из предложенных параметров в нижней части текстовой таблицы, чтобы автоматически заполнить пункты меню + +## Упорядочить пункты меню + +Вы можете перетащить и перетащить пункты меню вверх/вниз, чтобы установить их порядок отображения, или перетащить их влево/вправо, чтобы установить нужную иерархию. + +## Восстановление пунктов меню + +Если вы обнаружили, что пункты меню отображаются некорректно, нажмите на кнопку `Восстановить дерево` , чтобы восстановить пункты меню. \ No newline at end of file diff --git a/docs/website/translated_docs/ru/menus-managing.md b/docs/website/translated_docs/ru/menus-managing.md new file mode 100644 index 000000000000..ac43b7648296 --- /dev/null +++ b/docs/website/translated_docs/ru/menus-managing.md @@ -0,0 +1,22 @@ +--- +id: управление меню +title: Управление меню +--- + +Вы можете создавать меню в ACP, которые вы можете отображать, используя блоки Меню или Ссылки или отображать как горизонтальную панель навигации. + +## Управление меню + +Для управления меню перейдите в ACP > Расширения > Sitemaker > Меню + +### Создание меню + +Для создания нового меню (группы), нажмите на кнопку `Добавить меню`. Новая группа меню будет создана с случайным именем. Будет также выбрано новое меню, чтобы начать добавлять в него пункты меню. + +### Редактирование меню + +Если вы хотите более значимое название меню, * наведите курсор на название меню и нажмите на значок cog * введите новое название меню и нажмите Enter, чтобы обновить его + +### Удаление меню + +Удалять меню и его элементы, * Наведите курсор на название меню и нажмите на значок **x** * Если пункт меню не имеет дочерних элементов, вам нужно подтвердить ваш выбор, чтобы удалить пункт * Если пункт меню имеет дочерние элементы, вам нужно будет указать, если вы хотите удалить только элемент и переместить его дочерние вверх или если вы хотите удалить всю ветку \ No newline at end of file diff --git a/docs/website/translated_docs/ru/site-block-modifiers.md b/docs/website/translated_docs/ru/site-block-modifiers.md new file mode 100644 index 000000000000..4ebe96fde562 --- /dev/null +++ b/docs/website/translated_docs/ru/site-block-modifiers.md @@ -0,0 +1,6 @@ +--- +id: сайт-блок-модификаторы +title: Настройка отображения блоков +--- + +Идет работа... \ No newline at end of file diff --git a/docs/website/translated_docs/ru/site-default-layout.md b/docs/website/translated_docs/ru/site-default-layout.md new file mode 100644 index 000000000000..da9dbaffc526 --- /dev/null +++ b/docs/website/translated_docs/ru/site-default-layout.md @@ -0,0 +1,10 @@ +--- +id: макет сайта по умолчанию +title: Установка макета по умолчанию +--- + +Когда вы добавляете блок, он добавляется на эту страницу. Поэтому было бы утомительной задачей установить блоки для всех страниц на вашем сайте. Вы можете установить все нужные блоки для определенной страницы, а затем установить эту страницу в качестве макета по умолчанию. Другими словами, любая страница, которая не имеет своих собственных блоков, будет наследовать блоки с этой страницы. + +Чтобы установить макет по умолчанию * Перейдите на страницу, которую вы хотите установить как макет по умолчанию * Нажмите на `Настройки` в панели администратора * Нажмите на кнопку `Установить как макет по умолчанию` + +Скажем, мы добавляем блоки на страницу (phpBB/index.php) с блоками в боковой панели и верхней позиции, например, и устанавливаем их как наш макет по умолчанию. Это имеет следующие эффекты для других страниц: * Любая страница, которая не имеет своих собственных блоков, будет наследовать блоки из макета по умолчанию. Смотрите [Понимание наследства блоков](./blocks-inheritance.md) для исключений. * Вы все еще можете наследовать блоки из макета по умолчанию (index.php), но выберите, чтобы не отображать блоки на некоторых позициях блока или вообще не отображать блоки. Для этого * Перейдите на страницу, которую вы не хотите отображать все/некоторые блоки * Нажмите на `Настройки` в панели администратора * Выберите `Не показывать блоки на этой странице` , если вы не хотите наследство/отображать какие-либо блоки на этой странице ИЛИ * Используйте CTRL + щелкните для выбора позиций блоков (справа), которые вы не хотите отображать на * В `режиме редактирования`, страница, которая наследует блоки от макета по умолчанию, не будет показывать никаких блоков, даёт вам возможность добавлять блоки на страницу, если вы хотите, чтобы * Любая страница, которая имеет свои блоки, не будет унаследована от макета по умолчанию \ No newline at end of file diff --git a/docs/website/translated_docs/ru/site-layouts.md b/docs/website/translated_docs/ru/site-layouts.md new file mode 100644 index 000000000000..6a5c712473b6 --- /dev/null +++ b/docs/website/translated_docs/ru/site-layouts.md @@ -0,0 +1,20 @@ +--- +id: макеты сайта +title: Макеты +--- + +"Макеты" определяют доступные позиции блоков и как они отображаются. + +## Позиции блока + +Позиции блоков - это предопределенные области на вашем сайте, где могут существовать блоки. Доступные позиции блоков определяются тем стилем, который вы используете. Для серебра phpBB SiteMaker поставляется со следующими позициями блоков: * панель: полная ширина сверху * боковая панель: левая/правая в зависимости от расположения ниже * подсодержимое: похожа на боковую панель всего больше * сверху_hor: горизонтальные блоки по всему верху, фланг над боковой панель/подконтентом в зависимости от макета * сверху: выше основного контента * блок: одинаковая ширина, горизонтальные блоки под основным содержимым * снизу: под основным содержимым * внизу_гор: горизонтальные блоки снизу вниз, фланг боковой панели/подконтента в зависимости от разметки * футер: горизонтальные блоки в футере Вы можете добавить больше позиций блоков в ваших собственных шаблонах стилей, скопировав и изменив соответствующие шаблоны phpBB SiteMaker + +## Разметка сайта + +Вы можете выбрать макет для вашего сайта в АШП (Расширения > Сайтмейкер > Настройки): * **Блог**: подсодержимое и боковая панель рядом друг с другом, нажато вправо, подсодержимое top_hor/botom_hor фланца * **Holy Grail**: одинаковая ширина боковой панели и подсодержимое с противоположных сторон, фланцевое содержимое top_hor/botom_hor * **Портал**: боковая панель слева, подсодержимое справа, фланцевое содержимое top_hor/botom_hor * **Portal Alt**: подсодержимое слева, боковая панель справа, top_hor/botom_hor фланцевая боковая панель * **Custom**: Вручную установить ширину боковых панелей как px, %, em или rem. По умолчанию 200 пикселей с каждой стороны + +## Пользовательские шаблоны/стили + +Насколько это возможно, мы пытались поместить файлы шаблонов и активы в стили/все/ папку, чтобы вы могли переписать их, создав файл с таким же именем под своим собственным шаблоном, например, prosilver. Поэтому, если вы хотите изменить то, как отображается определенный блок, или если вы хотите создать свой собственный макет с собственными позициями блоков, вам просто нужно создать файл с таким же именем и путем, как оригинал в вашем собственном стиле. + +Если вам нужно настроить CSS/JS файлы, посмотрите раздел [theming](./developer-theming.md). \ No newline at end of file diff --git a/docs/website/translated_docs/ru/site-navbar.md b/docs/website/translated_docs/ru/site-navbar.md new file mode 100644 index 000000000000..00700df20b34 --- /dev/null +++ b/docs/website/translated_docs/ru/site-navbar.md @@ -0,0 +1,6 @@ +--- +id: панель навигации +title: Панель навигации +--- + +Смотрите [Отображение меню](./menus-display#navigation-bar) \ No newline at end of file diff --git a/docs/website/translated_docs/ru/site-startpage.md b/docs/website/translated_docs/ru/site-startpage.md new file mode 100644 index 000000000000..398fa38bb193 --- /dev/null +++ b/docs/website/translated_docs/ru/site-startpage.md @@ -0,0 +1,8 @@ +--- +id: стартовая страница сайта +title: Установка стартовой страницы +--- + +phpBB SiteMaker позволяет выбрать любой контроллер (страницы, доступные через app.php/...) в качестве стартовой страницы по умолчанию (страница, которая будет показана при посещении вашего сайта) вместо индекса доски. + +Для этого: * Перейдите на страницу, которую вы хотите установить как стартовую страницу по умолчанию * Нажмите на `Настройки` в панели администратора. Если это подходящая страница, вы увидите `Установить как стартовую страницу` кнопку * Нажмите на `как стартовую страницу` кнопку \ No newline at end of file diff --git a/docs/website/translated_docs/sk/blocks-custom.md b/docs/website/translated_docs/sk/blocks-custom.md new file mode 100644 index 000000000000..41d4365d553d --- /dev/null +++ b/docs/website/translated_docs/sk/blocks-custom.md @@ -0,0 +1,24 @@ +--- +id: blocks-custom +title: Custom Block +--- + +If the available blocks do not give you the freedom you need, there is the `Custom Block` which allows you the freedom to display your own content using BBcode or HTML. The block comes with a WYSIWYG editor (TinyMCE) and a scripts manager: + +## The editor + +- You can use the editor to create HTML content +- You can edit the source code if you need that level of control by clicking on the `Source code` icon (`<>`) in the editor +- The editor allows you to upload and modify images + - It creates a new folder in phpBB/images/sitemaker_uploads/ for every user who has access to it + - You can view/manage all user folders +- The editor filters out any potentially dangerous scripts like javascript, etc. If you need to add content like google ads, the javascript will be filtered out, but you can get around that by doing the following: + - Add the Custom Block to desired location + - Edit the Custom Block, click on the `HTML` tab and paste your Javascript + +## The Scripts Manager + +The Custom Block also allows you to add custom CSS and Javascript files to your page. To do this: + +- Add a `Custom Block` to any block position. The position does not matter unless you are also displaying content with the block +- Edit the block, click on the `Scripts` tab and add your CSS or Javascript files > Word of caution though: Adding to many scripts on your page can affect load times \ No newline at end of file diff --git a/docs/website/translated_docs/sk/blocks-inheritance.md b/docs/website/translated_docs/sk/blocks-inheritance.md new file mode 100644 index 000000000000..7128c0ffbcd9 --- /dev/null +++ b/docs/website/translated_docs/sk/blocks-inheritance.md @@ -0,0 +1,44 @@ +--- +id: blocks-inheritance +title: Understanding Block Inheritance +--- + +We have already seen that by setting a default layout, other pages that do not have blocks of their own will inherit the blocks from the default layout. There is, however, another type of block inheritance. + +## Parent/Child Routes + +In phpBB SiteMaker, we speak of nested routes in terms of real nested (sub) directories or virtually nested paths/routes. Please stay with me :). * Real Parent/Child routes: For example, the path /some_directory/sub_directory/index.php is a child of /some_directory/index.php * Virtual Parent/Child routes: For example, viewtopic.php is treated as a child of viewforum.php. + +Here are some examples of parent/child routes: + +| Parent | Child | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/my-article | + +## Parent/Child Block Inheritance + +For parent/child routes, the child route inherits the blocks of the parent route (if the parent has its own blocks) or from the default layout (if one has been set). In other words, even if there is a default layout, the child route will inherit blocks from its parent route if the parent route has its own blocks. But not all blocks from the parent route must be inherited. + +## Controlling Block Inheritance + +At a block level, you can control when a block can be inherited by child routes. We touched on this earlier in the [Editing Block Settings](./blocks-managing#editing-block-settings). + +Consider the following real directory structure: + +```text +phpBB +├── index.php +└── Movies/ + ├── index.php + ├── page.php + └── Comedy/ + └── index.php +``` + +For the purposes of inheriting blocks, we say: * The parent route of /phpBB/Movies/Comedy/index.php is /phpBB/Movies/index.php and not /phpBB/Movies/page.php * All pages in a sub directory relative to /phpBB/index.php is a child route of /phpBB/index.php. So /phpBB/Movies/index.php and /phpBB/Movies/page.php are all children of /phpBB/index.php and will therefore inherit its blocks if they do not have blocks of their own. In this case: * When a block on /phpBB/index.php is set to display on **Hide on child routes**, the block will show on /phpBB/index.php (parent route) but not on its child routes * When a block on /phpBB/index.php is set to display on **Show on child routes only**, it will display on /phpBB/Movies/index.php and /phpBB/Movies/page.php (child routes) but not on /phpBB/index.php (parent), nor /phpBB/Movies/Comedy/index.php (we only go one level deep) * When a block on /phpBB/index.php is set to display **always** (default), it will display on /phpBB/index.php (parent), /phpBB/Movies/index.php and /phpBB/page.php (child routes) but not on /phpBB/Movies/Comedy/index.php (we only go one level deep). In this case, /phpBB/Movies/Comedy/index.php will inherit from the default route (if it exists) + +## Posible Future State + +I'm really interested in your feedback in this area. Most phpBB users will not have real directories as outlined above. So I'm thinking of using the structure that is defined in a menu block as a virtual directory structure and apply this parent/child inheritance to it. I'm also considering going beyond one level deep. Please let me know if this will be useful to you. \ No newline at end of file diff --git a/docs/website/translated_docs/sk/blocks-managing.md b/docs/website/translated_docs/sk/blocks-managing.md new file mode 100644 index 000000000000..7003f206e075 --- /dev/null +++ b/docs/website/translated_docs/sk/blocks-managing.md @@ -0,0 +1,38 @@ +--- +id: blocks-managing +title: Mananaging Blocks +--- + +To manage blocks in phpBB SiteMaker, you must be in [Edit Mode](./blocks-overview#edit-mode). + +> When a block does not display any content, it will not be displayed, except in edit mode. That way, you can either give it content (in the case of the Custom block) or change its settings. +> +> In edit mode, the somewhat transparent blocks are blocks that will otherwise not be displayed but are only being displayed because we are in edit mode + +## Adding blocks + +You can add blocks to any front-facing page, except the User Control Panel and Moderator Control Panel pages. To add a block, you will need to: * click on **Blocks** in the Admin bar. This will display a list of available blocks * Drag and drop the desired block to any block position + +## Editing blocks + +### Adding a block icon + +To the left of the block title (prosilver), there is a box for the block icon. Click on this box to get the icon picker. You can select the icon size, color, float, rotation, etc. + +### Editing the Block Title + +phpBB SiteMaker blocks will have a default, translated title but if the title does not meet your needs, you can change it. To edit the block title, * Click on the block title to get an inline edit form * Change the title to whatever you want * Remove focus from the field or hit enter to submit changes + +> Your modified block title is not translated +> +> To revert to the default title, simple delete the title and hit enter + +### Editing block settings + +When you hover over a block, a cog icon will appear to the right of the block that can be used to edit the block. In the edit block dialog, you can: - Enable/disable a block [Status] - Choose when the block should/should not be displayed [Display]. This only applies in cases where you have nested pages (see [Understanding Block Inheritance](./blocks-inheritance.md)): - **Always**: Always display the block - **Hide on child routes**: Only show this block on the parent route - **Show on child routes only**: Only show this block on a child route - Choose which groups of users can view the block [Viewable by]. Use CTRL + click to select multiple groups. - Set custom classes to modify the appearance of the block or items (lists, images, background, etc) within the block [CSS Class] - Show/hide the block title [Hide block title?] - Select the block view [Block view]. You can select a default block view when new blocks are added in ACP. - **Default / Simple**: uses the prosilver panel class to wrap the block in a padded container - **Basic**: block does not have any container wrapping it - **Boxed**: uses the prosilver forabg class to wrap the block in a box - Set / Update block specific settings - If you have the same block with same settings across multiple pages, you can update all of them at once by checking the **Update blocks with similar settings** + +## Deleting blocks + +- Hover over the block you'd like to delete +- Click on the **x** icon and confirm that you wish to delete the block +- Go up to the admin bar and click on `Save Changes` \ No newline at end of file diff --git a/docs/website/translated_docs/sk/blocks-overview.md b/docs/website/translated_docs/sk/blocks-overview.md new file mode 100644 index 000000000000..251efb9bfd8a --- /dev/null +++ b/docs/website/translated_docs/sk/blocks-overview.md @@ -0,0 +1,10 @@ +--- +id: blocks-overview +title: What are blocks? +--- + +At the heart of phpBB SiteMaker is the concept of blocks. Blocks are little pieces of content that you can place in different pre-defined areas (block positions) on your site. The blocks will typically have settings that you can set/change to fine-tune the content that you wish to display. Most blocks, but not all, will make database queries to get the desired content. So let's not get too crazy :). To manage blocks, you will need to switch to "edit mode". + +## Edit Mode + +Switch to edit mode by clicking on the pencil icon on the top right of your site. This will display the "Admin bar" with "Blocks" and "Settings" menu items. This is referred to as being in 'edit mode'. \ No newline at end of file diff --git a/docs/website/translated_docs/sk/blocks-views.md b/docs/website/translated_docs/sk/blocks-views.md new file mode 100644 index 000000000000..a6b7ec57e9ab --- /dev/null +++ b/docs/website/translated_docs/sk/blocks-views.md @@ -0,0 +1,6 @@ +--- +id: blocks-views +title: Block Views +--- + +Work in progress... \ No newline at end of file diff --git a/docs/website/translated_docs/sk/contrib-overview.md b/docs/website/translated_docs/sk/contrib-overview.md new file mode 100644 index 000000000000..d32a77ff101d --- /dev/null +++ b/docs/website/translated_docs/sk/contrib-overview.md @@ -0,0 +1,11 @@ +--- +id: contrib-overview +title: Get Involved +--- + +phpBB SiteMaker is an open source project and welcomes your ideas and contributions. So feel free to get involved. You can contribute to this project by: + +* [Providing Support/Feedback](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Reporting Bugs](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Helping with Translation](./contrib-translators.md) +* [Fixing bugs or adding features](./contrib-pull-requests.md) \ No newline at end of file diff --git a/docs/website/translated_docs/sk/contrib-pull-requests.md b/docs/website/translated_docs/sk/contrib-pull-requests.md new file mode 100644 index 000000000000..a7351ca23f5f --- /dev/null +++ b/docs/website/translated_docs/sk/contrib-pull-requests.md @@ -0,0 +1,76 @@ +--- +id: contrib-pull-requests +title: Submitting a Pull Request +sidebar_label: Pull Requests +--- + +`Pull requests let you tell others about changes you've pushed to a branch in a repository on GitHub. Once a pull request is opened, you can discuss and review the potential changes with collaborators and add follow-up commits before your changes are merged into the base branch.` [Read more](https://help.github.com/articles/about-pull-requests/) + +## Forking/Cloning + +* Create a github account if you don't already have one +* Go to https://github.com/blitze/phpBB-ext-sitemaker.git and click on "Fork" + +Clone your fork of the repository: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +From command line go to sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + + +**Configure git:** + +Add your Username to Git on your system: + + git config --global user.name "Your Name Here" + + +Add your E-mail address to Git on your system: + + git config --add user.email username@phpbb.com + + +Add the upstream remote (you can change ‘upstream’ to whatever you like): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + + +**Install vendors** + + composer install + + +**Install NPM packages** + + npm install + + +Alternatively you may use [yarn](https://yarnpkg.com): + + yarn install + + +## Pull Requests + + # Create a new branch for your feature & switch to it + git checkout -b feature/my-fancy-new-feature + + # create a new branch for the issue you are working on * switch to it (ticket # is from github tracker) + git checkout -b ticket/1234 + + +Make your changes + + # Stage the files + git add + + # Commit staged files - please use a correct commit message + git commit -m "my commit message" + + +Push the branch back to GitHub git push origin feature/my-fancy-new-feature + +Submit a [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) \ No newline at end of file diff --git a/docs/website/translated_docs/sk/contrib-translators.md b/docs/website/translated_docs/sk/contrib-translators.md new file mode 100644 index 000000000000..5f14593015ba --- /dev/null +++ b/docs/website/translated_docs/sk/contrib-translators.md @@ -0,0 +1,17 @@ +--- +id: contrib-translators +title: Translators +--- + +We need help translating this extension, as well as its documentation. We have created a project on Crowdin to ease translations. Crowdin gives you a translation interface that's second to none. You can contribute how ever you want but we really recommend using Crowdin. + +> Crowdin is a localization management platform that helps companies to translate their software. You can read more about Crowdin [here](https://support.crowdin.com/crowdin-intro/) + +If you are willing to contribute with translations, you will need: + +* A [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) account. +* Chose the target language if exist otherwise request to be enabled. + +If your desired language is not listed, please [contact me](https://crowdin.com/profile/blitze) and I will add it. + +[Start Translating](https://crowdin.com/project/phpbb-ext-sitemaker) \ No newline at end of file diff --git a/docs/website/translated_docs/sk/developer-events.md b/docs/website/translated_docs/sk/developer-events.md new file mode 100644 index 000000000000..562c7bed6fd4 --- /dev/null +++ b/docs/website/translated_docs/sk/developer-events.md @@ -0,0 +1,120 @@ +--- +id: developer-events +title: phpBB SiteMaker Events +--- + +You can modify the behavior of phpBB SiteMaker using phpBB's event system. + +## PHP Events + +# blitze.sitemaker.acp_add_bulk_menu_options + +- Location: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Since: 3.1.0 +- Purpose: Add bulk menu options in acp menu + +# blitze.sitemaker.acp_display_settings_form + +- Location: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Since: 3.1.0 +- Purpose: display acp (sitemaker) settings form + +# blitze.sitemaker.acp_save_settings + +- Location: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Since: 3.1.0 +- Purpose: Save acp (sitemaker) settings + +# blitze.sitemaker.admin_bar.set_assets + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Since: 3.0.1-RC1 +- Purpose: Add assets for available blocks in edit mode + +# blitze.sitemaker.modify_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Since: 3.0.1-RC1 +- Purpose: Modify block positions + +# blitze.sitemaker.modify_rendered_block + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Since: 3.0.1-RC1 +- Purpose: Modify a rendered block + +## Template Events + +# blitze_sitemaker_acp_settings + +- Location: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Since: 3.1.0 +- Purpose: Add form fields for sitemaker settings + +# blitze_sitemaker_admin_bar_append + +- Location: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Since: 3.1.0 +- Purpose: Add menu items to admin bar + +# blitze_sitemaker_admin_bar_templates + +- Location: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Since: 3.1.0 +- Purpose: Add template files to be used in JS for block views, etc + +## Javascript Events + +# blitze_sitemaker_layout_saved + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout changes are saved + +# blitze_sitemaker_render_block_before + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something before block is rendered or prevent it from being re-rendered + +# blitze_sitemaker_render_block_after + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something after block is rendered + +# blitze_sitemaker_save_block_before + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to modify block data before it is saved + +# blitze_sitemaker_show_all_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when all block positions are shown + +# blitze_sitemaker_hide_empty_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when empty positions are hidden + +# blitze_sitemaker_layout_cleared + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout is cleared + +# blitze_sitemaker_layout_updated + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout is updated + +# blitze_sitemaker_tinymce_options + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Since: 3.3.0 +- Purpose: Event to allow other extensions to modify tinymce options \ No newline at end of file diff --git a/docs/website/translated_docs/sk/developer-extensions.md b/docs/website/translated_docs/sk/developer-extensions.md new file mode 100644 index 000000000000..fc9e22ad6904 --- /dev/null +++ b/docs/website/translated_docs/sk/developer-extensions.md @@ -0,0 +1,177 @@ +--- +id: developer-extensions +title: Extending phpBB SiteMaker +--- + +You can extend/modify phpBB SiteMaker using [service replacement](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [service decoration](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), and [phpBB's event system](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). You can find a list of supported events [here](./developer-events.md). + +## Creating a SiteMaker block + +A phpBB SiteMaker block is simply a class that extends the blitze\sitemaker\services\blocks\driver\block class and returns an array from the "display" method with a 'title' and 'content'. Everything else inbetween is up to you. To make your block discoverable by phpBB SiteMaker, you'll need to give it the "sitemaker.block" tag. + +Say we have an extension with vendor/extension as my/example. To create a block called "my_block" for phpBB SiteMaker: + +- Create a "blocks" folder +- Create my_block.php file in the blocks folder with the following content + +```php +namespace my\example\blocks; + +use blitze\sitemaker\services\blocks\driver\block; + +class my_block extends block +{ + /** + * {@inheritdoc} + */ + public function display(array $settings, $edit_mode = false) + { + return array( + 'title' => 'my block title', + 'content' => 'my block content', + ); + } +} +``` + +Then in your config.yml file, add the following: + +```yml +services: + + ... + + my.example.block.my_block: + class: my\example\blocks\my_block + calls: + - [set_name, [my.example.block.my_block]] + tags: + - { name: sitemaker.block } + + .... + +``` + +At a bare minimum, that's all you need. If you go into edit mode, you should see the block listed as 'MY_EXAMPLE_BLOCK_MY_BLOCK' that can be dragged and dropped on any block position. But this block doesn't do anything exciting. It has no settings and does not translate the block name. Let's make it more interesting. + +### Block Settings + +Let's modify our blocks/my_block.php file and add a "get_config" method th at returns an array with the keys being the block settings and the values being an array describing the settings like so: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Only show when option 1 is selected
'), + ); + } +``` + +This is constructed the same way that phpBB builds the configuration for board settings in ACP. You can see more examples [here](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +If you want a custom field type, you can see an example [here](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' setting). + +Notice 'legend1' and 'legend2': These are used to separate the settings into tabs. + +### Naming Blocks + +The convention for block names is that the service name (e.g my.example.block.my*block above) will be used as the language key by replacing the dots (.) with underscore (*) (e.g MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Translation + +Also notice that we have several language keys that need to be translated. To do this, create a file named "blocks_admin.php" in your language folder. This file will be automatically loaded when editing blocks, and should have translations for your blocks settings and block names. + + $lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Option 1', + 'OTHER_LANG_VAR' => 'Option 2', + 'SOME_LANG_VAR_1' => 'Setting 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'My Block', + ); + + +Because 'blocks_admin.php' is only loaded when editing blocks, you will need to add other translations (e.g. block title) by loading a language file in your display method like so `$language->add_lang('my_lang_file', 'my/example');` + +### Rendering the block + +The new block will only be displayed if it is rendering something. Your block can return any string as content but in most cases, you need a template to render your content. To render your block using templates, the block must return an array that holds the data that you want to pass to the template and must also implement the `get_template` method as demonstrated below: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block.html'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // do something only in edit mode + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); + } +``` + +Then your styles/all/my_block.html or styles/prosilver/my_block.html file might look something like this: + +

You selected: {{ some_var }}

+ + +In summary, your block must return an array with a `title` key (for the block title) and a `content` key (if the block just displays a string and does not use a template) or a `data` key (if the block uses a template, in which case, you will also need to implement the `get_template` method). + +### Block Assets + +If your block needs to add assets (css/js) to the page, I recommend using the sitemaker [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) for that. Since there can be more than one instance of the same block on the page, or other blocks might be adding the same asset, the util class ensures that the asset is only added ones. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some.js', + 100 => '@my_example/assets/other.js', // set priority + ), + 'css' => array( + '@my_example/assets/some.css', + ) + )); +``` + +The util class will, of course, need to be added to your service definitions in config.yml like so: `- '@blitze.sitemaker.util'` and defined in your block's constructor `\blitze\sitemaker\services\util $util`. + +And that's it. We're done! \ No newline at end of file diff --git a/docs/website/translated_docs/sk/developer-theming.md b/docs/website/translated_docs/sk/developer-theming.md new file mode 100644 index 000000000000..8f76e7c40ddd --- /dev/null +++ b/docs/website/translated_docs/sk/developer-theming.md @@ -0,0 +1,55 @@ +--- +id: developer-theming +title: Theming +--- + +phpBB SiteMaker comes with styles and colors made for prosilver. You can overwrite CSS, JS, and HTML files by creating the corresponding file in your style's folder. + +# Creating JS/CSS files for your style + +Note: * For the purpose of the below instructions we will assume that you have a style called my-style. + +Clone into phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +From command line go to sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + + +**Install vendors** + + composer install + + +**Install packages** + +For the below commands you can use npm or [yarn](https://yarnpkg.com) + + yarn install + + +**Watch Changes** + + yarn start --theme my-style + + +**Make Changes** + +* Make your changes to files in the phpBB/ext/blitze/sitemaker/develop folder. +* Look at phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss for sass variables + +**Build Assets** + + yarn build --theme my-style + + +**Deploy** + +You can now copy the generated files from phpBB/ext/blitze/sitemaker/styles/my-style and uploaded them to your production server. + +> This extension uses jQuery UI for tabs, dialogs and buttons. The default jQuery theme is 'smoothness.' You can use a different jQuery UI theme that best fits your theme. You can specify the jQuery UI theme using the flag --jq_ui_theme. For example: + + yarn build --theme my-style --jq_ui_theme ui-lightness \ No newline at end of file diff --git a/docs/website/translated_docs/sk/filemanager.md b/docs/website/translated_docs/sk/filemanager.md new file mode 100644 index 000000000000..08caa9b8029e --- /dev/null +++ b/docs/website/translated_docs/sk/filemanager.md @@ -0,0 +1,34 @@ +--- +id: filemanager +title: Responsive Filemanager +--- + +As of version 3.1.0, phpBB SiteMaker supports the [Responsive Filemanager](http://responsivefilemanager.com) + +* The file manager is used as a TinyMCE pluging (WYSIWYG editor) when editing custom blocks +* It is currently configured to creat separate folders for each user, except the user with a_sm_filemanager permission (Can see/manage other users' folders), which allows them access to view/manage all upload folders. + +## Installation + +* Download the [Responsive FileManager](http://responsivefilemanager.com/index.php#sthash.5UrnhjX2.dpbs) +* Extract it, and upload the files to your phpBB root folder. The file structure should be as below: + +```text +phpBB +├── images/ +├── includes/ +├── ... +└── ResponsiveFilemanager/ + └── filemanager/ + └── config/ + ├── .htaccess + └── config.php +``` + +## Activation + +* Go to ACP > Extensions > SiteMaker > Settings +* Enable File Manager feature +* Save changes +* Update user permissions (Misc tab) to determine who can use this feature [Can use File Manager] +* Update admin permissions (Misc tab) to determine who can manager user folders [Can see/manage other users’ folders in File Manager] \ No newline at end of file diff --git a/docs/website/translated_docs/sk/installation.md b/docs/website/translated_docs/sk/installation.md new file mode 100644 index 000000000000..298f90a9e5c0 --- /dev/null +++ b/docs/website/translated_docs/sk/installation.md @@ -0,0 +1,18 @@ +--- +id: installation +title: Installing / Upgrading +--- + +Download the extension from [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker + +* Extract and upload it to your phpBB/ext/ folder so you have phpBB/ext/blitze/sitemaker +* Go to "ACP" > "Customise" > "Extensions" and enable the "phpBB Sitemaker" extension. + +## Upgrading phpBB SiteMaker + +* Create a backup of your database just in case something goes wrong +* Go to "ACP" > "Customise" > "Extensions" and disable (do not purge) "phpBB Sitemaker" +* Download and extract the latest version of phpBB SiteMaker and upload it to your phpBB/ext/ folder (overwrite) +* Go to "ACP" > "Customise" > "Extensions" and enable the "phpBB Sitemaker" extension. \ No newline at end of file diff --git a/docs/website/translated_docs/sk/introduction.md b/docs/website/translated_docs/sk/introduction.md new file mode 100644 index 000000000000..ff5a07cb2614 --- /dev/null +++ b/docs/website/translated_docs/sk/introduction.md @@ -0,0 +1,6 @@ +--- +id: introduction +title: Introduction +--- + +phpBB SiteMaker seeks to transform your phpBB board into a CMS/portal. It does so by providing you with blocks and menus to help you customize your site to your liking. There are or will be other SiteMaker extensions that provide additional functionality to meet this goal. It also allows you to define a landing page when your site is accessed. So if you don't want visitors to your site to immediately see the phpBB forum when they go to www.your-site.com, you can define your own start page. \ No newline at end of file diff --git a/docs/website/translated_docs/sk/menus-display.md b/docs/website/translated_docs/sk/menus-display.md new file mode 100644 index 000000000000..795985e02a3c --- /dev/null +++ b/docs/website/translated_docs/sk/menus-display.md @@ -0,0 +1,18 @@ +--- +id: menus-display +title: Displaying Menus +--- + +Now that you have create your menus, you can display them in several ways: + +## Links Block + +You can use this block to display a flat or nested list of menu items. This block is not intended to be used for navigation i.e. it will not show a current page or anything like that. It is intended for a list of items, including external links. + +## Menus Block + +This block is intended for site navigation. It does some additional computations to determine current location and is not intended to be a very large list. + +## Navigation bar + +Similar to the Menus block, the navigation bar will display menu items as a responsive dropdown menu intended for site navigation. You can enable this in ACP > Extensions > Sitemaker > Settings > Select menu \ No newline at end of file diff --git a/docs/website/translated_docs/sk/menus-managing-items.md b/docs/website/translated_docs/sk/menus-managing-items.md new file mode 100644 index 000000000000..e63160278c4c --- /dev/null +++ b/docs/website/translated_docs/sk/menus-managing-items.md @@ -0,0 +1,30 @@ +--- +id: menus-managing-items +title: Managing Menu Items +--- + +Your menu is useless unless it has menu items. You can add menu items that point to local or external files. + +> The URL for external sites must begin with http(s)://, ftp://, //, etc. +> +> You can create a divider by entering '-' as the item title + +## Adding Menu items + +You can add menu items one item at a time, or you can add multiple menu items at ones. + +### Adding single menu items + +To add a single menu item, * click on the `Add Menu Item` button * Fill in the required information and hit `Save` + +### Adding multiple items + +To add multiple menu items at once, * Click on the ▼ icon next to `Add Menu Item` * You can manually add items by placing each item on a new line and using the tab character nest items or * You can click on one of the provided options at the bottom of the textarea to automatically fill in the menu items + +## Reorder the menu items + +You can drag and drop the menu items up/down to set their display order, or drag them left/right to set the desired hierarchy. + +## Rebuilding the menu items + +If you find that the menu items are not displaying correctly, click on the `Rebuild Tree` button to rebuild the menu items. \ No newline at end of file diff --git a/docs/website/translated_docs/sk/menus-managing.md b/docs/website/translated_docs/sk/menus-managing.md new file mode 100644 index 000000000000..5be36cddb83a --- /dev/null +++ b/docs/website/translated_docs/sk/menus-managing.md @@ -0,0 +1,22 @@ +--- +id: menus-managing +title: Managing Menus +--- + +You can create menus in ACP that you can then display using the Menus or the Links blocks or displayed as a horizontal navbar. + +## Managing Menus + +To manage menus, go to ACP > Extensions > Sitemaker > Menu + +### Creating Menus + +To create a new menu (group), click on the `Add Menu` button. A new menu group will be created with a randomly generated name. The new menu will also be selected so you can begin adding menu items to it. + +### Editing Menus + +If you want a more meaningful menu name, * hover over the menu name and click on the cog icon * enter the new menu name and hit enter to update it + +### Deleting Menus + +To delete a menu, and its items, * Hover over the menu name and click on the **x** icon * If the menu item has no child items, you will need to confirm your choice to delete the item * If the menu item has child items, you will need to indicate if you want to delete only the item and move its children up or if you want to delete the entire branch \ No newline at end of file diff --git a/docs/website/translated_docs/sk/site-block-modifiers.md b/docs/website/translated_docs/sk/site-block-modifiers.md new file mode 100644 index 000000000000..4712e963c3a2 --- /dev/null +++ b/docs/website/translated_docs/sk/site-block-modifiers.md @@ -0,0 +1,6 @@ +--- +id: site-block-modifiers +title: Customizing Blocks Display +--- + +Work in progress... \ No newline at end of file diff --git a/docs/website/translated_docs/sk/site-default-layout.md b/docs/website/translated_docs/sk/site-default-layout.md new file mode 100644 index 000000000000..247f9e388692 --- /dev/null +++ b/docs/website/translated_docs/sk/site-default-layout.md @@ -0,0 +1,10 @@ +--- +id: site-default-layout +title: Setting a Default Layout +--- + +When you add a block, it is added to that specific page. It would, therefore, be a tedious task to set blocks for all the pages on your site. You can set all the desired blocks for a particular page, then set that page as the default layout. In others words, any page that does not have its own blocks, will inherit blocks from this page. + +To set a default layout * Go to the page that you'd like to set as default layout * Click on `Settings` in the admin bar * Click the `Set as default layout` button + +Say we add blocks to a page (phpBB/index.php) with blocks in the sidebar and top positions, for example, and set it as our default layout. This has the following effects for other pages: * Any page that does not have its own blocks, will inherit the blocks from the default layout. See [Understanding Block Inheritance](./blocks-inheritance.md) for exceptions. * You may still inherit blocks from a default layout (index.php) but choose to not display blocks on some block positions or not display any blocks at all. To do this, * Go to the page that you don't want all/some blocks to display * Click on `Settings` in the admin bar * Select `Do not show blocks on this page` if you don't want to inherit/display any blocks on this page OR * Use CTRL + click to select the block positions (on the right) that you do not want to display blocks on * In `edit mode`, a page that inherits blocks from the default layout, will not show any blocks, giving you the opportunity to add blocks to the page if you want to * Any page that has its own blocks will not inherit from the default layout \ No newline at end of file diff --git a/docs/website/translated_docs/sk/site-layouts.md b/docs/website/translated_docs/sk/site-layouts.md new file mode 100644 index 000000000000..fd4b6d625602 --- /dev/null +++ b/docs/website/translated_docs/sk/site-layouts.md @@ -0,0 +1,20 @@ +--- +id: site-layouts +title: Layouts +--- + +"Layouts" determine the available block positions and how they are displayed. + +## Block Positions + +Block positions are predefined areas on your site where blocks can exist. The available block positions are determined by the template style that you are using. For prosilver, phpBB SiteMaker comes with the following block positions: * panel: full width across the top * sidebar: left/right depending on layout below * subcontent: similar to sidebar just larger * top_hor: horizontal blocks across the top, flanking above sidebar/subcontent depending on layout * top: above main content * box: equal width, horizontal blocks below main content * bottom: below main content * bottom_hor: horizontal blocks across the bottom, flanking the sidebar/subcontent depending on layout * footer: horizontal blocks in the footer You can add more block positions in your own style templates by copying and modifying the corresponding phpBB SiteMaker templates + +## Site Layout + +You can choose the layout for your site in ACP (Extensions > Sitemaker > Settings): * **Blog**: subcontent and sidebar next to each other, pushed to the right, top_hor/botom_hor flank subcontent * **Holy Grail**: equal width sidebar and subcontent on opposite sides, top_hor/botom_hor flank subcontent * **Portal**: sidebar on left, subcontent on the right, top_hor/botom_hor flank subcontent * **Portal Alt**: subcontent on left, sidebar on the right, top_hor/botom_hor flank sidebar * **Custom**: Manually set the width of the sidebars as px, %, em or rem. Defaults to 200px on each side + +## Custom templates/styles + +As much as possible, we tried to put template files and assets in styles/all/ folder so that you can overwrite them by creating a file with same name under your own template theme e.g. prosilver. So if you want to modify how a certain block displays or if you want to create your own layout with your own block positions, you simply need to create a file with the same name and path as the original in your own style. + +If you need to customize CSS/JS files, take a look at the [theming](./developer-theming.md) section. \ No newline at end of file diff --git a/docs/website/translated_docs/sk/site-navbar.md b/docs/website/translated_docs/sk/site-navbar.md new file mode 100644 index 000000000000..edffeefdd49d --- /dev/null +++ b/docs/website/translated_docs/sk/site-navbar.md @@ -0,0 +1,6 @@ +--- +id: site-navbar +title: Navigation Bar +--- + +See [Displaying Menus](./menus-display#navigation-bar) \ No newline at end of file diff --git a/docs/website/translated_docs/sk/site-startpage.md b/docs/website/translated_docs/sk/site-startpage.md new file mode 100644 index 000000000000..95b0b046cca0 --- /dev/null +++ b/docs/website/translated_docs/sk/site-startpage.md @@ -0,0 +1,8 @@ +--- +id: site-startpage +title: Setting a Start Page +--- + +phpBB SiteMaker allows you to choose any front controller (pages accessed via app.php/...) as your default start page (the page that will be shown when someone visits your site) instead of the board index. + +To do this: * Go to the page that you want to set as default start page * Click on `Settings` in the admin bar. If it is an eligible page, you will see a `Set as start page` button * Click on the `Set as start page` button \ No newline at end of file diff --git a/docs/website/translated_docs/sv/blocks-custom.md b/docs/website/translated_docs/sv/blocks-custom.md new file mode 100644 index 000000000000..a1a802a40938 --- /dev/null +++ b/docs/website/translated_docs/sv/blocks-custom.md @@ -0,0 +1,24 @@ +--- +id: block-anpassade +title: Anpassat block +--- + +Om de tillgängliga blocken inte ger dig den frihet du behöver, det finns `Anpassade Block` som låter dig visa ditt eget innehåll med BBcode eller HTML. Blocket kommer med en WYSIWYG editor (TinyMCE) och en skript manager: + +## Redigeraren + +- Du kan använda redigeraren för att skapa HTML-innehåll +- Du kan redigera källkoden om du behöver den kontrollnivån genom att klicka på `källkod` ikonen (`<>`) i redigeraren +- Redigeraren låter dig ladda upp och ändra bilder + - Det skapar en ny mapp i phpBB/images/sitemaker_uploads/ för varje användare som har tillgång till den + - Du kan visa/hantera alla användarmappar +- Redigeraren filtrerar bort eventuella potentiellt farliga skript som javascript, etc. Om du behöver lägga till innehåll som Google annonser, javascript kommer att filtreras ut, men du kan komma runt det genom att göra följande: + - Lägg till det anpassade blocket till önskad plats + - Redigera Custom Block, klicka på fliken `HTML` och klistra in Javascript + +## Skript Manager + +Anpassade blocket låter dig också lägga till anpassade CSS och Javascript-filer på din sida. Att göra detta: + +- Lägg till ett `anpassat block` till valfri blockposition. Positionen spelar ingen roll om du också visar innehåll med blocket +- Redigera blocket, Klicka på fliken `Skript` och lägg till dina CSS eller Javascript-filer > Varningens ord: Att lägga till många skript på din sida kan påverka laddningstiderna \ No newline at end of file diff --git a/docs/website/translated_docs/sv/blocks-inheritance.md b/docs/website/translated_docs/sv/blocks-inheritance.md new file mode 100644 index 000000000000..4548436f41fb --- /dev/null +++ b/docs/website/translated_docs/sv/blocks-inheritance.md @@ -0,0 +1,44 @@ +--- +id: block-arv +title: Förstå Block Arv +--- + +Vi har redan sett att genom att ställa in en standardlayout, andra sidor som inte har egna block kommer att ärva blocken från standardlayouten. Det finns dock en annan typ av blockarv. + +## Föräldra/underordnade rutter + +I phpBB SiteMaker talar vi om nästlade rutter i form av riktiga nästlade (sub) kataloger eller praktiskt taget nästlade vägar/rutter. Var snäll och stanna hos mig :). * Riktiga förälder/Barnleder: Till exempel är sökvägen /some_directory/sub_directory/index.php ett barn till /some_directory/index. hp * Virtuell förälder/Underordnad rutter: Till exempel, viewtopic.php behandlas som ett barn till viewforum.php. + +Här är några exempel på rutter för föräldrar/barn: + +| Överordnad | Barn | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/artiklar | /app.php/articles/my-article | + +## Föräldra/Barn Blockera Arv + +För förälder/barnrutter, underordnad rutt ärver blocken på överordnad rutt (om överordnad rutt har egna block) eller från standardlayouten (om en är inställd). Med andra ord, även om det finns en standardlayout, underordnad rutt ärver block från överordnad rutt om överordnad rutt har egna block. Men inte alla block från föräldravägen måste ärvas. + +## Styrande Block Arv + +På en blocknivå kan du styra när ett block kan ärvas av underordnade rutter. Vi berörde detta tidigare i [redigering Block Settings](./blocks-managing#editing-block-settings). + +Tänk på följande verkliga katalogstruktur: + +```text +phpBB +wegment ─ index.php + ─ Movies/ + wegment ─ index.php + wegment -page.php + ˃ ─ Comedy/ + -─ index.php +``` + +I syfte att ärva block, säger vi: * Överordnad rutt för /phpBB/Movies/Comedy/index.php är /phpBB/Movies/index. hp och inte /phpBB/Movies/page.php * Alla sidor i en underkatalog i förhållande till /phpBB/index.php är en underordnad rutt för /phpBB/index.php. Så /phpBB/Movies/index.php och /phpBB/Movies/page.php är alla barn till /phpBB/index.php och kommer därför att ärva dess block om de inte har egna block. I detta fall: * När ett block på /phpBB/index. hk är satt till att visas på **Dölj på underordnade rutter**, blocket kommer att visas på /phpBB/index. hk (föräldraväg) men inte på sina barnvägar * När ett block på /phpBB/index. hk är satt att visas på **Visa endast på underordnade rutter**, det kommer att visas på /phpBB/Movies/index.php och /phpBB/Movies/page. HK (barnvägar) men ej på /phpBB/index.php (föräldrar), ej heller /phpBB/Movies/Comedy/index. hk (vi går bara en nivå djup) * När ett block på /phpBB/index. hk är satt till att visa **alltid** (standard), det kommer att visas på /phpBB/index.php (förälder), /phpBB/Movies/index. hk och /phpBB/page.php (barnrutter) men inte på /phpBB/Movies/Comedy/index.php (vi går bara en nivå djup). I detta fall ärver /phpBB/Movies/Comedy/index.php från standardrutten (om den finns) + +## Positivt framtida tillstånd + +Jag är verkligen intresserad av din feedback på detta område. De flesta phpBB-användare kommer inte att ha riktiga kataloger som beskrivs ovan. Så jag tänker på att använda den struktur som definieras i ett menyblock som en virtuell katalogstruktur och tillämpa detta förälder/barnarv på den. Jag funderar också på att gå bortom en nivå djup. Låt mig veta om detta kommer att vara till nytta för dig. \ No newline at end of file diff --git a/docs/website/translated_docs/sv/blocks-managing.md b/docs/website/translated_docs/sv/blocks-managing.md new file mode 100644 index 000000000000..56c7654fabe2 --- /dev/null +++ b/docs/website/translated_docs/sv/blocks-managing.md @@ -0,0 +1,38 @@ +--- +id: blockhantering +title: Mananaging Blocks +--- + +För att hantera block i phpBB SiteMaker, måste du vara i [Redigera läge](./blocks-overview#edit-mode). + +> När ett block inte visar något innehåll visas det inte, förutom i redigeringsläge. På så sätt kan du antingen ge det innehåll (i fallet med Anpassat block) eller ändra dess inställningar. +> +> I redigeringsläge de något transparenta blocken är block som annars inte kommer att visas men som bara visas eftersom vi är i redigeringsläge + +## Lägger till block + +Du kan lägga till block på alla framsidor, förutom användarkontrollpanelen och moderator Kontrollpanelen. För att lägga till ett block måste du: * klicka på **Block** i administratörsfältet. Detta kommer att visa en lista över tillgängliga block * Dra och släpp önskat block till valfri blockposition + +## Redigerar block + +### Lägger till en block-ikon + +Till vänster om blockets titel (prosilver) finns en låda för block-ikonen. Klicka på den här rutan för att få ikonen väljare. Du kan välja ikonens storlek, färg, float, rotation, etc. + +### Redigerar blockets titel + +phpBB SiteMaker block kommer att ha en standard, översatt titel, men om titeln inte uppfyller dina behov, kan du ändra det. Redigera blockets titel, * Klicka på blockets titel för att få ett inline redigeringsformulär * Ändra titeln till vad du vill * Ta bort fokus från fältet eller tryck på enter för att skicka ändringar + +> Din ändrade blocktitel är inte översatt +> +> För att återgå till standardtiteln tar du enkelt bort titeln och trycker på enter + +### Redigerar blockinställningar + +När du svävar över ett block visas en kugghjulsikon, till höger om blocket som kan användas för att redigera blocket. I dialogrutan redigera block kan du: - Aktivera/inaktivera ett block [Status] - Välj när blocket ska/ska inte visas [Display]. Detta gäller endast i de fall du har nästlat sidor (se [Understanding Block Inheritance](./blocks-inheritance.md)): - **Alltid**: Visa alltid blocket - **Dölj på underordnade rutter**: Visa endast detta block på överordnade rutten - **Visa endast på underordnade rutter**: Visa endast detta block på underordnade rutt - Välj vilka grupper av användare som kan visa blocket [Visas av]. Använd CTRL + klicka för att välja flera grupper. - Ställ in anpassade klasser för att ändra utseendet på blocket eller objekt (listor, bilder, bakgrund, etc) i blocket [CSS-klass] - Visa/dölj blockets titel [Dölj blockets titel? - Välj blockvyn [Blockvy]. Du kan välja en standard blockvy när nya block läggs till i ACP. - **Standard / Enkel**: använder prosilver panel klassen för att linda in blocket i en vadderad behållare - **Basic**: blocket har inte någon behållare inslagning det - **Boxad**: använder prosilver forabg klassen för att linda blocket i en låda - Ställ in / Uppdatera block specifika inställningar - Om du har samma block med samma inställningar på flera sidor, du kan uppdatera dem alla på en gång genom att kontrollera **Uppdateringsblocken med liknande inställningar** + +## Tar bort block + +- Håll muspekaren över blocket du vill ta bort +- Klicka på ikonen **x** och bekräfta att du vill ta bort blocket +- Gå upp till administratörsfältet och klicka på `Spara ändringar` \ No newline at end of file diff --git a/docs/website/translated_docs/sv/blocks-overview.md b/docs/website/translated_docs/sv/blocks-overview.md new file mode 100644 index 000000000000..b246b0e30bd9 --- /dev/null +++ b/docs/website/translated_docs/sv/blocks-overview.md @@ -0,0 +1,10 @@ +--- +id: block-översikt +title: Vad är block? +--- + +I hjärtat av phpBB SiteMaker är begreppet block. Block är små bitar av innehåll som du kan placera i olika fördefinierade områden (blockpositioner) på din webbplats. Blocken kommer vanligtvis att ha inställningar som du kan ställa in/ändra för att finjustera det innehåll som du vill visa. De flesta block, men inte alla, kommer att göra databasfrågor för att få det önskade innehållet. Så låt oss inte bli för galna :). För att hantera block måste du växla till "redigeringsläge". + +## Redigera läge + +Växla till redigeringsläge genom att klicka på pennikonen längst upp till höger på din webbplats. Detta kommer att visa "Admin bar" med "Block" och "Inställningar" menyobjekt. Detta kallas att vara i "redigeringsläge". \ No newline at end of file diff --git a/docs/website/translated_docs/sv/blocks-views.md b/docs/website/translated_docs/sv/blocks-views.md new file mode 100644 index 000000000000..827323265199 --- /dev/null +++ b/docs/website/translated_docs/sv/blocks-views.md @@ -0,0 +1,6 @@ +--- +id: block-vyer +title: Blockera visningar +--- + +Arbetet pågår... \ No newline at end of file diff --git a/docs/website/translated_docs/sv/contrib-overview.md b/docs/website/translated_docs/sv/contrib-overview.md new file mode 100644 index 000000000000..478eda2883c0 --- /dev/null +++ b/docs/website/translated_docs/sv/contrib-overview.md @@ -0,0 +1,11 @@ +--- +id: contrib-översikt +title: Engagera dig +--- + +phpBB SiteMaker är ett projekt med öppen källkod och välkomnar dina idéer och bidrag. Så känn dig fri att engagera dig. Du kan bidra till detta projekt genom att: + +* [Ge support/feedback](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Rapporterar fel](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Hjälper med översättning](./contrib-translators.md) +* [Fixa buggar eller lägga till funktioner](./contrib-pull-requests.md) \ No newline at end of file diff --git a/docs/website/translated_docs/sv/contrib-pull-requests.md b/docs/website/translated_docs/sv/contrib-pull-requests.md new file mode 100644 index 000000000000..fee137083595 --- /dev/null +++ b/docs/website/translated_docs/sv/contrib-pull-requests.md @@ -0,0 +1,76 @@ +--- +id: contrib-pull-förfrågningar +title: Skicka in en Pull-förfrågan +sidebar_label: Pull förfrågningar +--- + +`Dra förfrågningar låter dig berätta för andra om ändringar som du har skjutit till en gren i ett utvecklingskatalog på GitHub. När en pull-förfrågan har öppnats, du kan diskutera och granska eventuella ändringar med samarbetspartners och lägga till uppföljningskontroller innan dina ändringar slås samman till basgrenen.` [Läs mer](https://help.github.com/articles/about-pull-requests/) + +## Forkar/Kloning + +* Skapa ett github-konto om du inte redan har ett +* Gå till https://github.com/blitze/phpBB-ext-sitemaker.git och klicka på "Fork" + +Klona din gaffel av utvecklingskatalogen: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +Från kommandoraden gå till sitemaker katalog: + + cd phpBB/ext/blitze/sitemaker + + +**Konfigurera git:** + +Lägg till ditt användarnamn till Git på ditt system: + + git config --global user.name "Ditt namn här" + + +Lägg till din e-postadress till Git på ditt system: + + git config --add user.email användarnamn@phpbb.com + + +Lägg till uppströms fjärrkontroll (du kan ändra 'uppströms' till vad du vill): + + git remote lägg till uppströms git://github.com/blitze/phpBB-ext-sitemaker.git + + +**Installera leverantörer** + + installation av kompositör + + +**Installera NPM-paket** + + npm install + + +Alternativt kan du använda [garn](https://yarnpkg.com): + + yarn installation + + +## Pull förfrågningar + + # Skapa en ny affärsenhet för din funktion & växla till den + git kassan -b funktion/my-fancy-new-feature + + # skapa en ny affärsenhet för problemet du arbetar med * växla till det (ärende# är från github tracker) + git kassan -b biljett/1234 + + +Gör dina ändringar + + # Steg filerna + git add + + # Commit iscensatta filer - använd ett korrekt commit meddelande + git commit -m "my commit message" + + +Tryck tillbaka affärsenheten till GitHub git push-ursprung funktion/my-fancy-new-feature + +Skicka in en [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) \ No newline at end of file diff --git a/docs/website/translated_docs/sv/contrib-translators.md b/docs/website/translated_docs/sv/contrib-translators.md new file mode 100644 index 000000000000..f20039652932 --- /dev/null +++ b/docs/website/translated_docs/sv/contrib-translators.md @@ -0,0 +1,17 @@ +--- +id: contrib-översättare +title: Översättare +--- + +Vi behöver hjälp med att översätta denna förlängning och dess dokumentation. Vi har skapat ett projekt på Crowdin för att underlätta översättningar. Crowdin ger dig ett översättningsgränssnitt som inte är oöverträffat. Du kan bidra med hur du än vill men vi rekommenderar verkligen att du använder Crowdin. + +> Crowdin är en localization management plattform som hjälper företag att översätta deras programvara. Du kan läsa mer om Crowdin [här](https://support.crowdin.com/crowdin-intro/) + +Om du är villig att bidra med översättningar behöver du: + +* Ett [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) konto. +* Välj målspråket om det finns en begäran om att bli aktiverad. + +Om ditt språk inte är listat, vänligen [kontakta mig](https://crowdin.com/profile/blitze) så lägger jag till det. + +[Börja översätta](https://crowdin.com/project/phpbb-ext-sitemaker) \ No newline at end of file diff --git a/docs/website/translated_docs/sv/developer-events.md b/docs/website/translated_docs/sv/developer-events.md new file mode 100644 index 000000000000..19bacf7aa2aa --- /dev/null +++ b/docs/website/translated_docs/sv/developer-events.md @@ -0,0 +1,120 @@ +--- +id: utvecklarevent +title: SiteMaker Evenemang för phpBB +--- + +Du kan ändra beteendet hos phpBB SiteMaker med phpBB: s händelsesystem. + +## PHP-händelser + +# bulk.sitemaker.acp_add_bulk_menu_options + +- Plats: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Sedan dess : 3.1.0 +- Syfte: Lägg till bulk menyalternativ i acp meny + +# Sidansvarig: acp_display_settings_form + +- Plats: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Sedan dess : 3.1.0 +- Syfte: display-acp (sitemaker) inställningsformulär + +# blitze.sitemaker.acp_save_settings + +- Plats: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Sedan dess : 3.1.0 +- Syfte: Spara acp (sitemaker) inställningar + +# blitze.sitemaker.admin_bar.set_assets + +- Plats: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Sedan dess : 3.0.1-RC1 +- Syfte: Lägg till tillgångar för tillgängliga block i redigeringsläge + +# plats.sitemaker.modify_block_positioner + +- Plats: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Sedan dess : 3.0.1-RC1 +- Syfte: Ändra blockpositioner + +# blitze.sitemaker.modify_rendered_block + +- Plats: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Sedan dess : 3.0.1-RC1 +- Syfte: Ändra ett renderat block + +## Mall Händelser + +# Inställningar + +- Plats: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Sedan dess : 3.1.0 +- Syfte: Lägg till formulärfält för sitemaker inställningar + +# Bifoga + +- Plats: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Sedan dess : 3.1.0 +- Syfte: Lägg till menyobjekt till administratörsfältet + +# Sidmallar + +- Plats: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Sedan dess : 3.1.0 +- Syfte: Lägg till mallfiler som ska användas i JS för blockvyer etc + +## Javascript händelser + +# Sparad + +- Plats: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Sedan dess : 3.1.2 +- Syfte: Händelse för att tillåta andra tillägg att göra något när layoutändringar sparas + +# Före + +- Plats: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Sedan dess : 3.1.2 +- Syfte: Händelse för att tillåta andra tillägg att göra något innan blocket renderas eller förhindra det från att återges + +# Efter + +- Plats: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Sedan dess : 3.1.2 +- Syfte: Händelse för att tillåta andra tillägg att göra något efter blocket renderas + +# Före + +- Plats: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Sedan dess : 3.1.2 +- Syfte: Händelse för att tillåta andra tillägg att ändra blockdata innan den sparas + +# Alla positioner + +- Plats: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Sedan dess : 3.1.2 +- Syfte: Händelse för att tillåta andra tillägg att göra något när alla blockpositioner visas + +# Dölj + +- Plats: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Sedan dess : 3.1.2 +- Syfte: Händelse för att tillåta andra tillägg att göra något när tomma positioner är dolda + +# Rensa + +- Plats: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Sedan dess : 3.1.2 +- Syfte: Händelse för att tillåta andra tillägg att göra något när layouten rensas + +# Uppdaterad + +- Plats: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Sedan dess : 3.1.2 +- Syfte: Händelse för att tillåta andra tillägg att göra något när layouten uppdateras + +# Alternativ + +- Plats: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Sedan dess : 3.3.0 +- Syfte: Händelse för att tillåta andra tillägg att ändra tinymce alternativ \ No newline at end of file diff --git a/docs/website/translated_docs/sv/developer-extensions.md b/docs/website/translated_docs/sv/developer-extensions.md new file mode 100644 index 000000000000..1b781d5dc088 --- /dev/null +++ b/docs/website/translated_docs/sv/developer-extensions.md @@ -0,0 +1,177 @@ +--- +id: utvecklartillägg +title: Utöka phpBB SiteMaker +--- + +Du kan förlänga/ändra phpBB SiteMaker genom att använda [service replacement](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [service decoration](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), och [phpBB's event system](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Du kan hitta en lista över händelser som stöds [här](./developer-events.md). + +## Skapa ett SiteMaker-block + +En phpBB SiteMaker block är helt enkelt en klass som utökar blitze\sitemaker\services\blocks\driver\block klass och returnerar en array från "visa" metod med en "titel" och "innehåll". Allt annat mellan er är upp till er. För att göra ditt block upptäckbart av phpBB SiteMaker, måste du ge det "sitemaker.block" taggen. + +Säg att vi har en förlängning med leverantör/förlängning som min/exempel. För att skapa ett block som heter "my_block" för phpBB SiteMaker: + +- Skapa en "block"-mapp +- Skapa my_block.php fil i blockmappen med följande innehåll + +```php +namespace my\example\blocks; + +använd blitze\sitemaker\services\blocks\driver\block; + +class my_block extends block +{ + /** + * {@inheritdoc} + */ + public function display (array $settings, $edit_mode = false) + { + returnera array( + 'title' => 'min blocktitel', + 'innehåll' => 'mitt blockinnehåll', + ) + } +} +``` + +Sedan i din config.yml fil, lägg till följande: + +```yml +tjänster: + +... + + my.example.block.my_block: + class: my\exempel\blocks\my_block + ringer: + - [set_name, [my.example.block.my_block]] + taggar: + - { name: sitemaker.block } + +.... + +``` + +På ett minimum, det är allt du behöver. Om du går in i redigeringsläge bör du se blocket listat som 'MY_EXAMPLE_BLOCK_MY_BLOCK' som kan dras och släppas på alla blockpositioner. Men detta block gör ingenting spännande. Den har inga inställningar och översätter inte blockets namn. Låt oss göra det mer intressant. + +### Blockera inställningar + +Låt oss ändra våra block/my_block. HK fil och lägg till en "get_config" metod th vid returnerar en array med tangenterna är blockinställningar och värdena är en array som beskriver inställningar som så: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + returarray( + 'legend1' => 'TAB1', + 'kryssruta' => array('lang' => 'SOME_LANG_VAR_1', 'validera' => 'sträng', 'typ' => 'kryssruta', 'alternativ' => $options, 'default' => array(), 'förklara' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'typ' => 'radio:yes_no', 'förklara' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validera' => 'bool', 'typ' => 'radio', 'alternativ' => $options, 'förklara' => falskt, 'standard' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validera' => 'sträng', 'typ' => 'select', 'alternativ' => $options, 'standard' => '', 'förklara' => falskt), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validerad' => 'sträng', 'typ' => 'multi_select', 'alternativ' => $options, 'standard' => array(), 'förklara' => falskt), + 'legend2' => 'TAB2', + 'nummer' => array('lang' => 'SOME_LANG_VAR_6', 'validera' => 'int:0:20', 'typ' => 'nummer:0:20', 'maxlength' => 2, 'förklara' => false, 'standard' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validera' => 'sträng', 'typ' => 'textarea:3:40', 'maxlength' => 2, 'förklara' => sant, 'standard' => '), + 'växla' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validera' => 'sträng', 'typ' => 'select:1:0:toggle_key', 'alternativ' => $options, 'standard' => '', 'append' => '
Visa endast när alternativ 1 är markerat
'), + ); +} +``` + +Detta är konstruerat på samma sätt som phpBB bygger konfigurationen för kortinställningar i ACP. Du kan se fler exempel [här](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Om du vill ha en anpassad fälttyp, kan du se ett exempel [här](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' inställning). + +Lägg märke till 'legend1' och 'legend2': Dessa används för att separera inställningarna i flikar. + +### Namnge block + +Konventionen för blocknamn är att tjänstens namn (t.ex. my.example.block. y*block ovan) kommer att användas som språklyckel genom att ersätta prickarna (.) med understreck (*) (t.ex. MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Översättning + +Notera också att vi har flera språknycklar som behöver översättas. För att göra detta, skapa en fil som heter "blocks_admin.php" i din språkmapp. Den här filen kommer att laddas automatiskt vid redigering av block, och bör ha översättningar för dina blockinställningar och blocknamn. + + $lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Option 1', + 'OTHER_LANG_VAR' => 'Alternativ 2', + 'SOME_LANG_VAR_1' => 'Ställa in 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Mitt Block', + ); + + +Eftersom 'blocks_admin.php' endast laddas vid redigering av block, måste du lägga till andra översättningar (t.ex. blockera titel) genom att läsa in en språkfil i din visningsmetod som så `$language->add_lang('my_lang_file', 'my/exempel');` + +### Renderar blocket + +Det nya blocket kommer endast att visas om det renderar något. Ditt block kan returnera vilken sträng som helst som innehåll, men i de flesta fall behöver du en mall för att återge ditt innehåll. För att rendera ditt block med hjälp av mallar, blocket måste returnera en array som innehåller data som du vill skicka till mallen och måste även implementera metoden `get_template` som visas nedan: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + returarray( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validera' => 'sträng', 'typ' => 'kryssruta', 'alternativ' => $options, 'default' => array(), 'förklara' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + returnera '@my_exempel/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // do something only in edit mode + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Då kan din styles/all/my_block.html eller styles/prosilver/my_block.html fil se ut ungefär så här: + +

Du valde: {{ some_var }}

+ + +Sammanfattningsvis blocket måste returnera en array med en `titel` nyckel (för blockets titel) och en `innehåll` nyckel (om blocket bara visar en sträng och inte använder en mall) eller en `data` nyckel (om blocket använder en mall, I vilket fall måste du också implementera `get_template` metoden). + +### Blockera tillgångar + +Om ditt block behöver lägga till tillgångar (css/js) på sidan, rekommenderar jag att du använder sitemaker [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) för det. Eftersom det kan finnas mer än en instans av samma block på sidan, eller andra block kan lägga till samma tillgång, säkerställer util-klassen att tillgången bara läggs till. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_exempel/assets/vissa. s', + 100 => '@my_exempel/tillgångar/annat. s', // ange prioritet + ), + 'css' => array( + '@my_exempel/assets/vissa. ss', + ) +) +``` + +Den util-klassen kommer naturligtvis att behöva läggas till dina tjänstedefinitioner i config.yml som så: `- '@blitze.sitemaker. til'` och definieras i blockets konstruktör `\blitze\sitemaker\services\util $util`. + +Och det är det. Vi är klara! \ No newline at end of file diff --git a/docs/website/translated_docs/sv/developer-theming.md b/docs/website/translated_docs/sv/developer-theming.md new file mode 100644 index 000000000000..26d7a8f1605d --- /dev/null +++ b/docs/website/translated_docs/sv/developer-theming.md @@ -0,0 +1,55 @@ +--- +id: tema för utvecklare +title: Tema +--- + +phpBB SiteMaker levereras med stilar och färger för prosilver. Du kan skriva över CSS, JS och HTML-filer genom att skapa motsvarande fil i din stilmapp. + +# Skapa JS/CSS-filer för din stil + +Obs: * För nedanstående instruktioner kommer vi att anta att du har en stil som kallas my-style. + +Klona in i phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +Från kommandoraden gå till sitemaker katalog: + + cd phpBB/ext/blitze/sitemaker + + +**Installera leverantörer** + + installation av kompositör + + +**Installera paket** + +För nedanstående kommandon kan du använda npm eller [garn](https://yarnpkg.com) + + yarn installation + + +**Titta på ändringar** + + yarn start --tema min stil + + +**Gör ändringar** + +* Gör dina ändringar i filerna i mappen phpBB/ext/blitze/sitemaker. +* Titta på phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss för sassvariabler + +**Bygg tillgångar** + + yarn bygga --tema min stil + + +**Distribuera** + +Du kan nu kopiera de genererade filerna från phpBB/ext/blitze/sitemaker/styles/my-style och ladda upp dem till din produktionsserver. + +> Detta tillägg använder jQuery UI för flikar, dialogrutor och knappar. Standardtemat jQuery är "smoothness". Du kan använda en annan jQuery UI tema som bäst passar ditt tema. Du kan ange jQuery UI tema med flaggan --jq_ui_theme. Till exempel: + + yarn bygga --tema min stil --jq_ui_theme ui-lätthet \ No newline at end of file diff --git a/docs/website/translated_docs/sv/filemanager.md b/docs/website/translated_docs/sv/filemanager.md new file mode 100644 index 000000000000..08caa9b8029e --- /dev/null +++ b/docs/website/translated_docs/sv/filemanager.md @@ -0,0 +1,34 @@ +--- +id: filemanager +title: Responsive Filemanager +--- + +As of version 3.1.0, phpBB SiteMaker supports the [Responsive Filemanager](http://responsivefilemanager.com) + +* The file manager is used as a TinyMCE pluging (WYSIWYG editor) when editing custom blocks +* It is currently configured to creat separate folders for each user, except the user with a_sm_filemanager permission (Can see/manage other users' folders), which allows them access to view/manage all upload folders. + +## Installation + +* Download the [Responsive FileManager](http://responsivefilemanager.com/index.php#sthash.5UrnhjX2.dpbs) +* Extract it, and upload the files to your phpBB root folder. The file structure should be as below: + +```text +phpBB +├── images/ +├── includes/ +├── ... +└── ResponsiveFilemanager/ + └── filemanager/ + └── config/ + ├── .htaccess + └── config.php +``` + +## Activation + +* Go to ACP > Extensions > SiteMaker > Settings +* Enable File Manager feature +* Save changes +* Update user permissions (Misc tab) to determine who can use this feature [Can use File Manager] +* Update admin permissions (Misc tab) to determine who can manager user folders [Can see/manage other users’ folders in File Manager] \ No newline at end of file diff --git a/docs/website/translated_docs/sv/installation.md b/docs/website/translated_docs/sv/installation.md new file mode 100644 index 000000000000..aa47dad322c6 --- /dev/null +++ b/docs/website/translated_docs/sv/installation.md @@ -0,0 +1,18 @@ +--- +id: installation +title: Installerar / uppgraderar +--- + +Ladda ner tillägget från [här](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker + +* Extrahera och ladda upp den till din phpBB/ext/ mapp så att du har phpBB/ext/blitze/sitemaker +* Gå till "ACP" > "Anpassa" > "Tillägg" och aktivera tillägget "phpBB Sitemaker". + +## Uppgradera phpBB SiteMaker + +* Skapa en säkerhetskopia av din databas om något skulle gå fel +* Gå till "ACP" > "Anpassa" > "Tillägg" och inaktivera (rensa inte) "phpBB Sitemaker" +* Ladda ner och extrahera den senaste versionen av phpBB SiteMaker och ladda upp den till mappen phpBB/ext/ (skriva) +* Gå till "ACP" > "Anpassa" > "Tillägg" och aktivera tillägget "phpBB Sitemaker". \ No newline at end of file diff --git a/docs/website/translated_docs/sv/introduction.md b/docs/website/translated_docs/sv/introduction.md new file mode 100644 index 000000000000..0836c202b722 --- /dev/null +++ b/docs/website/translated_docs/sv/introduction.md @@ -0,0 +1,6 @@ +--- +id: introduktion +title: Introduktion +--- + +phpBB SiteMaker syftar till att omvandla din phpBB styrelse till en CMS/portal. Det gör det genom att ge dig block och menyer för att hjälpa dig anpassa din webbplats till dina önskemål. Det finns eller kommer att finnas andra SiteMaker-tillägg som ger ytterligare funktionalitet för att uppfylla detta mål. Det gör också att du kan definiera en landningssida när din webbplats är tillgänglig. Så om du inte vill att besökare till din webbplats att omedelbart se phpBB forum när de går till www. vår-site.com kan du definiera din egen startsida. \ No newline at end of file diff --git a/docs/website/translated_docs/sv/menus-display.md b/docs/website/translated_docs/sv/menus-display.md new file mode 100644 index 000000000000..81b949dd77a4 --- /dev/null +++ b/docs/website/translated_docs/sv/menus-display.md @@ -0,0 +1,18 @@ +--- +id: menyvisning +title: Visar menyer +--- + +Nu när du har skapat dina menyer kan du visa dem på flera sätt: + +## Block för länkar + +Du kan använda detta block för att visa en platt eller nästlad lista över menyobjekt. Detta block är inte avsett att användas för navigering dvs det kommer inte att visa en aktuell sida eller något liknande. Den är avsedd för en lista över objekt, inklusive externa länkar. + +## Menyer Block + +Detta block är avsett för navigering. Det gör några ytterligare beräkningar för att bestämma aktuell plats och är inte avsedd att vara en mycket stor lista. + +## Navigeringsfält + +I likhet med menyblocket kommer navigeringsfältet att visa menyalternativ som en responsiv rullgardinsmeny avsedd för navigering. Du kan aktivera detta i AVS > Tillägg > Webbplatskartor > Inställningar > Välj meny \ No newline at end of file diff --git a/docs/website/translated_docs/sv/menus-managing-items.md b/docs/website/translated_docs/sv/menus-managing-items.md new file mode 100644 index 000000000000..f7a74f591a9a --- /dev/null +++ b/docs/website/translated_docs/sv/menus-managing-items.md @@ -0,0 +1,30 @@ +--- +id: menus-hantering-objekt +title: Hantera menyobjekt +--- + +Din meny är värdelös om den inte har menyobjekt. Du kan lägga till menyalternativ som pekar på lokala eller externa filer. + +> URL för externa webbplatser måste börja med http(s)://, ftp://, //, etc. +> +> Du kan skapa en avdelare genom att ange '-' som artikelns titel + +## Lägger till menyobjekt + +Du kan lägga till menyalternativ ett objekt åt gången, eller så kan du lägga till flera menyalternativ åt gången. + +### Lägger till enskilda menyalternativ + +Lägga till ett enda menyobjekt * Klicka på `Lägg till menyobjekt` -knappen * Fyll i nödvändig information och tryck `Spara` + +### Lägger till flera objekt + +Lägga till flera menyalternativ på en gång, * Klicka på ikonen ▼ bredvid `Lägg till menyobjekt` * Du kan manuellt lägga till objekt genom att placera varje objekt på en ny rad och använda fliken tecken boobjekt eller * Du kan klicka på ett av de angivna alternativen längst ner i textfältet för att automatiskt fylla i menyobjekten + +## Ordna om menyobjekten + +Du kan dra och släppa menyobjekten upp/ner för att ställa in sin visningsordning eller dra dem åt vänster/höger för att ställa in önskad hierarki. + +## Bygger om menyobjekt + +Om du upptäcker att menyobjekten inte visas korrekt, klicka på knappen `Bygg om träd` för att bygga om menyobjekten. \ No newline at end of file diff --git a/docs/website/translated_docs/sv/menus-managing.md b/docs/website/translated_docs/sv/menus-managing.md new file mode 100644 index 000000000000..023ec62a4416 --- /dev/null +++ b/docs/website/translated_docs/sv/menus-managing.md @@ -0,0 +1,22 @@ +--- +id: Menyhantering +title: Hantera menyer +--- + +Du kan skapa menyer i AVS som du sedan kan visa med hjälp av menyerna eller länkblocken eller som visas som ett horisontellt navigationsfält. + +## Hantera menyer + +För att hantera menyer, gå till AVS > Extensions > Sitemaker > Meny + +### Skapar menyer + +För att skapa en ny meny (grupp), klicka på knappen `Lägg till meny`. En ny menygrupp kommer att skapas med ett slumpmässigt genererat namn. Den nya menyn kommer också att väljas så att du kan börja lägga till menyalternativ till den. + +### Redigerar menyer + +Om du vill ha ett mer meningsfullt menynamn, * hovra över menynamnet och klicka på kugghjulsikonen * ange det nya menynamnet och tryck på enter för att uppdatera det + +### Tar bort menyer + +Ta bort en meny och dess objekt, * Håll muspekaren över menynamnet och klicka på **x** -ikonen * Om menyobjektet inte har några underordnade objekt, du måste bekräfta ditt val för att ta bort objektet * Om menyobjektet har underordnade objekt, du måste ange om du bara vill ta bort objektet och flytta dess barn uppåt eller om du vill ta bort hela affärsenheten \ No newline at end of file diff --git a/docs/website/translated_docs/sv/site-block-modifiers.md b/docs/website/translated_docs/sv/site-block-modifiers.md new file mode 100644 index 000000000000..4284150b73ff --- /dev/null +++ b/docs/website/translated_docs/sv/site-block-modifiers.md @@ -0,0 +1,6 @@ +--- +id: site-block-modifierare +title: Anpassa Blocks Display +--- + +Arbetet pågår... \ No newline at end of file diff --git a/docs/website/translated_docs/sv/site-default-layout.md b/docs/website/translated_docs/sv/site-default-layout.md new file mode 100644 index 000000000000..250a65a955f5 --- /dev/null +++ b/docs/website/translated_docs/sv/site-default-layout.md @@ -0,0 +1,10 @@ +--- +id: site-default-layout +title: Ställa in en standardlayout +--- + +När du lägger till ett block läggs det till på den specifika sidan. Det skulle därför vara en mödosam uppgift att sätta block för alla sidor på din webbplats. Du kan ställa in alla önskade block för en viss sida, och sedan ställa in den sidan som standard layout. Med andra ord, någon sida som inte har sina egna block, kommer att ärva block från denna sida. + +För att ställa in en standardlayout * Gå till den sida som du vill ställa in som standardlayout * Klicka på `Inställningar` i administratörsfältet * Klicka på `Ange som standardlayout` -knappen + +Säg att vi lägger till block till en sida (phpBB/index.php) med block i sidofältet och topppositioner, till exempel, och ange det som vår standard layout. Detta har följande effekter för andra sidor: * Alla sidor som inte har sina egna block, kommer ärva blocken från standardlayouten. Se [Förstå Block Arv](./blocks-inheritance.md) för undantag. * Du kan fortfarande ärva block från en standardlayout (index. hp) men välj att inte visa block på vissa blockpositioner eller att inte visa några block alls. För att göra detta, * Gå till den sida som du inte vill att alla/några block ska visas * Klicka på `Inställningar` i administratörsfältet * Välj `Visa inte block på denna sida` om du inte vill ärva / visa några block på denna sida ELLER * Använd CTRL + klicka för att välja blockpositioner (till höger) som du inte vill visa block på * I `redigeringsläge`, en sida som ärver block från standard layout, kommer inte att visa några block, ger dig möjlighet att lägga till block på sidan om du vill * Alla sidor som har egna block kommer inte att ärva från standardlayouten \ No newline at end of file diff --git a/docs/website/translated_docs/sv/site-layouts.md b/docs/website/translated_docs/sv/site-layouts.md new file mode 100644 index 000000000000..ea9b8d330f9f --- /dev/null +++ b/docs/website/translated_docs/sv/site-layouts.md @@ -0,0 +1,20 @@ +--- +id: sajt-layouter +title: Layouter +--- + +"Layouts" bestämmer de tillgängliga blockpositionerna och hur de visas. + +## Blockera positioner + +Blockpositioner är fördefinierade områden på din webbplats där block kan existera. De tillgängliga blockpositionerna bestäms av mallens stil som du använder. För prosilver, phpBB SiteMaker levereras med följande blockpositioner: * panel: full bredd över toppen * sidofält: vänster/höger beroende på layout under * underinnehåll: liknande sidofältet bara större * top_hor: horisontella block över toppen, flankerar över sidofältet/underinnehållet beroende på layout * överst: ovanför huvudinnehållet * ruta: lika bredd, horisontella block under huvudinnehållet * botten: under huvudinnehållet * bottom_hor: horisontella block över botten, flankerar sidofältet/underinnehållet beroende på layout * sidfot: horisontella block i sidfoten Du kan lägga till fler blockpositioner i dina egna stilmallar genom att kopiera och modifiera motsvarande phpBB SiteMaker-mallar + +## Webbplatsens layout + +Du kan välja layout för din webbplats i AVS (Extensions > Sitemaker > Inställningar): * **Blogg**: underinnehåll och sidofält bredvid varandra, pressas till höger, top_hor/botom_hor flank underinnehåll * **Holy Grail**: lika bredd sidofält och underinnehåll på motsatta sidor, top_hor/botom_hor flank underinnehåll * **Portal**: sidofält till vänster, underinnehåll till höger, top_hor/botom_hor flank underinnehåll * **Portal Alt**: underinnehåll till vänster, sidofält till höger, top_hor/botom_hor flank sidofält * **Anpassad**: Ange manuellt bredden på sidofältet som px, %, em eller rem. Standard är 200px på varje sida + +## Anpassade mallar/stilar + +Så mycket som möjligt, vi försökte sätta mallfiler och tillgångar i stilar / alla / mapp så att du kan skriva över dem genom att skapa en fil med samma namn under ditt eget malltema e. . Prosilver. Så om du vill ändra hur ett visst block visar eller om du vill skapa din egen layout med dina egna blockpositioner, du behöver helt enkelt skapa en fil med samma namn och sökväg som originalet i din egen stil. + +Om du behöver anpassa CSS/JS-filer, ta en titt på avsnittet [theming](./developer-theming.md). \ No newline at end of file diff --git a/docs/website/translated_docs/sv/site-navbar.md b/docs/website/translated_docs/sv/site-navbar.md new file mode 100644 index 000000000000..edabf65c73d0 --- /dev/null +++ b/docs/website/translated_docs/sv/site-navbar.md @@ -0,0 +1,6 @@ +--- +id: site-navbar +title: Navigeringsfält +--- + +Se [Visningsmenyer](./menus-display#navigation-bar) \ No newline at end of file diff --git a/docs/website/translated_docs/sv/site-startpage.md b/docs/website/translated_docs/sv/site-startpage.md new file mode 100644 index 000000000000..3aabd763093e --- /dev/null +++ b/docs/website/translated_docs/sv/site-startpage.md @@ -0,0 +1,8 @@ +--- +id: site-startpage +title: Ställer in en startsida +--- + +Med phpBB SiteMaker kan du välja någon frontstyrenhet (sidor som nås via app.php/... som standard startsida (sidan som visas när någon besöker din webbplats) istället för forumets index. + +För att göra detta: * Gå till den sida som du vill ställa in som standard startsida * Klicka på `Inställningar` i administratörsfältet. Om det är en berättigad sida, du kommer att se en `Ange som startsida` knappen * Klicka på `Ange som startsida` knappen \ No newline at end of file diff --git a/docs/website/translated_docs/tr/blocks-custom.md b/docs/website/translated_docs/tr/blocks-custom.md new file mode 100644 index 000000000000..58e684841f0d --- /dev/null +++ b/docs/website/translated_docs/tr/blocks-custom.md @@ -0,0 +1,24 @@ +--- +id: blok-özel +title: Özel Blok +--- + +If the available blocks do not give you the freedom you need, there is the `Custom Block` which allows you the freedom to display your own content using BBcode or HTML. Blok bir WYSIWYG editör (TİNYMCE) ve bir script yöneticisi ile birlikte gelir: + +## The editor + +- You can use the editor to create HTML content +- You can edit the source code if you need that level of control by clicking on the `Source code` icon (`<>`) in the editor +- Editör sizin görsel yüklemenize ve modifiye etmenize izin verir + - Ona erişimi olan her kullanıcı için phpBB/images/sitemaker_uploads/ içinde yeni bir klasör oluşturur + - Tüm kullanıcıların klamsrlerini görebilir/yönetebilirsiniz +- The editor filters out any potentially dangerous scripts like javascript, etc. If you need to add content like google ads, the javascript will be filtered out, but you can get around that by doing the following: + - Add the Custom Block to desired location + - Edit the Custom Block, click on the `HTML` tab and paste your Javascript + +## Kod Yöneticisi + +The Custom Block also allows you to add custom CSS and Javascript files to your page. To do this: + +- Add a `Custom Block` to any block position. The position does not matter unless you are also displaying content with the block +- Edit the block, click on the `Scripts` tab and add your CSS or Javascript files > Word of caution though: Adding to many scripts on your page can affect load times \ No newline at end of file diff --git a/docs/website/translated_docs/tr/blocks-inheritance.md b/docs/website/translated_docs/tr/blocks-inheritance.md new file mode 100644 index 000000000000..a11598ce437d --- /dev/null +++ b/docs/website/translated_docs/tr/blocks-inheritance.md @@ -0,0 +1,44 @@ +--- +id: blocks-inheritance +title: Understanding Block Inheritance +--- + +We have already seen that by setting a default layout, other pages that do not have blocks of their own will inherit the blocks from the default layout. There is, however, another type of block inheritance. + +## Parent/Child Routes + +In phpBB SiteMaker, we speak of nested routes in terms of real nested (sub) directories or virtually nested paths/routes. Please stay with me :). * Real Parent/Child routes: For example, the path /some_directory/sub_directory/index.php is a child of /some_directory/index.php * Virtual Parent/Child routes: For example, viewtopic.php is treated as a child of viewforum.php. + +Here are some examples of parent/child routes: + +| Üst | Child | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/my-article | + +## Parent/Child Block Inheritance + +For parent/child routes, the child route inherits the blocks of the parent route (if the parent has its own blocks) or from the default layout (if one has been set). In other words, even if there is a default layout, the child route will inherit blocks from its parent route if the parent route has its own blocks. But not all blocks from the parent route must be inherited. + +## Controlling Block Inheritance + +At a block level, you can control when a block can be inherited by child routes. We touched on this earlier in the [Editing Block Settings](./blocks-managing#editing-block-settings). + +Consider the following real directory structure: + +```text +phpBB +├── index.php +└── Movies/ + ├── index.php + ├── page.php + └── Comedy/ + └── index.php +``` + +For the purposes of inheriting blocks, we say: * The parent route of /phpBB/Movies/Comedy/index.php is /phpBB/Movies/index.php and not /phpBB/Movies/page.php * All pages in a sub directory relative to /phpBB/index.php is a child route of /phpBB/index.php. So /phpBB/Movies/index.php and /phpBB/Movies/page.php are all children of /phpBB/index.php and will therefore inherit its blocks if they do not have blocks of their own. In this case: * When a block on /phpBB/index.php is set to display on **Hide on child routes**, the block will show on /phpBB/index.php (parent route) but not on its child routes * When a block on /phpBB/index.php is set to display on **Show on child routes only**, it will display on /phpBB/Movies/index.php and /phpBB/Movies/page.php (child routes) but not on /phpBB/index.php (parent), nor /phpBB/Movies/Comedy/index.php (we only go one level deep) * When a block on /phpBB/index.php is set to display **always** (default), it will display on /phpBB/index.php (parent), /phpBB/Movies/index.php and /phpBB/page.php (child routes) but not on /phpBB/Movies/Comedy/index.php (we only go one level deep). In this case, /phpBB/Movies/Comedy/index.php will inherit from the default route (if it exists) + +## Posible Future State + +I'm really interested in your feedback in this area. Most phpBB users will not have real directories as outlined above. So I'm thinking of using the structure that is defined in a menu block as a virtual directory structure and apply this parent/child inheritance to it. I'm also considering going beyond one level deep. Please let me know if this will be useful to you. \ No newline at end of file diff --git a/docs/website/translated_docs/tr/blocks-managing.md b/docs/website/translated_docs/tr/blocks-managing.md new file mode 100644 index 000000000000..7003f206e075 --- /dev/null +++ b/docs/website/translated_docs/tr/blocks-managing.md @@ -0,0 +1,38 @@ +--- +id: blocks-managing +title: Mananaging Blocks +--- + +To manage blocks in phpBB SiteMaker, you must be in [Edit Mode](./blocks-overview#edit-mode). + +> When a block does not display any content, it will not be displayed, except in edit mode. That way, you can either give it content (in the case of the Custom block) or change its settings. +> +> In edit mode, the somewhat transparent blocks are blocks that will otherwise not be displayed but are only being displayed because we are in edit mode + +## Adding blocks + +You can add blocks to any front-facing page, except the User Control Panel and Moderator Control Panel pages. To add a block, you will need to: * click on **Blocks** in the Admin bar. This will display a list of available blocks * Drag and drop the desired block to any block position + +## Editing blocks + +### Adding a block icon + +To the left of the block title (prosilver), there is a box for the block icon. Click on this box to get the icon picker. You can select the icon size, color, float, rotation, etc. + +### Editing the Block Title + +phpBB SiteMaker blocks will have a default, translated title but if the title does not meet your needs, you can change it. To edit the block title, * Click on the block title to get an inline edit form * Change the title to whatever you want * Remove focus from the field or hit enter to submit changes + +> Your modified block title is not translated +> +> To revert to the default title, simple delete the title and hit enter + +### Editing block settings + +When you hover over a block, a cog icon will appear to the right of the block that can be used to edit the block. In the edit block dialog, you can: - Enable/disable a block [Status] - Choose when the block should/should not be displayed [Display]. This only applies in cases where you have nested pages (see [Understanding Block Inheritance](./blocks-inheritance.md)): - **Always**: Always display the block - **Hide on child routes**: Only show this block on the parent route - **Show on child routes only**: Only show this block on a child route - Choose which groups of users can view the block [Viewable by]. Use CTRL + click to select multiple groups. - Set custom classes to modify the appearance of the block or items (lists, images, background, etc) within the block [CSS Class] - Show/hide the block title [Hide block title?] - Select the block view [Block view]. You can select a default block view when new blocks are added in ACP. - **Default / Simple**: uses the prosilver panel class to wrap the block in a padded container - **Basic**: block does not have any container wrapping it - **Boxed**: uses the prosilver forabg class to wrap the block in a box - Set / Update block specific settings - If you have the same block with same settings across multiple pages, you can update all of them at once by checking the **Update blocks with similar settings** + +## Deleting blocks + +- Hover over the block you'd like to delete +- Click on the **x** icon and confirm that you wish to delete the block +- Go up to the admin bar and click on `Save Changes` \ No newline at end of file diff --git a/docs/website/translated_docs/tr/blocks-overview.md b/docs/website/translated_docs/tr/blocks-overview.md new file mode 100644 index 000000000000..251efb9bfd8a --- /dev/null +++ b/docs/website/translated_docs/tr/blocks-overview.md @@ -0,0 +1,10 @@ +--- +id: blocks-overview +title: What are blocks? +--- + +At the heart of phpBB SiteMaker is the concept of blocks. Blocks are little pieces of content that you can place in different pre-defined areas (block positions) on your site. The blocks will typically have settings that you can set/change to fine-tune the content that you wish to display. Most blocks, but not all, will make database queries to get the desired content. So let's not get too crazy :). To manage blocks, you will need to switch to "edit mode". + +## Edit Mode + +Switch to edit mode by clicking on the pencil icon on the top right of your site. This will display the "Admin bar" with "Blocks" and "Settings" menu items. This is referred to as being in 'edit mode'. \ No newline at end of file diff --git a/docs/website/translated_docs/tr/blocks-views.md b/docs/website/translated_docs/tr/blocks-views.md new file mode 100644 index 000000000000..a201b5a3a53e --- /dev/null +++ b/docs/website/translated_docs/tr/blocks-views.md @@ -0,0 +1,6 @@ +--- +id: blok-görüntüsü +title: Blok Görüntüsü +--- + +Yapım aşamasında... \ No newline at end of file diff --git a/docs/website/translated_docs/tr/contrib-overview.md b/docs/website/translated_docs/tr/contrib-overview.md new file mode 100644 index 000000000000..5885f01594f4 --- /dev/null +++ b/docs/website/translated_docs/tr/contrib-overview.md @@ -0,0 +1,11 @@ +--- +id: contrib-overview +title: Katkıda Bulun +--- + +phpBB SiteMaker is an open source project and welcomes your ideas and contributions. So feel free to get involved. You can contribute to this project by: + +* [Providing Support/Feedback](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Hata Bildirimi](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Çevirmeye yardım et](./contrib-translators.md) +* [Hata giderilmesi veya özellik eklenmesi](./contrib-pull-requests.md) \ No newline at end of file diff --git a/docs/website/translated_docs/tr/contrib-pull-requests.md b/docs/website/translated_docs/tr/contrib-pull-requests.md new file mode 100644 index 000000000000..a7351ca23f5f --- /dev/null +++ b/docs/website/translated_docs/tr/contrib-pull-requests.md @@ -0,0 +1,76 @@ +--- +id: contrib-pull-requests +title: Submitting a Pull Request +sidebar_label: Pull Requests +--- + +`Pull requests let you tell others about changes you've pushed to a branch in a repository on GitHub. Once a pull request is opened, you can discuss and review the potential changes with collaborators and add follow-up commits before your changes are merged into the base branch.` [Read more](https://help.github.com/articles/about-pull-requests/) + +## Forking/Cloning + +* Create a github account if you don't already have one +* Go to https://github.com/blitze/phpBB-ext-sitemaker.git and click on "Fork" + +Clone your fork of the repository: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +From command line go to sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + + +**Configure git:** + +Add your Username to Git on your system: + + git config --global user.name "Your Name Here" + + +Add your E-mail address to Git on your system: + + git config --add user.email username@phpbb.com + + +Add the upstream remote (you can change ‘upstream’ to whatever you like): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + + +**Install vendors** + + composer install + + +**Install NPM packages** + + npm install + + +Alternatively you may use [yarn](https://yarnpkg.com): + + yarn install + + +## Pull Requests + + # Create a new branch for your feature & switch to it + git checkout -b feature/my-fancy-new-feature + + # create a new branch for the issue you are working on * switch to it (ticket # is from github tracker) + git checkout -b ticket/1234 + + +Make your changes + + # Stage the files + git add + + # Commit staged files - please use a correct commit message + git commit -m "my commit message" + + +Push the branch back to GitHub git push origin feature/my-fancy-new-feature + +Submit a [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) \ No newline at end of file diff --git a/docs/website/translated_docs/tr/contrib-translators.md b/docs/website/translated_docs/tr/contrib-translators.md new file mode 100644 index 000000000000..5f14593015ba --- /dev/null +++ b/docs/website/translated_docs/tr/contrib-translators.md @@ -0,0 +1,17 @@ +--- +id: contrib-translators +title: Translators +--- + +We need help translating this extension, as well as its documentation. We have created a project on Crowdin to ease translations. Crowdin gives you a translation interface that's second to none. You can contribute how ever you want but we really recommend using Crowdin. + +> Crowdin is a localization management platform that helps companies to translate their software. You can read more about Crowdin [here](https://support.crowdin.com/crowdin-intro/) + +If you are willing to contribute with translations, you will need: + +* A [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) account. +* Chose the target language if exist otherwise request to be enabled. + +If your desired language is not listed, please [contact me](https://crowdin.com/profile/blitze) and I will add it. + +[Start Translating](https://crowdin.com/project/phpbb-ext-sitemaker) \ No newline at end of file diff --git a/docs/website/translated_docs/tr/developer-events.md b/docs/website/translated_docs/tr/developer-events.md new file mode 100644 index 000000000000..562c7bed6fd4 --- /dev/null +++ b/docs/website/translated_docs/tr/developer-events.md @@ -0,0 +1,120 @@ +--- +id: developer-events +title: phpBB SiteMaker Events +--- + +You can modify the behavior of phpBB SiteMaker using phpBB's event system. + +## PHP Events + +# blitze.sitemaker.acp_add_bulk_menu_options + +- Location: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Since: 3.1.0 +- Purpose: Add bulk menu options in acp menu + +# blitze.sitemaker.acp_display_settings_form + +- Location: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Since: 3.1.0 +- Purpose: display acp (sitemaker) settings form + +# blitze.sitemaker.acp_save_settings + +- Location: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Since: 3.1.0 +- Purpose: Save acp (sitemaker) settings + +# blitze.sitemaker.admin_bar.set_assets + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Since: 3.0.1-RC1 +- Purpose: Add assets for available blocks in edit mode + +# blitze.sitemaker.modify_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Since: 3.0.1-RC1 +- Purpose: Modify block positions + +# blitze.sitemaker.modify_rendered_block + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Since: 3.0.1-RC1 +- Purpose: Modify a rendered block + +## Template Events + +# blitze_sitemaker_acp_settings + +- Location: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Since: 3.1.0 +- Purpose: Add form fields for sitemaker settings + +# blitze_sitemaker_admin_bar_append + +- Location: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Since: 3.1.0 +- Purpose: Add menu items to admin bar + +# blitze_sitemaker_admin_bar_templates + +- Location: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Since: 3.1.0 +- Purpose: Add template files to be used in JS for block views, etc + +## Javascript Events + +# blitze_sitemaker_layout_saved + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout changes are saved + +# blitze_sitemaker_render_block_before + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something before block is rendered or prevent it from being re-rendered + +# blitze_sitemaker_render_block_after + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something after block is rendered + +# blitze_sitemaker_save_block_before + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to modify block data before it is saved + +# blitze_sitemaker_show_all_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when all block positions are shown + +# blitze_sitemaker_hide_empty_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when empty positions are hidden + +# blitze_sitemaker_layout_cleared + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout is cleared + +# blitze_sitemaker_layout_updated + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout is updated + +# blitze_sitemaker_tinymce_options + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Since: 3.3.0 +- Purpose: Event to allow other extensions to modify tinymce options \ No newline at end of file diff --git a/docs/website/translated_docs/tr/developer-extensions.md b/docs/website/translated_docs/tr/developer-extensions.md new file mode 100644 index 000000000000..fc9e22ad6904 --- /dev/null +++ b/docs/website/translated_docs/tr/developer-extensions.md @@ -0,0 +1,177 @@ +--- +id: developer-extensions +title: Extending phpBB SiteMaker +--- + +You can extend/modify phpBB SiteMaker using [service replacement](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [service decoration](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), and [phpBB's event system](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). You can find a list of supported events [here](./developer-events.md). + +## Creating a SiteMaker block + +A phpBB SiteMaker block is simply a class that extends the blitze\sitemaker\services\blocks\driver\block class and returns an array from the "display" method with a 'title' and 'content'. Everything else inbetween is up to you. To make your block discoverable by phpBB SiteMaker, you'll need to give it the "sitemaker.block" tag. + +Say we have an extension with vendor/extension as my/example. To create a block called "my_block" for phpBB SiteMaker: + +- Create a "blocks" folder +- Create my_block.php file in the blocks folder with the following content + +```php +namespace my\example\blocks; + +use blitze\sitemaker\services\blocks\driver\block; + +class my_block extends block +{ + /** + * {@inheritdoc} + */ + public function display(array $settings, $edit_mode = false) + { + return array( + 'title' => 'my block title', + 'content' => 'my block content', + ); + } +} +``` + +Then in your config.yml file, add the following: + +```yml +services: + + ... + + my.example.block.my_block: + class: my\example\blocks\my_block + calls: + - [set_name, [my.example.block.my_block]] + tags: + - { name: sitemaker.block } + + .... + +``` + +At a bare minimum, that's all you need. If you go into edit mode, you should see the block listed as 'MY_EXAMPLE_BLOCK_MY_BLOCK' that can be dragged and dropped on any block position. But this block doesn't do anything exciting. It has no settings and does not translate the block name. Let's make it more interesting. + +### Block Settings + +Let's modify our blocks/my_block.php file and add a "get_config" method th at returns an array with the keys being the block settings and the values being an array describing the settings like so: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Only show when option 1 is selected
'), + ); + } +``` + +This is constructed the same way that phpBB builds the configuration for board settings in ACP. You can see more examples [here](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +If you want a custom field type, you can see an example [here](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' setting). + +Notice 'legend1' and 'legend2': These are used to separate the settings into tabs. + +### Naming Blocks + +The convention for block names is that the service name (e.g my.example.block.my*block above) will be used as the language key by replacing the dots (.) with underscore (*) (e.g MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Translation + +Also notice that we have several language keys that need to be translated. To do this, create a file named "blocks_admin.php" in your language folder. This file will be automatically loaded when editing blocks, and should have translations for your blocks settings and block names. + + $lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Option 1', + 'OTHER_LANG_VAR' => 'Option 2', + 'SOME_LANG_VAR_1' => 'Setting 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'My Block', + ); + + +Because 'blocks_admin.php' is only loaded when editing blocks, you will need to add other translations (e.g. block title) by loading a language file in your display method like so `$language->add_lang('my_lang_file', 'my/example');` + +### Rendering the block + +The new block will only be displayed if it is rendering something. Your block can return any string as content but in most cases, you need a template to render your content. To render your block using templates, the block must return an array that holds the data that you want to pass to the template and must also implement the `get_template` method as demonstrated below: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block.html'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // do something only in edit mode + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); + } +``` + +Then your styles/all/my_block.html or styles/prosilver/my_block.html file might look something like this: + +

You selected: {{ some_var }}

+ + +In summary, your block must return an array with a `title` key (for the block title) and a `content` key (if the block just displays a string and does not use a template) or a `data` key (if the block uses a template, in which case, you will also need to implement the `get_template` method). + +### Block Assets + +If your block needs to add assets (css/js) to the page, I recommend using the sitemaker [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) for that. Since there can be more than one instance of the same block on the page, or other blocks might be adding the same asset, the util class ensures that the asset is only added ones. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some.js', + 100 => '@my_example/assets/other.js', // set priority + ), + 'css' => array( + '@my_example/assets/some.css', + ) + )); +``` + +The util class will, of course, need to be added to your service definitions in config.yml like so: `- '@blitze.sitemaker.util'` and defined in your block's constructor `\blitze\sitemaker\services\util $util`. + +And that's it. We're done! \ No newline at end of file diff --git a/docs/website/translated_docs/tr/developer-theming.md b/docs/website/translated_docs/tr/developer-theming.md new file mode 100644 index 000000000000..8f76e7c40ddd --- /dev/null +++ b/docs/website/translated_docs/tr/developer-theming.md @@ -0,0 +1,55 @@ +--- +id: developer-theming +title: Theming +--- + +phpBB SiteMaker comes with styles and colors made for prosilver. You can overwrite CSS, JS, and HTML files by creating the corresponding file in your style's folder. + +# Creating JS/CSS files for your style + +Note: * For the purpose of the below instructions we will assume that you have a style called my-style. + +Clone into phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +From command line go to sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + + +**Install vendors** + + composer install + + +**Install packages** + +For the below commands you can use npm or [yarn](https://yarnpkg.com) + + yarn install + + +**Watch Changes** + + yarn start --theme my-style + + +**Make Changes** + +* Make your changes to files in the phpBB/ext/blitze/sitemaker/develop folder. +* Look at phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss for sass variables + +**Build Assets** + + yarn build --theme my-style + + +**Deploy** + +You can now copy the generated files from phpBB/ext/blitze/sitemaker/styles/my-style and uploaded them to your production server. + +> This extension uses jQuery UI for tabs, dialogs and buttons. The default jQuery theme is 'smoothness.' You can use a different jQuery UI theme that best fits your theme. You can specify the jQuery UI theme using the flag --jq_ui_theme. For example: + + yarn build --theme my-style --jq_ui_theme ui-lightness \ No newline at end of file diff --git a/docs/website/translated_docs/tr/filemanager.md b/docs/website/translated_docs/tr/filemanager.md new file mode 100644 index 000000000000..08caa9b8029e --- /dev/null +++ b/docs/website/translated_docs/tr/filemanager.md @@ -0,0 +1,34 @@ +--- +id: filemanager +title: Responsive Filemanager +--- + +As of version 3.1.0, phpBB SiteMaker supports the [Responsive Filemanager](http://responsivefilemanager.com) + +* The file manager is used as a TinyMCE pluging (WYSIWYG editor) when editing custom blocks +* It is currently configured to creat separate folders for each user, except the user with a_sm_filemanager permission (Can see/manage other users' folders), which allows them access to view/manage all upload folders. + +## Installation + +* Download the [Responsive FileManager](http://responsivefilemanager.com/index.php#sthash.5UrnhjX2.dpbs) +* Extract it, and upload the files to your phpBB root folder. The file structure should be as below: + +```text +phpBB +├── images/ +├── includes/ +├── ... +└── ResponsiveFilemanager/ + └── filemanager/ + └── config/ + ├── .htaccess + └── config.php +``` + +## Activation + +* Go to ACP > Extensions > SiteMaker > Settings +* Enable File Manager feature +* Save changes +* Update user permissions (Misc tab) to determine who can use this feature [Can use File Manager] +* Update admin permissions (Misc tab) to determine who can manager user folders [Can see/manage other users’ folders in File Manager] \ No newline at end of file diff --git a/docs/website/translated_docs/tr/installation.md b/docs/website/translated_docs/tr/installation.md new file mode 100644 index 000000000000..298f90a9e5c0 --- /dev/null +++ b/docs/website/translated_docs/tr/installation.md @@ -0,0 +1,18 @@ +--- +id: installation +title: Installing / Upgrading +--- + +Download the extension from [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker + +* Extract and upload it to your phpBB/ext/ folder so you have phpBB/ext/blitze/sitemaker +* Go to "ACP" > "Customise" > "Extensions" and enable the "phpBB Sitemaker" extension. + +## Upgrading phpBB SiteMaker + +* Create a backup of your database just in case something goes wrong +* Go to "ACP" > "Customise" > "Extensions" and disable (do not purge) "phpBB Sitemaker" +* Download and extract the latest version of phpBB SiteMaker and upload it to your phpBB/ext/ folder (overwrite) +* Go to "ACP" > "Customise" > "Extensions" and enable the "phpBB Sitemaker" extension. \ No newline at end of file diff --git a/docs/website/translated_docs/tr/introduction.md b/docs/website/translated_docs/tr/introduction.md new file mode 100644 index 000000000000..ff5a07cb2614 --- /dev/null +++ b/docs/website/translated_docs/tr/introduction.md @@ -0,0 +1,6 @@ +--- +id: introduction +title: Introduction +--- + +phpBB SiteMaker seeks to transform your phpBB board into a CMS/portal. It does so by providing you with blocks and menus to help you customize your site to your liking. There are or will be other SiteMaker extensions that provide additional functionality to meet this goal. It also allows you to define a landing page when your site is accessed. So if you don't want visitors to your site to immediately see the phpBB forum when they go to www.your-site.com, you can define your own start page. \ No newline at end of file diff --git a/docs/website/translated_docs/tr/menus-display.md b/docs/website/translated_docs/tr/menus-display.md new file mode 100644 index 000000000000..795985e02a3c --- /dev/null +++ b/docs/website/translated_docs/tr/menus-display.md @@ -0,0 +1,18 @@ +--- +id: menus-display +title: Displaying Menus +--- + +Now that you have create your menus, you can display them in several ways: + +## Links Block + +You can use this block to display a flat or nested list of menu items. This block is not intended to be used for navigation i.e. it will not show a current page or anything like that. It is intended for a list of items, including external links. + +## Menus Block + +This block is intended for site navigation. It does some additional computations to determine current location and is not intended to be a very large list. + +## Navigation bar + +Similar to the Menus block, the navigation bar will display menu items as a responsive dropdown menu intended for site navigation. You can enable this in ACP > Extensions > Sitemaker > Settings > Select menu \ No newline at end of file diff --git a/docs/website/translated_docs/tr/menus-managing-items.md b/docs/website/translated_docs/tr/menus-managing-items.md new file mode 100644 index 000000000000..e63160278c4c --- /dev/null +++ b/docs/website/translated_docs/tr/menus-managing-items.md @@ -0,0 +1,30 @@ +--- +id: menus-managing-items +title: Managing Menu Items +--- + +Your menu is useless unless it has menu items. You can add menu items that point to local or external files. + +> The URL for external sites must begin with http(s)://, ftp://, //, etc. +> +> You can create a divider by entering '-' as the item title + +## Adding Menu items + +You can add menu items one item at a time, or you can add multiple menu items at ones. + +### Adding single menu items + +To add a single menu item, * click on the `Add Menu Item` button * Fill in the required information and hit `Save` + +### Adding multiple items + +To add multiple menu items at once, * Click on the ▼ icon next to `Add Menu Item` * You can manually add items by placing each item on a new line and using the tab character nest items or * You can click on one of the provided options at the bottom of the textarea to automatically fill in the menu items + +## Reorder the menu items + +You can drag and drop the menu items up/down to set their display order, or drag them left/right to set the desired hierarchy. + +## Rebuilding the menu items + +If you find that the menu items are not displaying correctly, click on the `Rebuild Tree` button to rebuild the menu items. \ No newline at end of file diff --git a/docs/website/translated_docs/tr/menus-managing.md b/docs/website/translated_docs/tr/menus-managing.md new file mode 100644 index 000000000000..5be36cddb83a --- /dev/null +++ b/docs/website/translated_docs/tr/menus-managing.md @@ -0,0 +1,22 @@ +--- +id: menus-managing +title: Managing Menus +--- + +You can create menus in ACP that you can then display using the Menus or the Links blocks or displayed as a horizontal navbar. + +## Managing Menus + +To manage menus, go to ACP > Extensions > Sitemaker > Menu + +### Creating Menus + +To create a new menu (group), click on the `Add Menu` button. A new menu group will be created with a randomly generated name. The new menu will also be selected so you can begin adding menu items to it. + +### Editing Menus + +If you want a more meaningful menu name, * hover over the menu name and click on the cog icon * enter the new menu name and hit enter to update it + +### Deleting Menus + +To delete a menu, and its items, * Hover over the menu name and click on the **x** icon * If the menu item has no child items, you will need to confirm your choice to delete the item * If the menu item has child items, you will need to indicate if you want to delete only the item and move its children up or if you want to delete the entire branch \ No newline at end of file diff --git a/docs/website/translated_docs/tr/site-block-modifiers.md b/docs/website/translated_docs/tr/site-block-modifiers.md new file mode 100644 index 000000000000..4712e963c3a2 --- /dev/null +++ b/docs/website/translated_docs/tr/site-block-modifiers.md @@ -0,0 +1,6 @@ +--- +id: site-block-modifiers +title: Customizing Blocks Display +--- + +Work in progress... \ No newline at end of file diff --git a/docs/website/translated_docs/tr/site-default-layout.md b/docs/website/translated_docs/tr/site-default-layout.md new file mode 100644 index 000000000000..247f9e388692 --- /dev/null +++ b/docs/website/translated_docs/tr/site-default-layout.md @@ -0,0 +1,10 @@ +--- +id: site-default-layout +title: Setting a Default Layout +--- + +When you add a block, it is added to that specific page. It would, therefore, be a tedious task to set blocks for all the pages on your site. You can set all the desired blocks for a particular page, then set that page as the default layout. In others words, any page that does not have its own blocks, will inherit blocks from this page. + +To set a default layout * Go to the page that you'd like to set as default layout * Click on `Settings` in the admin bar * Click the `Set as default layout` button + +Say we add blocks to a page (phpBB/index.php) with blocks in the sidebar and top positions, for example, and set it as our default layout. This has the following effects for other pages: * Any page that does not have its own blocks, will inherit the blocks from the default layout. See [Understanding Block Inheritance](./blocks-inheritance.md) for exceptions. * You may still inherit blocks from a default layout (index.php) but choose to not display blocks on some block positions or not display any blocks at all. To do this, * Go to the page that you don't want all/some blocks to display * Click on `Settings` in the admin bar * Select `Do not show blocks on this page` if you don't want to inherit/display any blocks on this page OR * Use CTRL + click to select the block positions (on the right) that you do not want to display blocks on * In `edit mode`, a page that inherits blocks from the default layout, will not show any blocks, giving you the opportunity to add blocks to the page if you want to * Any page that has its own blocks will not inherit from the default layout \ No newline at end of file diff --git a/docs/website/translated_docs/tr/site-layouts.md b/docs/website/translated_docs/tr/site-layouts.md new file mode 100644 index 000000000000..fd4b6d625602 --- /dev/null +++ b/docs/website/translated_docs/tr/site-layouts.md @@ -0,0 +1,20 @@ +--- +id: site-layouts +title: Layouts +--- + +"Layouts" determine the available block positions and how they are displayed. + +## Block Positions + +Block positions are predefined areas on your site where blocks can exist. The available block positions are determined by the template style that you are using. For prosilver, phpBB SiteMaker comes with the following block positions: * panel: full width across the top * sidebar: left/right depending on layout below * subcontent: similar to sidebar just larger * top_hor: horizontal blocks across the top, flanking above sidebar/subcontent depending on layout * top: above main content * box: equal width, horizontal blocks below main content * bottom: below main content * bottom_hor: horizontal blocks across the bottom, flanking the sidebar/subcontent depending on layout * footer: horizontal blocks in the footer You can add more block positions in your own style templates by copying and modifying the corresponding phpBB SiteMaker templates + +## Site Layout + +You can choose the layout for your site in ACP (Extensions > Sitemaker > Settings): * **Blog**: subcontent and sidebar next to each other, pushed to the right, top_hor/botom_hor flank subcontent * **Holy Grail**: equal width sidebar and subcontent on opposite sides, top_hor/botom_hor flank subcontent * **Portal**: sidebar on left, subcontent on the right, top_hor/botom_hor flank subcontent * **Portal Alt**: subcontent on left, sidebar on the right, top_hor/botom_hor flank sidebar * **Custom**: Manually set the width of the sidebars as px, %, em or rem. Defaults to 200px on each side + +## Custom templates/styles + +As much as possible, we tried to put template files and assets in styles/all/ folder so that you can overwrite them by creating a file with same name under your own template theme e.g. prosilver. So if you want to modify how a certain block displays or if you want to create your own layout with your own block positions, you simply need to create a file with the same name and path as the original in your own style. + +If you need to customize CSS/JS files, take a look at the [theming](./developer-theming.md) section. \ No newline at end of file diff --git a/docs/website/translated_docs/tr/site-navbar.md b/docs/website/translated_docs/tr/site-navbar.md new file mode 100644 index 000000000000..edffeefdd49d --- /dev/null +++ b/docs/website/translated_docs/tr/site-navbar.md @@ -0,0 +1,6 @@ +--- +id: site-navbar +title: Navigation Bar +--- + +See [Displaying Menus](./menus-display#navigation-bar) \ No newline at end of file diff --git a/docs/website/translated_docs/tr/site-startpage.md b/docs/website/translated_docs/tr/site-startpage.md new file mode 100644 index 000000000000..95b0b046cca0 --- /dev/null +++ b/docs/website/translated_docs/tr/site-startpage.md @@ -0,0 +1,8 @@ +--- +id: site-startpage +title: Setting a Start Page +--- + +phpBB SiteMaker allows you to choose any front controller (pages accessed via app.php/...) as your default start page (the page that will be shown when someone visits your site) instead of the board index. + +To do this: * Go to the page that you want to set as default start page * Click on `Settings` in the admin bar. If it is an eligible page, you will see a `Set as start page` button * Click on the `Set as start page` button \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hans/blocks-custom.md b/docs/website/translated_docs/zh_cmn_hans/blocks-custom.md new file mode 100644 index 000000000000..1e5395777211 --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hans/blocks-custom.md @@ -0,0 +1,24 @@ +--- +id: 模块自定义 +title: 自定义块 +--- + +如果可用的方块不能给予您所需的自由。 有 `个自定义块` 允许您自由使用BBcode 或 HTML显示自己的内容。 方块有一个WYSIWYG 编辑器 (TinyMCE) 和脚本管理器: + +## 编辑器 + +- 您可以使用编辑器创建 HTML 内容 +- 如果你需要通过点击编辑器中的 `源代码` 图标(`<>`),你可以编辑源代码。 +- 编辑器允许您上传和修改图像 + - 它在 phpBB/images/sitemaker_uploads/中为每个用户创建一个新文件夹 + - 您可以查看/管理所有用户文件夹 +- 编辑器过滤任何潜在的危险脚本,例如 javascript 等。 如果您需要添加像Google广告这样的内容,Javascript将被过滤,但你可以通过以下方式绕过这一点: + - 添加自定义块 + - 编辑自定义方块,点击 `HTML` 标签页并粘贴您的 Javascript + +## 脚本管理器 + +自定义方块还允许您将自定义的 CSS 和 Javascript 文件添加到您的页面。 要这样做: + +- 将 `个自定义块` 添加到任何方块位置。 位置不重要,除非您也在该方块中显示内容 +- 编辑区块, 点击 `脚本` 标签,添加您的 CSS 或 Javascript 文件 > 谨慎的词:添加到您页面上的许多脚本可能会影响加载时间 \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hans/blocks-inheritance.md b/docs/website/translated_docs/zh_cmn_hans/blocks-inheritance.md new file mode 100644 index 000000000000..c302a82fe203 --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hans/blocks-inheritance.md @@ -0,0 +1,44 @@ +--- +id: 区块继承 +title: 理解方块继承 +--- + +我们已经看到,通过设置默认布局,没有自己模块的其他页面将从默认布局继承区块。 然而,还有另一种块继承方式。 + +## 父/子路由 + +在 phpBB SiteMaker 中,我们从真正嵌套的 (子目录) 或者几乎嵌套的路径/路线的角度讲嵌套路线。 请跟我保持 :)。 * 真实的父/子路径:例如,路径 /some_directory/sub_directory/index.php 是 /some_directory/index.php 的子路径: * Virtual 父/子路径:例如, viewtopic.php 被视为视野论坛的子路径.php。 + +下面是父子路径的一些例子: + +| 父级 | 儿童 | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/my-article | + +## 父级/子模块继承 + +对于父路径/子路径,子路径继承父路径的方块(如果父方块有自己的方块)或者从默认布局(如果已经设置)。 换句话说,即使有默认布局,如果父路径有自己的模块,子路由也会继承父路径中的区块。 但是,并非所有来自父路径的方块都必须继承。 + +## 控制方块继承 + +在区块一级,你可以控制一个块可以由子路径继承。 我们早些时候在 [编辑块设置中触动了](./blocks-managing#editing-block-settings)。 + +考虑以下真实目录结构: + +```text +phpBB +├── index.php +└── Movies/ + ├── index.php + ├── page.php + └── Comedy/ + └── index.php +``` + +为继承方块,我们要说: * /phpBB/Movies/Comedy/index.php的父路径是/phpBB/Movies/index。 hp 而不是 /phpB/Movies/page.php * 子目录中相对于/phpBB/index.php的所有页面都是一个子路径的 /phpBB/index.php。 所以 /phpBB/Movies/index.php 和 /phpBB/Movies/page.php 都是 /phpBB/index.php 的儿童,因此如果他们没有自己的区块,他们将继承其区块。 在这种情况下: * 当块在 /phpBB/index. hp 设置为 **在子路上隐藏**, 该方块将在 /phpBB/index中显示。 hp (父路由),但不在子路上 * 当块在 /phpBB/index时. hp 被设置为显示在 **只显示在子路上**, 它将显示在 /php/BB/Movies/index.php和 /phpBB/Movies/page. hp (子路由),但不在 /phpBB/index.php(父) 上,也不在 phpB/Movies/Comedy/index。 hp (我们只深入一层) * 当一个块在 /phpBB/index时。 hp 设置为始终显示 **** (默认),它将在 /phpBB/index.php(父)、/phpBB/Movies/index上显示。 hp 和 /php/page.php(儿童路由器),但不在 /phpBB/Movies/Comedy/index.php(我们只能深入一层)。 在这种情况下/phpBB/Movies/Comedy/index.php将从默认路径继承(如果存在的话) + +## 可爱的未来状态 + +我对你在这方面的反馈真正感兴趣。 大多数phpBB用户不会有上面概述的真实目录。 因此,我想使用菜单项中定义的结构作为一个虚拟目录结构,并将这种父子继承权应用于该目录。 我还在考虑超越一个层次。 请让我知道,这对你是有益的。 \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hans/blocks-managing.md b/docs/website/translated_docs/zh_cmn_hans/blocks-managing.md new file mode 100644 index 000000000000..7b355e6df552 --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hans/blocks-managing.md @@ -0,0 +1,38 @@ +--- +id: 模块管理 +title: 管理块 +--- + +要管理 phpBB SiteMaker 中的方块,您必须是 [编辑模式](./blocks-overview#edit-mode)。 + +> 当块不显示任何内容时,它将不会显示,除非是在编辑模式。 这样,您可以赋予它的内容 (对于自定义块) 或更改其设置。 +> +> 在编辑模式中,有些透明方块将不会显示,而只是因为我们处于编辑模式时才显示 + +## 添加模块 + +您可以将模块添加到任何正面页面,但用户控制面板和版主控制面板页面除外。 要添加一个块,您需要: * 点击 **区块** 在管理栏内。 这将显示可用区块列表 * 拖拽想要的区块到任何区域位置 + +## 编辑模块 + +### 添加块图标 + +对于块标题 (prosilver) 的左侧,有一个方块图标。 点击此框以获取图标选择器。 您可以选择图标大小、颜色、浮点、旋转等。 + +### 编辑块标题 + +phpBB SiteMaker块将会有默认,已翻译的标题,但如果标题不符合您的需要,您可以更改它。 若要编辑块标题, * 点击块标题以获得内联编辑表单 * 将标题更改为你想要的 * 从字段中删除焦点,或者点击以提交更改 + +> 您的修改块标题未翻译 +> +> 要恢复到默认标题,请简单删除标题并点击进入 + +### 编辑块设置 + +当您在方块上悬停时,焦炭图标将显示在可用于编辑块的区块右侧。 在编辑块对话框中,你可以: - 启用/禁用块 [Status] - 选择模块应该/不应显示 [Display]。 这仅适用于您有嵌套页面的情况(见 [Understanding Block Inheritance](./blocks-inheritance.md)): - **始终**: 总是显示方块 - **隐藏在子路由上级路上**: 仅在上级路上显示此方块 - **仅在子路由上显示**: 仅在子路由上显示此方块 - 选择哪些用户组可以查看方块[可查看]。 使用 CTRL + 点击选择多个组。 - 设置自定义类别来修改块或项目 (列表、图像、背景等) 在块 [CSS 类] 中的外观 - 显示/隐藏方块标题 [隐藏方块标题?] - 选择方块视图 [方块视图]。 当添加新的区块时,您可以选择一个默认的区块视图。 - **Default / Simple**: uses the prosilver panel class to wrap the block in a padded container - **Basic**: block does not have any container wrapping it - **Boxed**: uses the prosilver forabg class to wrap the block in a box - Set / Update block specific settings - If you have the same block with same settings across multiple pages, you can update all of them at once by checking the **Update blocks with similar settings** + +## 删除块 + +- 悬停你想要删除的方块 +- 点击 **x** 图标并确认您想要删除区块 +- 转到管理栏并点击 `保存更改` \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hans/blocks-overview.md b/docs/website/translated_docs/zh_cmn_hans/blocks-overview.md new file mode 100644 index 000000000000..3bd9848ef404 --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hans/blocks-overview.md @@ -0,0 +1,10 @@ +--- +id: 模块概览 +title: 什么是模块? +--- + +在 phpBB SiteMaker 的核心就是区块的概念。 区块是你可以放置在不同的预先定义区域 (区块位置) 中的内容。 区块通常会有设置/更改以微调您希望显示的内容。 大多数模块,但并非所有,都将进行数据库查询以获得所需的内容。 所以,我们不会太疯了 :)。 要管理模块,您需要切换到“编辑模式”。 + +## 编辑模式 + +点击网站右上角的铅笔图标切换到编辑模式。 这将使用“Blocks”和“设置”菜单项显示“管理栏”。 这被称为“编辑模式”。 \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hans/blocks-views.md b/docs/website/translated_docs/zh_cmn_hans/blocks-views.md new file mode 100644 index 000000000000..8b83fb5b09cb --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hans/blocks-views.md @@ -0,0 +1,6 @@ +--- +id: 块视图 +title: 阻止视图 +--- + +正在工作... \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hans/contrib-overview.md b/docs/website/translated_docs/zh_cmn_hans/contrib-overview.md new file mode 100644 index 000000000000..5e7e42265431 --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hans/contrib-overview.md @@ -0,0 +1,11 @@ +--- +id: 概述 +title: 参与 +--- + +phpBB SiteMaker是一个开放源项目,欢迎你的想法和贡献。 所以可以自由参与。 您可以通过: + +* [提供支持/反馈](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [报告错误](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [帮助翻译](./contrib-translators.md) +* [修复bug或增加功能](./contrib-pull-requests.md) \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hans/contrib-pull-requests.md b/docs/website/translated_docs/zh_cmn_hans/contrib-pull-requests.md new file mode 100644 index 000000000000..36d2cba2ea66 --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hans/contrib-pull-requests.md @@ -0,0 +1,76 @@ +--- +id: contribution-pull 请求 +title: 提交拉取请求 +sidebar_label: 拉取请求 +--- + +`Pull 请求让您告诉其他人您推送到 GitHub 仓库中的分支。 一旦启动拉取请求,您可以与合作者讨论和审查可能的变化,并在您的更改合并为基础分支之前添加后续提交。` [阅读更多](https://help.github.com/articles/about-pull-requests/) + +## 禁止/克隆 + +* 如果您没有 github 账户,请创建 +* 转到 https://github.com/blitze/phpBB-ext-sitemaker.git 并点击“Fork” + +克隆仓库的叉: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +从命令行到 sitemaker 目录: + + cd phpBB/ext/blitze/sitemaker + + +**配置git:** + +在您的系统上添加您的用户名到 Git: + + git config --global user.name "Your Name Here" + + +在您的系统上添加您的电子邮件地址到 Git: + + git config --add user.email username@phpbb.com + + +添加上游远程 (你可以将'上游'更改为你喜欢的任何内容): + + git 远程添加上游 git://github.com/blitze/phpBB-ext-sitemaker.git + + +**安装供应商** + + 编辑器安装 + + +**安装 NPM 软件包** + + npm 安装 + + +或者你可以使用 [yarn](https://yarnpkg.com): + + yarn 安装 + + +## 拉取请求 + + # 为您的功能创建一个新的分支 & 切换到它 + git checkout -b feature/my-fancy-new-feature + + # 为您正在处理的问题创建一个新分支* 切换到它(工单#来自github Tracker) + git 签出-b ticket/1234 + + +更改 + + # 阶段文件 + git 添加 + + # 提交分阶段文件 - 请使用正确的提交信息 + git committee -m "my 提交消息" + + +将分支推送到 GitHub git 推送源功能/my-fancy-new 功能 + +提交 [拉取请求](https://github.com/blitze/phpBB-ext-sitemaker/pulls) \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hans/contrib-translators.md b/docs/website/translated_docs/zh_cmn_hans/contrib-translators.md new file mode 100644 index 000000000000..df02d96f8c72 --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hans/contrib-translators.md @@ -0,0 +1,17 @@ +--- +id: 贡献翻译 +title: 翻译者 +--- + +我们需要帮助翻译这一扩展及其文件。 我们在 Crowdin 上创建了一个项目,以便于翻译。 Crowdin 给您一个第二到没有的翻译接口。 你可以提供您希望的方式,但我们确实建议使用 Crowdin。 + +> Crowdin 是一个地方化管理平台,帮助公司翻译其软件。 你可以在这里阅读更多关于 Crowdin 的 [](https://support.crowdin.com/crowdin-intro/) + +如果您愿意提供翻译,您将需要: + +* 一个 [crowdit in](https://crowdin.com/project/phpbb-ext-sitemaker) 帐户。 +* 选择目标语言 + +如果没有列出您希望的语言,请 [联系我](https://crowdin.com/profile/blitze) ,并且我会添加它。 + +[开始翻译](https://crowdin.com/project/phpbb-ext-sitemaker) \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hans/developer-events.md b/docs/website/translated_docs/zh_cmn_hans/developer-events.md new file mode 100644 index 000000000000..9f5a734a37b7 --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hans/developer-events.md @@ -0,0 +1,120 @@ +--- +id: 开发者事件 +title: phpBB SiteMaker 事件 +--- + +你可以使用 phpBB 的事件系统修改 phpBB SiteMaker 的行为。 + +## PHP 事件 + +# 添加_批量_菜单选项 + +- 位置: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- 自:3.1.0 +- 目的:在菜单中添加批量菜单选项 + +# sitemaker.acp_display_settings_form + +- 位置: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- 自:3.1.0 +- 目的:显示acp (sitemaker) 设置表单 + +# 保存设置 + +- 位置: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- 自:3.1.0 +- 目的:保存acp (sitemaker) 设置 + +# 设置 blitze.sitemaker.admin_bar.set_assets + +- 位置: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- 自:3.0.1-RC1 +- 目的:在编辑模式中为可用区块添加资源 + +# 修改_block_positions + +- 位置: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- 自:3.0.1-RC1 +- 目的:修改区块位置 + +# 修改_replication_block + +- 位置: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- 自:3.0.1-RC1 +- 目的:修改渲染块 + +## 模板事件 + +# blitze_sitemaker_acp_settings + +- 位置: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- 自:3.1.0 +- 目的:为站点地图器设置添加表单字段 + +# blitze_sitemaker_admin_bar_append + +- 位置: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- 自:3.1.0 +- 目的:添加菜单项到管理栏 + +# blitze_sitemaker_admin_bar_templates + +- 位置: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- 自:3.1.0 +- 目的:添加模板文件,用于 JS 用于块视图等 + +## Javascript 事件 + +# blitze_sitemaker_lang_已保存 + +- 位置: /phpBB/ext/blitze/sitemaker/development/components/AdminBar/SaveGroup/index.js +- 自:3.1.2 +- 目的:事件,允许其他扩展在保存布局更改时做一些事情 + +# Britze_sitemaker_render_block_before + +- 位置: /phpBB/ext/blitze/sitemaker/development/components/BlockRenderer/index.js +- 自:3.1.2 +- 目的 + +# 闪烁_sitemaker_render_block_after + +- 位置: /phpBB/ext/blitze/sitemaker/development/components/BlockRenderer/index.js +- 自:3.1.2 +- 目的 + +# blitze_sitemaker_save_block_before + +- 位置: /phpBB/ext/blitze/sitemaker/development/components/BlocksManager/Edit/index.js +- 自:3.1.2 +- 目的:活动允许其他扩展以在保存前修改区块数据 + +# blitze_sitemaker_show_all_block_positions + +- 位置: /phpBB/ext/blitze/sitemaker/development/components/positions/positions.js +- 自:3.1.2 +- 目的:当显示所有方块位置时,允许其他扩展活动 + +# blitze_sitemaker_隐藏_空_block_positions + +- 位置: /phpBB/ext/blitze/sitemaker/development/components/positions/positions.js +- 自:3.1.2 +- 目的:当隐藏空位置时,允许其他扩展活动 + +# 已清除 + +- 位置: /phpBB/ext/blitze/sitemaker/development/components/positions/positions.js +- 自:3.1.2 +- 目的:活动允许其他扩展在布局清除时做一些事情 + +# 更新 blitze_sitemaker_lang_ + +- 位置: /phpBB/ext/blitze/sitemaker/development/components/positions/positions.js +- 自:3.1.2 +- 目的:事件允许其他扩展在布局更新时做一些事情 + +# 闪烁_sitemaker_tinymce_options + +- 位置: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- 自: 3.3.0 +- 目的:允许其他扩展修改tinymce选项的事件 \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hans/developer-extensions.md b/docs/website/translated_docs/zh_cmn_hans/developer-extensions.md new file mode 100644 index 000000000000..d24fe7475299 --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hans/developer-extensions.md @@ -0,0 +1,177 @@ +--- +id: 开发者扩展 +title: 扩展 phpBB 站点Maker +--- + +你可以使用 [服务替换](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [服务装饰](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), 和 [phpBB 事件系统](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html)。 你可以在这里找到支持的事件列表 [](./developer-events.md)。 + +## 创建一个 SiteMaker 模块 + +一个 phpBB SiteMaker 模块只是一个扩展 blitze\sitemaker\services\blocks\驱动程序\block 分类,并返回“显示”方法中的“title”和“content”的数组。 所有其他收件人都是您自己的。 要使你的块可以通过 phpBB SiteMaker 发现,您需要给它“sitemaker.block”标签。 + +说我们有销售商/延期作为我的/示例。 要创建一个叫做“我的_block”的 phpBB SiteMaker 的方块: + +- 创建一个"块"文件夹 +- 在块文件夹中创建我的_block.php 文件,内容如下 + +```php +命名空间我\示例\blocks; + +使用blitze\sitemaker\services\blocks\driver\block; + +class my_blockexts block + + /** + * {@inheritdoc} + */ + 公共函数显示(array $settings, $edit_mode = false) + * + return array( + 'title' => '我的块标题', + 'content' => '我的块内容', + ; + } +} +``` + +然后在你的 config.yml 文件中添加: + +```yml +服务: + + ... + + my.example.block.my_block: + class: my\example\blocks\my_block + calls: + - [set_name, [my.example.block.my_block]] + 标签: + - { name: sitemaker.block } + + ...... + +``` + +最起码,这就是你需要的。 如果你进入编辑模式,你应该看到列出的“MY_EXAMPLE_BLOK_MY_BLOCK”模块,可以拖拽到任何块位置。 但是,这个模块不会有任何激动。 它没有设置,不会翻译方块名称。 让我们更感兴趣。 + +### 屏蔽设置 + +让我们修改我们的块/my_block。 hp 文件并添加一个“get_config”方法返回一个数组,键是方块设置,值是一个描述类似设置的数组: + +```php + /** + * @heritdoc + */ + public function get_config(array $settings) + * + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + 返回 数组( + 'legend1' => 'TAB1', + '复选框' => 数组('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'exerin' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explanin' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options'explorin' => false, 'default' => 'topic'), + '选择' => 数组('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => ', 'explorin' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'exerin' => false), + '传说2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'exerin' => false, '默认' => 5, + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'exerin' => true 'default' => '), + 'togglable' => 数组('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, '默认' => ', 'append' => '
仅在选择选项1 时显示
'), + ; +} +``` + +这种构造方式与 phpBB 构建非加太区域的棋盘设置相同。 你可以在这里看到更多的例子。 [](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php)。 + +如果你想要一个自定义字段类型,你可以在这里看到一个示例 [](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type'settings)。 + +通知 'leginsd1' 和 'legend2': 这些选项用于将设置分隔为标签。 + +### 命名区块 + +区块名称的惯例是服务名称(eg my.example.block)。 y*以上方块将被用作语言键,将点(.) 替换为下划线 (*) (e.g.g MY_EXAMPER_BLOCK_MY_BLOCK)。 + +### 翻译 + +还注意到我们有几个需要翻译的语言键。 为此,在您的语言文件夹中创建一个名为“block_admin.php”的文件。 这个文件将在编辑块时自动加载,并且应该为您的区块设置和块名称提供翻译。 + + $lang = array_merge($lang, 数组( + 'SOME_LANG_VAR' => '选项1', + 'OTHER_LANG_VAR' => '选项2', + 'SOME_LANG_VAR_1' => '设置1', + ...... + 'MY_EXAMPLE_BLOK_MY_BLOK' => 'My Block', + ); + + +因为 'blocks_admin.php' 仅在编辑方块时加载,所以你需要添加其他翻译 (例如,块标题) 以像 `$language->add_lang('my_lang_file', 'my/example');` + +### 渲染块 + +新区块只有在渲染内容时才会显示。 您的模块可以返回任何字符串作为内容,但在大多数情况下你需要一个模板来渲染您的内容。 使用模板渲染您的块, 方块必须返回一个拥有您想要传递到模板的数据的数组,并且还必须实现下面展示的 `get_template` 方法: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block.html'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // do something only in edit mode + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); + } +``` + +然后您的样式/all/my_block.html或样式/prosilver/my_block.html文件看起来像这样: + +

您选择了: {{ some_var }}

+ + +概括而言, 您的方块必须返回一个包含 `标题` 密钥(对于方块标题) 和 `内容` 密钥(如果方块只显示字符串而不使用模板) 或 `数据` 键(如果方块使用模板) 在这种情况下,您还需要实现 `get_template` 方法)。 + +### 屏蔽资产 + +如果您的方块需要将素材 (css/js) 添加到页面中,我建议使用站点制造商 [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) 类。 因为页面上可能有一个以上的同一个块的实例, 或其他模块可能添加相同的资产。升级类可以确保该资产只是添加的。 + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some). s', + 100 => '@my_example/assets/other s', // 设置优先级 + ), + 'css' => 数组( + '@my_example/assets/some. ss', + ) +); +``` + +当然,需要将 util 类添加到您在 config.yml 中的服务定义中: `- '@blicze.sitemaker。 直到` 并在你的方块的构造函数 `\blitze\sitemaker\services\util $util` 中定义. + +就是这样。 我们已完成! \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hans/developer-theming.md b/docs/website/translated_docs/zh_cmn_hans/developer-theming.md new file mode 100644 index 000000000000..ff6db38f9cbc --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hans/developer-theming.md @@ -0,0 +1,55 @@ +--- +id: 开发者主题 +title: 主题 +--- + +phpBB SiteMaker提供了prosilver的样式和颜色。 您可以通过在您的样式文件夹中创建相应的文件来覆盖 CSS、JS 和 HTML 文件。 + +# 为您的样式创建 JS/CSS 文件 + +注意: * 为了以下说明的目的,我们将假定你有一个样式叫我的风格。 + +克隆到 phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +从命令行到 sitemaker 目录: + + cd phpBB/ext/blitze/sitemaker + + +**安装供应商** + + 编辑器安装 + + +**安装软件包** + +对于下面的命令,你可以使用 npm 或 [yarn](https://yarnpkg.com) + + yarn 安装 + + +**观看更改** + + yarn 启动 --theme my-style + + +**进行更改** + +* 更改 phpBB/ext/blitze/sitemaker/development 文件夹。 +* 查看 phpBB/ext/blitze/sitemaker/development/_partials/_globals.scss 了解 sass 变量 + +**构建资产** + + yarn 构建 --theme my-style + + +**部署** + +您现在可以复制 phpBB/ext/blitze/sitemaker/style/my 风格生成的文件,并上传到您的生产服务器。 + +> 此扩展使用 jQuery UI 用于标签、对话框和按键。 默认的 jQuery 主题是“平滑”。 你可以使用最适合你的主题的不同的 jQuery UI 主题。 您可以使用国旗 --jq_ui_theme 指定 jQuery UI 主题。 例如: + + yarn 构建 --theme my-style --jq_ui_theme ui-light \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hans/filemanager.md b/docs/website/translated_docs/zh_cmn_hans/filemanager.md new file mode 100644 index 000000000000..08caa9b8029e --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hans/filemanager.md @@ -0,0 +1,34 @@ +--- +id: filemanager +title: Responsive Filemanager +--- + +As of version 3.1.0, phpBB SiteMaker supports the [Responsive Filemanager](http://responsivefilemanager.com) + +* The file manager is used as a TinyMCE pluging (WYSIWYG editor) when editing custom blocks +* It is currently configured to creat separate folders for each user, except the user with a_sm_filemanager permission (Can see/manage other users' folders), which allows them access to view/manage all upload folders. + +## Installation + +* Download the [Responsive FileManager](http://responsivefilemanager.com/index.php#sthash.5UrnhjX2.dpbs) +* Extract it, and upload the files to your phpBB root folder. The file structure should be as below: + +```text +phpBB +├── images/ +├── includes/ +├── ... +└── ResponsiveFilemanager/ + └── filemanager/ + └── config/ + ├── .htaccess + └── config.php +``` + +## Activation + +* Go to ACP > Extensions > SiteMaker > Settings +* Enable File Manager feature +* Save changes +* Update user permissions (Misc tab) to determine who can use this feature [Can use File Manager] +* Update admin permissions (Misc tab) to determine who can manager user folders [Can see/manage other users’ folders in File Manager] \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hans/installation.md b/docs/website/translated_docs/zh_cmn_hans/installation.md new file mode 100644 index 000000000000..aabd3a72d760 --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hans/installation.md @@ -0,0 +1,18 @@ +--- +id: 安装 +title: 安装/升级 +--- + +从 [这里下载扩展](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## 安装 phpBB SiteMaker + +* 提取并上传到您的 phpBB/ext/文件夹,所以你有 phpBB/ext/blitze/sitemaker +* 转到"ACP">"自定义">"扩展"并启用"phpBB 网站地图"扩展。 + +## 升级 phpBB 站点 + +* 在错误时创建数据库的备份 +* 转到 "ACP" >"自定义" >"扩展"并禁用 (不清除) "phpBB Sitemaker" +* 下载并提取最新版本的 phpBB SiteMaker 并将其上传到您的 phpBB/ext/文件夹 (覆盖) +* 转到"ACP">"自定义">"扩展"并启用"phpBB 网站地图"扩展。 \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hans/introduction.md b/docs/website/translated_docs/zh_cmn_hans/introduction.md new file mode 100644 index 000000000000..fb7b40c7fd5d --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hans/introduction.md @@ -0,0 +1,6 @@ +--- +id: 导言 +title: 一. 导言 +--- + +phpBB SiteMaker试图将您的 phpBB 板转换为 CMS/portal。 通过向您提供模块和菜单来帮助您自定义您的网站。 还有或将会有其他 SiteMaker 扩展,为实现这一目标提供额外的功能。 它还允许您在访问网站时定义登陆页面。 所以,如果您不想访问您的网站的访问者在访问 www.your-site.com 时立即看到 phpBB 论坛,你可以定义您自己的开始页面。 \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hans/menus-display.md b/docs/website/translated_docs/zh_cmn_hans/menus-display.md new file mode 100644 index 000000000000..48db4c243f5c --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hans/menus-display.md @@ -0,0 +1,18 @@ +--- +id: 菜单显示 +title: 显示菜单 +--- + +既然你创建了菜单,你可以通过几种方式显示它们: + +## 链接块 + +你可以使用这个模块来显示一个平坦或嵌套的菜单项。 此模块不是用于导航,即它不会显示当前页面或任何类似页面。 它旨在列出项目,包括外部链接。 + +## 菜单块 + +此模块用于网站导航。 它为确定当前位置做了一些额外的计算,并不打算成为一个非常庞大的清单。 + +## 导航栏 + +与菜单块相似,导航栏将显示菜单项作为响应式下拉菜单,用于站点导航。 您可以在 ACP > 扩展 > 站点管理器 > 设置 > 选择菜单中启用 \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hans/menus-managing-items.md b/docs/website/translated_docs/zh_cmn_hans/menus-managing-items.md new file mode 100644 index 000000000000..66d83b924139 --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hans/menus-managing-items.md @@ -0,0 +1,30 @@ +--- +id: 菜单管理项目 +title: 管理菜单项 +--- + +您的菜单是无用的,除非有菜单项。 您可以添加指向本地或外部文件的菜单项。 + +> 外部网站的 URL 必须以 http(s):/, ftp:/, /, /, /, /, /, 等 开头。 +> +> 你可以通过输入 '-' 作为项目标题创建一个分隔符 + +## 添加菜单项 + +您可以随时添加一个菜单项,或者您可以在其中添加多个菜单项。 + +### 添加单个菜单项 + +要添加一个菜单项, * 点击 `添加菜单项` 按钮 * 填写所需信息并点击 `保存` + +### 添加多个项目 + +一次添加多个菜单项, * 点击 `添加菜单项` * 您可以手动添加项目,将每个项目放置在新行上,使用标签字符排名项目或 * 您可以点击文本底部提供的选项之一自动填充菜单项。 + +## 重新排序菜单项 + +你可以拖放菜单项来设置其显示顺序,或拖拽它们左/右以设置所需的等级。 + +## 重建菜单项 + +如果您发现菜单项没有正确显示,点击 `重建树` 按钮来重建菜单项。 \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hans/menus-managing.md b/docs/website/translated_docs/zh_cmn_hans/menus-managing.md new file mode 100644 index 000000000000..6bde18922990 --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hans/menus-managing.md @@ -0,0 +1,22 @@ +--- +id: 菜单管理 +title: 管理菜单 +--- + +您可以在非加太区域创建菜单,然后使用菜单或链接模块显示,或者显示为横向导航栏。 + +## 管理菜单 + +要管理菜单,请前往非加太 > 扩展 > 站点管理器 > 菜单 + +### 创建菜单 + +要创建一个新的菜单 (群组),点击 `添加菜单` 按钮。 将创建一个新的菜单组,使用随机生成的名称。 也将选择新的菜单,以便你可以开始添加菜单项。 + +### 编辑菜单 + +如果你想要更有意义的菜单名称, * 在菜单名称上悬停,然后点击焦图标 * 输入新的菜单名称,然后点击进入更新 + +### 删除菜单 + +删除菜单及其条目, * 悬停在菜单名称上,然后点击 **x** 图标 * 如果菜单项没有子项 如果菜单项含有子项,您需要确认您的选择来删除项目 * 您需要指明是否只要删除该项并将其子项上移,或者是否要删除整个分支 \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hans/site-block-modifiers.md b/docs/website/translated_docs/zh_cmn_hans/site-block-modifiers.md new file mode 100644 index 000000000000..99ce97c461a2 --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hans/site-block-modifiers.md @@ -0,0 +1,6 @@ +--- +id: 站点模块修饰符 +title: 自定义区块显示 +--- + +正在工作... \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hans/site-default-layout.md b/docs/website/translated_docs/zh_cmn_hans/site-default-layout.md new file mode 100644 index 000000000000..ce281d155aac --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hans/site-default-layout.md @@ -0,0 +1,10 @@ +--- +id: 网站默认布局 +title: 设置默认布局 +--- + +当您添加一个模块时,它被添加到该特定页面。 因此,为你的网站上的所有页面设置区块是一项繁重的任务。 您可以为特定页面设置所有需要的模块,然后将该页面设置为默认布局。 换言之,任何没有自己区块的页面都将继承本页面中的区块。 + +要设置默认布局 * 转到您想要设置为默认布局的页面 * 点击 `设置` 管理栏 * 点击 `设置为默认布局` 按钮 + +比如说,我们将模块添加到页面 (phpBB/index.php),在侧边栏和顶部位置,并将其设置为我们的默认布局。 这对其他页面具有以下效果: * 任何没有自己区块的页面,都会继承默认布局中的区块。 查看 [理解方块继承](./blocks-inheritance.md) 例外。 * 您仍然可以继承默认布局 (index.php) 中的区块,但选择不在某些方块位置上显示方块,或者根本不显示任何方块。 To do this, * Go to the page that you don't want all/some blocks to display * Click on `Settings` in the admin bar * Select `Do not show blocks on this page` if you don't want to inherit/display any blocks on this page OR * Use CTRL + click to select the block positions (on the right) that you do not want to display blocks on * In `edit mode`, a page that inherits blocks from the default layout, will not show any blocks, giving you the opportunity to add blocks to the page if you want to * Any page that has its own blocks will not inherit from the default layout \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hans/site-layouts.md b/docs/website/translated_docs/zh_cmn_hans/site-layouts.md new file mode 100644 index 000000000000..7c8d5e6a1521 --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hans/site-layouts.md @@ -0,0 +1,20 @@ +--- +id: 站点布局 +title: 布局 +--- + +“布局”确定可用方块位置及其显示方式。 + +## 屏蔽位置 + +屏蔽位置是您网站上可以存在方块的预设区域。 可用的模块位置由您使用的模板样式决定。 对于prosilever, phpBB SiteMaker 带有以下方块位置: * 面板:顶部 * 侧边栏全宽:左/右,取决于下面的布局 * 子内容:类似于侧边栏大小的 * 顶部:横跨顶部水平块, 根据布局在侧边栏/子内容上面填充 * 顶部:高于主要内容 * 框:等宽度, 主内容下面的水平块 * 底部:低于主内容 * 底部:横跨底部的水平块, 根据布局 * 页脚填充侧边栏/子内容:页脚的水平块 您可以通过复制和修改相应的 phpBB 站点Maker 模板,在自己样式模板中添加更多块位置 + +## 网站布局 + +您可以在 ACP (Extensions > sitemaker > Settings): * **博客**: 子内容和侧边栏 推向右,top_hor/botom_hor flandk subcontent * **Holy Grail**:对面侧侧面宽度和子内容 top_hor/botom_hor fank subcontent * **Portal**: 左侧边栏,右侧的子内容 top_hor/botom_hor flank子内容 * **Portal Alt**: 左侧的子内容 右侧边栏 top_hor/botom_hor fank 侧边栏 * **自定义**:手动设置侧边栏宽度为px、%、em 或 rem。 每个侧面的默认值为200px + +## 自定义模板/样式 + +我们尽量将模板文件和资产置于样式/全部/文件夹中,以便你可以通过在你自己的模板主题下创建一个同名的文件来覆盖它们,例如 prosilver。 所以,如果你想要修改某个块的显示方式,或者如果你想用你自己的块位置创建你自己的布局,你只需要创建一个同你自己风格的原始名称和路径相同的文件。 + +如果您需要自定义 CSS/JS 文件,请查看 [主题](./developer-theming.md)。 \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hans/site-navbar.md b/docs/website/translated_docs/zh_cmn_hans/site-navbar.md new file mode 100644 index 000000000000..d8823ec41fa9 --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hans/site-navbar.md @@ -0,0 +1,6 @@ +--- +id: 站点导航栏 +title: 导航栏 +--- + +查看 [显示菜单](./menus-display#navigation-bar) \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hans/site-startpage.md b/docs/website/translated_docs/zh_cmn_hans/site-startpage.md new file mode 100644 index 000000000000..a9380875964a --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hans/site-startpage.md @@ -0,0 +1,8 @@ +--- +id: 网站-startpage +title: 设置起始页 +--- + +phpBB SiteMaker允许您选择任何前面的控制器 (通过app.php/...) 作为默认的开始页面 (当有人访问您的网站时将显示的页面) 而不是棋盘索引。 + +要做到这一点: * 转到您想设置为默认起始页的页面 * 点击 `设置` 如果是符合条件的页面,您将看到 `设置为开始页面` 按钮 * 点击 `设置为开始页面` 按钮 \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hant/blocks-custom.md b/docs/website/translated_docs/zh_cmn_hant/blocks-custom.md new file mode 100644 index 000000000000..41d4365d553d --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hant/blocks-custom.md @@ -0,0 +1,24 @@ +--- +id: blocks-custom +title: Custom Block +--- + +If the available blocks do not give you the freedom you need, there is the `Custom Block` which allows you the freedom to display your own content using BBcode or HTML. The block comes with a WYSIWYG editor (TinyMCE) and a scripts manager: + +## The editor + +- You can use the editor to create HTML content +- You can edit the source code if you need that level of control by clicking on the `Source code` icon (`<>`) in the editor +- The editor allows you to upload and modify images + - It creates a new folder in phpBB/images/sitemaker_uploads/ for every user who has access to it + - You can view/manage all user folders +- The editor filters out any potentially dangerous scripts like javascript, etc. If you need to add content like google ads, the javascript will be filtered out, but you can get around that by doing the following: + - Add the Custom Block to desired location + - Edit the Custom Block, click on the `HTML` tab and paste your Javascript + +## The Scripts Manager + +The Custom Block also allows you to add custom CSS and Javascript files to your page. To do this: + +- Add a `Custom Block` to any block position. The position does not matter unless you are also displaying content with the block +- Edit the block, click on the `Scripts` tab and add your CSS or Javascript files > Word of caution though: Adding to many scripts on your page can affect load times \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hant/blocks-inheritance.md b/docs/website/translated_docs/zh_cmn_hant/blocks-inheritance.md new file mode 100644 index 000000000000..7128c0ffbcd9 --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hant/blocks-inheritance.md @@ -0,0 +1,44 @@ +--- +id: blocks-inheritance +title: Understanding Block Inheritance +--- + +We have already seen that by setting a default layout, other pages that do not have blocks of their own will inherit the blocks from the default layout. There is, however, another type of block inheritance. + +## Parent/Child Routes + +In phpBB SiteMaker, we speak of nested routes in terms of real nested (sub) directories or virtually nested paths/routes. Please stay with me :). * Real Parent/Child routes: For example, the path /some_directory/sub_directory/index.php is a child of /some_directory/index.php * Virtual Parent/Child routes: For example, viewtopic.php is treated as a child of viewforum.php. + +Here are some examples of parent/child routes: + +| Parent | Child | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/my-article | + +## Parent/Child Block Inheritance + +For parent/child routes, the child route inherits the blocks of the parent route (if the parent has its own blocks) or from the default layout (if one has been set). In other words, even if there is a default layout, the child route will inherit blocks from its parent route if the parent route has its own blocks. But not all blocks from the parent route must be inherited. + +## Controlling Block Inheritance + +At a block level, you can control when a block can be inherited by child routes. We touched on this earlier in the [Editing Block Settings](./blocks-managing#editing-block-settings). + +Consider the following real directory structure: + +```text +phpBB +├── index.php +└── Movies/ + ├── index.php + ├── page.php + └── Comedy/ + └── index.php +``` + +For the purposes of inheriting blocks, we say: * The parent route of /phpBB/Movies/Comedy/index.php is /phpBB/Movies/index.php and not /phpBB/Movies/page.php * All pages in a sub directory relative to /phpBB/index.php is a child route of /phpBB/index.php. So /phpBB/Movies/index.php and /phpBB/Movies/page.php are all children of /phpBB/index.php and will therefore inherit its blocks if they do not have blocks of their own. In this case: * When a block on /phpBB/index.php is set to display on **Hide on child routes**, the block will show on /phpBB/index.php (parent route) but not on its child routes * When a block on /phpBB/index.php is set to display on **Show on child routes only**, it will display on /phpBB/Movies/index.php and /phpBB/Movies/page.php (child routes) but not on /phpBB/index.php (parent), nor /phpBB/Movies/Comedy/index.php (we only go one level deep) * When a block on /phpBB/index.php is set to display **always** (default), it will display on /phpBB/index.php (parent), /phpBB/Movies/index.php and /phpBB/page.php (child routes) but not on /phpBB/Movies/Comedy/index.php (we only go one level deep). In this case, /phpBB/Movies/Comedy/index.php will inherit from the default route (if it exists) + +## Posible Future State + +I'm really interested in your feedback in this area. Most phpBB users will not have real directories as outlined above. So I'm thinking of using the structure that is defined in a menu block as a virtual directory structure and apply this parent/child inheritance to it. I'm also considering going beyond one level deep. Please let me know if this will be useful to you. \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hant/blocks-managing.md b/docs/website/translated_docs/zh_cmn_hant/blocks-managing.md new file mode 100644 index 000000000000..a2f385077835 --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hant/blocks-managing.md @@ -0,0 +1,38 @@ +--- +id: blocks-managing +title: Managing Blocks +--- + +To manage blocks in phpBB SiteMaker, you must be in [Edit Mode](./blocks-overview#edit-mode). + +> When a block does not display any content, it will not be displayed, except in edit mode. That way, you can either give it content (in the case of the Custom block) or change its settings. +> +> In edit mode, the somewhat transparent blocks are blocks that will otherwise not be displayed but are only being displayed because we are in edit mode + +## Adding blocks + +You can add blocks to any front-facing page, except the User Control Panel and Moderator Control Panel pages. To add a block, you will need to: * click on **Blocks** in the Admin bar. This will display a list of available blocks * Drag and drop the desired block to any block position + +## Editing blocks + +### Adding a block icon + +To the left of the block title (prosilver), there is a box for the block icon. Click on this box to get the icon picker. You can select the icon size, color, float, rotation, etc. + +### Editing the Block Title + +phpBB SiteMaker blocks will have a default, translated title but if the title does not meet your needs, you can change it. To edit the block title, * Click on the block title to get an inline edit form * Change the title to whatever you want * Remove focus from the field or hit enter to submit changes + +> Your modified block title is not translated +> +> To revert to the default title, simple delete the title and hit enter + +### Editing block settings + +When you hover over a block, a cog icon will appear to the right of the block that can be used to edit the block. In the edit block dialog, you can: - Enable/disable a block [Status] - Choose when the block should/should not be displayed [Display]. This only applies in cases where you have nested pages (see [Understanding Block Inheritance](./blocks-inheritance.md)): - **Always**: Always display the block - **Hide on child routes**: Only show this block on the parent route - **Show on child routes only**: Only show this block on a child route - Choose which groups of users can view the block [Viewable by]. Use CTRL + click to select multiple groups. - Set custom classes to modify the appearance of the block or items (lists, images, background, etc) within the block [CSS Class] - Show/hide the block title [Hide block title?] - Select the block view [Block view]. You can select a default block view when new blocks are added in ACP. - **Default / Simple**: uses the prosilver panel class to wrap the block in a padded container - **Basic**: block does not have any container wrapping it - **Boxed**: uses the prosilver forabg class to wrap the block in a box - Set / Update block specific settings - If you have the same block with same settings across multiple pages, you can update all of them at once by checking the **Update blocks with similar settings** + +## Deleting blocks + +- Hover over the block you'd like to delete +- Click on the **x** icon and confirm that you wish to delete the block +- Go up to the admin bar and click on `Save Changes` \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hant/blocks-overview.md b/docs/website/translated_docs/zh_cmn_hant/blocks-overview.md new file mode 100644 index 000000000000..251efb9bfd8a --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hant/blocks-overview.md @@ -0,0 +1,10 @@ +--- +id: blocks-overview +title: What are blocks? +--- + +At the heart of phpBB SiteMaker is the concept of blocks. Blocks are little pieces of content that you can place in different pre-defined areas (block positions) on your site. The blocks will typically have settings that you can set/change to fine-tune the content that you wish to display. Most blocks, but not all, will make database queries to get the desired content. So let's not get too crazy :). To manage blocks, you will need to switch to "edit mode". + +## Edit Mode + +Switch to edit mode by clicking on the pencil icon on the top right of your site. This will display the "Admin bar" with "Blocks" and "Settings" menu items. This is referred to as being in 'edit mode'. \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hant/blocks-views.md b/docs/website/translated_docs/zh_cmn_hant/blocks-views.md new file mode 100644 index 000000000000..a6b7ec57e9ab --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hant/blocks-views.md @@ -0,0 +1,6 @@ +--- +id: blocks-views +title: Block Views +--- + +Work in progress... \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hant/contrib-overview.md b/docs/website/translated_docs/zh_cmn_hant/contrib-overview.md new file mode 100644 index 000000000000..d32a77ff101d --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hant/contrib-overview.md @@ -0,0 +1,11 @@ +--- +id: contrib-overview +title: Get Involved +--- + +phpBB SiteMaker is an open source project and welcomes your ideas and contributions. So feel free to get involved. You can contribute to this project by: + +* [Providing Support/Feedback](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Reporting Bugs](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Helping with Translation](./contrib-translators.md) +* [Fixing bugs or adding features](./contrib-pull-requests.md) \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hant/contrib-pull-requests.md b/docs/website/translated_docs/zh_cmn_hant/contrib-pull-requests.md new file mode 100644 index 000000000000..a7351ca23f5f --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hant/contrib-pull-requests.md @@ -0,0 +1,76 @@ +--- +id: contrib-pull-requests +title: Submitting a Pull Request +sidebar_label: Pull Requests +--- + +`Pull requests let you tell others about changes you've pushed to a branch in a repository on GitHub. Once a pull request is opened, you can discuss and review the potential changes with collaborators and add follow-up commits before your changes are merged into the base branch.` [Read more](https://help.github.com/articles/about-pull-requests/) + +## Forking/Cloning + +* Create a github account if you don't already have one +* Go to https://github.com/blitze/phpBB-ext-sitemaker.git and click on "Fork" + +Clone your fork of the repository: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +From command line go to sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + + +**Configure git:** + +Add your Username to Git on your system: + + git config --global user.name "Your Name Here" + + +Add your E-mail address to Git on your system: + + git config --add user.email username@phpbb.com + + +Add the upstream remote (you can change ‘upstream’ to whatever you like): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + + +**Install vendors** + + composer install + + +**Install NPM packages** + + npm install + + +Alternatively you may use [yarn](https://yarnpkg.com): + + yarn install + + +## Pull Requests + + # Create a new branch for your feature & switch to it + git checkout -b feature/my-fancy-new-feature + + # create a new branch for the issue you are working on * switch to it (ticket # is from github tracker) + git checkout -b ticket/1234 + + +Make your changes + + # Stage the files + git add + + # Commit staged files - please use a correct commit message + git commit -m "my commit message" + + +Push the branch back to GitHub git push origin feature/my-fancy-new-feature + +Submit a [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hant/contrib-translators.md b/docs/website/translated_docs/zh_cmn_hant/contrib-translators.md new file mode 100644 index 000000000000..5f14593015ba --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hant/contrib-translators.md @@ -0,0 +1,17 @@ +--- +id: contrib-translators +title: Translators +--- + +We need help translating this extension, as well as its documentation. We have created a project on Crowdin to ease translations. Crowdin gives you a translation interface that's second to none. You can contribute how ever you want but we really recommend using Crowdin. + +> Crowdin is a localization management platform that helps companies to translate their software. You can read more about Crowdin [here](https://support.crowdin.com/crowdin-intro/) + +If you are willing to contribute with translations, you will need: + +* A [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) account. +* Chose the target language if exist otherwise request to be enabled. + +If your desired language is not listed, please [contact me](https://crowdin.com/profile/blitze) and I will add it. + +[Start Translating](https://crowdin.com/project/phpbb-ext-sitemaker) \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hant/developer-events.md b/docs/website/translated_docs/zh_cmn_hant/developer-events.md new file mode 100644 index 000000000000..562c7bed6fd4 --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hant/developer-events.md @@ -0,0 +1,120 @@ +--- +id: developer-events +title: phpBB SiteMaker Events +--- + +You can modify the behavior of phpBB SiteMaker using phpBB's event system. + +## PHP Events + +# blitze.sitemaker.acp_add_bulk_menu_options + +- Location: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Since: 3.1.0 +- Purpose: Add bulk menu options in acp menu + +# blitze.sitemaker.acp_display_settings_form + +- Location: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Since: 3.1.0 +- Purpose: display acp (sitemaker) settings form + +# blitze.sitemaker.acp_save_settings + +- Location: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Since: 3.1.0 +- Purpose: Save acp (sitemaker) settings + +# blitze.sitemaker.admin_bar.set_assets + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Since: 3.0.1-RC1 +- Purpose: Add assets for available blocks in edit mode + +# blitze.sitemaker.modify_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Since: 3.0.1-RC1 +- Purpose: Modify block positions + +# blitze.sitemaker.modify_rendered_block + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Since: 3.0.1-RC1 +- Purpose: Modify a rendered block + +## Template Events + +# blitze_sitemaker_acp_settings + +- Location: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Since: 3.1.0 +- Purpose: Add form fields for sitemaker settings + +# blitze_sitemaker_admin_bar_append + +- Location: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Since: 3.1.0 +- Purpose: Add menu items to admin bar + +# blitze_sitemaker_admin_bar_templates + +- Location: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Since: 3.1.0 +- Purpose: Add template files to be used in JS for block views, etc + +## Javascript Events + +# blitze_sitemaker_layout_saved + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout changes are saved + +# blitze_sitemaker_render_block_before + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something before block is rendered or prevent it from being re-rendered + +# blitze_sitemaker_render_block_after + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something after block is rendered + +# blitze_sitemaker_save_block_before + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to modify block data before it is saved + +# blitze_sitemaker_show_all_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when all block positions are shown + +# blitze_sitemaker_hide_empty_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when empty positions are hidden + +# blitze_sitemaker_layout_cleared + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout is cleared + +# blitze_sitemaker_layout_updated + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout is updated + +# blitze_sitemaker_tinymce_options + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Since: 3.3.0 +- Purpose: Event to allow other extensions to modify tinymce options \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hant/developer-extensions.md b/docs/website/translated_docs/zh_cmn_hant/developer-extensions.md new file mode 100644 index 000000000000..fc9e22ad6904 --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hant/developer-extensions.md @@ -0,0 +1,177 @@ +--- +id: developer-extensions +title: Extending phpBB SiteMaker +--- + +You can extend/modify phpBB SiteMaker using [service replacement](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [service decoration](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), and [phpBB's event system](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). You can find a list of supported events [here](./developer-events.md). + +## Creating a SiteMaker block + +A phpBB SiteMaker block is simply a class that extends the blitze\sitemaker\services\blocks\driver\block class and returns an array from the "display" method with a 'title' and 'content'. Everything else inbetween is up to you. To make your block discoverable by phpBB SiteMaker, you'll need to give it the "sitemaker.block" tag. + +Say we have an extension with vendor/extension as my/example. To create a block called "my_block" for phpBB SiteMaker: + +- Create a "blocks" folder +- Create my_block.php file in the blocks folder with the following content + +```php +namespace my\example\blocks; + +use blitze\sitemaker\services\blocks\driver\block; + +class my_block extends block +{ + /** + * {@inheritdoc} + */ + public function display(array $settings, $edit_mode = false) + { + return array( + 'title' => 'my block title', + 'content' => 'my block content', + ); + } +} +``` + +Then in your config.yml file, add the following: + +```yml +services: + + ... + + my.example.block.my_block: + class: my\example\blocks\my_block + calls: + - [set_name, [my.example.block.my_block]] + tags: + - { name: sitemaker.block } + + .... + +``` + +At a bare minimum, that's all you need. If you go into edit mode, you should see the block listed as 'MY_EXAMPLE_BLOCK_MY_BLOCK' that can be dragged and dropped on any block position. But this block doesn't do anything exciting. It has no settings and does not translate the block name. Let's make it more interesting. + +### Block Settings + +Let's modify our blocks/my_block.php file and add a "get_config" method th at returns an array with the keys being the block settings and the values being an array describing the settings like so: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Only show when option 1 is selected
'), + ); + } +``` + +This is constructed the same way that phpBB builds the configuration for board settings in ACP. You can see more examples [here](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +If you want a custom field type, you can see an example [here](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' setting). + +Notice 'legend1' and 'legend2': These are used to separate the settings into tabs. + +### Naming Blocks + +The convention for block names is that the service name (e.g my.example.block.my*block above) will be used as the language key by replacing the dots (.) with underscore (*) (e.g MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Translation + +Also notice that we have several language keys that need to be translated. To do this, create a file named "blocks_admin.php" in your language folder. This file will be automatically loaded when editing blocks, and should have translations for your blocks settings and block names. + + $lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Option 1', + 'OTHER_LANG_VAR' => 'Option 2', + 'SOME_LANG_VAR_1' => 'Setting 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'My Block', + ); + + +Because 'blocks_admin.php' is only loaded when editing blocks, you will need to add other translations (e.g. block title) by loading a language file in your display method like so `$language->add_lang('my_lang_file', 'my/example');` + +### Rendering the block + +The new block will only be displayed if it is rendering something. Your block can return any string as content but in most cases, you need a template to render your content. To render your block using templates, the block must return an array that holds the data that you want to pass to the template and must also implement the `get_template` method as demonstrated below: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block.html'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // do something only in edit mode + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); + } +``` + +Then your styles/all/my_block.html or styles/prosilver/my_block.html file might look something like this: + +

You selected: {{ some_var }}

+ + +In summary, your block must return an array with a `title` key (for the block title) and a `content` key (if the block just displays a string and does not use a template) or a `data` key (if the block uses a template, in which case, you will also need to implement the `get_template` method). + +### Block Assets + +If your block needs to add assets (css/js) to the page, I recommend using the sitemaker [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) for that. Since there can be more than one instance of the same block on the page, or other blocks might be adding the same asset, the util class ensures that the asset is only added ones. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some.js', + 100 => '@my_example/assets/other.js', // set priority + ), + 'css' => array( + '@my_example/assets/some.css', + ) + )); +``` + +The util class will, of course, need to be added to your service definitions in config.yml like so: `- '@blitze.sitemaker.util'` and defined in your block's constructor `\blitze\sitemaker\services\util $util`. + +And that's it. We're done! \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hant/developer-theming.md b/docs/website/translated_docs/zh_cmn_hant/developer-theming.md new file mode 100644 index 000000000000..8f76e7c40ddd --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hant/developer-theming.md @@ -0,0 +1,55 @@ +--- +id: developer-theming +title: Theming +--- + +phpBB SiteMaker comes with styles and colors made for prosilver. You can overwrite CSS, JS, and HTML files by creating the corresponding file in your style's folder. + +# Creating JS/CSS files for your style + +Note: * For the purpose of the below instructions we will assume that you have a style called my-style. + +Clone into phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + + +From command line go to sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + + +**Install vendors** + + composer install + + +**Install packages** + +For the below commands you can use npm or [yarn](https://yarnpkg.com) + + yarn install + + +**Watch Changes** + + yarn start --theme my-style + + +**Make Changes** + +* Make your changes to files in the phpBB/ext/blitze/sitemaker/develop folder. +* Look at phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss for sass variables + +**Build Assets** + + yarn build --theme my-style + + +**Deploy** + +You can now copy the generated files from phpBB/ext/blitze/sitemaker/styles/my-style and uploaded them to your production server. + +> This extension uses jQuery UI for tabs, dialogs and buttons. The default jQuery theme is 'smoothness.' You can use a different jQuery UI theme that best fits your theme. You can specify the jQuery UI theme using the flag --jq_ui_theme. For example: + + yarn build --theme my-style --jq_ui_theme ui-lightness \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hant/filemanager.md b/docs/website/translated_docs/zh_cmn_hant/filemanager.md new file mode 100644 index 000000000000..08caa9b8029e --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hant/filemanager.md @@ -0,0 +1,34 @@ +--- +id: filemanager +title: Responsive Filemanager +--- + +As of version 3.1.0, phpBB SiteMaker supports the [Responsive Filemanager](http://responsivefilemanager.com) + +* The file manager is used as a TinyMCE pluging (WYSIWYG editor) when editing custom blocks +* It is currently configured to creat separate folders for each user, except the user with a_sm_filemanager permission (Can see/manage other users' folders), which allows them access to view/manage all upload folders. + +## Installation + +* Download the [Responsive FileManager](http://responsivefilemanager.com/index.php#sthash.5UrnhjX2.dpbs) +* Extract it, and upload the files to your phpBB root folder. The file structure should be as below: + +```text +phpBB +├── images/ +├── includes/ +├── ... +└── ResponsiveFilemanager/ + └── filemanager/ + └── config/ + ├── .htaccess + └── config.php +``` + +## Activation + +* Go to ACP > Extensions > SiteMaker > Settings +* Enable File Manager feature +* Save changes +* Update user permissions (Misc tab) to determine who can use this feature [Can use File Manager] +* Update admin permissions (Misc tab) to determine who can manager user folders [Can see/manage other users’ folders in File Manager] \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hant/installation.md b/docs/website/translated_docs/zh_cmn_hant/installation.md new file mode 100644 index 000000000000..298f90a9e5c0 --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hant/installation.md @@ -0,0 +1,18 @@ +--- +id: installation +title: Installing / Upgrading +--- + +Download the extension from [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker + +* Extract and upload it to your phpBB/ext/ folder so you have phpBB/ext/blitze/sitemaker +* Go to "ACP" > "Customise" > "Extensions" and enable the "phpBB Sitemaker" extension. + +## Upgrading phpBB SiteMaker + +* Create a backup of your database just in case something goes wrong +* Go to "ACP" > "Customise" > "Extensions" and disable (do not purge) "phpBB Sitemaker" +* Download and extract the latest version of phpBB SiteMaker and upload it to your phpBB/ext/ folder (overwrite) +* Go to "ACP" > "Customise" > "Extensions" and enable the "phpBB Sitemaker" extension. \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hant/introduction.md b/docs/website/translated_docs/zh_cmn_hant/introduction.md new file mode 100644 index 000000000000..ff5a07cb2614 --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hant/introduction.md @@ -0,0 +1,6 @@ +--- +id: introduction +title: Introduction +--- + +phpBB SiteMaker seeks to transform your phpBB board into a CMS/portal. It does so by providing you with blocks and menus to help you customize your site to your liking. There are or will be other SiteMaker extensions that provide additional functionality to meet this goal. It also allows you to define a landing page when your site is accessed. So if you don't want visitors to your site to immediately see the phpBB forum when they go to www.your-site.com, you can define your own start page. \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hant/menus-display.md b/docs/website/translated_docs/zh_cmn_hant/menus-display.md new file mode 100644 index 000000000000..795985e02a3c --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hant/menus-display.md @@ -0,0 +1,18 @@ +--- +id: menus-display +title: Displaying Menus +--- + +Now that you have create your menus, you can display them in several ways: + +## Links Block + +You can use this block to display a flat or nested list of menu items. This block is not intended to be used for navigation i.e. it will not show a current page or anything like that. It is intended for a list of items, including external links. + +## Menus Block + +This block is intended for site navigation. It does some additional computations to determine current location and is not intended to be a very large list. + +## Navigation bar + +Similar to the Menus block, the navigation bar will display menu items as a responsive dropdown menu intended for site navigation. You can enable this in ACP > Extensions > Sitemaker > Settings > Select menu \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hant/menus-managing-items.md b/docs/website/translated_docs/zh_cmn_hant/menus-managing-items.md new file mode 100644 index 000000000000..e63160278c4c --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hant/menus-managing-items.md @@ -0,0 +1,30 @@ +--- +id: menus-managing-items +title: Managing Menu Items +--- + +Your menu is useless unless it has menu items. You can add menu items that point to local or external files. + +> The URL for external sites must begin with http(s)://, ftp://, //, etc. +> +> You can create a divider by entering '-' as the item title + +## Adding Menu items + +You can add menu items one item at a time, or you can add multiple menu items at ones. + +### Adding single menu items + +To add a single menu item, * click on the `Add Menu Item` button * Fill in the required information and hit `Save` + +### Adding multiple items + +To add multiple menu items at once, * Click on the ▼ icon next to `Add Menu Item` * You can manually add items by placing each item on a new line and using the tab character nest items or * You can click on one of the provided options at the bottom of the textarea to automatically fill in the menu items + +## Reorder the menu items + +You can drag and drop the menu items up/down to set their display order, or drag them left/right to set the desired hierarchy. + +## Rebuilding the menu items + +If you find that the menu items are not displaying correctly, click on the `Rebuild Tree` button to rebuild the menu items. \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hant/menus-managing.md b/docs/website/translated_docs/zh_cmn_hant/menus-managing.md new file mode 100644 index 000000000000..5be36cddb83a --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hant/menus-managing.md @@ -0,0 +1,22 @@ +--- +id: menus-managing +title: Managing Menus +--- + +You can create menus in ACP that you can then display using the Menus or the Links blocks or displayed as a horizontal navbar. + +## Managing Menus + +To manage menus, go to ACP > Extensions > Sitemaker > Menu + +### Creating Menus + +To create a new menu (group), click on the `Add Menu` button. A new menu group will be created with a randomly generated name. The new menu will also be selected so you can begin adding menu items to it. + +### Editing Menus + +If you want a more meaningful menu name, * hover over the menu name and click on the cog icon * enter the new menu name and hit enter to update it + +### Deleting Menus + +To delete a menu, and its items, * Hover over the menu name and click on the **x** icon * If the menu item has no child items, you will need to confirm your choice to delete the item * If the menu item has child items, you will need to indicate if you want to delete only the item and move its children up or if you want to delete the entire branch \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hant/site-block-modifiers.md b/docs/website/translated_docs/zh_cmn_hant/site-block-modifiers.md new file mode 100644 index 000000000000..4712e963c3a2 --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hant/site-block-modifiers.md @@ -0,0 +1,6 @@ +--- +id: site-block-modifiers +title: Customizing Blocks Display +--- + +Work in progress... \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hant/site-default-layout.md b/docs/website/translated_docs/zh_cmn_hant/site-default-layout.md new file mode 100644 index 000000000000..247f9e388692 --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hant/site-default-layout.md @@ -0,0 +1,10 @@ +--- +id: site-default-layout +title: Setting a Default Layout +--- + +When you add a block, it is added to that specific page. It would, therefore, be a tedious task to set blocks for all the pages on your site. You can set all the desired blocks for a particular page, then set that page as the default layout. In others words, any page that does not have its own blocks, will inherit blocks from this page. + +To set a default layout * Go to the page that you'd like to set as default layout * Click on `Settings` in the admin bar * Click the `Set as default layout` button + +Say we add blocks to a page (phpBB/index.php) with blocks in the sidebar and top positions, for example, and set it as our default layout. This has the following effects for other pages: * Any page that does not have its own blocks, will inherit the blocks from the default layout. See [Understanding Block Inheritance](./blocks-inheritance.md) for exceptions. * You may still inherit blocks from a default layout (index.php) but choose to not display blocks on some block positions or not display any blocks at all. To do this, * Go to the page that you don't want all/some blocks to display * Click on `Settings` in the admin bar * Select `Do not show blocks on this page` if you don't want to inherit/display any blocks on this page OR * Use CTRL + click to select the block positions (on the right) that you do not want to display blocks on * In `edit mode`, a page that inherits blocks from the default layout, will not show any blocks, giving you the opportunity to add blocks to the page if you want to * Any page that has its own blocks will not inherit from the default layout \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hant/site-layouts.md b/docs/website/translated_docs/zh_cmn_hant/site-layouts.md new file mode 100644 index 000000000000..fd4b6d625602 --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hant/site-layouts.md @@ -0,0 +1,20 @@ +--- +id: site-layouts +title: Layouts +--- + +"Layouts" determine the available block positions and how they are displayed. + +## Block Positions + +Block positions are predefined areas on your site where blocks can exist. The available block positions are determined by the template style that you are using. For prosilver, phpBB SiteMaker comes with the following block positions: * panel: full width across the top * sidebar: left/right depending on layout below * subcontent: similar to sidebar just larger * top_hor: horizontal blocks across the top, flanking above sidebar/subcontent depending on layout * top: above main content * box: equal width, horizontal blocks below main content * bottom: below main content * bottom_hor: horizontal blocks across the bottom, flanking the sidebar/subcontent depending on layout * footer: horizontal blocks in the footer You can add more block positions in your own style templates by copying and modifying the corresponding phpBB SiteMaker templates + +## Site Layout + +You can choose the layout for your site in ACP (Extensions > Sitemaker > Settings): * **Blog**: subcontent and sidebar next to each other, pushed to the right, top_hor/botom_hor flank subcontent * **Holy Grail**: equal width sidebar and subcontent on opposite sides, top_hor/botom_hor flank subcontent * **Portal**: sidebar on left, subcontent on the right, top_hor/botom_hor flank subcontent * **Portal Alt**: subcontent on left, sidebar on the right, top_hor/botom_hor flank sidebar * **Custom**: Manually set the width of the sidebars as px, %, em or rem. Defaults to 200px on each side + +## Custom templates/styles + +As much as possible, we tried to put template files and assets in styles/all/ folder so that you can overwrite them by creating a file with same name under your own template theme e.g. prosilver. So if you want to modify how a certain block displays or if you want to create your own layout with your own block positions, you simply need to create a file with the same name and path as the original in your own style. + +If you need to customize CSS/JS files, take a look at the [theming](./developer-theming.md) section. \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hant/site-navbar.md b/docs/website/translated_docs/zh_cmn_hant/site-navbar.md new file mode 100644 index 000000000000..edffeefdd49d --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hant/site-navbar.md @@ -0,0 +1,6 @@ +--- +id: site-navbar +title: Navigation Bar +--- + +See [Displaying Menus](./menus-display#navigation-bar) \ No newline at end of file diff --git a/docs/website/translated_docs/zh_cmn_hant/site-startpage.md b/docs/website/translated_docs/zh_cmn_hant/site-startpage.md new file mode 100644 index 000000000000..95b0b046cca0 --- /dev/null +++ b/docs/website/translated_docs/zh_cmn_hant/site-startpage.md @@ -0,0 +1,8 @@ +--- +id: site-startpage +title: Setting a Start Page +--- + +phpBB SiteMaker allows you to choose any front controller (pages accessed via app.php/...) as your default start page (the page that will be shown when someone visits your site) instead of the board index. + +To do this: * Go to the page that you want to set as default start page * Click on `Settings` in the admin bar. If it is an eligible page, you will see a `Set as start page` button * Click on the `Set as start page` button \ No newline at end of file diff --git a/language/ar/block_manager.php b/language/ar/block_manager.php new file mode 100644 index 000000000000..ae3ec3a45e63 --- /dev/null +++ b/language/ar/block_manager.php @@ -0,0 +1,123 @@ + '* سحب وإفلات المربعات البرمجية', + 'AJAX_ERROR' => 'عفوا! حدث خطأ أثناء معالجة طلبك. الرجاء المحاولة مرة أخرى.', + 'AJAX_LOADING' => 'تحميل...', + 'AJAX_PROCESSING' => 'يعمل...', + + 'BACKGROUND' => 'الخلفية', + 'BLOCKS' => 'كتل', + 'BLOCKS_COPY_FROM' => 'نسخ الكتل البرمجية', + 'BLOCK_ACTIVE' => 'نشط', + 'BLOCK_CHILD_ROUTES_ONLY' => 'إظهار على الطرق الفرعية فقط', + 'BLOCK_CHILD_ROUTES_HIDE' => 'إخفاء على طرق الأطفال', + 'BLOCK_CLASS' => 'فئة CSS', + 'BLOCK_CLASS_EXPLAIN' => 'تعديل مظهر الكتلة مع فئات CSS', + 'BLOCK_DESIGN' => 'المظهر', + 'BLOCK_DISPLAY_TYPE' => 'عرض', + 'BLOCK_HIDE_TITLE' => 'إخفاء عنوان الكتلة؟', + 'BLOCK_INACTIVE' => 'غير نشط', + 'BLOCK_MISSING_TEMPLATE' => 'قالب كتلة مفقود. الرجاء الاتصال بالمطور', + 'BLOCK_NOT_FOUND' => 'عفوا! لم يتم العثور على خدمة الكتلة المطلوبة', + 'BLOCK_NO_DATA' => 'لا توجد بيانات لعرضها', + 'BLOCK_NO_ID' => 'عفوا! معرف الكتلة مفقود', + 'BLOCK_PERMISSION' => 'الصلاحية', + 'BLOCK_PERMISSION_ALLOW' => 'إظهار إلى', + 'BLOCK_PERMISSION_DENY' => 'إخفاء من', + 'BLOCK_PERMISSION_EXPLAIN' => 'استخدام CTRL + انقر لتبديل التحديد', + 'BLOCK_SHOW_ALWAYS' => 'دائما', + 'BLOCK_STATUS' => 'الحالة', + 'BLOCK_UPDATED' => 'تم تحديث إعدادات الحظر بنجاح', + + 'CANCEL' => 'إلغاء', + 'CHILD_ROUTE' => 'طفل', + 'CHILD_ROUTE_EXPLAIN' => '/viewforum.php, /dir/index.php
/viewtopic.php?f=2&t=1
/articles/my-مقالة', + 'CLEAR' => 'مسح', + 'COPY' => 'نسخ', + 'COPY_BLOCKS' => 'نسخ الكتلة؟', + 'COPY_BLOCKS_CONFIRM' => 'هل أنت متأكد من أنك ترغب في نسخ الكتل من صفحة أخرى؟

سيؤدي هذا إلى حذف جميع الكتل الموجودة وإعدادات هذه الصفحة واستبدالها بالكتل من الصفحة المحددة.', + + 'DEFAULT_LAYOUT_EXPLAIN' => 'إذا تم تعيينه، فإن جميع صفحات الموقع التي لم يتم تحديد كتل لها سوف ترث الكتل من التخطيط الافتراضي. ومع ذلك، قد تتخطى التخطيط الافتراضي لصفحات معينة باستخدام الخيارات إلى اليمين.', + 'DELETE' => 'حذف', + 'DELETE_ALL_BLOCKS' => 'حذف جميع الكتل', + 'DELETE_ALL_BLOCKS_CONFIRM' => 'هل أنت متأكد من أنك ترغب في حذف جميع الكتل البرمجية لهذه الصفحة؟', + 'DELETE_BLOCK' => 'حذف الكتلة', + 'DELETE_BLOCK_CONFIRM' => 'هل أنت متأكد من أنك تريد حذف هذه الكتلة؟


ملاحظة يجب عليك حفظ تغييرات التخطيط لجعل هذا دائم.', + + 'EDIT' => 'تحرير', + 'EDIT_BLOCK' => 'تحرير الكتلة', + 'EXIT_EDIT_MODE' => 'الخروج من وضع التحرير', + + 'FEED_PROBLEMS' => 'حدثت مشكلة في معالجة تغذية rss/الذرة المقدمة', + 'FEED_URL_MISSING' => 'الرجاء تقديم تغذية واحدة على الأقل / ذرة للبدء', + 'FIELD_INVALID' => 'القيمة المقدمة للميدان "%s" صيغة غير صحيحة', + 'FIELD_REQUIRED' => '"%s" حقل مطلوب', + 'FIELD_TOO_LONG' => 'القيمة المقدمة للحقل "%1$s" طويلة جداً. القيمة القصوى المقبولة هي %2$d.', + 'FIELD_TOO_SHORT' => 'القيمة المقدمة للحقل "%1$s" قصيرة جداً. الحد الأدنى من القيمة المقبولة هو %2$d.', + + 'HIDE_ALL_BLOCKS' => 'لا تظهر الكتل في هذه الصفحة', + 'HIDE_BLOCK_POSITIONS' => 'لا تظهر الكتل البرمجية لمواقع الكتلة التالية:', + + 'IMAGES' => 'الصور', + + 'LAYOUT' => 'تخطيط', + 'LAYOUT_SAVED' => 'تم حفظ التخطيط بنجاح!', + 'LAYOUT_SETTINGS' => 'إعدادات التخطيط', + 'LEAVE_CONFIRM' => 'لديك بعض التغييرات غير المحفوظة لهذه الصفحة. الرجاء حفظ عملك قبل الانتقال إلى الصفحة', + 'LISTS' => 'القوائم', + + 'MAKE_DEFAULT_LAYOUT' => 'تعيين كتخطيط افتراضي', + + 'OR' => 'أو', + + 'PARENT_ROUTE' => 'الأصل', + 'PARENT_ROUTE_EXPLAIN' => '/index.php
/viewforum.php?f=2
/articles', + 'PREDEFINED_CLASSES' => 'فصول محددة مسبقاً', + + 'REDO' => 'إعادة', + 'REMOVE_DEFAULT_LAYOUT' => 'إزالة كتخطيط افتراضي', + 'REMOVE_STARTPAGE' => 'إزالة صفحة البداية', + 'ROUTE_HIDDEN_BLOCKS' => 'يتم إخفاء الكتل لهذه الصفحة', + 'ROUTE_HIDDEN_POSITIONS' => 'يتم إخفاء الكتل في المواقع التالية', + 'ROUTE_UPDATED' => 'تم تحديث إعدادات الصفحة بنجاح', + + 'SAVE_CHANGES' => 'حفظ التغييرات', + 'SAVE_SETTINGS' => 'حفظ الإعدادات', + 'SELECT_ICON' => 'حدد أيقونة', + 'SETTINGS' => 'الإعدادات', + 'SETTING_TOO_BIG' => 'القيمة المقدمة للإعداد "%1$s" مرتفعة جداً. القيمة القصوى المقبولة هي %2$d.', + 'SETTING_TOO_LONG' => 'القيمة المقدمة للإعداد "%1$s" طويلة جداً. الحد الأقصى للطول المقبول هو %2$d.', + 'SETTING_TOO_LOW' => 'القيمة المقدمة للإعداد "%1$s" منخفضة جداً. الحد الأدنى من القيمة المقبولة هو %2$d.', + 'SETTING_TOO_SHORT' => 'القيمة المقدمة للإعداد "%1$s" قصيرة جداً. الحد الأدنى للطول المقبول هو %2$d.', + 'SET_STARTPAGE' => 'تعيين كصفحة بدء', + + 'TITLES' => 'العناوين', + + 'UPDATE_SIMILAR' => 'تحديث الكتل البرمجية مع إعدادات مماثلة', + 'UNDO' => 'التراجع', + + 'VIEW_DEFAULT_LAYOUT' => 'عرض/تعديل التخطيط الافتراضي', + 'VISIT_PAGE' => 'زيارة الصفحة', +)); diff --git a/language/ar/blocks_admin.php b/language/ar/blocks_admin.php new file mode 100644 index 000000000000..220e57ed55c8 --- /dev/null +++ b/language/ar/blocks_admin.php @@ -0,0 +1,189 @@ + 'جميع الأنواع', + 'ALL_GROUPS' => 'جميع المجموعات', + 'ARCHIVES' => 'المحفوظات', + 'AUTO_LOGIN' => 'السماح بتسجيل الدخول التلقائي؟', + 'FILE_MANAGER' => 'مدير الملفات', + 'TOPIC_POST_IDS' => 'من عنوان الموضوع/الموقع', + 'TOPIC_POST_IDS_EXPLAIN' => 'معرف (مواضيع) المواضيع / المشاركات لاسترداد المرفقات منها، مفصولة بفواصل (,). حدد ما إذا كانت هذه القائمة للموضوع أو معلمات النشر أعلاه.', + 'TOPIC_POST_IDS_TYPE' => 'نوع المعرفات (أدناه)', + + // Blocks + 'BLITZE_SITEMAKER_BLOCK_ATTACHMENTS' => 'المرفقات', + 'BLITZE_SITEMAKER_BLOCK_BIRTHDAY' => 'تاريخ الميلاد', + 'BLITZE_SITEMAKER_BLOCK_CUSTOM' => 'كتلة مخصصة', + 'BLITZE_SITEMAKER_BLOCK_FEATURED_MEMBER' => 'العضو المميز', + 'BLITZE_SITEMAKER_BLOCK_FEEDS' => 'ريس/تغذية Atom', + 'BLITZE_SITEMAKER_BLOCK_FORUM_POLL' => 'استفتاء المنتدى', + 'BLITZE_SITEMAKER_BLOCK_FORUM_TOPICS' => 'مواضيع المنتدى', + 'BLITZE_SITEMAKER_BLOCK_GOOGLE_MAPS' => 'خرائط جوجل', + 'BLITZE_SITEMAKER_BLOCK_POPULAR_TOPICS' => 'المواضيع الشائعة', + 'BLITZE_SITEMAKER_BLOCK_LINKS' => 'الروابط', + 'BLITZE_SITEMAKER_BLOCK_LOGIN' => 'صندوق تسجيل الدخول', + 'BLITZE_SITEMAKER_BLOCK_MEMBERS' => 'الأعضاء', + 'BLITZE_SITEMAKER_BLOCK_MEMBER_MENU' => 'قائمة الأعضاء', + 'BLITZE_SITEMAKER_BLOCK_MENU' => 'القائمة', + 'BLITZE_SITEMAKER_BLOCK_MYBOOKMARKS' => 'علاماتي', + 'BLITZE_SITEMAKER_BLOCK_RECENT_TOPICS' => 'المواضيع الحديثة', + 'BLITZE_SITEMAKER_BLOCK_STATS' => 'الإحصائيات', + 'BLITZE_SITEMAKER_BLOCK_STYLE_SWITCHER' => 'مبدل النمط', + 'BLITZE_SITEMAKER_BLOCK_WHATS_NEW' => 'ما الجديد؟', + 'BLITZE_SITEMAKER_BLOCK_WHOIS' => 'من هو متصل', + 'BLITZE_SITEMAKER_BLOCK_WORDGRAPH' => 'ورغراف', + + // block views + 'BLOCK_VIEW' => 'عرض كتلة', + 'BLOCK_VIEW_BASIC' => 'اساسي', + 'BLOCK_VIEW_BOXED' => 'مربع', + 'BLOCK_VIEW_DEFAULT' => 'الافتراضي', + 'BLOCK_VIEW_SIMPLE' => 'بسيط', + + 'CACHE_DURATION' => 'مدة التخزين المؤقت', + 'CONTEXT' => 'السياق', + 'CSS_SCRIPTS' => 'CSS Scripts', + 'CUSTOM_PROFILE_FIELDS' => 'حقول الملف الشخصي المخصصة', + + 'DATE_RANGE' => 'Date Range', + 'DISPLAY_PREVIEW' => 'عرض المعاينة؟', + + 'EDIT_ME' => 'من فضلك قم بتعديلي', + 'ENABLE_TOPIC_TRACKING' => 'تمكين تتبع الموضوع؟', + 'ENABLE_TOPIC_TRACKING_EXPLAIN' => 'في حالة التمكين، سيتم الإشارة إلى المواضيع غير المقروءة ولكن نتائج الكتلة لن يتم تخزينها مؤقتا (غير مستحسن)', + 'EXCLUDE_TOO_MANY_WORDS' => 'لقد قمت بإدخال العديد من الكلمات للاستبعاد. الحد الأقصى لعدد الأحرف الممكن هو 255، لقد قمت بإدخال %s.', + 'EXCLUDE_WORDS' => 'استبعاد الكلمات', + 'EXCLUDE_WORDS_EXPLAIN' => 'قائمة الكلمات التي ترغب في استبعادها من الكلمة مفصولة بفاصلة (,). بحد أقصى 255 حرفاً.', + 'EXPANDED' => 'موسع', + 'EXTENSION_GROUP' => 'فريق التمديد', + + 'FEATURED_MEMBER_IDS' => 'معرفات المستخدم', + 'FEATURED_MEMBER_IDS_EXPLAIN' => 'قائمة مفصولة بفواصل للمستخدمين للميزة (ينطبق فقط على وضع عرض الأعضاء المميزين)', + 'FEED_DATA_PREVIEW' => 'بيانات التغذية', + 'FEED_ITEM_TEMPLATE' => 'قالب العنصر', + 'FEED_ITEM_TEMPLATE_EXPLAIN' => 'تلميح:
+
    +
  • الوصول إلى بيانات التغذية في البند المتغير e. البند عنوان
  • +
  • يجب أن يكون قالب في بندا Twig
  • +
  • انقر فوق عينات أعلاه لنماذج القالب
  • +
  • استخدم get_item_tags($namespace، $tag) للحصول على أي علامة من موجز الويب الذي لا نقدمه. .
    {{ get_item_tags(\'\', \'image\') }}
  • +
  • استخدم عامل تصفية Twig\'s json_encode لمشاهدة محتويات الصفيف e. . {{ get_item_tags(\'\', \'image\') json_encode() }}
  • +
', + 'FEED_PREVIEW_SOURCE' => 'المصدر', + 'FEED_URL_PLACEHOLDER' => 'http://example.com/rss', + 'FEED_URLS' => 'رابط تغذية', + 'FIRST_POST_ONLY' => 'أول مشاركة فقط', + 'FIRST_POST_TIME' => 'وقت الرد الأول', + 'FORUMS_GET_TYPE' => 'الحصول على النوع', + 'FORUMS_MAX_TOPICS' => 'الحد الأقصى للمواضيع / المشاركات', + 'FORUMS_TITLE_MAX_CHARS' => 'الحد الأقصى للحروف لكل عنوان', + 'FREQUENCY' => 'التردد', + 'FULL' => 'كامل', + 'FULLSCREEN' => 'ملء الشاشة', + + 'GET_TYPE' => 'عرض الموضوع/مشاركة؟', + + 'HTML' => 'HTML', + 'HTML_EXPLAIN' => 'استخدم هذا النص لإدخال محتوى HTML خام.
يرجى ملاحظة أن أي محتوى منشور هنا سيتجاوز محتوى الكتلة المخصصة ولن يكون محرر الكتلة المرئية متاحا.', + 'HOURS_SHORT' => 'ساعات', + + 'JS_SCRIPTS' => 'سكريبتات JS', + + 'LAST_POST_TIME' => 'آخر وقت مشاركة', + 'LAST_READ_TIME' => 'آخر وقت للقراءة', + 'LIMIT' => 'الحد', + 'LIMIT_FORUMS' => 'معارف المنتدى (اختياري)', + 'LIMIT_FORUMS_EXPLAIN' => 'أدخل معرف كل منتدى مفصول بفاصلة (,). إذا تم تعيينه، سيتم عرض المواضيع فقط من المنتديات المحددة.', + 'LIMIT_POST_TIME' => 'الحد حسب وقت النشر', + 'LIMIT_POST_TIME_EXPLAIN' => 'إذا تم تعيين المواضيع المنشورة خلال الفترة المحددة فقط سيتم استرجاعها', + + 'MAX_DEPTH' => 'أقصى عمق', + 'MAX_ITEMS' => 'الحد الأقصى لعدد العناصر', + 'MAX_MEMBERS' => 'الحد الأقصى للأعضاء', + 'MAX_POSTS' => 'الحد الأقصى لعدد المشاركات', + 'MAX_TOPICS' => 'الحد الأقصى لعدد المواضيع', + 'MAX_WORDS' => 'الحد الأقصى لعدد الكلمات', + 'MANAGE_MENUS' => 'إدارة القوائم', + 'MAP_COORDINATES' => 'الإحداثيات', + 'MAP_COORDINATES_EXPLAIN' => 'أدخل الإحداثيات في شكل خط العرض، خط الطول', + 'MAP_HEIGHT' => 'الارتفاع', + 'MAP_LOCATION' => 'الموقع', + 'MAP_TITLE' => 'العنوان', + 'MAP_VIEW' => 'عرض', + 'MAP_VIEW_HYBRID' => 'هجين', + 'MAP_VIEW_MAP' => 'الخريطة', + 'MAP_VIEW_SATELITE' => 'ساتل', + 'MAP_VIEW_TERRAIN' => 'Terrain', + 'MAP_ZOOM_LEVEL' => 'تكبير مستوى', + 'MEMBERS_DATE' => 'التاريخ', + 'MENU_NO_ITEMS' => 'لا توجد عناصر نشطة لعرضها', + 'MINI' => 'مصغر', + + 'OR' => 'أو', + 'ORDER_BY' => 'الترتيب حسب', + + 'POLL_FROM_FORUMS' => 'عرض استطلاعات الرأي من المنتديات', + 'POLL_FROM_FORUMS_EXPLAIN' => 'سيتم عرض استطلاعات الرأي فقط من المنتديات المحددة طالما لم يتم تحديد أي مواضيع أعلاه', + 'POLL_FROM_GROUPS' => 'عرض استطلاعات الرأي من المجموعات (المجموعات)', + 'POLL_FROM_GROUPS_EXPLAIN' => 'سيتم عرض استطلاعات الرأي فقط من أعضاء المجموعات المحددة طالما لم يتم تحديد المستخدم (المستخدمين) أعلاه', + 'POLL_FROM_TOPICS' => 'عرض استطلاعات الرأي من المواضيع', + 'POLL_FROM_TOPICS_EXPLAIN' => 'معرف (مواضيع) لاسترداد استطلاعات الرأي، مفصولة بـ فواصل(,). اتركه فارغا لتحديد أي موضوع.', + 'POLL_FROM_USERS' => 'عرض استطلاعات الرأي من المستخدمين', + 'POLL_FROM_USERS_EXPLAIN' => 'معرف المستخدم (المستخدمين) الذين ترغب في عرض استطلاعاتهم، مفصولة بفواصل (,). اتركه فارغا لتحديد استطلاعات الرأي من أي مستخدم.', + 'POSTS_TITLE_LIMIT' => 'الحد الأقصى # من الأحرف لعنوان المشاركة', + 'PREVIEW_MAX_CHARS' => 'عدد الأحرف المراد معاينتها', + + 'QUERY_TYPE' => 'وضع العرض', + + 'ROTATE_DAILY' => 'يومياً', + 'ROTATE_HOURLY' => 'ساعة', + 'ROTATE_MONTHLY' => 'شهريا', + 'ROTATE_PAGELOAD' => 'تحميل الصفحة', + 'ROTATE_WEEKLY' => 'أسبوعيا', + + 'SAMPLES' => 'عينات', + 'SCRIPTS' => 'البرامج النصية', + 'SELECT_FORUMS' => 'حدد المنتديات', + 'SELECT_FORUMS_EXPLAIN' => 'حدد المنتديات التي تعرض منها المواضيع/المشاركات. اتركه فارغاً للاختيار من جميع المنتديات', + 'SELECT_MENU' => 'حدد القائمة', + 'SELECT_PROFILE_FIELDS' => 'حدد حقول الملف الشخصي', + 'SELECT_PROFILE_FIELDS_EXPLAIN' => 'سيتم عرض حقول الملف الشخصي المختارة فقط إذا كانت متاحة.', + 'SHOW_FIRST_POST' => 'أول منشور', + 'SHOW_HIDE_ME' => 'السماح بإخفاء الحالة على الإنترنت؟', + 'SHOW_LAST_POST' => 'آخر مشاركة', + 'SHOW_MEMBER_MENU' => 'إظهار قائمة المستخدمين؟', + 'SHOW_MEMBER_MENU_EXPLAIN' => 'استبدال مربع تسجيل الدخول بقائمة المستخدم إذا تم تسجيل دخول المستخدم', + 'SHOW_WORD_COUNT' => 'إظهار عدد الكلمات؟', + + 'TEMPLATE' => 'قالب', + 'TOPIC_TITLE_LIMIT' => 'الحد الأقصى # من الأحرف لعنوان الموضوع', + 'TOPIC_TYPE' => 'نوع الموضوع', + 'TOPIC_TYPE_EXPLAIN' => 'حدد أنواع المواضيع التي ترغب في عرضها. اترك المربعات غير محددة للاختيار من جميع أنواع المواضيع', + 'TOPICS_LOOK_BACK' => 'انظر إلى الوراء', + 'TOPICS_ONLY' => 'المواضيع فقط؟', + 'TOPICS_PER_PAGE' => 'لكل صفحة', + + 'WORD_MAX_SIZE' => 'الحد الأقصى لحجم الخط', + 'WORD_MIN_SIZE' => 'الحد الأدنى لحجم الخط', +)); diff --git a/language/ar/common.php b/language/ar/common.php new file mode 100644 index 000000000000..08474a0d1c27 --- /dev/null +++ b/language/ar/common.php @@ -0,0 +1,97 @@ + 'كل الوقت', + + 'BLOCK_TITLE' => 'حظر العنوان', + + 'CHANGE_ME' => 'غيّر لي', + + 'DAILY_MEMBER' => 'عضو في اليوم', + + 'FEATURED_MEMBER' => 'العضو المميز', + 'FEATURED_MEMBERLIST' => 'قائمة الأعضاء المتميزين', + 'FEEDS' => 'التحديثات', + 'FORUM_ANNOUNCEMENTS' => 'إعلانات المنتدى', + 'FORUM_GLOBAL_ANNOUNCEMENTS' => 'إعلانات المنتدى العالمي', + 'FORUM_RECENT_POSTS' => 'مشاركات المنتدى الأخيرة', + 'FORUM_RECENT_TOPICS' => 'مواضيع المنتدى الأخيرة', + 'FORUM_STICKY_POSTS' => 'منشورات ملصقة حديثة', + + 'HELP' => 'مساعدة', + 'HOURLY_MEMBER' => 'عضو في الساعة', + + 'GOOGLE_MAP' => 'خريطة جوجل', + + 'JOIN_DATE' => 'تاريخ الانضمام', + + 'LAST_POST_BY_AUTHOR' => 'آخر مشاركة بواسطة', + 'LAST_VISITED' => 'آخر زيارة', + 'LINKS' => 'الروابط', + + 'MCP_SITEMAKER_CONTENT' => 'المحتويات', + 'MEMBERS_DATE' => 'التاريخ', + 'MENU' => 'القائمة', + 'MONTHLY_MEMBER' => 'عضو في الشهر', + 'MOST_TENURED' => 'الأكثر تأجير', + 'MY_BOOKMARKS' => 'علاماتي', + + 'NO_BOOKMARKED_TOPICS' => 'لم تقم بوضع علامة مرجعية على أي مواضيع', + 'NO_NEW_TOPICS' => 'لا توجد مواضيع جديدة لعرضها', + + 'POLL' => 'استفتاء', + 'POPULAR_TOPICS' => 'المواضيع الشائعة', + 'POSTS_MEMBER' => 'أعلى ملصق', + 'PROCESSING' => 'معالجة...', + + 'QTYPE_POSTS' => 'تهانينا:', + 'QTYPE_RECENT' => 'يرجى الترحيب بأحدث عضو لنا:', + + 'RECENT_BOTS' => 'محركات البحث الأخيرة', + 'RECENT_MEMBER' => 'عضو حديث', + 'RECENT_MEMBERS' => 'الأعضاء الأوائل', + + 'SESSION_HIDE_ME' => 'إخفاء لي', + 'SM_NAVIGATION' => 'Navigation', + 'SM_TOGGLE_DROPDOWN' => 'تبديل القائمة المنسدلة', + 'STYLE_SWITCHER' => 'مبدل النمط', + + 'THIS_MONTH' => 'هذا الشهر', + 'THIS_WEEK' => 'هذا الأسبوع', + 'THIS_YEAR' => 'هذه السنة', + 'TODAY' => 'اليوم', + 'TOPICS_LAST_READ' => 'آخر مواضيع القراءة', + 'TOPIC_LAST_READ' => 'آخر قراءة %s', + 'TOP_POSTERS' => 'أهم الملصقات', + + 'UCP_SITEMAKER_CONTENT' => 'دراستي', + + 'VIEW_DETAILS' => 'عرض التفاصيل', + 'VIEW_USER_PROFILE' => 'كل شيء عن %s', + + 'WEEKLY_MEMBER' => 'عضو في الأسبوع', + 'WELCOME' => 'مرحبا بك', + 'WHATS_NEW' => 'ما الجديد؟', + 'WORDGRAPH' => 'ورغراف', +)); diff --git a/language/ar/css_presets.php b/language/ar/css_presets.php new file mode 100644 index 000000000000..4f8d0f27b26f --- /dev/null +++ b/language/ar/css_presets.php @@ -0,0 +1,107 @@ + 'علامة قائمة الأسهم', + 'LIST_CIRCLE' => 'علامة قائمة الدوائر', + 'LIST_DISC' => 'علامة قائمة الرصاص', + 'LIST_SQUARE' => 'علامة قائمة مربعة', + 'LIST_NUMBERED' => 'قائمة مرقمة', + 'LIST_NUMBERED_ALPHABET' => 'مرقمة بالأبجدية', + 'LIST_NUMBERED_NESTED' => 'مرقمة مع الأقسام الفرعية', + 'LIST_NUMBERED_ROMAN' => 'رقمها بالأرقام الرومانية', + 'LIST_NUMBERED_ZERO' => 'رقمها مع القيادة صفر', + 'LIST_INLINE' => 'قائمة مضمنة', + 'LIST_INLINE_SEP' => 'قائمة مفصولة بفاصلة', + 'LIST_REVERSE' => 'عكس الترتيب', + 'LIST_STRIPED' => 'القائمة المخططة', + 'LIST_STACKED' => 'قائمة مكدسة', + 'LIST_TRIANGLE' => 'مثلث', + 'LIST_HYPHEN' => 'هاتف', + 'LIST_PLUS' => 'زائد', + 'LIST_SPADE' => 'Spade', + 'LIST_CLUB' => 'النادي', + 'LIST_DIAMOND' => 'الماس', + 'LIST_HEART' => 'قلب', + 'LIST_STAR' => 'نجوم', + 'LIST_CHECK' => 'تحقق', + 'LIST_SNOWFLAKE' => 'ندفة الثلج', + 'LIST_MUSIC' => 'الموسيقى', + 'LIST_AUTOWIDTH' => 'Auto width', + 'LIST_FIT_CONTENT' => 'ملاءمة المحتوى', + 'LIST_2COLS' => 'قائمة العمود 2', + 'LIST_3COLS' => 'قائمة 3 أعمدة', + 'LIST_4COLS' => 'قائمة 4 أعمدة', + 'LIST_5COLS' => 'قائمة 5 أعمدة', + 'LIST_X_DIVIDER_DOTTED' => 'الفجوة الأفقية المقطوعة', + 'LIST_X_DIVIDER_LINE' => 'فاصل الخط الأفقي', + 'LIST_Y_DIVIDER_DOTTED' => 'الفاصل العمودي المتقطع', + 'LIST_Y_DIVIDER_LINE' => 'فاصل الخط العمودي', + + 'IMAGE_SMALL' => 'صورة صغيرة', + 'IMAGE_MEDIUM' => 'صورة متوسطة', + 'IMAGE_LARGE' => 'صورة كبيرة', + 'IMAGE_FULL_WIDTH' => 'صورة العرض الكامل', + 'IMAGE_ALIGN_LEFT' => 'الصورة العائمة متبقية', + 'IMAGE_ALIGN_RIGHT' => 'الصورة العائمة اليمنى', + 'IMAGE_CIRCLE' => 'صورة دائرية', + 'IMAGE_ROUNDED' => 'صورة مدورة', + 'IMAGE_BORDER' => 'صورة مطلوبة', + 'IMAGE_BORDER_PADDING' => 'Image border padding', + 'IMAGE_RATIO_SQUARE' => 'صورة مربعة', + 'IMAGE_RATIO_4_BY_3' => '4 في 3 صورة', + 'IMAGE_RATIO_16_BY_9' => '16 في 9 صورة', + + 'RESPONSIVE_SHOW' => 'إظهار فقط على الأجهزة الصغيرة', + 'RESPONSIVE_HIDE' => 'إخفاء على الأجهزة الصغيرة', + + 'ALIGN_LEFT' => 'نص محافظ لليسار', + 'ALIGN_CENTER' => 'النص المحصور', + 'ALIGN_RIGHT' => 'النص الموائم لليمين', + 'NO_PADDING' => 'No padding', + 'LABEL' => 'تسمية', + 'BADGE' => 'شارة', + 'PRIMARY_COLOR' => 'اللون الأساسي', + 'SECONDARY_COLOR' => 'اللون الثانوي', + 'GRAYSCALE_COLOR' => 'Grayscale', + 'INFO_COLOR' => 'معلومات', + 'SUCCESS_COLOR' => 'نجاح', + 'WARNING_COLOR' => 'تحذير', + 'DANGER_COLOR' => 'خطر', +)); diff --git a/language/ar/exceptions.php b/language/ar/exceptions.php new file mode 100644 index 000000000000..974982b05a43 --- /dev/null +++ b/language/ar/exceptions.php @@ -0,0 +1,49 @@ + 'الحقل المطلوب مفقود', + 'EXCEPTION_INVALID_ACTION' => 'الإجراء غير موجود', + 'EXCEPTION_INVALID_ARGUMENT' => 'حجة غير صحيحة لـ \'%1$s`. السبب: %2$s', + 'EXCEPTION_INVALID_DATA_TYPE' => 'القيمة المقدمة هي نوع غير متوقع من البيانات', + 'EXCEPTION_INVALID_ENTITY' => 'الكيان المقدم هو من فئة كيان غير متوقعة', + 'EXCEPTION_INVALID_PROPERTY' => 'الممتلكات المطلوبة غير موجودة', + 'EXCEPTION_OUT_OF_BOUNDS' => 'المطلوب \'%1$s` غير موجود', + 'EXCEPTION_SERVICE_NOT_FOUND' => 'لم يتم العثور على الخدمة المطلوبة', + 'EXCEPTION_UNEXPECTED_VALUE' => 'لا يمكن تنفيذ الإجراء المطلوب \'%1$s`. السبب: %2$s', +)); diff --git a/language/ar/ext.php b/language/ar/ext.php new file mode 100644 index 000000000000..181d66a5a00f --- /dev/null +++ b/language/ar/ext.php @@ -0,0 +1,42 @@ + 'دليل صورة phpBB غير قابل للكتابة. الرجاء تغيير الأذونات إلى قابلة للكتابة من قبل الجميع (777 أو -rwxrwx داخل عميل FTP الخاص بك)', + 'PHPBB_VERSION_UNMET' => 'هذا الملحق يتطلب على الأقل phpBB %s', +)); diff --git a/language/ar/feed_fields.php b/language/ar/feed_fields.php new file mode 100644 index 000000000000..05e743638c0e --- /dev/null +++ b/language/ar/feed_fields.php @@ -0,0 +1,108 @@ + 'مؤلف', + 'AUTHORS' => 'المؤلفون (المصفوفة)', + 'BITRATE' => 'معدل البيتا', + 'CAPTIONS' => 'التسميات', + 'CATEGORIES' => 'الفئات (المصفوفة)', + 'CATEGORY' => 'الفئة', + 'CHANNELS' => 'القنوات', + 'CONTENT' => 'محتوى', + 'CONTRIBUTOR' => 'المساهم', + 'CONTRIBUTORS' => 'المساهمون (صفيفة)', + 'COPYRIGHT' => 'حقوق التأليف', + 'CREDITS' => 'أرصدة', + 'DATE' => 'تاريخ', + 'DESCRIPTION' => 'الوصف', + 'DURATION' => 'مدة', + 'ENCLOSURE' => 'ضميمة', + 'ENCLOSURES' => 'الضميمات (صفيفة)', + 'EXPRESSION' => 'التعبير', + 'FEED' => 'تغذية', + 'FRAMERATE' => 'إطارات', + 'GMDATE' => 'تاريخ GGM', + 'HANDLER' => 'handler', + 'HASHES' => 'التجزئة', + 'HEIGHT' => 'الارتفاع', + 'ID' => 'id', + 'IMAGE_HEIGHT' => 'ارتفاع الصورة', + 'IMAGE_LINK' => 'رابط الصورة', + 'IMAGE_TITLE' => 'عنوان الصورة', + 'IMAGE_URL' => 'رابط الصورة', + 'IMAGE_WIDTH' => 'عرض الصورة', + 'ITEMS' => 'العناصر', + 'JAVASCRIPT' => 'جافا سكريبت', + 'KEYWORDS' => 'الكلمات الرئيسية', + 'LABEL' => 'تسمية', + 'LANG' => 'lang', + 'LATITUDE' => 'خط العرض', + 'LENGTH' => 'طول', + 'LINK' => 'رابط', + 'LINKS' => 'الروابط', + 'LONGITUDE' => 'طول', + 'MEDIUM' => 'متوسطه', + 'NAME' => 'اسم', + 'PERMALINK' => 'رابط دائم', + 'PLAYER' => 'لاعب', + 'RATINGS' => 'تقييمات', + 'RELATIONSHIP' => 'علاقة', + 'RESTRICTIONS' => 'القيود (المصفوفة)', + 'SAMPLINGRATE' => 'معدل أخذ العينات', + 'SCHEME' => 'مخطط', + 'SOURCE' => 'المصدر', + 'TERM' => 'المصطلح', + 'THUMBNAILS' => 'thumbnails', + 'TITLE' => 'العنوان', + 'TYPE' => 'نوع', + 'UPDATED_DATE' => 'تاريخ التحديث', + 'UPDATED_GMDATE' => 'تحديث تاريخ الظهر', + 'VALUE' => 'قيمة', + 'WIDTH' => 'width', +)); diff --git a/language/ar/icons.php b/language/ar/icons.php new file mode 100644 index 000000000000..66af0bc7b2a4 --- /dev/null +++ b/language/ar/icons.php @@ -0,0 +1,71 @@ + 'إمكانية الوصول', + 'ICON_ARROWS' => 'الأسهم', + 'ICON_BRAND' => 'العلامة', + 'ICON_CHART' => 'مخطط', + 'ICON_CURRENCY' => 'العملة', + 'ICON_DIRECTIONAL' => 'اتجاه', + 'ICON_FILE_TYPE' => 'نوع الملف', + 'ICON_FORM_CONTROL' => 'التحكم بالاستمارة', + 'ICON_GENDER' => 'نوع الجنس', + 'ICON_HAND' => 'اليد', + 'ICON_MEDICAL' => 'طبي', + 'ICON_PAYMENT' => 'الدفع', + 'ICON_SPINNER' => 'دباعي', + 'ICON_TEXT_EDITOR' => 'محرر النص', + 'ICON_TRANSPORTATION' => 'النقل', + 'ICON_VIDEO_PLAYER' => 'مشغل الفيديو', + 'ICON_WEB_APPLICATION' => 'تطبيق الويب', + + 'ICON_COLOR' => 'اللون', + 'ICON_DEFAULT' => 'الافتراضي', + 'ICON_FLIP_BOTH' => 'قلب كليهما', + 'ICON_FLIP_HORIZONTAL' => 'قلب أفقي', + 'ICON_FLIP_VERTICAL' => 'قلب عمودي', + 'ICON_FLOAT' => 'عائم', + 'ICON_FLOAT_LEFT' => 'اليسار', + 'ICON_FLOAT_RIGHT' => 'يمين', + 'ICON_FONT' => 'Font Icons', + 'ICON_INSERT_UPDATE' => 'Insert/Update', + 'ICON_MISC' => 'متفرقة', + 'ICON_MISC_BORDERED' => 'ممنوع', + 'ICON_MISC_FIXED_WIDTH' => 'عرض ثابت', + 'ICON_MISC_PULSE' => 'نبض', + 'ICON_MISC_SPINNING' => 'الدوران', + 'ICON_ROTATION' => 'دوران', + 'ICON_ROTATE_90' => '90°', + 'ICON_ROTATE_180' => '180°', + 'ICON_ROTATE_270' => '270°', + 'ICON_SIZE' => 'الحجم', + 'ICON_SIZE_LG' => 'أكبر', + 'ICON_SIZE_SM' => 'صغير', + 'ICON_SIZE_2X' => '2x', + 'ICON_SIZE_3X' => '3x', + 'ICON_SIZE_4X' => '4x', + 'ICON_SIZE_5X' => '5x', + + 'NO_ICON' => 'لا أيقونة', +)); diff --git a/language/ar/info_acp_menus.php b/language/ar/info_acp_menus.php new file mode 100644 index 000000000000..98f1cb86dcac --- /dev/null +++ b/language/ar/info_acp_menus.php @@ -0,0 +1,92 @@ + 'القائمة', + 'ACP_MENU_MANAGE' => 'إدارة القائمة', + 'ACP_MENU_MANAGE_EXPLAIN' => 'هنا يمكنك إنشاء وإدارة القوائم لموقعك', + 'ADD_BULK_MENU' => 'إضافة مجموعة عناصر القائمة', + 'ADD_BULK_MENU_EXPLAIN' => 'إضافة عناصر قائمة متعددة في وقت واحد.
- ضع كل عنصر على سطر منفصل
- استخدم مفتاح علامة التبويب لتمثيل العلاقات بين الوالد والطفل
- أدخل العنصر و عنوان URL مثل هذا: Home index.php', + 'ADD_MENU' => 'إضافة قائمة', + 'ADD_MENU_ITEM' => 'إضافة عنصر قائمة', + 'ADD_ITEM' => 'إضافة عنصر جديد', + 'AJAX_PROCESSING' => 'العمل', + + 'CHANGE_ME' => 'غيّر لي', + + 'DELETE_ITEM' => 'حذف العنصر', + 'DELETE_KIDS' => 'حذف الفرع', + 'DELETE_MENU' => 'حذف القائمة', + 'DELETE_MENU_CONFIRM' => 'هل أنت متأكد من أنك تريد حذف هذه القائمة؟
سيؤدي هذا إلى حذف القائمة وجميع عناصرها', + 'DELETE_MENU_ITEM' => 'حذف العنصر', + 'DELETE_MENU_ITEM_CONFIRM' => 'هل أنت متأكد من أنك تريد حذف عنصر القائمة هذا؟', + 'DELETE_SELECTED' => 'حذف المحدد', + + 'EDIT_ITEM' => 'تعديل العنصر', + + 'ITEM_ACTIVE' => 'نشط', + 'ITEM_INACTIVE' => 'غير نشط', + 'ITEM_PARENT' => 'الأصل', + 'ITEM_TITLE' => 'عنوان العنصر', + 'ITEM_TITLE_EXPLAIN' => 'تعيين كـ "للفارق', + 'ITEM_TARGET' => 'Item Target', + 'ITEM_URL' => 'رابط العنصر', + 'ITEM_URL_EXPLAIN' => '- اتركه فارغاً للعناوين
- المواقع الخارجية يجب أن تبدأ بـ http(s)://, ftp://, //, إلخ', + + 'MENU_ITEMS' => 'عناصر القائمة', + + 'NO_MENU_ITEMS' => 'لم يتم إنشاء أي عناصر قائمة', + 'NO_PARENT' => 'لا يوجد والد', + + 'PROCESSING_ERROR' => 'خطأ في المعالجة', + + 'REBUILD_TREE' => 'إعادة بناء الشجرة', + 'REQUIRED' => 'مطلوب', + 'REQUIRED_FIELDS' => '* الحقول المطلوبة', + + 'SAVE_CHANGES' => 'حفظ التغييرات', + 'SAVE' => 'حفظ', + 'SELECT_ALL' => 'حدد الكل', + + 'TARGET_BLANK' => 'صفحة فارغة', + 'TARGET_PARENT' => 'الأصل', + + 'UNSAVED_CHANGES' => 'لديك تغييرات غير محفوظة', + + 'VISIT_PAGE' => 'زيارة الصفحة', +)); diff --git a/language/ar/info_acp_settings.php b/language/ar/info_acp_settings.php new file mode 100644 index 000000000000..d25337b1a63c --- /dev/null +++ b/language/ar/info_acp_settings.php @@ -0,0 +1,74 @@ + 'SiteMaker', + 'ACP_SM_SETTINGS' => 'الإعدادات', + + 'BLOCKS_CLEANUP' => 'تنظيف الكتل', + 'BLOCKS_CLEANUP_EXPLAIN' => 'تم العثور على العناصر التالية لم تعد موجودة أو لا يمكن الوصول إليها، وبالتالي يمكنك حذف جميع الكتل المرتبطة بها. يرجى ألا يغيب عن البال أن البعض منها قد يكون إيجابياً زائفاً.', + 'BLOCKS_CLEANUP_BLOCKS' => 'كتل غير صالحة (على سبيل المثال من ملحقات غير مثبتة):', + 'BLOCKS_CLEANUP_ROUTES' => 'الصفحات التي لا يمكن الوصول إليها/المكسورة:', + 'BLOCKS_CLEANUP_STYLES' => 'أنماط غير مثبتة (معرفات):', + 'BLOCKS_CLEANUP_SUCCESS' => 'تم إزالة الكتل بنجاح', + + 'FORUM_INDEX_SETTINGS' => 'إعدادات فهرس المنتدى', + 'FORUM_INDEX_SETTINGS_EXPLAIN' => 'تنطبق هذه الإعدادات فقط عندما لا يكون هناك صفحة بدء محددة', + + 'HIDE' => 'إخفاء', + 'HIDE_BIRTHDAY' => 'إخفاء قسم يوم الميلاد', + 'HIDE_LOGIN' => 'إخفاء مربع تسجيل الدخول', + 'HIDE_ONLINE' => 'إخفاء القسم عبر الإنترنت', + + 'LAYOUT_BLOG' => 'المدونة', + 'LAYOUT_CUSTOM' => 'مخصص', + 'LAYOUT_HOLYGRAIL' => 'منظمة الكأس المقدسة', + 'LAYOUT_PORTAL' => 'البوابة', + 'LAYOUT_PORTAL_ALT' => 'البوابة (بديل)', + 'LAYOUT_SETTINGS' => 'إعدادات التخطيط', + + 'LOG_DELETED_BLOCKS_FOR_STYLE' => 'تم حذف كتل Sitemaker للنمط المفقود مع المعرف %s', + 'LOG_DELETED_BLOCKS_FOR_ROUTE' => 'تم حذف كتل صانع الموقع للصفحات المكسورة:
%s', + 'LOG_DELETED_BLOCKS' => 'تم حذف كتل صانع المواقع غير صالحة:
%s', + + 'NAVIGATION_SETTINGS' => 'إعدادات التنقل', + + 'SETTINGS_SAVED' => 'تم حفظ الإعدادات الخاصة بك', + 'SHOW' => 'إظهار', + 'SHOW_FORUM_NAV' => 'إظهار المنتدى في شريط التنقل؟', + 'SHOW_FORUM_NAV_EXPLAIN' => 'عندما يتم تعيين صفحة كصفحة بدء بدلاً من فهرس المنتدى، ينبغي أن نعرض "المنتدى" في شريط التنقل', + 'SHOW_FORUM_NAV_WITH_ICON' => 'نعم - مع أيقونة:', +]); diff --git a/language/ar/navbar_manager.php b/language/ar/navbar_manager.php new file mode 100644 index 000000000000..2e85ace51b8f --- /dev/null +++ b/language/ar/navbar_manager.php @@ -0,0 +1,79 @@ + 'العنصر النشط', + 'BORDER' => 'Border', + 'BORDER_COLOR' => 'لون الحدود', + 'BORDER_RADIUS' => 'نصف قطر الحدود', + 'BORDER_WIDTH' => 'Border Width', + 'BOTTOM' => 'أسفل', + 'BOTTOM_LEFT' => 'أسفل اليسار', + 'BOTTOM_RIGHT' => 'أسفل اليمين', + 'CAPITALIZE' => 'رسملة', + 'COLOR' => 'اللون', + 'DIVIDERS' => 'الأرباح', + 'END' => 'نهاية', + 'GRADIENT' => 'متدرج', + 'HEADERS' => 'الترويسات', + 'HOVER' => 'Hover', + 'LEFT' => 'اليسار', + 'LOWERCASE' => 'أقل حروف', + 'MARGIN' => 'هامش', + 'NAVBAR' => 'شريط التنقل', + 'NAVBAR_MENU' => 'Navbar menu', + 'NAVBAR_DROPDOWN' => 'منسدلة', + 'NAVBAR_LOCATION' => 'الموقع', + 'NAVBAR_LOCATION_OPTION' => 'الموقع #%s', + 'NAVBAR_TOP_MENU' => 'القائمة العليا', + 'NONE' => 'لا', + 'PADDING' => 'Padding', + 'RESPONSIVE_TOGGLE' => 'تبديل الاستجابة', + 'RESPONSIVE_TOGGLE_EXPLAIN' => 'قابل للعرض فقط على الشاشات الصغيرة (الجوال)', + 'RIGHT' => 'يمين', + 'SAVE' => 'حفظ', + 'SIZE' => 'الحجم', + 'START' => 'ابدأ', + 'TEXT' => 'نص', + 'TOP' => 'أعلى', + 'TOP_LEFT' => 'أعلى اليسار', + 'TOP_RIGHT' => 'أعلى اليمين', + 'TRANSFORM' => 'تحويل', + 'UPPERCASE' => 'الحروف', +)); diff --git a/language/ar/permissions_sitemaker.php b/language/ar/permissions_sitemaker.php new file mode 100644 index 000000000000..b53f0ba5ac5c --- /dev/null +++ b/language/ar/permissions_sitemaker.php @@ -0,0 +1,45 @@ + '[SiteMaker ] يمكن إدارة الإعدادات', + 'ACL_A_SM_MANAGE_BLOCKS' => '[SiteMaker ] يمكن إدارة الكتل', + 'ACL_A_SM_MANAGE_MENUS' => '[SiteMaker ] يمكن إدارة القوائم', +)); diff --git a/language/bg/block_manager.php b/language/bg/block_manager.php new file mode 100644 index 000000000000..9bd5cdd871d9 --- /dev/null +++ b/language/bg/block_manager.php @@ -0,0 +1,123 @@ + '*Drag and Drop blocks', + 'AJAX_ERROR' => 'Oops! There was an error processing your request. Please try again.', + 'AJAX_LOADING' => 'Loading...', + 'AJAX_PROCESSING' => 'Working...', + + 'BACKGROUND' => 'Background', + 'BLOCKS' => 'Blocks', + 'BLOCKS_COPY_FROM' => 'Copy Blocks', + 'BLOCK_ACTIVE' => 'Active', + 'BLOCK_CHILD_ROUTES_ONLY' => 'Show on child routes only', + 'BLOCK_CHILD_ROUTES_HIDE' => 'Hide on child routes', + 'BLOCK_CLASS' => 'CSS Class', + 'BLOCK_CLASS_EXPLAIN' => 'Modify block appearance with CSS classes', + 'BLOCK_DESIGN' => 'Appearance', + 'BLOCK_DISPLAY_TYPE' => 'Display', + 'BLOCK_HIDE_TITLE' => 'Hide block title?', + 'BLOCK_INACTIVE' => 'Inactive', + 'BLOCK_MISSING_TEMPLATE' => 'Missing required block template. Please contact developer', + 'BLOCK_NOT_FOUND' => 'Oops! The requested block service was not found', + 'BLOCK_NO_DATA' => 'No data to display', + 'BLOCK_NO_ID' => 'Oops! Missing block id', + 'BLOCK_PERMISSION' => 'Permission', + 'BLOCK_PERMISSION_ALLOW' => 'Show to', + 'BLOCK_PERMISSION_DENY' => 'Hide from', + 'BLOCK_PERMISSION_EXPLAIN' => 'Use CTRL + click to toggle selection', + 'BLOCK_SHOW_ALWAYS' => 'Always', + 'BLOCK_STATUS' => 'Status', + 'BLOCK_UPDATED' => 'Block settings successfully updated', + + 'CANCEL' => 'Cancel', + 'CHILD_ROUTE' => 'Child', + 'CHILD_ROUTE_EXPLAIN' => '/viewforum.php, /dir/index.php
/viewtopic.php?f=2&t=1
/articles/my-article', + 'CLEAR' => 'Clear', + 'COPY' => 'Copy', + 'COPY_BLOCKS' => 'Copy Blocks?', + 'COPY_BLOCKS_CONFIRM' => 'Are you sure that you’d like to copy blocks from another page?

This will delete all existing blocks and their settings for this page and replace them with the blocks from the selected page.', + + 'DEFAULT_LAYOUT_EXPLAIN' => 'If set, all site pages for which you have not specified blocks will inherit the blocks from the default layout. You may, however, override the default layout for particular pages using the options to the right.', + 'DELETE' => 'Delete', + 'DELETE_ALL_BLOCKS' => 'Delete All Blocks', + 'DELETE_ALL_BLOCKS_CONFIRM' => 'Are you sure that you’d like to delete all blocks for this page?', + 'DELETE_BLOCK' => 'Delete Block', + 'DELETE_BLOCK_CONFIRM' => 'Are you sure you want to delete this block?


Note: You will have to save the layout changes to make this permanent.', + + 'EDIT' => 'Edit', + 'EDIT_BLOCK' => 'Edit Block', + 'EXIT_EDIT_MODE' => 'Exit Edit Mode', + + 'FEED_PROBLEMS' => 'There was a problem processing the provided rss/atom feed(s)', + 'FEED_URL_MISSING' => 'Please provide at least one rss/atom feed to begin', + 'FIELD_INVALID' => 'The provided value for the field “%s” has an invalid format', + 'FIELD_REQUIRED' => '“%s” is a required field', + 'FIELD_TOO_LONG' => 'The provided value for the field “%1$s” is too long. The maximum acceptable value is %2$d.', + 'FIELD_TOO_SHORT' => 'The provided value for the field “%1$s” is too short. The minimum acceptable value is %2$d.', + + 'HIDE_ALL_BLOCKS' => 'Do not show blocks on this page', + 'HIDE_BLOCK_POSITIONS' => 'Do not show blocks for the following block positions:', + + 'IMAGES' => 'Images', + + 'LAYOUT' => 'Layout', + 'LAYOUT_SAVED' => 'Layout successfully saved!', + 'LAYOUT_SETTINGS' => 'Layout Settings', + 'LEAVE_CONFIRM' => 'You have some unsaved changes to this page. Please save your work before moving on', + 'LISTS' => 'Lists', + + 'MAKE_DEFAULT_LAYOUT' => 'Set As Default Layout', + + 'OR' => 'OR', + + 'PARENT_ROUTE' => 'Parent', + 'PARENT_ROUTE_EXPLAIN' => '/index.php
/viewforum.php?f=2
/articles', + 'PREDEFINED_CLASSES' => 'Predefined classes', + + 'REDO' => 'Redo', + 'REMOVE_DEFAULT_LAYOUT' => 'Remove As Default Layout', + 'REMOVE_STARTPAGE' => 'Remove Start Page', + 'ROUTE_HIDDEN_BLOCKS' => 'Blocks are being hidden for this page', + 'ROUTE_HIDDEN_POSITIONS' => 'Blocks are being hidden for the following positions', + 'ROUTE_UPDATED' => 'Page settings successfully updated', + + 'SAVE_CHANGES' => 'Save Changes', + 'SAVE_SETTINGS' => 'Save Settings', + 'SELECT_ICON' => 'Select an Icon', + 'SETTINGS' => 'Settings', + 'SETTING_TOO_BIG' => 'The provided value for the setting “%1$s” is too high. The maximum acceptable value is %2$d.', + 'SETTING_TOO_LONG' => 'The provided value for the setting “%1$s” is too long. The maximum acceptable length is %2$d.', + 'SETTING_TOO_LOW' => 'The provided value for the setting “%1$s” is too low. The minimum acceptable value is %2$d.', + 'SETTING_TOO_SHORT' => 'The provided value for the setting “%1$s” is too short. The minimum acceptable length is %2$d.', + 'SET_STARTPAGE' => 'Set As Start Page', + + 'TITLES' => 'Titles', + + 'UPDATE_SIMILAR' => 'Update blocks with similar settings', + 'UNDO' => 'Undo', + + 'VIEW_DEFAULT_LAYOUT' => 'View/Edit Default Layout', + 'VISIT_PAGE' => 'Visit Page', +)); diff --git a/language/bg/blocks_admin.php b/language/bg/blocks_admin.php new file mode 100644 index 000000000000..3a3288691381 --- /dev/null +++ b/language/bg/blocks_admin.php @@ -0,0 +1,189 @@ + 'All Types', + 'ALL_GROUPS' => 'All Groups', + 'ARCHIVES' => 'Archives', + 'AUTO_LOGIN' => 'Allow auto login?', + 'FILE_MANAGER' => 'File Manager', + 'TOPIC_POST_IDS' => 'From Topic/Post Ids', + 'TOPIC_POST_IDS_EXPLAIN' => 'Id(s) of topics/posts to retrieve attachments from, separated by commas(,). Specify if this list is for topic or post ids above.', + 'TOPIC_POST_IDS_TYPE' => 'Type of IDs (below)', + + // Blocks + 'BLITZE_SITEMAKER_BLOCK_ATTACHMENTS' => 'Attachments', + 'BLITZE_SITEMAKER_BLOCK_BIRTHDAY' => 'Birthday', + 'BLITZE_SITEMAKER_BLOCK_CUSTOM' => 'Custom Block', + 'BLITZE_SITEMAKER_BLOCK_FEATURED_MEMBER' => 'Featured Member', + 'BLITZE_SITEMAKER_BLOCK_FEEDS' => 'RSS/Atom Feeds', + 'BLITZE_SITEMAKER_BLOCK_FORUM_POLL' => 'Forum Poll', + 'BLITZE_SITEMAKER_BLOCK_FORUM_TOPICS' => 'Forum Topics', + 'BLITZE_SITEMAKER_BLOCK_GOOGLE_MAPS' => 'Google Maps', + 'BLITZE_SITEMAKER_BLOCK_POPULAR_TOPICS' => 'Popular Topics', + 'BLITZE_SITEMAKER_BLOCK_LINKS' => 'Links', + 'BLITZE_SITEMAKER_BLOCK_LOGIN' => 'Login Box', + 'BLITZE_SITEMAKER_BLOCK_MEMBERS' => 'Members', + 'BLITZE_SITEMAKER_BLOCK_MEMBER_MENU' => 'Member Menu', + 'BLITZE_SITEMAKER_BLOCK_MENU' => 'Menu', + 'BLITZE_SITEMAKER_BLOCK_MYBOOKMARKS' => 'My Bookmarks', + 'BLITZE_SITEMAKER_BLOCK_RECENT_TOPICS' => 'Recent Topics', + 'BLITZE_SITEMAKER_BLOCK_STATS' => 'Statistics', + 'BLITZE_SITEMAKER_BLOCK_STYLE_SWITCHER' => 'Style Switcher', + 'BLITZE_SITEMAKER_BLOCK_WHATS_NEW' => 'What’s New?', + 'BLITZE_SITEMAKER_BLOCK_WHOIS' => 'Who is online', + 'BLITZE_SITEMAKER_BLOCK_WORDGRAPH' => 'Wordgraph', + + // block views + 'BLOCK_VIEW' => 'Block View', + 'BLOCK_VIEW_BASIC' => 'Basic', + 'BLOCK_VIEW_BOXED' => 'Boxed', + 'BLOCK_VIEW_DEFAULT' => 'Default', + 'BLOCK_VIEW_SIMPLE' => 'Simple', + + 'CACHE_DURATION' => 'Cache duration', + 'CONTEXT' => 'Context', + 'CSS_SCRIPTS' => 'CSS Scripts', + 'CUSTOM_PROFILE_FIELDS' => 'Custom Profile Fields', + + 'DATE_RANGE' => 'Date Range', + 'DISPLAY_PREVIEW' => 'Display Preview?', + + 'EDIT_ME' => 'Please edit me', + 'ENABLE_TOPIC_TRACKING' => 'Enable topic tracking?', + 'ENABLE_TOPIC_TRACKING_EXPLAIN' => 'If enabled, unread topics will be indicated but the block results will not be cached (Not recommended)', + 'EXCLUDE_TOO_MANY_WORDS' => 'You have entered too many words to exclude. The maximum number of characters possible is 255, you have entered %s.', + 'EXCLUDE_WORDS' => 'Exclude words', + 'EXCLUDE_WORDS_EXPLAIN' => 'List the words you’d like to exclude from the wordgraph separated by a comma (,). Maximum 255 characters.', + 'EXPANDED' => 'Expanded', + 'EXTENSION_GROUP' => 'Extension Group', + + 'FEATURED_MEMBER_IDS' => 'User IDs', + 'FEATURED_MEMBER_IDS_EXPLAIN' => 'Comma separated list of users to feature (Only applies to Featured Member display mode)', + 'FEED_DATA_PREVIEW' => 'Feed Data', + 'FEED_ITEM_TEMPLATE' => 'Item Template', + 'FEED_ITEM_TEMPLATE_EXPLAIN' => 'TIPS:
+
    +
  • Access feed data in item variable e.g. item.title
  • +
  • Template must be in Twig syntax
  • +
  • Click Samples above for sample templates
  • +
  • Use get_item_tags($namespace, $tag) to get any tag from the feed that we do not provide e.g.
    {{ get_item_tags(\'\', \'image\') }}
  • +
  • Use Twig’s json_encode filter to see contents of array e.g. {{ get_item_tags(\'\', \'image\')|json_encode() }}
  • +
', + 'FEED_PREVIEW_SOURCE' => 'Source', + 'FEED_URL_PLACEHOLDER' => 'http://example.com/rss', + 'FEED_URLS' => 'Feed URLs', + 'FIRST_POST_ONLY' => 'First Post Only', + 'FIRST_POST_TIME' => 'First Post Time', + 'FORUMS_GET_TYPE' => 'Get type', + 'FORUMS_MAX_TOPICS' => 'Maximum topics/posts', + 'FORUMS_TITLE_MAX_CHARS' => 'Maximum characters per title', + 'FREQUENCY' => 'Frequency', + 'FULL' => 'Full', + 'FULLSCREEN' => 'Fullscreen', + + 'GET_TYPE' => 'Display Topic/Post?', + + 'HTML' => 'HTML', + 'HTML_EXPLAIN' => 'Use this textarea to enter raw HTML content.
Please note that any content posted here will override the custom block content and the visual block editor will not be available.', + 'HOURS_SHORT' => 'hrs', + + 'JS_SCRIPTS' => 'JS Scripts', + + 'LAST_POST_TIME' => 'Last Post Time', + 'LAST_READ_TIME' => 'Last Read Time', + 'LIMIT' => 'Limit', + 'LIMIT_FORUMS' => 'Forum Ids (optional)', + 'LIMIT_FORUMS_EXPLAIN' => 'Enter each forum id separated by a comma (,). If set, only topics from specified forums will be displayed.', + 'LIMIT_POST_TIME' => 'Limit by Post time', + 'LIMIT_POST_TIME_EXPLAIN' => 'If set, only topics posted within the specified period will be retrieved', + + 'MAX_DEPTH' => 'Maximum depth', + 'MAX_ITEMS' => 'Maximum number of items', + 'MAX_MEMBERS' => 'Max. Members', + 'MAX_POSTS' => 'Maximum number of posts', + 'MAX_TOPICS' => 'Maximum number of topics', + 'MAX_WORDS' => 'Maximum number of words', + 'MANAGE_MENUS' => 'Manage Menus', + 'MAP_COORDINATES' => 'Coordinates', + 'MAP_COORDINATES_EXPLAIN' => 'Enter coordinates in the form latitude,longitude', + 'MAP_HEIGHT' => 'Height', + 'MAP_LOCATION' => 'Location', + 'MAP_TITLE' => 'Title', + 'MAP_VIEW' => 'View', + 'MAP_VIEW_HYBRID' => 'Hybrid', + 'MAP_VIEW_MAP' => 'Map', + 'MAP_VIEW_SATELITE' => 'Satelite', + 'MAP_VIEW_TERRAIN' => 'Terrain', + 'MAP_ZOOM_LEVEL' => 'Zoom Level', + 'MEMBERS_DATE' => 'Date', + 'MENU_NO_ITEMS' => 'No active items to display', + 'MINI' => 'Mini', + + 'OR' => 'OR', + 'ORDER_BY' => 'Order by', + + 'POLL_FROM_FORUMS' => 'Display polls from forums(s)', + 'POLL_FROM_FORUMS_EXPLAIN' => 'Only polls from the selected forums will be displayed as long as no topics are specified above', + 'POLL_FROM_GROUPS' => 'Display polls from groups(s)', + 'POLL_FROM_GROUPS_EXPLAIN' => 'Only polls from members of the selected groups will be displayed as long as no user(s) is/are specified above', + 'POLL_FROM_TOPICS' => 'Display polls from topic(s)', + 'POLL_FROM_TOPICS_EXPLAIN' => 'Id(s) of topics to retrieve polls from, separated by commas(,). Leave blank to select any topic.', + 'POLL_FROM_USERS' => 'Display polls from user(s)', + 'POLL_FROM_USERS_EXPLAIN' => 'Id(s) of user(s) whose polls you’d like to display, separated by commas(,). Leave blank to select polls from any user.', + 'POSTS_TITLE_LIMIT' => 'Maximum # of characters for post title', + 'PREVIEW_MAX_CHARS' => 'Number of characters to preview', + + 'QUERY_TYPE' => 'Display Mode', + + 'ROTATE_DAILY' => 'Daily', + 'ROTATE_HOURLY' => 'Hourly', + 'ROTATE_MONTHLY' => 'Monthly', + 'ROTATE_PAGELOAD' => 'Page load', + 'ROTATE_WEEKLY' => 'Weekly', + + 'SAMPLES' => 'Samples', + 'SCRIPTS' => 'Scripts', + 'SELECT_FORUMS' => 'Select forums', + 'SELECT_FORUMS_EXPLAIN' => 'Select the forums from which to display topics/posts. Leave blank to select from all forums', + 'SELECT_MENU' => 'Select Menu', + 'SELECT_PROFILE_FIELDS' => 'Select profile fields', + 'SELECT_PROFILE_FIELDS_EXPLAIN' => 'Only the selected profile fields will be displayed, if available.', + 'SHOW_FIRST_POST' => 'First Post', + 'SHOW_HIDE_ME' => 'Allow hide online status?', + 'SHOW_LAST_POST' => 'Last Post', + 'SHOW_MEMBER_MENU' => 'Show user menu?', + 'SHOW_MEMBER_MENU_EXPLAIN' => 'Replace login box with user menu if user is logged in', + 'SHOW_WORD_COUNT' => 'Show word count?', + + 'TEMPLATE' => 'Template', + 'TOPIC_TITLE_LIMIT' => 'Maximum # of characters for topic title', + 'TOPIC_TYPE' => 'Topic Type', + 'TOPIC_TYPE_EXPLAIN' => 'Select the topic types you’d like to display. Leave the boxes unchecked to select from all topic types', + 'TOPICS_LOOK_BACK' => 'Look back', + 'TOPICS_ONLY' => 'Topics only?', + 'TOPICS_PER_PAGE' => 'Per page', + + 'WORD_MAX_SIZE' => 'Maximum font size', + 'WORD_MIN_SIZE' => 'Minimum font size', +)); diff --git a/language/bg/common.php b/language/bg/common.php new file mode 100644 index 000000000000..ba8fbbe28ce8 --- /dev/null +++ b/language/bg/common.php @@ -0,0 +1,97 @@ + 'All Time', + + 'BLOCK_TITLE' => 'Block Title', + + 'CHANGE_ME' => 'Change Me', + + 'DAILY_MEMBER' => 'Member of the day', + + 'FEATURED_MEMBER' => 'Featured Member', + 'FEATURED_MEMBERLIST' => 'Featured members list', + 'FEEDS' => 'Feeds', + 'FORUM_ANNOUNCEMENTS' => 'Forum Announcements', + 'FORUM_GLOBAL_ANNOUNCEMENTS' => 'Global Forum Announcements', + 'FORUM_RECENT_POSTS' => 'Recent Forum Posts', + 'FORUM_RECENT_TOPICS' => 'Recent Forum Topics', + 'FORUM_STICKY_POSTS' => 'Recent Sticky Posts', + + 'HELP' => 'Help', + 'HOURLY_MEMBER' => 'Member of the hour', + + 'GOOGLE_MAP' => 'Google Map', + + 'JOIN_DATE' => 'Join Date', + + 'LAST_POST_BY_AUTHOR' => 'Last post by', + 'LAST_VISITED' => 'Last Visited', + 'LINKS' => 'Links', + + 'MCP_SITEMAKER_CONTENT' => 'Contents', + 'MEMBERS_DATE' => 'Date', + 'MENU' => 'Menu', + 'MONTHLY_MEMBER' => 'Member of the month', + 'MOST_TENURED' => 'Most Tenured', + 'MY_BOOKMARKS' => 'My Bookmarks', + + 'NO_BOOKMARKED_TOPICS' => 'You have not bookmarked any topics', + 'NO_NEW_TOPICS' => 'There are no new topics to display', + + 'POLL' => 'Poll', + 'POPULAR_TOPICS' => 'Popular Topics', + 'POSTS_MEMBER' => 'Top Poster', + 'PROCESSING' => 'processing...', + + 'QTYPE_POSTS' => 'Congratulations to:', + 'QTYPE_RECENT' => 'Please welcome our newest member:', + + 'RECENT_BOTS' => 'Recent Search Engines', + 'RECENT_MEMBER' => 'Recent Member', + 'RECENT_MEMBERS' => 'Recent Members', + + 'SESSION_HIDE_ME' => 'Hide Me', + 'SM_NAVIGATION' => 'Navigation', + 'SM_TOGGLE_DROPDOWN' => 'Toggle dropdown', + 'STYLE_SWITCHER' => 'Style Switcher', + + 'THIS_MONTH' => 'This Month', + 'THIS_WEEK' => 'This Week', + 'THIS_YEAR' => 'This Year', + 'TODAY' => 'Today', + 'TOPICS_LAST_READ' => 'Last Read Topics', + 'TOPIC_LAST_READ' => 'Last read %s', + 'TOP_POSTERS' => 'Top Posters', + + 'UCP_SITEMAKER_CONTENT' => 'My Stuff', + + 'VIEW_DETAILS' => 'View Details', + 'VIEW_USER_PROFILE' => 'All about %s', + + 'WEEKLY_MEMBER' => 'Member of the week', + 'WELCOME' => 'Welcome', + 'WHATS_NEW' => 'What’s New?', + 'WORDGRAPH' => 'Wordgraph', +)); diff --git a/language/bg/css_presets.php b/language/bg/css_presets.php new file mode 100644 index 000000000000..31b5df933209 --- /dev/null +++ b/language/bg/css_presets.php @@ -0,0 +1,107 @@ + 'Arrow list marker', + 'LIST_CIRCLE' => 'Circle list marker', + 'LIST_DISC' => 'Bullet list marker', + 'LIST_SQUARE' => 'Square list marker', + 'LIST_NUMBERED' => 'Numbered list', + 'LIST_NUMBERED_ALPHABET' => 'Numbered with alphabet', + 'LIST_NUMBERED_NESTED' => 'Numbered with subsections', + 'LIST_NUMBERED_ROMAN' => 'Numbered with Roman numerals', + 'LIST_NUMBERED_ZERO' => 'Numbered with leading zero', + 'LIST_INLINE' => 'Inline list', + 'LIST_INLINE_SEP' => 'Comma-separated list', + 'LIST_REVERSE' => 'Reverse order', + 'LIST_STRIPED' => 'Striped list', + 'LIST_STACKED' => 'Stacked list', + 'LIST_TRIANGLE' => 'Triangle', + 'LIST_HYPHEN' => 'Hyphen', + 'LIST_PLUS' => 'Plus', + 'LIST_SPADE' => 'Spade', + 'LIST_CLUB' => 'Club', + 'LIST_DIAMOND' => 'Diamond', + 'LIST_HEART' => 'Heart', + 'LIST_STAR' => 'Star', + 'LIST_CHECK' => 'Check', + 'LIST_SNOWFLAKE' => 'Snowflake', + 'LIST_MUSIC' => 'Music', + 'LIST_AUTOWIDTH' => 'Auto width', + 'LIST_FIT_CONTENT' => 'Fit content', + 'LIST_2COLS' => '2 column list', + 'LIST_3COLS' => '3 columns list', + 'LIST_4COLS' => '4 columns list', + 'LIST_5COLS' => '5 columns list', + 'LIST_X_DIVIDER_DOTTED' => 'Horizontal dotted divider', + 'LIST_X_DIVIDER_LINE' => 'Horizontal line divider', + 'LIST_Y_DIVIDER_DOTTED' => 'Vertical dotted divider', + 'LIST_Y_DIVIDER_LINE' => 'Vertical line divider', + + 'IMAGE_SMALL' => 'Small image', + 'IMAGE_MEDIUM' => 'Medium image', + 'IMAGE_LARGE' => 'Large image', + 'IMAGE_FULL_WIDTH' => 'Full width image', + 'IMAGE_ALIGN_LEFT' => 'Float image left', + 'IMAGE_ALIGN_RIGHT' => 'Float image right', + 'IMAGE_CIRCLE' => 'Circular image', + 'IMAGE_ROUNDED' => 'Rounded image', + 'IMAGE_BORDER' => 'Bordered image', + 'IMAGE_BORDER_PADDING' => 'Image border padding', + 'IMAGE_RATIO_SQUARE' => 'Square Image', + 'IMAGE_RATIO_4_BY_3' => '4 by 3 image', + 'IMAGE_RATIO_16_BY_9' => '16 by 9 image', + + 'RESPONSIVE_SHOW' => 'Show only on small devices', + 'RESPONSIVE_HIDE' => 'Hide on small devices', + + 'ALIGN_LEFT' => 'Left-aligned text', + 'ALIGN_CENTER' => 'Centered text', + 'ALIGN_RIGHT' => 'Right-aligned text', + 'NO_PADDING' => 'No padding', + 'LABEL' => 'Label', + 'BADGE' => 'Badge', + 'PRIMARY_COLOR' => 'Primary color', + 'SECONDARY_COLOR' => 'Secondary color', + 'GRAYSCALE_COLOR' => 'Grayscale', + 'INFO_COLOR' => 'Info', + 'SUCCESS_COLOR' => 'Success', + 'WARNING_COLOR' => 'Warning', + 'DANGER_COLOR' => 'Danger', +)); diff --git a/language/bg/exceptions.php b/language/bg/exceptions.php new file mode 100644 index 000000000000..6a3da47f86f6 --- /dev/null +++ b/language/bg/exceptions.php @@ -0,0 +1,49 @@ + 'Required field missing', + 'EXCEPTION_INVALID_ACTION' => 'The action does not exist', + 'EXCEPTION_INVALID_ARGUMENT' => 'Invalid argument specified for `%1$s`. Reason: %2$s', + 'EXCEPTION_INVALID_DATA_TYPE' => 'The provided value is of an unexpected data type', + 'EXCEPTION_INVALID_ENTITY' => 'The provided entity is of an unexpected entity class', + 'EXCEPTION_INVALID_PROPERTY' => 'The requested property does not exist', + 'EXCEPTION_OUT_OF_BOUNDS' => 'The requested `%1$s` does not exist', + 'EXCEPTION_SERVICE_NOT_FOUND' => 'The requested service was not found', + 'EXCEPTION_UNEXPECTED_VALUE' => 'The requested action `%1$s` could not be performed. Reason: %2$s', +)); diff --git a/language/bg/ext.php b/language/bg/ext.php new file mode 100644 index 000000000000..c3fe9daa0021 --- /dev/null +++ b/language/bg/ext.php @@ -0,0 +1,42 @@ + 'The phpBB Image directory is not writable. Please change the permissions to writable by all (777 or -rwxrwxrwx within your FTP Client)', + 'PHPBB_VERSION_UNMET' => 'This extension requires at least phpBB %s', +)); diff --git a/language/bg/feed_fields.php b/language/bg/feed_fields.php new file mode 100644 index 000000000000..87f21fdfef60 --- /dev/null +++ b/language/bg/feed_fields.php @@ -0,0 +1,108 @@ + 'author', + 'AUTHORS' => 'authors (array)', + 'BITRATE' => 'bitrate', + 'CAPTIONS' => 'captions', + 'CATEGORIES' => 'categories (array)', + 'CATEGORY' => 'category', + 'CHANNELS' => 'channels', + 'CONTENT' => 'content', + 'CONTRIBUTOR' => 'contributor', + 'CONTRIBUTORS' => 'contributors (array)', + 'COPYRIGHT' => 'copyright', + 'CREDITS' => 'credits', + 'DATE' => 'date', + 'DESCRIPTION' => 'description', + 'DURATION' => 'duration', + 'ENCLOSURE' => 'enclosure', + 'ENCLOSURES' => 'enclosures (array)', + 'EXPRESSION' => 'expression', + 'FEED' => 'feed', + 'FRAMERATE' => 'framerate', + 'GMDATE' => 'GM date', + 'HANDLER' => 'handler', + 'HASHES' => 'hashes', + 'HEIGHT' => 'height', + 'ID' => 'id', + 'IMAGE_HEIGHT' => 'image height', + 'IMAGE_LINK' => 'image link', + 'IMAGE_TITLE' => 'image title', + 'IMAGE_URL' => 'image url', + 'IMAGE_WIDTH' => 'image width', + 'ITEMS' => 'items', + 'JAVASCRIPT' => 'javascript', + 'KEYWORDS' => 'keywords', + 'LABEL' => 'label', + 'LANG' => 'lang', + 'LATITUDE' => 'latitude', + 'LENGTH' => 'length', + 'LINK' => 'link', + 'LINKS' => 'links', + 'LONGITUDE' => 'longitude', + 'MEDIUM' => 'medium', + 'NAME' => 'name', + 'PERMALINK' => 'permalink', + 'PLAYER' => 'player', + 'RATINGS' => 'ratings', + 'RELATIONSHIP' => 'relationship', + 'RESTRICTIONS' => 'restrictions (array)', + 'SAMPLINGRATE' => 'sampling rate', + 'SCHEME' => 'scheme', + 'SOURCE' => 'source', + 'TERM' => 'term', + 'THUMBNAILS' => 'thumbnails', + 'TITLE' => 'title', + 'TYPE' => 'type', + 'UPDATED_DATE' => 'updated date', + 'UPDATED_GMDATE' => 'updated GM date', + 'VALUE' => 'value', + 'WIDTH' => 'width', +)); diff --git a/language/bg/icons.php b/language/bg/icons.php new file mode 100644 index 000000000000..1c6f04ce18b0 --- /dev/null +++ b/language/bg/icons.php @@ -0,0 +1,71 @@ + 'Accessibility', + 'ICON_ARROWS' => 'Arrows', + 'ICON_BRAND' => 'Brand', + 'ICON_CHART' => 'Chart', + 'ICON_CURRENCY' => 'Currency', + 'ICON_DIRECTIONAL' => 'Directional', + 'ICON_FILE_TYPE' => 'File Type', + 'ICON_FORM_CONTROL' => 'Form Control', + 'ICON_GENDER' => 'Gender', + 'ICON_HAND' => 'Hand', + 'ICON_MEDICAL' => 'Medical', + 'ICON_PAYMENT' => 'Payment', + 'ICON_SPINNER' => 'Spinner', + 'ICON_TEXT_EDITOR' => 'Text Editor', + 'ICON_TRANSPORTATION' => 'Transportation', + 'ICON_VIDEO_PLAYER' => 'Video Player', + 'ICON_WEB_APPLICATION' => 'Web Application', + + 'ICON_COLOR' => 'Color', + 'ICON_DEFAULT' => 'Default', + 'ICON_FLIP_BOTH' => 'Flip Both', + 'ICON_FLIP_HORIZONTAL' => 'Flip Horizontal', + 'ICON_FLIP_VERTICAL' => 'Flip Vertical', + 'ICON_FLOAT' => 'Float', + 'ICON_FLOAT_LEFT' => 'Left', + 'ICON_FLOAT_RIGHT' => 'Right', + 'ICON_FONT' => 'Font Icons', + 'ICON_INSERT_UPDATE' => 'Insert/Update', + 'ICON_MISC' => 'Misc', + 'ICON_MISC_BORDERED' => 'Bordered', + 'ICON_MISC_FIXED_WIDTH' => 'Fixed Width', + 'ICON_MISC_PULSE' => 'Pulse', + 'ICON_MISC_SPINNING' => 'Spinning', + 'ICON_ROTATION' => 'Rotation', + 'ICON_ROTATE_90' => '90°', + 'ICON_ROTATE_180' => '180°', + 'ICON_ROTATE_270' => '270°', + 'ICON_SIZE' => 'Size', + 'ICON_SIZE_LG' => 'Larger', + 'ICON_SIZE_SM' => 'Small', + 'ICON_SIZE_2X' => '2x', + 'ICON_SIZE_3X' => '3x', + 'ICON_SIZE_4X' => '4x', + 'ICON_SIZE_5X' => '5x', + + 'NO_ICON' => 'No Icon', +)); diff --git a/language/bg/info_acp_menus.php b/language/bg/info_acp_menus.php new file mode 100644 index 000000000000..a06f50a4c63b --- /dev/null +++ b/language/bg/info_acp_menus.php @@ -0,0 +1,92 @@ + 'Menu', + 'ACP_MENU_MANAGE' => 'Menu Management', + 'ACP_MENU_MANAGE_EXPLAIN' => 'Here you can create and manage menus for your site', + 'ADD_BULK_MENU' => 'Bulk Add Menu Items', + 'ADD_BULK_MENU_EXPLAIN' => 'Add multiple menu items at once.
- Place each item on a separate line
- Use the Tab key to indent items to represent parent-child relationships
- Enter item and URL like so: Home|index.php', + 'ADD_MENU' => 'Add Menu', + 'ADD_MENU_ITEM' => 'Add Menu Item', + 'ADD_ITEM' => 'Add New Item', + 'AJAX_PROCESSING' => 'Working', + + 'CHANGE_ME' => 'Change Me', + + 'DELETE_ITEM' => 'Delete Item', + 'DELETE_KIDS' => 'Delete Branch', + 'DELETE_MENU' => 'Delete Menu', + 'DELETE_MENU_CONFIRM' => 'Are you sure you want to delete this menu?
This will delete the menu and all its items', + 'DELETE_MENU_ITEM' => 'Delete Item', + 'DELETE_MENU_ITEM_CONFIRM' => 'Are you sure you want to delete this menu item?', + 'DELETE_SELECTED' => 'Delete Selected', + + 'EDIT_ITEM' => 'Edit Item', + + 'ITEM_ACTIVE' => 'Active', + 'ITEM_INACTIVE' => 'Inactive', + 'ITEM_PARENT' => 'Parent', + 'ITEM_TITLE' => 'Item Title', + 'ITEM_TITLE_EXPLAIN' => 'Set as ’-’ for divider', + 'ITEM_TARGET' => 'Item Target', + 'ITEM_URL' => 'Item URL', + 'ITEM_URL_EXPLAIN' => '- Leave empty for headings
- External sites must begin with http(s)://, ftp://, //, etc', + + 'MENU_ITEMS' => 'Menu Items', + + 'NO_MENU_ITEMS' => 'No menu items have been created', + 'NO_PARENT' => 'No Parent', + + 'PROCESSING_ERROR' => 'Processing error', + + 'REBUILD_TREE' => 'Rebuild Tree', + 'REQUIRED' => 'Required', + 'REQUIRED_FIELDS' => '* Required fields', + + 'SAVE_CHANGES' => 'Save Changes', + 'SAVE' => 'Save', + 'SELECT_ALL' => 'Select All', + + 'TARGET_BLANK' => 'Blank Page', + 'TARGET_PARENT' => 'Parent', + + 'UNSAVED_CHANGES' => 'You have unsaved changes', + + 'VISIT_PAGE' => 'Visit Page', +)); diff --git a/language/bg/info_acp_settings.php b/language/bg/info_acp_settings.php new file mode 100644 index 000000000000..5e704a037343 --- /dev/null +++ b/language/bg/info_acp_settings.php @@ -0,0 +1,74 @@ + 'SiteMaker', + 'ACP_SM_SETTINGS' => 'Settings', + + 'BLOCKS_CLEANUP' => 'Blocks Cleanup', + 'BLOCKS_CLEANUP_EXPLAIN' => 'The following items were found to no longer exist or unreachable, and you can therefore delete all blocks associated to them. Please keep in mind that some of these may be false positives', + 'BLOCKS_CLEANUP_BLOCKS' => 'Invalid Blocks (e.g. from uninstalled extensions):', + 'BLOCKS_CLEANUP_ROUTES' => 'Unreachable/broken Pages:', + 'BLOCKS_CLEANUP_STYLES' => 'Uninstalled Styles (ids):', + 'BLOCKS_CLEANUP_SUCCESS' => 'Blocks purged sucessfully', + + 'FORUM_INDEX_SETTINGS' => 'Forum Index Settings', + 'FORUM_INDEX_SETTINGS_EXPLAIN' => 'These settings only apply when there is no startpage defined', + + 'HIDE' => 'Hide', + 'HIDE_BIRTHDAY' => 'Hide Birthday section', + 'HIDE_LOGIN' => 'Hide login box', + 'HIDE_ONLINE' => 'Hide Whos online section', + + 'LAYOUT_BLOG' => 'Blog', + 'LAYOUT_CUSTOM' => 'Custom', + 'LAYOUT_HOLYGRAIL' => 'Holy Grail', + 'LAYOUT_PORTAL' => 'Portal', + 'LAYOUT_PORTAL_ALT' => 'Portal (alt)', + 'LAYOUT_SETTINGS' => 'Layout Settings', + + 'LOG_DELETED_BLOCKS_FOR_STYLE' => 'Sitemaker blocks deleted for missing style with id %s', + 'LOG_DELETED_BLOCKS_FOR_ROUTE' => 'Sitemaker blocks deleted for broken pages:
%s', + 'LOG_DELETED_BLOCKS' => 'Invalid Sitemaker blocks deleted:
%s', + + 'NAVIGATION_SETTINGS' => 'Navigation Settings', + + 'SETTINGS_SAVED' => 'Your settings have been saved', + 'SHOW' => 'Show', + 'SHOW_FORUM_NAV' => 'Show ’Forum’ in navigation bar?', + 'SHOW_FORUM_NAV_EXPLAIN' => 'When a page is set as startpage instead of the forum index, should we display ’Forum’ in navigation bar', + 'SHOW_FORUM_NAV_WITH_ICON' => 'Yes - with icon:', +]); diff --git a/language/bg/navbar_manager.php b/language/bg/navbar_manager.php new file mode 100644 index 000000000000..89f54431871f --- /dev/null +++ b/language/bg/navbar_manager.php @@ -0,0 +1,79 @@ + 'Active Element', + 'BORDER' => 'Border', + 'BORDER_COLOR' => 'Border Color', + 'BORDER_RADIUS' => 'Border Radius', + 'BORDER_WIDTH' => 'Border Width', + 'BOTTOM' => 'Bottom', + 'BOTTOM_LEFT' => 'Bottom Left', + 'BOTTOM_RIGHT' => 'Bottom Right', + 'CAPITALIZE' => 'Capitalize', + 'COLOR' => 'Color', + 'DIVIDERS' => 'Dividers', + 'END' => 'End', + 'GRADIENT' => 'Gradient', + 'HEADERS' => 'Headers', + 'HOVER' => 'Hover', + 'LEFT' => 'Left', + 'LOWERCASE' => 'Lowercase', + 'MARGIN' => 'Margin', + 'NAVBAR' => 'Navbar', + 'NAVBAR_MENU' => 'Navbar menu', + 'NAVBAR_DROPDOWN' => 'Dropdown', + 'NAVBAR_LOCATION' => 'Location', + 'NAVBAR_LOCATION_OPTION' => 'Location #%s', + 'NAVBAR_TOP_MENU' => 'Top Menu', + 'NONE' => 'None', + 'PADDING' => 'Padding', + 'RESPONSIVE_TOGGLE' => 'Responsive Toggle', + 'RESPONSIVE_TOGGLE_EXPLAIN' => 'Only viewable on small (mobile) screens', + 'RIGHT' => 'Right', + 'SAVE' => 'Save', + 'SIZE' => 'Size', + 'START' => 'Start', + 'TEXT' => 'Text', + 'TOP' => 'Top', + 'TOP_LEFT' => 'Top Left', + 'TOP_RIGHT' => 'Top Right', + 'TRANSFORM' => 'Transform', + 'UPPERCASE' => 'Uppercase', +)); diff --git a/language/bg/permissions_sitemaker.php b/language/bg/permissions_sitemaker.php new file mode 100644 index 000000000000..72648a473804 --- /dev/null +++ b/language/bg/permissions_sitemaker.php @@ -0,0 +1,45 @@ + '[ SiteMaker ] Can manage settings', + 'ACL_A_SM_MANAGE_BLOCKS' => '[ SiteMaker ] Can manage blocks', + 'ACL_A_SM_MANAGE_MENUS' => '[ SiteMaker ] Can manage menus', +)); diff --git a/language/cs/block_manager.php b/language/cs/block_manager.php new file mode 100644 index 000000000000..81e1f8286740 --- /dev/null +++ b/language/cs/block_manager.php @@ -0,0 +1,123 @@ + '*Přetáhněte bloky', + 'AJAX_ERROR' => 'Jejda! Došlo k chybě při zpracování tvého požadavku. Zkuste to prosím znovu.', + 'AJAX_LOADING' => 'Načítám...', + 'AJAX_PROCESSING' => 'Zpracovávám...', + + 'BACKGROUND' => 'Pozadí', + 'BLOCKS' => 'Bloky', + 'BLOCKS_COPY_FROM' => 'Kopírovat bloky', + 'BLOCK_ACTIVE' => 'Aktivní', + 'BLOCK_CHILD_ROUTES_ONLY' => 'Zobrazit pouze na podřízených trasách', + 'BLOCK_CHILD_ROUTES_HIDE' => 'Skrýt na podřazených trasách', + 'BLOCK_CLASS' => 'Třída CSS', + 'BLOCK_CLASS_EXPLAIN' => 'Upravit vzhled bloku pomocí CSS tříd', + 'BLOCK_DESIGN' => 'Vzhled', + 'BLOCK_DISPLAY_TYPE' => 'Zobrazení', + 'BLOCK_HIDE_TITLE' => 'Skrýt název bloku?', + 'BLOCK_INACTIVE' => 'Neaktivní', + 'BLOCK_MISSING_TEMPLATE' => 'Chybí požadovaná šablona bloku. Kontaktujte prosím vývojáře', + 'BLOCK_NOT_FOUND' => 'Jejda! Požadovaná bloková služba nebyla nalezena', + 'BLOCK_NO_DATA' => 'Žádná data k zobrazení', + 'BLOCK_NO_ID' => 'Jejda! Chybí ID bloku', + 'BLOCK_PERMISSION' => 'Právo', + 'BLOCK_PERMISSION_ALLOW' => 'Zobrazit do', + 'BLOCK_PERMISSION_DENY' => 'Skrýt z', + 'BLOCK_PERMISSION_EXPLAIN' => 'Použít CTRL + kliknutí pro přepnutí výběru', + 'BLOCK_SHOW_ALWAYS' => 'Vždy', + 'BLOCK_STATUS' => 'Stav', + 'BLOCK_UPDATED' => 'Nastavení bloku bylo úspěšně aktualizováno', + + 'CANCEL' => 'Zrušit', + 'CHILD_ROUTE' => 'Dítě', + 'CHILD_ROUTE_EXPLAIN' => '/viewforum.php, /dir/index.php
/viewtopic.php?f=2&t=1
/articles/my-article', + 'CLEAR' => 'Vyčistit', + 'COPY' => 'Kopírovat', + 'COPY_BLOCKS' => 'Kopírovat bloky?', + 'COPY_BLOCKS_CONFIRM' => 'Opravdu chcete zkopírovat bloky z jiné stránky?

Tímto smažete všechny existující bloky a jejich nastavení pro tuto stránku a nahradíte je bloky z vybrané stránky.', + + 'DEFAULT_LAYOUT_EXPLAIN' => 'Je-li nastaveno, všechny stránky, pro které jste nespecifikovali bloky, zdědí bloky z výchozího rozložení. Můžete však přepsat výchozí rozvržení pro konkrétní stránky pomocí nastavení vpravo.', + 'DELETE' => 'Vymazat', + 'DELETE_ALL_BLOCKS' => 'Odstranit všechny bloky', + 'DELETE_ALL_BLOCKS_CONFIRM' => 'Jste si jisti, že chcete odstranit všechny bloky této stránky?', + 'DELETE_BLOCK' => 'Odstranit blok', + 'DELETE_BLOCK_CONFIRM' => 'Jste si jisti, že chcete odstranit tento blok?


Poznámka: Pro natrvalo uložte změny rozložení.', + + 'EDIT' => 'Upravit', + 'EDIT_BLOCK' => 'Upravit blok', + 'EXIT_EDIT_MODE' => 'Ukončit režim úprav', + + 'FEED_PROBLEMS' => 'Při zpracování poskytnutého zdroje rss/atom došlo k potížím', + 'FEED_URL_MISSING' => 'Pro začátek zadejte alespoň jeden kanál rss/atom', + 'FIELD_INVALID' => 'Zadaná hodnota pro pole „%s“ má neplatný formát', + 'FIELD_REQUIRED' => '„%s“ je povinné pole', + 'FIELD_TOO_LONG' => 'Zadaná hodnota pro pole „%1$s“ je příliš dlouhá. Maximální přijatelná hodnota je %2$d.', + 'FIELD_TOO_SHORT' => 'Zadaná hodnota pro pole „%1$s“ je příliš krátká. Minimální přijatelná hodnota je %2$d.', + + 'HIDE_ALL_BLOCKS' => 'Nezobrazovat bloky na této stránce', + 'HIDE_BLOCK_POSITIONS' => 'Nezobrazovat bloky pro následující pozice bloků:', + + 'IMAGES' => 'Obrázky', + + 'LAYOUT' => 'Rozložení', + 'LAYOUT_SAVED' => 'Rozložení bylo úspěšně uloženo!', + 'LAYOUT_SETTINGS' => 'Nastavení rozvržení', + 'LEAVE_CONFIRM' => 'Na této stránce máte nějaké neuložené změny. Před přesunem na tuto stránku prosím uložte svou práci', + 'LISTS' => 'Seznamy', + + 'MAKE_DEFAULT_LAYOUT' => 'Nastavit jako výchozí rozložení', + + 'OR' => 'NEBO', + + 'PARENT_ROUTE' => 'Nadřazený', + 'PARENT_ROUTE_EXPLAIN' => '/index.php
/viewforum.php?f=2
/articles', + 'PREDEFINED_CLASSES' => 'Předdefinované třídy', + + 'REDO' => 'Znovu', + 'REMOVE_DEFAULT_LAYOUT' => 'Odstranit jako výchozí rozložení', + 'REMOVE_STARTPAGE' => 'Odstranit úvodní stránku', + 'ROUTE_HIDDEN_BLOCKS' => 'Bloky jsou skryty pro tuto stránku', + 'ROUTE_HIDDEN_POSITIONS' => 'Bloky jsou skryty pro následující pozice', + 'ROUTE_UPDATED' => 'Nastavení stránky bylo úspěšně aktualizováno', + + 'SAVE_CHANGES' => 'Uložit změny', + 'SAVE_SETTINGS' => 'Uložit nastavení', + 'SELECT_ICON' => 'Vyberte ikonu', + 'SETTINGS' => 'Nastavení', + 'SETTING_TOO_BIG' => 'Zadaná hodnota pro nastavení „%1$s“ je příliš vysoká. Maximální přijatelná hodnota je %2$d.', + 'SETTING_TOO_LONG' => 'Zadaná hodnota pro nastavení „%1$s“ je příliš dlouhá. Maximální přijatelná délka je %2$d.', + 'SETTING_TOO_LOW' => 'Zadaná hodnota pro nastavení „%1$s“ je příliš nízká. Minimální přijatelná hodnota je %2$d.', + 'SETTING_TOO_SHORT' => 'Zadaná hodnota pro nastavení „%1$s“ je příliš krátká. Minimální přijatelná délka je %2$d.', + 'SET_STARTPAGE' => 'Nastavit jako úvodní stránku', + + 'TITLES' => 'Názvy', + + 'UPDATE_SIMILAR' => 'Aktualizovat bloky s podobným nastavením', + 'UNDO' => 'Zpět', + + 'VIEW_DEFAULT_LAYOUT' => 'Zobrazit/upravit výchozí rozložení', + 'VISIT_PAGE' => 'Navštívit stránku', +)); diff --git a/language/cs/blocks_admin.php b/language/cs/blocks_admin.php new file mode 100644 index 000000000000..ad8f07b9df5d --- /dev/null +++ b/language/cs/blocks_admin.php @@ -0,0 +1,189 @@ + 'Všechny typy', + 'ALL_GROUPS' => 'Všechny skupiny', + 'ARCHIVES' => 'Archivy', + 'AUTO_LOGIN' => 'Povolit automatické přihlášení?', + 'FILE_MANAGER' => 'Správce souborů', + 'TOPIC_POST_IDS' => 'Z ID tématu/příspěvku', + 'TOPIC_POST_IDS_EXPLAIN' => 'ID témat/příspěvků pro načtení příloh oddělených čárkami(,). Určete, zda je tento seznam pro téma nebo příspěvek id výše.', + 'TOPIC_POST_IDS_TYPE' => 'Typ ID (níže)', + + // Blocks + 'BLITZE_SITEMAKER_BLOCK_ATTACHMENTS' => 'Přílohy', + 'BLITZE_SITEMAKER_BLOCK_BIRTHDAY' => 'Narozeniny', + 'BLITZE_SITEMAKER_BLOCK_CUSTOM' => 'Vlastní blok', + 'BLITZE_SITEMAKER_BLOCK_FEATURED_MEMBER' => 'Doporučený člen', + 'BLITZE_SITEMAKER_BLOCK_FEEDS' => 'RSS/Atom kanály', + 'BLITZE_SITEMAKER_BLOCK_FORUM_POLL' => 'Anketa fóra', + 'BLITZE_SITEMAKER_BLOCK_FORUM_TOPICS' => 'Témata fóra', + 'BLITZE_SITEMAKER_BLOCK_GOOGLE_MAPS' => 'Google Mapy', + 'BLITZE_SITEMAKER_BLOCK_POPULAR_TOPICS' => 'Populární témata', + 'BLITZE_SITEMAKER_BLOCK_LINKS' => 'Odkazy', + 'BLITZE_SITEMAKER_BLOCK_LOGIN' => 'Přihlašovací krabice', + 'BLITZE_SITEMAKER_BLOCK_MEMBERS' => 'Členové', + 'BLITZE_SITEMAKER_BLOCK_MEMBER_MENU' => 'Nabídka člena', + 'BLITZE_SITEMAKER_BLOCK_MENU' => 'Menu', + 'BLITZE_SITEMAKER_BLOCK_MYBOOKMARKS' => 'Moje záložky', + 'BLITZE_SITEMAKER_BLOCK_RECENT_TOPICS' => 'Nedávná témata', + 'BLITZE_SITEMAKER_BLOCK_STATS' => 'Statistiky', + 'BLITZE_SITEMAKER_BLOCK_STYLE_SWITCHER' => 'Přepínač stylu', + 'BLITZE_SITEMAKER_BLOCK_WHATS_NEW' => 'Co je nového?', + 'BLITZE_SITEMAKER_BLOCK_WHOIS' => 'Kdo je online', + 'BLITZE_SITEMAKER_BLOCK_WORDGRAPH' => 'Slovník', + + // block views + 'BLOCK_VIEW' => 'Zobrazení bloku', + 'BLOCK_VIEW_BASIC' => 'Základní', + 'BLOCK_VIEW_BOXED' => 'Krabice', + 'BLOCK_VIEW_DEFAULT' => 'Výchozí', + 'BLOCK_VIEW_SIMPLE' => 'Jednoduchý', + + 'CACHE_DURATION' => 'Doba trvání mezipaměti', + 'CONTEXT' => 'Kontext', + 'CSS_SCRIPTS' => 'CSS Scripts', + 'CUSTOM_PROFILE_FIELDS' => 'Vlastní pole profilu', + + 'DATE_RANGE' => 'Date Range', + 'DISPLAY_PREVIEW' => 'Zobrazit náhled?', + + 'EDIT_ME' => 'Prosím upravte mě', + 'ENABLE_TOPIC_TRACKING' => 'Povolit sledování témat?', + 'ENABLE_TOPIC_TRACKING_EXPLAIN' => 'Pokud je povoleno, budou zobrazena nepřečtená témata, ale výsledky bloku nebudou uloženy v mezipaměti (nedoporučeno)', + 'EXCLUDE_TOO_MANY_WORDS' => 'Zadali jste příliš mnoho slov k vyloučení. Maximální možný počet znaků je 255, zadali jste %s.', + 'EXCLUDE_WORDS' => 'Vyloučit slova', + 'EXCLUDE_WORDS_EXPLAIN' => 'Vyplňte slova, která chcete vyloučit ze slovníku odděleného čárkou (,). Maximálně 255 znaků.', + 'EXPANDED' => 'Rozšířené', + 'EXTENSION_GROUP' => 'Skupina rozšíření', + + 'FEATURED_MEMBER_IDS' => 'ID uživatele', + 'FEATURED_MEMBER_IDS_EXPLAIN' => 'Čárkami oddělený seznam uživatelů k funkci. (Pouze se vztahuje na režim zobrazení doporučených členů)', + 'FEED_DATA_PREVIEW' => 'Data kanálu', + 'FEED_ITEM_TEMPLATE' => 'Šablona položky', + 'FEED_ITEM_TEMPLATE_EXPLAIN' => 'TIPS:
+
    +
  • Přístup k datům kanálu v proměnné položka . . položka. šablona
  • +
  • musí být v Twig syntaxe
  • +
  • Klikni Vzorků výše pro šablony vzorových
  • +
  • Použít get_item_tags($namespace, $tag) pro získání tagu z kanálu, který neposkytujeme.
    {{ get_item_tags(\'\', \'image\') }}
  • +
  • Použijte Twig\'s json_encode filtr pro zobrazení obsahu pole. . {{ get_item_tags(\'\', \'image\')|json_encode() }}
  • +
', + 'FEED_PREVIEW_SOURCE' => 'Zdroj', + 'FEED_URL_PLACEHOLDER' => 'http://example.com/rss', + 'FEED_URLS' => 'URL kanálu', + 'FIRST_POST_ONLY' => 'Pouze první příspěvek', + 'FIRST_POST_TIME' => 'Čas prvního příspěvku', + 'FORUMS_GET_TYPE' => 'Získat typ', + 'FORUMS_MAX_TOPICS' => 'Maximální počet témat a příspěvků', + 'FORUMS_TITLE_MAX_CHARS' => 'Maximální počet znaků na titulek', + 'FREQUENCY' => 'Frekvence', + 'FULL' => 'Plné', + 'FULLSCREEN' => 'Celá obrazovka', + + 'GET_TYPE' => 'Zobrazit téma/příspěvek?', + + 'HTML' => 'HTML', + 'HTML_EXPLAIN' => 'Použijte tento text pro zadání surového HTML obsahu.
Vezměte prosím na vědomí, že jakýkoli zde vložený obsah přepíše obsah vlastního bloku a editor vizuálních bloků nebude k dispozici.', + 'HOURS_SHORT' => 'hodin', + + 'JS_SCRIPTS' => 'JS skripty', + + 'LAST_POST_TIME' => 'Poslední čas příspěvku', + 'LAST_READ_TIME' => 'Poslední čtecí čas', + 'LIMIT' => 'Limit', + 'LIMIT_FORUMS' => 'ID fóra (volitelné)', + 'LIMIT_FORUMS_EXPLAIN' => 'Zadejte každé ID fóra oddělené čárkou (,). Pokud je nastaveno, zobrazí se pouze témata z určených fór.', + 'LIMIT_POST_TIME' => 'Limit podle času odeslání', + 'LIMIT_POST_TIME_EXPLAIN' => 'Pokud je nastaveno, budou načtena pouze témata odeslaná ve stanovené lhůtě', + + 'MAX_DEPTH' => 'Maximální hloubka', + 'MAX_ITEMS' => 'Maximální počet položek', + 'MAX_MEMBERS' => 'Max. počet členů', + 'MAX_POSTS' => 'Maximální počet příspěvků', + 'MAX_TOPICS' => 'Maximální počet témat', + 'MAX_WORDS' => 'Maximální počet slov', + 'MANAGE_MENUS' => 'Správa nabídek', + 'MAP_COORDINATES' => 'Souřadnice', + 'MAP_COORDINATES_EXPLAIN' => 'Zadejte souřadnice ve tvaru zeměpisné šířky, zeměpisná délka', + 'MAP_HEIGHT' => 'Výška', + 'MAP_LOCATION' => 'Poloha', + 'MAP_TITLE' => 'Hlava 1 – Celkem', + 'MAP_VIEW' => 'Zobrazit', + 'MAP_VIEW_HYBRID' => 'Hybridy', + 'MAP_VIEW_MAP' => 'Mapa', + 'MAP_VIEW_SATELITE' => 'Satelit', + 'MAP_VIEW_TERRAIN' => 'Terrain', + 'MAP_ZOOM_LEVEL' => 'Úroveň přiblížení', + 'MEMBERS_DATE' => 'Datum:', + 'MENU_NO_ITEMS' => 'Žádné aktivní položky k zobrazení', + 'MINI' => 'Mini', + + 'OR' => 'NEBO', + 'ORDER_BY' => 'Řadit podle', + + 'POLL_FROM_FORUMS' => 'Zobrazit ankety z fór', + 'POLL_FROM_FORUMS_EXPLAIN' => 'Budou zobrazeny pouze ankety z vybraných fór, pokud nejsou specifikována žádná témata', + 'POLL_FROM_GROUPS' => 'Zobrazit ankety ze skupin(ů)', + 'POLL_FROM_GROUPS_EXPLAIN' => 'Pouze ankety od členů vybraných skupin budou zobrazeny za předpokladu, že nejsou výše specifikováni žádní uživatelé', + 'POLL_FROM_TOPICS' => 'Zobrazit ankety z témat', + 'POLL_FROM_TOPICS_EXPLAIN' => 'ID témat k načtení anket, oddělené čárkou(,). Nechte prázdné pro výběr tématu.', + 'POLL_FROM_USERS' => 'Zobrazit ankety od uživatelů', + 'POLL_FROM_USERS_EXPLAIN' => 'ID uživatelů(ů), jejichž ankety chcete zobrazit, oddělené čárkami(,). Nechte prázdné pro výběr anket od každého uživatele.', + 'POSTS_TITLE_LIMIT' => 'Maximální počet znaků pro název příspěvku', + 'PREVIEW_MAX_CHARS' => 'Počet znaků k náhledu', + + 'QUERY_TYPE' => 'Režim zobrazení', + + 'ROTATE_DAILY' => 'Denní', + 'ROTATE_HOURLY' => 'Hodina', + 'ROTATE_MONTHLY' => 'Měsíčně', + 'ROTATE_PAGELOAD' => 'Načítání stránky', + 'ROTATE_WEEKLY' => 'Týdenní', + + 'SAMPLES' => 'Vzorky', + 'SCRIPTS' => 'Skripty', + 'SELECT_FORUMS' => 'Vybrat fóra', + 'SELECT_FORUMS_EXPLAIN' => 'Vyberte fóra, ze kterých chcete zobrazit témata/příspěvky. Nechte prázdné pro výběr ze všech fór', + 'SELECT_MENU' => 'Vybrat nabídku', + 'SELECT_PROFILE_FIELDS' => 'Vyberte pole profilu', + 'SELECT_PROFILE_FIELDS_EXPLAIN' => 'Zobrazí se pouze vybraná pole profilu, pokud jsou k dispozici.', + 'SHOW_FIRST_POST' => 'První příspěvek', + 'SHOW_HIDE_ME' => 'Povolit skrytí stavu online?', + 'SHOW_LAST_POST' => 'Poslední příspěvek', + 'SHOW_MEMBER_MENU' => 'Zobrazit uživatelské menu?', + 'SHOW_MEMBER_MENU_EXPLAIN' => 'Nahradit přihlašovací pole v uživatelském menu, pokud je uživatel přihlášen', + 'SHOW_WORD_COUNT' => 'Zobrazit počet slov?', + + 'TEMPLATE' => 'Šablona', + 'TOPIC_TITLE_LIMIT' => 'Maximální počet znaků pro titulek tématu', + 'TOPIC_TYPE' => 'Typ tématu', + 'TOPIC_TYPE_EXPLAIN' => 'Vyberte typy témat, které chcete zobrazit. Ponechte políčka bez zaškrtnutí pro výběr ze všech typů témat', + 'TOPICS_LOOK_BACK' => 'Pohled zpět', + 'TOPICS_ONLY' => 'Pouze témata?', + 'TOPICS_PER_PAGE' => 'Na stránku', + + 'WORD_MAX_SIZE' => 'Maximální velikost písma', + 'WORD_MIN_SIZE' => 'Minimální velikost písma', +)); diff --git a/language/cs/common.php b/language/cs/common.php new file mode 100644 index 000000000000..d5e74150d1cf --- /dev/null +++ b/language/cs/common.php @@ -0,0 +1,97 @@ + 'Celý čas', + + 'BLOCK_TITLE' => 'Název bloku', + + 'CHANGE_ME' => 'Změnit mě', + + 'DAILY_MEMBER' => 'Člen dne', + + 'FEATURED_MEMBER' => 'Doporučený člen', + 'FEATURED_MEMBERLIST' => 'Seznam doporučených členů', + 'FEEDS' => 'Zdroje', + 'FORUM_ANNOUNCEMENTS' => 'Oznámení fóra', + 'FORUM_GLOBAL_ANNOUNCEMENTS' => 'Oznámení globálního fóra', + 'FORUM_RECENT_POSTS' => 'Nedávné příspěvky na fóru', + 'FORUM_RECENT_TOPICS' => 'Nedávná témata fóra', + 'FORUM_STICKY_POSTS' => 'Nedávno označené příspěvky', + + 'HELP' => 'Nápověda', + 'HOURLY_MEMBER' => 'Člen hodiny', + + 'GOOGLE_MAP' => 'Mapa Google', + + 'JOIN_DATE' => 'Datum připojení', + + 'LAST_POST_BY_AUTHOR' => 'Poslední příspěvek od', + 'LAST_VISITED' => 'Poslední návštěva', + 'LINKS' => 'Odkazy', + + 'MCP_SITEMAKER_CONTENT' => 'Obsah', + 'MEMBERS_DATE' => 'Datum:', + 'MENU' => 'Menu', + 'MONTHLY_MEMBER' => 'Člen měsíce', + 'MOST_TENURED' => 'Nejvíce v nájmu', + 'MY_BOOKMARKS' => 'Moje záložky', + + 'NO_BOOKMARKED_TOPICS' => 'Nemáte žádné záložky', + 'NO_NEW_TOPICS' => 'Neexistují žádná nová témata k zobrazení', + + 'POLL' => 'Anketa', + 'POPULAR_TOPICS' => 'Populární témata', + 'POSTS_MEMBER' => 'Nejlepší plakát', + 'PROCESSING' => 'zpracovávání...', + + 'QTYPE_POSTS' => 'Gratulujeme:', + 'QTYPE_RECENT' => 'Prosím, vítejte našeho nejnovějšího člena:', + + 'RECENT_BOTS' => 'Nedávné vyhledávače', + 'RECENT_MEMBER' => 'Nedávný člen', + 'RECENT_MEMBERS' => 'Nedávní členové', + + 'SESSION_HIDE_ME' => 'Skrýt mě', + 'SM_NAVIGATION' => 'Navigation', + 'SM_TOGGLE_DROPDOWN' => 'Přepnout rozevírací seznam', + 'STYLE_SWITCHER' => 'Přepínač stylu', + + 'THIS_MONTH' => 'Tento měsíc', + 'THIS_WEEK' => 'Tento týden', + 'THIS_YEAR' => 'Letos', + 'TODAY' => 'Dnes', + 'TOPICS_LAST_READ' => 'Poslední přečtená témata', + 'TOPIC_LAST_READ' => 'Poslední čtení %s', + 'TOP_POSTERS' => 'Nejlepší plakáty', + + 'UCP_SITEMAKER_CONTENT' => 'Moje věci', + + 'VIEW_DETAILS' => 'Zobrazit detaily', + 'VIEW_USER_PROFILE' => 'Vše o %s', + + 'WEEKLY_MEMBER' => 'Člen týdne', + 'WELCOME' => 'Vítejte', + 'WHATS_NEW' => 'Co je nového?', + 'WORDGRAPH' => 'Slovník', +)); diff --git a/language/cs/css_presets.php b/language/cs/css_presets.php new file mode 100644 index 000000000000..96041372601c --- /dev/null +++ b/language/cs/css_presets.php @@ -0,0 +1,107 @@ + 'Značka seznamu šípů', + 'LIST_CIRCLE' => 'Značka seznamu kruhů', + 'LIST_DISC' => 'Značka seznamu odrážek', + 'LIST_SQUARE' => 'Čtvereční značka seznamu', + 'LIST_NUMBERED' => 'Číslovaný seznam', + 'LIST_NUMBERED_ALPHABET' => 'Číslování s abecedou', + 'LIST_NUMBERED_NESTED' => 'Číslování s pododdíly', + 'LIST_NUMBERED_ROMAN' => 'Číslování římskými číslicemi', + 'LIST_NUMBERED_ZERO' => 'Číslování s nulou předních bodů', + 'LIST_INLINE' => 'Vložený seznam', + 'LIST_INLINE_SEP' => 'Seznam oddělených čárkami', + 'LIST_REVERSE' => 'Obrácené pořadí', + 'LIST_STRIPED' => 'Seznam proužků', + 'LIST_STACKED' => 'Skládaný seznam', + 'LIST_TRIANGLE' => 'Trojúhelník', + 'LIST_HYPHEN' => 'Hyphen', + 'LIST_PLUS' => 'Plus', + 'LIST_SPADE' => 'Spade', + 'LIST_CLUB' => 'Klub', + 'LIST_DIAMOND' => 'Diamantový', + 'LIST_HEART' => 'Srdeční', + 'LIST_STAR' => 'Hvězda', + 'LIST_CHECK' => 'Zkontrolovat', + 'LIST_SNOWFLAKE' => 'Sněhové vločky', + 'LIST_MUSIC' => 'Hudba', + 'LIST_AUTOWIDTH' => 'Auto width', + 'LIST_FIT_CONTENT' => 'Přizpůsobit obsah', + 'LIST_2COLS' => '2 seznam sloupců', + 'LIST_3COLS' => '3 seznam sloupců', + 'LIST_4COLS' => '4 seznam sloupců', + 'LIST_5COLS' => '5 seznam sloupců', + 'LIST_X_DIVIDER_DOTTED' => 'Horizontální oddělovač vytečkovaných', + 'LIST_X_DIVIDER_LINE' => 'Oddělovač vodorovné čáry', + 'LIST_Y_DIVIDER_DOTTED' => 'Svislý tečkovaný dělič', + 'LIST_Y_DIVIDER_LINE' => 'Svislé oddělovače čáry', + + 'IMAGE_SMALL' => 'Malý obrázek', + 'IMAGE_MEDIUM' => 'Střední obrázek', + 'IMAGE_LARGE' => 'Velký obrázek', + 'IMAGE_FULL_WIDTH' => 'Obrázek na celou šířku', + 'IMAGE_ALIGN_LEFT' => 'Plovoucí obrázek vlevo', + 'IMAGE_ALIGN_RIGHT' => 'Plovoucí obrázek vpravo', + 'IMAGE_CIRCLE' => 'Kruhový obraz', + 'IMAGE_ROUNDED' => 'Zaoblený obrázek', + 'IMAGE_BORDER' => 'Blokovaný obrázek', + 'IMAGE_BORDER_PADDING' => 'Image border padding', + 'IMAGE_RATIO_SQUARE' => 'Čtvereční obrázek', + 'IMAGE_RATIO_4_BY_3' => '4 podle 3 obrázku', + 'IMAGE_RATIO_16_BY_9' => '16 podle 9 snímků', + + 'RESPONSIVE_SHOW' => 'Zobrazit pouze na malých zařízeních', + 'RESPONSIVE_HIDE' => 'Skrýt na malých zařízeních', + + 'ALIGN_LEFT' => 'Text zarovnaný vlevo', + 'ALIGN_CENTER' => 'Zadaný text', + 'ALIGN_RIGHT' => 'Text zarovnaný vpravo', + 'NO_PADDING' => 'No padding', + 'LABEL' => 'Popisek', + 'BADGE' => 'Odznak', + 'PRIMARY_COLOR' => 'Hlavní barva', + 'SECONDARY_COLOR' => 'Sekundární barva', + 'GRAYSCALE_COLOR' => 'Grayscale', + 'INFO_COLOR' => 'Info', + 'SUCCESS_COLOR' => 'Úspěšně', + 'WARNING_COLOR' => 'Varování', + 'DANGER_COLOR' => 'Nebezpečí', +)); diff --git a/language/cs/exceptions.php b/language/cs/exceptions.php new file mode 100644 index 000000000000..45a339953977 --- /dev/null +++ b/language/cs/exceptions.php @@ -0,0 +1,49 @@ + 'Chybí povinné pole', + 'EXCEPTION_INVALID_ACTION' => 'Akce neexistuje', + 'EXCEPTION_INVALID_ARGUMENT' => 'Byl zadán neplatný argument pro `%1$s`. Důvod: %2$s', + 'EXCEPTION_INVALID_DATA_TYPE' => 'Poskytnutá hodnota je neočekávaný datový typ', + 'EXCEPTION_INVALID_ENTITY' => 'Poskytnutá účetní jednotka patří do neočekávané třídy účetní jednotky', + 'EXCEPTION_INVALID_PROPERTY' => 'Požadovaná vlastnost neexistuje', + 'EXCEPTION_OUT_OF_BOUNDS' => 'Požadovaný `%1$s` neexistuje', + 'EXCEPTION_SERVICE_NOT_FOUND' => 'Požadovaná služba nebyla nalezena', + 'EXCEPTION_UNEXPECTED_VALUE' => 'Požadovanou akci `%1$s` nelze provést. Důvod: %2$s', +)); diff --git a/language/cs/ext.php b/language/cs/ext.php new file mode 100644 index 000000000000..aac9ac9fdd1d --- /dev/null +++ b/language/cs/ext.php @@ -0,0 +1,42 @@ + 'Adresář phpBB Image není zapisovatelný. Změňte prosím oprávnění pro zápis všech (777 nebo -rwxrwxrwxrwx v rámci vašeho FTP klienta)', + 'PHPBB_VERSION_UNMET' => 'Toto rozšíření vyžaduje alespoň phpBB %s', +)); diff --git a/language/cs/feed_fields.php b/language/cs/feed_fields.php new file mode 100644 index 000000000000..9ab90cace874 --- /dev/null +++ b/language/cs/feed_fields.php @@ -0,0 +1,108 @@ + 'autor', + 'AUTHORS' => 'autoři (pole)', + 'BITRATE' => 'bitrate', + 'CAPTIONS' => 'titulky', + 'CATEGORIES' => 'kategorie (pole)', + 'CATEGORY' => 'Kategorie', + 'CHANNELS' => 'kanály', + 'CONTENT' => 'Obsah', + 'CONTRIBUTOR' => 'přispěvatel', + 'CONTRIBUTORS' => 'přispěvatelé (pole)', + 'COPYRIGHT' => 'autorská práva', + 'CREDITS' => 'kredity', + 'DATE' => 'Datum', + 'DESCRIPTION' => 'Popis', + 'DURATION' => 'doba trvání', + 'ENCLOSURE' => 'uzavřený prostor', + 'ENCLOSURES' => 'prostory (pole)', + 'EXPRESSION' => 'výraz', + 'FEED' => 'krmivo', + 'FRAMERATE' => 'snímková frekvence', + 'GMDATE' => 'Datum GM', + 'HANDLER' => 'handler', + 'HASHES' => 'pomlčky', + 'HEIGHT' => 'Výška', + 'ID' => 'id', + 'IMAGE_HEIGHT' => 'výška obrázku', + 'IMAGE_LINK' => 'odkaz na obrázek', + 'IMAGE_TITLE' => 'název obrázku', + 'IMAGE_URL' => 'URL obrázku', + 'IMAGE_WIDTH' => 'šířka obrázku', + 'ITEMS' => 'položky', + 'JAVASCRIPT' => 'javascript', + 'KEYWORDS' => 'klíčová slova', + 'LABEL' => 'štítek', + 'LANG' => 'lang', + 'LATITUDE' => 'Zeměpisná šířka', + 'LENGTH' => 'délka', + 'LINK' => 'odkaz', + 'LINKS' => 'odkazy', + 'LONGITUDE' => 'zeměpisná délka', + 'MEDIUM' => 'střední', + 'NAME' => 'jméno', + 'PERMALINK' => 'trvalý odkaz', + 'PLAYER' => 'hráč', + 'RATINGS' => 'hodnocení', + 'RELATIONSHIP' => 'vztah', + 'RESTRICTIONS' => 'omezení (pole)', + 'SAMPLINGRATE' => 'četnost odběru vzorků', + 'SCHEME' => 'Schéma', + 'SOURCE' => 'Zdroj', + 'TERM' => 'termín', + 'THUMBNAILS' => 'thumbnails', + 'TITLE' => 'titulek', + 'TYPE' => 'typ', + 'UPDATED_DATE' => 'aktualizované datum', + 'UPDATED_GMDATE' => 'aktualizováno GM datum', + 'VALUE' => 'hodnota', + 'WIDTH' => 'width', +)); diff --git a/language/cs/icons.php b/language/cs/icons.php new file mode 100644 index 000000000000..48d8f1dd11d0 --- /dev/null +++ b/language/cs/icons.php @@ -0,0 +1,71 @@ + 'Přístupnost', + 'ICON_ARROWS' => 'Šipky', + 'ICON_BRAND' => 'Značka', + 'ICON_CHART' => 'Graf', + 'ICON_CURRENCY' => 'Měna', + 'ICON_DIRECTIONAL' => 'Směr', + 'ICON_FILE_TYPE' => 'Typ souboru', + 'ICON_FORM_CONTROL' => 'Ovládání formuláře', + 'ICON_GENDER' => 'Pohlaví', + 'ICON_HAND' => 'Ruka', + 'ICON_MEDICAL' => 'Lékařství', + 'ICON_PAYMENT' => 'Platba', + 'ICON_SPINNER' => 'Rozštěp', + 'ICON_TEXT_EDITOR' => 'Textový editor', + 'ICON_TRANSPORTATION' => 'Přeprava', + 'ICON_VIDEO_PLAYER' => 'Video přehrávač', + 'ICON_WEB_APPLICATION' => 'Webová aplikace', + + 'ICON_COLOR' => 'Barva', + 'ICON_DEFAULT' => 'Výchozí', + 'ICON_FLIP_BOTH' => 'Otočit obojí', + 'ICON_FLIP_HORIZONTAL' => 'Překlopit vodorovně', + 'ICON_FLIP_VERTICAL' => 'Překlopit svisle', + 'ICON_FLOAT' => 'Plovoucí', + 'ICON_FLOAT_LEFT' => 'Vlevo', + 'ICON_FLOAT_RIGHT' => 'Vpravo', + 'ICON_FONT' => 'Font Icons', + 'ICON_INSERT_UPDATE' => 'Insert/Update', + 'ICON_MISC' => 'Různé', + 'ICON_MISC_BORDERED' => 'Blokované', + 'ICON_MISC_FIXED_WIDTH' => 'Pevná šířka', + 'ICON_MISC_PULSE' => 'Pulzovat', + 'ICON_MISC_SPINNING' => 'Oplachování', + 'ICON_ROTATION' => 'Otáčení', + 'ICON_ROTATE_90' => '90°', + 'ICON_ROTATE_180' => '180°', + 'ICON_ROTATE_270' => '270°', + 'ICON_SIZE' => 'Velikost', + 'ICON_SIZE_LG' => 'Větší', + 'ICON_SIZE_SM' => 'Malá', + 'ICON_SIZE_2X' => '2x', + 'ICON_SIZE_3X' => '3x', + 'ICON_SIZE_4X' => '4x', + 'ICON_SIZE_5X' => '5x', + + 'NO_ICON' => 'Žádná ikona', +)); diff --git a/language/cs/info_acp_menus.php b/language/cs/info_acp_menus.php new file mode 100644 index 000000000000..161f0abaa5af --- /dev/null +++ b/language/cs/info_acp_menus.php @@ -0,0 +1,92 @@ + 'Menu', + 'ACP_MENU_MANAGE' => 'Správa nabídek', + 'ACP_MENU_MANAGE_EXPLAIN' => 'Zde můžete vytvářet a spravovat menu pro vaše stránky', + 'ADD_BULK_MENU' => 'Hromadné přidání položek nabídky', + 'ADD_BULK_MENU_EXPLAIN' => 'Přidat více položek nabídky najednou.
- Umístěte každou položku na samostatný řádek
- použijte klíč záložky k odsazení položek pro zobrazení vztahu rodiče-dítě
- zadejte položku a adresu URL, jako je Domů|index.php', + 'ADD_MENU' => 'Přidat nabídku', + 'ADD_MENU_ITEM' => 'Přidat položku nabídky', + 'ADD_ITEM' => 'Přidat novou položku', + 'AJAX_PROCESSING' => 'Práce', + + 'CHANGE_ME' => 'Změnit mě', + + 'DELETE_ITEM' => 'Odstranit položku', + 'DELETE_KIDS' => 'Odstranit větev', + 'DELETE_MENU' => 'Odstranit nabídku', + 'DELETE_MENU_CONFIRM' => 'Jste si jisti, že chcete odstranit tuto nabídku?
Tímto odstraníte nabídku a všechny její položky', + 'DELETE_MENU_ITEM' => 'Odstranit položku', + 'DELETE_MENU_ITEM_CONFIRM' => 'Jste si jisti, že chcete odstranit tuto položku nabídky?', + 'DELETE_SELECTED' => 'Odstranit vybrané', + + 'EDIT_ITEM' => 'Upravit položku', + + 'ITEM_ACTIVE' => 'Aktivní', + 'ITEM_INACTIVE' => 'Neaktivní', + 'ITEM_PARENT' => 'Nadřazený', + 'ITEM_TITLE' => 'Název položky', + 'ITEM_TITLE_EXPLAIN' => 'Nastavit jako \'-\' pro dělič', + 'ITEM_TARGET' => 'Item Target', + 'ITEM_URL' => 'URL položky', + 'ITEM_URL_EXPLAIN' => '- Ponechte prázdné pro záhlaví
- Externí stránky musí začínat http(s)://, ftp://, //, atd.', + + 'MENU_ITEMS' => 'Položky nabídky', + + 'NO_MENU_ITEMS' => 'Nebyly vytvořeny žádné položky nabídky', + 'NO_PARENT' => 'Žádný nadřazený', + + 'PROCESSING_ERROR' => 'Chyba zpracování', + + 'REBUILD_TREE' => 'Znovu postavit strom', + 'REQUIRED' => 'Požadováno', + 'REQUIRED_FIELDS' => '* Povinná pole', + + 'SAVE_CHANGES' => 'Uložit změny', + 'SAVE' => 'Uložit', + 'SELECT_ALL' => 'Vybrat vše', + + 'TARGET_BLANK' => 'Prázdná stránka', + 'TARGET_PARENT' => 'Nadřazený', + + 'UNSAVED_CHANGES' => 'Máte neuložené změny', + + 'VISIT_PAGE' => 'Navštívit stránku', +)); diff --git a/language/cs/info_acp_settings.php b/language/cs/info_acp_settings.php new file mode 100644 index 000000000000..d2a2084b164a --- /dev/null +++ b/language/cs/info_acp_settings.php @@ -0,0 +1,74 @@ + 'SiteMaker', + 'ACP_SM_SETTINGS' => 'Nastavení', + + 'BLOCKS_CLEANUP' => 'Blokování vyčištění', + 'BLOCKS_CLEANUP_EXPLAIN' => 'Následující položky již neexistují nebo nejsou dostupné, a proto můžete odstranit všechny přidružené bloky. Mějte prosím na paměti, že některé z nich mohou být falešné pozitivy', + 'BLOCKS_CLEANUP_BLOCKS' => 'Neplatné bloky (např. z odinstalovaných rozšíření):', + 'BLOCKS_CLEANUP_ROUTES' => 'Nedostupné/rozbité stránky:', + 'BLOCKS_CLEANUP_STYLES' => 'Odinstalované Styly (ids):', + 'BLOCKS_CLEANUP_SUCCESS' => 'Blokování úspěšně vyprázdněno', + + 'FORUM_INDEX_SETTINGS' => 'Nastavení indexu fóra', + 'FORUM_INDEX_SETTINGS_EXPLAIN' => 'Tato nastavení platí pouze v případě, že není zadána hvězdička', + + 'HIDE' => 'Skrýt', + 'HIDE_BIRTHDAY' => 'Skrýt sekci narozenin', + 'HIDE_LOGIN' => 'Skrýt přihlašovací pole', + 'HIDE_ONLINE' => 'Skrýt sekci online', + + 'LAYOUT_BLOG' => 'Blog', + 'LAYOUT_CUSTOM' => 'Vlastní', + 'LAYOUT_HOLYGRAIL' => 'Svatý Král', + 'LAYOUT_PORTAL' => 'Portál', + 'LAYOUT_PORTAL_ALT' => 'Portál (alt)', + 'LAYOUT_SETTINGS' => 'Nastavení rozvržení', + + 'LOG_DELETED_BLOCKS_FOR_STYLE' => 'Sitemaker bloky odstraněny pro chybějící styl s ID %s', + 'LOG_DELETED_BLOCKS_FOR_ROUTE' => 'Odstraněné bloky Sitemakeru pro rozbité stránky:
%s', + 'LOG_DELETED_BLOCKS' => 'Odstraněny neplatné bloky Sitemaker:
%s', + + 'NAVIGATION_SETTINGS' => 'Nastavení navigace', + + 'SETTINGS_SAVED' => 'Vaše nastavení bylo uloženo', + 'SHOW' => 'Zobrazit', + 'SHOW_FORUM_NAV' => 'Zobrazit \'Fóru\' v navigačním panelu?', + 'SHOW_FORUM_NAV_EXPLAIN' => 'Pokud je stránka nastavena jako startpage namísto indexu fóra, měli bychom v navigačním panelu zobrazit \'Fóru\'', + 'SHOW_FORUM_NAV_WITH_ICON' => 'Ano - s ikonou:', +]); diff --git a/language/cs/navbar_manager.php b/language/cs/navbar_manager.php new file mode 100644 index 000000000000..eddcb1e53551 --- /dev/null +++ b/language/cs/navbar_manager.php @@ -0,0 +1,79 @@ + 'Aktivní prvek', + 'BORDER' => 'Border', + 'BORDER_COLOR' => 'Barva ohraničení', + 'BORDER_RADIUS' => 'Poloměr ohraničení', + 'BORDER_WIDTH' => 'Border Width', + 'BOTTOM' => 'Spodní', + 'BOTTOM_LEFT' => 'Vlevo dole', + 'BOTTOM_RIGHT' => 'Vpravo dole', + 'CAPITALIZE' => 'Kapitalizovat', + 'COLOR' => 'Barva', + 'DIVIDERS' => 'Děliče', + 'END' => 'Ukončit', + 'GRADIENT' => 'Sklon', + 'HEADERS' => 'Záhlaví', + 'HOVER' => 'Hover', + 'LEFT' => 'Vlevo', + 'LOWERCASE' => 'Malá písmena', + 'MARGIN' => 'Okraj', + 'NAVBAR' => 'Navigační panel', + 'NAVBAR_MENU' => 'Navbar menu', + 'NAVBAR_DROPDOWN' => 'Rozbalovací nabídka', + 'NAVBAR_LOCATION' => 'Poloha', + 'NAVBAR_LOCATION_OPTION' => 'Poloha č.%s', + 'NAVBAR_TOP_MENU' => 'Horní nabídka', + 'NONE' => 'Nic', + 'PADDING' => 'Padding', + 'RESPONSIVE_TOGGLE' => 'Responzivní přepínač', + 'RESPONSIVE_TOGGLE_EXPLAIN' => 'Viditelné pouze na malých (mobilních) obrazovkách', + 'RIGHT' => 'Vpravo', + 'SAVE' => 'Uložit', + 'SIZE' => 'Velikost', + 'START' => 'Začít', + 'TEXT' => 'Text', + 'TOP' => 'Nahoře', + 'TOP_LEFT' => 'Vlevo nahoře', + 'TOP_RIGHT' => 'Vpravo nahoře', + 'TRANSFORM' => 'Transformovat', + 'UPPERCASE' => 'Velká písmena', +)); diff --git a/language/cs/permissions_sitemaker.php b/language/cs/permissions_sitemaker.php new file mode 100644 index 000000000000..12da4c365c37 --- /dev/null +++ b/language/cs/permissions_sitemaker.php @@ -0,0 +1,45 @@ + '[ SiteMaker ] Může spravovat nastavení', + 'ACL_A_SM_MANAGE_BLOCKS' => '[ SiteMaker ] Může spravovat bloky', + 'ACL_A_SM_MANAGE_MENUS' => '[ SiteMaker ] Může spravovat menu', +)); diff --git a/language/da/block_manager.php b/language/da/block_manager.php new file mode 100644 index 000000000000..9c80af6faf9c --- /dev/null +++ b/language/da/block_manager.php @@ -0,0 +1,123 @@ + '* Træk og slip blokke', + 'AJAX_ERROR' => 'Ups! Der opstod en fejl under behandlingen af din anmodning. Prøv venligst igen.', + 'AJAX_LOADING' => 'Indlæser...', + 'AJAX_PROCESSING' => 'Arbejder...', + + 'BACKGROUND' => 'Baggrund', + 'BLOCKS' => 'Blokke', + 'BLOCKS_COPY_FROM' => 'Kopier Blokke', + 'BLOCK_ACTIVE' => 'Aktiv', + 'BLOCK_CHILD_ROUTES_ONLY' => 'Vis kun på underordnede ruter', + 'BLOCK_CHILD_ROUTES_HIDE' => 'Skjul på underordnede ruter', + 'BLOCK_CLASS' => 'CSS Klasse', + 'BLOCK_CLASS_EXPLAIN' => 'Ændre blok udseende med CSS klasser', + 'BLOCK_DESIGN' => 'Udseende', + 'BLOCK_DISPLAY_TYPE' => 'Vis', + 'BLOCK_HIDE_TITLE' => 'Skjul bloktitel?', + 'BLOCK_INACTIVE' => 'Inaktiv', + 'BLOCK_MISSING_TEMPLATE' => 'Mangler påkrævet blok skabelon. Kontakt udvikleren', + 'BLOCK_NOT_FOUND' => 'Ups! Den forespurgte blok service blev ikke fundet', + 'BLOCK_NO_DATA' => 'Ingen data at vise', + 'BLOCK_NO_ID' => 'Ups! Mangler blok-id', + 'BLOCK_PERMISSION' => 'Tilladelse', + 'BLOCK_PERMISSION_ALLOW' => 'Vis til', + 'BLOCK_PERMISSION_DENY' => 'Skjul fra', + 'BLOCK_PERMISSION_EXPLAIN' => 'Brug CTRL + klik for at skifte valg', + 'BLOCK_SHOW_ALWAYS' => 'Altid', + 'BLOCK_STATUS' => 'Status', + 'BLOCK_UPDATED' => 'Bloker indstillinger opdateret', + + 'CANCEL' => 'Annuller', + 'CHILD_ROUTE' => 'Barn', + 'CHILD_ROUTE_EXPLAIN' => '/viewforum.php, /dir/index.php
/viewtopic.php?f=2&t=1
/articles/min-article', + 'CLEAR' => 'Ryd', + 'COPY' => 'Kopiér', + 'COPY_BLOCKS' => 'Kopier Blokke?', + 'COPY_BLOCKS_CONFIRM' => 'Er du sikker på, at du vil kopiere blokke fra en anden side?

Dette vil slette alle eksisterende blokke og deres indstillinger for denne side og erstatte dem med blokke fra den valgte side.', + + 'DEFAULT_LAYOUT_EXPLAIN' => 'Hvis angivet, vil alle webstedssider, hvor du ikke har angivet blokke, arve blokkene fra standardlayoutet. Du kan dog tilsidesætte standard layout for bestemte sider ved hjælp af indstillingerne til højre.', + 'DELETE' => 'Slet', + 'DELETE_ALL_BLOCKS' => 'Slet Alle Blokke', + 'DELETE_ALL_BLOCKS_CONFIRM' => 'Er du sikker på, at du vil slette alle blokke for denne side?', + 'DELETE_BLOCK' => 'Slet Blok', + 'DELETE_BLOCK_CONFIRM' => 'Er du sikker på, at du vil slette denne blok?


Bemærk: Du bliver nødt til at gemme layoutændringerne for at gøre dette permanent.', + + 'EDIT' => 'Rediger', + 'EDIT_BLOCK' => 'Rediger Blok', + 'EXIT_EDIT_MODE' => 'Afslut Redigeringstilstand', + + 'FEED_PROBLEMS' => 'Der opstod et problem med at behandle de(n) angivne rss/atom feed(er)', + 'FEED_URL_MISSING' => 'Angiv mindst et rss/atom feed til at begynde', + 'FIELD_INVALID' => 'Den angivne værdi for feltet “%s” har et ugyldigt format', + 'FIELD_REQUIRED' => '“%s” er et obligatorisk felt', + 'FIELD_TOO_LONG' => 'Den angivne værdi for feltet “%1$s” er for lang. Den maksimale acceptable værdi er %2$d.', + 'FIELD_TOO_SHORT' => 'Den angivne værdi for feltet “%1$s” er for kort. Den mindste acceptable værdi er %2$d.', + + 'HIDE_ALL_BLOCKS' => 'Vis ikke blokke på denne side', + 'HIDE_BLOCK_POSITIONS' => 'Vis ikke blokke for følgende blokpositioner:', + + 'IMAGES' => 'Billeder', + + 'LAYOUT' => 'Layout', + 'LAYOUT_SAVED' => 'Layout gemt!', + 'LAYOUT_SETTINGS' => 'Layout Indstillinger', + 'LEAVE_CONFIRM' => 'Du har nogle ikke-gemte ændringer på denne side. Gem venligst dit arbejde før du går videre', + 'LISTS' => 'Lister', + + 'MAKE_DEFAULT_LAYOUT' => 'Sæt Som Standard Layout', + + 'OR' => 'ELLER', + + 'PARENT_ROUTE' => 'Overordnet', + 'PARENT_ROUTE_EXPLAIN' => '/index.php
/viewforum.php?f=2
/articles', + 'PREDEFINED_CLASSES' => 'Prædefinerede klasser', + + 'REDO' => 'Gendan', + 'REMOVE_DEFAULT_LAYOUT' => 'Fjern Som Standard Layout', + 'REMOVE_STARTPAGE' => 'Fjern Startside', + 'ROUTE_HIDDEN_BLOCKS' => 'Blokke bliver skjult for denne side', + 'ROUTE_HIDDEN_POSITIONS' => 'Blokke skjules for følgende positioner', + 'ROUTE_UPDATED' => 'Sideindstillinger blev opdateret', + + 'SAVE_CHANGES' => 'Gem Ændringer', + 'SAVE_SETTINGS' => 'Gem Indstillinger', + 'SELECT_ICON' => 'Vælg et ikon', + 'SETTINGS' => 'Indstillinger', + 'SETTING_TOO_BIG' => 'Den angivne værdi for indstillingen “%1$s” er for høj. Den maksimale acceptable værdi er %2$d.', + 'SETTING_TOO_LONG' => 'Den angivne værdi for indstillingen “%1$s” er for lang. Den maksimale acceptable længde er %2$d.', + 'SETTING_TOO_LOW' => 'Den angivne værdi for indstillingen “%1$s” er for lav. Den mindste acceptable værdi er %2$d.', + 'SETTING_TOO_SHORT' => 'Den angivne værdi for indstillingen “%1$s” er for kort. Den mindste acceptable længde er %2$d.', + 'SET_STARTPAGE' => 'Sæt Som Startside', + + 'TITLES' => 'Titler', + + 'UPDATE_SIMILAR' => 'Opdater blokke med lignende indstillinger', + 'UNDO' => 'Fortryd', + + 'VIEW_DEFAULT_LAYOUT' => 'Vis/Rediger Standard Layout', + 'VISIT_PAGE' => 'Besøg Side', +)); diff --git a/language/da/blocks_admin.php b/language/da/blocks_admin.php new file mode 100644 index 000000000000..8650e9fc4a42 --- /dev/null +++ b/language/da/blocks_admin.php @@ -0,0 +1,189 @@ + 'Alle Typer', + 'ALL_GROUPS' => 'Alle Grupper', + 'ARCHIVES' => 'Arkiver', + 'AUTO_LOGIN' => 'Tillad auto login?', + 'FILE_MANAGER' => 'Filhåndtering', + 'TOPIC_POST_IDS' => 'Fra Emne/Indlæg Ids', + 'TOPIC_POST_IDS_EXPLAIN' => 'Id(er) af emner/indlæg for at hente vedhæftede filer fra, adskilt af kommaer(,). Angiv, om denne liste er for emne eller indlæg id ovenfor.', + 'TOPIC_POST_IDS_TYPE' => 'Type af ID\'er (nedenfor)', + + // Blocks + 'BLITZE_SITEMAKER_BLOCK_ATTACHMENTS' => 'Vedhæftninger', + 'BLITZE_SITEMAKER_BLOCK_BIRTHDAY' => 'Fødselsdag', + 'BLITZE_SITEMAKER_BLOCK_CUSTOM' => 'Brugerdefineret Blok', + 'BLITZE_SITEMAKER_BLOCK_FEATURED_MEMBER' => 'Fremhævet Medlem', + 'BLITZE_SITEMAKER_BLOCK_FEEDS' => 'RSS/Atom Feeds', + 'BLITZE_SITEMAKER_BLOCK_FORUM_POLL' => 'Forum Afstemning', + 'BLITZE_SITEMAKER_BLOCK_FORUM_TOPICS' => 'Forum Emner', + 'BLITZE_SITEMAKER_BLOCK_GOOGLE_MAPS' => 'Google Maps', + 'BLITZE_SITEMAKER_BLOCK_POPULAR_TOPICS' => 'Populære Emner', + 'BLITZE_SITEMAKER_BLOCK_LINKS' => 'Links', + 'BLITZE_SITEMAKER_BLOCK_LOGIN' => 'Log På Boks', + 'BLITZE_SITEMAKER_BLOCK_MEMBERS' => 'Medlemmer', + 'BLITZE_SITEMAKER_BLOCK_MEMBER_MENU' => 'Medlems Menu', + 'BLITZE_SITEMAKER_BLOCK_MENU' => 'Menu', + 'BLITZE_SITEMAKER_BLOCK_MYBOOKMARKS' => 'Mine Bogmærker', + 'BLITZE_SITEMAKER_BLOCK_RECENT_TOPICS' => 'Seneste Emner', + 'BLITZE_SITEMAKER_BLOCK_STATS' => 'Statistik', + 'BLITZE_SITEMAKER_BLOCK_STYLE_SWITCHER' => 'Stil Skifter', + 'BLITZE_SITEMAKER_BLOCK_WHATS_NEW' => 'Hvad Er Nyt?', + 'BLITZE_SITEMAKER_BLOCK_WHOIS' => 'Hvem er online', + 'BLITZE_SITEMAKER_BLOCK_WORDGRAPH' => 'Wordgraph', + + // block views + 'BLOCK_VIEW' => 'Blokér Visning', + 'BLOCK_VIEW_BASIC' => 'Grundlæggende', + 'BLOCK_VIEW_BOXED' => 'Boks', + 'BLOCK_VIEW_DEFAULT' => 'Standard', + 'BLOCK_VIEW_SIMPLE' => 'Simpel', + + 'CACHE_DURATION' => 'Cache varighed', + 'CONTEXT' => 'Kontekst', + 'CSS_SCRIPTS' => 'CSS Scripts', + 'CUSTOM_PROFILE_FIELDS' => 'Brugerdefinerede Profilfelter', + + 'DATE_RANGE' => 'Date Range', + 'DISPLAY_PREVIEW' => 'Vis Eksempelvisning?', + + 'EDIT_ME' => 'Rediger mig venligst', + 'ENABLE_TOPIC_TRACKING' => 'Aktivér emnesporing?', + 'ENABLE_TOPIC_TRACKING_EXPLAIN' => 'Hvis aktiveret, vil ulæste emner blive angivet, men blokkens resultater vil ikke blive cachet (anbefales ikke)', + 'EXCLUDE_TOO_MANY_WORDS' => 'Du har indtastet for mange ord til at ekskludere. Det maksimale antal tegn er 255, du har indtastet %s.', + 'EXCLUDE_WORDS' => 'Udeluk ord', + 'EXCLUDE_WORDS_EXPLAIN' => 'Liste over de ord, du gerne vil udelukke fra ordgrafen adskilt af et komma (,). Maksimum 255 tegn.', + 'EXPANDED' => 'Udvidet', + 'EXTENSION_GROUP' => 'Udvidelse Gruppe', + + 'FEATURED_MEMBER_IDS' => 'Bruger IDer', + 'FEATURED_MEMBER_IDS_EXPLAIN' => 'Kommasepareret liste over brugere til funktion (gælder kun for fremhævede medlems visningstilstand)', + 'FEED_DATA_PREVIEW' => 'Feed Data', + 'FEED_ITEM_TEMPLATE' => 'Vare Skabelon', + 'FEED_ITEM_TEMPLATE_EXPLAIN' => 'TIPS:
+ Række
    + Rækkevidde
  • Få adgang til feed-data i element variabel e. Emne. itle
  • + jórna
  • Skabelon skal være i Twig syntaks
  • + jórna
  • Klik Prøver ovenfor for eksempelskabeloner
  • + jórna
  • Brug get_item_tags($namespace, $tag) for at få et tag fra det feed, vi ikke leverer. .
    {{ get_item_tags(\'\', \'image\') }}
  • + KAPITEL
  • Brug Twigs json_encode filter for at se indholdet af array e. . {{ get_item_tags(\'\', \'image\')řjson_encode() }}
  • + ř
', + 'FEED_PREVIEW_SOURCE' => 'Kilde', + 'FEED_URL_PLACEHOLDER' => 'http://example.com/rss', + 'FEED_URLS' => 'Feed URL\'er', + 'FIRST_POST_ONLY' => 'Kun Første Indlæg', + 'FIRST_POST_TIME' => 'Første Indlægstid', + 'FORUMS_GET_TYPE' => 'Hent type', + 'FORUMS_MAX_TOPICS' => 'Maksimum emner/indlæg', + 'FORUMS_TITLE_MAX_CHARS' => 'Maksimum tegn pr. titel', + 'FREQUENCY' => 'Frekvens', + 'FULL' => 'Fuld', + 'FULLSCREEN' => 'Fuldskærm', + + 'GET_TYPE' => 'Vis Emne/Indlæg?', + + 'HTML' => 'HTML', + 'HTML_EXPLAIN' => 'Brug dette textarea til at indtaste råt HTML-indhold.
Bemærk venligst, at alt indhold der er publiceret her, vil tilsidesætte det brugerdefinerede blokindhold og den visuelle blokredigering vil ikke være tilgængelig.', + 'HOURS_SHORT' => 'timer', + + 'JS_SCRIPTS' => 'JS Scripts', + + 'LAST_POST_TIME' => 'Sidste Indlægstid', + 'LAST_READ_TIME' => 'Sidste Læste Tid', + 'LIMIT' => 'Grænse', + 'LIMIT_FORUMS' => 'Forum Ider (valgfrit)', + 'LIMIT_FORUMS_EXPLAIN' => 'Indtast hvert forum id adskilt af et komma (,). Hvis angivet, vil kun emner fra angivne fora blive vist.', + 'LIMIT_POST_TIME' => 'Begræns efter indlægstid', + 'LIMIT_POST_TIME_EXPLAIN' => 'Hvis angivet, vil kun emner som er publiceret inden for den angivne periode blive hentet', + + 'MAX_DEPTH' => 'Maksimal dybde', + 'MAX_ITEMS' => 'Maksimalt antal elementer', + 'MAX_MEMBERS' => 'Maks. Medlemmer', + 'MAX_POSTS' => 'Maksimalt antal indlæg', + 'MAX_TOPICS' => 'Maksimalt antal emner', + 'MAX_WORDS' => 'Maksimalt antal ord', + 'MANAGE_MENUS' => 'Administrer Menuer', + 'MAP_COORDINATES' => 'Koordinater', + 'MAP_COORDINATES_EXPLAIN' => 'Indtast koordinater i formularens bredde,længdegrad', + 'MAP_HEIGHT' => 'Højde', + 'MAP_LOCATION' => 'Placering', + 'MAP_TITLE' => 'Titel', + 'MAP_VIEW' => 'Vis', + 'MAP_VIEW_HYBRID' => 'Hybridmajs', + 'MAP_VIEW_MAP' => 'Kort', + 'MAP_VIEW_SATELITE' => 'Satelit', + 'MAP_VIEW_TERRAIN' => 'Terrain', + 'MAP_ZOOM_LEVEL' => 'Zoom Niveau', + 'MEMBERS_DATE' => 'Dato', + 'MENU_NO_ITEMS' => 'Ingen aktive elementer at vise', + 'MINI' => 'Mini', + + 'OR' => 'ELLER', + 'ORDER_BY' => 'Sorter efter', + + 'POLL_FROM_FORUMS' => 'Vis afstemninger fra forummer', + 'POLL_FROM_FORUMS_EXPLAIN' => 'Kun afstemninger fra de valgte fora vil blive vist, så længe ingen emner er angivet ovenfor', + 'POLL_FROM_GROUPS' => 'Vis afstemninger fra grupper', + 'POLL_FROM_GROUPS_EXPLAIN' => 'Kun afstemninger fra medlemmer af de valgte grupper vil blive vist, så længe ingen brugere/er angivet ovenfor', + 'POLL_FROM_TOPICS' => 'Vis afstemninger fra emne(r)', + 'POLL_FROM_TOPICS_EXPLAIN' => 'Id(s) af emner til at hente meningsmålinger fra, adskilt af kommaer(,). Lad feltet stå tomt for at vælge ethvert emne.', + 'POLL_FROM_USERS' => 'Vis afstemninger fra bruger(e)', + 'POLL_FROM_USERS_EXPLAIN' => 'Id(s) af brugere(r) hvis meningsmålinger du gerne vil vise, adskilt af kommaer(,). Efterlad blank for at vælge meningsmålinger fra enhver bruger.', + 'POSTS_TITLE_LIMIT' => 'Maksimum # tegn for post titel', + 'PREVIEW_MAX_CHARS' => 'Antal tegn der skal forhåndsvises', + + 'QUERY_TYPE' => 'Visningstilstand', + + 'ROTATE_DAILY' => 'Dagligt', + 'ROTATE_HOURLY' => 'Time', + 'ROTATE_MONTHLY' => 'Månedligt', + 'ROTATE_PAGELOAD' => 'Side indlæsning', + 'ROTATE_WEEKLY' => 'Ugentlig', + + 'SAMPLES' => 'Prøver', + 'SCRIPTS' => 'Scripts', + 'SELECT_FORUMS' => 'Vælg fora', + 'SELECT_FORUMS_EXPLAIN' => 'Vælg de fora, hvorfra emner/indlæg skal vises. Lad feltet stå tomt for at vælge mellem alle fora', + 'SELECT_MENU' => 'Vælg Menu', + 'SELECT_PROFILE_FIELDS' => 'Vælg profilfelter', + 'SELECT_PROFILE_FIELDS_EXPLAIN' => 'Kun de valgte profilfelter vil blive vist, hvis de er tilgængelige.', + 'SHOW_FIRST_POST' => 'Første Indlæg', + 'SHOW_HIDE_ME' => 'Vil du skjule online-status?', + 'SHOW_LAST_POST' => 'Sidste Indlæg', + 'SHOW_MEMBER_MENU' => 'Vis brugermenu?', + 'SHOW_MEMBER_MENU_EXPLAIN' => 'Erstat login-boks med brugermenuen, hvis brugeren er logget ind', + 'SHOW_WORD_COUNT' => 'Vis antal ord?', + + 'TEMPLATE' => 'Skabelon', + 'TOPIC_TITLE_LIMIT' => 'Maksimum # tegn for emnetitel', + 'TOPIC_TYPE' => 'Emne Type', + 'TOPIC_TYPE_EXPLAIN' => 'Vælg de emnetyper du vil vise. Efterlad felterne ikke markerede for at vælge fra alle emnetyper', + 'TOPICS_LOOK_BACK' => 'Se tilbage', + 'TOPICS_ONLY' => 'Emner kun?', + 'TOPICS_PER_PAGE' => 'Pr. side', + + 'WORD_MAX_SIZE' => 'Maksimal skriftstørrelse', + 'WORD_MIN_SIZE' => 'Mindste skriftstørrelse', +)); diff --git a/language/da/common.php b/language/da/common.php new file mode 100644 index 000000000000..016b996f3cd1 --- /dev/null +++ b/language/da/common.php @@ -0,0 +1,97 @@ + 'Al Tid', + + 'BLOCK_TITLE' => 'Blok Titel', + + 'CHANGE_ME' => 'Ændre Mig', + + 'DAILY_MEMBER' => 'Medlem af dagen', + + 'FEATURED_MEMBER' => 'Fremhævet Medlem', + 'FEATURED_MEMBERLIST' => 'Fremhævede medlemmers liste', + 'FEEDS' => 'Feeds', + 'FORUM_ANNOUNCEMENTS' => 'Forum Meddelelser', + 'FORUM_GLOBAL_ANNOUNCEMENTS' => 'Globale Forum Meddelelser', + 'FORUM_RECENT_POSTS' => 'Seneste Forum Indlæg', + 'FORUM_RECENT_TOPICS' => 'Seneste Debatforumemner', + 'FORUM_STICKY_POSTS' => 'Seneste Klæbrige Indlæg', + + 'HELP' => 'Hjælp', + 'HOURLY_MEMBER' => 'Medlem af timen', + + 'GOOGLE_MAP' => 'Google Map', + + 'JOIN_DATE' => 'Tilmeldings Dato', + + 'LAST_POST_BY_AUTHOR' => 'Seneste indlæg af', + 'LAST_VISITED' => 'Sidst Besøgte', + 'LINKS' => 'Links', + + 'MCP_SITEMAKER_CONTENT' => 'Indhold', + 'MEMBERS_DATE' => 'Dato', + 'MENU' => 'Menu', + 'MONTHLY_MEMBER' => 'Medlem af måneden', + 'MOST_TENURED' => 'Mest Tenured', + 'MY_BOOKMARKS' => 'Mine Bogmærker', + + 'NO_BOOKMARKED_TOPICS' => 'Du har ikke bookmarked nogen emner', + 'NO_NEW_TOPICS' => 'Der er ingen nye emner at vise', + + 'POLL' => 'Afstemning', + 'POPULAR_TOPICS' => 'Populære Emner', + 'POSTS_MEMBER' => 'Top Plakat', + 'PROCESSING' => 'behandler...', + + 'QTYPE_POSTS' => 'Tillykke til:', + 'QTYPE_RECENT' => 'Venligst velkommen til vores nyeste medlem:', + + 'RECENT_BOTS' => 'Seneste Søgemaskiner', + 'RECENT_MEMBER' => 'Seneste Medlem', + 'RECENT_MEMBERS' => 'Seneste Medlemmer', + + 'SESSION_HIDE_ME' => 'Skjul Mig', + 'SM_NAVIGATION' => 'Navigation', + 'SM_TOGGLE_DROPDOWN' => 'Skift rullemenu', + 'STYLE_SWITCHER' => 'Stil Skifter', + + 'THIS_MONTH' => 'Denne Måned', + 'THIS_WEEK' => 'Denne Uge', + 'THIS_YEAR' => 'Dette År', + 'TODAY' => 'Idag', + 'TOPICS_LAST_READ' => 'Seneste Læste Emner', + 'TOPIC_LAST_READ' => 'Sidst læst %s', + 'TOP_POSTERS' => 'Top Plakater', + + 'UCP_SITEMAKER_CONTENT' => 'Mine Ting', + + 'VIEW_DETAILS' => 'Vis Detaljer', + 'VIEW_USER_PROFILE' => 'Alt omkring %s', + + 'WEEKLY_MEMBER' => 'Medlem af ugen', + 'WELCOME' => 'Velkommen', + 'WHATS_NEW' => 'Hvad Er Nyt?', + 'WORDGRAPH' => 'Wordgraph', +)); diff --git a/language/da/css_presets.php b/language/da/css_presets.php new file mode 100644 index 000000000000..227340b2d932 --- /dev/null +++ b/language/da/css_presets.php @@ -0,0 +1,107 @@ + 'Pil liste markør', + 'LIST_CIRCLE' => 'Cirkel liste markør', + 'LIST_DISC' => 'Kugleliste markør', + 'LIST_SQUARE' => 'Kvadrat liste markør', + 'LIST_NUMBERED' => 'Nummereret liste', + 'LIST_NUMBERED_ALPHABET' => 'Nummereret med alfabet', + 'LIST_NUMBERED_NESTED' => 'Nummereret med underafsnit', + 'LIST_NUMBERED_ROMAN' => 'Nummereret med romertal', + 'LIST_NUMBERED_ZERO' => 'Nummereret med førende nul', + 'LIST_INLINE' => 'Inline liste', + 'LIST_INLINE_SEP' => 'Kommasepareret liste', + 'LIST_REVERSE' => 'Omvendt ordre', + 'LIST_STRIPED' => 'Stribet liste', + 'LIST_STACKED' => 'Stablet liste', + 'LIST_TRIANGLE' => 'Trekant', + 'LIST_HYPHEN' => 'Hyphen', + 'LIST_PLUS' => 'Plus', + 'LIST_SPADE' => 'Spade', + 'LIST_CLUB' => 'Klub', + 'LIST_DIAMOND' => 'Diamant', + 'LIST_HEART' => 'Hjerte', + 'LIST_STAR' => 'Stjerne', + 'LIST_CHECK' => 'Tjek', + 'LIST_SNOWFLAKE' => 'Snefnug', + 'LIST_MUSIC' => 'Musik', + 'LIST_AUTOWIDTH' => 'Auto width', + 'LIST_FIT_CONTENT' => 'Tilpas indhold', + 'LIST_2COLS' => '2 kolonneliste', + 'LIST_3COLS' => '3 kolonner liste', + 'LIST_4COLS' => '4 kolonner liste', + 'LIST_5COLS' => '5 kolonner liste', + 'LIST_X_DIVIDER_DOTTED' => 'Vandret punkteret skillevæg', + 'LIST_X_DIVIDER_LINE' => 'Vandret linjeskillevæg', + 'LIST_Y_DIVIDER_DOTTED' => 'Lodret punkteret skillevæg', + 'LIST_Y_DIVIDER_LINE' => 'Lodret linjedeler', + + 'IMAGE_SMALL' => 'Lille billede', + 'IMAGE_MEDIUM' => 'Mellem billede', + 'IMAGE_LARGE' => 'Stort billede', + 'IMAGE_FULL_WIDTH' => 'Fuld bredde billede', + 'IMAGE_ALIGN_LEFT' => 'Flydende billede til venstre', + 'IMAGE_ALIGN_RIGHT' => 'Flydende billede højre', + 'IMAGE_CIRCLE' => 'Cirkulært billede', + 'IMAGE_ROUNDED' => 'Afrundet billede', + 'IMAGE_BORDER' => 'Kant billede', + 'IMAGE_BORDER_PADDING' => 'Image border padding', + 'IMAGE_RATIO_SQUARE' => 'Firkantet Billede', + 'IMAGE_RATIO_4_BY_3' => '4 efter 3 billede', + 'IMAGE_RATIO_16_BY_9' => '16 af 9 billede', + + 'RESPONSIVE_SHOW' => 'Vis kun på små enheder', + 'RESPONSIVE_HIDE' => 'Skjul på små enheder', + + 'ALIGN_LEFT' => 'Venstrejusteret tekst', + 'ALIGN_CENTER' => 'Centreret tekst', + 'ALIGN_RIGHT' => 'Højrejusteret tekst', + 'NO_PADDING' => 'No padding', + 'LABEL' => 'Etiket', + 'BADGE' => 'Mærke', + 'PRIMARY_COLOR' => 'Primær farve', + 'SECONDARY_COLOR' => 'Sekundær farve', + 'GRAYSCALE_COLOR' => 'Grayscale', + 'INFO_COLOR' => 'Info', + 'SUCCESS_COLOR' => 'Succes', + 'WARNING_COLOR' => 'Advarsel', + 'DANGER_COLOR' => 'Fare', +)); diff --git a/language/da/exceptions.php b/language/da/exceptions.php new file mode 100644 index 000000000000..5563e0aa9ef9 --- /dev/null +++ b/language/da/exceptions.php @@ -0,0 +1,49 @@ + 'Obligatorisk felt mangler', + 'EXCEPTION_INVALID_ACTION' => 'Handlingen findes ikke', + 'EXCEPTION_INVALID_ARGUMENT' => 'Ugyldigt argument angivet for `%1$s`. Årsag: %2$s', + 'EXCEPTION_INVALID_DATA_TYPE' => 'Den angivne værdi er af en uventet datatype', + 'EXCEPTION_INVALID_ENTITY' => 'Den leverede enhed er af en uventet enhedsklasse', + 'EXCEPTION_INVALID_PROPERTY' => 'Den forespurgte egenskab findes ikke', + 'EXCEPTION_OUT_OF_BOUNDS' => 'Den forespurgte `%1$s` findes ikke', + 'EXCEPTION_SERVICE_NOT_FOUND' => 'Den anmodede service blev ikke fundet', + 'EXCEPTION_UNEXPECTED_VALUE' => 'Den forespurgte handling `%1$s` kunne ikke udføres. Årsag: %2$s', +)); diff --git a/language/da/ext.php b/language/da/ext.php new file mode 100644 index 000000000000..70210c62f75b --- /dev/null +++ b/language/da/ext.php @@ -0,0 +1,42 @@ + 'The phpBB Image directory is not writable. Please change the permissions to writable by all (777 or - rwxrwxrwx within your FTP Client) (Automatic Copy)', + 'PHPBB_VERSION_UNMET' => 'Denne udvidelse kræver mindst phpBB %s', +)); diff --git a/language/da/feed_fields.php b/language/da/feed_fields.php new file mode 100644 index 000000000000..8b5ee3e19c92 --- /dev/null +++ b/language/da/feed_fields.php @@ -0,0 +1,108 @@ + 'forfatter', + 'AUTHORS' => 'forfattere (array)', + 'BITRATE' => 'bitrate', + 'CAPTIONS' => 'billedtekster', + 'CATEGORIES' => 'kategorier (array)', + 'CATEGORY' => 'kategori', + 'CHANNELS' => 'kanaler', + 'CONTENT' => 'indhold', + 'CONTRIBUTOR' => 'bidragyder', + 'CONTRIBUTORS' => 'bidragsydere (array)', + 'COPYRIGHT' => 'ophavsret', + 'CREDITS' => 'kreditter', + 'DATE' => 'dato', + 'DESCRIPTION' => 'beskrivelse', + 'DURATION' => 'varighed', + 'ENCLOSURE' => 'anlæggelse', + 'ENCLOSURES' => 'anlæg (array)', + 'EXPRESSION' => 'udtryk', + 'FEED' => 'feed', + 'FRAMERATE' => 'framerate', + 'GMDATE' => 'GM dato', + 'HANDLER' => 'handler', + 'HASHES' => 'hasher', + 'HEIGHT' => 'højde', + 'ID' => 'id', + 'IMAGE_HEIGHT' => 'billede højde', + 'IMAGE_LINK' => 'link til billede', + 'IMAGE_TITLE' => 'billede titel', + 'IMAGE_URL' => 'billede url', + 'IMAGE_WIDTH' => 'billedbredde', + 'ITEMS' => 'varer', + 'JAVASCRIPT' => 'javascript', + 'KEYWORDS' => 'emneord', + 'LABEL' => 'etiket', + 'LANG' => 'lang', + 'LATITUDE' => 'breddegrad', + 'LENGTH' => 'længde', + 'LINK' => 'link', + 'LINKS' => 'links', + 'LONGITUDE' => 'længdegrad', + 'MEDIUM' => 'medium', + 'NAME' => 'navn', + 'PERMALINK' => 'permalink', + 'PLAYER' => 'spiller', + 'RATINGS' => 'Bedømmelser', + 'RELATIONSHIP' => 'forhold', + 'RESTRICTIONS' => 'begrænsninger (array)', + 'SAMPLINGRATE' => 'prøveudtagningsprocent', + 'SCHEME' => 'skema', + 'SOURCE' => 'kilde', + 'TERM' => 'term', + 'THUMBNAILS' => 'thumbnails', + 'TITLE' => 'titel', + 'TYPE' => 'type', + 'UPDATED_DATE' => 'opdateret dato', + 'UPDATED_GMDATE' => 'opdateret GM dato', + 'VALUE' => 'værdi', + 'WIDTH' => 'width', +)); diff --git a/language/da/icons.php b/language/da/icons.php new file mode 100644 index 000000000000..ab2e74f09f8e --- /dev/null +++ b/language/da/icons.php @@ -0,0 +1,71 @@ + 'Tilgængelighed', + 'ICON_ARROWS' => 'Pile', + 'ICON_BRAND' => 'Mærke', + 'ICON_CHART' => 'Diagram', + 'ICON_CURRENCY' => 'Valuta', + 'ICON_DIRECTIONAL' => 'Retningslinjer', + 'ICON_FILE_TYPE' => 'Filtype', + 'ICON_FORM_CONTROL' => 'Formular Kontrol', + 'ICON_GENDER' => 'Køn', + 'ICON_HAND' => 'Hånd', + 'ICON_MEDICAL' => 'Medicinsk', + 'ICON_PAYMENT' => 'Betaling', + 'ICON_SPINNER' => 'Spinner', + 'ICON_TEXT_EDITOR' => 'Tekst Editor', + 'ICON_TRANSPORTATION' => 'Transport', + 'ICON_VIDEO_PLAYER' => 'Videoafspiller', + 'ICON_WEB_APPLICATION' => 'Web Applikation', + + 'ICON_COLOR' => 'Farve', + 'ICON_DEFAULT' => 'Standard', + 'ICON_FLIP_BOTH' => 'Vend Begge', + 'ICON_FLIP_HORIZONTAL' => 'Vend Vandret', + 'ICON_FLIP_VERTICAL' => 'Vend Lodret', + 'ICON_FLOAT' => 'Flydende', + 'ICON_FLOAT_LEFT' => 'Venstre', + 'ICON_FLOAT_RIGHT' => 'Højre', + 'ICON_FONT' => 'Font Icons', + 'ICON_INSERT_UPDATE' => 'Insert/Update', + 'ICON_MISC' => 'Diverse', + 'ICON_MISC_BORDERED' => 'Kant', + 'ICON_MISC_FIXED_WIDTH' => 'Fast Bredde', + 'ICON_MISC_PULSE' => 'Puls', + 'ICON_MISC_SPINNING' => 'Spinning', + 'ICON_ROTATION' => 'Rotation', + 'ICON_ROTATE_90' => '90°', + 'ICON_ROTATE_180' => '180°', + 'ICON_ROTATE_270' => '270°', + 'ICON_SIZE' => 'Størrelse', + 'ICON_SIZE_LG' => 'Større', + 'ICON_SIZE_SM' => 'Lille', + 'ICON_SIZE_2X' => '2x', + 'ICON_SIZE_3X' => '3x', + 'ICON_SIZE_4X' => '4x', + 'ICON_SIZE_5X' => '5x', + + 'NO_ICON' => 'Intet Ikon', +)); diff --git a/language/da/info_acp_menus.php b/language/da/info_acp_menus.php new file mode 100644 index 000000000000..80ac76a79b42 --- /dev/null +++ b/language/da/info_acp_menus.php @@ -0,0 +1,92 @@ + 'Menu', + 'ACP_MENU_MANAGE' => 'Menu Håndtering', + 'ACP_MENU_MANAGE_EXPLAIN' => 'Her kan du oprette og administrere menuer til dit websted', + 'ADD_BULK_MENU' => 'Masse Tilføj Menupunkter', + 'ADD_BULK_MENU_EXPLAIN' => 'Tilføj flere menupunkter på én gang.
- Placer hvert element på en separat linje
- Brug Tab -tasten til at indrykke elementer til at repræsentere relationer mellem forældre og barn
- Indtast element og URL som så: Hjemme index.php', + 'ADD_MENU' => 'Tilføj Menu', + 'ADD_MENU_ITEM' => 'Tilføj Menupunkt', + 'ADD_ITEM' => 'Tilføj Nyt Element', + 'AJAX_PROCESSING' => 'Arbejder', + + 'CHANGE_ME' => 'Ændre Mig', + + 'DELETE_ITEM' => 'Slet Element', + 'DELETE_KIDS' => 'Slet Gren', + 'DELETE_MENU' => 'Slet Menu', + 'DELETE_MENU_CONFIRM' => 'Er du sikker på, at du vil slette denne menu?
Dette vil slette menuen og alle dens elementer', + 'DELETE_MENU_ITEM' => 'Slet Element', + 'DELETE_MENU_ITEM_CONFIRM' => 'Er du sikker på du vil slette dette menupunkt?', + 'DELETE_SELECTED' => 'Slet Valgte', + + 'EDIT_ITEM' => 'Rediger Element', + + 'ITEM_ACTIVE' => 'Aktiv', + 'ITEM_INACTIVE' => 'Inaktiv', + 'ITEM_PARENT' => 'Overordnet', + 'ITEM_TITLE' => 'Element Titel', + 'ITEM_TITLE_EXPLAIN' => 'Sæt som ’-’ til skillevæg', + 'ITEM_TARGET' => 'Item Target', + 'ITEM_URL' => 'Vare URL', + 'ITEM_URL_EXPLAIN' => '- Efterlad tom for overskrifter
- Eksterne websteder skal begynde med http(s)://, ftp://, //, etc', + + 'MENU_ITEMS' => 'Menupunkter', + + 'NO_MENU_ITEMS' => 'Ingen menupunkter er blevet oprettet', + 'NO_PARENT' => 'Ingen Overordnet', + + 'PROCESSING_ERROR' => 'Fejl under behandling', + + 'REBUILD_TREE' => 'Genopbyg Træ', + 'REQUIRED' => 'Påkrævet', + 'REQUIRED_FIELDS' => '* Obligatoriske felter', + + 'SAVE_CHANGES' => 'Gem Ændringer', + 'SAVE' => 'Gem', + 'SELECT_ALL' => 'Vælg Alle', + + 'TARGET_BLANK' => 'Tom Side', + 'TARGET_PARENT' => 'Overordnet', + + 'UNSAVED_CHANGES' => 'Du har ugemte ændringer', + + 'VISIT_PAGE' => 'Besøg Side', +)); diff --git a/language/da/info_acp_settings.php b/language/da/info_acp_settings.php new file mode 100644 index 000000000000..3438f5eec429 --- /dev/null +++ b/language/da/info_acp_settings.php @@ -0,0 +1,74 @@ + 'SiteMaker', + 'ACP_SM_SETTINGS' => 'Indstillinger', + + 'BLOCKS_CLEANUP' => 'Blokke Oprydning', + 'BLOCKS_CLEANUP_EXPLAIN' => 'Følgende elementer blev fundet ikke længere at eksistere eller utilgængelige, og du kan derfor slette alle de blokke, der er knyttet til dem. Vær opmærksom på, at nogle af disse kan være falske positive', + 'BLOCKS_CLEANUP_BLOCKS' => 'Ugyldige blokke (f.eks. fra afinstallerede udvidelser):', + 'BLOCKS_CLEANUP_ROUTES' => 'Utilgængelig/ødelagte Sider:', + 'BLOCKS_CLEANUP_STYLES' => 'Uninstalled Styles (ids):', + 'BLOCKS_CLEANUP_SUCCESS' => 'Blokke renset sucessfully', + + 'FORUM_INDEX_SETTINGS' => 'Forum Indeks Indstillinger', + 'FORUM_INDEX_SETTINGS_EXPLAIN' => 'Disse indstillinger gælder kun, når der ikke er defineret nogen startside', + + 'HIDE' => 'Skjul', + 'HIDE_BIRTHDAY' => 'Skjul sektion for fødselsdag', + 'HIDE_LOGIN' => 'Skjul login-boks', + 'HIDE_ONLINE' => 'Skjul Whos online sektion', + + 'LAYOUT_BLOG' => 'Blog', + 'LAYOUT_CUSTOM' => 'Tilpasset', + 'LAYOUT_HOLYGRAIL' => 'Hellig Grå', + 'LAYOUT_PORTAL' => 'Portal', + 'LAYOUT_PORTAL_ALT' => 'Portal (alt)', + 'LAYOUT_SETTINGS' => 'Layout Indstillinger', + + 'LOG_DELETED_BLOCKS_FOR_STYLE' => 'Sitemaker blokke slettet for manglende stil med id %s', + 'LOG_DELETED_BLOCKS_FOR_ROUTE' => 'Sitemaker blokke slettet for brudte sider:
%s', + 'LOG_DELETED_BLOCKS' => 'Ugyldig Sitemaker blokke slettet:
%s', + + 'NAVIGATION_SETTINGS' => 'Indstillinger For Navigation', + + 'SETTINGS_SAVED' => 'Dine indstillinger er blevet gemt', + 'SHOW' => 'Vis', + 'SHOW_FORUM_NAV' => 'Vis \'Forum\' i navigationslinjen?', + 'SHOW_FORUM_NAV_EXPLAIN' => 'Når en side er indstillet som startside i stedet for forummets indeks, skal vi vise \'Forum\' i navigationslinjen', + 'SHOW_FORUM_NAV_WITH_ICON' => 'Ja - med ikon:', +]); diff --git a/language/da/navbar_manager.php b/language/da/navbar_manager.php new file mode 100644 index 000000000000..de93dd847676 --- /dev/null +++ b/language/da/navbar_manager.php @@ -0,0 +1,79 @@ + 'Aktivt Element', + 'BORDER' => 'Border', + 'BORDER_COLOR' => 'Kant Farve', + 'BORDER_RADIUS' => 'Kant Radius', + 'BORDER_WIDTH' => 'Border Width', + 'BOTTOM' => 'Bund', + 'BOTTOM_LEFT' => 'Nederst Til Venstre', + 'BOTTOM_RIGHT' => 'Nederst Til Højre', + 'CAPITALIZE' => 'Kapitalisér', + 'COLOR' => 'Farve', + 'DIVIDERS' => 'Dividere', + 'END' => 'Slut', + 'GRADIENT' => 'Overgang', + 'HEADERS' => 'Overskrifter', + 'HOVER' => 'Hover', + 'LEFT' => 'Venstre', + 'LOWERCASE' => 'Små', + 'MARGIN' => 'Margen', + 'NAVBAR' => 'Navbjælke', + 'NAVBAR_MENU' => 'Navbar menu', + 'NAVBAR_DROPDOWN' => 'Rulleliste', + 'NAVBAR_LOCATION' => 'Placering', + 'NAVBAR_LOCATION_OPTION' => 'Placering #%s', + 'NAVBAR_TOP_MENU' => 'Top- Menu', + 'NONE' => 'Ingen', + 'PADDING' => 'Padding', + 'RESPONSIVE_TOGGLE' => 'Responsivt Skifte', + 'RESPONSIVE_TOGGLE_EXPLAIN' => 'Kan kun ses på små (mobil) skærme', + 'RIGHT' => 'Højre', + 'SAVE' => 'Gem', + 'SIZE' => 'Størrelse', + 'START' => 'Start', + 'TEXT' => 'Tekst', + 'TOP' => 'Øverst', + 'TOP_LEFT' => 'Øverst Til Venstre', + 'TOP_RIGHT' => 'Øverst Til Højre', + 'TRANSFORM' => 'Transformér', + 'UPPERCASE' => 'Store', +)); diff --git a/language/da/permissions_sitemaker.php b/language/da/permissions_sitemaker.php new file mode 100644 index 000000000000..8cb69e12d050 --- /dev/null +++ b/language/da/permissions_sitemaker.php @@ -0,0 +1,45 @@ + '[ SiteMaker ] Kan administrere indstillinger', + 'ACL_A_SM_MANAGE_BLOCKS' => '[ SiteMaker ] Kan administrere blokke', + 'ACL_A_SM_MANAGE_MENUS' => '[ SiteMaker ] Kan administrere menuer', +)); diff --git a/language/de/block_manager.php b/language/de/block_manager.php new file mode 100644 index 000000000000..a004a91f7814 --- /dev/null +++ b/language/de/block_manager.php @@ -0,0 +1,123 @@ + '*Drag and Drop Blöcke', + 'AJAX_ERROR' => 'Hoppla! Bei der Bearbeitung Ihrer Anfrage ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.', + 'AJAX_LOADING' => 'Wird geladen...', + 'AJAX_PROCESSING' => 'Arbeiten...', + + 'BACKGROUND' => 'Hintergrund', + 'BLOCKS' => 'Blöcke', + 'BLOCKS_COPY_FROM' => 'Blöcke kopieren', + 'BLOCK_ACTIVE' => 'Aktiv', + 'BLOCK_CHILD_ROUTES_ONLY' => 'Nur auf untergeordneten Routen anzeigen', + 'BLOCK_CHILD_ROUTES_HIDE' => 'Auf untergeordneten Routen ausblenden', + 'BLOCK_CLASS' => 'CSS-Klasse', + 'BLOCK_CLASS_EXPLAIN' => 'Ändern der Blockansicht mit CSS-Klassen', + 'BLOCK_DESIGN' => 'Erscheinung', + 'BLOCK_DISPLAY_TYPE' => 'Anzeige', + 'BLOCK_HIDE_TITLE' => 'Blocktitel ausblenden?', + 'BLOCK_INACTIVE' => 'Inaktiv', + 'BLOCK_MISSING_TEMPLATE' => 'Erforderliche Blockvorlage fehlt. Bitte kontaktieren Sie den Entwickler', + 'BLOCK_NOT_FOUND' => 'Hoppla! Der angeforderte Blockservice wurde nicht gefunden', + 'BLOCK_NO_DATA' => 'Keine Daten zum Anzeigen', + 'BLOCK_NO_ID' => 'Hoppla! Fehlende Blocknummer', + 'BLOCK_PERMISSION' => 'Berechtigung', + 'BLOCK_PERMISSION_ALLOW' => 'Zeigen zu', + 'BLOCK_PERMISSION_DENY' => 'Verstecke vor', + 'BLOCK_PERMISSION_EXPLAIN' => 'Benutze STRG + Klick, um die Auswahl umzuschalten', + 'BLOCK_SHOW_ALWAYS' => 'Immer', + 'BLOCK_STATUS' => 'Status', + 'BLOCK_UPDATED' => 'Blockeinstellungen erfolgreich aktualisiert', + + 'CANCEL' => 'Abbrechen', + 'CHILD_ROUTE' => 'Kind', + 'CHILD_ROUTE_EXPLAIN' => '/viewforum.php, /dir/index.php
/viewtopic.php?f=2&t=1
/articles/my-article', + 'CLEAR' => 'Leeren', + 'COPY' => 'Kopieren', + 'COPY_BLOCKS' => 'Blöcke kopieren?', + 'COPY_BLOCKS_CONFIRM' => 'Bist du sicher, dass du Blöcke von einer anderen Seite kopieren möchtest?

Dies löscht alle existierenden Blöcke und ihre Einstellungen für diese Seite und ersetzt sie durch die Blöcke der ausgewählten Seite.', + + 'DEFAULT_LAYOUT_EXPLAIN' => 'Wenn gesetzt, werden alle Seitenseiten, für die Sie keine Blöcke angegeben haben, die Blöcke vom Standardlayout erben. Sie können jedoch das Standardlayout für bestimmte Seiten mit den Optionen rechts überschreiben.', + 'DELETE' => 'Löschen', + 'DELETE_ALL_BLOCKS' => 'Alle Blöcke löschen', + 'DELETE_ALL_BLOCKS_CONFIRM' => 'Sind Sie sicher, dass Sie alle Blöcke für diese Seite löschen möchten?', + 'DELETE_BLOCK' => 'Block löschen', + 'DELETE_BLOCK_CONFIRM' => 'Sind Sie sicher, dass Sie diesen Block löschen möchten?


Hinweis: Sie müssen die Layoutänderungen speichern, um dies dauerhaft zu machen.', + + 'EDIT' => 'Bearbeiten', + 'EDIT_BLOCK' => 'Block bearbeiten', + 'EXIT_EDIT_MODE' => 'Bearbeitungsmodus beenden', + + 'FEED_PROBLEMS' => 'Beim Verarbeiten des angegebenen rss/atom feed(s) ist ein Problem aufgetreten', + 'FEED_URL_MISSING' => 'Bitte geben Sie mindestens einen rss/atom-Feed zum Starten ein', + 'FIELD_INVALID' => 'Der angegebene Wert für das Feld “%s” hat ein ungültiges Format', + 'FIELD_REQUIRED' => '“%s” ist ein Pflichtfeld', + 'FIELD_TOO_LONG' => 'Der angegebene Wert für das Feld “%1$s” ist zu lang. Der maximal zulässige Wert ist %2$d.', + 'FIELD_TOO_SHORT' => 'Der angegebene Wert für das Feld “%1$s” ist zu kurz. Der minimale zulässige Wert ist %2$d.', + + 'HIDE_ALL_BLOCKS' => 'Blöcke auf dieser Seite nicht anzeigen', + 'HIDE_BLOCK_POSITIONS' => 'Blöcke für die folgenden Blockpositionen nicht anzeigen:', + + 'IMAGES' => 'Bilder', + + 'LAYOUT' => 'Layout', + 'LAYOUT_SAVED' => 'Layout erfolgreich gespeichert!', + 'LAYOUT_SETTINGS' => 'Layout-Einstellungen', + 'LEAVE_CONFIRM' => 'Sie haben einige ungespeicherte Änderungen an dieser Seite. Bitte speichern Sie Ihre Arbeit bevor Sie fortfahren', + 'LISTS' => 'Listen', + + 'MAKE_DEFAULT_LAYOUT' => 'Als Standardlayout festlegen', + + 'OR' => 'ODER', + + 'PARENT_ROUTE' => 'Elternteil', + 'PARENT_ROUTE_EXPLAIN' => '/index.php
/viewforum.php?f=2
/articles', + 'PREDEFINED_CLASSES' => 'Vordefinierte Klassen', + + 'REDO' => 'Wiederholen', + 'REMOVE_DEFAULT_LAYOUT' => 'Als Standard-Layout entfernen', + 'REMOVE_STARTPAGE' => 'Startseite entfernen', + 'ROUTE_HIDDEN_BLOCKS' => 'Blöcke werden für diese Seite ausgeblendet', + 'ROUTE_HIDDEN_POSITIONS' => 'Blöcke werden für die folgenden Positionen versteckt', + 'ROUTE_UPDATED' => 'Seiteneinstellungen erfolgreich aktualisiert', + + 'SAVE_CHANGES' => 'Änderungen speichern', + 'SAVE_SETTINGS' => 'Einstellungen speichern', + 'SELECT_ICON' => 'Symbol auswählen', + 'SETTINGS' => 'Einstellungen', + 'SETTING_TOO_BIG' => 'Der angegebene Wert für die Einstellung “%1$s” ist zu hoch. Der maximal zulässige Wert ist %2$d.', + 'SETTING_TOO_LONG' => 'Der angegebene Wert für die Einstellung “%1$s” ist zu lang. Die maximal zulässige Länge ist %2$d.', + 'SETTING_TOO_LOW' => 'Der angegebene Wert für die Einstellung “%1$s” ist zu niedrig. Der minimale zulässige Wert ist %2$d.', + 'SETTING_TOO_SHORT' => 'Der angegebene Wert für die Einstellung “%1$s” ist zu kurz. Die minimale zulässige Länge ist %2$d.', + 'SET_STARTPAGE' => 'Als Startseite festlegen', + + 'TITLES' => 'Titel', + + 'UPDATE_SIMILAR' => 'Blöcke mit ähnlichen Einstellungen aktualisieren', + 'UNDO' => 'Rückgängig', + + 'VIEW_DEFAULT_LAYOUT' => 'Standardlayout anzeigen/bearbeiten', + 'VISIT_PAGE' => 'Seite besuchen', +)); diff --git a/language/de/blocks_admin.php b/language/de/blocks_admin.php new file mode 100644 index 000000000000..6ac89eab2f71 --- /dev/null +++ b/language/de/blocks_admin.php @@ -0,0 +1,189 @@ + 'Alle Typen', + 'ALL_GROUPS' => 'Alle Gruppen', + 'ARCHIVES' => 'Archive', + 'AUTO_LOGIN' => 'Automatische Anmeldung erlauben?', + 'FILE_MANAGER' => 'Datei-Manager', + 'TOPIC_POST_IDS' => 'Von Themen/Beitrags-Ids', + 'TOPIC_POST_IDS_EXPLAIN' => 'Id(s) von Themen/Beiträgen, von denen Anhänge abgerufen werden sollen, getrennt durch Kommas(,). Geben Sie an, ob diese Liste für Themen- oder Post-IDs oben ist.', + 'TOPIC_POST_IDS_TYPE' => 'Typ der IDs (unten)', + + // Blocks + 'BLITZE_SITEMAKER_BLOCK_ATTACHMENTS' => 'Anhänge', + 'BLITZE_SITEMAKER_BLOCK_BIRTHDAY' => 'Geburtstag', + 'BLITZE_SITEMAKER_BLOCK_CUSTOM' => 'Eigener Block', + 'BLITZE_SITEMAKER_BLOCK_FEATURED_MEMBER' => 'Empfohlenes Mitglied', + 'BLITZE_SITEMAKER_BLOCK_FEEDS' => 'RSS/Atom-Feeds', + 'BLITZE_SITEMAKER_BLOCK_FORUM_POLL' => 'Umfrage im Forum', + 'BLITZE_SITEMAKER_BLOCK_FORUM_TOPICS' => 'Forenthemen', + 'BLITZE_SITEMAKER_BLOCK_GOOGLE_MAPS' => 'Google Maps', + 'BLITZE_SITEMAKER_BLOCK_POPULAR_TOPICS' => 'Beliebte Themen', + 'BLITZE_SITEMAKER_BLOCK_LINKS' => 'Links', + 'BLITZE_SITEMAKER_BLOCK_LOGIN' => 'Login-Box', + 'BLITZE_SITEMAKER_BLOCK_MEMBERS' => 'Mitglieder', + 'BLITZE_SITEMAKER_BLOCK_MEMBER_MENU' => 'Mitgliedermenü', + 'BLITZE_SITEMAKER_BLOCK_MENU' => 'Menü', + 'BLITZE_SITEMAKER_BLOCK_MYBOOKMARKS' => 'Meine Lesezeichen', + 'BLITZE_SITEMAKER_BLOCK_RECENT_TOPICS' => 'Aktuelle Themen', + 'BLITZE_SITEMAKER_BLOCK_STATS' => 'Statistiken', + 'BLITZE_SITEMAKER_BLOCK_STYLE_SWITCHER' => 'Stil-Umschalter', + 'BLITZE_SITEMAKER_BLOCK_WHATS_NEW' => 'Was ist Neu?', + 'BLITZE_SITEMAKER_BLOCK_WHOIS' => 'Wer ist online', + 'BLITZE_SITEMAKER_BLOCK_WORDGRAPH' => 'Wordgraph', + + // block views + 'BLOCK_VIEW' => 'Blockansicht', + 'BLOCK_VIEW_BASIC' => 'Einfache', + 'BLOCK_VIEW_BOXED' => 'Kisten', + 'BLOCK_VIEW_DEFAULT' => 'Standard', + 'BLOCK_VIEW_SIMPLE' => 'Einfach', + + 'CACHE_DURATION' => 'Cache-Dauer', + 'CONTEXT' => 'Kontext', + 'CSS_SCRIPTS' => 'CSS Scripts', + 'CUSTOM_PROFILE_FIELDS' => 'Benutzerdefinierte Profilfelder', + + 'DATE_RANGE' => 'Date Range', + 'DISPLAY_PREVIEW' => 'Vorschau anzeigen?', + + 'EDIT_ME' => 'Bitte bearbeiten', + 'ENABLE_TOPIC_TRACKING' => 'Themen-Tracking aktivieren?', + 'ENABLE_TOPIC_TRACKING_EXPLAIN' => 'Wenn aktiviert, werden ungelesene Themen angezeigt, aber die Blockergebnisse werden nicht zwischengespeichert (Nicht empfohlen)', + 'EXCLUDE_TOO_MANY_WORDS' => 'Sie haben zu viele Wörter eingegeben, um sie auszuschließen. Die maximal mögliche Anzahl an Zeichen ist 255, Sie haben %s eingegeben.', + 'EXCLUDE_WORDS' => 'Wörter ausschließen', + 'EXCLUDE_WORDS_EXPLAIN' => 'Listet die Wörter auf, die Sie aus dem durch Komma (,) getrennten Wortbild ausschließen möchten. Maximal 255 Zeichen.', + 'EXPANDED' => 'Erweitert', + 'EXTENSION_GROUP' => 'Erweiterungsgruppe', + + 'FEATURED_MEMBER_IDS' => 'Benutzer-IDs', + 'FEATURED_MEMBER_IDS_EXPLAIN' => 'Kommagetrennte Liste der zu aktivierenden Benutzer (gilt nur für den Modus Empfohlene Mitgliederanzeige)', + 'FEED_DATA_PREVIEW' => 'Feed-Daten', + 'FEED_ITEM_TEMPLATE' => 'Artikelvorlage', + 'FEED_ITEM_TEMPLATE_EXPLAIN' => 'TIPS:
+
    +
  • Zugriffsdaten in Artikel Variable e. . itle
  • +
  • Template muss in Twig Syntax
  • +
  • Klicken Sie auf Beispiele oben für Beispielvorlagen
  • +
  • Verwenden Sie get_item_tags($namespace, $tag) , um einen Tag aus dem Feed zu erhalten, den wir nicht zur Verfügung stellen. .
    {{ get_item_tags(\'\', \'image\') }}
  • +
  • Verwenden Sie Twigs json_encode Filter, um den Inhalt des Arrays zu sehen. . {{ get_item_tags(\'\', \'image\')|json_encode() }}
  • +
', + 'FEED_PREVIEW_SOURCE' => 'Quelle', + 'FEED_URL_PLACEHOLDER' => 'http://example.com/rss', + 'FEED_URLS' => 'Feed URLs', + 'FIRST_POST_ONLY' => 'Nur erster Beitrag', + 'FIRST_POST_TIME' => 'Erster Beitrag', + 'FORUMS_GET_TYPE' => 'Typ abrufen', + 'FORUMS_MAX_TOPICS' => 'Maximale Themen/Beiträge', + 'FORUMS_TITLE_MAX_CHARS' => 'Maximale Zeichen pro Titel', + 'FREQUENCY' => 'Frequenz', + 'FULL' => 'Voll', + 'FULLSCREEN' => 'Vollbild', + + 'GET_TYPE' => 'Thema/Beitrag anzeigen?', + + 'HTML' => 'HTML', + 'HTML_EXPLAIN' => 'Benutzen Sie diesen Textbereich, um den HTML-Inhalt in Rohform einzugeben.
Bitte beachten Sie, dass alle hier geposteten Inhalte den benutzerdefinierten Blockinhalt überschreiben und der visuelle Blockeditor nicht verfügbar sein wird.', + 'HOURS_SHORT' => 'std', + + 'JS_SCRIPTS' => 'JS-Skripte', + + 'LAST_POST_TIME' => 'Letzte Beitragszeit', + 'LAST_READ_TIME' => 'Letzte Lese-Zeit', + 'LIMIT' => 'Limit', + 'LIMIT_FORUMS' => 'Forum-Ids (optional)', + 'LIMIT_FORUMS_EXPLAIN' => 'Geben Sie jede Forum-Id durch ein Komma (,) getrennt ein. Wenn gesetzt, werden nur Themen aus bestimmten Foren angezeigt.', + 'LIMIT_POST_TIME' => 'Limit nach Beitragszeit', + 'LIMIT_POST_TIME_EXPLAIN' => 'Wenn gesetzt, werden nur Themen, die innerhalb des angegebenen Zeitraums gepostet werden abgerufen', + + 'MAX_DEPTH' => 'Maximale Tiefe', + 'MAX_ITEMS' => 'Maximale Anzahl von Artikeln', + 'MAX_MEMBERS' => 'Max. Mitglieder', + 'MAX_POSTS' => 'Maximale Anzahl von Beiträgen', + 'MAX_TOPICS' => 'Maximale Anzahl von Themen', + 'MAX_WORDS' => 'Maximale Anzahl Wörter', + 'MANAGE_MENUS' => 'Menüs verwalten', + 'MAP_COORDINATES' => 'Koordinaten', + 'MAP_COORDINATES_EXPLAIN' => 'Geben Sie die Koordinaten im Format Breite, Längengrad ein', + 'MAP_HEIGHT' => 'Höhe', + 'MAP_LOCATION' => 'Standort', + 'MAP_TITLE' => 'Titel', + 'MAP_VIEW' => 'Ansicht', + 'MAP_VIEW_HYBRID' => 'Hybrid', + 'MAP_VIEW_MAP' => 'Karte', + 'MAP_VIEW_SATELITE' => 'Satelite', + 'MAP_VIEW_TERRAIN' => 'Terrain', + 'MAP_ZOOM_LEVEL' => 'Zoomstufe', + 'MEMBERS_DATE' => 'Datum', + 'MENU_NO_ITEMS' => 'Keine aktiven Elemente zum Anzeigen', + 'MINI' => 'Mini', + + 'OR' => 'ODER', + 'ORDER_BY' => 'Sortieren nach', + + 'POLL_FROM_FORUMS' => 'Umfragen von Foren(n) anzeigen', + 'POLL_FROM_FORUMS_EXPLAIN' => 'Nur Umfragen aus den ausgewählten Foren werden angezeigt, solange keine Themen oben angegeben werden', + 'POLL_FROM_GROUPS' => 'Umfragen von Gruppe(n) anzeigen', + 'POLL_FROM_GROUPS_EXPLAIN' => 'Nur Umfragen von Mitgliedern der ausgewählten Gruppen werden angezeigt, solange keine Benutzer oben angegeben sind', + 'POLL_FROM_TOPICS' => 'Umfragen von Theme(n) anzeigen', + 'POLL_FROM_TOPICS_EXPLAIN' => 'Id(s) von Themen, von denen Umfragen abgerufen werden sollen, getrennt durch Kommas(,). Leer lassen um ein Thema auszuwählen.', + 'POLL_FROM_USERS' => 'Umfragen von Benutzer anzeigen', + 'POLL_FROM_USERS_EXPLAIN' => 'Id(e) der Benutzer, deren Umfragen Sie anzeigen möchten, getrennt durch Kommas(,). Lassen Sie leer, um Umfragen von jedem Benutzer auszuwählen.', + 'POSTS_TITLE_LIMIT' => 'Maximale Anzahl der Zeichen für den Beitragstitel', + 'PREVIEW_MAX_CHARS' => 'Anzahl der Zeichen für die Vorschau', + + 'QUERY_TYPE' => 'Anzeigemodus', + + 'ROTATE_DAILY' => 'Täglich', + 'ROTATE_HOURLY' => 'Stunden', + 'ROTATE_MONTHLY' => 'Monatlich', + 'ROTATE_PAGELOAD' => 'Seitenlade', + 'ROTATE_WEEKLY' => 'Wöchentlich', + + 'SAMPLES' => 'Muster', + 'SCRIPTS' => 'Skripte', + 'SELECT_FORUMS' => 'Foren auswählen', + 'SELECT_FORUMS_EXPLAIN' => 'Wählen Sie die Foren aus, aus denen Themen und Beiträge angezeigt werden sollen. Lassen Sie leer, um aus allen Foren auszuwählen', + 'SELECT_MENU' => 'Menü auswählen', + 'SELECT_PROFILE_FIELDS' => 'Profilfelder auswählen', + 'SELECT_PROFILE_FIELDS_EXPLAIN' => 'Wenn vorhanden, werden nur die ausgewählten Profilfelder angezeigt.', + 'SHOW_FIRST_POST' => 'Erster Beitrag', + 'SHOW_HIDE_ME' => 'Online-Status ausblenden?', + 'SHOW_LAST_POST' => 'Letzter Beitrag', + 'SHOW_MEMBER_MENU' => 'Benutzermenü anzeigen?', + 'SHOW_MEMBER_MENU_EXPLAIN' => 'Ersetzen Sie die Login-Box durch das Benutzer-Menü, wenn der Benutzer angemeldet ist', + 'SHOW_WORD_COUNT' => 'Wortzahl anzeigen?', + + 'TEMPLATE' => 'Vorlage', + 'TOPIC_TITLE_LIMIT' => 'Maximale Anzahl der Zeichen für Titel des Themas', + 'TOPIC_TYPE' => 'Thementyp', + 'TOPIC_TYPE_EXPLAIN' => 'Wählen Sie die Thementypen aus, die angezeigt werden sollen. Lassen Sie die Kästchen deaktiviert, um von allen Thementypen auszuwählen', + 'TOPICS_LOOK_BACK' => 'Rückblick', + 'TOPICS_ONLY' => 'Nur Themen?', + 'TOPICS_PER_PAGE' => 'Pro Seite', + + 'WORD_MAX_SIZE' => 'Maximale Schriftgröße', + 'WORD_MIN_SIZE' => 'Minimale Schriftgröße', +)); diff --git a/language/de/common.php b/language/de/common.php new file mode 100644 index 000000000000..a26f686aad3d --- /dev/null +++ b/language/de/common.php @@ -0,0 +1,97 @@ + 'Alle Zeiten', + + 'BLOCK_TITLE' => 'Blocktitel', + + 'CHANGE_ME' => 'Ändere mich', + + 'DAILY_MEMBER' => 'Mitglied des Tages', + + 'FEATURED_MEMBER' => 'Empfohlenes Mitglied', + 'FEATURED_MEMBERLIST' => 'Empfohlene Mitgliederliste', + 'FEEDS' => 'Feeds', + 'FORUM_ANNOUNCEMENTS' => 'Forum-Ankündigungen', + 'FORUM_GLOBAL_ANNOUNCEMENTS' => 'Ankündigungen des globalen Forums', + 'FORUM_RECENT_POSTS' => 'Neueste Forenbeiträge', + 'FORUM_RECENT_TOPICS' => 'Aktuelle Forenthemen', + 'FORUM_STICKY_POSTS' => 'Kürzlich angepinnte Beiträge', + + 'HELP' => 'Hilfe', + 'HOURLY_MEMBER' => 'Mitglied der Stunde', + + 'GOOGLE_MAP' => 'Google Map', + + 'JOIN_DATE' => 'Beitrittsdatum', + + 'LAST_POST_BY_AUTHOR' => 'Letzter Beitrag von', + 'LAST_VISITED' => 'Zuletzt besucht', + 'LINKS' => 'Links', + + 'MCP_SITEMAKER_CONTENT' => 'Inhalt', + 'MEMBERS_DATE' => 'Datum', + 'MENU' => 'Menü', + 'MONTHLY_MEMBER' => 'Mitglied des Monats', + 'MOST_TENURED' => 'Meistgehaltene', + 'MY_BOOKMARKS' => 'Meine Lesezeichen', + + 'NO_BOOKMARKED_TOPICS' => 'Sie haben keine Themen gespeichert', + 'NO_NEW_TOPICS' => 'Es gibt keine neuen Themen anzuzeigen', + + 'POLL' => 'Umfrage', + 'POPULAR_TOPICS' => 'Beliebte Themen', + 'POSTS_MEMBER' => 'Top Poster', + 'PROCESSING' => 'verarbeitet...', + + 'QTYPE_POSTS' => 'Herzlichen Glückwunsch an:', + 'QTYPE_RECENT' => 'Bitte begrüßen Sie unser neuestes Mitglied:', + + 'RECENT_BOTS' => 'Aktuelle Suchmaschinen', + 'RECENT_MEMBER' => 'Letztes Mitglied', + 'RECENT_MEMBERS' => 'Neueste Mitglieder', + + 'SESSION_HIDE_ME' => 'Verstecke mich', + 'SM_NAVIGATION' => 'Navigation', + 'SM_TOGGLE_DROPDOWN' => 'Dropdown-Menü umschalten', + 'STYLE_SWITCHER' => 'Stil-Umschalter', + + 'THIS_MONTH' => 'Diesen Monat', + 'THIS_WEEK' => 'Diese Woche', + 'THIS_YEAR' => 'Dieses Jahr', + 'TODAY' => 'Heute', + 'TOPICS_LAST_READ' => 'Letzte Lese-Themen', + 'TOPIC_LAST_READ' => 'Zuletzt gelesen %s', + 'TOP_POSTERS' => 'Top Poster', + + 'UCP_SITEMAKER_CONTENT' => 'Meine Daten', + + 'VIEW_DETAILS' => 'Details anzeigen', + 'VIEW_USER_PROFILE' => 'Alles rund %s', + + 'WEEKLY_MEMBER' => 'Mitglied der Woche', + 'WELCOME' => 'Begrüßung', + 'WHATS_NEW' => 'Was ist Neu?', + 'WORDGRAPH' => 'Wordgraph', +)); diff --git a/language/de/css_presets.php b/language/de/css_presets.php new file mode 100644 index 000000000000..3a8f8e2a8b1c --- /dev/null +++ b/language/de/css_presets.php @@ -0,0 +1,107 @@ + 'Pfeil-Listenmarker', + 'LIST_CIRCLE' => 'Kreisliste Marker', + 'LIST_DISC' => 'Kugellistenmarker', + 'LIST_SQUARE' => 'Quadratlistenmarker', + 'LIST_NUMBERED' => 'Nummerierte Liste', + 'LIST_NUMBERED_ALPHABET' => 'Mit Alphabet nummeriert', + 'LIST_NUMBERED_NESTED' => 'Nummeriert mit Unterabschnitten', + 'LIST_NUMBERED_ROMAN' => 'Mit römischen Ziffern nummeriert', + 'LIST_NUMBERED_ZERO' => 'Nummeriert mit führender Null', + 'LIST_INLINE' => 'Inline-Liste', + 'LIST_INLINE_SEP' => 'Komma-getrennte Liste', + 'LIST_REVERSE' => 'Reihenfolge umkehren', + 'LIST_STRIPED' => 'Liste gestreift', + 'LIST_STACKED' => 'Stapelliste', + 'LIST_TRIANGLE' => 'Dreieck', + 'LIST_HYPHEN' => 'Hyphen', + 'LIST_PLUS' => 'Plus', + 'LIST_SPADE' => 'Spade', + 'LIST_CLUB' => 'Klub', + 'LIST_DIAMOND' => 'Diamant', + 'LIST_HEART' => 'Herz', + 'LIST_STAR' => 'Stern', + 'LIST_CHECK' => 'Prüfen', + 'LIST_SNOWFLAKE' => 'Schneeflocken', + 'LIST_MUSIC' => 'Musik', + 'LIST_AUTOWIDTH' => 'Auto width', + 'LIST_FIT_CONTENT' => 'Inhalt anpassen', + 'LIST_2COLS' => '2-spaltige Liste', + 'LIST_3COLS' => '3-Spalten Liste', + 'LIST_4COLS' => '4-Spalten Liste', + 'LIST_5COLS' => '5-Spalten Liste', + 'LIST_X_DIVIDER_DOTTED' => 'Horizontal gepunkteter Trenner', + 'LIST_X_DIVIDER_LINE' => 'Horizontale Linientrennung', + 'LIST_Y_DIVIDER_DOTTED' => 'Vertikaler gepunkteter Trenner', + 'LIST_Y_DIVIDER_LINE' => 'Vertikale Linientrennung', + + 'IMAGE_SMALL' => 'Kleines Bild', + 'IMAGE_MEDIUM' => 'Mittleres Bild', + 'IMAGE_LARGE' => 'Großes Bild', + 'IMAGE_FULL_WIDTH' => 'Bild in voller Breite', + 'IMAGE_ALIGN_LEFT' => 'Schwebendes Bild links', + 'IMAGE_ALIGN_RIGHT' => 'Schwebendes Bild rechts', + 'IMAGE_CIRCLE' => 'Kreisbild', + 'IMAGE_ROUNDED' => 'Abgerundete Bild', + 'IMAGE_BORDER' => 'Gesperrtes Bild', + 'IMAGE_BORDER_PADDING' => 'Image border padding', + 'IMAGE_RATIO_SQUARE' => 'Quadratisches Bild', + 'IMAGE_RATIO_4_BY_3' => '4 x 3 Bild', + 'IMAGE_RATIO_16_BY_9' => '16 von 9 Bild', + + 'RESPONSIVE_SHOW' => 'Nur auf kleinen Geräten anzeigen', + 'RESPONSIVE_HIDE' => 'Auf kleinen Geräten ausblenden', + + 'ALIGN_LEFT' => 'Linksgerichteter Text', + 'ALIGN_CENTER' => 'Zentrierter Text', + 'ALIGN_RIGHT' => 'Rechtsgerichteter Text', + 'NO_PADDING' => 'No padding', + 'LABEL' => 'Label', + 'BADGE' => 'Abzeichen', + 'PRIMARY_COLOR' => 'Primäre Farbe', + 'SECONDARY_COLOR' => 'Sekundärfarbe', + 'GRAYSCALE_COLOR' => 'Grayscale', + 'INFO_COLOR' => 'Info', + 'SUCCESS_COLOR' => 'Erfolg', + 'WARNING_COLOR' => 'Warnung', + 'DANGER_COLOR' => 'Gefahr', +)); diff --git a/language/de/exceptions.php b/language/de/exceptions.php new file mode 100644 index 000000000000..dee984caa436 --- /dev/null +++ b/language/de/exceptions.php @@ -0,0 +1,49 @@ + 'Pflichtfeld fehlt', + 'EXCEPTION_INVALID_ACTION' => 'Die Aktion existiert nicht', + 'EXCEPTION_INVALID_ARGUMENT' => 'Ungültiges Argument für `%1$s`. Grund: %2$s', + 'EXCEPTION_INVALID_DATA_TYPE' => 'Der angegebene Wert ist von einem unerwarteten Datentyp', + 'EXCEPTION_INVALID_ENTITY' => 'Die angegebene Entität ist von einer unerwarteten Entitätsklasse', + 'EXCEPTION_INVALID_PROPERTY' => 'Das angeforderte Objekt existiert nicht', + 'EXCEPTION_OUT_OF_BOUNDS' => 'Die angeforderte `%1$s` existiert nicht', + 'EXCEPTION_SERVICE_NOT_FOUND' => 'Der angeforderte Dienst wurde nicht gefunden', + 'EXCEPTION_UNEXPECTED_VALUE' => 'Die angeforderte Aktion `%1$s` konnte nicht ausgeführt werden. Grund: %2$s', +)); diff --git a/language/de/ext.php b/language/de/ext.php new file mode 100644 index 000000000000..16c6193ab3fe --- /dev/null +++ b/language/de/ext.php @@ -0,0 +1,42 @@ + 'Das phpBB Bildverzeichnis ist nicht beschreibbar. Bitte ändern Sie die Schreibrechte für alle (777 oder -rwxrwxrwxrwx innerhalb Ihres FTP-Clients)', + 'PHPBB_VERSION_UNMET' => 'Diese Erweiterung benötigt mindestens phpBB %s', +)); diff --git a/language/de/feed_fields.php b/language/de/feed_fields.php new file mode 100644 index 000000000000..10fbb7433812 --- /dev/null +++ b/language/de/feed_fields.php @@ -0,0 +1,108 @@ + 'autor', + 'AUTHORS' => 'Autoren (Array)', + 'BITRATE' => 'bitrate', + 'CAPTIONS' => 'unterschriften', + 'CATEGORIES' => 'Kategorien (Array)', + 'CATEGORY' => 'kategorie', + 'CHANNELS' => 'kanäle', + 'CONTENT' => 'inhalt', + 'CONTRIBUTOR' => 'mitwirkender', + 'CONTRIBUTORS' => 'beitragszahler (Array)', + 'COPYRIGHT' => 'Urheberrecht', + 'CREDITS' => 'guthaben', + 'DATE' => 'datum', + 'DESCRIPTION' => 'beschreibung', + 'DURATION' => 'dauern', + 'ENCLOSURE' => 'einschließung', + 'ENCLOSURES' => 'gehäuse (Array)', + 'EXPRESSION' => 'ausdruck', + 'FEED' => 'federn', + 'FRAMERATE' => 'framerate', + 'GMDATE' => 'GM-Datum', + 'HANDLER' => 'handler', + 'HASHES' => 'hashes', + 'HEIGHT' => 'Höhe', + 'ID' => 'id', + 'IMAGE_HEIGHT' => 'Bildhöhe', + 'IMAGE_LINK' => 'bildlink', + 'IMAGE_TITLE' => 'bildtitel', + 'IMAGE_URL' => 'bild-URL', + 'IMAGE_WIDTH' => 'Bildbreite', + 'ITEMS' => 'gegenstände', + 'JAVASCRIPT' => 'Javascript', + 'KEYWORDS' => 'keywords', + 'LABEL' => 'bezeichnen', + 'LANG' => 'lang', + 'LATITUDE' => 'breiter', + 'LENGTH' => 'lang', + 'LINK' => 'link', + 'LINKS' => 'links', + 'LONGITUDE' => 'Längengrad', + 'MEDIUM' => 'mittel', + 'NAME' => 'name', + 'PERMALINK' => 'permalink', + 'PLAYER' => 'player', + 'RATINGS' => 'bewertungen', + 'RELATIONSHIP' => 'beziehung', + 'RESTRICTIONS' => 'Beschränkungen (Array)', + 'SAMPLINGRATE' => 'Abtastrate', + 'SCHEME' => 'schema', + 'SOURCE' => 'quell', + 'TERM' => 'begriff', + 'THUMBNAILS' => 'thumbnails', + 'TITLE' => 'titel', + 'TYPE' => 'typ', + 'UPDATED_DATE' => 'aktualisiertes Datum', + 'UPDATED_GMDATE' => 'aktualisiertes GM-Datum', + 'VALUE' => 'wert', + 'WIDTH' => 'width', +)); diff --git a/language/de/icons.php b/language/de/icons.php new file mode 100644 index 000000000000..8ba315d64647 --- /dev/null +++ b/language/de/icons.php @@ -0,0 +1,71 @@ + 'Bedienungshilfen', + 'ICON_ARROWS' => 'Pfeile', + 'ICON_BRAND' => 'Marke', + 'ICON_CHART' => 'Diagramm', + 'ICON_CURRENCY' => 'Währung', + 'ICON_DIRECTIONAL' => 'Richtungen', + 'ICON_FILE_TYPE' => 'Dateityp', + 'ICON_FORM_CONTROL' => 'Formularsteuerung', + 'ICON_GENDER' => 'Geschlecht', + 'ICON_HAND' => 'Hand', + 'ICON_MEDICAL' => 'Medizinisch', + 'ICON_PAYMENT' => 'Zahlung', + 'ICON_SPINNER' => 'Spinner', + 'ICON_TEXT_EDITOR' => 'Text-Editor', + 'ICON_TRANSPORTATION' => 'Transport', + 'ICON_VIDEO_PLAYER' => 'Video-Player', + 'ICON_WEB_APPLICATION' => 'Web-Anwendung', + + 'ICON_COLOR' => 'Farbe', + 'ICON_DEFAULT' => 'Standard', + 'ICON_FLIP_BOTH' => 'Beides spiegeln', + 'ICON_FLIP_HORIZONTAL' => 'Horizontal spiegeln', + 'ICON_FLIP_VERTICAL' => 'Vertikal spiegeln', + 'ICON_FLOAT' => 'Schweben', + 'ICON_FLOAT_LEFT' => 'Links', + 'ICON_FLOAT_RIGHT' => 'Rechts', + 'ICON_FONT' => 'Font Icons', + 'ICON_INSERT_UPDATE' => 'Insert/Update', + 'ICON_MISC' => 'Sonst', + 'ICON_MISC_BORDERED' => 'Gesperrt', + 'ICON_MISC_FIXED_WIDTH' => 'Feste Breite', + 'ICON_MISC_PULSE' => 'Pulse', + 'ICON_MISC_SPINNING' => 'Drehen', + 'ICON_ROTATION' => 'Drehung', + 'ICON_ROTATE_90' => '90°', + 'ICON_ROTATE_180' => '180°', + 'ICON_ROTATE_270' => '270°', + 'ICON_SIZE' => 'Größe', + 'ICON_SIZE_LG' => 'Größer', + 'ICON_SIZE_SM' => 'Klein', + 'ICON_SIZE_2X' => '2x', + 'ICON_SIZE_3X' => '3x', + 'ICON_SIZE_4X' => '4x', + 'ICON_SIZE_5X' => '5x', + + 'NO_ICON' => 'Kein Symbol', +)); diff --git a/language/de/info_acp_menus.php b/language/de/info_acp_menus.php new file mode 100644 index 000000000000..8bf14feefb87 --- /dev/null +++ b/language/de/info_acp_menus.php @@ -0,0 +1,92 @@ + 'Menü', + 'ACP_MENU_MANAGE' => 'Menüverwaltung', + 'ACP_MENU_MANAGE_EXPLAIN' => 'Hier können Sie Menüs für Ihre Website erstellen und verwalten', + 'ADD_BULK_MENU' => 'Menuelemente hinzufügen', + 'ADD_BULK_MENU_EXPLAIN' => 'Mehrere Menüpunkte gleichzeitig hinzufügen.
- Platzieren Sie jedes Element in einer separaten Zeile
- Verwenden Sie den Tab Tab um Elemente einzurücken, um Eltern-Kindbeziehungen zu repräsentieren
- Geben Sie das Element und die URL wie folgt ein: Home|index.php', + 'ADD_MENU' => 'Menü hinzufügen', + 'ADD_MENU_ITEM' => 'Menüpunkt hinzufügen', + 'ADD_ITEM' => 'Neues Element', + 'AJAX_PROCESSING' => 'Arbeiten', + + 'CHANGE_ME' => 'Ändere mich', + + 'DELETE_ITEM' => 'Element löschen', + 'DELETE_KIDS' => 'Branch löschen', + 'DELETE_MENU' => 'Menü löschen', + 'DELETE_MENU_CONFIRM' => 'Sind Sie sicher, dass Sie dieses Menü löschen möchten?
Dies wird das Menü und alle Elemente löschen', + 'DELETE_MENU_ITEM' => 'Element löschen', + 'DELETE_MENU_ITEM_CONFIRM' => 'Sind Sie sicher, dass Sie diesen Menüeintrag löschen möchten?', + 'DELETE_SELECTED' => 'Ausgewählte löschen', + + 'EDIT_ITEM' => 'Element bearbeiten', + + 'ITEM_ACTIVE' => 'Aktiv', + 'ITEM_INACTIVE' => 'Inaktiv', + 'ITEM_PARENT' => 'Elternteil', + 'ITEM_TITLE' => 'Artikeltitel', + 'ITEM_TITLE_EXPLAIN' => 'Als \'-\' für Trenner festlegen', + 'ITEM_TARGET' => 'Item Target', + 'ITEM_URL' => 'Artikel-URL', + 'ITEM_URL_EXPLAIN' => '- Leer lassen für Überschriften
- Externe Seiten müssen mit http(s)://, ftp://, //, etc beginnen', + + 'MENU_ITEMS' => 'Menüpunkte', + + 'NO_MENU_ITEMS' => 'Es wurden keine Menüpunkte erstellt', + 'NO_PARENT' => 'Kein Elternteil', + + 'PROCESSING_ERROR' => 'Verarbeitungsfehler', + + 'REBUILD_TREE' => 'Baum neu aufbauen', + 'REQUIRED' => 'Benötigt', + 'REQUIRED_FIELDS' => '* Pflichtfelder', + + 'SAVE_CHANGES' => 'Änderungen speichern', + 'SAVE' => 'Speichern', + 'SELECT_ALL' => 'Alle auswählen', + + 'TARGET_BLANK' => 'Leere Seite', + 'TARGET_PARENT' => 'Elternteil', + + 'UNSAVED_CHANGES' => 'Sie haben ungespeicherte Änderungen', + + 'VISIT_PAGE' => 'Seite besuchen', +)); diff --git a/language/de/info_acp_settings.php b/language/de/info_acp_settings.php new file mode 100644 index 000000000000..00058ac3dacb --- /dev/null +++ b/language/de/info_acp_settings.php @@ -0,0 +1,74 @@ + 'SiteMaker', + 'ACP_SM_SETTINGS' => 'Einstellungen', + + 'BLOCKS_CLEANUP' => 'Blöcke bereinigen', + 'BLOCKS_CLEANUP_EXPLAIN' => 'Die folgenden Elemente wurden als nicht mehr vorhanden oder nicht erreichbar gefunden, und du kannst daher alle Blöcke löschen, die mit ihnen verbunden sind. Bitte bedenken Sie, dass einige von ihnen falsche positive sein können', + 'BLOCKS_CLEANUP_BLOCKS' => 'Ungültige Blöcke (z.B. von deinstallierten Erweiterungen):', + 'BLOCKS_CLEANUP_ROUTES' => 'Nicht erreichbar/kaputte Seiten:', + 'BLOCKS_CLEANUP_STYLES' => 'Deinstallierte Stile (ids):', + 'BLOCKS_CLEANUP_SUCCESS' => 'Blöcke erfolgreich gelöscht', + + 'FORUM_INDEX_SETTINGS' => 'Foren-Index-Einstellungen', + 'FORUM_INDEX_SETTINGS_EXPLAIN' => 'Diese Einstellungen gelten nur, wenn keine Startseite definiert ist', + + 'HIDE' => 'Verstecken', + 'HIDE_BIRTHDAY' => 'Geburtstagsabschnitt ausblenden', + 'HIDE_LOGIN' => 'Login-Box ausblenden', + 'HIDE_ONLINE' => 'Whos Online Bereich ausblenden', + + 'LAYOUT_BLOG' => 'Blog', + 'LAYOUT_CUSTOM' => 'Eigene', + 'LAYOUT_HOLYGRAIL' => 'Heiliger Gral', + 'LAYOUT_PORTAL' => 'Portal', + 'LAYOUT_PORTAL_ALT' => 'Portal (alt)', + 'LAYOUT_SETTINGS' => 'Layout-Einstellungen', + + 'LOG_DELETED_BLOCKS_FOR_STYLE' => 'Sitemaker Blöcke gelöscht wegen fehlendem Stil mit id %s', + 'LOG_DELETED_BLOCKS_FOR_ROUTE' => 'Sitemaker Blöcke gelöscht für kaputte Seiten:
%s', + 'LOG_DELETED_BLOCKS' => 'Ungültige Sitemaker Blöcke gelöscht:
%s', + + 'NAVIGATION_SETTINGS' => 'Navigationseinstellungen', + + 'SETTINGS_SAVED' => 'Ihre Einstellungen wurden gespeichert', + 'SHOW' => 'Zeigen', + 'SHOW_FORUM_NAV' => '\'Forum\' in der Navigationsleiste anzeigen?', + 'SHOW_FORUM_NAV_EXPLAIN' => 'Wenn eine Seite als Startseite statt als Forum-Index gesetzt wird, sollten wir \'Forum\' in der Navigationsleiste anzeigen', + 'SHOW_FORUM_NAV_WITH_ICON' => 'Ja - mit Symbol:', +]); diff --git a/language/de/navbar_manager.php b/language/de/navbar_manager.php new file mode 100644 index 000000000000..ca5eda1f5cc7 --- /dev/null +++ b/language/de/navbar_manager.php @@ -0,0 +1,79 @@ + 'Aktives Element', + 'BORDER' => 'Border', + 'BORDER_COLOR' => 'Rahmenfarbe', + 'BORDER_RADIUS' => 'Randradius', + 'BORDER_WIDTH' => 'Border Width', + 'BOTTOM' => 'Unten', + 'BOTTOM_LEFT' => 'Unten links', + 'BOTTOM_RIGHT' => 'Unten rechts', + 'CAPITALIZE' => 'Großschreibung', + 'COLOR' => 'Farbe', + 'DIVIDERS' => 'Trenner', + 'END' => 'Ende', + 'GRADIENT' => 'Farbverlauf', + 'HEADERS' => 'Kopfzeilen', + 'HOVER' => 'Hover', + 'LEFT' => 'Links', + 'LOWERCASE' => 'Kleinbuchstaben', + 'MARGIN' => 'Abstand', + 'NAVBAR' => 'Navbar', + 'NAVBAR_MENU' => 'Navbar menu', + 'NAVBAR_DROPDOWN' => 'Dropdown', + 'NAVBAR_LOCATION' => 'Standort', + 'NAVBAR_LOCATION_OPTION' => 'Standort #%s', + 'NAVBAR_TOP_MENU' => 'Hauptmenü', + 'NONE' => 'Keine', + 'PADDING' => 'Padding', + 'RESPONSIVE_TOGGLE' => 'Responsive Umschalter', + 'RESPONSIVE_TOGGLE_EXPLAIN' => 'Nur auf kleinen (mobilen) Bildschirmen sichtbar', + 'RIGHT' => 'Rechts', + 'SAVE' => 'Speichern', + 'SIZE' => 'Größe', + 'START' => 'Start', + 'TEXT' => 'Text', + 'TOP' => 'Oben', + 'TOP_LEFT' => 'Oben links', + 'TOP_RIGHT' => 'Oben rechts', + 'TRANSFORM' => 'Transformieren', + 'UPPERCASE' => 'Großbuchstaben', +)); diff --git a/language/de/permissions_sitemaker.php b/language/de/permissions_sitemaker.php new file mode 100644 index 000000000000..b5ea9e2de04b --- /dev/null +++ b/language/de/permissions_sitemaker.php @@ -0,0 +1,45 @@ + '[ SiteMaker ] Kann Einstellungen verwalten', + 'ACL_A_SM_MANAGE_BLOCKS' => '[ SiteMaker ] Kann Blöcke verwalten', + 'ACL_A_SM_MANAGE_MENUS' => '[ SiteMaker ] Kann Menüs verwalten', +)); diff --git a/language/el/block_manager.php b/language/el/block_manager.php new file mode 100644 index 000000000000..86919cd359ce --- /dev/null +++ b/language/el/block_manager.php @@ -0,0 +1,123 @@ + '* Σύρετε και απόθεση μπλοκ', + 'AJAX_ERROR' => 'Ωχ! Παρουσιάστηκε σφάλμα κατά την επεξεργασία του αιτήματός σας. Παρακαλώ δοκιμάστε ξανά.', + 'AJAX_LOADING' => 'Φόρτωση...', + 'AJAX_PROCESSING' => 'Εργάζεται...', + + 'BACKGROUND' => 'Φόντο', + 'BLOCKS' => 'Μπλοκ', + 'BLOCKS_COPY_FROM' => 'Αντιγραφή Μπλοκ', + 'BLOCK_ACTIVE' => 'Ενεργό', + 'BLOCK_CHILD_ROUTES_ONLY' => 'Εμφάνιση μόνο σε θυγατρικές διαδρομές', + 'BLOCK_CHILD_ROUTES_HIDE' => 'Απόκρυψη σε θυγατρικές διαδρομές', + 'BLOCK_CLASS' => 'Κλάση CSS', + 'BLOCK_CLASS_EXPLAIN' => 'Τροποποίηση εμφάνισης μπλοκ με κλάσεις CSS', + 'BLOCK_DESIGN' => 'Εμφάνιση', + 'BLOCK_DISPLAY_TYPE' => 'Εμφάνιση', + 'BLOCK_HIDE_TITLE' => 'Απόκρυψη τίτλου μπλοκ?', + 'BLOCK_INACTIVE' => 'Ανενεργό', + 'BLOCK_MISSING_TEMPLATE' => 'Λείπει το απαιτούμενο πρότυπο μπλοκ. Επικοινωνήστε με τον προγραμματιστή', + 'BLOCK_NOT_FOUND' => 'Ωχ! Η υπηρεσία μπλοκ που ζητήθηκε δεν βρέθηκε', + 'BLOCK_NO_DATA' => 'Δεν υπάρχουν δεδομένα για εμφάνιση', + 'BLOCK_NO_ID' => 'Ωχ! Λείπει το id μπλοκ', + 'BLOCK_PERMISSION' => 'Άδεια', + 'BLOCK_PERMISSION_ALLOW' => 'Εμφάνιση σε', + 'BLOCK_PERMISSION_DENY' => 'Απόκρυψη από', + 'BLOCK_PERMISSION_EXPLAIN' => 'Χρήση CTRL + κλικ για εναλλαγή επιλογής', + 'BLOCK_SHOW_ALWAYS' => 'Πάντα', + 'BLOCK_STATUS' => 'Κατάσταση', + 'BLOCK_UPDATED' => 'Οι ρυθμίσεις μπλοκ ενημερώθηκαν επιτυχώς', + + 'CANCEL' => 'Ακύρωση', + 'CHILD_ROUTE' => 'Παιδί', + 'CHILD_ROUTE_EXPLAIN' => '/viewforum.php, /dir/index.php
/viewtopic.php?f=2&t=1
/articles/my-article', + 'CLEAR' => 'Εκκαθάριση', + 'COPY' => 'Αντιγραφή', + 'COPY_BLOCKS' => 'Αντιγραφή Μπλοκών?', + 'COPY_BLOCKS_CONFIRM' => 'Είστε βέβαιοι ότι θα θέλατε να αντιγράψετε μπλοκ από μια άλλη σελίδα?

Αυτό θα διαγράψει όλα τα υπάρχοντα μπλοκ και τις ρυθμίσεις τους για αυτή τη σελίδα και θα τα αντικαταστήσει με τα μπλοκ από την επιλεγμένη σελίδα.', + + 'DEFAULT_LAYOUT_EXPLAIN' => 'Αν οριστεί, όλες οι σελίδες της ιστοσελίδας για τις οποίες δεν έχετε καθορίσει μπλοκ θα κληρονομήσουν τα μπλοκ από την προεπιλεγμένη διάταξη. Μπορείτε, ωστόσο, να παρακάμψετε την προεπιλεγμένη διάταξη για συγκεκριμένες σελίδες χρησιμοποιώντας τις επιλογές προς τα δεξιά.', + 'DELETE' => 'Διαγραφή', + 'DELETE_ALL_BLOCKS' => 'Διαγραφή Όλων Των Μπλοκ', + 'DELETE_ALL_BLOCKS_CONFIRM' => 'Είστε βέβαιοι ότι θα θέλατε να διαγράψετε όλα τα μπλοκ για αυτή τη σελίδα?', + 'DELETE_BLOCK' => 'Διαγραφή Μπλοκ', + 'DELETE_BLOCK_CONFIRM' => 'Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτό το μπλοκ?


Σημείωση: Θα πρέπει να αποθηκεύσετε τις αλλαγές διάταξης για να γίνει αυτό μόνιμο.', + + 'EDIT' => 'Επεξεργασία', + 'EDIT_BLOCK' => 'Επεξεργασία Μπλοκ', + 'EXIT_EDIT_MODE' => 'Λειτουργία Επεξεργασίας Έξοδος', + + 'FEED_PROBLEMS' => 'Υπήρξε ένα πρόβλημα κατά την επεξεργασία της παρεχόμενης τροφοδοσίας rss/atom', + 'FEED_URL_MISSING' => 'Παραθέστε τουλάχιστον μία τροφοδοσία rss/atom για να ξεκινήσετε', + 'FIELD_INVALID' => 'Η παρεχόμενη τιμή για το πεδίο “%s” έχει μια μη έγκυρη μορφή', + 'FIELD_REQUIRED' => '“%s” είναι ένα απαιτούμενο πεδίο', + 'FIELD_TOO_LONG' => 'Η παρεχόμενη τιμή για το πεδίο “%1$s” είναι πολύ μεγάλη. Η μέγιστη αποδεκτή τιμή είναι %2$d.', + 'FIELD_TOO_SHORT' => 'Η παρεχόμενη τιμή για το πεδίο “%1$s” είναι πολύ μικρή. Η ελάχιστη αποδεκτή τιμή είναι %2$d.', + + 'HIDE_ALL_BLOCKS' => 'Να μην εμφανίζονται τα μπλοκ σε αυτή τη σελίδα', + 'HIDE_BLOCK_POSITIONS' => 'Να μην εμφανίζονται τα μπλοκ για τις ακόλουθες θέσεις μπλοκ:', + + 'IMAGES' => 'Εικόνες', + + 'LAYOUT' => 'Διάταξη', + 'LAYOUT_SAVED' => 'Η διάταξη αποθηκεύτηκε επιτυχώς!', + 'LAYOUT_SETTINGS' => 'Ρυθμίσεις Διάταξης', + 'LEAVE_CONFIRM' => 'Έχετε κάποιες μη αποθηκευμένες αλλαγές σε αυτή τη σελίδα. Παρακαλώ αποθηκεύστε την εργασία σας πριν προχωρήσετε', + 'LISTS' => 'Λίστες', + + 'MAKE_DEFAULT_LAYOUT' => 'Ορισμός Ως Προεπιλεγμένη Διάταξη', + + 'OR' => 'Ή', + + 'PARENT_ROUTE' => 'Γονικός', + 'PARENT_ROUTE_EXPLAIN' => '/index.php
/viewforum.php?f=2
/articles', + 'PREDEFINED_CLASSES' => 'Προκαθορισμένες κλάσεις', + + 'REDO' => 'Επανάληψη', + 'REMOVE_DEFAULT_LAYOUT' => 'Αφαίρεση Ως Προεπιλεγμένη Διάταξη', + 'REMOVE_STARTPAGE' => 'Αφαίρεση Αρχικής Σελίδας', + 'ROUTE_HIDDEN_BLOCKS' => 'Τα μπλοκ είναι κρυμμένα για αυτή τη σελίδα', + 'ROUTE_HIDDEN_POSITIONS' => 'Τα μπλοκ κρύβονται για τις ακόλουθες θέσεις', + 'ROUTE_UPDATED' => 'Οι ρυθμίσεις σελίδας ενημερώθηκαν επιτυχώς', + + 'SAVE_CHANGES' => 'Αποθήκευση Αλλαγών', + 'SAVE_SETTINGS' => 'Αποθήκευση Ρυθμίσεων', + 'SELECT_ICON' => 'Επιλέξτε ένα εικονίδιο', + 'SETTINGS' => 'Ρυθμίσεις', + 'SETTING_TOO_BIG' => 'Η παρεχόμενη τιμή για τη ρύθμιση “%1$s” είναι πολύ υψηλή. Η μέγιστη αποδεκτή τιμή είναι %2$d.', + 'SETTING_TOO_LONG' => 'Η παρεχόμενη τιμή για τη ρύθμιση “%1$s” είναι πολύ μεγάλη. Το μέγιστο αποδεκτό μήκος είναι %2$d.', + 'SETTING_TOO_LOW' => 'Η παρεχόμενη τιμή για τη ρύθμιση “%1$s” είναι πολύ χαμηλή. Η ελάχιστη αποδεκτή τιμή είναι %2$d.', + 'SETTING_TOO_SHORT' => 'Η παρεχόμενη τιμή για τη ρύθμιση “%1$s” είναι πολύ μικρή. Το ελάχιστο αποδεκτό μήκος είναι %2$d.', + 'SET_STARTPAGE' => 'Ορισμός Ως Αρχική Σελίδα', + + 'TITLES' => 'Τίτλοι', + + 'UPDATE_SIMILAR' => 'Ενημέρωση μπλοκ με παρόμοιες ρυθμίσεις', + 'UNDO' => 'Αναίρεση', + + 'VIEW_DEFAULT_LAYOUT' => 'Προβολή/Επεξεργασία Προκαθορισμένης Διάταξης', + 'VISIT_PAGE' => 'Επισκεφθείτε Τη Σελίδα', +)); diff --git a/language/el/blocks_admin.php b/language/el/blocks_admin.php new file mode 100644 index 000000000000..8b3c147588ca --- /dev/null +++ b/language/el/blocks_admin.php @@ -0,0 +1,189 @@ + 'Όλοι Οι Τύποι', + 'ALL_GROUPS' => 'Όλες Οι Ομάδες', + 'ARCHIVES' => 'Αρχειοθέτηση', + 'AUTO_LOGIN' => 'Επιτρέψτε την αυτόματη σύνδεση?', + 'FILE_MANAGER' => 'Διαχειριστής Αρχείων', + 'TOPIC_POST_IDS' => 'Από Το Θέμα/Ανάρτηση Ids', + 'TOPIC_POST_IDS_EXPLAIN' => 'Ταυτότητα(εις) θεμάτων/δημοσιεύσεων για την ανάκτηση συνημμένων από, διαχωρισμένων με κόμματα(,). Καθορίστε αν αυτή η λίστα είναι για το θέμα ή για το ανάρτηση των παραπάνω ειδήσεων.', + 'TOPIC_POST_IDS_TYPE' => 'Τύπος αναγνωριστικών (κατωτέρω)', + + // Blocks + 'BLITZE_SITEMAKER_BLOCK_ATTACHMENTS' => 'Συνημμένα', + 'BLITZE_SITEMAKER_BLOCK_BIRTHDAY' => 'Γενέθλια', + 'BLITZE_SITEMAKER_BLOCK_CUSTOM' => 'Προσαρμοσμένο Μπλοκ', + 'BLITZE_SITEMAKER_BLOCK_FEATURED_MEMBER' => 'Προτεινόμενο Μέλος', + 'BLITZE_SITEMAKER_BLOCK_FEEDS' => 'Τροφοδοσίες RSS/Atom', + 'BLITZE_SITEMAKER_BLOCK_FORUM_POLL' => 'Δημοσκόπηση Φόρουμ', + 'BLITZE_SITEMAKER_BLOCK_FORUM_TOPICS' => 'Θέματα Φόρουμ', + 'BLITZE_SITEMAKER_BLOCK_GOOGLE_MAPS' => 'Χάρτες Google', + 'BLITZE_SITEMAKER_BLOCK_POPULAR_TOPICS' => 'Δημοφιλή Θέματα', + 'BLITZE_SITEMAKER_BLOCK_LINKS' => 'Σύνδεσμοι', + 'BLITZE_SITEMAKER_BLOCK_LOGIN' => 'Πλαίσιο Σύνδεσης', + 'BLITZE_SITEMAKER_BLOCK_MEMBERS' => 'Μέλη', + 'BLITZE_SITEMAKER_BLOCK_MEMBER_MENU' => 'Μενού Μελών', + 'BLITZE_SITEMAKER_BLOCK_MENU' => 'Μενού', + 'BLITZE_SITEMAKER_BLOCK_MYBOOKMARKS' => 'Οι Σελιδοδείκτες Μου', + 'BLITZE_SITEMAKER_BLOCK_RECENT_TOPICS' => 'Πρόσφατα Θέματα', + 'BLITZE_SITEMAKER_BLOCK_STATS' => 'Στατιστικά', + 'BLITZE_SITEMAKER_BLOCK_STYLE_SWITCHER' => 'Εναλλαγή Στυλ', + 'BLITZE_SITEMAKER_BLOCK_WHATS_NEW' => 'Τι Είναι Νέο?', + 'BLITZE_SITEMAKER_BLOCK_WHOIS' => 'Ποιος είναι συνδεδεμένος', + 'BLITZE_SITEMAKER_BLOCK_WORDGRAPH' => 'Λέξη', + + // block views + 'BLOCK_VIEW' => 'Μπλοκάρισμα Προβολής', + 'BLOCK_VIEW_BASIC' => 'Βασικό', + 'BLOCK_VIEW_BOXED' => 'Πλαισιωμένο', + 'BLOCK_VIEW_DEFAULT' => 'Προεπιλογή', + 'BLOCK_VIEW_SIMPLE' => 'Απλό', + + 'CACHE_DURATION' => 'Διάρκεια κρύπτης', + 'CONTEXT' => 'Πλαίσιο', + 'CSS_SCRIPTS' => 'CSS Scripts', + 'CUSTOM_PROFILE_FIELDS' => 'Πεδία Προσαρμοσμένου Προφίλ', + + 'DATE_RANGE' => 'Date Range', + 'DISPLAY_PREVIEW' => 'Εμφάνιση Προεπισκόπησης?', + + 'EDIT_ME' => 'Παρακαλώ επεξεργαστείτε με', + 'ENABLE_TOPIC_TRACKING' => 'Ενεργοποίηση παρακολούθησης θέματος?', + 'ENABLE_TOPIC_TRACKING_EXPLAIN' => 'Αν ενεργοποιηθεί, θα αναφέρονται μη αναγνωσμένα θέματα, αλλά τα αποτελέσματα του ταμπλό δεν θα αποθηκεύονται προσωρινά (Δεν συνιστάται)', + 'EXCLUDE_TOO_MANY_WORDS' => 'Έχετε εισαγάγει πάρα πολλές λέξεις για να εξαιρέσετε. Ο μέγιστος δυνατός αριθμός χαρακτήρων είναι 255, έχετε εισαγάγει %s.', + 'EXCLUDE_WORDS' => 'Εξαίρεση λέξεων', + 'EXCLUDE_WORDS_EXPLAIN' => 'Λίστα των λέξεων που θα θέλατε να αποκλείσετε από τη λέξη, διαχωρισμένες με κόμμα (,). Μέγιστο 255 χαρακτήρες.', + 'EXPANDED' => 'Επεκταμένη', + 'EXTENSION_GROUP' => 'Ομάδα Επεκτάσεων', + + 'FEATURED_MEMBER_IDS' => 'Αναγνωριστικά Χρήστη', + 'FEATURED_MEMBER_IDS_EXPLAIN' => 'Λίστα χωρισμένη με κόμμα των χρηστών στη δυνατότητα (ισχύει μόνο για λειτουργία εμφάνισης Προτεινόμενων Μελών)', + 'FEED_DATA_PREVIEW' => 'Δεδομένα Ροής', + 'FEED_ITEM_TEMPLATE' => 'Πρότυπο Στοιχείου', + 'FEED_ITEM_TEMPLATE_EXPLAIN' => 'TIPS:
+
    +
  • Access feed data in item variable e.g. item.title
  • +
  • Template must be in Twig syntax
  • +
  • Click Samples above for sample templates
  • +
  • Use get_item_tags($namespace, $tag) to get any tag from the feed that we do not provide e.g.
    {{ get_item_tags(\'\', \'image\') }}
  • +
  • Use Twig’s json_encode filter to see contents of array e.g. {{ get_item_tags(\'\', \'image\')|json_encode() }}
  • +
', + 'FEED_PREVIEW_SOURCE' => 'Πηγή', + 'FEED_URL_PLACEHOLDER' => 'http://example.com/rss', + 'FEED_URLS' => 'Url Ροής', + 'FIRST_POST_ONLY' => 'Πρώτη Δημοσίευση Μόνο', + 'FIRST_POST_TIME' => 'Πρώτη Ώρα Δημοσίευσης', + 'FORUMS_GET_TYPE' => 'Λήψη τύπου', + 'FORUMS_MAX_TOPICS' => 'Μέγιστα θέματα/δημοσιεύσεις', + 'FORUMS_TITLE_MAX_CHARS' => 'Μέγιστος αριθμός χαρακτήρων ανά τίτλο', + 'FREQUENCY' => 'Συχνότητα', + 'FULL' => 'Πλήρης', + 'FULLSCREEN' => 'Πλήρης Οθόνη', + + 'GET_TYPE' => 'Εμφάνιση Θέματος/Δημοσίευσης?', + + 'HTML' => 'HTML', + 'HTML_EXPLAIN' => 'Χρησιμοποιήστε αυτό το textarea για να εισάγετε περιεχόμενο HTML.
Παρακαλώ σημειώστε ότι οποιοδήποτε περιεχόμενο που δημοσιεύτηκε εδώ θα αντικαταστήσει το προσαρμοσμένο περιεχόμενο μπλοκ και ο οπτικός επεξεργαστής μπλοκ δεν θα είναι διαθέσιμος.', + 'HOURS_SHORT' => 'ώρες', + + 'JS_SCRIPTS' => 'Σενάρια JS', + + 'LAST_POST_TIME' => 'Ώρα Τελευταίας Δημοσίευσης', + 'LAST_READ_TIME' => 'Τελευταίος Χρόνος Ανάγνωσης', + 'LIMIT' => 'Όριο', + 'LIMIT_FORUMS' => 'Αναγνωριστικά Φόρουμ (προαιρετικά)', + 'LIMIT_FORUMS_EXPLAIN' => 'Εισάγετε κάθε αναγνωριστικό φόρουμ διαχωρισμένο με κόμμα (,). Αν οριστεί, θα εμφανιστούν μόνο θέματα από συγκεκριμένα φόρουμ.', + 'LIMIT_POST_TIME' => 'Όριο ανά ώρα δημοσίευσης', + 'LIMIT_POST_TIME_EXPLAIN' => 'Εάν οριστεί, μόνο τα θέματα που δημοσιεύτηκαν εντός της καθορισμένης περιόδου θα ανακτηθούν', + + 'MAX_DEPTH' => 'Μέγιστο βάθος', + 'MAX_ITEMS' => 'Μέγιστος αριθμός αντικειμένων', + 'MAX_MEMBERS' => 'Μεγ. Μέλη', + 'MAX_POSTS' => 'Μέγιστος αριθμός δημοσιεύσεων', + 'MAX_TOPICS' => 'Μέγιστος αριθμός θεμάτων', + 'MAX_WORDS' => 'Μέγιστος αριθμός λέξεων', + 'MANAGE_MENUS' => 'Διαχείριση Μενού', + 'MAP_COORDINATES' => 'Συντεταγμένες', + 'MAP_COORDINATES_EXPLAIN' => 'Εισάγετε συντεταγμένες στο γεωγραφικό πλάτος της φόρμας, γεωγραφικό μήκος', + 'MAP_HEIGHT' => 'Ύψος', + 'MAP_LOCATION' => 'Τοποθεσία', + 'MAP_TITLE' => 'Τίτλος', + 'MAP_VIEW' => 'Προβολή', + 'MAP_VIEW_HYBRID' => 'Υβριδικό', + 'MAP_VIEW_MAP' => 'Χάρτης', + 'MAP_VIEW_SATELITE' => 'Δορυφόρος', + 'MAP_VIEW_TERRAIN' => 'Terrain', + 'MAP_ZOOM_LEVEL' => 'Επίπεδο Εστίασης', + 'MEMBERS_DATE' => 'Ημερομηνία', + 'MENU_NO_ITEMS' => 'Δεν υπάρχουν ενεργά στοιχεία για εμφάνιση', + 'MINI' => 'Μίνι', + + 'OR' => 'Ή', + 'ORDER_BY' => 'Ταξινόμηση κατά', + + 'POLL_FROM_FORUMS' => 'Εμφάνιση δημοσκοπήσεων από forums(s)', + 'POLL_FROM_FORUMS_EXPLAIN' => 'Μόνο οι δημοσκοπήσεις από τα επιλεγμένα φόρουμ θα εμφανίζονται εφόσον δεν καθορίζονται θέματα παραπάνω', + 'POLL_FROM_GROUPS' => 'Εμφάνιση δημοσκοπήσεων από ομάδες(ες)', + 'POLL_FROM_GROUPS_EXPLAIN' => 'Μόνο οι δημοσκοπήσεις από τα μέλη των επιλεγμένων ομάδων θα εμφανίζονται εφόσον κανένας (οι) χρήστης(ες) δεν καθορίζεται παραπάνω', + 'POLL_FROM_TOPICS' => 'Εμφάνιση δημοσκοπήσεων από θέματα(α)', + 'POLL_FROM_TOPICS_EXPLAIN' => 'Ταυτότητα των θεμάτων από τα οποία θα ανακτηθούν οι δημοσκοπήσεις, διαχωρισμένα με κόμματα(,). Αφήστε κενό για να επιλέξετε οποιοδήποτε θέμα.', + 'POLL_FROM_USERS' => 'Εμφάνιση δημοσκοπήσεων από χρήστη(ες)', + 'POLL_FROM_USERS_EXPLAIN' => 'Ταυτότητα(εις) των χρηστών των οποίων τις δημοσκοπήσεις θα θέλατε να εμφανίζετε, διαχωρίζονται με κόμματα(,). Αφήστε κενό για να επιλέξετε δημοσκοπήσεις από οποιονδήποτε χρήστη.', + 'POSTS_TITLE_LIMIT' => 'Μέγιστος αριθμός χαρακτήρων για τον τίτλο δημοσίευσης', + 'PREVIEW_MAX_CHARS' => 'Αριθμός χαρακτήρων προς προεπισκόπηση', + + 'QUERY_TYPE' => 'Λειτουργία Προβολής', + + 'ROTATE_DAILY' => 'Καθημερινά', + 'ROTATE_HOURLY' => 'Ωριαία', + 'ROTATE_MONTHLY' => 'Μηνιαία', + 'ROTATE_PAGELOAD' => 'Φόρτωση σελίδας', + 'ROTATE_WEEKLY' => 'Εβδομαδιαία', + + 'SAMPLES' => 'Δείγματα', + 'SCRIPTS' => 'Σενάρια', + 'SELECT_FORUMS' => 'Επιλογή φόρουμ', + 'SELECT_FORUMS_EXPLAIN' => 'Επιλέξτε τα φόρουμ από τα οποία θα εμφανίζονται τα θέματα/δημοσιεύσεις. Αφήστε κενό για να επιλέξετε από όλα τα φόρουμ', + 'SELECT_MENU' => 'Επιλογή Μενού', + 'SELECT_PROFILE_FIELDS' => 'Επιλέξτε πεδία προφίλ', + 'SELECT_PROFILE_FIELDS_EXPLAIN' => 'Θα εμφανιστούν μόνο τα επιλεγμένα πεδία του προφίλ, αν είναι διαθέσιμα.', + 'SHOW_FIRST_POST' => 'Πρώτη Δημοσίευση', + 'SHOW_HIDE_ME' => 'Να επιτρέπεται η απόκρυψη online κατάστασης?', + 'SHOW_LAST_POST' => 'Τελευταία Δημοσίευση', + 'SHOW_MEMBER_MENU' => 'Εμφάνιση μενού χρήστη?', + 'SHOW_MEMBER_MENU_EXPLAIN' => 'Αντικαταστήστε το πλαίσιο σύνδεσης με το μενού χρήστη εάν ο χρήστης είναι συνδεδεμένος', + 'SHOW_WORD_COUNT' => 'Εμφάνιση αριθμού λέξεων?', + + 'TEMPLATE' => 'Πρότυπο', + 'TOPIC_TITLE_LIMIT' => 'Μέγιστος αριθμός χαρακτήρων για τον τίτλο του θέματος', + 'TOPIC_TYPE' => 'Τύπος Θέματος', + 'TOPIC_TYPE_EXPLAIN' => 'Επιλέξτε τους τύπους θεμάτων που θα θέλατε να εμφανίσετε. Αφήστε τα πλαίσια απενεργοποιημένα για να επιλέξετε από όλους τους τύπους θεμάτων', + 'TOPICS_LOOK_BACK' => 'Αναζήτηση πίσω', + 'TOPICS_ONLY' => 'Θέματα μόνο?', + 'TOPICS_PER_PAGE' => 'Ανά σελίδα', + + 'WORD_MAX_SIZE' => 'Μέγιστο μέγεθος γραμματοσειράς', + 'WORD_MIN_SIZE' => 'Ελάχιστο μέγεθος γραμματοσειράς', +)); diff --git a/language/el/common.php b/language/el/common.php new file mode 100644 index 000000000000..4124591a3189 --- /dev/null +++ b/language/el/common.php @@ -0,0 +1,97 @@ + 'Όλη Την Ώρα', + + 'BLOCK_TITLE' => 'Τίτλος Μπλοκ', + + 'CHANGE_ME' => 'Αλλαγή Μου', + + 'DAILY_MEMBER' => 'Μέλος της ημέρας', + + 'FEATURED_MEMBER' => 'Προτεινόμενο Μέλος', + 'FEATURED_MEMBERLIST' => 'Λίστα επιλεγμένων μελών', + 'FEEDS' => 'Ροές', + 'FORUM_ANNOUNCEMENTS' => 'Ανακοινώσεις Φόρουμ', + 'FORUM_GLOBAL_ANNOUNCEMENTS' => 'Ανακοινώσεις Παγκόσμιου Φόρουμ', + 'FORUM_RECENT_POSTS' => 'Πρόσφατες Δημοσιεύσεις Φόρουμ', + 'FORUM_RECENT_TOPICS' => 'Πρόσφατα Θέματα Φόρουμ', + 'FORUM_STICKY_POSTS' => 'Πρόσφατες Κολλημένες Δημοσιεύσεις', + + 'HELP' => 'Βοήθεια', + 'HOURLY_MEMBER' => 'Μέλος της ώρας', + + 'GOOGLE_MAP' => 'Χάρτης Google', + + 'JOIN_DATE' => 'Ημερομηνία Εγγραφής', + + 'LAST_POST_BY_AUTHOR' => 'Τελευταία δημοσίευση από', + 'LAST_VISITED' => 'Τελευταία Επίσκεψη', + 'LINKS' => 'Σύνδεσμοι', + + 'MCP_SITEMAKER_CONTENT' => 'Περιεχόμενα', + 'MEMBERS_DATE' => 'Ημερομηνία', + 'MENU' => 'Μενού', + 'MONTHLY_MEMBER' => 'Μέλος του μήνα', + 'MOST_TENURED' => 'Πιο Tenured', + 'MY_BOOKMARKS' => 'Οι Σελιδοδείκτες Μου', + + 'NO_BOOKMARKED_TOPICS' => 'Δεν έχετε σελιδοποιήσει κανένα θέμα', + 'NO_NEW_TOPICS' => 'Δεν υπάρχουν νέα θέματα για εμφάνιση', + + 'POLL' => 'Δημοσκόπηση', + 'POPULAR_TOPICS' => 'Δημοφιλή Θέματα', + 'POSTS_MEMBER' => 'Κορυφή Αφίσα', + 'PROCESSING' => 'επεξεργασία...', + + 'QTYPE_POSTS' => 'Συγχαρητήρια στο:', + 'QTYPE_RECENT' => 'Παρακαλώ καλωσορίστε το νεότερο μέλος μας:', + + 'RECENT_BOTS' => 'Πρόσφατες Μηχανές Αναζήτησης', + 'RECENT_MEMBER' => 'Πρόσφατο Μέλος', + 'RECENT_MEMBERS' => 'Πρόσφατα Μέλη', + + 'SESSION_HIDE_ME' => 'Απόκρυψη Μου', + 'SM_NAVIGATION' => 'Navigation', + 'SM_TOGGLE_DROPDOWN' => 'Εναλλαγή αναπτυσσόμενου μενού', + 'STYLE_SWITCHER' => 'Εναλλαγή Στυλ', + + 'THIS_MONTH' => 'Αυτόν Το Μήνα', + 'THIS_WEEK' => 'Αυτή Την Εβδομάδα', + 'THIS_YEAR' => 'Αυτό Το Έτος', + 'TODAY' => 'Σήμερα', + 'TOPICS_LAST_READ' => 'Τελευταία Ανάγνωση Θεμάτων', + 'TOPIC_LAST_READ' => 'Τελευταία ανάγνωση %s', + 'TOP_POSTERS' => 'Κορυφαίες Αφίσες', + + 'UCP_SITEMAKER_CONTENT' => 'Τα Υλικά Μου', + + 'VIEW_DETAILS' => 'Προβολή Λεπτομερειών', + 'VIEW_USER_PROFILE' => 'Όλα περίπου %s', + + 'WEEKLY_MEMBER' => 'Μέλος της εβδομάδας', + 'WELCOME' => 'Καλωσόρισμα', + 'WHATS_NEW' => 'Τι Είναι Νέο?', + 'WORDGRAPH' => 'Λέξη', +)); diff --git a/language/el/css_presets.php b/language/el/css_presets.php new file mode 100644 index 000000000000..8697eebca905 --- /dev/null +++ b/language/el/css_presets.php @@ -0,0 +1,107 @@ + 'Δείκτης λίστας βελών', + 'LIST_CIRCLE' => 'Δείκτης λίστας κύκλων', + 'LIST_DISC' => 'Σημάδι λίστας κουκκίδων', + 'LIST_SQUARE' => 'Σημάδι τετράγωνης λίστας', + 'LIST_NUMBERED' => 'Αριθμημένη λίστα', + 'LIST_NUMBERED_ALPHABET' => 'Αριθμημένο με αλφάβητο', + 'LIST_NUMBERED_NESTED' => 'Αριθμημένη με υποενότητες', + 'LIST_NUMBERED_ROMAN' => 'Αριθμημένα με λατινικούς αριθμούς', + 'LIST_NUMBERED_ZERO' => 'Αριθμημένα με μηδενικό προβάδισμα', + 'LIST_INLINE' => 'Ενσωματωμένη λίστα', + 'LIST_INLINE_SEP' => 'Λίστα χωρισμένη με κόμματα', + 'LIST_REVERSE' => 'Αντίστροφη σειρά', + 'LIST_STRIPED' => 'Ριγέ λίστα', + 'LIST_STACKED' => 'Συσσωρευμένη λίστα', + 'LIST_TRIANGLE' => 'Τρίγωνο', + 'LIST_HYPHEN' => 'Υφαίνη', + 'LIST_PLUS' => 'Συν', + 'LIST_SPADE' => 'Spade', + 'LIST_CLUB' => 'Λέσχη', + 'LIST_DIAMOND' => 'Διαμάντι', + 'LIST_HEART' => 'Καρδιά', + 'LIST_STAR' => 'Αστέρι', + 'LIST_CHECK' => 'Έλεγχος', + 'LIST_SNOWFLAKE' => 'Νιφάδα Χιονιού', + 'LIST_MUSIC' => 'Μουσική', + 'LIST_AUTOWIDTH' => 'Auto width', + 'LIST_FIT_CONTENT' => 'Προσαρμογή περιεχομένου', + 'LIST_2COLS' => '2 λίστα στηλών', + 'LIST_3COLS' => '3 στήλες', + 'LIST_4COLS' => '4 στήλες λίστα', + 'LIST_5COLS' => '5 στήλες', + 'LIST_X_DIVIDER_DOTTED' => 'Οριζόντια διακεκομμένη διαχωριστική γραμμή', + 'LIST_X_DIVIDER_LINE' => 'Διαχωριστικό οριζόντιας γραμμής', + 'LIST_Y_DIVIDER_DOTTED' => 'Κάθετη διαχωριστική γραμμή', + 'LIST_Y_DIVIDER_LINE' => 'Διαχωριστικό κατακόρυφης γραμμής', + + 'IMAGE_SMALL' => 'Μικρή εικόνα', + 'IMAGE_MEDIUM' => 'Μεσαία εικόνα', + 'IMAGE_LARGE' => 'Μεγάλη εικόνα', + 'IMAGE_FULL_WIDTH' => 'Εικόνα πλήρους πλάτους', + 'IMAGE_ALIGN_LEFT' => 'Απόρριψη επιπλέουσας εικόνας', + 'IMAGE_ALIGN_RIGHT' => 'Πλωτή εικόνα δεξιά', + 'IMAGE_CIRCLE' => 'Κυκλική εικόνα', + 'IMAGE_ROUNDED' => 'Στρογγυλεμένη εικόνα', + 'IMAGE_BORDER' => 'Bordered εικόνα', + 'IMAGE_BORDER_PADDING' => 'Image border padding', + 'IMAGE_RATIO_SQUARE' => 'Τετράγωνη Εικόνα', + 'IMAGE_RATIO_4_BY_3' => '4 με 3 εικόνες', + 'IMAGE_RATIO_16_BY_9' => '16 από 9 εικόνες', + + 'RESPONSIVE_SHOW' => 'Εμφάνιση μόνο σε μικρές συσκευές', + 'RESPONSIVE_HIDE' => 'Απόκρυψη σε μικρές συσκευές', + + 'ALIGN_LEFT' => 'Αριστερό-ευθυγραμμισμένο κείμενο', + 'ALIGN_CENTER' => 'Κεντραρισμένο κείμενο', + 'ALIGN_RIGHT' => 'Δεξιά-ευθυγραμμισμένο κείμενο', + 'NO_PADDING' => 'No padding', + 'LABEL' => 'Ετικέτα', + 'BADGE' => 'Σήμα', + 'PRIMARY_COLOR' => 'Κύριο χρώμα', + 'SECONDARY_COLOR' => 'Δευτερεύον χρώμα', + 'GRAYSCALE_COLOR' => 'Grayscale', + 'INFO_COLOR' => 'Πληροφορίες', + 'SUCCESS_COLOR' => 'Επιτυχία', + 'WARNING_COLOR' => 'Προειδοποίηση', + 'DANGER_COLOR' => 'Κίνδυνος', +)); diff --git a/language/el/exceptions.php b/language/el/exceptions.php new file mode 100644 index 000000000000..e8481e7d86d4 --- /dev/null +++ b/language/el/exceptions.php @@ -0,0 +1,49 @@ + 'Λείπει το απαιτούμενο πεδίο', + 'EXCEPTION_INVALID_ACTION' => 'Η ενέργεια δεν υπάρχει', + 'EXCEPTION_INVALID_ARGUMENT' => 'Μη έγκυρο όρισμα που ορίστηκε για το `%1$s`. Λόγος: %2$s', + 'EXCEPTION_INVALID_DATA_TYPE' => 'Η παρεχόμενη τιμή είναι ενός μη αναμενόμενου τύπου δεδομένων', + 'EXCEPTION_INVALID_ENTITY' => 'Η παρεχόμενη οντότητα είναι απροσδόκητης κατηγορίας οικονομικής οντότητας', + 'EXCEPTION_INVALID_PROPERTY' => 'Η ζητούμενη ιδιότητα δεν υπάρχει', + 'EXCEPTION_OUT_OF_BOUNDS' => 'Το ζητούμενο `%1$s` δεν υπάρχει', + 'EXCEPTION_SERVICE_NOT_FOUND' => 'Η ζητούμενη υπηρεσία δεν βρέθηκε', + 'EXCEPTION_UNEXPECTED_VALUE' => 'Δεν ήταν δυνατή η εκτέλεση της ενέργειας `%1$s`. Λόγος: %2$s', +)); diff --git a/language/el/ext.php b/language/el/ext.php new file mode 100644 index 000000000000..c437ec25a2b3 --- /dev/null +++ b/language/el/ext.php @@ -0,0 +1,42 @@ + 'Ο κατάλογος εικόνας phpBB δεν είναι εγγράψιμος. Παρακαλώ αλλάξτε τα δικαιώματα για εγγράψιμο από όλους (777 ή -rwxrwxrwx εντός του FTP πελάτη)', + 'PHPBB_VERSION_UNMET' => 'Αυτή η επέκταση απαιτεί τουλάχιστον phpBB %s', +)); diff --git a/language/el/feed_fields.php b/language/el/feed_fields.php new file mode 100644 index 000000000000..7c572b09c154 --- /dev/null +++ b/language/el/feed_fields.php @@ -0,0 +1,108 @@ + 'συγγραφέας', + 'AUTHORS' => 'συντάκτες (πίνακας)', + 'BITRATE' => 'bitrate', + 'CAPTIONS' => 'λεζάντες', + 'CATEGORIES' => 'κατηγορίες (πίνακας)', + 'CATEGORY' => 'κατηγορία', + 'CHANNELS' => 'κανάλια', + 'CONTENT' => 'περιεχόμενο', + 'CONTRIBUTOR' => 'συνεισφέρων', + 'CONTRIBUTORS' => 'συνεισφέροντες (πίνακας)', + 'COPYRIGHT' => 'πνευματικά δικαιώματα', + 'CREDITS' => 'μονάδες', + 'DATE' => 'ημερομηνία', + 'DESCRIPTION' => 'περιγραφή', + 'DURATION' => 'διάρκεια', + 'ENCLOSURE' => 'περίβλημα', + 'ENCLOSURES' => 'καταλύματα (πίνακας)', + 'EXPRESSION' => 'έκφραση', + 'FEED' => 'ζωοτροφές', + 'FRAMERATE' => 'framerate', + 'GMDATE' => 'Ημερομηνία GM', + 'HANDLER' => 'handler', + 'HASHES' => 'hashes', + 'HEIGHT' => 'ύψος', + 'ID' => 'id', + 'IMAGE_HEIGHT' => 'ύψος εικόνας', + 'IMAGE_LINK' => 'σύνδεσμος εικόνας', + 'IMAGE_TITLE' => 'τίτλος εικόνας', + 'IMAGE_URL' => 'εικόνα url', + 'IMAGE_WIDTH' => 'πλάτος εικόνας', + 'ITEMS' => 'αντικείμενα', + 'JAVASCRIPT' => 'javascript', + 'KEYWORDS' => 'λέξεις-κλειδί', + 'LABEL' => 'ετικέτα', + 'LANG' => 'lang', + 'LATITUDE' => 'γεωγραφικό πλάτος', + 'LENGTH' => 'μήκος', + 'LINK' => 'σύνδεσμος', + 'LINKS' => 'σύνδεσμοι', + 'LONGITUDE' => 'γεωγραφικό μήκος', + 'MEDIUM' => 'μέτρια', + 'NAME' => 'όνομα', + 'PERMALINK' => 'permalink', + 'PLAYER' => 'παίκτης', + 'RATINGS' => 'βαθμολογίες', + 'RELATIONSHIP' => 'σχέση', + 'RESTRICTIONS' => 'περιορισμοί (πίνακας)', + 'SAMPLINGRATE' => 'ρυθμός δειγματοληψίας', + 'SCHEME' => 'σχήμα', + 'SOURCE' => 'πηγή', + 'TERM' => 'όρος', + 'THUMBNAILS' => 'thumbnails', + 'TITLE' => 'τίτλος', + 'TYPE' => 'τύπος', + 'UPDATED_DATE' => 'ενημερωμένη ημερομηνία', + 'UPDATED_GMDATE' => 'ενημερωμένη ημερομηνία GM', + 'VALUE' => 'τιμή', + 'WIDTH' => 'width', +)); diff --git a/language/el/icons.php b/language/el/icons.php new file mode 100644 index 000000000000..a2c8666a4594 --- /dev/null +++ b/language/el/icons.php @@ -0,0 +1,71 @@ + 'Προσβασιμότητα', + 'ICON_ARROWS' => 'Βέλη', + 'ICON_BRAND' => 'Μάρκα', + 'ICON_CHART' => 'Γράφημα', + 'ICON_CURRENCY' => 'Νόμισμα', + 'ICON_DIRECTIONAL' => 'Κατεύθυνση', + 'ICON_FILE_TYPE' => 'Τύπος Αρχείου', + 'ICON_FORM_CONTROL' => 'Έλεγχος Φόρμας', + 'ICON_GENDER' => 'Φύλο', + 'ICON_HAND' => 'Χέρι', + 'ICON_MEDICAL' => 'Ιατρική', + 'ICON_PAYMENT' => 'Πληρωμή', + 'ICON_SPINNER' => 'Περιστροφή', + 'ICON_TEXT_EDITOR' => 'Επεξεργαστής Κειμένου', + 'ICON_TRANSPORTATION' => 'Μεταφορές', + 'ICON_VIDEO_PLAYER' => 'Αναπαραγωγέας Βίντεο', + 'ICON_WEB_APPLICATION' => 'Εφαρμογή Ιστού', + + 'ICON_COLOR' => 'Χρώμα', + 'ICON_DEFAULT' => 'Προεπιλογή', + 'ICON_FLIP_BOTH' => 'Αναστροφή Και', + 'ICON_FLIP_HORIZONTAL' => 'Αναστροφή Οριζόντια', + 'ICON_FLIP_VERTICAL' => 'Κατακόρυφη Αναστροφή', + 'ICON_FLOAT' => 'Πλωτή', + 'ICON_FLOAT_LEFT' => 'Αριστερά', + 'ICON_FLOAT_RIGHT' => 'Δεξιά', + 'ICON_FONT' => 'Font Icons', + 'ICON_INSERT_UPDATE' => 'Insert/Update', + 'ICON_MISC' => 'Διάφορα', + 'ICON_MISC_BORDERED' => 'Δανεισμένο', + 'ICON_MISC_FIXED_WIDTH' => 'Σταθερό Πλάτος', + 'ICON_MISC_PULSE' => 'Παλμός', + 'ICON_MISC_SPINNING' => 'Περιστροφή', + 'ICON_ROTATION' => 'Περιστροφή', + 'ICON_ROTATE_90' => '90°', + 'ICON_ROTATE_180' => '180°', + 'ICON_ROTATE_270' => '270°', + 'ICON_SIZE' => 'Μέγεθος', + 'ICON_SIZE_LG' => 'Μεγαλύτερο', + 'ICON_SIZE_SM' => 'Μικρό', + 'ICON_SIZE_2X' => '2x', + 'ICON_SIZE_3X' => '3x', + 'ICON_SIZE_4X' => '4x', + 'ICON_SIZE_5X' => '5x', + + 'NO_ICON' => 'Χωρίς Εικονίδιο', +)); diff --git a/language/el/info_acp_menus.php b/language/el/info_acp_menus.php new file mode 100644 index 000000000000..3d979e021cd5 --- /dev/null +++ b/language/el/info_acp_menus.php @@ -0,0 +1,92 @@ + 'Μενού', + 'ACP_MENU_MANAGE' => 'Διαχείριση Μενού', + 'ACP_MENU_MANAGE_EXPLAIN' => 'Εδώ μπορείτε να δημιουργήσετε και να διαχειριστείτε μενού για την ιστοσελίδα σας', + 'ADD_BULK_MENU' => 'Μαζική Προσθήκη Στοιχείων Μενού', + 'ADD_BULK_MENU_EXPLAIN' => 'Προσθήκη πολλαπλών στοιχείων μενού ταυτόχρονα.
- Τοποθέτησε κάθε αντικείμενο σε ξεχωριστή γραμμή
- Χρησιμοποίησε το κλειδί Tab για να εσοχές για να αναπαραστάσεις σχέσεις γονέας-παιδιού
- Εισαγάγε στοιχείο και URL όπως αυτά: Homet/index.php', + 'ADD_MENU' => 'Προσθήκη Μενού', + 'ADD_MENU_ITEM' => 'Προσθήκη Στοιχείου Μενού', + 'ADD_ITEM' => 'Προσθήκη Νέου Στοιχείου', + 'AJAX_PROCESSING' => 'Εργασία', + + 'CHANGE_ME' => 'Αλλαγή Μου', + + 'DELETE_ITEM' => 'Διαγραφή Αντικειμένου', + 'DELETE_KIDS' => 'Διαγραφή Κλάδου', + 'DELETE_MENU' => 'Διαγραφή Μενού', + 'DELETE_MENU_CONFIRM' => 'Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτό το μενού?
Αυτό θα διαγράψει το μενού και όλα τα στοιχεία του', + 'DELETE_MENU_ITEM' => 'Διαγραφή Αντικειμένου', + 'DELETE_MENU_ITEM_CONFIRM' => 'Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτό το στοιχείο μενού?', + 'DELETE_SELECTED' => 'Διαγραφή Επιλεγμένων', + + 'EDIT_ITEM' => 'Επεξεργασία Αντικειμένου', + + 'ITEM_ACTIVE' => 'Ενεργό', + 'ITEM_INACTIVE' => 'Ανενεργό', + 'ITEM_PARENT' => 'Γονικός', + 'ITEM_TITLE' => 'Τίτλος Στοιχείου', + 'ITEM_TITLE_EXPLAIN' => 'Ορισμός ως ’-’ για διαχωριστικό', + 'ITEM_TARGET' => 'Item Target', + 'ITEM_URL' => 'Url Στοιχείου', + 'ITEM_URL_EXPLAIN' => '- Αφήστε κενό για τις επικεφαλίδες
- Οι εξωτερικές ιστοσελίδες πρέπει να ξεκινούν με http(s)://, ftp://, //, κλπ', + + 'MENU_ITEMS' => 'Στοιχεία Μενού', + + 'NO_MENU_ITEMS' => 'Δεν έχουν δημιουργηθεί στοιχεία μενού', + 'NO_PARENT' => 'Χωρίς Γονικό', + + 'PROCESSING_ERROR' => 'Σφάλμα επεξεργασίας', + + 'REBUILD_TREE' => 'Αναδόμηση Δέντρου', + 'REQUIRED' => 'Απαιτείται', + 'REQUIRED_FIELDS' => '* Υποχρεωτικά πεδία', + + 'SAVE_CHANGES' => 'Αποθήκευση Αλλαγών', + 'SAVE' => 'Αποθήκευση', + 'SELECT_ALL' => 'Επιλογή Όλων', + + 'TARGET_BLANK' => 'Κενή Σελίδα', + 'TARGET_PARENT' => 'Γονικός', + + 'UNSAVED_CHANGES' => 'Έχετε μη αποθηκευμένες αλλαγές', + + 'VISIT_PAGE' => 'Επισκεφθείτε Τη Σελίδα', +)); diff --git a/language/el/info_acp_settings.php b/language/el/info_acp_settings.php new file mode 100644 index 000000000000..2bf03d049c98 --- /dev/null +++ b/language/el/info_acp_settings.php @@ -0,0 +1,74 @@ + 'SiteMaker', + 'ACP_SM_SETTINGS' => 'Ρυθμίσεις', + + 'BLOCKS_CLEANUP' => 'Εκκαθάριση Μπλοκ', + 'BLOCKS_CLEANUP_EXPLAIN' => 'Βρέθηκαν τα ακόλουθα στοιχεία που δεν υπάρχουν πλέον ή δεν είναι προσβάσιμα και επομένως μπορείτε να διαγράψετε όλα τα μπλοκ που σχετίζονται με αυτά. Παρακαλώ να έχετε κατά νου ότι μερικά από αυτά μπορεί να είναι ψευδώς θετικά', + 'BLOCKS_CLEANUP_BLOCKS' => 'Μη έγκυροι κύβοι (π.χ. από απεγκατεστημένες επεκτάσεις):', + 'BLOCKS_CLEANUP_ROUTES' => 'Απροσπέλαση/σπασμένα Σελίδες:', + 'BLOCKS_CLEANUP_STYLES' => 'Στυλ Απεγκατάστασης (ids):', + 'BLOCKS_CLEANUP_SUCCESS' => 'Μπλοκ που καθαρίζονται με επιτυχία', + + 'FORUM_INDEX_SETTINGS' => 'Ρυθμίσεις Ευρετηρίου Φόρουμ', + 'FORUM_INDEX_SETTINGS_EXPLAIN' => 'Αυτές οι ρυθμίσεις ισχύουν μόνο όταν δεν έχει οριστεί αρχική σελίδα', + + 'HIDE' => 'Απόκρυψη', + 'HIDE_BIRTHDAY' => 'Απόκρυψη τμήματος γενεθλίων', + 'HIDE_LOGIN' => 'Απόκρυψη πλαισίου σύνδεσης', + 'HIDE_ONLINE' => 'Απόκρυψη σε απευθείας σύνδεση ενότητα', + + 'LAYOUT_BLOG' => 'Ιστολόγιο', + 'LAYOUT_CUSTOM' => 'Προσαρμοσμένο', + 'LAYOUT_HOLYGRAIL' => 'Ιερό Δισκίο', + 'LAYOUT_PORTAL' => 'Πύλη', + 'LAYOUT_PORTAL_ALT' => 'Πύλη (εναλλακτική)', + 'LAYOUT_SETTINGS' => 'Ρυθμίσεις Διάταξης', + + 'LOG_DELETED_BLOCKS_FOR_STYLE' => 'Τα μπλοκ Sitemaker διαγράφονται για το στυλ που λείπει με αναγνωριστικό %s', + 'LOG_DELETED_BLOCKS_FOR_ROUTE' => 'Τα μπλοκ Sitemaker διαγράφηκαν για κατεστραμμένες σελίδες:
%s', + 'LOG_DELETED_BLOCKS' => 'Διαγράφηκαν μη έγκυρα μπλοκ Κατασκευαστή:
%s', + + 'NAVIGATION_SETTINGS' => 'Ρυθμίσεις Πλοήγησης', + + 'SETTINGS_SAVED' => 'Οι ρυθμίσεις σας έχουν αποθηκευτεί', + 'SHOW' => 'Εμφάνιση', + 'SHOW_FORUM_NAV' => 'Εμφάνιση «Φόρουμ» στη γραμμή πλοήγησης?', + 'SHOW_FORUM_NAV_EXPLAIN' => 'Όταν μια σελίδα οριστεί ως αρχική σελίδα αντί για το ευρετήριο φόρουμ, θα πρέπει να εμφανίσουμε το «Φόρουμ» στη γραμμή πλοήγησης', + 'SHOW_FORUM_NAV_WITH_ICON' => 'Ναι - με εικονίδιο:', +]); diff --git a/language/el/navbar_manager.php b/language/el/navbar_manager.php new file mode 100644 index 000000000000..0a9af22f565b --- /dev/null +++ b/language/el/navbar_manager.php @@ -0,0 +1,79 @@ + 'Ενεργό Στοιχείο', + 'BORDER' => 'Border', + 'BORDER_COLOR' => 'Χρώμα Περιγράμματος', + 'BORDER_RADIUS' => 'Ακτίνα Περιγράμματος', + 'BORDER_WIDTH' => 'Border Width', + 'BOTTOM' => 'Κάτω', + 'BOTTOM_LEFT' => 'Κάτω Αριστερά', + 'BOTTOM_RIGHT' => 'Κάτω Δεξιά', + 'CAPITALIZE' => 'Κεφαλαιοποίηση', + 'COLOR' => 'Χρώμα', + 'DIVIDERS' => 'Διαχωριστικά', + 'END' => 'Τέλος', + 'GRADIENT' => 'Διαβάθμιση', + 'HEADERS' => 'Κεφαλίδες', + 'HOVER' => 'Hover', + 'LEFT' => 'Αριστερά', + 'LOWERCASE' => 'Πεζά', + 'MARGIN' => 'Περιθώριο', + 'NAVBAR' => 'Γραμμή Πλοήγησης', + 'NAVBAR_MENU' => 'Navbar menu', + 'NAVBAR_DROPDOWN' => 'Αναπτυσσόμενο', + 'NAVBAR_LOCATION' => 'Τοποθεσία', + 'NAVBAR_LOCATION_OPTION' => 'Τοποθεσία #%s', + 'NAVBAR_TOP_MENU' => 'Πάνω Μενού', + 'NONE' => 'Κανένα', + 'PADDING' => 'Padding', + 'RESPONSIVE_TOGGLE' => 'Εναλλαγή Ανταπόκρισης', + 'RESPONSIVE_TOGGLE_EXPLAIN' => 'Μόνο ορατό σε μικρές (κινητές) οθόνες', + 'RIGHT' => 'Δεξιά', + 'SAVE' => 'Αποθήκευση', + 'SIZE' => 'Μέγεθος', + 'START' => 'Έναρξη', + 'TEXT' => 'Κείμενο', + 'TOP' => 'Πάνω', + 'TOP_LEFT' => 'Πάνω Αριστερά', + 'TOP_RIGHT' => 'Πάνω Δεξιά', + 'TRANSFORM' => 'Μετασχηματισμός', + 'UPPERCASE' => 'Κεφαλαία', +)); diff --git a/language/el/permissions_sitemaker.php b/language/el/permissions_sitemaker.php new file mode 100644 index 000000000000..1fc1254a2f3d --- /dev/null +++ b/language/el/permissions_sitemaker.php @@ -0,0 +1,45 @@ + '[ SiteMaker ] Μπορεί να διαχειριστεί τις ρυθμίσεις', + 'ACL_A_SM_MANAGE_BLOCKS' => '[ SiteMaker ] Μπορεί να διαχειριστεί μπλοκ', + 'ACL_A_SM_MANAGE_MENUS' => '[ SiteMaker ] Μπορεί να διαχειριστεί μενού', +)); diff --git a/language/es/block_manager.php b/language/es/block_manager.php new file mode 100644 index 000000000000..a02d47225fa3 --- /dev/null +++ b/language/es/block_manager.php @@ -0,0 +1,123 @@ + '* Arrastrar y soltar bloques', + 'AJAX_ERROR' => '¡Ups! Hubo un error al procesar su solicitud. Por favor, inténtelo de nuevo.', + 'AJAX_LOADING' => 'Cargando...', + 'AJAX_PROCESSING' => 'Trabajando...', + + 'BACKGROUND' => 'Fondo', + 'BLOCKS' => 'Bloques', + 'BLOCKS_COPY_FROM' => 'Copiar bloques', + 'BLOCK_ACTIVE' => 'Activo', + 'BLOCK_CHILD_ROUTES_ONLY' => 'Mostrar sólo en rutas secundarias', + 'BLOCK_CHILD_ROUTES_HIDE' => 'Ocultar en rutas secundarias', + 'BLOCK_CLASS' => 'Clase CSS', + 'BLOCK_CLASS_EXPLAIN' => 'Modificar la apariencia del bloque con las clases CSS', + 'BLOCK_DESIGN' => 'Apariencia', + 'BLOCK_DISPLAY_TYPE' => 'Mostrar', + 'BLOCK_HIDE_TITLE' => '¿Ocultar título del bloque?', + 'BLOCK_INACTIVE' => 'Inactivo', + 'BLOCK_MISSING_TEMPLATE' => 'Falta la plantilla de bloque requerida. Póngase en contacto con el desarrollador', + 'BLOCK_NOT_FOUND' => '¡Vaya! No se ha encontrado el servicio de bloque solicitado', + 'BLOCK_NO_DATA' => 'No hay datos para mostrar', + 'BLOCK_NO_ID' => '¡Uy! Falta el id de bloque', + 'BLOCK_PERMISSION' => 'Permiso', + 'BLOCK_PERMISSION_ALLOW' => 'Mostrar a', + 'BLOCK_PERMISSION_DENY' => 'Ocultar de', + 'BLOCK_PERMISSION_EXPLAIN' => 'Usar CTRL + clic para alternar la selección', + 'BLOCK_SHOW_ALWAYS' => 'Siempre', + 'BLOCK_STATUS' => 'Estado', + 'BLOCK_UPDATED' => 'Configuración del bloque actualizada correctamente', + + 'CANCEL' => 'Cancelar', + 'CHILD_ROUTE' => 'Hijo', + 'CHILD_ROUTE_EXPLAIN' => '/viewforum.php, /dir/index.php
/viewtopic.php?f=2&t=1
/articles/my-article', + 'CLEAR' => 'Claro', + 'COPY' => 'Copiar', + 'COPY_BLOCKS' => '¿Copiar bloques?', + 'COPY_BLOCKS_CONFIRM' => '¿Estás seguro de que quieres copiar bloques de otra página?

Esto eliminará todos los bloques existentes y sus ajustes para esta página y los reemplazará por los bloques de la página seleccionada.', + + 'DEFAULT_LAYOUT_EXPLAIN' => 'Si se establece, todas las páginas del sitio para las que no haya especificado bloques heredarán los bloques del diseño predeterminado. Sin embargo, puede anular el diseño predeterminado para páginas en particular usando las opciones a la derecha.', + 'DELETE' => 'Eliminar', + 'DELETE_ALL_BLOCKS' => 'Borrar todos los bloques', + 'DELETE_ALL_BLOCKS_CONFIRM' => '¿Estás seguro de que quieres eliminar todos los bloques de esta página?', + 'DELETE_BLOCK' => 'Eliminar bloque', + 'DELETE_BLOCK_CONFIRM' => '¿Está seguro de que desea eliminar este bloque?


Nota: Usted tendrá que guardar los cambios de diseño para hacer esto permanente.', + + 'EDIT' => 'Editar', + 'EDIT_BLOCK' => 'Editar bloque', + 'EXIT_EDIT_MODE' => 'Salir del modo edición', + + 'FEED_PROBLEMS' => 'Hubo un problema al procesar el/rs/atom proporcionado(s)', + 'FEED_URL_MISSING' => 'Por favor proporcione al menos un feed rss/atom para comenzar', + 'FIELD_INVALID' => 'El valor proporcionado para el campo “%s” tiene un formato no válido', + 'FIELD_REQUIRED' => '“%s” es un campo obligatorio', + 'FIELD_TOO_LONG' => 'El valor proporcionado para el campo “%1$s” es demasiado largo. El valor máximo aceptable es %2$d.', + 'FIELD_TOO_SHORT' => 'El valor proporcionado para el campo “%1$s” es demasiado corto. El valor mínimo aceptable es %2$d.', + + 'HIDE_ALL_BLOCKS' => 'No mostrar bloques en esta página', + 'HIDE_BLOCK_POSITIONS' => 'No mostrar bloques para las siguientes posiciones de bloque:', + + 'IMAGES' => 'Imágenes', + + 'LAYOUT' => 'Diseño', + 'LAYOUT_SAVED' => 'Diseño guardado con éxito!', + 'LAYOUT_SETTINGS' => 'Ajustes de diseño', + 'LEAVE_CONFIRM' => 'Tiene algunos cambios no guardados en esta página. Por favor, guarde su trabajo antes de avanzar', + 'LISTS' => 'Listas', + + 'MAKE_DEFAULT_LAYOUT' => 'Establecer como diseño predeterminado', + + 'OR' => 'O', + + 'PARENT_ROUTE' => 'Padres', + 'PARENT_ROUTE_EXPLAIN' => '/index.php
/viewforum.php?f=2
/articles', + 'PREDEFINED_CLASSES' => 'Clases predefinidas', + + 'REDO' => 'Rehacer', + 'REMOVE_DEFAULT_LAYOUT' => 'Eliminar como diseño predeterminado', + 'REMOVE_STARTPAGE' => 'Eliminar página inicial', + 'ROUTE_HIDDEN_BLOCKS' => 'Los bloques están siendo ocultos para esta página', + 'ROUTE_HIDDEN_POSITIONS' => 'Los bloques están siendo ocultos para las siguientes posiciones', + 'ROUTE_UPDATED' => 'Configuración de página actualizada correctamente', + + 'SAVE_CHANGES' => 'Guardar Cambios', + 'SAVE_SETTINGS' => 'Guardar ajustes', + 'SELECT_ICON' => 'Seleccione un icono', + 'SETTINGS' => 'Ajustes', + 'SETTING_TOO_BIG' => 'El valor proporcionado para el ajuste “%1$s” es demasiado alto. El valor máximo aceptable es %2$d.', + 'SETTING_TOO_LONG' => 'El valor proporcionado para el ajuste “%1$s” es demasiado largo. La longitud máxima aceptable es %2$d.', + 'SETTING_TOO_LOW' => 'El valor proporcionado para el ajuste “%1$s” es demasiado bajo. El valor mínimo aceptable es %2$d.', + 'SETTING_TOO_SHORT' => 'El valor proporcionado para el ajuste “%1$s” es demasiado corto. La longitud mínima aceptable es %2$d.', + 'SET_STARTPAGE' => 'Establecer como página de inicio', + + 'TITLES' => 'Titulos', + + 'UPDATE_SIMILAR' => 'Actualizar bloques con ajustes similares', + 'UNDO' => 'Deshacer', + + 'VIEW_DEFAULT_LAYOUT' => 'Ver/Editar diseño predeterminado', + 'VISIT_PAGE' => 'Visitar página', +)); diff --git a/language/es/blocks_admin.php b/language/es/blocks_admin.php new file mode 100644 index 000000000000..c85b2c44a053 --- /dev/null +++ b/language/es/blocks_admin.php @@ -0,0 +1,189 @@ + 'Todos los tipos', + 'ALL_GROUPS' => 'Todos los grupos', + 'ARCHIVES' => 'Archivos', + 'AUTO_LOGIN' => '¿Permitir acceso automático?', + 'FILE_MANAGER' => 'Gestor de archivos', + 'TOPIC_POST_IDS' => 'Desde temas / Ids del post', + 'TOPIC_POST_IDS_EXPLAIN' => 'Id(s) de temas/publicaciones de los que recuperar archivos adjuntos, separados por comas(,). Especifique si esta lista es para temas o identificadores de publicación arriba.', + 'TOPIC_POST_IDS_TYPE' => 'Tipo de IDs (abajo)', + + // Blocks + 'BLITZE_SITEMAKER_BLOCK_ATTACHMENTS' => 'Adjuntos', + 'BLITZE_SITEMAKER_BLOCK_BIRTHDAY' => 'Cumpleaños', + 'BLITZE_SITEMAKER_BLOCK_CUSTOM' => 'Bloque personalizado', + 'BLITZE_SITEMAKER_BLOCK_FEATURED_MEMBER' => 'Miembro destacado', + 'BLITZE_SITEMAKER_BLOCK_FEEDS' => 'Alimentos RSS/Atom', + 'BLITZE_SITEMAKER_BLOCK_FORUM_POLL' => 'Encuesta del Foro', + 'BLITZE_SITEMAKER_BLOCK_FORUM_TOPICS' => 'Temas del foro', + 'BLITZE_SITEMAKER_BLOCK_GOOGLE_MAPS' => 'Mapas de Google', + 'BLITZE_SITEMAKER_BLOCK_POPULAR_TOPICS' => 'Temas populares', + 'BLITZE_SITEMAKER_BLOCK_LINKS' => 'Enlaces', + 'BLITZE_SITEMAKER_BLOCK_LOGIN' => 'Caja de acceso', + 'BLITZE_SITEMAKER_BLOCK_MEMBERS' => 'Miembros', + 'BLITZE_SITEMAKER_BLOCK_MEMBER_MENU' => 'Menú de miembros', + 'BLITZE_SITEMAKER_BLOCK_MENU' => 'Menú', + 'BLITZE_SITEMAKER_BLOCK_MYBOOKMARKS' => 'Mis favoritos', + 'BLITZE_SITEMAKER_BLOCK_RECENT_TOPICS' => 'Temas recientes', + 'BLITZE_SITEMAKER_BLOCK_STATS' => 'Estadísticas', + 'BLITZE_SITEMAKER_BLOCK_STYLE_SWITCHER' => 'Cambiador de estilos', + 'BLITZE_SITEMAKER_BLOCK_WHATS_NEW' => '¿Qué hay de nuevo?', + 'BLITZE_SITEMAKER_BLOCK_WHOIS' => 'Quién está conectado', + 'BLITZE_SITEMAKER_BLOCK_WORDGRAPH' => 'Wordgraph', + + // block views + 'BLOCK_VIEW' => 'Bloquear vista', + 'BLOCK_VIEW_BASIC' => 'Básico', + 'BLOCK_VIEW_BOXED' => 'Cajado', + 'BLOCK_VIEW_DEFAULT' => 'Por defecto', + 'BLOCK_VIEW_SIMPLE' => 'Simple', + + 'CACHE_DURATION' => 'Duración del caché', + 'CONTEXT' => 'Contexto', + 'CSS_SCRIPTS' => 'CSS Scripts', + 'CUSTOM_PROFILE_FIELDS' => 'Campos de perfil personalizados', + + 'DATE_RANGE' => 'Date Range', + 'DISPLAY_PREVIEW' => '¿Mostrar vista previa?', + + 'EDIT_ME' => 'Por favor, editame', + 'ENABLE_TOPIC_TRACKING' => '¿Habilitar seguimiento de temas?', + 'ENABLE_TOPIC_TRACKING_EXPLAIN' => 'Si está activado, los temas no leídos serán indicados pero los resultados del bloque no serán almacenados en caché (No recomendado)', + 'EXCLUDE_TOO_MANY_WORDS' => 'Ha introducido demasiadas palabras para excluir. El número máximo de caracteres posible es 255, ha introducido %s.', + 'EXCLUDE_WORDS' => 'Excluir palabras', + 'EXCLUDE_WORDS_EXPLAIN' => 'Lista de las palabras que desea excluir del gráfico de palabras separadas por una coma (,). Máximo 255 caracteres.', + 'EXPANDED' => 'Ampliado', + 'EXTENSION_GROUP' => 'Grupo de extensiones', + + 'FEATURED_MEMBER_IDS' => 'IDs de usuario', + 'FEATURED_MEMBER_IDS_EXPLAIN' => 'Lista separada por comas de usuarios a característica (sólo se aplica al modo Mostrar miembros destacados)', + 'FEED_DATA_PREVIEW' => 'Datos de alimentación', + 'FEED_ITEM_TEMPLATE' => 'Plantilla de artículo', + 'FEED_ITEM_TEMPLATE_EXPLAIN' => 'TIPS:
+
    +
  • Acceso a los datos del feed en elemento variable e. . itle
  • +
  • Plantilla debe estar en sintaxis de Twig
  • +
  • Haga clic en Muestras arriba para plantillas de ejemplo
  • +
  • Utilice get_item_tags($namespace, $tag) para obtener cualquier etiqueta del feed que no proporcionamos. .
    {{ get_item_tags(\'\', \'image\') }}
  • +
  • Utilice el filtro json_encode de Twig para ver el contenido de la matriz. . {{ get_item_tags(\'\', \'image\')|json_encode() }}
  • +
', + 'FEED_PREVIEW_SOURCE' => 'Fuente', + 'FEED_URL_PLACEHOLDER' => 'http://ejemplo.com/r(debate)', + 'FEED_URLS' => 'URLs de alimentación', + 'FIRST_POST_ONLY' => 'Sólo el primer mensaje', + 'FIRST_POST_TIME' => 'Primera Hora de Post', + 'FORUMS_GET_TYPE' => 'Obtener tipo', + 'FORUMS_MAX_TOPICS' => 'Máximo de temas/mensajes', + 'FORUMS_TITLE_MAX_CHARS' => 'Máximo de caracteres por título', + 'FREQUENCY' => 'Frecuencia', + 'FULL' => 'Lleno', + 'FULLSCREEN' => 'Pantalla completa', + + 'GET_TYPE' => '¿Mostrar tema/mensaje?', + + 'HTML' => 'HTML', + 'HTML_EXPLAIN' => 'Usa este área de texto para introducir contenido HTML puro.
Tenga en cuenta que cualquier contenido publicado aquí anulará el contenido de bloque personalizado y el editor visual de bloques no estará disponible.', + 'HOURS_SHORT' => 'hrs', + + 'JS_SCRIPTS' => 'JS Scripts', + + 'LAST_POST_TIME' => 'Último mensaje', + 'LAST_READ_TIME' => 'Última lectura', + 'LIMIT' => 'Límite', + 'LIMIT_FORUMS' => 'Ids del foro (opcional)', + 'LIMIT_FORUMS_EXPLAIN' => 'Introduzca el id de cada foro separado por una coma (,). Si se establece, sólo se mostrarán los temas de los foros especificados.', + 'LIMIT_POST_TIME' => 'Limitar por hora postal', + 'LIMIT_POST_TIME_EXPLAIN' => 'Si se establece, sólo los temas publicados en el período especificado serán recuperados', + + 'MAX_DEPTH' => 'Profundidad máxima', + 'MAX_ITEMS' => 'Número máximo de artículos', + 'MAX_MEMBERS' => 'Max. Miembros', + 'MAX_POSTS' => 'Número máximo de mensajes', + 'MAX_TOPICS' => 'Número máximo de temas', + 'MAX_WORDS' => 'Número máximo de palabras', + 'MANAGE_MENUS' => 'Administrar Menús', + 'MAP_COORDINATES' => 'Coordenadas', + 'MAP_COORDINATES_EXPLAIN' => 'Introduzca coordenadas en la latitud del formulario, longitud', + 'MAP_HEIGHT' => 'Altura', + 'MAP_LOCATION' => 'Ubicación', + 'MAP_TITLE' => 'Título', + 'MAP_VIEW' => 'Ver', + 'MAP_VIEW_HYBRID' => 'Hibrida', + 'MAP_VIEW_MAP' => 'Mapa', + 'MAP_VIEW_SATELITE' => 'Satélite', + 'MAP_VIEW_TERRAIN' => 'Terrain', + 'MAP_ZOOM_LEVEL' => 'Nivel de zoom', + 'MEMBERS_DATE' => 'Fecha', + 'MENU_NO_ITEMS' => 'No hay elementos activos para mostrar', + 'MINI' => 'Mini', + + 'OR' => 'O', + 'ORDER_BY' => 'Ordenar por', + + 'POLL_FROM_FORUMS' => 'Mostrar encuestas de foro(s)', + 'POLL_FROM_FORUMS_EXPLAIN' => 'Sólo las encuestas de los foros seleccionados se mostrarán mientras no se especifique ningún tema arriba', + 'POLL_FROM_GROUPS' => 'Mostrar encuestas de grupo(s)', + 'POLL_FROM_GROUPS_EXPLAIN' => 'Solo las encuestas de los miembros de los grupos seleccionados se mostrarán mientras no se especifique ningún usuario/o usuario/a anterior', + 'POLL_FROM_TOPICS' => 'Mostrar encuestas de tema(s)', + 'POLL_FROM_TOPICS_EXPLAIN' => 'Id(s) de temas de los que recuperar encuestas, separados por comas(,). Deje en blanco para seleccionar cualquier tema.', + 'POLL_FROM_USERS' => 'Mostrar encuestas de usuario(s)', + 'POLL_FROM_USERS_EXPLAIN' => 'Id(s) de usuario(s) cuyas encuestas desea mostrar, separadas por comas(,). Deje en blanco para seleccionar encuestas de cualquier usuario.', + 'POSTS_TITLE_LIMIT' => 'Número máximo de caracteres para el título del post', + 'PREVIEW_MAX_CHARS' => 'Número de caracteres a previsualizar', + + 'QUERY_TYPE' => 'Modo de pantalla', + + 'ROTATE_DAILY' => 'Diario', + 'ROTATE_HOURLY' => 'Por hora', + 'ROTATE_MONTHLY' => 'Mensual', + 'ROTATE_PAGELOAD' => 'Carga de página', + 'ROTATE_WEEKLY' => 'Semanal', + + 'SAMPLES' => 'Muestras', + 'SCRIPTS' => 'Escrituras', + 'SELECT_FORUMS' => 'Seleccionar foros', + 'SELECT_FORUMS_EXPLAIN' => 'Selecciona los foros desde los que mostrar temas/mensajes. Déjalo en blanco para seleccionar de todos los foros', + 'SELECT_MENU' => 'Seleccionar Menú', + 'SELECT_PROFILE_FIELDS' => 'Seleccionar campos de perfil', + 'SELECT_PROFILE_FIELDS_EXPLAIN' => 'Sólo se mostrarán los campos de perfil seleccionados, si están disponibles.', + 'SHOW_FIRST_POST' => 'Primer mensaje', + 'SHOW_HIDE_ME' => '¿Permitir ocultar el estado de conexión?', + 'SHOW_LAST_POST' => 'Último mensaje', + 'SHOW_MEMBER_MENU' => '¿Mostrar menú de usuario?', + 'SHOW_MEMBER_MENU_EXPLAIN' => 'Reemplazar la caja de inicio de sesión con el menú de usuario si el usuario está conectado', + 'SHOW_WORD_COUNT' => '¿Mostrar contador de palabras?', + + 'TEMPLATE' => 'Plantilla', + 'TOPIC_TITLE_LIMIT' => 'Número máximo de caracteres para el título del tema', + 'TOPIC_TYPE' => 'Tipo de tema', + 'TOPIC_TYPE_EXPLAIN' => 'Seleccione los tipos de temas que desea mostrar. Deje las casillas desmarcadas para seleccionar de todos los tipos de temas', + 'TOPICS_LOOK_BACK' => 'Mirar atrás', + 'TOPICS_ONLY' => '¿Sólo temas?', + 'TOPICS_PER_PAGE' => 'Por página', + + 'WORD_MAX_SIZE' => 'Tamaño máximo de fuente', + 'WORD_MIN_SIZE' => 'Tamaño mínimo de fuente', +)); diff --git a/language/es/common.php b/language/es/common.php new file mode 100644 index 000000000000..d32e8b4ff895 --- /dev/null +++ b/language/es/common.php @@ -0,0 +1,97 @@ + 'Todo', + + 'BLOCK_TITLE' => 'Título del bloque', + + 'CHANGE_ME' => 'Cambiarme', + + 'DAILY_MEMBER' => 'Miembro del día', + + 'FEATURED_MEMBER' => 'Miembro destacado', + 'FEATURED_MEMBERLIST' => 'Lista de miembros destacados', + 'FEEDS' => 'Alimentos', + 'FORUM_ANNOUNCEMENTS' => 'Anuncios del Foro', + 'FORUM_GLOBAL_ANNOUNCEMENTS' => 'Anuncios del Foro Global', + 'FORUM_RECENT_POSTS' => 'Mensajes recientes del foro', + 'FORUM_RECENT_TOPICS' => 'Temas recientes del foro', + 'FORUM_STICKY_POSTS' => 'Mensajes Sticky Recientes', + + 'HELP' => 'Ayuda', + 'HOURLY_MEMBER' => 'Miembro de la hora', + + 'GOOGLE_MAP' => 'Mapa de Google', + + 'JOIN_DATE' => 'Fecha de unión', + + 'LAST_POST_BY_AUTHOR' => 'Último mensaje por', + 'LAST_VISITED' => 'Última visita', + 'LINKS' => 'Enlaces', + + 'MCP_SITEMAKER_CONTENT' => 'Contenido', + 'MEMBERS_DATE' => 'Fecha', + 'MENU' => 'Menú', + 'MONTHLY_MEMBER' => 'Miembro del mes', + 'MOST_TENURED' => 'Más Permanente', + 'MY_BOOKMARKS' => 'Mis favoritos', + + 'NO_BOOKMARKED_TOPICS' => 'No has marcado ningún tema', + 'NO_NEW_TOPICS' => 'No hay nuevos temas para mostrar', + + 'POLL' => 'Encuesta', + 'POPULAR_TOPICS' => 'Temas populares', + 'POSTS_MEMBER' => 'Póster superior', + 'PROCESSING' => 'procesando...', + + 'QTYPE_POSTS' => 'Felicitaciones a:', + 'QTYPE_RECENT' => 'Por favor, da la bienvenida a nuestro miembro más reciente:', + + 'RECENT_BOTS' => 'Motores de búsqueda recientes', + 'RECENT_MEMBER' => 'Miembro reciente', + 'RECENT_MEMBERS' => 'Miembros recientes', + + 'SESSION_HIDE_ME' => 'Esconderme', + 'SM_NAVIGATION' => 'Navigation', + 'SM_TOGGLE_DROPDOWN' => 'Cambiar desplegable', + 'STYLE_SWITCHER' => 'Cambiador de estilos', + + 'THIS_MONTH' => 'Este mes', + 'THIS_WEEK' => 'Esta semana', + 'THIS_YEAR' => 'Este año', + 'TODAY' => 'Hoy', + 'TOPICS_LAST_READ' => 'Últimos temas de lectura', + 'TOPIC_LAST_READ' => 'Última lectura %s', + 'TOP_POSTERS' => 'Top Posters', + + 'UCP_SITEMAKER_CONTENT' => 'Mis cosas', + + 'VIEW_DETAILS' => 'Ver detalles', + 'VIEW_USER_PROFILE' => 'Todo acerca de %s', + + 'WEEKLY_MEMBER' => 'Miembro de la semana', + 'WELCOME' => 'Bienvenida', + 'WHATS_NEW' => '¿Qué hay de nuevo?', + 'WORDGRAPH' => 'Wordgraph', +)); diff --git a/language/es/css_presets.php b/language/es/css_presets.php new file mode 100644 index 000000000000..a8476742721a --- /dev/null +++ b/language/es/css_presets.php @@ -0,0 +1,107 @@ + 'Marcador de lista de flechas', + 'LIST_CIRCLE' => 'Marcador de lista de círculos', + 'LIST_DISC' => 'Marcador de lista de balas', + 'LIST_SQUARE' => 'Marcador de lista cuadrada', + 'LIST_NUMBERED' => 'Lista numerada', + 'LIST_NUMBERED_ALPHABET' => 'Numerado con alfabeto', + 'LIST_NUMBERED_NESTED' => 'Numerado con subsecciones', + 'LIST_NUMBERED_ROMAN' => 'Numerado con números romanos', + 'LIST_NUMBERED_ZERO' => 'Numerado con cero inicial', + 'LIST_INLINE' => 'Lista en línea', + 'LIST_INLINE_SEP' => 'Lista separada por comas', + 'LIST_REVERSE' => 'Orden inversa', + 'LIST_STRIPED' => 'Lista de rayas', + 'LIST_STACKED' => 'Lista apilada', + 'LIST_TRIANGLE' => 'Triángulo', + 'LIST_HYPHEN' => 'Hifeno', + 'LIST_PLUS' => 'Plus', + 'LIST_SPADE' => 'Spade', + 'LIST_CLUB' => 'Club', + 'LIST_DIAMOND' => 'Diamante', + 'LIST_HEART' => 'Corazón', + 'LIST_STAR' => 'Estrella', + 'LIST_CHECK' => 'Comprobar', + 'LIST_SNOWFLAKE' => 'Copo de nieve', + 'LIST_MUSIC' => 'Música', + 'LIST_AUTOWIDTH' => 'Auto width', + 'LIST_FIT_CONTENT' => 'Ajustar contenido', + 'LIST_2COLS' => 'Lista de 2 columnas', + 'LIST_3COLS' => 'Lista de 3 columnas', + 'LIST_4COLS' => 'Lista de 4 columnas', + 'LIST_5COLS' => 'Lista de 5 columnas', + 'LIST_X_DIVIDER_DOTTED' => 'Divisor de puntos horizontal', + 'LIST_X_DIVIDER_LINE' => 'Divisor de línea horizontal', + 'LIST_Y_DIVIDER_DOTTED' => 'Divisor de puntos verticales', + 'LIST_Y_DIVIDER_LINE' => 'Divisor de línea vertical', + + 'IMAGE_SMALL' => 'Imagen pequeña', + 'IMAGE_MEDIUM' => 'Imagen media', + 'IMAGE_LARGE' => 'Imagen grande', + 'IMAGE_FULL_WIDTH' => 'Imagen de ancho completo', + 'IMAGE_ALIGN_LEFT' => 'Imagen float izquierda', + 'IMAGE_ALIGN_RIGHT' => 'Imagen float derecha', + 'IMAGE_CIRCLE' => 'Imagen circular', + 'IMAGE_ROUNDED' => 'Imagen redondeada', + 'IMAGE_BORDER' => 'Imagen bordeada', + 'IMAGE_BORDER_PADDING' => 'Image border padding', + 'IMAGE_RATIO_SQUARE' => 'Imagen cuadrada', + 'IMAGE_RATIO_4_BY_3' => '4 por 3 imágenes', + 'IMAGE_RATIO_16_BY_9' => '16 por 9 imágenes', + + 'RESPONSIVE_SHOW' => 'Mostrar sólo en dispositivos pequeños', + 'RESPONSIVE_HIDE' => 'Ocultar en dispositivos pequeños', + + 'ALIGN_LEFT' => 'Texto alineado izquierdo', + 'ALIGN_CENTER' => 'Texto centrado', + 'ALIGN_RIGHT' => 'Texto alineado derecho', + 'NO_PADDING' => 'No padding', + 'LABEL' => 'Etiqueta', + 'BADGE' => 'Insignia', + 'PRIMARY_COLOR' => 'Color principal', + 'SECONDARY_COLOR' => 'Color secundario', + 'GRAYSCALE_COLOR' => 'Grayscale', + 'INFO_COLOR' => 'Info', + 'SUCCESS_COLOR' => 'Éxito', + 'WARNING_COLOR' => 'Advertencia', + 'DANGER_COLOR' => 'Peligro', +)); diff --git a/language/es/exceptions.php b/language/es/exceptions.php new file mode 100644 index 000000000000..d52aa8412610 --- /dev/null +++ b/language/es/exceptions.php @@ -0,0 +1,49 @@ + 'Falta un campo obligatorio', + 'EXCEPTION_INVALID_ACTION' => 'La acción no existe', + 'EXCEPTION_INVALID_ARGUMENT' => 'Argumento no válido especificado para `%1$s`. Razón: %2$s', + 'EXCEPTION_INVALID_DATA_TYPE' => 'El valor proporcionado es de un tipo de datos inesperado', + 'EXCEPTION_INVALID_ENTITY' => 'La entidad proporcionada es de una clase de entidad inesperada', + 'EXCEPTION_INVALID_PROPERTY' => 'La propiedad solicitada no existe', + 'EXCEPTION_OUT_OF_BOUNDS' => 'El pedido `%1$s` no existe', + 'EXCEPTION_SERVICE_NOT_FOUND' => 'No se encontró el servicio solicitado', + 'EXCEPTION_UNEXPECTED_VALUE' => 'La acción solicitada `%1$s` no pudo ser realizada. Motivo: %2$s', +)); diff --git a/language/es/ext.php b/language/es/ext.php new file mode 100644 index 000000000000..0a890a1bdeb2 --- /dev/null +++ b/language/es/ext.php @@ -0,0 +1,42 @@ + 'El directorio de imágenes phpBB no tiene permisos de escritura. Por favor, cambie los permisos de escritura para todos (777 o -rwxrwxrwx dentro de su cliente FTP)', + 'PHPBB_VERSION_UNMET' => 'Esta extensión requiere al menos phpBB %s', +)); diff --git a/language/es/feed_fields.php b/language/es/feed_fields.php new file mode 100644 index 000000000000..3d5134031160 --- /dev/null +++ b/language/es/feed_fields.php @@ -0,0 +1,108 @@ + 'autor', + 'AUTHORS' => 'autores (array)', + 'BITRATE' => 'bitrate', + 'CAPTIONS' => 'subtítulos', + 'CATEGORIES' => 'categorías (array)', + 'CATEGORY' => 'categoría', + 'CHANNELS' => 'canales', + 'CONTENT' => 'contenido', + 'CONTRIBUTOR' => 'colaborador', + 'CONTRIBUTORS' => 'colaboradores (array)', + 'COPYRIGHT' => 'copyright', + 'CREDITS' => 'créditos', + 'DATE' => 'fecha', + 'DESCRIPTION' => 'descripción', + 'DURATION' => 'duración', + 'ENCLOSURE' => 'adjunto', + 'ENCLOSURES' => 'recintos (array)', + 'EXPRESSION' => 'expresión', + 'FEED' => 'alimento', + 'FRAMERATE' => 'frenar', + 'GMDATE' => 'Fecha GM', + 'HANDLER' => 'handler', + 'HASHES' => 'hash', + 'HEIGHT' => 'altura', + 'ID' => 'id', + 'IMAGE_HEIGHT' => 'altura de imagen', + 'IMAGE_LINK' => 'enlace de imagen', + 'IMAGE_TITLE' => 'título de la imagen', + 'IMAGE_URL' => 'url de imagen', + 'IMAGE_WIDTH' => 'ancho de imagen', + 'ITEMS' => 'objetos', + 'JAVASCRIPT' => 'javascript', + 'KEYWORDS' => 'palabras clave', + 'LABEL' => 'etiqueta', + 'LANG' => 'lang', + 'LATITUDE' => 'latitud', + 'LENGTH' => 'largo', + 'LINK' => 'enlace', + 'LINKS' => 'enlaces', + 'LONGITUDE' => 'longitud', + 'MEDIUM' => 'medio', + 'NAME' => 'nombre', + 'PERMALINK' => 'permalink', + 'PLAYER' => 'jugador', + 'RATINGS' => 'calificaciones', + 'RELATIONSHIP' => 'relación', + 'RESTRICTIONS' => 'restricciones (array)', + 'SAMPLINGRATE' => 'tasa de muestreo', + 'SCHEME' => 'esquema', + 'SOURCE' => 'fuente', + 'TERM' => 'término', + 'THUMBNAILS' => 'thumbnails', + 'TITLE' => 'título', + 'TYPE' => 'tipo', + 'UPDATED_DATE' => 'fecha actualizada', + 'UPDATED_GMDATE' => 'fecha GM actualizada', + 'VALUE' => 'valor', + 'WIDTH' => 'width', +)); diff --git a/language/es/icons.php b/language/es/icons.php new file mode 100644 index 000000000000..d4b0d26ae720 --- /dev/null +++ b/language/es/icons.php @@ -0,0 +1,71 @@ + 'Accesibilidad', + 'ICON_ARROWS' => 'Flechas', + 'ICON_BRAND' => 'Marca', + 'ICON_CHART' => 'Gráfico', + 'ICON_CURRENCY' => 'Moneda', + 'ICON_DIRECTIONAL' => 'Direccional', + 'ICON_FILE_TYPE' => 'Tipo de archivo', + 'ICON_FORM_CONTROL' => 'Control de Formas', + 'ICON_GENDER' => 'Sexo', + 'ICON_HAND' => 'Mano', + 'ICON_MEDICAL' => 'Médico', + 'ICON_PAYMENT' => 'Pago', + 'ICON_SPINNER' => 'Spinner', + 'ICON_TEXT_EDITOR' => 'Editor de texto', + 'ICON_TRANSPORTATION' => 'Transportación', + 'ICON_VIDEO_PLAYER' => 'Reproductor de vídeo', + 'ICON_WEB_APPLICATION' => 'Aplicación Web', + + 'ICON_COLOR' => 'Color', + 'ICON_DEFAULT' => 'Por defecto', + 'ICON_FLIP_BOTH' => 'Voltear ambos', + 'ICON_FLIP_HORIZONTAL' => 'Voltear horizontal', + 'ICON_FLIP_VERTICAL' => 'Voltear vertical', + 'ICON_FLOAT' => 'Ropa', + 'ICON_FLOAT_LEFT' => 'Queda', + 'ICON_FLOAT_RIGHT' => 'Derecha', + 'ICON_FONT' => 'Font Icons', + 'ICON_INSERT_UPDATE' => 'Insert/Update', + 'ICON_MISC' => 'Misc', + 'ICON_MISC_BORDERED' => 'Bordeado', + 'ICON_MISC_FIXED_WIDTH' => 'Ancho fijo', + 'ICON_MISC_PULSE' => 'Pulso', + 'ICON_MISC_SPINNING' => 'Espinar', + 'ICON_ROTATION' => 'Rotación', + 'ICON_ROTATE_90' => '90°', + 'ICON_ROTATE_180' => '180°', + 'ICON_ROTATE_270' => '270°', + 'ICON_SIZE' => 'Tamaño', + 'ICON_SIZE_LG' => 'Más grande', + 'ICON_SIZE_SM' => 'Pequeño', + 'ICON_SIZE_2X' => '2 x', + 'ICON_SIZE_3X' => '3 x', + 'ICON_SIZE_4X' => '4 x', + 'ICON_SIZE_5X' => '5 x', + + 'NO_ICON' => 'Sin icono', +)); diff --git a/language/es/info_acp_menus.php b/language/es/info_acp_menus.php new file mode 100644 index 000000000000..8cb25c12e753 --- /dev/null +++ b/language/es/info_acp_menus.php @@ -0,0 +1,92 @@ + 'Menú', + 'ACP_MENU_MANAGE' => 'Gestión de Menús', + 'ACP_MENU_MANAGE_EXPLAIN' => 'Aquí puede crear y administrar menús para su sitio', + 'ADD_BULK_MENU' => 'Añadir elementos de menú en masa', + 'ADD_BULK_MENU_EXPLAIN' => 'Añadir varios elementos de menú a la vez.
- Coloca cada elemento en una línea separada
- Usa la tecla Tabla para sangrar elementos para representar las relaciones padre-hijo
- Ingresa el elemento y la URL así: Inicio|index.php', + 'ADD_MENU' => 'Añadir Menú', + 'ADD_MENU_ITEM' => 'Añadir elemento de menú', + 'ADD_ITEM' => 'Añadir nuevo elemento', + 'AJAX_PROCESSING' => 'Trabajando', + + 'CHANGE_ME' => 'Cambiarme', + + 'DELETE_ITEM' => 'Eliminar elemento', + 'DELETE_KIDS' => 'Eliminar rama', + 'DELETE_MENU' => 'Borrar Menú', + 'DELETE_MENU_CONFIRM' => '¿Está seguro que desea eliminar este menú?
Esto eliminará el menú y todos sus elementos', + 'DELETE_MENU_ITEM' => 'Eliminar elemento', + 'DELETE_MENU_ITEM_CONFIRM' => '¿Está seguro que desea eliminar este elemento del menú?', + 'DELETE_SELECTED' => 'Eliminar seleccionados', + + 'EDIT_ITEM' => 'Editar ítem', + + 'ITEM_ACTIVE' => 'Activo', + 'ITEM_INACTIVE' => 'Inactivo', + 'ITEM_PARENT' => 'Padres', + 'ITEM_TITLE' => 'Título del artículo', + 'ITEM_TITLE_EXPLAIN' => 'Establecer como \'-\' para el divisor', + 'ITEM_TARGET' => 'Item Target', + 'ITEM_URL' => 'URL del artículo', + 'ITEM_URL_EXPLAIN' => '- Dejar vacío para los encabezados
- Los sitios externos deben comenzar con http(s)://, ftp://, //, etc', + + 'MENU_ITEMS' => 'Elementos de menú', + + 'NO_MENU_ITEMS' => 'No se han creado elementos de menú', + 'NO_PARENT' => 'Ningún Padre', + + 'PROCESSING_ERROR' => 'Error de procesamiento', + + 'REBUILD_TREE' => 'Reconstruir árbol', + 'REQUIRED' => 'Requerido', + 'REQUIRED_FIELDS' => '* Campos requeridos', + + 'SAVE_CHANGES' => 'Guardar Cambios', + 'SAVE' => 'Guardar', + 'SELECT_ALL' => 'Seleccionar todo', + + 'TARGET_BLANK' => 'Página en blanco', + 'TARGET_PARENT' => 'Padres', + + 'UNSAVED_CHANGES' => 'Tiene cambios sin guardar', + + 'VISIT_PAGE' => 'Visitar página', +)); diff --git a/language/es/info_acp_settings.php b/language/es/info_acp_settings.php new file mode 100644 index 000000000000..2a4d755af673 --- /dev/null +++ b/language/es/info_acp_settings.php @@ -0,0 +1,74 @@ + 'SiteMaker', + 'ACP_SM_SETTINGS' => 'Ajustes', + + 'BLOCKS_CLEANUP' => 'Limpieza de bloques', + 'BLOCKS_CLEANUP_EXPLAIN' => 'Se han encontrado los siguientes elementos que ya no existen o no se pueden alcanzar, por lo que puedes eliminar todos los bloques asociados a ellos. Por favor, ten en cuenta que algunos de estos pueden ser falsos positivos', + 'BLOCKS_CLEANUP_BLOCKS' => 'Bloques no válidos (por ejemplo, desde extensiones desinstaladas):', + 'BLOCKS_CLEANUP_ROUTES' => 'Páginas no reactivas/rotas:', + 'BLOCKS_CLEANUP_STYLES' => 'Estilos desinstalados (ids):', + 'BLOCKS_CLEANUP_SUCCESS' => 'Bloques depurados con éxito', + + 'FORUM_INDEX_SETTINGS' => 'Ajustes de índice del foro', + 'FORUM_INDEX_SETTINGS_EXPLAIN' => 'Estos ajustes sólo se aplican cuando no hay ninguna página de inicio definida', + + 'HIDE' => 'Ocultar', + 'HIDE_BIRTHDAY' => 'Ocultar sección de cumpleaños', + 'HIDE_LOGIN' => 'Ocultar caja de acceso', + 'HIDE_ONLINE' => 'Ocultar sección de Whos online', + + 'LAYOUT_BLOG' => 'Blog', + 'LAYOUT_CUSTOM' => 'Personalizado', + 'LAYOUT_HOLYGRAIL' => 'Santo Grial', + 'LAYOUT_PORTAL' => 'Portal', + 'LAYOUT_PORTAL_ALT' => 'Portal (alto)', + 'LAYOUT_SETTINGS' => 'Ajustes de diseño', + + 'LOG_DELETED_BLOCKS_FOR_STYLE' => 'Bloques de emaker eliminados por estilo faltante con id %s', + 'LOG_DELETED_BLOCKS_FOR_ROUTE' => 'Bloqueo de Sitios eliminado para páginas interrumpidas:
%s', + 'LOG_DELETED_BLOCKS' => 'Bloques de Sitemaker no válidos eliminados:
%s', + + 'NAVIGATION_SETTINGS' => 'Configuración de Navegación', + + 'SETTINGS_SAVED' => 'Su configuración ha sido guardada', + 'SHOW' => 'Mostrar', + 'SHOW_FORUM_NAV' => 'Mostrar \'Foro\' en la barra de navegación?', + 'SHOW_FORUM_NAV_EXPLAIN' => 'Cuando una página está establecida como página inicial en lugar del índice del foro, deberíamos mostrar \'Foro\' en la barra de navegación', + 'SHOW_FORUM_NAV_WITH_ICON' => 'Sí - con icono:', +]); diff --git a/language/es/navbar_manager.php b/language/es/navbar_manager.php new file mode 100644 index 000000000000..7be49353890e --- /dev/null +++ b/language/es/navbar_manager.php @@ -0,0 +1,79 @@ + 'Elemento activo', + 'BORDER' => 'Border', + 'BORDER_COLOR' => 'Color del borde', + 'BORDER_RADIUS' => 'Radio de borde', + 'BORDER_WIDTH' => 'Border Width', + 'BOTTOM' => 'Abajo', + 'BOTTOM_LEFT' => 'Botín izquierdo', + 'BOTTOM_RIGHT' => 'Abajo Derecha', + 'CAPITALIZE' => 'Capitalizar', + 'COLOR' => 'Color', + 'DIVIDERS' => 'Dividentes', + 'END' => 'Fin', + 'GRADIENT' => 'Gradiente', + 'HEADERS' => 'Encabezados', + 'HOVER' => 'Hover', + 'LEFT' => 'Queda', + 'LOWERCASE' => 'Minúsculas', + 'MARGIN' => 'Margen', + 'NAVBAR' => 'Navarra', + 'NAVBAR_MENU' => 'Navbar menu', + 'NAVBAR_DROPDOWN' => 'Soltar', + 'NAVBAR_LOCATION' => 'Ubicación', + 'NAVBAR_LOCATION_OPTION' => 'Ubicación #%s', + 'NAVBAR_TOP_MENU' => 'Menú superior', + 'NONE' => 'Ninguna', + 'PADDING' => 'Padding', + 'RESPONSIVE_TOGGLE' => 'Alternar con respuesta', + 'RESPONSIVE_TOGGLE_EXPLAIN' => 'Sólo se puede ver en pantallas pequeñas (móviles)', + 'RIGHT' => 'Derecha', + 'SAVE' => 'Guardar', + 'SIZE' => 'Tamaño', + 'START' => 'Comenzar', + 'TEXT' => 'Texto', + 'TOP' => 'Subir', + 'TOP_LEFT' => 'Arriba izquierda', + 'TOP_RIGHT' => 'Arriba Derecha', + 'TRANSFORM' => 'Transformar', + 'UPPERCASE' => 'Mayúsculas', +)); diff --git a/language/es/permissions_sitemaker.php b/language/es/permissions_sitemaker.php new file mode 100644 index 000000000000..49b65b0b1d40 --- /dev/null +++ b/language/es/permissions_sitemaker.php @@ -0,0 +1,45 @@ + '[ SiteMaker ] Puede administrar los ajustes', + 'ACL_A_SM_MANAGE_BLOCKS' => '[ SiteMaker ] Puede administrar bloques', + 'ACL_A_SM_MANAGE_MENUS' => '[ SiteMaker ] Puede administrar menús', +)); diff --git a/language/fr/block_manager.php b/language/fr/block_manager.php new file mode 100644 index 000000000000..ae9dabbff0f2 --- /dev/null +++ b/language/fr/block_manager.php @@ -0,0 +1,123 @@ + '*Blocs de glisser-déposer', + 'AJAX_ERROR' => 'Oups ! Une erreur s\'est produite lors du traitement de votre demande. Veuillez réessayer.', + 'AJAX_LOADING' => 'Chargement en cours...', + 'AJAX_PROCESSING' => 'Traitement...', + + 'BACKGROUND' => 'Arrière-plan', + 'BLOCKS' => 'Blocs', + 'BLOCKS_COPY_FROM' => 'Copier les blocs', + 'BLOCK_ACTIVE' => 'Actif', + 'BLOCK_CHILD_ROUTES_ONLY' => 'Afficher uniquement sur les routes enfants', + 'BLOCK_CHILD_ROUTES_HIDE' => 'Cacher sur les routes enfants', + 'BLOCK_CLASS' => 'Classe CSS', + 'BLOCK_CLASS_EXPLAIN' => 'Modifier l\'apparence du bloc avec les classes CSS', + 'BLOCK_DESIGN' => 'Apparence', + 'BLOCK_DISPLAY_TYPE' => 'Afficher', + 'BLOCK_HIDE_TITLE' => 'Cacher le titre du bloc ?', + 'BLOCK_INACTIVE' => 'Inactif', + 'BLOCK_MISSING_TEMPLATE' => 'Modèle de bloc requis manquant. Veuillez contacter le développeur', + 'BLOCK_NOT_FOUND' => 'Oups ! Le service de bloc demandé n\'a pas été trouvé', + 'BLOCK_NO_DATA' => 'Aucune donnée à afficher', + 'BLOCK_NO_ID' => 'Oups! Identifiant de bloc manquant', + 'BLOCK_PERMISSION' => 'Permission', + 'BLOCK_PERMISSION_ALLOW' => 'Afficher à', + 'BLOCK_PERMISSION_DENY' => 'Cacher de', + 'BLOCK_PERMISSION_EXPLAIN' => 'Utilisez CTRL + clic pour basculer la sélection', + 'BLOCK_SHOW_ALWAYS' => 'Toujours', + 'BLOCK_STATUS' => 'Statut', + 'BLOCK_UPDATED' => 'Paramètres du bloc mis à jour avec succès', + + 'CANCEL' => 'Abandonner', + 'CHILD_ROUTE' => 'Enfant', + 'CHILD_ROUTE_EXPLAIN' => '/viewforum.php, /dir/index.php
/viewtopic.php?f=2&t=1
/articles/my-article', + 'CLEAR' => 'Nettoyer', + 'COPY' => 'Copie', + 'COPY_BLOCKS' => 'Copier les blocs?', + 'COPY_BLOCKS_CONFIRM' => 'Êtes-vous sûr de vouloir copier des blocs depuis une autre page ?

Ceci supprimera tous les blocs existants et leurs paramètres pour cette page et les remplacera par les blocs de la page sélectionnée.', + + 'DEFAULT_LAYOUT_EXPLAIN' => 'Si défini, toutes les pages du site pour lesquelles vous n\'avez pas spécifié de blocs hériteront des blocs de la disposition par défaut. Vous pouvez cependant remplacer la mise en page par défaut pour des pages particulières en utilisant les options à droite.', + 'DELETE' => 'Supprimez', + 'DELETE_ALL_BLOCKS' => 'Supprimer tous les blocs', + 'DELETE_ALL_BLOCKS_CONFIRM' => 'Êtes-vous sûr de vouloir supprimer tous les blocs de cette page ?', + 'DELETE_BLOCK' => 'Supprimer le bloc', + 'DELETE_BLOCK_CONFIRM' => 'Êtes-vous sûr de vouloir supprimer ce bloc ?


Remarque : Vous devrez enregistrer les modifications de mise en page pour rendre ce permanent.', + + 'EDIT' => 'Editer', + 'EDIT_BLOCK' => 'Modifier le bloc', + 'EXIT_EDIT_MODE' => 'Quitter le mode d\'édition', + + 'FEED_PROBLEMS' => 'Un problème est survenu lors du traitement des flux rss/atom fournis', + 'FEED_URL_MISSING' => 'Veuillez fournir au moins un flux rss/atom pour commencer', + 'FIELD_INVALID' => 'La valeur fournie pour le champ “%s” a un format invalide', + 'FIELD_REQUIRED' => '«%s» est un champ obligatoire', + 'FIELD_TOO_LONG' => 'La valeur fournie pour le champ «%1$s» est trop longue. La valeur maximale acceptable est de %2$d.', + 'FIELD_TOO_SHORT' => 'La valeur fournie pour le champ «%1$s» est trop courte. La valeur minimale acceptable est de %2$d.', + + 'HIDE_ALL_BLOCKS' => 'Ne pas afficher les blocs sur cette page', + 'HIDE_BLOCK_POSITIONS' => 'Ne pas afficher les blocs pour les positions de bloc suivantes:', + + 'IMAGES' => 'Images', + + 'LAYOUT' => 'Mise en page', + 'LAYOUT_SAVED' => 'Mise en page enregistrée avec succès !', + 'LAYOUT_SETTINGS' => 'Paramètres de mise en page', + 'LEAVE_CONFIRM' => 'Vous avez des modifications non enregistrées sur cette page. Veuillez enregistrer votre travail avant de vous déplacer', + 'LISTS' => 'Listes', + + 'MAKE_DEFAULT_LAYOUT' => 'Définir comme mise en page par défaut', + + 'OR' => 'OU', + + 'PARENT_ROUTE' => 'Parent', + 'PARENT_ROUTE_EXPLAIN' => '/index.php
/viewforum.php?f=2
/articles', + 'PREDEFINED_CLASSES' => 'Classes prédéfinies', + + 'REDO' => 'Refaire', + 'REMOVE_DEFAULT_LAYOUT' => 'Retirer comme mise en page par défaut', + 'REMOVE_STARTPAGE' => 'Supprimer la page de démarrage', + 'ROUTE_HIDDEN_BLOCKS' => 'Les blocs sont masqués pour cette page', + 'ROUTE_HIDDEN_POSITIONS' => 'Les blocs sont masqués pour les positions suivantes', + 'ROUTE_UPDATED' => 'Paramètres de la page mis à jour avec succès', + + 'SAVE_CHANGES' => 'Enregistrer les modifications', + 'SAVE_SETTINGS' => 'Enregistrer les paramètres', + 'SELECT_ICON' => 'Sélectionnez une icône', + 'SETTINGS' => 'Réglages', + 'SETTING_TOO_BIG' => 'La valeur fournie pour le paramètre «%1$s» est trop élevée. La valeur maximale acceptable est de %2$d.', + 'SETTING_TOO_LONG' => 'La valeur fournie pour le paramètre «%1$s» est trop longue. La longueur maximale acceptable est de %2$d.', + 'SETTING_TOO_LOW' => 'La valeur fournie pour le paramètre «%1$s» est trop faible. La valeur minimale acceptable est %2$d.', + 'SETTING_TOO_SHORT' => 'La valeur fournie pour le paramètre «%1$s» est trop courte. La longueur minimale acceptable est de %2$d.', + 'SET_STARTPAGE' => 'Définir comme page de départ', + + 'TITLES' => 'Titres', + + 'UPDATE_SIMILAR' => 'Mettre à jour les blocs avec des paramètres similaires', + 'UNDO' => 'Annuler', + + 'VIEW_DEFAULT_LAYOUT' => 'Afficher/Modifier la mise en page par défaut', + 'VISIT_PAGE' => 'Visiter la page', +)); diff --git a/language/fr/blocks_admin.php b/language/fr/blocks_admin.php new file mode 100644 index 000000000000..d0454562d9b3 --- /dev/null +++ b/language/fr/blocks_admin.php @@ -0,0 +1,189 @@ + 'Tous les types', + 'ALL_GROUPS' => 'Tous les groupes', + 'ARCHIVES' => 'Archives', + 'AUTO_LOGIN' => 'Autoriser la connexion automatique ?', + 'FILE_MANAGER' => 'Gestionnaire de fichiers', + 'TOPIC_POST_IDS' => 'À partir du sujet/ID de publication', + 'TOPIC_POST_IDS_EXPLAIN' => 'Id(s) des sujets/messages pour récupérer les pièces jointes, séparées par virgules(,). Spécifiez si cette liste est pour les identifiants de sujet ou de publication ci-dessus.', + 'TOPIC_POST_IDS_TYPE' => 'Type d\'ID (ci-dessous)', + + // Blocks + 'BLITZE_SITEMAKER_BLOCK_ATTACHMENTS' => 'Fichiers joints', + 'BLITZE_SITEMAKER_BLOCK_BIRTHDAY' => 'Date d\'anniversaire', + 'BLITZE_SITEMAKER_BLOCK_CUSTOM' => 'Bloc personnalisé', + 'BLITZE_SITEMAKER_BLOCK_FEATURED_MEMBER' => 'Membre en vedette', + 'BLITZE_SITEMAKER_BLOCK_FEEDS' => 'Flux RSS/Atom', + 'BLITZE_SITEMAKER_BLOCK_FORUM_POLL' => 'Sondage du forum', + 'BLITZE_SITEMAKER_BLOCK_FORUM_TOPICS' => 'Sujets du forum', + 'BLITZE_SITEMAKER_BLOCK_GOOGLE_MAPS' => 'Google Maps', + 'BLITZE_SITEMAKER_BLOCK_POPULAR_TOPICS' => 'Sujets populaires', + 'BLITZE_SITEMAKER_BLOCK_LINKS' => 'Liens', + 'BLITZE_SITEMAKER_BLOCK_LOGIN' => 'Boîte de connexion', + 'BLITZE_SITEMAKER_BLOCK_MEMBERS' => 'Membres', + 'BLITZE_SITEMAKER_BLOCK_MEMBER_MENU' => 'Menu des membres', + 'BLITZE_SITEMAKER_BLOCK_MENU' => 'Menu', + 'BLITZE_SITEMAKER_BLOCK_MYBOOKMARKS' => 'Mes favoris', + 'BLITZE_SITEMAKER_BLOCK_RECENT_TOPICS' => 'Sujets récents', + 'BLITZE_SITEMAKER_BLOCK_STATS' => 'Statistiques', + 'BLITZE_SITEMAKER_BLOCK_STYLE_SWITCHER' => 'Sélecteur de style', + 'BLITZE_SITEMAKER_BLOCK_WHATS_NEW' => 'Quoi de neuf ?', + 'BLITZE_SITEMAKER_BLOCK_WHOIS' => 'Qui est en ligne', + 'BLITZE_SITEMAKER_BLOCK_WORDGRAPH' => 'Wordgraphe', + + // block views + 'BLOCK_VIEW' => 'Vue Bloc', + 'BLOCK_VIEW_BASIC' => 'Basique', + 'BLOCK_VIEW_BOXED' => 'Boîtes', + 'BLOCK_VIEW_DEFAULT' => 'Par défaut', + 'BLOCK_VIEW_SIMPLE' => 'Simple', + + 'CACHE_DURATION' => 'Durée de la cache', + 'CONTEXT' => 'Contexte', + 'CSS_SCRIPTS' => 'CSS Scripts', + 'CUSTOM_PROFILE_FIELDS' => 'Champs de profil personnalisés', + + 'DATE_RANGE' => 'Date Range', + 'DISPLAY_PREVIEW' => 'Aperçu de l\'affichage?', + + 'EDIT_ME' => 'Veuillez me modifier', + 'ENABLE_TOPIC_TRACKING' => 'Activer le suivi des sujets ?', + 'ENABLE_TOPIC_TRACKING_EXPLAIN' => 'Si activé, les discussions non lues seront indiquées mais les résultats du bloc ne seront pas mis en cache (non recommandé)', + 'EXCLUDE_TOO_MANY_WORDS' => 'Vous avez entré trop de mots à exclure. Le nombre maximum de caractères possibles est de 255, vous avez entré %s.', + 'EXCLUDE_WORDS' => 'Exclure les mots', + 'EXCLUDE_WORDS_EXPLAIN' => 'Listez les mots que vous souhaitez exclure du wordgraph séparés par une virgule (,). Maximum 255 caractères.', + 'EXPANDED' => 'Étendu', + 'EXTENSION_GROUP' => 'Groupe d\'extension', + + 'FEATURED_MEMBER_IDS' => 'IDs utilisateur', + 'FEATURED_MEMBER_IDS_EXPLAIN' => 'Liste des utilisateurs séparés par des virgules à utiliser (s\'applique uniquement au mode d\'affichage des membres en vedette)', + 'FEED_DATA_PREVIEW' => 'Données du flux', + 'FEED_ITEM_TEMPLATE' => 'Modèle d\'article', + 'FEED_ITEM_TEMPLATE_EXPLAIN' => 'TIPS:
+
    +
  • Access feed data in item variable e.g. item.title
  • +
  • Template must be in Twig syntax
  • +
  • Click Samples above for sample templates
  • +
  • Use get_item_tags($namespace, $tag) to get any tag from the feed that we do not provide e.g.
    {{ get_item_tags(\'\', \'image\') }}
  • +
  • Use Twig’s json_encode filter to see contents of array e.g. {{ get_item_tags(\'\', \'image\')|json_encode() }}
  • +
', + 'FEED_PREVIEW_SOURCE' => 'Source', + 'FEED_URL_PLACEHOLDER' => 'http://exemple.com/rss', + 'FEED_URLS' => 'URL du flux', + 'FIRST_POST_ONLY' => 'Premier message uniquement', + 'FIRST_POST_TIME' => 'Heure de la première publication', + 'FORUMS_GET_TYPE' => 'Obtenir le type', + 'FORUMS_MAX_TOPICS' => 'Nombre maximum de discussions/publications', + 'FORUMS_TITLE_MAX_CHARS' => 'Nombre maximum de caractères par titre', + 'FREQUENCY' => 'Fréquence', + 'FULL' => 'Plein', + 'FULLSCREEN' => 'Plein écran', + + 'GET_TYPE' => 'Afficher le sujet/message ?', + + 'HTML' => 'HTML', + 'HTML_EXPLAIN' => 'Utilisez cette zone de texte pour entrer du contenu HTML brut.
Veuillez noter que tout contenu publié ici remplacera le contenu du bloc personnalisé et que l\'éditeur de bloc visuel ne sera pas disponible.', + 'HOURS_SHORT' => 'heures', + + 'JS_SCRIPTS' => 'Scripts JS', + + 'LAST_POST_TIME' => 'Dernier message', + 'LAST_READ_TIME' => 'Dernière lecture', + 'LIMIT' => 'Limite', + 'LIMIT_FORUMS' => 'ID du forum (facultatif)', + 'LIMIT_FORUMS_EXPLAIN' => 'Entrez chaque identifiant de forum séparé par une virgule (,). Si défini, seuls les sujets des forums spécifiés seront affichés.', + 'LIMIT_POST_TIME' => 'Limiter par message', + 'LIMIT_POST_TIME_EXPLAIN' => 'Si défini, seuls les sujets postés dans la période spécifiée seront récupérés', + + 'MAX_DEPTH' => 'Profondeur maximale', + 'MAX_ITEMS' => 'Nombre maximum d\'éléments', + 'MAX_MEMBERS' => 'Nombre maximum de membres', + 'MAX_POSTS' => 'Nombre maximum de publications', + 'MAX_TOPICS' => 'Nombre maximum de sujets', + 'MAX_WORDS' => 'Nombre maximum de mots', + 'MANAGE_MENUS' => 'Gérer les menus', + 'MAP_COORDINATES' => 'Coordonnées', + 'MAP_COORDINATES_EXPLAIN' => 'Entrez les coordonnées sous la forme latitude, longitude', + 'MAP_HEIGHT' => 'Hauteur', + 'MAP_LOCATION' => 'Localisation', + 'MAP_TITLE' => 'Titre de la page', + 'MAP_VIEW' => 'Voir', + 'MAP_VIEW_HYBRID' => 'Hybride', + 'MAP_VIEW_MAP' => 'Carte', + 'MAP_VIEW_SATELITE' => 'Satelite', + 'MAP_VIEW_TERRAIN' => 'Terrain', + 'MAP_ZOOM_LEVEL' => 'Niveau de zoom', + 'MEMBERS_DATE' => 'Date', + 'MENU_NO_ITEMS' => 'Aucun élément actif à afficher', + 'MINI' => 'Mini', + + 'OR' => 'OU', + 'ORDER_BY' => 'Trier par', + + 'POLL_FROM_FORUMS' => 'Afficher les sondages depuis le(s) forum(s)', + 'POLL_FROM_FORUMS_EXPLAIN' => 'Seuls les sondages des forums sélectionnés seront affichés tant qu\'aucun sujet n\'est spécifié ci-dessus', + 'POLL_FROM_GROUPS' => 'Afficher les sondages des groupes', + 'POLL_FROM_GROUPS_EXPLAIN' => 'Seuls les sondages des membres des groupes sélectionnés seront affichés tant qu\'aucun utilisateur/utilisateur ne sera spécifié ci-dessus', + 'POLL_FROM_TOPICS' => 'Afficher les sondages depuis le(s) sujet(s)', + 'POLL_FROM_TOPICS_EXPLAIN' => 'Id(s) de sujets à récupérer des sondages, séparés par virgules(,). Laisser vide pour sélectionner un sujet.', + 'POLL_FROM_USERS' => 'Afficher les sondages de Utilisateur(s)', + 'POLL_FROM_USERS_EXPLAIN' => 'ID (s) de Utilisateur(s) dont vous souhaitez afficher les sondages, séparés par virgules(,). Laissez vide pour sélectionner les sondages de n\'importe quel utilisateur.', + 'POSTS_TITLE_LIMIT' => 'Nombre maximum de caractères pour le titre du message', + 'PREVIEW_MAX_CHARS' => 'Nombre de caractères à prévisualiser', + + 'QUERY_TYPE' => 'Mode d\'affichage', + + 'ROTATE_DAILY' => 'Tous les jours', + 'ROTATE_HOURLY' => 'Heures', + 'ROTATE_MONTHLY' => 'Mensuel', + 'ROTATE_PAGELOAD' => 'Chargement de la page', + 'ROTATE_WEEKLY' => 'Hebdomadaire', + + 'SAMPLES' => 'Échantillons', + 'SCRIPTS' => 'Scripts', + 'SELECT_FORUMS' => 'Sélectionnez les forums', + 'SELECT_FORUMS_EXPLAIN' => 'Sélectionnez les forums à partir desquels afficher les sujets/publications. Laissez vide pour sélectionner à partir de tous les forums', + 'SELECT_MENU' => 'Sélectionner le menu', + 'SELECT_PROFILE_FIELDS' => 'Sélectionner les champs de profil', + 'SELECT_PROFILE_FIELDS_EXPLAIN' => 'Seuls les champs de profil sélectionnés seront affichés, si disponible.', + 'SHOW_FIRST_POST' => 'Premier message', + 'SHOW_HIDE_ME' => 'Permettre de masquer le statut en ligne ?', + 'SHOW_LAST_POST' => 'Dernier message', + 'SHOW_MEMBER_MENU' => 'Afficher le menu utilisateur?', + 'SHOW_MEMBER_MENU_EXPLAIN' => 'Remplacer la boîte de connexion par le menu utilisateur si l\'utilisateur est connecté', + 'SHOW_WORD_COUNT' => 'Afficher le nombre de mots ?', + + 'TEMPLATE' => 'Gabarit', + 'TOPIC_TITLE_LIMIT' => 'Nombre maximum de caractères pour le titre du sujet', + 'TOPIC_TYPE' => 'Type de sujet', + 'TOPIC_TYPE_EXPLAIN' => 'Sélectionnez les types de sujet que vous souhaitez afficher. Laissez les cases décochées pour sélectionner à partir de tous les types de sujet', + 'TOPICS_LOOK_BACK' => 'Regarder en arrière', + 'TOPICS_ONLY' => 'Sujets seulement?', + 'TOPICS_PER_PAGE' => 'Par page', + + 'WORD_MAX_SIZE' => 'Taille maximale de la police', + 'WORD_MIN_SIZE' => 'Taille minimale de la police', +)); diff --git a/language/fr/common.php b/language/fr/common.php new file mode 100644 index 000000000000..e6214a72f6a5 --- /dev/null +++ b/language/fr/common.php @@ -0,0 +1,97 @@ + 'Tout le temps', + + 'BLOCK_TITLE' => 'Titre du bloc', + + 'CHANGE_ME' => 'Changez moi', + + 'DAILY_MEMBER' => 'Membre de la journée', + + 'FEATURED_MEMBER' => 'Membre en vedette', + 'FEATURED_MEMBERLIST' => 'Liste des membres en vedette', + 'FEEDS' => 'Flux', + 'FORUM_ANNOUNCEMENTS' => 'Annonces de forum', + 'FORUM_GLOBAL_ANNOUNCEMENTS' => 'Annonces du Forum Mondial', + 'FORUM_RECENT_POSTS' => 'Messages récents sur le forum', + 'FORUM_RECENT_TOPICS' => 'Sujets récents du forum', + 'FORUM_STICKY_POSTS' => 'Publications épinglantes récentes', + + 'HELP' => 'Aide', + 'HOURLY_MEMBER' => 'Membre de l\'heure', + + 'GOOGLE_MAP' => 'Google Map', + + 'JOIN_DATE' => 'Date d\'inscription', + + 'LAST_POST_BY_AUTHOR' => 'Dernier message par', + 'LAST_VISITED' => 'Dernière visite', + 'LINKS' => 'Liens', + + 'MCP_SITEMAKER_CONTENT' => 'Contenus', + 'MEMBERS_DATE' => 'Date', + 'MENU' => 'Menu', + 'MONTHLY_MEMBER' => 'Membre du mois', + 'MOST_TENURED' => 'Les plus anciens', + 'MY_BOOKMARKS' => 'Mes favoris', + + 'NO_BOOKMARKED_TOPICS' => 'Vous n\'avez mis en favori aucun sujet', + 'NO_NEW_TOPICS' => 'Il n\'y a pas de nouveaux sujets à afficher', + + 'POLL' => 'Sondage', + 'POPULAR_TOPICS' => 'Sujets populaires', + 'POSTS_MEMBER' => 'Afficher le plus haut', + 'PROCESSING' => 'traitement...', + + 'QTYPE_POSTS' => 'Félicitations à:', + 'QTYPE_RECENT' => 'Bienvenue à notre nouveau membre :', + + 'RECENT_BOTS' => 'Moteurs de recherche récents', + 'RECENT_MEMBER' => 'Membre récent', + 'RECENT_MEMBERS' => 'Membres récents', + + 'SESSION_HIDE_ME' => 'Cacher', + 'SM_NAVIGATION' => 'Navigation', + 'SM_TOGGLE_DROPDOWN' => 'Basculer la liste déroulante', + 'STYLE_SWITCHER' => 'Sélecteur de style', + + 'THIS_MONTH' => 'Ce mois-ci', + 'THIS_WEEK' => 'Cette semaine', + 'THIS_YEAR' => 'Cette Année', + 'TODAY' => 'Aujourd\'hui', + 'TOPICS_LAST_READ' => 'Derniers sujets lus', + 'TOPIC_LAST_READ' => 'Dernière lecture %s', + 'TOP_POSTERS' => 'Top des affiches', + + 'UCP_SITEMAKER_CONTENT' => 'Mes trucs', + + 'VIEW_DETAILS' => 'Voir les détails', + 'VIEW_USER_PROFILE' => 'Tout à propos de %s', + + 'WEEKLY_MEMBER' => 'Membre de la semaine', + 'WELCOME' => 'Bienvenue', + 'WHATS_NEW' => 'Quoi de neuf ?', + 'WORDGRAPH' => 'Wordgraphe', +)); diff --git a/language/fr/css_presets.php b/language/fr/css_presets.php new file mode 100644 index 000000000000..5f63cb453dff --- /dev/null +++ b/language/fr/css_presets.php @@ -0,0 +1,107 @@ + 'Marqueur de liste de flèches', + 'LIST_CIRCLE' => 'Marqueur de la liste des cercles', + 'LIST_DISC' => 'Marqueur de liste de puces', + 'LIST_SQUARE' => 'Marqueur de liste carrée', + 'LIST_NUMBERED' => 'Liste numérotée', + 'LIST_NUMBERED_ALPHABET' => 'Numéroté avec l\'alphabet', + 'LIST_NUMBERED_NESTED' => 'Numéroté avec sous-sections', + 'LIST_NUMBERED_ROMAN' => 'Numéroté avec des chiffres romains', + 'LIST_NUMBERED_ZERO' => 'Numéroté avec zéro initial', + 'LIST_INLINE' => 'Liste en ligne', + 'LIST_INLINE_SEP' => 'Liste séparée par des virgules', + 'LIST_REVERSE' => 'Inverser l\'ordre', + 'LIST_STRIPED' => 'Liste rayée', + 'LIST_STACKED' => 'Liste empilée', + 'LIST_TRIANGLE' => 'Triangle', + 'LIST_HYPHEN' => 'Astuce', + 'LIST_PLUS' => 'Plus', + 'LIST_SPADE' => 'Spade', + 'LIST_CLUB' => 'Club', + 'LIST_DIAMOND' => 'Diamant', + 'LIST_HEART' => 'Coeur', + 'LIST_STAR' => 'Étoiles', + 'LIST_CHECK' => 'Contrôler', + 'LIST_SNOWFLAKE' => 'Flocon de neige', + 'LIST_MUSIC' => 'Musique', + 'LIST_AUTOWIDTH' => 'Auto width', + 'LIST_FIT_CONTENT' => 'Ajuster le contenu', + 'LIST_2COLS' => 'Liste en 2 colonnes', + 'LIST_3COLS' => 'Liste 3 colonnes', + 'LIST_4COLS' => 'Liste à 4 colonnes', + 'LIST_5COLS' => 'Liste à 5 colonnes', + 'LIST_X_DIVIDER_DOTTED' => 'Séparateur horizontal à pointillés', + 'LIST_X_DIVIDER_LINE' => 'Séparateur de ligne horizontal', + 'LIST_Y_DIVIDER_DOTTED' => 'Séparateur vertical à pointillés', + 'LIST_Y_DIVIDER_LINE' => 'Séparateur de ligne vertical', + + 'IMAGE_SMALL' => 'Petite image', + 'IMAGE_MEDIUM' => 'Image moyenne', + 'IMAGE_LARGE' => 'Grande image', + 'IMAGE_FULL_WIDTH' => 'Image en pleine largeur', + 'IMAGE_ALIGN_LEFT' => 'Image flottante à gauche', + 'IMAGE_ALIGN_RIGHT' => 'Image flottante à droite', + 'IMAGE_CIRCLE' => 'Image circulaire', + 'IMAGE_ROUNDED' => 'Image arrondie', + 'IMAGE_BORDER' => 'Image bordée', + 'IMAGE_BORDER_PADDING' => 'Image border padding', + 'IMAGE_RATIO_SQUARE' => 'Image carrée', + 'IMAGE_RATIO_4_BY_3' => '4 par 3 images', + 'IMAGE_RATIO_16_BY_9' => '16 par 9 image', + + 'RESPONSIVE_SHOW' => 'Afficher uniquement sur les petits appareils', + 'RESPONSIVE_HIDE' => 'Cacher sur les petits appareils', + + 'ALIGN_LEFT' => 'Texte aligné à gauche', + 'ALIGN_CENTER' => 'Texte centré', + 'ALIGN_RIGHT' => 'Texte aligné à droite', + 'NO_PADDING' => 'No padding', + 'LABEL' => 'Étiquette', + 'BADGE' => 'Insigne', + 'PRIMARY_COLOR' => 'Couleur principale', + 'SECONDARY_COLOR' => 'Couleur secondaire', + 'GRAYSCALE_COLOR' => 'Grayscale', + 'INFO_COLOR' => 'Infos', + 'SUCCESS_COLOR' => 'Succès', + 'WARNING_COLOR' => 'Avertissement', + 'DANGER_COLOR' => 'Danger', +)); diff --git a/language/fr/exceptions.php b/language/fr/exceptions.php new file mode 100644 index 000000000000..8a0ec2584bcd --- /dev/null +++ b/language/fr/exceptions.php @@ -0,0 +1,49 @@ + 'Champ obligatoire manquant', + 'EXCEPTION_INVALID_ACTION' => 'L\'action n\'existe pas', + 'EXCEPTION_INVALID_ARGUMENT' => 'Argument non valide spécifié pour `%1$s`. Raison: %2$s', + 'EXCEPTION_INVALID_DATA_TYPE' => 'La valeur fournie est d\'un type de données inattendu', + 'EXCEPTION_INVALID_ENTITY' => 'L\'entité fournie est d\'une classe d\'entité inattendue', + 'EXCEPTION_INVALID_PROPERTY' => 'La propriété demandée n\'existe pas', + 'EXCEPTION_OUT_OF_BOUNDS' => 'Le `%1$s` demandé n\'existe pas', + 'EXCEPTION_SERVICE_NOT_FOUND' => 'Le service demandé n\'a pas été trouvé', + 'EXCEPTION_UNEXPECTED_VALUE' => 'L\'action demandée `%1$s` n\'a pas pu être exécutée. Raison : %2$s', +)); diff --git a/language/fr/ext.php b/language/fr/ext.php new file mode 100644 index 000000000000..f199e8602916 --- /dev/null +++ b/language/fr/ext.php @@ -0,0 +1,42 @@ + 'Le répertoire des images phpBB n\'est pas accessible en écriture. Veuillez modifier les permissions d\'écriture par tous (777 ou -rwxrwxrwx au sein de votre client FTP)', + 'PHPBB_VERSION_UNMET' => 'Cette extension nécessite au moins phpBB %s', +)); diff --git a/language/fr/feed_fields.php b/language/fr/feed_fields.php new file mode 100644 index 000000000000..96cfdbdc46a1 --- /dev/null +++ b/language/fr/feed_fields.php @@ -0,0 +1,108 @@ + 'auteur·rice', + 'AUTHORS' => 'auteurs (tableau)', + 'BITRATE' => 'débit binaire', + 'CAPTIONS' => 'légendes', + 'CATEGORIES' => 'Catégories (tableau)', + 'CATEGORY' => 'Catégorie', + 'CHANNELS' => 'Chaînes', + 'CONTENT' => 'contenu', + 'CONTRIBUTOR' => 'contributeur', + 'CONTRIBUTORS' => 'contributeurs (tableau)', + 'COPYRIGHT' => 'Droit d\'auteur', + 'CREDITS' => 'crédits', + 'DATE' => 'date', + 'DESCRIPTION' => 'Libellé', + 'DURATION' => 'durée', + 'ENCLOSURE' => 'encapsulé', + 'ENCLOSURES' => 'enveloppes (tableau)', + 'EXPRESSION' => 'expression', + 'FEED' => 'flux', + 'FRAMERATE' => 'framerate', + 'GMDATE' => 'Date de MJ', + 'HANDLER' => 'handler', + 'HASHES' => 'hachage', + 'HEIGHT' => 'Hauteur', + 'ID' => 'id', + 'IMAGE_HEIGHT' => 'Hauteur de l\'image', + 'IMAGE_LINK' => 'lien de l\'image', + 'IMAGE_TITLE' => 'titre de l\'image', + 'IMAGE_URL' => 'url de l\'image', + 'IMAGE_WIDTH' => 'largeur de l\'image', + 'ITEMS' => 'Eléments', + 'JAVASCRIPT' => 'javascript', + 'KEYWORDS' => 'mots-clés', + 'LABEL' => 'Etiquette', + 'LANG' => 'lang', + 'LATITUDE' => 'latitude', + 'LENGTH' => 'Longueur', + 'LINK' => 'lien', + 'LINKS' => 'liens', + 'LONGITUDE' => 'longitude', + 'MEDIUM' => 'Moyen', + 'NAME' => 'Nom', + 'PERMALINK' => 'permalien', + 'PLAYER' => 'Joueur', + 'RATINGS' => 'évaluations', + 'RELATIONSHIP' => 'relation', + 'RESTRICTIONS' => 'restrictions (tableau)', + 'SAMPLINGRATE' => 'taux d\'échantillonnage', + 'SCHEME' => 'Schéma', + 'SOURCE' => 'source', + 'TERM' => 'durée', + 'THUMBNAILS' => 'thumbnails', + 'TITLE' => 'Titre:', + 'TYPE' => 'Type de type', + 'UPDATED_DATE' => 'Date de mise à jour', + 'UPDATED_GMDATE' => 'Date de mise à jour GM', + 'VALUE' => 'valeur', + 'WIDTH' => 'width', +)); diff --git a/language/fr/icons.php b/language/fr/icons.php new file mode 100644 index 000000000000..52d31a54506f --- /dev/null +++ b/language/fr/icons.php @@ -0,0 +1,71 @@ + 'Accessibilité', + 'ICON_ARROWS' => 'Flèches', + 'ICON_BRAND' => 'Marque', + 'ICON_CHART' => 'Graphique', + 'ICON_CURRENCY' => 'Devise', + 'ICON_DIRECTIONAL' => 'Directionnel', + 'ICON_FILE_TYPE' => 'Type de fichier', + 'ICON_FORM_CONTROL' => 'Contrôle du formulaire', + 'ICON_GENDER' => 'Sexe', + 'ICON_HAND' => 'Main', + 'ICON_MEDICAL' => 'Médicale', + 'ICON_PAYMENT' => 'Paiement', + 'ICON_SPINNER' => 'Spinner', + 'ICON_TEXT_EDITOR' => 'Éditeur de texte', + 'ICON_TRANSPORTATION' => 'Transport', + 'ICON_VIDEO_PLAYER' => 'Lecteur vidéo', + 'ICON_WEB_APPLICATION' => 'Application Web', + + 'ICON_COLOR' => 'Couleur', + 'ICON_DEFAULT' => 'Par défaut', + 'ICON_FLIP_BOTH' => 'Inverser les deux', + 'ICON_FLIP_HORIZONTAL' => 'Retourner horizontale', + 'ICON_FLIP_VERTICAL' => 'Retourner verticalement', + 'ICON_FLOAT' => 'Flottant', + 'ICON_FLOAT_LEFT' => 'Gauche', + 'ICON_FLOAT_RIGHT' => 'Droite', + 'ICON_FONT' => 'Font Icons', + 'ICON_INSERT_UPDATE' => 'Insert/Update', + 'ICON_MISC' => 'Divers', + 'ICON_MISC_BORDERED' => 'Bordure', + 'ICON_MISC_FIXED_WIDTH' => 'Largeur fixe', + 'ICON_MISC_PULSE' => 'Impulsion', + 'ICON_MISC_SPINNING' => 'Tournage', + 'ICON_ROTATION' => 'Rotation', + 'ICON_ROTATE_90' => '90°', + 'ICON_ROTATE_180' => '180°', + 'ICON_ROTATE_270' => '270°', + 'ICON_SIZE' => 'Taille', + 'ICON_SIZE_LG' => 'Plus grand', + 'ICON_SIZE_SM' => 'Petit', + 'ICON_SIZE_2X' => 'x2', + 'ICON_SIZE_3X' => 'x3', + 'ICON_SIZE_4X' => 'x4', + 'ICON_SIZE_5X' => 'x5', + + 'NO_ICON' => 'Aucune icône', +)); diff --git a/language/fr/info_acp_menus.php b/language/fr/info_acp_menus.php new file mode 100644 index 000000000000..6e3401ac325a --- /dev/null +++ b/language/fr/info_acp_menus.php @@ -0,0 +1,92 @@ + 'Menu', + 'ACP_MENU_MANAGE' => 'Gestion du menu', + 'ACP_MENU_MANAGE_EXPLAIN' => 'Ici, vous pouvez créer et gérer des menus pour votre site', + 'ADD_BULK_MENU' => 'Ajouter des liens de menu en bloc', + 'ADD_BULK_MENU_EXPLAIN' => 'Ajouter plusieurs éléments de menu à la fois.
- Placez chaque élément sur une ligne séparée
- Utilisez la touche Tab pour indenter les éléments pour représenter les relations parent-enfant
- Entrez l\'élément et l\'URL comme ainsi : Home|index.php', + 'ADD_MENU' => 'Ajouter un menu', + 'ADD_MENU_ITEM' => 'Ajouter un lien de menu', + 'ADD_ITEM' => 'Ajouter un nouvel élément', + 'AJAX_PROCESSING' => 'Travailler', + + 'CHANGE_ME' => 'Changez moi', + + 'DELETE_ITEM' => 'Supprimer l\'élément', + 'DELETE_KIDS' => 'Supprimer la branche', + 'DELETE_MENU' => 'Supprimer le menu', + 'DELETE_MENU_CONFIRM' => 'Êtes-vous sûr de vouloir supprimer ce menu?
Cela va supprimer le menu et tous ses éléments', + 'DELETE_MENU_ITEM' => 'Supprimer l\'élément', + 'DELETE_MENU_ITEM_CONFIRM' => 'Êtes-vous sûr de vouloir supprimer cet élément de menu ?', + 'DELETE_SELECTED' => 'Supprimer la sélection', + + 'EDIT_ITEM' => 'Modifier l\'élément', + + 'ITEM_ACTIVE' => 'Actif', + 'ITEM_INACTIVE' => 'Inactif', + 'ITEM_PARENT' => 'Parent', + 'ITEM_TITLE' => 'Titre de l\'élément', + 'ITEM_TITLE_EXPLAIN' => 'Définir comme \'-\' pour diviseur', + 'ITEM_TARGET' => 'Item Target', + 'ITEM_URL' => 'URL de l\'élément', + 'ITEM_URL_EXPLAIN' => '- Laisser vide pour les en-têtes
- Les sites externes doivent commencer par http(s)://, ftp://, //, etc', + + 'MENU_ITEMS' => 'Éléments de menu', + + 'NO_MENU_ITEMS' => 'Aucun lien de menu n\'a été créé', + 'NO_PARENT' => 'Pas de parent', + + 'PROCESSING_ERROR' => 'Erreur de traitement', + + 'REBUILD_TREE' => 'Reconstruire l\'arbre', + 'REQUIRED' => 'Requis', + 'REQUIRED_FIELDS' => '* Champs obligatoires', + + 'SAVE_CHANGES' => 'Enregistrer les modifications', + 'SAVE' => 'Enregistrer', + 'SELECT_ALL' => 'Tout sélectionner', + + 'TARGET_BLANK' => 'Page vide', + 'TARGET_PARENT' => 'Parent', + + 'UNSAVED_CHANGES' => 'Vous avez des modifications non enregistrées', + + 'VISIT_PAGE' => 'Visiter la page', +)); diff --git a/language/fr/info_acp_settings.php b/language/fr/info_acp_settings.php new file mode 100644 index 000000000000..ea78c1c34f81 --- /dev/null +++ b/language/fr/info_acp_settings.php @@ -0,0 +1,74 @@ + 'SiteMaker', + 'ACP_SM_SETTINGS' => 'Réglages', + + 'BLOCKS_CLEANUP' => 'Nettoyage des blocs', + 'BLOCKS_CLEANUP_EXPLAIN' => 'Les éléments suivants ont été trouvés pour ne plus exister ou inaccessibles, et vous pouvez donc supprimer tous les blocs qui leur sont associés. Veuillez garder à l\'esprit que certaines d\'entre elles peuvent être fausses positives', + 'BLOCKS_CLEANUP_BLOCKS' => 'Blocs non valides (par exemple à partir d\'extensions désinstallées) :', + 'BLOCKS_CLEANUP_ROUTES' => 'Pages injoignables/cassées :', + 'BLOCKS_CLEANUP_STYLES' => 'Styles désinstallés (IDs) :', + 'BLOCKS_CLEANUP_SUCCESS' => 'Blocs purgés avec succès', + + 'FORUM_INDEX_SETTINGS' => 'Paramètres de l\'index du forum', + 'FORUM_INDEX_SETTINGS_EXPLAIN' => 'Ces paramètres ne s\'appliquent que s\'il n\'y a pas de page de démarrage définie', + + 'HIDE' => 'Cacher', + 'HIDE_BIRTHDAY' => 'Masquer la section Anniversaire', + 'HIDE_LOGIN' => 'Cacher la boîte de connexion', + 'HIDE_ONLINE' => 'Cacher la section Qui est en ligne', + + 'LAYOUT_BLOG' => 'Blogue', + 'LAYOUT_CUSTOM' => 'Personnalisé', + 'LAYOUT_HOLYGRAIL' => 'Saint Graal', + 'LAYOUT_PORTAL' => 'Portail', + 'LAYOUT_PORTAL_ALT' => 'Portail (alt)', + 'LAYOUT_SETTINGS' => 'Paramètres de mise en page', + + 'LOG_DELETED_BLOCKS_FOR_STYLE' => 'Blocs du constructeur de site supprimés pour le style manquant avec l\'id %s', + 'LOG_DELETED_BLOCKS_FOR_ROUTE' => 'Blocs du constructeur de site supprimés pour les pages cassées :
%s', + 'LOG_DELETED_BLOCKS' => 'Blocs de Sitemaker invalides supprimés :
%s', + + 'NAVIGATION_SETTINGS' => 'Paramètres de navigation', + + 'SETTINGS_SAVED' => 'Vos paramètres ont été enregistrés', + 'SHOW' => 'Afficher', + 'SHOW_FORUM_NAV' => 'Afficher \'Forum\' dans la barre de navigation ?', + 'SHOW_FORUM_NAV_EXPLAIN' => 'Quand une page est définie comme page de démarrage au lieu de l\'index du forum, devrions-nous afficher le \'Forum\' dans la barre de navigation', + 'SHOW_FORUM_NAV_WITH_ICON' => 'Oui - avec l\'icône :', +]); diff --git a/language/fr/navbar_manager.php b/language/fr/navbar_manager.php new file mode 100644 index 000000000000..9f967da21f5e --- /dev/null +++ b/language/fr/navbar_manager.php @@ -0,0 +1,79 @@ + 'Élément actif', + 'BORDER' => 'Border', + 'BORDER_COLOR' => 'Couleur de bordure', + 'BORDER_RADIUS' => 'Rayon de bordure', + 'BORDER_WIDTH' => 'Border Width', + 'BOTTOM' => 'Bas', + 'BOTTOM_LEFT' => 'En bas à gauche', + 'BOTTOM_RIGHT' => 'En bas à droite', + 'CAPITALIZE' => 'Mettre en majuscule', + 'COLOR' => 'Couleur', + 'DIVIDERS' => 'Diviseurs', + 'END' => 'Fin', + 'GRADIENT' => 'Dégradé', + 'HEADERS' => 'En-têtes', + 'HOVER' => 'Hover', + 'LEFT' => 'Gauche', + 'LOWERCASE' => 'minuscule', + 'MARGIN' => 'Marge', + 'NAVBAR' => 'Barre de navigation', + 'NAVBAR_MENU' => 'Navbar menu', + 'NAVBAR_DROPDOWN' => 'Liste déroulante', + 'NAVBAR_LOCATION' => 'Localisation', + 'NAVBAR_LOCATION_OPTION' => 'Lieu #%s', + 'NAVBAR_TOP_MENU' => 'Menu du haut', + 'NONE' => 'Aucun', + 'PADDING' => 'Padding', + 'RESPONSIVE_TOGGLE' => 'Interrupteur adaptatif', + 'RESPONSIVE_TOGGLE_EXPLAIN' => 'Visible uniquement sur les petits écrans (mobiles)', + 'RIGHT' => 'Droite', + 'SAVE' => 'Enregistrer', + 'SIZE' => 'Taille', + 'START' => 'Début', + 'TEXT' => 'Texte du texte', + 'TOP' => 'En haut', + 'TOP_LEFT' => 'En haut à gauche', + 'TOP_RIGHT' => 'En haut à droite', + 'TRANSFORM' => 'Transformation', + 'UPPERCASE' => 'Majuscule', +)); diff --git a/language/fr/permissions_sitemaker.php b/language/fr/permissions_sitemaker.php new file mode 100644 index 000000000000..09a22a43481b --- /dev/null +++ b/language/fr/permissions_sitemaker.php @@ -0,0 +1,45 @@ + '[ SiteMaker ] Peut gérer les paramètres', + 'ACL_A_SM_MANAGE_BLOCKS' => '[ SiteMaker ] Peut gérer les blocs', + 'ACL_A_SM_MANAGE_MENUS' => '[ SiteMaker ] Peut gérer les menus', +)); diff --git a/language/he/block_manager.php b/language/he/block_manager.php new file mode 100644 index 000000000000..9bd5cdd871d9 --- /dev/null +++ b/language/he/block_manager.php @@ -0,0 +1,123 @@ + '*Drag and Drop blocks', + 'AJAX_ERROR' => 'Oops! There was an error processing your request. Please try again.', + 'AJAX_LOADING' => 'Loading...', + 'AJAX_PROCESSING' => 'Working...', + + 'BACKGROUND' => 'Background', + 'BLOCKS' => 'Blocks', + 'BLOCKS_COPY_FROM' => 'Copy Blocks', + 'BLOCK_ACTIVE' => 'Active', + 'BLOCK_CHILD_ROUTES_ONLY' => 'Show on child routes only', + 'BLOCK_CHILD_ROUTES_HIDE' => 'Hide on child routes', + 'BLOCK_CLASS' => 'CSS Class', + 'BLOCK_CLASS_EXPLAIN' => 'Modify block appearance with CSS classes', + 'BLOCK_DESIGN' => 'Appearance', + 'BLOCK_DISPLAY_TYPE' => 'Display', + 'BLOCK_HIDE_TITLE' => 'Hide block title?', + 'BLOCK_INACTIVE' => 'Inactive', + 'BLOCK_MISSING_TEMPLATE' => 'Missing required block template. Please contact developer', + 'BLOCK_NOT_FOUND' => 'Oops! The requested block service was not found', + 'BLOCK_NO_DATA' => 'No data to display', + 'BLOCK_NO_ID' => 'Oops! Missing block id', + 'BLOCK_PERMISSION' => 'Permission', + 'BLOCK_PERMISSION_ALLOW' => 'Show to', + 'BLOCK_PERMISSION_DENY' => 'Hide from', + 'BLOCK_PERMISSION_EXPLAIN' => 'Use CTRL + click to toggle selection', + 'BLOCK_SHOW_ALWAYS' => 'Always', + 'BLOCK_STATUS' => 'Status', + 'BLOCK_UPDATED' => 'Block settings successfully updated', + + 'CANCEL' => 'Cancel', + 'CHILD_ROUTE' => 'Child', + 'CHILD_ROUTE_EXPLAIN' => '/viewforum.php, /dir/index.php
/viewtopic.php?f=2&t=1
/articles/my-article', + 'CLEAR' => 'Clear', + 'COPY' => 'Copy', + 'COPY_BLOCKS' => 'Copy Blocks?', + 'COPY_BLOCKS_CONFIRM' => 'Are you sure that you’d like to copy blocks from another page?

This will delete all existing blocks and their settings for this page and replace them with the blocks from the selected page.', + + 'DEFAULT_LAYOUT_EXPLAIN' => 'If set, all site pages for which you have not specified blocks will inherit the blocks from the default layout. You may, however, override the default layout for particular pages using the options to the right.', + 'DELETE' => 'Delete', + 'DELETE_ALL_BLOCKS' => 'Delete All Blocks', + 'DELETE_ALL_BLOCKS_CONFIRM' => 'Are you sure that you’d like to delete all blocks for this page?', + 'DELETE_BLOCK' => 'Delete Block', + 'DELETE_BLOCK_CONFIRM' => 'Are you sure you want to delete this block?


Note: You will have to save the layout changes to make this permanent.', + + 'EDIT' => 'Edit', + 'EDIT_BLOCK' => 'Edit Block', + 'EXIT_EDIT_MODE' => 'Exit Edit Mode', + + 'FEED_PROBLEMS' => 'There was a problem processing the provided rss/atom feed(s)', + 'FEED_URL_MISSING' => 'Please provide at least one rss/atom feed to begin', + 'FIELD_INVALID' => 'The provided value for the field “%s” has an invalid format', + 'FIELD_REQUIRED' => '“%s” is a required field', + 'FIELD_TOO_LONG' => 'The provided value for the field “%1$s” is too long. The maximum acceptable value is %2$d.', + 'FIELD_TOO_SHORT' => 'The provided value for the field “%1$s” is too short. The minimum acceptable value is %2$d.', + + 'HIDE_ALL_BLOCKS' => 'Do not show blocks on this page', + 'HIDE_BLOCK_POSITIONS' => 'Do not show blocks for the following block positions:', + + 'IMAGES' => 'Images', + + 'LAYOUT' => 'Layout', + 'LAYOUT_SAVED' => 'Layout successfully saved!', + 'LAYOUT_SETTINGS' => 'Layout Settings', + 'LEAVE_CONFIRM' => 'You have some unsaved changes to this page. Please save your work before moving on', + 'LISTS' => 'Lists', + + 'MAKE_DEFAULT_LAYOUT' => 'Set As Default Layout', + + 'OR' => 'OR', + + 'PARENT_ROUTE' => 'Parent', + 'PARENT_ROUTE_EXPLAIN' => '/index.php
/viewforum.php?f=2
/articles', + 'PREDEFINED_CLASSES' => 'Predefined classes', + + 'REDO' => 'Redo', + 'REMOVE_DEFAULT_LAYOUT' => 'Remove As Default Layout', + 'REMOVE_STARTPAGE' => 'Remove Start Page', + 'ROUTE_HIDDEN_BLOCKS' => 'Blocks are being hidden for this page', + 'ROUTE_HIDDEN_POSITIONS' => 'Blocks are being hidden for the following positions', + 'ROUTE_UPDATED' => 'Page settings successfully updated', + + 'SAVE_CHANGES' => 'Save Changes', + 'SAVE_SETTINGS' => 'Save Settings', + 'SELECT_ICON' => 'Select an Icon', + 'SETTINGS' => 'Settings', + 'SETTING_TOO_BIG' => 'The provided value for the setting “%1$s” is too high. The maximum acceptable value is %2$d.', + 'SETTING_TOO_LONG' => 'The provided value for the setting “%1$s” is too long. The maximum acceptable length is %2$d.', + 'SETTING_TOO_LOW' => 'The provided value for the setting “%1$s” is too low. The minimum acceptable value is %2$d.', + 'SETTING_TOO_SHORT' => 'The provided value for the setting “%1$s” is too short. The minimum acceptable length is %2$d.', + 'SET_STARTPAGE' => 'Set As Start Page', + + 'TITLES' => 'Titles', + + 'UPDATE_SIMILAR' => 'Update blocks with similar settings', + 'UNDO' => 'Undo', + + 'VIEW_DEFAULT_LAYOUT' => 'View/Edit Default Layout', + 'VISIT_PAGE' => 'Visit Page', +)); diff --git a/language/he/blocks_admin.php b/language/he/blocks_admin.php new file mode 100644 index 000000000000..3a3288691381 --- /dev/null +++ b/language/he/blocks_admin.php @@ -0,0 +1,189 @@ + 'All Types', + 'ALL_GROUPS' => 'All Groups', + 'ARCHIVES' => 'Archives', + 'AUTO_LOGIN' => 'Allow auto login?', + 'FILE_MANAGER' => 'File Manager', + 'TOPIC_POST_IDS' => 'From Topic/Post Ids', + 'TOPIC_POST_IDS_EXPLAIN' => 'Id(s) of topics/posts to retrieve attachments from, separated by commas(,). Specify if this list is for topic or post ids above.', + 'TOPIC_POST_IDS_TYPE' => 'Type of IDs (below)', + + // Blocks + 'BLITZE_SITEMAKER_BLOCK_ATTACHMENTS' => 'Attachments', + 'BLITZE_SITEMAKER_BLOCK_BIRTHDAY' => 'Birthday', + 'BLITZE_SITEMAKER_BLOCK_CUSTOM' => 'Custom Block', + 'BLITZE_SITEMAKER_BLOCK_FEATURED_MEMBER' => 'Featured Member', + 'BLITZE_SITEMAKER_BLOCK_FEEDS' => 'RSS/Atom Feeds', + 'BLITZE_SITEMAKER_BLOCK_FORUM_POLL' => 'Forum Poll', + 'BLITZE_SITEMAKER_BLOCK_FORUM_TOPICS' => 'Forum Topics', + 'BLITZE_SITEMAKER_BLOCK_GOOGLE_MAPS' => 'Google Maps', + 'BLITZE_SITEMAKER_BLOCK_POPULAR_TOPICS' => 'Popular Topics', + 'BLITZE_SITEMAKER_BLOCK_LINKS' => 'Links', + 'BLITZE_SITEMAKER_BLOCK_LOGIN' => 'Login Box', + 'BLITZE_SITEMAKER_BLOCK_MEMBERS' => 'Members', + 'BLITZE_SITEMAKER_BLOCK_MEMBER_MENU' => 'Member Menu', + 'BLITZE_SITEMAKER_BLOCK_MENU' => 'Menu', + 'BLITZE_SITEMAKER_BLOCK_MYBOOKMARKS' => 'My Bookmarks', + 'BLITZE_SITEMAKER_BLOCK_RECENT_TOPICS' => 'Recent Topics', + 'BLITZE_SITEMAKER_BLOCK_STATS' => 'Statistics', + 'BLITZE_SITEMAKER_BLOCK_STYLE_SWITCHER' => 'Style Switcher', + 'BLITZE_SITEMAKER_BLOCK_WHATS_NEW' => 'What’s New?', + 'BLITZE_SITEMAKER_BLOCK_WHOIS' => 'Who is online', + 'BLITZE_SITEMAKER_BLOCK_WORDGRAPH' => 'Wordgraph', + + // block views + 'BLOCK_VIEW' => 'Block View', + 'BLOCK_VIEW_BASIC' => 'Basic', + 'BLOCK_VIEW_BOXED' => 'Boxed', + 'BLOCK_VIEW_DEFAULT' => 'Default', + 'BLOCK_VIEW_SIMPLE' => 'Simple', + + 'CACHE_DURATION' => 'Cache duration', + 'CONTEXT' => 'Context', + 'CSS_SCRIPTS' => 'CSS Scripts', + 'CUSTOM_PROFILE_FIELDS' => 'Custom Profile Fields', + + 'DATE_RANGE' => 'Date Range', + 'DISPLAY_PREVIEW' => 'Display Preview?', + + 'EDIT_ME' => 'Please edit me', + 'ENABLE_TOPIC_TRACKING' => 'Enable topic tracking?', + 'ENABLE_TOPIC_TRACKING_EXPLAIN' => 'If enabled, unread topics will be indicated but the block results will not be cached (Not recommended)', + 'EXCLUDE_TOO_MANY_WORDS' => 'You have entered too many words to exclude. The maximum number of characters possible is 255, you have entered %s.', + 'EXCLUDE_WORDS' => 'Exclude words', + 'EXCLUDE_WORDS_EXPLAIN' => 'List the words you’d like to exclude from the wordgraph separated by a comma (,). Maximum 255 characters.', + 'EXPANDED' => 'Expanded', + 'EXTENSION_GROUP' => 'Extension Group', + + 'FEATURED_MEMBER_IDS' => 'User IDs', + 'FEATURED_MEMBER_IDS_EXPLAIN' => 'Comma separated list of users to feature (Only applies to Featured Member display mode)', + 'FEED_DATA_PREVIEW' => 'Feed Data', + 'FEED_ITEM_TEMPLATE' => 'Item Template', + 'FEED_ITEM_TEMPLATE_EXPLAIN' => 'TIPS:
+
    +
  • Access feed data in item variable e.g. item.title
  • +
  • Template must be in Twig syntax
  • +
  • Click Samples above for sample templates
  • +
  • Use get_item_tags($namespace, $tag) to get any tag from the feed that we do not provide e.g.
    {{ get_item_tags(\'\', \'image\') }}
  • +
  • Use Twig’s json_encode filter to see contents of array e.g. {{ get_item_tags(\'\', \'image\')|json_encode() }}
  • +
', + 'FEED_PREVIEW_SOURCE' => 'Source', + 'FEED_URL_PLACEHOLDER' => 'http://example.com/rss', + 'FEED_URLS' => 'Feed URLs', + 'FIRST_POST_ONLY' => 'First Post Only', + 'FIRST_POST_TIME' => 'First Post Time', + 'FORUMS_GET_TYPE' => 'Get type', + 'FORUMS_MAX_TOPICS' => 'Maximum topics/posts', + 'FORUMS_TITLE_MAX_CHARS' => 'Maximum characters per title', + 'FREQUENCY' => 'Frequency', + 'FULL' => 'Full', + 'FULLSCREEN' => 'Fullscreen', + + 'GET_TYPE' => 'Display Topic/Post?', + + 'HTML' => 'HTML', + 'HTML_EXPLAIN' => 'Use this textarea to enter raw HTML content.
Please note that any content posted here will override the custom block content and the visual block editor will not be available.', + 'HOURS_SHORT' => 'hrs', + + 'JS_SCRIPTS' => 'JS Scripts', + + 'LAST_POST_TIME' => 'Last Post Time', + 'LAST_READ_TIME' => 'Last Read Time', + 'LIMIT' => 'Limit', + 'LIMIT_FORUMS' => 'Forum Ids (optional)', + 'LIMIT_FORUMS_EXPLAIN' => 'Enter each forum id separated by a comma (,). If set, only topics from specified forums will be displayed.', + 'LIMIT_POST_TIME' => 'Limit by Post time', + 'LIMIT_POST_TIME_EXPLAIN' => 'If set, only topics posted within the specified period will be retrieved', + + 'MAX_DEPTH' => 'Maximum depth', + 'MAX_ITEMS' => 'Maximum number of items', + 'MAX_MEMBERS' => 'Max. Members', + 'MAX_POSTS' => 'Maximum number of posts', + 'MAX_TOPICS' => 'Maximum number of topics', + 'MAX_WORDS' => 'Maximum number of words', + 'MANAGE_MENUS' => 'Manage Menus', + 'MAP_COORDINATES' => 'Coordinates', + 'MAP_COORDINATES_EXPLAIN' => 'Enter coordinates in the form latitude,longitude', + 'MAP_HEIGHT' => 'Height', + 'MAP_LOCATION' => 'Location', + 'MAP_TITLE' => 'Title', + 'MAP_VIEW' => 'View', + 'MAP_VIEW_HYBRID' => 'Hybrid', + 'MAP_VIEW_MAP' => 'Map', + 'MAP_VIEW_SATELITE' => 'Satelite', + 'MAP_VIEW_TERRAIN' => 'Terrain', + 'MAP_ZOOM_LEVEL' => 'Zoom Level', + 'MEMBERS_DATE' => 'Date', + 'MENU_NO_ITEMS' => 'No active items to display', + 'MINI' => 'Mini', + + 'OR' => 'OR', + 'ORDER_BY' => 'Order by', + + 'POLL_FROM_FORUMS' => 'Display polls from forums(s)', + 'POLL_FROM_FORUMS_EXPLAIN' => 'Only polls from the selected forums will be displayed as long as no topics are specified above', + 'POLL_FROM_GROUPS' => 'Display polls from groups(s)', + 'POLL_FROM_GROUPS_EXPLAIN' => 'Only polls from members of the selected groups will be displayed as long as no user(s) is/are specified above', + 'POLL_FROM_TOPICS' => 'Display polls from topic(s)', + 'POLL_FROM_TOPICS_EXPLAIN' => 'Id(s) of topics to retrieve polls from, separated by commas(,). Leave blank to select any topic.', + 'POLL_FROM_USERS' => 'Display polls from user(s)', + 'POLL_FROM_USERS_EXPLAIN' => 'Id(s) of user(s) whose polls you’d like to display, separated by commas(,). Leave blank to select polls from any user.', + 'POSTS_TITLE_LIMIT' => 'Maximum # of characters for post title', + 'PREVIEW_MAX_CHARS' => 'Number of characters to preview', + + 'QUERY_TYPE' => 'Display Mode', + + 'ROTATE_DAILY' => 'Daily', + 'ROTATE_HOURLY' => 'Hourly', + 'ROTATE_MONTHLY' => 'Monthly', + 'ROTATE_PAGELOAD' => 'Page load', + 'ROTATE_WEEKLY' => 'Weekly', + + 'SAMPLES' => 'Samples', + 'SCRIPTS' => 'Scripts', + 'SELECT_FORUMS' => 'Select forums', + 'SELECT_FORUMS_EXPLAIN' => 'Select the forums from which to display topics/posts. Leave blank to select from all forums', + 'SELECT_MENU' => 'Select Menu', + 'SELECT_PROFILE_FIELDS' => 'Select profile fields', + 'SELECT_PROFILE_FIELDS_EXPLAIN' => 'Only the selected profile fields will be displayed, if available.', + 'SHOW_FIRST_POST' => 'First Post', + 'SHOW_HIDE_ME' => 'Allow hide online status?', + 'SHOW_LAST_POST' => 'Last Post', + 'SHOW_MEMBER_MENU' => 'Show user menu?', + 'SHOW_MEMBER_MENU_EXPLAIN' => 'Replace login box with user menu if user is logged in', + 'SHOW_WORD_COUNT' => 'Show word count?', + + 'TEMPLATE' => 'Template', + 'TOPIC_TITLE_LIMIT' => 'Maximum # of characters for topic title', + 'TOPIC_TYPE' => 'Topic Type', + 'TOPIC_TYPE_EXPLAIN' => 'Select the topic types you’d like to display. Leave the boxes unchecked to select from all topic types', + 'TOPICS_LOOK_BACK' => 'Look back', + 'TOPICS_ONLY' => 'Topics only?', + 'TOPICS_PER_PAGE' => 'Per page', + + 'WORD_MAX_SIZE' => 'Maximum font size', + 'WORD_MIN_SIZE' => 'Minimum font size', +)); diff --git a/language/he/common.php b/language/he/common.php new file mode 100644 index 000000000000..ba8fbbe28ce8 --- /dev/null +++ b/language/he/common.php @@ -0,0 +1,97 @@ + 'All Time', + + 'BLOCK_TITLE' => 'Block Title', + + 'CHANGE_ME' => 'Change Me', + + 'DAILY_MEMBER' => 'Member of the day', + + 'FEATURED_MEMBER' => 'Featured Member', + 'FEATURED_MEMBERLIST' => 'Featured members list', + 'FEEDS' => 'Feeds', + 'FORUM_ANNOUNCEMENTS' => 'Forum Announcements', + 'FORUM_GLOBAL_ANNOUNCEMENTS' => 'Global Forum Announcements', + 'FORUM_RECENT_POSTS' => 'Recent Forum Posts', + 'FORUM_RECENT_TOPICS' => 'Recent Forum Topics', + 'FORUM_STICKY_POSTS' => 'Recent Sticky Posts', + + 'HELP' => 'Help', + 'HOURLY_MEMBER' => 'Member of the hour', + + 'GOOGLE_MAP' => 'Google Map', + + 'JOIN_DATE' => 'Join Date', + + 'LAST_POST_BY_AUTHOR' => 'Last post by', + 'LAST_VISITED' => 'Last Visited', + 'LINKS' => 'Links', + + 'MCP_SITEMAKER_CONTENT' => 'Contents', + 'MEMBERS_DATE' => 'Date', + 'MENU' => 'Menu', + 'MONTHLY_MEMBER' => 'Member of the month', + 'MOST_TENURED' => 'Most Tenured', + 'MY_BOOKMARKS' => 'My Bookmarks', + + 'NO_BOOKMARKED_TOPICS' => 'You have not bookmarked any topics', + 'NO_NEW_TOPICS' => 'There are no new topics to display', + + 'POLL' => 'Poll', + 'POPULAR_TOPICS' => 'Popular Topics', + 'POSTS_MEMBER' => 'Top Poster', + 'PROCESSING' => 'processing...', + + 'QTYPE_POSTS' => 'Congratulations to:', + 'QTYPE_RECENT' => 'Please welcome our newest member:', + + 'RECENT_BOTS' => 'Recent Search Engines', + 'RECENT_MEMBER' => 'Recent Member', + 'RECENT_MEMBERS' => 'Recent Members', + + 'SESSION_HIDE_ME' => 'Hide Me', + 'SM_NAVIGATION' => 'Navigation', + 'SM_TOGGLE_DROPDOWN' => 'Toggle dropdown', + 'STYLE_SWITCHER' => 'Style Switcher', + + 'THIS_MONTH' => 'This Month', + 'THIS_WEEK' => 'This Week', + 'THIS_YEAR' => 'This Year', + 'TODAY' => 'Today', + 'TOPICS_LAST_READ' => 'Last Read Topics', + 'TOPIC_LAST_READ' => 'Last read %s', + 'TOP_POSTERS' => 'Top Posters', + + 'UCP_SITEMAKER_CONTENT' => 'My Stuff', + + 'VIEW_DETAILS' => 'View Details', + 'VIEW_USER_PROFILE' => 'All about %s', + + 'WEEKLY_MEMBER' => 'Member of the week', + 'WELCOME' => 'Welcome', + 'WHATS_NEW' => 'What’s New?', + 'WORDGRAPH' => 'Wordgraph', +)); diff --git a/language/he/css_presets.php b/language/he/css_presets.php new file mode 100644 index 000000000000..31b5df933209 --- /dev/null +++ b/language/he/css_presets.php @@ -0,0 +1,107 @@ + 'Arrow list marker', + 'LIST_CIRCLE' => 'Circle list marker', + 'LIST_DISC' => 'Bullet list marker', + 'LIST_SQUARE' => 'Square list marker', + 'LIST_NUMBERED' => 'Numbered list', + 'LIST_NUMBERED_ALPHABET' => 'Numbered with alphabet', + 'LIST_NUMBERED_NESTED' => 'Numbered with subsections', + 'LIST_NUMBERED_ROMAN' => 'Numbered with Roman numerals', + 'LIST_NUMBERED_ZERO' => 'Numbered with leading zero', + 'LIST_INLINE' => 'Inline list', + 'LIST_INLINE_SEP' => 'Comma-separated list', + 'LIST_REVERSE' => 'Reverse order', + 'LIST_STRIPED' => 'Striped list', + 'LIST_STACKED' => 'Stacked list', + 'LIST_TRIANGLE' => 'Triangle', + 'LIST_HYPHEN' => 'Hyphen', + 'LIST_PLUS' => 'Plus', + 'LIST_SPADE' => 'Spade', + 'LIST_CLUB' => 'Club', + 'LIST_DIAMOND' => 'Diamond', + 'LIST_HEART' => 'Heart', + 'LIST_STAR' => 'Star', + 'LIST_CHECK' => 'Check', + 'LIST_SNOWFLAKE' => 'Snowflake', + 'LIST_MUSIC' => 'Music', + 'LIST_AUTOWIDTH' => 'Auto width', + 'LIST_FIT_CONTENT' => 'Fit content', + 'LIST_2COLS' => '2 column list', + 'LIST_3COLS' => '3 columns list', + 'LIST_4COLS' => '4 columns list', + 'LIST_5COLS' => '5 columns list', + 'LIST_X_DIVIDER_DOTTED' => 'Horizontal dotted divider', + 'LIST_X_DIVIDER_LINE' => 'Horizontal line divider', + 'LIST_Y_DIVIDER_DOTTED' => 'Vertical dotted divider', + 'LIST_Y_DIVIDER_LINE' => 'Vertical line divider', + + 'IMAGE_SMALL' => 'Small image', + 'IMAGE_MEDIUM' => 'Medium image', + 'IMAGE_LARGE' => 'Large image', + 'IMAGE_FULL_WIDTH' => 'Full width image', + 'IMAGE_ALIGN_LEFT' => 'Float image left', + 'IMAGE_ALIGN_RIGHT' => 'Float image right', + 'IMAGE_CIRCLE' => 'Circular image', + 'IMAGE_ROUNDED' => 'Rounded image', + 'IMAGE_BORDER' => 'Bordered image', + 'IMAGE_BORDER_PADDING' => 'Image border padding', + 'IMAGE_RATIO_SQUARE' => 'Square Image', + 'IMAGE_RATIO_4_BY_3' => '4 by 3 image', + 'IMAGE_RATIO_16_BY_9' => '16 by 9 image', + + 'RESPONSIVE_SHOW' => 'Show only on small devices', + 'RESPONSIVE_HIDE' => 'Hide on small devices', + + 'ALIGN_LEFT' => 'Left-aligned text', + 'ALIGN_CENTER' => 'Centered text', + 'ALIGN_RIGHT' => 'Right-aligned text', + 'NO_PADDING' => 'No padding', + 'LABEL' => 'Label', + 'BADGE' => 'Badge', + 'PRIMARY_COLOR' => 'Primary color', + 'SECONDARY_COLOR' => 'Secondary color', + 'GRAYSCALE_COLOR' => 'Grayscale', + 'INFO_COLOR' => 'Info', + 'SUCCESS_COLOR' => 'Success', + 'WARNING_COLOR' => 'Warning', + 'DANGER_COLOR' => 'Danger', +)); diff --git a/language/he/exceptions.php b/language/he/exceptions.php new file mode 100644 index 000000000000..6a3da47f86f6 --- /dev/null +++ b/language/he/exceptions.php @@ -0,0 +1,49 @@ + 'Required field missing', + 'EXCEPTION_INVALID_ACTION' => 'The action does not exist', + 'EXCEPTION_INVALID_ARGUMENT' => 'Invalid argument specified for `%1$s`. Reason: %2$s', + 'EXCEPTION_INVALID_DATA_TYPE' => 'The provided value is of an unexpected data type', + 'EXCEPTION_INVALID_ENTITY' => 'The provided entity is of an unexpected entity class', + 'EXCEPTION_INVALID_PROPERTY' => 'The requested property does not exist', + 'EXCEPTION_OUT_OF_BOUNDS' => 'The requested `%1$s` does not exist', + 'EXCEPTION_SERVICE_NOT_FOUND' => 'The requested service was not found', + 'EXCEPTION_UNEXPECTED_VALUE' => 'The requested action `%1$s` could not be performed. Reason: %2$s', +)); diff --git a/language/he/ext.php b/language/he/ext.php new file mode 100644 index 000000000000..c3fe9daa0021 --- /dev/null +++ b/language/he/ext.php @@ -0,0 +1,42 @@ + 'The phpBB Image directory is not writable. Please change the permissions to writable by all (777 or -rwxrwxrwx within your FTP Client)', + 'PHPBB_VERSION_UNMET' => 'This extension requires at least phpBB %s', +)); diff --git a/language/he/feed_fields.php b/language/he/feed_fields.php new file mode 100644 index 000000000000..87f21fdfef60 --- /dev/null +++ b/language/he/feed_fields.php @@ -0,0 +1,108 @@ + 'author', + 'AUTHORS' => 'authors (array)', + 'BITRATE' => 'bitrate', + 'CAPTIONS' => 'captions', + 'CATEGORIES' => 'categories (array)', + 'CATEGORY' => 'category', + 'CHANNELS' => 'channels', + 'CONTENT' => 'content', + 'CONTRIBUTOR' => 'contributor', + 'CONTRIBUTORS' => 'contributors (array)', + 'COPYRIGHT' => 'copyright', + 'CREDITS' => 'credits', + 'DATE' => 'date', + 'DESCRIPTION' => 'description', + 'DURATION' => 'duration', + 'ENCLOSURE' => 'enclosure', + 'ENCLOSURES' => 'enclosures (array)', + 'EXPRESSION' => 'expression', + 'FEED' => 'feed', + 'FRAMERATE' => 'framerate', + 'GMDATE' => 'GM date', + 'HANDLER' => 'handler', + 'HASHES' => 'hashes', + 'HEIGHT' => 'height', + 'ID' => 'id', + 'IMAGE_HEIGHT' => 'image height', + 'IMAGE_LINK' => 'image link', + 'IMAGE_TITLE' => 'image title', + 'IMAGE_URL' => 'image url', + 'IMAGE_WIDTH' => 'image width', + 'ITEMS' => 'items', + 'JAVASCRIPT' => 'javascript', + 'KEYWORDS' => 'keywords', + 'LABEL' => 'label', + 'LANG' => 'lang', + 'LATITUDE' => 'latitude', + 'LENGTH' => 'length', + 'LINK' => 'link', + 'LINKS' => 'links', + 'LONGITUDE' => 'longitude', + 'MEDIUM' => 'medium', + 'NAME' => 'name', + 'PERMALINK' => 'permalink', + 'PLAYER' => 'player', + 'RATINGS' => 'ratings', + 'RELATIONSHIP' => 'relationship', + 'RESTRICTIONS' => 'restrictions (array)', + 'SAMPLINGRATE' => 'sampling rate', + 'SCHEME' => 'scheme', + 'SOURCE' => 'source', + 'TERM' => 'term', + 'THUMBNAILS' => 'thumbnails', + 'TITLE' => 'title', + 'TYPE' => 'type', + 'UPDATED_DATE' => 'updated date', + 'UPDATED_GMDATE' => 'updated GM date', + 'VALUE' => 'value', + 'WIDTH' => 'width', +)); diff --git a/language/he/icons.php b/language/he/icons.php new file mode 100644 index 000000000000..1c6f04ce18b0 --- /dev/null +++ b/language/he/icons.php @@ -0,0 +1,71 @@ + 'Accessibility', + 'ICON_ARROWS' => 'Arrows', + 'ICON_BRAND' => 'Brand', + 'ICON_CHART' => 'Chart', + 'ICON_CURRENCY' => 'Currency', + 'ICON_DIRECTIONAL' => 'Directional', + 'ICON_FILE_TYPE' => 'File Type', + 'ICON_FORM_CONTROL' => 'Form Control', + 'ICON_GENDER' => 'Gender', + 'ICON_HAND' => 'Hand', + 'ICON_MEDICAL' => 'Medical', + 'ICON_PAYMENT' => 'Payment', + 'ICON_SPINNER' => 'Spinner', + 'ICON_TEXT_EDITOR' => 'Text Editor', + 'ICON_TRANSPORTATION' => 'Transportation', + 'ICON_VIDEO_PLAYER' => 'Video Player', + 'ICON_WEB_APPLICATION' => 'Web Application', + + 'ICON_COLOR' => 'Color', + 'ICON_DEFAULT' => 'Default', + 'ICON_FLIP_BOTH' => 'Flip Both', + 'ICON_FLIP_HORIZONTAL' => 'Flip Horizontal', + 'ICON_FLIP_VERTICAL' => 'Flip Vertical', + 'ICON_FLOAT' => 'Float', + 'ICON_FLOAT_LEFT' => 'Left', + 'ICON_FLOAT_RIGHT' => 'Right', + 'ICON_FONT' => 'Font Icons', + 'ICON_INSERT_UPDATE' => 'Insert/Update', + 'ICON_MISC' => 'Misc', + 'ICON_MISC_BORDERED' => 'Bordered', + 'ICON_MISC_FIXED_WIDTH' => 'Fixed Width', + 'ICON_MISC_PULSE' => 'Pulse', + 'ICON_MISC_SPINNING' => 'Spinning', + 'ICON_ROTATION' => 'Rotation', + 'ICON_ROTATE_90' => '90°', + 'ICON_ROTATE_180' => '180°', + 'ICON_ROTATE_270' => '270°', + 'ICON_SIZE' => 'Size', + 'ICON_SIZE_LG' => 'Larger', + 'ICON_SIZE_SM' => 'Small', + 'ICON_SIZE_2X' => '2x', + 'ICON_SIZE_3X' => '3x', + 'ICON_SIZE_4X' => '4x', + 'ICON_SIZE_5X' => '5x', + + 'NO_ICON' => 'No Icon', +)); diff --git a/language/he/info_acp_menus.php b/language/he/info_acp_menus.php new file mode 100644 index 000000000000..a06f50a4c63b --- /dev/null +++ b/language/he/info_acp_menus.php @@ -0,0 +1,92 @@ + 'Menu', + 'ACP_MENU_MANAGE' => 'Menu Management', + 'ACP_MENU_MANAGE_EXPLAIN' => 'Here you can create and manage menus for your site', + 'ADD_BULK_MENU' => 'Bulk Add Menu Items', + 'ADD_BULK_MENU_EXPLAIN' => 'Add multiple menu items at once.
- Place each item on a separate line
- Use the Tab key to indent items to represent parent-child relationships
- Enter item and URL like so: Home|index.php', + 'ADD_MENU' => 'Add Menu', + 'ADD_MENU_ITEM' => 'Add Menu Item', + 'ADD_ITEM' => 'Add New Item', + 'AJAX_PROCESSING' => 'Working', + + 'CHANGE_ME' => 'Change Me', + + 'DELETE_ITEM' => 'Delete Item', + 'DELETE_KIDS' => 'Delete Branch', + 'DELETE_MENU' => 'Delete Menu', + 'DELETE_MENU_CONFIRM' => 'Are you sure you want to delete this menu?
This will delete the menu and all its items', + 'DELETE_MENU_ITEM' => 'Delete Item', + 'DELETE_MENU_ITEM_CONFIRM' => 'Are you sure you want to delete this menu item?', + 'DELETE_SELECTED' => 'Delete Selected', + + 'EDIT_ITEM' => 'Edit Item', + + 'ITEM_ACTIVE' => 'Active', + 'ITEM_INACTIVE' => 'Inactive', + 'ITEM_PARENT' => 'Parent', + 'ITEM_TITLE' => 'Item Title', + 'ITEM_TITLE_EXPLAIN' => 'Set as ’-’ for divider', + 'ITEM_TARGET' => 'Item Target', + 'ITEM_URL' => 'Item URL', + 'ITEM_URL_EXPLAIN' => '- Leave empty for headings
- External sites must begin with http(s)://, ftp://, //, etc', + + 'MENU_ITEMS' => 'Menu Items', + + 'NO_MENU_ITEMS' => 'No menu items have been created', + 'NO_PARENT' => 'No Parent', + + 'PROCESSING_ERROR' => 'Processing error', + + 'REBUILD_TREE' => 'Rebuild Tree', + 'REQUIRED' => 'Required', + 'REQUIRED_FIELDS' => '* Required fields', + + 'SAVE_CHANGES' => 'Save Changes', + 'SAVE' => 'Save', + 'SELECT_ALL' => 'Select All', + + 'TARGET_BLANK' => 'Blank Page', + 'TARGET_PARENT' => 'Parent', + + 'UNSAVED_CHANGES' => 'You have unsaved changes', + + 'VISIT_PAGE' => 'Visit Page', +)); diff --git a/language/he/info_acp_settings.php b/language/he/info_acp_settings.php new file mode 100644 index 000000000000..5e704a037343 --- /dev/null +++ b/language/he/info_acp_settings.php @@ -0,0 +1,74 @@ + 'SiteMaker', + 'ACP_SM_SETTINGS' => 'Settings', + + 'BLOCKS_CLEANUP' => 'Blocks Cleanup', + 'BLOCKS_CLEANUP_EXPLAIN' => 'The following items were found to no longer exist or unreachable, and you can therefore delete all blocks associated to them. Please keep in mind that some of these may be false positives', + 'BLOCKS_CLEANUP_BLOCKS' => 'Invalid Blocks (e.g. from uninstalled extensions):', + 'BLOCKS_CLEANUP_ROUTES' => 'Unreachable/broken Pages:', + 'BLOCKS_CLEANUP_STYLES' => 'Uninstalled Styles (ids):', + 'BLOCKS_CLEANUP_SUCCESS' => 'Blocks purged sucessfully', + + 'FORUM_INDEX_SETTINGS' => 'Forum Index Settings', + 'FORUM_INDEX_SETTINGS_EXPLAIN' => 'These settings only apply when there is no startpage defined', + + 'HIDE' => 'Hide', + 'HIDE_BIRTHDAY' => 'Hide Birthday section', + 'HIDE_LOGIN' => 'Hide login box', + 'HIDE_ONLINE' => 'Hide Whos online section', + + 'LAYOUT_BLOG' => 'Blog', + 'LAYOUT_CUSTOM' => 'Custom', + 'LAYOUT_HOLYGRAIL' => 'Holy Grail', + 'LAYOUT_PORTAL' => 'Portal', + 'LAYOUT_PORTAL_ALT' => 'Portal (alt)', + 'LAYOUT_SETTINGS' => 'Layout Settings', + + 'LOG_DELETED_BLOCKS_FOR_STYLE' => 'Sitemaker blocks deleted for missing style with id %s', + 'LOG_DELETED_BLOCKS_FOR_ROUTE' => 'Sitemaker blocks deleted for broken pages:
%s', + 'LOG_DELETED_BLOCKS' => 'Invalid Sitemaker blocks deleted:
%s', + + 'NAVIGATION_SETTINGS' => 'Navigation Settings', + + 'SETTINGS_SAVED' => 'Your settings have been saved', + 'SHOW' => 'Show', + 'SHOW_FORUM_NAV' => 'Show ’Forum’ in navigation bar?', + 'SHOW_FORUM_NAV_EXPLAIN' => 'When a page is set as startpage instead of the forum index, should we display ’Forum’ in navigation bar', + 'SHOW_FORUM_NAV_WITH_ICON' => 'Yes - with icon:', +]); diff --git a/language/he/navbar_manager.php b/language/he/navbar_manager.php new file mode 100644 index 000000000000..89f54431871f --- /dev/null +++ b/language/he/navbar_manager.php @@ -0,0 +1,79 @@ + 'Active Element', + 'BORDER' => 'Border', + 'BORDER_COLOR' => 'Border Color', + 'BORDER_RADIUS' => 'Border Radius', + 'BORDER_WIDTH' => 'Border Width', + 'BOTTOM' => 'Bottom', + 'BOTTOM_LEFT' => 'Bottom Left', + 'BOTTOM_RIGHT' => 'Bottom Right', + 'CAPITALIZE' => 'Capitalize', + 'COLOR' => 'Color', + 'DIVIDERS' => 'Dividers', + 'END' => 'End', + 'GRADIENT' => 'Gradient', + 'HEADERS' => 'Headers', + 'HOVER' => 'Hover', + 'LEFT' => 'Left', + 'LOWERCASE' => 'Lowercase', + 'MARGIN' => 'Margin', + 'NAVBAR' => 'Navbar', + 'NAVBAR_MENU' => 'Navbar menu', + 'NAVBAR_DROPDOWN' => 'Dropdown', + 'NAVBAR_LOCATION' => 'Location', + 'NAVBAR_LOCATION_OPTION' => 'Location #%s', + 'NAVBAR_TOP_MENU' => 'Top Menu', + 'NONE' => 'None', + 'PADDING' => 'Padding', + 'RESPONSIVE_TOGGLE' => 'Responsive Toggle', + 'RESPONSIVE_TOGGLE_EXPLAIN' => 'Only viewable on small (mobile) screens', + 'RIGHT' => 'Right', + 'SAVE' => 'Save', + 'SIZE' => 'Size', + 'START' => 'Start', + 'TEXT' => 'Text', + 'TOP' => 'Top', + 'TOP_LEFT' => 'Top Left', + 'TOP_RIGHT' => 'Top Right', + 'TRANSFORM' => 'Transform', + 'UPPERCASE' => 'Uppercase', +)); diff --git a/language/he/permissions_sitemaker.php b/language/he/permissions_sitemaker.php new file mode 100644 index 000000000000..72648a473804 --- /dev/null +++ b/language/he/permissions_sitemaker.php @@ -0,0 +1,45 @@ + '[ SiteMaker ] Can manage settings', + 'ACL_A_SM_MANAGE_BLOCKS' => '[ SiteMaker ] Can manage blocks', + 'ACL_A_SM_MANAGE_MENUS' => '[ SiteMaker ] Can manage menus', +)); diff --git a/language/hr/block_manager.php b/language/hr/block_manager.php new file mode 100644 index 000000000000..9bd5cdd871d9 --- /dev/null +++ b/language/hr/block_manager.php @@ -0,0 +1,123 @@ + '*Drag and Drop blocks', + 'AJAX_ERROR' => 'Oops! There was an error processing your request. Please try again.', + 'AJAX_LOADING' => 'Loading...', + 'AJAX_PROCESSING' => 'Working...', + + 'BACKGROUND' => 'Background', + 'BLOCKS' => 'Blocks', + 'BLOCKS_COPY_FROM' => 'Copy Blocks', + 'BLOCK_ACTIVE' => 'Active', + 'BLOCK_CHILD_ROUTES_ONLY' => 'Show on child routes only', + 'BLOCK_CHILD_ROUTES_HIDE' => 'Hide on child routes', + 'BLOCK_CLASS' => 'CSS Class', + 'BLOCK_CLASS_EXPLAIN' => 'Modify block appearance with CSS classes', + 'BLOCK_DESIGN' => 'Appearance', + 'BLOCK_DISPLAY_TYPE' => 'Display', + 'BLOCK_HIDE_TITLE' => 'Hide block title?', + 'BLOCK_INACTIVE' => 'Inactive', + 'BLOCK_MISSING_TEMPLATE' => 'Missing required block template. Please contact developer', + 'BLOCK_NOT_FOUND' => 'Oops! The requested block service was not found', + 'BLOCK_NO_DATA' => 'No data to display', + 'BLOCK_NO_ID' => 'Oops! Missing block id', + 'BLOCK_PERMISSION' => 'Permission', + 'BLOCK_PERMISSION_ALLOW' => 'Show to', + 'BLOCK_PERMISSION_DENY' => 'Hide from', + 'BLOCK_PERMISSION_EXPLAIN' => 'Use CTRL + click to toggle selection', + 'BLOCK_SHOW_ALWAYS' => 'Always', + 'BLOCK_STATUS' => 'Status', + 'BLOCK_UPDATED' => 'Block settings successfully updated', + + 'CANCEL' => 'Cancel', + 'CHILD_ROUTE' => 'Child', + 'CHILD_ROUTE_EXPLAIN' => '/viewforum.php, /dir/index.php
/viewtopic.php?f=2&t=1
/articles/my-article', + 'CLEAR' => 'Clear', + 'COPY' => 'Copy', + 'COPY_BLOCKS' => 'Copy Blocks?', + 'COPY_BLOCKS_CONFIRM' => 'Are you sure that you’d like to copy blocks from another page?

This will delete all existing blocks and their settings for this page and replace them with the blocks from the selected page.', + + 'DEFAULT_LAYOUT_EXPLAIN' => 'If set, all site pages for which you have not specified blocks will inherit the blocks from the default layout. You may, however, override the default layout for particular pages using the options to the right.', + 'DELETE' => 'Delete', + 'DELETE_ALL_BLOCKS' => 'Delete All Blocks', + 'DELETE_ALL_BLOCKS_CONFIRM' => 'Are you sure that you’d like to delete all blocks for this page?', + 'DELETE_BLOCK' => 'Delete Block', + 'DELETE_BLOCK_CONFIRM' => 'Are you sure you want to delete this block?


Note: You will have to save the layout changes to make this permanent.', + + 'EDIT' => 'Edit', + 'EDIT_BLOCK' => 'Edit Block', + 'EXIT_EDIT_MODE' => 'Exit Edit Mode', + + 'FEED_PROBLEMS' => 'There was a problem processing the provided rss/atom feed(s)', + 'FEED_URL_MISSING' => 'Please provide at least one rss/atom feed to begin', + 'FIELD_INVALID' => 'The provided value for the field “%s” has an invalid format', + 'FIELD_REQUIRED' => '“%s” is a required field', + 'FIELD_TOO_LONG' => 'The provided value for the field “%1$s” is too long. The maximum acceptable value is %2$d.', + 'FIELD_TOO_SHORT' => 'The provided value for the field “%1$s” is too short. The minimum acceptable value is %2$d.', + + 'HIDE_ALL_BLOCKS' => 'Do not show blocks on this page', + 'HIDE_BLOCK_POSITIONS' => 'Do not show blocks for the following block positions:', + + 'IMAGES' => 'Images', + + 'LAYOUT' => 'Layout', + 'LAYOUT_SAVED' => 'Layout successfully saved!', + 'LAYOUT_SETTINGS' => 'Layout Settings', + 'LEAVE_CONFIRM' => 'You have some unsaved changes to this page. Please save your work before moving on', + 'LISTS' => 'Lists', + + 'MAKE_DEFAULT_LAYOUT' => 'Set As Default Layout', + + 'OR' => 'OR', + + 'PARENT_ROUTE' => 'Parent', + 'PARENT_ROUTE_EXPLAIN' => '/index.php
/viewforum.php?f=2
/articles', + 'PREDEFINED_CLASSES' => 'Predefined classes', + + 'REDO' => 'Redo', + 'REMOVE_DEFAULT_LAYOUT' => 'Remove As Default Layout', + 'REMOVE_STARTPAGE' => 'Remove Start Page', + 'ROUTE_HIDDEN_BLOCKS' => 'Blocks are being hidden for this page', + 'ROUTE_HIDDEN_POSITIONS' => 'Blocks are being hidden for the following positions', + 'ROUTE_UPDATED' => 'Page settings successfully updated', + + 'SAVE_CHANGES' => 'Save Changes', + 'SAVE_SETTINGS' => 'Save Settings', + 'SELECT_ICON' => 'Select an Icon', + 'SETTINGS' => 'Settings', + 'SETTING_TOO_BIG' => 'The provided value for the setting “%1$s” is too high. The maximum acceptable value is %2$d.', + 'SETTING_TOO_LONG' => 'The provided value for the setting “%1$s” is too long. The maximum acceptable length is %2$d.', + 'SETTING_TOO_LOW' => 'The provided value for the setting “%1$s” is too low. The minimum acceptable value is %2$d.', + 'SETTING_TOO_SHORT' => 'The provided value for the setting “%1$s” is too short. The minimum acceptable length is %2$d.', + 'SET_STARTPAGE' => 'Set As Start Page', + + 'TITLES' => 'Titles', + + 'UPDATE_SIMILAR' => 'Update blocks with similar settings', + 'UNDO' => 'Undo', + + 'VIEW_DEFAULT_LAYOUT' => 'View/Edit Default Layout', + 'VISIT_PAGE' => 'Visit Page', +)); diff --git a/language/hr/blocks_admin.php b/language/hr/blocks_admin.php new file mode 100644 index 000000000000..3a3288691381 --- /dev/null +++ b/language/hr/blocks_admin.php @@ -0,0 +1,189 @@ + 'All Types', + 'ALL_GROUPS' => 'All Groups', + 'ARCHIVES' => 'Archives', + 'AUTO_LOGIN' => 'Allow auto login?', + 'FILE_MANAGER' => 'File Manager', + 'TOPIC_POST_IDS' => 'From Topic/Post Ids', + 'TOPIC_POST_IDS_EXPLAIN' => 'Id(s) of topics/posts to retrieve attachments from, separated by commas(,). Specify if this list is for topic or post ids above.', + 'TOPIC_POST_IDS_TYPE' => 'Type of IDs (below)', + + // Blocks + 'BLITZE_SITEMAKER_BLOCK_ATTACHMENTS' => 'Attachments', + 'BLITZE_SITEMAKER_BLOCK_BIRTHDAY' => 'Birthday', + 'BLITZE_SITEMAKER_BLOCK_CUSTOM' => 'Custom Block', + 'BLITZE_SITEMAKER_BLOCK_FEATURED_MEMBER' => 'Featured Member', + 'BLITZE_SITEMAKER_BLOCK_FEEDS' => 'RSS/Atom Feeds', + 'BLITZE_SITEMAKER_BLOCK_FORUM_POLL' => 'Forum Poll', + 'BLITZE_SITEMAKER_BLOCK_FORUM_TOPICS' => 'Forum Topics', + 'BLITZE_SITEMAKER_BLOCK_GOOGLE_MAPS' => 'Google Maps', + 'BLITZE_SITEMAKER_BLOCK_POPULAR_TOPICS' => 'Popular Topics', + 'BLITZE_SITEMAKER_BLOCK_LINKS' => 'Links', + 'BLITZE_SITEMAKER_BLOCK_LOGIN' => 'Login Box', + 'BLITZE_SITEMAKER_BLOCK_MEMBERS' => 'Members', + 'BLITZE_SITEMAKER_BLOCK_MEMBER_MENU' => 'Member Menu', + 'BLITZE_SITEMAKER_BLOCK_MENU' => 'Menu', + 'BLITZE_SITEMAKER_BLOCK_MYBOOKMARKS' => 'My Bookmarks', + 'BLITZE_SITEMAKER_BLOCK_RECENT_TOPICS' => 'Recent Topics', + 'BLITZE_SITEMAKER_BLOCK_STATS' => 'Statistics', + 'BLITZE_SITEMAKER_BLOCK_STYLE_SWITCHER' => 'Style Switcher', + 'BLITZE_SITEMAKER_BLOCK_WHATS_NEW' => 'What’s New?', + 'BLITZE_SITEMAKER_BLOCK_WHOIS' => 'Who is online', + 'BLITZE_SITEMAKER_BLOCK_WORDGRAPH' => 'Wordgraph', + + // block views + 'BLOCK_VIEW' => 'Block View', + 'BLOCK_VIEW_BASIC' => 'Basic', + 'BLOCK_VIEW_BOXED' => 'Boxed', + 'BLOCK_VIEW_DEFAULT' => 'Default', + 'BLOCK_VIEW_SIMPLE' => 'Simple', + + 'CACHE_DURATION' => 'Cache duration', + 'CONTEXT' => 'Context', + 'CSS_SCRIPTS' => 'CSS Scripts', + 'CUSTOM_PROFILE_FIELDS' => 'Custom Profile Fields', + + 'DATE_RANGE' => 'Date Range', + 'DISPLAY_PREVIEW' => 'Display Preview?', + + 'EDIT_ME' => 'Please edit me', + 'ENABLE_TOPIC_TRACKING' => 'Enable topic tracking?', + 'ENABLE_TOPIC_TRACKING_EXPLAIN' => 'If enabled, unread topics will be indicated but the block results will not be cached (Not recommended)', + 'EXCLUDE_TOO_MANY_WORDS' => 'You have entered too many words to exclude. The maximum number of characters possible is 255, you have entered %s.', + 'EXCLUDE_WORDS' => 'Exclude words', + 'EXCLUDE_WORDS_EXPLAIN' => 'List the words you’d like to exclude from the wordgraph separated by a comma (,). Maximum 255 characters.', + 'EXPANDED' => 'Expanded', + 'EXTENSION_GROUP' => 'Extension Group', + + 'FEATURED_MEMBER_IDS' => 'User IDs', + 'FEATURED_MEMBER_IDS_EXPLAIN' => 'Comma separated list of users to feature (Only applies to Featured Member display mode)', + 'FEED_DATA_PREVIEW' => 'Feed Data', + 'FEED_ITEM_TEMPLATE' => 'Item Template', + 'FEED_ITEM_TEMPLATE_EXPLAIN' => 'TIPS:
+
    +
  • Access feed data in item variable e.g. item.title
  • +
  • Template must be in Twig syntax
  • +
  • Click Samples above for sample templates
  • +
  • Use get_item_tags($namespace, $tag) to get any tag from the feed that we do not provide e.g.
    {{ get_item_tags(\'\', \'image\') }}
  • +
  • Use Twig’s json_encode filter to see contents of array e.g. {{ get_item_tags(\'\', \'image\')|json_encode() }}
  • +
', + 'FEED_PREVIEW_SOURCE' => 'Source', + 'FEED_URL_PLACEHOLDER' => 'http://example.com/rss', + 'FEED_URLS' => 'Feed URLs', + 'FIRST_POST_ONLY' => 'First Post Only', + 'FIRST_POST_TIME' => 'First Post Time', + 'FORUMS_GET_TYPE' => 'Get type', + 'FORUMS_MAX_TOPICS' => 'Maximum topics/posts', + 'FORUMS_TITLE_MAX_CHARS' => 'Maximum characters per title', + 'FREQUENCY' => 'Frequency', + 'FULL' => 'Full', + 'FULLSCREEN' => 'Fullscreen', + + 'GET_TYPE' => 'Display Topic/Post?', + + 'HTML' => 'HTML', + 'HTML_EXPLAIN' => 'Use this textarea to enter raw HTML content.
Please note that any content posted here will override the custom block content and the visual block editor will not be available.', + 'HOURS_SHORT' => 'hrs', + + 'JS_SCRIPTS' => 'JS Scripts', + + 'LAST_POST_TIME' => 'Last Post Time', + 'LAST_READ_TIME' => 'Last Read Time', + 'LIMIT' => 'Limit', + 'LIMIT_FORUMS' => 'Forum Ids (optional)', + 'LIMIT_FORUMS_EXPLAIN' => 'Enter each forum id separated by a comma (,). If set, only topics from specified forums will be displayed.', + 'LIMIT_POST_TIME' => 'Limit by Post time', + 'LIMIT_POST_TIME_EXPLAIN' => 'If set, only topics posted within the specified period will be retrieved', + + 'MAX_DEPTH' => 'Maximum depth', + 'MAX_ITEMS' => 'Maximum number of items', + 'MAX_MEMBERS' => 'Max. Members', + 'MAX_POSTS' => 'Maximum number of posts', + 'MAX_TOPICS' => 'Maximum number of topics', + 'MAX_WORDS' => 'Maximum number of words', + 'MANAGE_MENUS' => 'Manage Menus', + 'MAP_COORDINATES' => 'Coordinates', + 'MAP_COORDINATES_EXPLAIN' => 'Enter coordinates in the form latitude,longitude', + 'MAP_HEIGHT' => 'Height', + 'MAP_LOCATION' => 'Location', + 'MAP_TITLE' => 'Title', + 'MAP_VIEW' => 'View', + 'MAP_VIEW_HYBRID' => 'Hybrid', + 'MAP_VIEW_MAP' => 'Map', + 'MAP_VIEW_SATELITE' => 'Satelite', + 'MAP_VIEW_TERRAIN' => 'Terrain', + 'MAP_ZOOM_LEVEL' => 'Zoom Level', + 'MEMBERS_DATE' => 'Date', + 'MENU_NO_ITEMS' => 'No active items to display', + 'MINI' => 'Mini', + + 'OR' => 'OR', + 'ORDER_BY' => 'Order by', + + 'POLL_FROM_FORUMS' => 'Display polls from forums(s)', + 'POLL_FROM_FORUMS_EXPLAIN' => 'Only polls from the selected forums will be displayed as long as no topics are specified above', + 'POLL_FROM_GROUPS' => 'Display polls from groups(s)', + 'POLL_FROM_GROUPS_EXPLAIN' => 'Only polls from members of the selected groups will be displayed as long as no user(s) is/are specified above', + 'POLL_FROM_TOPICS' => 'Display polls from topic(s)', + 'POLL_FROM_TOPICS_EXPLAIN' => 'Id(s) of topics to retrieve polls from, separated by commas(,). Leave blank to select any topic.', + 'POLL_FROM_USERS' => 'Display polls from user(s)', + 'POLL_FROM_USERS_EXPLAIN' => 'Id(s) of user(s) whose polls you’d like to display, separated by commas(,). Leave blank to select polls from any user.', + 'POSTS_TITLE_LIMIT' => 'Maximum # of characters for post title', + 'PREVIEW_MAX_CHARS' => 'Number of characters to preview', + + 'QUERY_TYPE' => 'Display Mode', + + 'ROTATE_DAILY' => 'Daily', + 'ROTATE_HOURLY' => 'Hourly', + 'ROTATE_MONTHLY' => 'Monthly', + 'ROTATE_PAGELOAD' => 'Page load', + 'ROTATE_WEEKLY' => 'Weekly', + + 'SAMPLES' => 'Samples', + 'SCRIPTS' => 'Scripts', + 'SELECT_FORUMS' => 'Select forums', + 'SELECT_FORUMS_EXPLAIN' => 'Select the forums from which to display topics/posts. Leave blank to select from all forums', + 'SELECT_MENU' => 'Select Menu', + 'SELECT_PROFILE_FIELDS' => 'Select profile fields', + 'SELECT_PROFILE_FIELDS_EXPLAIN' => 'Only the selected profile fields will be displayed, if available.', + 'SHOW_FIRST_POST' => 'First Post', + 'SHOW_HIDE_ME' => 'Allow hide online status?', + 'SHOW_LAST_POST' => 'Last Post', + 'SHOW_MEMBER_MENU' => 'Show user menu?', + 'SHOW_MEMBER_MENU_EXPLAIN' => 'Replace login box with user menu if user is logged in', + 'SHOW_WORD_COUNT' => 'Show word count?', + + 'TEMPLATE' => 'Template', + 'TOPIC_TITLE_LIMIT' => 'Maximum # of characters for topic title', + 'TOPIC_TYPE' => 'Topic Type', + 'TOPIC_TYPE_EXPLAIN' => 'Select the topic types you’d like to display. Leave the boxes unchecked to select from all topic types', + 'TOPICS_LOOK_BACK' => 'Look back', + 'TOPICS_ONLY' => 'Topics only?', + 'TOPICS_PER_PAGE' => 'Per page', + + 'WORD_MAX_SIZE' => 'Maximum font size', + 'WORD_MIN_SIZE' => 'Minimum font size', +)); diff --git a/language/hr/common.php b/language/hr/common.php new file mode 100644 index 000000000000..ba8fbbe28ce8 --- /dev/null +++ b/language/hr/common.php @@ -0,0 +1,97 @@ + 'All Time', + + 'BLOCK_TITLE' => 'Block Title', + + 'CHANGE_ME' => 'Change Me', + + 'DAILY_MEMBER' => 'Member of the day', + + 'FEATURED_MEMBER' => 'Featured Member', + 'FEATURED_MEMBERLIST' => 'Featured members list', + 'FEEDS' => 'Feeds', + 'FORUM_ANNOUNCEMENTS' => 'Forum Announcements', + 'FORUM_GLOBAL_ANNOUNCEMENTS' => 'Global Forum Announcements', + 'FORUM_RECENT_POSTS' => 'Recent Forum Posts', + 'FORUM_RECENT_TOPICS' => 'Recent Forum Topics', + 'FORUM_STICKY_POSTS' => 'Recent Sticky Posts', + + 'HELP' => 'Help', + 'HOURLY_MEMBER' => 'Member of the hour', + + 'GOOGLE_MAP' => 'Google Map', + + 'JOIN_DATE' => 'Join Date', + + 'LAST_POST_BY_AUTHOR' => 'Last post by', + 'LAST_VISITED' => 'Last Visited', + 'LINKS' => 'Links', + + 'MCP_SITEMAKER_CONTENT' => 'Contents', + 'MEMBERS_DATE' => 'Date', + 'MENU' => 'Menu', + 'MONTHLY_MEMBER' => 'Member of the month', + 'MOST_TENURED' => 'Most Tenured', + 'MY_BOOKMARKS' => 'My Bookmarks', + + 'NO_BOOKMARKED_TOPICS' => 'You have not bookmarked any topics', + 'NO_NEW_TOPICS' => 'There are no new topics to display', + + 'POLL' => 'Poll', + 'POPULAR_TOPICS' => 'Popular Topics', + 'POSTS_MEMBER' => 'Top Poster', + 'PROCESSING' => 'processing...', + + 'QTYPE_POSTS' => 'Congratulations to:', + 'QTYPE_RECENT' => 'Please welcome our newest member:', + + 'RECENT_BOTS' => 'Recent Search Engines', + 'RECENT_MEMBER' => 'Recent Member', + 'RECENT_MEMBERS' => 'Recent Members', + + 'SESSION_HIDE_ME' => 'Hide Me', + 'SM_NAVIGATION' => 'Navigation', + 'SM_TOGGLE_DROPDOWN' => 'Toggle dropdown', + 'STYLE_SWITCHER' => 'Style Switcher', + + 'THIS_MONTH' => 'This Month', + 'THIS_WEEK' => 'This Week', + 'THIS_YEAR' => 'This Year', + 'TODAY' => 'Today', + 'TOPICS_LAST_READ' => 'Last Read Topics', + 'TOPIC_LAST_READ' => 'Last read %s', + 'TOP_POSTERS' => 'Top Posters', + + 'UCP_SITEMAKER_CONTENT' => 'My Stuff', + + 'VIEW_DETAILS' => 'View Details', + 'VIEW_USER_PROFILE' => 'All about %s', + + 'WEEKLY_MEMBER' => 'Member of the week', + 'WELCOME' => 'Welcome', + 'WHATS_NEW' => 'What’s New?', + 'WORDGRAPH' => 'Wordgraph', +)); diff --git a/language/hr/css_presets.php b/language/hr/css_presets.php new file mode 100644 index 000000000000..31b5df933209 --- /dev/null +++ b/language/hr/css_presets.php @@ -0,0 +1,107 @@ + 'Arrow list marker', + 'LIST_CIRCLE' => 'Circle list marker', + 'LIST_DISC' => 'Bullet list marker', + 'LIST_SQUARE' => 'Square list marker', + 'LIST_NUMBERED' => 'Numbered list', + 'LIST_NUMBERED_ALPHABET' => 'Numbered with alphabet', + 'LIST_NUMBERED_NESTED' => 'Numbered with subsections', + 'LIST_NUMBERED_ROMAN' => 'Numbered with Roman numerals', + 'LIST_NUMBERED_ZERO' => 'Numbered with leading zero', + 'LIST_INLINE' => 'Inline list', + 'LIST_INLINE_SEP' => 'Comma-separated list', + 'LIST_REVERSE' => 'Reverse order', + 'LIST_STRIPED' => 'Striped list', + 'LIST_STACKED' => 'Stacked list', + 'LIST_TRIANGLE' => 'Triangle', + 'LIST_HYPHEN' => 'Hyphen', + 'LIST_PLUS' => 'Plus', + 'LIST_SPADE' => 'Spade', + 'LIST_CLUB' => 'Club', + 'LIST_DIAMOND' => 'Diamond', + 'LIST_HEART' => 'Heart', + 'LIST_STAR' => 'Star', + 'LIST_CHECK' => 'Check', + 'LIST_SNOWFLAKE' => 'Snowflake', + 'LIST_MUSIC' => 'Music', + 'LIST_AUTOWIDTH' => 'Auto width', + 'LIST_FIT_CONTENT' => 'Fit content', + 'LIST_2COLS' => '2 column list', + 'LIST_3COLS' => '3 columns list', + 'LIST_4COLS' => '4 columns list', + 'LIST_5COLS' => '5 columns list', + 'LIST_X_DIVIDER_DOTTED' => 'Horizontal dotted divider', + 'LIST_X_DIVIDER_LINE' => 'Horizontal line divider', + 'LIST_Y_DIVIDER_DOTTED' => 'Vertical dotted divider', + 'LIST_Y_DIVIDER_LINE' => 'Vertical line divider', + + 'IMAGE_SMALL' => 'Small image', + 'IMAGE_MEDIUM' => 'Medium image', + 'IMAGE_LARGE' => 'Large image', + 'IMAGE_FULL_WIDTH' => 'Full width image', + 'IMAGE_ALIGN_LEFT' => 'Float image left', + 'IMAGE_ALIGN_RIGHT' => 'Float image right', + 'IMAGE_CIRCLE' => 'Circular image', + 'IMAGE_ROUNDED' => 'Rounded image', + 'IMAGE_BORDER' => 'Bordered image', + 'IMAGE_BORDER_PADDING' => 'Image border padding', + 'IMAGE_RATIO_SQUARE' => 'Square Image', + 'IMAGE_RATIO_4_BY_3' => '4 by 3 image', + 'IMAGE_RATIO_16_BY_9' => '16 by 9 image', + + 'RESPONSIVE_SHOW' => 'Show only on small devices', + 'RESPONSIVE_HIDE' => 'Hide on small devices', + + 'ALIGN_LEFT' => 'Left-aligned text', + 'ALIGN_CENTER' => 'Centered text', + 'ALIGN_RIGHT' => 'Right-aligned text', + 'NO_PADDING' => 'No padding', + 'LABEL' => 'Label', + 'BADGE' => 'Badge', + 'PRIMARY_COLOR' => 'Primary color', + 'SECONDARY_COLOR' => 'Secondary color', + 'GRAYSCALE_COLOR' => 'Grayscale', + 'INFO_COLOR' => 'Info', + 'SUCCESS_COLOR' => 'Success', + 'WARNING_COLOR' => 'Warning', + 'DANGER_COLOR' => 'Danger', +)); diff --git a/language/hr/exceptions.php b/language/hr/exceptions.php new file mode 100644 index 000000000000..6a3da47f86f6 --- /dev/null +++ b/language/hr/exceptions.php @@ -0,0 +1,49 @@ + 'Required field missing', + 'EXCEPTION_INVALID_ACTION' => 'The action does not exist', + 'EXCEPTION_INVALID_ARGUMENT' => 'Invalid argument specified for `%1$s`. Reason: %2$s', + 'EXCEPTION_INVALID_DATA_TYPE' => 'The provided value is of an unexpected data type', + 'EXCEPTION_INVALID_ENTITY' => 'The provided entity is of an unexpected entity class', + 'EXCEPTION_INVALID_PROPERTY' => 'The requested property does not exist', + 'EXCEPTION_OUT_OF_BOUNDS' => 'The requested `%1$s` does not exist', + 'EXCEPTION_SERVICE_NOT_FOUND' => 'The requested service was not found', + 'EXCEPTION_UNEXPECTED_VALUE' => 'The requested action `%1$s` could not be performed. Reason: %2$s', +)); diff --git a/language/hr/ext.php b/language/hr/ext.php new file mode 100644 index 000000000000..c3fe9daa0021 --- /dev/null +++ b/language/hr/ext.php @@ -0,0 +1,42 @@ + 'The phpBB Image directory is not writable. Please change the permissions to writable by all (777 or -rwxrwxrwx within your FTP Client)', + 'PHPBB_VERSION_UNMET' => 'This extension requires at least phpBB %s', +)); diff --git a/language/hr/feed_fields.php b/language/hr/feed_fields.php new file mode 100644 index 000000000000..87f21fdfef60 --- /dev/null +++ b/language/hr/feed_fields.php @@ -0,0 +1,108 @@ + 'author', + 'AUTHORS' => 'authors (array)', + 'BITRATE' => 'bitrate', + 'CAPTIONS' => 'captions', + 'CATEGORIES' => 'categories (array)', + 'CATEGORY' => 'category', + 'CHANNELS' => 'channels', + 'CONTENT' => 'content', + 'CONTRIBUTOR' => 'contributor', + 'CONTRIBUTORS' => 'contributors (array)', + 'COPYRIGHT' => 'copyright', + 'CREDITS' => 'credits', + 'DATE' => 'date', + 'DESCRIPTION' => 'description', + 'DURATION' => 'duration', + 'ENCLOSURE' => 'enclosure', + 'ENCLOSURES' => 'enclosures (array)', + 'EXPRESSION' => 'expression', + 'FEED' => 'feed', + 'FRAMERATE' => 'framerate', + 'GMDATE' => 'GM date', + 'HANDLER' => 'handler', + 'HASHES' => 'hashes', + 'HEIGHT' => 'height', + 'ID' => 'id', + 'IMAGE_HEIGHT' => 'image height', + 'IMAGE_LINK' => 'image link', + 'IMAGE_TITLE' => 'image title', + 'IMAGE_URL' => 'image url', + 'IMAGE_WIDTH' => 'image width', + 'ITEMS' => 'items', + 'JAVASCRIPT' => 'javascript', + 'KEYWORDS' => 'keywords', + 'LABEL' => 'label', + 'LANG' => 'lang', + 'LATITUDE' => 'latitude', + 'LENGTH' => 'length', + 'LINK' => 'link', + 'LINKS' => 'links', + 'LONGITUDE' => 'longitude', + 'MEDIUM' => 'medium', + 'NAME' => 'name', + 'PERMALINK' => 'permalink', + 'PLAYER' => 'player', + 'RATINGS' => 'ratings', + 'RELATIONSHIP' => 'relationship', + 'RESTRICTIONS' => 'restrictions (array)', + 'SAMPLINGRATE' => 'sampling rate', + 'SCHEME' => 'scheme', + 'SOURCE' => 'source', + 'TERM' => 'term', + 'THUMBNAILS' => 'thumbnails', + 'TITLE' => 'title', + 'TYPE' => 'type', + 'UPDATED_DATE' => 'updated date', + 'UPDATED_GMDATE' => 'updated GM date', + 'VALUE' => 'value', + 'WIDTH' => 'width', +)); diff --git a/language/hr/icons.php b/language/hr/icons.php new file mode 100644 index 000000000000..1c6f04ce18b0 --- /dev/null +++ b/language/hr/icons.php @@ -0,0 +1,71 @@ + 'Accessibility', + 'ICON_ARROWS' => 'Arrows', + 'ICON_BRAND' => 'Brand', + 'ICON_CHART' => 'Chart', + 'ICON_CURRENCY' => 'Currency', + 'ICON_DIRECTIONAL' => 'Directional', + 'ICON_FILE_TYPE' => 'File Type', + 'ICON_FORM_CONTROL' => 'Form Control', + 'ICON_GENDER' => 'Gender', + 'ICON_HAND' => 'Hand', + 'ICON_MEDICAL' => 'Medical', + 'ICON_PAYMENT' => 'Payment', + 'ICON_SPINNER' => 'Spinner', + 'ICON_TEXT_EDITOR' => 'Text Editor', + 'ICON_TRANSPORTATION' => 'Transportation', + 'ICON_VIDEO_PLAYER' => 'Video Player', + 'ICON_WEB_APPLICATION' => 'Web Application', + + 'ICON_COLOR' => 'Color', + 'ICON_DEFAULT' => 'Default', + 'ICON_FLIP_BOTH' => 'Flip Both', + 'ICON_FLIP_HORIZONTAL' => 'Flip Horizontal', + 'ICON_FLIP_VERTICAL' => 'Flip Vertical', + 'ICON_FLOAT' => 'Float', + 'ICON_FLOAT_LEFT' => 'Left', + 'ICON_FLOAT_RIGHT' => 'Right', + 'ICON_FONT' => 'Font Icons', + 'ICON_INSERT_UPDATE' => 'Insert/Update', + 'ICON_MISC' => 'Misc', + 'ICON_MISC_BORDERED' => 'Bordered', + 'ICON_MISC_FIXED_WIDTH' => 'Fixed Width', + 'ICON_MISC_PULSE' => 'Pulse', + 'ICON_MISC_SPINNING' => 'Spinning', + 'ICON_ROTATION' => 'Rotation', + 'ICON_ROTATE_90' => '90°', + 'ICON_ROTATE_180' => '180°', + 'ICON_ROTATE_270' => '270°', + 'ICON_SIZE' => 'Size', + 'ICON_SIZE_LG' => 'Larger', + 'ICON_SIZE_SM' => 'Small', + 'ICON_SIZE_2X' => '2x', + 'ICON_SIZE_3X' => '3x', + 'ICON_SIZE_4X' => '4x', + 'ICON_SIZE_5X' => '5x', + + 'NO_ICON' => 'No Icon', +)); diff --git a/language/hr/info_acp_menus.php b/language/hr/info_acp_menus.php new file mode 100644 index 000000000000..a06f50a4c63b --- /dev/null +++ b/language/hr/info_acp_menus.php @@ -0,0 +1,92 @@ + 'Menu', + 'ACP_MENU_MANAGE' => 'Menu Management', + 'ACP_MENU_MANAGE_EXPLAIN' => 'Here you can create and manage menus for your site', + 'ADD_BULK_MENU' => 'Bulk Add Menu Items', + 'ADD_BULK_MENU_EXPLAIN' => 'Add multiple menu items at once.
- Place each item on a separate line
- Use the Tab key to indent items to represent parent-child relationships
- Enter item and URL like so: Home|index.php', + 'ADD_MENU' => 'Add Menu', + 'ADD_MENU_ITEM' => 'Add Menu Item', + 'ADD_ITEM' => 'Add New Item', + 'AJAX_PROCESSING' => 'Working', + + 'CHANGE_ME' => 'Change Me', + + 'DELETE_ITEM' => 'Delete Item', + 'DELETE_KIDS' => 'Delete Branch', + 'DELETE_MENU' => 'Delete Menu', + 'DELETE_MENU_CONFIRM' => 'Are you sure you want to delete this menu?
This will delete the menu and all its items', + 'DELETE_MENU_ITEM' => 'Delete Item', + 'DELETE_MENU_ITEM_CONFIRM' => 'Are you sure you want to delete this menu item?', + 'DELETE_SELECTED' => 'Delete Selected', + + 'EDIT_ITEM' => 'Edit Item', + + 'ITEM_ACTIVE' => 'Active', + 'ITEM_INACTIVE' => 'Inactive', + 'ITEM_PARENT' => 'Parent', + 'ITEM_TITLE' => 'Item Title', + 'ITEM_TITLE_EXPLAIN' => 'Set as ’-’ for divider', + 'ITEM_TARGET' => 'Item Target', + 'ITEM_URL' => 'Item URL', + 'ITEM_URL_EXPLAIN' => '- Leave empty for headings
- External sites must begin with http(s)://, ftp://, //, etc', + + 'MENU_ITEMS' => 'Menu Items', + + 'NO_MENU_ITEMS' => 'No menu items have been created', + 'NO_PARENT' => 'No Parent', + + 'PROCESSING_ERROR' => 'Processing error', + + 'REBUILD_TREE' => 'Rebuild Tree', + 'REQUIRED' => 'Required', + 'REQUIRED_FIELDS' => '* Required fields', + + 'SAVE_CHANGES' => 'Save Changes', + 'SAVE' => 'Save', + 'SELECT_ALL' => 'Select All', + + 'TARGET_BLANK' => 'Blank Page', + 'TARGET_PARENT' => 'Parent', + + 'UNSAVED_CHANGES' => 'You have unsaved changes', + + 'VISIT_PAGE' => 'Visit Page', +)); diff --git a/language/hr/info_acp_settings.php b/language/hr/info_acp_settings.php new file mode 100644 index 000000000000..5e704a037343 --- /dev/null +++ b/language/hr/info_acp_settings.php @@ -0,0 +1,74 @@ + 'SiteMaker', + 'ACP_SM_SETTINGS' => 'Settings', + + 'BLOCKS_CLEANUP' => 'Blocks Cleanup', + 'BLOCKS_CLEANUP_EXPLAIN' => 'The following items were found to no longer exist or unreachable, and you can therefore delete all blocks associated to them. Please keep in mind that some of these may be false positives', + 'BLOCKS_CLEANUP_BLOCKS' => 'Invalid Blocks (e.g. from uninstalled extensions):', + 'BLOCKS_CLEANUP_ROUTES' => 'Unreachable/broken Pages:', + 'BLOCKS_CLEANUP_STYLES' => 'Uninstalled Styles (ids):', + 'BLOCKS_CLEANUP_SUCCESS' => 'Blocks purged sucessfully', + + 'FORUM_INDEX_SETTINGS' => 'Forum Index Settings', + 'FORUM_INDEX_SETTINGS_EXPLAIN' => 'These settings only apply when there is no startpage defined', + + 'HIDE' => 'Hide', + 'HIDE_BIRTHDAY' => 'Hide Birthday section', + 'HIDE_LOGIN' => 'Hide login box', + 'HIDE_ONLINE' => 'Hide Whos online section', + + 'LAYOUT_BLOG' => 'Blog', + 'LAYOUT_CUSTOM' => 'Custom', + 'LAYOUT_HOLYGRAIL' => 'Holy Grail', + 'LAYOUT_PORTAL' => 'Portal', + 'LAYOUT_PORTAL_ALT' => 'Portal (alt)', + 'LAYOUT_SETTINGS' => 'Layout Settings', + + 'LOG_DELETED_BLOCKS_FOR_STYLE' => 'Sitemaker blocks deleted for missing style with id %s', + 'LOG_DELETED_BLOCKS_FOR_ROUTE' => 'Sitemaker blocks deleted for broken pages:
%s', + 'LOG_DELETED_BLOCKS' => 'Invalid Sitemaker blocks deleted:
%s', + + 'NAVIGATION_SETTINGS' => 'Navigation Settings', + + 'SETTINGS_SAVED' => 'Your settings have been saved', + 'SHOW' => 'Show', + 'SHOW_FORUM_NAV' => 'Show ’Forum’ in navigation bar?', + 'SHOW_FORUM_NAV_EXPLAIN' => 'When a page is set as startpage instead of the forum index, should we display ’Forum’ in navigation bar', + 'SHOW_FORUM_NAV_WITH_ICON' => 'Yes - with icon:', +]); diff --git a/language/hr/navbar_manager.php b/language/hr/navbar_manager.php new file mode 100644 index 000000000000..89f54431871f --- /dev/null +++ b/language/hr/navbar_manager.php @@ -0,0 +1,79 @@ + 'Active Element', + 'BORDER' => 'Border', + 'BORDER_COLOR' => 'Border Color', + 'BORDER_RADIUS' => 'Border Radius', + 'BORDER_WIDTH' => 'Border Width', + 'BOTTOM' => 'Bottom', + 'BOTTOM_LEFT' => 'Bottom Left', + 'BOTTOM_RIGHT' => 'Bottom Right', + 'CAPITALIZE' => 'Capitalize', + 'COLOR' => 'Color', + 'DIVIDERS' => 'Dividers', + 'END' => 'End', + 'GRADIENT' => 'Gradient', + 'HEADERS' => 'Headers', + 'HOVER' => 'Hover', + 'LEFT' => 'Left', + 'LOWERCASE' => 'Lowercase', + 'MARGIN' => 'Margin', + 'NAVBAR' => 'Navbar', + 'NAVBAR_MENU' => 'Navbar menu', + 'NAVBAR_DROPDOWN' => 'Dropdown', + 'NAVBAR_LOCATION' => 'Location', + 'NAVBAR_LOCATION_OPTION' => 'Location #%s', + 'NAVBAR_TOP_MENU' => 'Top Menu', + 'NONE' => 'None', + 'PADDING' => 'Padding', + 'RESPONSIVE_TOGGLE' => 'Responsive Toggle', + 'RESPONSIVE_TOGGLE_EXPLAIN' => 'Only viewable on small (mobile) screens', + 'RIGHT' => 'Right', + 'SAVE' => 'Save', + 'SIZE' => 'Size', + 'START' => 'Start', + 'TEXT' => 'Text', + 'TOP' => 'Top', + 'TOP_LEFT' => 'Top Left', + 'TOP_RIGHT' => 'Top Right', + 'TRANSFORM' => 'Transform', + 'UPPERCASE' => 'Uppercase', +)); diff --git a/language/hr/permissions_sitemaker.php b/language/hr/permissions_sitemaker.php new file mode 100644 index 000000000000..72648a473804 --- /dev/null +++ b/language/hr/permissions_sitemaker.php @@ -0,0 +1,45 @@ + '[ SiteMaker ] Can manage settings', + 'ACL_A_SM_MANAGE_BLOCKS' => '[ SiteMaker ] Can manage blocks', + 'ACL_A_SM_MANAGE_MENUS' => '[ SiteMaker ] Can manage menus', +)); diff --git a/language/it/block_manager.php b/language/it/block_manager.php new file mode 100644 index 000000000000..29cafb79f4d9 --- /dev/null +++ b/language/it/block_manager.php @@ -0,0 +1,123 @@ + '*Trascina e rilascia blocchi', + 'AJAX_ERROR' => 'Oops! Si è verificato un errore nell\'elaborazione della richiesta. Si prega di riprovare.', + 'AJAX_LOADING' => 'Caricamento...', + 'AJAX_PROCESSING' => 'Lavorando...', + + 'BACKGROUND' => 'Sfondo', + 'BLOCKS' => 'Blocchi', + 'BLOCKS_COPY_FROM' => 'Copia Blocchi', + 'BLOCK_ACTIVE' => 'Attivo', + 'BLOCK_CHILD_ROUTES_ONLY' => 'Mostra solo sugli itinerari figli', + 'BLOCK_CHILD_ROUTES_HIDE' => 'Nascondi sui percorsi figli', + 'BLOCK_CLASS' => 'Classe CSS', + 'BLOCK_CLASS_EXPLAIN' => 'Modifica l\'aspetto del blocco con le classi CSS', + 'BLOCK_DESIGN' => 'Aspetto', + 'BLOCK_DISPLAY_TYPE' => 'Visualizzazione', + 'BLOCK_HIDE_TITLE' => 'Nascondi il titolo del blocco?', + 'BLOCK_INACTIVE' => 'Inattivo', + 'BLOCK_MISSING_TEMPLATE' => 'Modello di blocco richiesto mancante. Contatta lo sviluppatore', + 'BLOCK_NOT_FOUND' => 'Oops! Il servizio di blocco richiesto non è stato trovato', + 'BLOCK_NO_DATA' => 'Nessun dato da visualizzare', + 'BLOCK_NO_ID' => 'Oops! Id blocco mancante', + 'BLOCK_PERMISSION' => 'Permesso', + 'BLOCK_PERMISSION_ALLOW' => 'Mostra a', + 'BLOCK_PERMISSION_DENY' => 'Nascondi da', + 'BLOCK_PERMISSION_EXPLAIN' => 'Usa CTRL + clic per attivare la selezione', + 'BLOCK_SHOW_ALWAYS' => 'Sempre', + 'BLOCK_STATUS' => 'Stato', + 'BLOCK_UPDATED' => 'Impostazioni blocco aggiornate con successo', + + 'CANCEL' => 'Annulla', + 'CHILD_ROUTE' => 'Figlio', + 'CHILD_ROUTE_EXPLAIN' => '/viewforum.php, /dir/index.php
/viewtopic.php?f=2&t=1
/articles/my-article', + 'CLEAR' => 'Pulisci', + 'COPY' => 'Copia', + 'COPY_BLOCKS' => 'Copiare I Blocchi?', + 'COPY_BLOCKS_CONFIRM' => 'Sei sicuro di voler copiare blocchi da un\'altra pagina?

Questo eliminerà tutti i blocchi esistenti e le loro impostazioni per questa pagina e li sostituirà con i blocchi dalla pagina selezionata.', + + 'DEFAULT_LAYOUT_EXPLAIN' => 'Se impostata, tutte le pagine del sito per le quali non hai specificato i blocchi erediteranno i blocchi dal layout predefinito. Si può, tuttavia, sovrascrivere il layout predefinito per particolari pagine utilizzando le opzioni a destra.', + 'DELETE' => 'Elimina', + 'DELETE_ALL_BLOCKS' => 'Elimina Tutti I Blocchi', + 'DELETE_ALL_BLOCKS_CONFIRM' => 'Sei sicuro di voler eliminare tutti i blocchi per questa pagina?', + 'DELETE_BLOCK' => 'Elimina Blocco', + 'DELETE_BLOCK_CONFIRM' => 'Sei sicuro di voler eliminare questo blocco?


Nota: Dovrai salvare le modifiche del layout per renderlo permanente.', + + 'EDIT' => 'Modifica', + 'EDIT_BLOCK' => 'Modifica Blocco', + 'EXIT_EDIT_MODE' => 'Esci Dalla Modalità Modifica', + + 'FEED_PROBLEMS' => 'Si è verificato un problema nell\'elaborazione dei feed rss/atom forniti', + 'FEED_URL_MISSING' => 'Si prega di fornire almeno un feed rss/atomo per iniziare', + 'FIELD_INVALID' => 'Il valore fornito per il campo «%s» ha un formato non valido', + 'FIELD_REQUIRED' => '“%s” è un campo obbligatorio', + 'FIELD_TOO_LONG' => 'Il valore fornito per il campo «%1$s» è troppo lungo. Il valore massimo accettabile è %2$d.', + 'FIELD_TOO_SHORT' => 'Il valore fornito per il campo «%1$s» è troppo breve. Il valore minimo accettabile è %2$d.', + + 'HIDE_ALL_BLOCKS' => 'Non mostrare blocchi su questa pagina', + 'HIDE_BLOCK_POSITIONS' => 'Non mostrare i blocchi per le seguenti posizioni di blocco:', + + 'IMAGES' => 'Immagini', + + 'LAYOUT' => 'Layout', + 'LAYOUT_SAVED' => 'Layout salvato con successo!', + 'LAYOUT_SETTINGS' => 'Impostazioni Layout', + 'LEAVE_CONFIRM' => 'Hai alcune modifiche non salvate a questa pagina. Per favore salva il tuo lavoro prima di spostarti', + 'LISTS' => 'Liste', + + 'MAKE_DEFAULT_LAYOUT' => 'Imposta Come Layout Predefinito', + + 'OR' => 'O', + + 'PARENT_ROUTE' => 'Genitore', + 'PARENT_ROUTE_EXPLAIN' => '/index.php
/viewforum.php?f=2
/articles', + 'PREDEFINED_CLASSES' => 'Lezioni predefinite', + + 'REDO' => 'Ripeti', + 'REMOVE_DEFAULT_LAYOUT' => 'Rimuovi Come Layout Predefinito', + 'REMOVE_STARTPAGE' => 'Rimuovi Pagina Iniziale', + 'ROUTE_HIDDEN_BLOCKS' => 'I blocchi sono nascosti per questa pagina', + 'ROUTE_HIDDEN_POSITIONS' => 'I blocchi sono nascosti per le seguenti posizioni', + 'ROUTE_UPDATED' => 'Impostazioni pagina aggiornate con successo', + + 'SAVE_CHANGES' => 'Salva Modifiche', + 'SAVE_SETTINGS' => 'Salva Impostazioni', + 'SELECT_ICON' => 'Seleziona un\'icona', + 'SETTINGS' => 'Impostazioni', + 'SETTING_TOO_BIG' => 'Il valore fornito per l\'impostazione «%1$s» è troppo alto. Il valore massimo accettabile è %2$d.', + 'SETTING_TOO_LONG' => 'Il valore fornito per l\'impostazione «%1$s» è troppo lungo. La lunghezza massima accettabile è %2$d.', + 'SETTING_TOO_LOW' => 'Il valore fornito per l\'impostazione «%1$s» è troppo basso. Il valore minimo accettabile è %2$d.', + 'SETTING_TOO_SHORT' => 'Il valore fornito per l\'impostazione «%1$s» è troppo breve. La lunghezza minima accettabile è %2$d.', + 'SET_STARTPAGE' => 'Imposta Come Pagina Iniziale', + + 'TITLES' => 'Titoli', + + 'UPDATE_SIMILAR' => 'Aggiorna blocchi con impostazioni simili', + 'UNDO' => 'Annulla', + + 'VIEW_DEFAULT_LAYOUT' => 'Visualizza/Modifica Layout Predefinito', + 'VISIT_PAGE' => 'Visita Pagina', +)); diff --git a/language/it/blocks_admin.php b/language/it/blocks_admin.php new file mode 100644 index 000000000000..73ca032053ce --- /dev/null +++ b/language/it/blocks_admin.php @@ -0,0 +1,189 @@ + 'Tutti I Tipi', + 'ALL_GROUPS' => 'Tutti I Gruppi', + 'ARCHIVES' => 'Archivi', + 'AUTO_LOGIN' => 'Consentire il login automatico?', + 'FILE_MANAGER' => 'Gestore File', + 'TOPIC_POST_IDS' => 'Da Id Argomento/Post', + 'TOPIC_POST_IDS_EXPLAIN' => 'Id di argomenti/post da cui recuperare gli allegati, separati da virgole(,). Specificare se questa lista è per topic o post id sopra.', + 'TOPIC_POST_IDS_TYPE' => 'Tipo di ID (sotto)', + + // Blocks + 'BLITZE_SITEMAKER_BLOCK_ATTACHMENTS' => 'Allegati', + 'BLITZE_SITEMAKER_BLOCK_BIRTHDAY' => 'Compleanno', + 'BLITZE_SITEMAKER_BLOCK_CUSTOM' => 'Blocco Personalizzato', + 'BLITZE_SITEMAKER_BLOCK_FEATURED_MEMBER' => 'Membro In Evidenza', + 'BLITZE_SITEMAKER_BLOCK_FEEDS' => 'Feed RSS/Atom', + 'BLITZE_SITEMAKER_BLOCK_FORUM_POLL' => 'Forum Sondaggio', + 'BLITZE_SITEMAKER_BLOCK_FORUM_TOPICS' => 'Argomenti Forum', + 'BLITZE_SITEMAKER_BLOCK_GOOGLE_MAPS' => 'Google Maps', + 'BLITZE_SITEMAKER_BLOCK_POPULAR_TOPICS' => 'Argomenti Popolari', + 'BLITZE_SITEMAKER_BLOCK_LINKS' => 'Collegamenti', + 'BLITZE_SITEMAKER_BLOCK_LOGIN' => 'Casella Di Accesso', + 'BLITZE_SITEMAKER_BLOCK_MEMBERS' => 'Membri', + 'BLITZE_SITEMAKER_BLOCK_MEMBER_MENU' => 'Menu Membri', + 'BLITZE_SITEMAKER_BLOCK_MENU' => 'Menu', + 'BLITZE_SITEMAKER_BLOCK_MYBOOKMARKS' => 'I Miei Segnalibri', + 'BLITZE_SITEMAKER_BLOCK_RECENT_TOPICS' => 'Argomenti Recenti', + 'BLITZE_SITEMAKER_BLOCK_STATS' => 'Statistiche', + 'BLITZE_SITEMAKER_BLOCK_STYLE_SWITCHER' => 'Commutatore Di Stile', + 'BLITZE_SITEMAKER_BLOCK_WHATS_NEW' => 'Che Cosa È Nuovo?', + 'BLITZE_SITEMAKER_BLOCK_WHOIS' => 'Chi è online', + 'BLITZE_SITEMAKER_BLOCK_WORDGRAPH' => 'Wordgraph', + + // block views + 'BLOCK_VIEW' => 'Blocca Vista', + 'BLOCK_VIEW_BASIC' => 'Base', + 'BLOCK_VIEW_BOXED' => 'Boxed', + 'BLOCK_VIEW_DEFAULT' => 'Predefinito', + 'BLOCK_VIEW_SIMPLE' => 'Semplice', + + 'CACHE_DURATION' => 'Durata cache', + 'CONTEXT' => 'Contesto', + 'CSS_SCRIPTS' => 'CSS Scripts', + 'CUSTOM_PROFILE_FIELDS' => 'Campi Profilo Personalizzato', + + 'DATE_RANGE' => 'Date Range', + 'DISPLAY_PREVIEW' => 'Visualizza Anteprima?', + + 'EDIT_ME' => 'Per favore modificami', + 'ENABLE_TOPIC_TRACKING' => 'Abilitare il tracciamento degli argomenti?', + 'ENABLE_TOPIC_TRACKING_EXPLAIN' => 'Se abilitato, gli argomenti non letti saranno indicati ma i risultati del blocco non saranno memorizzati nella cache (Non consigliato)', + 'EXCLUDE_TOO_MANY_WORDS' => 'Hai inserito troppe parole da escludere. Il numero massimo di caratteri possibili è 255, hai inserito %s.', + 'EXCLUDE_WORDS' => 'Escludi parole', + 'EXCLUDE_WORDS_EXPLAIN' => 'Elenca le parole che vuoi escludere dal grafico delle parole separate da una virgola (,). Massimo 255 caratteri.', + 'EXPANDED' => 'Espanso', + 'EXTENSION_GROUP' => 'Gruppo Estensioni', + + 'FEATURED_MEMBER_IDS' => 'Id Utente', + 'FEATURED_MEMBER_IDS_EXPLAIN' => 'Elenco di utenti separati da virgole da funzionalità (si applica solo alla modalità di visualizzazione membri in evidenza)', + 'FEED_DATA_PREVIEW' => 'Dati Feed', + 'FEED_ITEM_TEMPLATE' => 'Template Oggetto', + 'FEED_ITEM_TEMPLATE_EXPLAIN' => 'SUGGERIMENTI:
+
    +
  • Accesso dati feed in elemento variabile e. . oggetto. itle
  • +
  • Il modello deve essere in Sintassi Twig
  • +
  • Clicca Campioni sopra per i modelli di esempio
  • +
  • Usa get_item_tags($namespace, $tag) per ottenere qualsiasi tag dal feed che non forniamo . .
    {{ get_item_tags(\'\', \'image\') }}
  • +
  • Usa il filtro json_encode di Twig, per vedere i contenuti dell\'array e. . {{ get_item_tags(\'\', \'image\') json_encode() }}
  • +
', + 'FEED_PREVIEW_SOURCE' => 'Fonte', + 'FEED_URL_PLACEHOLDER' => 'http://example.com/rss', + 'FEED_URLS' => 'Url Feed', + 'FIRST_POST_ONLY' => 'Solo Primo Post', + 'FIRST_POST_TIME' => 'Primo Post Time', + 'FORUMS_GET_TYPE' => 'Ottieni tipo', + 'FORUMS_MAX_TOPICS' => 'Argomenti/post massimi', + 'FORUMS_TITLE_MAX_CHARS' => 'Numero massimo di caratteri per titolo', + 'FREQUENCY' => 'Frequenza', + 'FULL' => 'Pieno', + 'FULLSCREEN' => 'Schermo', + + 'GET_TYPE' => 'Visualizzare Argomento/Post?', + + 'HTML' => 'HTML', + 'HTML_EXPLAIN' => 'Usa questa area di testo per inserire il contenuto HTML grezzo.
Si prega di notare che qualsiasi contenuto pubblicato qui sovrascriverà il contenuto del blocco personalizzato e l\'editor di blocchi visivi non sarà disponibile.', + 'HOURS_SHORT' => 'ore', + + 'JS_SCRIPTS' => 'Script JS', + + 'LAST_POST_TIME' => 'Ultimo Tempo Post', + 'LAST_READ_TIME' => 'Ultimo Tempo Di Lettura', + 'LIMIT' => 'Limite', + 'LIMIT_FORUMS' => 'Id Forum (Opzionale)', + 'LIMIT_FORUMS_EXPLAIN' => 'Inserisci ogni id del forum separato da una virgola (,). Se impostata, verranno visualizzati solo gli argomenti dai forum specificati.', + 'LIMIT_POST_TIME' => 'Limite per post time', + 'LIMIT_POST_TIME_EXPLAIN' => 'Se impostato, verranno recuperati solo gli argomenti postati entro il periodo specificato', + + 'MAX_DEPTH' => 'Profondità massima', + 'MAX_ITEMS' => 'Numero massimo di elementi', + 'MAX_MEMBERS' => 'Max. Membri', + 'MAX_POSTS' => 'Numero massimo di posti', + 'MAX_TOPICS' => 'Numero massimo di argomenti', + 'MAX_WORDS' => 'Numero massimo di parole', + 'MANAGE_MENUS' => 'Gestisci Menu', + 'MAP_COORDINATES' => 'Coordinate', + 'MAP_COORDINATES_EXPLAIN' => 'Inserisci le coordinate nella latitudine del modulo, longitudine', + 'MAP_HEIGHT' => 'Altezza', + 'MAP_LOCATION' => 'Posizione', + 'MAP_TITLE' => 'Titolo', + 'MAP_VIEW' => 'Visualizza', + 'MAP_VIEW_HYBRID' => 'Ibrido', + 'MAP_VIEW_MAP' => 'Mappa', + 'MAP_VIEW_SATELITE' => 'Satelite', + 'MAP_VIEW_TERRAIN' => 'Terrain', + 'MAP_ZOOM_LEVEL' => 'Livello Zoom', + 'MEMBERS_DATE' => 'Data', + 'MENU_NO_ITEMS' => 'Nessun elemento attivo da visualizzare', + 'MINI' => 'Mini', + + 'OR' => 'O', + 'ORDER_BY' => 'Ordina per', + + 'POLL_FROM_FORUMS' => 'Visualizza sondaggi da forum', + 'POLL_FROM_FORUMS_EXPLAIN' => 'Verranno visualizzati solo i sondaggi dei forum selezionati, purché non siano specificati argomenti sopra', + 'POLL_FROM_GROUPS' => 'Visualizza sondaggi da gruppo(i)', + 'POLL_FROM_GROUPS_EXPLAIN' => 'Verranno visualizzati solo i sondaggi dei membri dei gruppi selezionati a condizione che nessun utente(i) sia specificato sopra', + 'POLL_FROM_TOPICS' => 'Visualizza sondaggi da argomenti', + 'POLL_FROM_TOPICS_EXPLAIN' => 'Id degli argomenti da cui recuperare i sondaggi, separati da virgole(,). Lascia vuoto per selezionare qualsiasi argomento.', + 'POLL_FROM_USERS' => 'Visualizza sondaggi da utente(i)', + 'POLL_FROM_USERS_EXPLAIN' => 'Id degli utenti di cui desideri visualizzare i sondaggi, separati da virgole(,). Lascia vuoto per selezionare i sondaggi da qualsiasi utente.', + 'POSTS_TITLE_LIMIT' => 'Numero massimo di caratteri per il titolo del post', + 'PREVIEW_MAX_CHARS' => 'Numero di caratteri da visualizzare in anteprima', + + 'QUERY_TYPE' => 'Modalità Di Visualizzazione', + + 'ROTATE_DAILY' => 'Giornaliero', + 'ROTATE_HOURLY' => 'Orario', + 'ROTATE_MONTHLY' => 'Mensile', + 'ROTATE_PAGELOAD' => 'Caricamento pagina', + 'ROTATE_WEEKLY' => 'Settimanale', + + 'SAMPLES' => 'Campioni', + 'SCRIPTS' => 'Script', + 'SELECT_FORUMS' => 'Seleziona forum', + 'SELECT_FORUMS_EXPLAIN' => 'Seleziona i forum da cui visualizzare argomenti/post. Lascia vuoto per selezionare da tutti i forum', + 'SELECT_MENU' => 'Seleziona Menu', + 'SELECT_PROFILE_FIELDS' => 'Seleziona i campi del profilo', + 'SELECT_PROFILE_FIELDS_EXPLAIN' => 'Verranno visualizzati solo i campi del profilo selezionati, se disponibili.', + 'SHOW_FIRST_POST' => 'Primo Post', + 'SHOW_HIDE_ME' => 'Consenti di nascondere lo stato online?', + 'SHOW_LAST_POST' => 'Ultimo Post', + 'SHOW_MEMBER_MENU' => 'Mostrare il menu utente?', + 'SHOW_MEMBER_MENU_EXPLAIN' => 'Sostituisci la casella di accesso con il menu utente se l\'utente ha effettuato l\'accesso', + 'SHOW_WORD_COUNT' => 'Mostrare il conteggio delle parole?', + + 'TEMPLATE' => 'Modello', + 'TOPIC_TITLE_LIMIT' => 'Numero massimo di caratteri per il titolo dell\'argomento', + 'TOPIC_TYPE' => 'Tipo Di Topic', + 'TOPIC_TYPE_EXPLAIN' => 'Selezionare i tipi di argomento che si desidera visualizzare. Lasciare le caselle deselezionate per selezionare da tutti i tipi di argomento', + 'TOPICS_LOOK_BACK' => 'Guarda indietro', + 'TOPICS_ONLY' => 'Solo argomenti?', + 'TOPICS_PER_PAGE' => 'Per pagina', + + 'WORD_MAX_SIZE' => 'Dimensione massima del carattere', + 'WORD_MIN_SIZE' => 'Dimensione minima del carattere', +)); diff --git a/language/it/common.php b/language/it/common.php new file mode 100644 index 000000000000..668ac6a4f74a --- /dev/null +++ b/language/it/common.php @@ -0,0 +1,97 @@ + 'Tutto Il Tempo', + + 'BLOCK_TITLE' => 'Titolo Blocco', + + 'CHANGE_ME' => 'Cambiami', + + 'DAILY_MEMBER' => 'Membro del giorno', + + 'FEATURED_MEMBER' => 'Membro In Evidenza', + 'FEATURED_MEMBERLIST' => 'Lista membri in vetrina', + 'FEEDS' => 'Feed', + 'FORUM_ANNOUNCEMENTS' => 'Annunci Forum', + 'FORUM_GLOBAL_ANNOUNCEMENTS' => 'Annunci Forum Globali', + 'FORUM_RECENT_POSTS' => 'Post Del Forum Recenti', + 'FORUM_RECENT_TOPICS' => 'Argomenti Del Forum Recenti', + 'FORUM_STICKY_POSTS' => 'Post Adesivi Recenti', + + 'HELP' => 'Aiuto', + 'HOURLY_MEMBER' => 'Membro dell\'ora', + + 'GOOGLE_MAP' => 'Google Map', + + 'JOIN_DATE' => 'Data Di Iscrizione', + + 'LAST_POST_BY_AUTHOR' => 'Ultimo messaggio da', + 'LAST_VISITED' => 'Ultimo Visitato', + 'LINKS' => 'Collegamenti', + + 'MCP_SITEMAKER_CONTENT' => 'Contenuti', + 'MEMBERS_DATE' => 'Data', + 'MENU' => 'Menu', + 'MONTHLY_MEMBER' => 'Membro del mese', + 'MOST_TENURED' => 'Più Tenuto', + 'MY_BOOKMARKS' => 'I Miei Segnalibri', + + 'NO_BOOKMARKED_TOPICS' => 'Non hai segnalibro nessun argomento', + 'NO_NEW_TOPICS' => 'Non ci sono nuovi topic da visualizzare', + + 'POLL' => 'Sondaggio', + 'POPULAR_TOPICS' => 'Argomenti Popolari', + 'POSTS_MEMBER' => 'Poster Superiore', + 'PROCESSING' => 'elaborazione...', + + 'QTYPE_POSTS' => 'Congratulazioni a:', + 'QTYPE_RECENT' => 'Vi preghiamo di dare il benvenuto al nostro nuovo membro:', + + 'RECENT_BOTS' => 'Motori Di Ricerca Recenti', + 'RECENT_MEMBER' => 'Membro Recente', + 'RECENT_MEMBERS' => 'Membri Recenti', + + 'SESSION_HIDE_ME' => 'Mi Nascondi', + 'SM_NAVIGATION' => 'Navigation', + 'SM_TOGGLE_DROPDOWN' => 'Attiva/disattiva menu a discesa', + 'STYLE_SWITCHER' => 'Commutatore Di Stile', + + 'THIS_MONTH' => 'Questo Mese', + 'THIS_WEEK' => 'Questa Settimana', + 'THIS_YEAR' => 'Questo Anno', + 'TODAY' => 'Oggi', + 'TOPICS_LAST_READ' => 'Ultimi Argomenti Di Lettura', + 'TOPIC_LAST_READ' => 'Ultima lettura %s', + 'TOP_POSTERS' => 'Poster Migliori', + + 'UCP_SITEMAKER_CONTENT' => 'I Miei Robi', + + 'VIEW_DETAILS' => 'Visualizza Dettagli', + 'VIEW_USER_PROFILE' => 'Tutto su %s', + + 'WEEKLY_MEMBER' => 'Membro della settimana', + 'WELCOME' => 'Benvenuto', + 'WHATS_NEW' => 'Che Cosa È Nuovo?', + 'WORDGRAPH' => 'Wordgraph', +)); diff --git a/language/it/css_presets.php b/language/it/css_presets.php new file mode 100644 index 000000000000..d78f18373d1e --- /dev/null +++ b/language/it/css_presets.php @@ -0,0 +1,107 @@ + 'Marcatore elenco frecce', + 'LIST_CIRCLE' => 'Marcatore elenco cerchio', + 'LIST_DISC' => 'Indicatore elenco proiettile', + 'LIST_SQUARE' => 'Indicatore elenco quadrato', + 'LIST_NUMBERED' => 'Elenco numerato', + 'LIST_NUMBERED_ALPHABET' => 'Numerato con alfabeto', + 'LIST_NUMBERED_NESTED' => 'Numerato con sottosezioni', + 'LIST_NUMBERED_ROMAN' => 'Numerato con numeri romani', + 'LIST_NUMBERED_ZERO' => 'Numerato con zero iniziale', + 'LIST_INLINE' => 'Elenco inline', + 'LIST_INLINE_SEP' => 'Lista separata da virgole', + 'LIST_REVERSE' => 'Ordine inverso', + 'LIST_STRIPED' => 'Lista a righe', + 'LIST_STACKED' => 'Lista impilata', + 'LIST_TRIANGLE' => 'Triangolo', + 'LIST_HYPHEN' => 'Iphen', + 'LIST_PLUS' => 'Plus', + 'LIST_SPADE' => 'Spade', + 'LIST_CLUB' => 'Club', + 'LIST_DIAMOND' => 'Diamante', + 'LIST_HEART' => 'Cuore', + 'LIST_STAR' => 'Stella', + 'LIST_CHECK' => 'Controlla', + 'LIST_SNOWFLAKE' => 'Fiocco Di Neve', + 'LIST_MUSIC' => 'Musica', + 'LIST_AUTOWIDTH' => 'Auto width', + 'LIST_FIT_CONTENT' => 'Adatta al contenuto', + 'LIST_2COLS' => 'elenco di 2 colonne', + 'LIST_3COLS' => 'Elenco di 3 colonne', + 'LIST_4COLS' => 'Elenco 4 colonne', + 'LIST_5COLS' => 'Elenco di 5 colonne', + 'LIST_X_DIVIDER_DOTTED' => 'Divisore punteggiato orizzontale', + 'LIST_X_DIVIDER_LINE' => 'Divisore di linea orizzontale', + 'LIST_Y_DIVIDER_DOTTED' => 'Divisore tratteggiato verticale', + 'LIST_Y_DIVIDER_LINE' => 'Divisore verticale di linea', + + 'IMAGE_SMALL' => 'Immagine piccola', + 'IMAGE_MEDIUM' => 'Immagine media', + 'IMAGE_LARGE' => 'Immagine grande', + 'IMAGE_FULL_WIDTH' => 'Immagine a tutta larghezza', + 'IMAGE_ALIGN_LEFT' => 'Immagine fluttuante a sinistra', + 'IMAGE_ALIGN_RIGHT' => 'Immagine fluttuante a destra', + 'IMAGE_CIRCLE' => 'Immagine circolare', + 'IMAGE_ROUNDED' => 'Immagine arrotondata', + 'IMAGE_BORDER' => 'Immagine confinata', + 'IMAGE_BORDER_PADDING' => 'Image border padding', + 'IMAGE_RATIO_SQUARE' => 'Immagine Quadrata', + 'IMAGE_RATIO_4_BY_3' => 'da 4 a 3 immagine', + 'IMAGE_RATIO_16_BY_9' => '16 di 9 immagine', + + 'RESPONSIVE_SHOW' => 'Mostra solo su piccoli dispositivi', + 'RESPONSIVE_HIDE' => 'Nascondi su piccoli dispositivi', + + 'ALIGN_LEFT' => 'Testo allineato a sinistra', + 'ALIGN_CENTER' => 'Testo Centrato', + 'ALIGN_RIGHT' => 'Testo allineato a destra', + 'NO_PADDING' => 'No padding', + 'LABEL' => 'Etichetta', + 'BADGE' => 'Distintivo', + 'PRIMARY_COLOR' => 'Colore primario', + 'SECONDARY_COLOR' => 'Colore secondario', + 'GRAYSCALE_COLOR' => 'Grayscale', + 'INFO_COLOR' => 'Informazioni', + 'SUCCESS_COLOR' => 'Successo', + 'WARNING_COLOR' => 'Attenzione', + 'DANGER_COLOR' => 'Pericolo', +)); diff --git a/language/it/exceptions.php b/language/it/exceptions.php new file mode 100644 index 000000000000..bcd4f56f6e4a --- /dev/null +++ b/language/it/exceptions.php @@ -0,0 +1,49 @@ + 'Campo obbligatorio mancante', + 'EXCEPTION_INVALID_ACTION' => 'L\'azione non esiste', + 'EXCEPTION_INVALID_ARGUMENT' => 'Argomento non valido specificato per `%1$s`. Motivo: %2$s', + 'EXCEPTION_INVALID_DATA_TYPE' => 'Il valore fornito è di un tipo di dati imprevisto', + 'EXCEPTION_INVALID_ENTITY' => 'L’entità fornita è di una classe di entità imprevista', + 'EXCEPTION_INVALID_PROPERTY' => 'La proprietà richiesta non esiste', + 'EXCEPTION_OUT_OF_BOUNDS' => 'La richiesta `%1$s` non esiste', + 'EXCEPTION_SERVICE_NOT_FOUND' => 'Il servizio richiesto non è stato trovato', + 'EXCEPTION_UNEXPECTED_VALUE' => 'L\'azione richiesta `%1$s` non può essere eseguita. Motivo: %2$s', +)); diff --git a/language/it/ext.php b/language/it/ext.php new file mode 100644 index 000000000000..715743f464dd --- /dev/null +++ b/language/it/ext.php @@ -0,0 +1,42 @@ + 'La directory delle immagini phpBB non è scrivibile. Si prega di cambiare le autorizzazioni a scrivibili da tutti (777 o -rwxrwxrwx all\'interno del vostro client FTP)', + 'PHPBB_VERSION_UNMET' => 'Questa estensione richiede almeno phpBB %s', +)); diff --git a/language/it/feed_fields.php b/language/it/feed_fields.php new file mode 100644 index 000000000000..28459459ab8d --- /dev/null +++ b/language/it/feed_fields.php @@ -0,0 +1,108 @@ + 'autore', + 'AUTHORS' => 'autori (matrice)', + 'BITRATE' => 'bitrate', + 'CAPTIONS' => 'didascalie', + 'CATEGORIES' => 'categorie (array)', + 'CATEGORY' => 'categoria', + 'CHANNELS' => 'canali', + 'CONTENT' => 'contenuto', + 'CONTRIBUTOR' => 'contributore', + 'CONTRIBUTORS' => 'collaboratori (array)', + 'COPYRIGHT' => 'copyright', + 'CREDITS' => 'crediti', + 'DATE' => 'data', + 'DESCRIPTION' => 'descrizione', + 'DURATION' => 'durata', + 'ENCLOSURE' => 'involucro', + 'ENCLOSURES' => 'stabulari (matrice)', + 'EXPRESSION' => 'espressione', + 'FEED' => 'feed', + 'FRAMERATE' => 'framerate', + 'GMDATE' => 'Data GM', + 'HANDLER' => 'handler', + 'HASHES' => 'hashes', + 'HEIGHT' => 'altezza', + 'ID' => 'id', + 'IMAGE_HEIGHT' => 'altezza immagine', + 'IMAGE_LINK' => 'link immagine', + 'IMAGE_TITLE' => 'titolo immagine', + 'IMAGE_URL' => 'url immagine', + 'IMAGE_WIDTH' => 'larghezza immagine', + 'ITEMS' => 'elementi', + 'JAVASCRIPT' => 'JavaScript', + 'KEYWORDS' => 'parole chiave', + 'LABEL' => 'etichetta', + 'LANG' => 'lang', + 'LATITUDE' => 'latitudine', + 'LENGTH' => 'lunghezza', + 'LINK' => 'link', + 'LINKS' => 'link', + 'LONGITUDE' => 'longitudine', + 'MEDIUM' => 'medio', + 'NAME' => 'nome', + 'PERMALINK' => 'permalink', + 'PLAYER' => 'giocatore', + 'RATINGS' => 'valutazioni', + 'RELATIONSHIP' => 'relazione', + 'RESTRICTIONS' => 'restrizioni (array)', + 'SAMPLINGRATE' => 'frequenza di campionamento', + 'SCHEME' => 'schema', + 'SOURCE' => 'sorgente', + 'TERM' => 'termine', + 'THUMBNAILS' => 'thumbnails', + 'TITLE' => 'titolo', + 'TYPE' => 'tipo', + 'UPDATED_DATE' => 'data aggiornata', + 'UPDATED_GMDATE' => 'data GM aggiornata', + 'VALUE' => 'valore', + 'WIDTH' => 'width', +)); diff --git a/language/it/icons.php b/language/it/icons.php new file mode 100644 index 000000000000..11aaa3b58145 --- /dev/null +++ b/language/it/icons.php @@ -0,0 +1,71 @@ + 'Accessibilità', + 'ICON_ARROWS' => 'Frecce', + 'ICON_BRAND' => 'Marca', + 'ICON_CHART' => 'Grafico', + 'ICON_CURRENCY' => 'Valuta', + 'ICON_DIRECTIONAL' => 'Direzionale', + 'ICON_FILE_TYPE' => 'Tipo Di File', + 'ICON_FORM_CONTROL' => 'Controllo Form', + 'ICON_GENDER' => 'Sesso', + 'ICON_HAND' => 'Mano', + 'ICON_MEDICAL' => 'Medico', + 'ICON_PAYMENT' => 'Pagamento', + 'ICON_SPINNER' => 'Spinner', + 'ICON_TEXT_EDITOR' => 'Editor Di Testo', + 'ICON_TRANSPORTATION' => 'Trasporti', + 'ICON_VIDEO_PLAYER' => 'Lettore Video', + 'ICON_WEB_APPLICATION' => 'Applicazione Web', + + 'ICON_COLOR' => 'Colore', + 'ICON_DEFAULT' => 'Predefinito', + 'ICON_FLIP_BOTH' => 'Capovolgi Entrambi', + 'ICON_FLIP_HORIZONTAL' => 'Capovolgi Orizzontalmente', + 'ICON_FLIP_VERTICAL' => 'Capovolgi Verticalmente', + 'ICON_FLOAT' => 'Fluttuante', + 'ICON_FLOAT_LEFT' => 'Sinistra', + 'ICON_FLOAT_RIGHT' => 'Destra', + 'ICON_FONT' => 'Font Icons', + 'ICON_INSERT_UPDATE' => 'Insert/Update', + 'ICON_MISC' => 'Varie', + 'ICON_MISC_BORDERED' => 'Confinato', + 'ICON_MISC_FIXED_WIDTH' => 'Larghezza Fissa', + 'ICON_MISC_PULSE' => 'Pulse', + 'ICON_MISC_SPINNING' => 'Filatura', + 'ICON_ROTATION' => 'Rotazione', + 'ICON_ROTATE_90' => '90°', + 'ICON_ROTATE_180' => '180°', + 'ICON_ROTATE_270' => '270°', + 'ICON_SIZE' => 'Dimensione', + 'ICON_SIZE_LG' => 'Più Grande', + 'ICON_SIZE_SM' => 'Piccolo', + 'ICON_SIZE_2X' => '2x', + 'ICON_SIZE_3X' => '3x', + 'ICON_SIZE_4X' => '4x', + 'ICON_SIZE_5X' => '5x', + + 'NO_ICON' => 'Nessuna Icona', +)); diff --git a/language/it/info_acp_menus.php b/language/it/info_acp_menus.php new file mode 100644 index 000000000000..037a8cf7f310 --- /dev/null +++ b/language/it/info_acp_menus.php @@ -0,0 +1,92 @@ + 'Menu', + 'ACP_MENU_MANAGE' => 'Gestione Menu', + 'ACP_MENU_MANAGE_EXPLAIN' => 'Qui puoi creare e gestire menu per il tuo sito', + 'ADD_BULK_MENU' => 'Aggiungi Elementi Del Menu In Massa', + 'ADD_BULK_MENU_EXPLAIN' => 'Aggiungi più voci di menu contemporaneamente.
- Posiziona ogni elemento su una riga separata
- Usa il tasto Tab per trattenere gli elementi per rappresentare le relazioni genitore-figlio
- Inserisci l\'elemento e l\'URL in questo modo: Home index.php', + 'ADD_MENU' => 'Aggiungi Menu', + 'ADD_MENU_ITEM' => 'Aggiungi Elemento Menù', + 'ADD_ITEM' => 'Aggiungi Nuovo Elemento', + 'AJAX_PROCESSING' => 'Lavorare', + + 'CHANGE_ME' => 'Cambiami', + + 'DELETE_ITEM' => 'Elimina Elemento', + 'DELETE_KIDS' => 'Elimina Ramo', + 'DELETE_MENU' => 'Elimina Menu', + 'DELETE_MENU_CONFIRM' => 'Sei sicuro di voler eliminare questo menu?
Questo cancellerà il menu e tutti i suoi elementi', + 'DELETE_MENU_ITEM' => 'Elimina Elemento', + 'DELETE_MENU_ITEM_CONFIRM' => 'Sei sicuro di voler eliminare questa voce di menu?', + 'DELETE_SELECTED' => 'Elimina Selezionati', + + 'EDIT_ITEM' => 'Modifica Elemento', + + 'ITEM_ACTIVE' => 'Attivo', + 'ITEM_INACTIVE' => 'Inattivo', + 'ITEM_PARENT' => 'Genitore', + 'ITEM_TITLE' => 'Titolo Articolo', + 'ITEM_TITLE_EXPLAIN' => 'Imposta come \'-\' per il divisore', + 'ITEM_TARGET' => 'Item Target', + 'ITEM_URL' => 'Url Elemento', + 'ITEM_URL_EXPLAIN' => '- Lasciare vuoto per le intestazioni
- I siti esterni devono iniziare con http(s)://, ftp://, //, etc', + + 'MENU_ITEMS' => 'Elementi Del Menu', + + 'NO_MENU_ITEMS' => 'Nessuna voce di menu è stata creata', + 'NO_PARENT' => 'Nessun Genitore', + + 'PROCESSING_ERROR' => 'Errore di elaborazione', + + 'REBUILD_TREE' => 'Ricostruisci Albero', + 'REQUIRED' => 'Richiesto', + 'REQUIRED_FIELDS' => '* Campi obbligatori', + + 'SAVE_CHANGES' => 'Salva Modifiche', + 'SAVE' => 'Salva', + 'SELECT_ALL' => 'Seleziona Tutto', + + 'TARGET_BLANK' => 'Pagina Vuota', + 'TARGET_PARENT' => 'Genitore', + + 'UNSAVED_CHANGES' => 'Hai modifiche non salvate', + + 'VISIT_PAGE' => 'Visita Pagina', +)); diff --git a/language/it/info_acp_settings.php b/language/it/info_acp_settings.php new file mode 100644 index 000000000000..0416c7f595d8 --- /dev/null +++ b/language/it/info_acp_settings.php @@ -0,0 +1,74 @@ + 'SiteMaker', + 'ACP_SM_SETTINGS' => 'Impostazioni', + + 'BLOCKS_CLEANUP' => 'Pulizia Blocchi', + 'BLOCKS_CLEANUP_EXPLAIN' => 'I seguenti elementi sono stati trovati per non esistere più o irraggiungibile, e quindi è possibile eliminare tutti i blocchi ad essi associati. Si prega di tenere a mente che alcuni di questi possono essere falsi positivi', + 'BLOCKS_CLEANUP_BLOCKS' => 'Blocchi non validi (ad esempio da estensioni disinstallate):', + 'BLOCKS_CLEANUP_ROUTES' => 'Pagine Non raggiungibili/Interrotte:', + 'BLOCKS_CLEANUP_STYLES' => 'Stili Disinstallati (id):', + 'BLOCKS_CLEANUP_SUCCESS' => 'Blocchi purificati con successo', + + 'FORUM_INDEX_SETTINGS' => 'Impostazioni Indice Forum', + 'FORUM_INDEX_SETTINGS_EXPLAIN' => 'Queste impostazioni si applicano solo quando non c\'è nessuna pagina iniziale definita', + + 'HIDE' => 'Nascondi', + 'HIDE_BIRTHDAY' => 'Nascondi sezione Compleanno', + 'HIDE_LOGIN' => 'Nascondi casella di accesso', + 'HIDE_ONLINE' => 'Nascondi la sezione Whos online', + + 'LAYOUT_BLOG' => 'Blog', + 'LAYOUT_CUSTOM' => 'Personalizzato', + 'LAYOUT_HOLYGRAIL' => 'Santo Graal', + 'LAYOUT_PORTAL' => 'Portale', + 'LAYOUT_PORTAL_ALT' => 'Portale (In Alte)', + 'LAYOUT_SETTINGS' => 'Impostazioni Layout', + + 'LOG_DELETED_BLOCKS_FOR_STYLE' => 'Blocchi Sitemaker eliminati per lo stile mancante con id %s', + 'LOG_DELETED_BLOCKS_FOR_ROUTE' => 'Blocchi Sitemaker eliminati per pagine rotte:
%s', + 'LOG_DELETED_BLOCKS' => 'Blocchi Sitemaker eliminati non validi:
%s', + + 'NAVIGATION_SETTINGS' => 'Impostazioni Di Navigazione', + + 'SETTINGS_SAVED' => 'Le tue impostazioni sono state salvate', + 'SHOW' => 'Mostra', + 'SHOW_FORUM_NAV' => 'Mostra \'Forum\' nella barra di navigazione?', + 'SHOW_FORUM_NAV_EXPLAIN' => 'Quando una pagina è impostata come pagina iniziale invece dell\'indice del forum, dovremmo visualizzare \'Forum\' nella barra di navigazione', + 'SHOW_FORUM_NAV_WITH_ICON' => 'Sì - con icona:', +]); diff --git a/language/it/navbar_manager.php b/language/it/navbar_manager.php new file mode 100644 index 000000000000..849b200b1b4a --- /dev/null +++ b/language/it/navbar_manager.php @@ -0,0 +1,79 @@ + 'Elemento Attivo', + 'BORDER' => 'Border', + 'BORDER_COLOR' => 'Colore Del Bordo', + 'BORDER_RADIUS' => 'Raggio Bordo', + 'BORDER_WIDTH' => 'Border Width', + 'BOTTOM' => 'Basso', + 'BOTTOM_LEFT' => 'Basso A Sinistra', + 'BOTTOM_RIGHT' => 'Basso A Destra', + 'CAPITALIZE' => 'Capitalizza', + 'COLOR' => 'Colore', + 'DIVIDERS' => 'Divisori', + 'END' => 'Fine', + 'GRADIENT' => 'Gradiente', + 'HEADERS' => 'Intestazioni', + 'HOVER' => 'Hover', + 'LEFT' => 'Sinistra', + 'LOWERCASE' => 'Minuscolo', + 'MARGIN' => 'Margine', + 'NAVBAR' => 'Navbar', + 'NAVBAR_MENU' => 'Navbar menu', + 'NAVBAR_DROPDOWN' => 'Discesa', + 'NAVBAR_LOCATION' => 'Posizione', + 'NAVBAR_LOCATION_OPTION' => 'Posizione #%s', + 'NAVBAR_TOP_MENU' => 'Menu Superiore', + 'NONE' => 'Nessuno', + 'PADDING' => 'Padding', + 'RESPONSIVE_TOGGLE' => 'Attiva/Disattiva Risposta', + 'RESPONSIVE_TOGGLE_EXPLAIN' => 'Visibile solo su schermi piccoli (mobili)', + 'RIGHT' => 'Destra', + 'SAVE' => 'Salva', + 'SIZE' => 'Dimensione', + 'START' => 'Inizia', + 'TEXT' => 'Testo', + 'TOP' => 'Alto', + 'TOP_LEFT' => 'In Alto A Sinistra', + 'TOP_RIGHT' => 'Alto A Destra', + 'TRANSFORM' => 'Trasforma', + 'UPPERCASE' => 'Maiuscolo', +)); diff --git a/language/it/permissions_sitemaker.php b/language/it/permissions_sitemaker.php new file mode 100644 index 000000000000..28e4d6d4ca14 --- /dev/null +++ b/language/it/permissions_sitemaker.php @@ -0,0 +1,45 @@ + '[ SiteMaker ] Può gestire le impostazioni', + 'ACL_A_SM_MANAGE_BLOCKS' => '[ SiteMaker ] Può gestire i blocchi', + 'ACL_A_SM_MANAGE_MENUS' => '[ SiteMaker ] Può gestire i menu', +)); diff --git a/language/ja/block_manager.php b/language/ja/block_manager.php new file mode 100644 index 000000000000..8b632b87a7e9 --- /dev/null +++ b/language/ja/block_manager.php @@ -0,0 +1,123 @@ + '*ブロックをドラッグ&ドロップ', + 'AJAX_ERROR' => 'リクエストの処理中にエラーが発生しました。もう一度やり直してください。', + 'AJAX_LOADING' => '読み込み中...', + 'AJAX_PROCESSING' => '処理中...', + + 'BACKGROUND' => '背景', + 'BLOCKS' => 'ブロック', + 'BLOCKS_COPY_FROM' => 'ブロックをコピー', + 'BLOCK_ACTIVE' => 'アクティブ', + 'BLOCK_CHILD_ROUTES_ONLY' => '子ルートのみに表示', + 'BLOCK_CHILD_ROUTES_HIDE' => '子ルート上で非表示', + 'BLOCK_CLASS' => 'CSS クラス', + 'BLOCK_CLASS_EXPLAIN' => 'CSS クラスを使用したブロック外観の変更', + 'BLOCK_DESIGN' => '外観', + 'BLOCK_DISPLAY_TYPE' => '表示', + 'BLOCK_HIDE_TITLE' => 'ブロック名を非表示にしますか?', + 'BLOCK_INACTIVE' => '非アクティブ', + 'BLOCK_MISSING_TEMPLATE' => '必要なブロックテンプレートがありません。開発者にお問い合わせください。', + 'BLOCK_NOT_FOUND' => 'おっと!要求されたブロックサービスが見つかりませんでした。', + 'BLOCK_NO_DATA' => '表示するデータがありません', + 'BLOCK_NO_ID' => 'ブロックIDがありません', + 'BLOCK_PERMISSION' => 'アクセス許可', + 'BLOCK_PERMISSION_ALLOW' => '表示先', + 'BLOCK_PERMISSION_DENY' => '非表示:', + 'BLOCK_PERMISSION_EXPLAIN' => 'Ctrl + クリックで選択を切り替え', + 'BLOCK_SHOW_ALWAYS' => '常に表示', + 'BLOCK_STATUS' => 'ステータス', + 'BLOCK_UPDATED' => 'ブロック設定を更新しました', + + 'CANCEL' => 'キャンセル', + 'CHILD_ROUTE' => '子要素', + 'CHILD_ROUTE_EXPLAIN' => '/viewforum.php, /dir/index.php
/viewtopic.php?f=2&t=1
/article', + 'CLEAR' => 'クリア', + 'COPY' => 'コピー', + 'COPY_BLOCKS' => 'ブロックをコピー?', + 'COPY_BLOCKS_CONFIRM' => '他のページからブロックをコピーしてもよろしいですか?

このページの既存のすべてのブロックとその設定を削除し、選択したページのブロックに置き換えます。', + + 'DEFAULT_LAYOUT_EXPLAIN' => '設定されている場合、ブロックを指定していないすべてのサイトページは、デフォルトレイアウトからブロックを継承します。 ただし、右側のオプションを使用して特定のページのデフォルトのレイアウトを上書きすることができます。', + 'DELETE' => '削除', + 'DELETE_ALL_BLOCKS' => 'すべてのブロックを削除', + 'DELETE_ALL_BLOCKS_CONFIRM' => 'このページのすべてのブロックを削除してもよろしいですか?', + 'DELETE_BLOCK' => 'ブロックを削除', + 'DELETE_BLOCK_CONFIRM' => 'このブロックを削除してもよろしいですか?


注意: この変更を恒久的にするには、レイアウトの変更を保存する必要があります。', + + 'EDIT' => '編集', + 'EDIT_BLOCK' => 'ブロックを編集', + 'EXIT_EDIT_MODE' => '編集モードを終了', + + 'FEED_PROBLEMS' => '提供されたrss/atomフィードの処理中に問題が発生しました', + 'FEED_URL_MISSING' => '開始するには少なくとも1つのrss/atomフィードを提供してください', + 'FIELD_INVALID' => 'フィールド "%s" に指定された値は、無効な形式を持っています', + 'FIELD_REQUIRED' => '“%s”は必須項目です', + 'FIELD_TOO_LONG' => 'フィールド "%1$s" に指定された値が長すぎます。許容可能な最大値は %2$d です。', + 'FIELD_TOO_SHORT' => 'フィールド "%1$s" に指定された値が短すぎます。許容可能な最小値は %2$d です。', + + 'HIDE_ALL_BLOCKS' => 'このページにブロックを表示しない', + 'HIDE_BLOCK_POSITIONS' => '次のブロック位置のブロックを表示しない:', + + 'IMAGES' => '画像', + + 'LAYOUT' => 'レイアウト', + 'LAYOUT_SAVED' => 'レイアウトは正常に保存されました!', + 'LAYOUT_SETTINGS' => 'レイアウト設定', + 'LEAVE_CONFIRM' => 'このページに保存されていない変更があります。移動する前に作業を保存してください', + 'LISTS' => 'リスト', + + 'MAKE_DEFAULT_LAYOUT' => '既定のレイアウトに設定', + + 'OR' => 'または', + + 'PARENT_ROUTE' => '親', + 'PARENT_ROUTE_EXPLAIN' => '/index.php
/viewforum.php?f=2
/articles', + 'PREDEFINED_CLASSES' => '定義済みクラス', + + 'REDO' => 'Redo', + 'REMOVE_DEFAULT_LAYOUT' => '既定のレイアウトとして削除', + 'REMOVE_STARTPAGE' => 'スタートページを削除', + 'ROUTE_HIDDEN_BLOCKS' => 'このページでブロックは非表示にされています', + 'ROUTE_HIDDEN_POSITIONS' => '次の位置でブロックが非表示になっています', + 'ROUTE_UPDATED' => 'ページ設定を更新しました', + + 'SAVE_CHANGES' => '変更を保存', + 'SAVE_SETTINGS' => '設定を保存', + 'SELECT_ICON' => 'アイコンを選択', + 'SETTINGS' => '設定', + 'SETTING_TOO_BIG' => '設定 "%1$s" に指定された値が高すぎます。許容可能な最大値は %2$d です。', + 'SETTING_TOO_LONG' => '設定 "%1$s" に指定された値が長すぎます。許容可能な最大長は %2$d です。', + 'SETTING_TOO_LOW' => '設定 "%1$s" に指定された値が低すぎます。最小許容値は %2$d です。', + 'SETTING_TOO_SHORT' => '設定 "%1$s" に指定された値が短すぎます。最小許容長は %2$d です。', + 'SET_STARTPAGE' => 'スタートページとして設定', + + 'TITLES' => 'タイトル', + + 'UPDATE_SIMILAR' => '同様の設定でブロックを更新', + 'UNDO' => '元に戻す', + + 'VIEW_DEFAULT_LAYOUT' => 'デフォルトレイアウトの表示/編集', + 'VISIT_PAGE' => 'ページを開く', +)); diff --git a/language/ja/blocks_admin.php b/language/ja/blocks_admin.php new file mode 100644 index 000000000000..36ef51e82cd9 --- /dev/null +++ b/language/ja/blocks_admin.php @@ -0,0 +1,189 @@ + 'すべてのタイプ', + 'ALL_GROUPS' => 'すべてのグループ', + 'ARCHIVES' => 'アーカイブ', + 'AUTO_LOGIN' => '自動ログインを許可する', + 'FILE_MANAGER' => 'ファイルマネージャー', + 'TOPIC_POST_IDS' => 'トピック/投稿IDから', + 'TOPIC_POST_IDS_EXPLAIN' => 'Id(s) of topics/posts to retrieve attachments from, separated by commas(,). このリストがトピックまたは上記の投稿IDのためのものであるかを指定します。', + 'TOPIC_POST_IDS_TYPE' => 'IDの種類 (下記)', + + // Blocks + 'BLITZE_SITEMAKER_BLOCK_ATTACHMENTS' => '添付ファイル', + 'BLITZE_SITEMAKER_BLOCK_BIRTHDAY' => '誕生日', + 'BLITZE_SITEMAKER_BLOCK_CUSTOM' => 'カスタムブロック', + 'BLITZE_SITEMAKER_BLOCK_FEATURED_MEMBER' => 'おすすめメンバー', + 'BLITZE_SITEMAKER_BLOCK_FEEDS' => 'RSS/Atomフィード', + 'BLITZE_SITEMAKER_BLOCK_FORUM_POLL' => 'フォーラムの投票', + 'BLITZE_SITEMAKER_BLOCK_FORUM_TOPICS' => 'フォーラム・トピック', + 'BLITZE_SITEMAKER_BLOCK_GOOGLE_MAPS' => 'Google Maps', + 'BLITZE_SITEMAKER_BLOCK_POPULAR_TOPICS' => '人気のトピック', + 'BLITZE_SITEMAKER_BLOCK_LINKS' => 'リンク', + 'BLITZE_SITEMAKER_BLOCK_LOGIN' => 'ログインボックス', + 'BLITZE_SITEMAKER_BLOCK_MEMBERS' => 'メンバー', + 'BLITZE_SITEMAKER_BLOCK_MEMBER_MENU' => 'メンバーメニュー', + 'BLITZE_SITEMAKER_BLOCK_MENU' => 'メニュー', + 'BLITZE_SITEMAKER_BLOCK_MYBOOKMARKS' => '自分のブックマーク', + 'BLITZE_SITEMAKER_BLOCK_RECENT_TOPICS' => '最近のトピック', + 'BLITZE_SITEMAKER_BLOCK_STATS' => '統計情報', + 'BLITZE_SITEMAKER_BLOCK_STYLE_SWITCHER' => 'スタイル切り替え', + 'BLITZE_SITEMAKER_BLOCK_WHATS_NEW' => '新着情報', + 'BLITZE_SITEMAKER_BLOCK_WHOIS' => 'オンラインのユーザー', + 'BLITZE_SITEMAKER_BLOCK_WORDGRAPH' => 'ワードグラフ', + + // block views + 'BLOCK_VIEW' => 'ブロックビュー', + 'BLOCK_VIEW_BASIC' => '基本', + 'BLOCK_VIEW_BOXED' => '箱', + 'BLOCK_VIEW_DEFAULT' => 'デフォルト', + 'BLOCK_VIEW_SIMPLE' => '単純な', + + 'CACHE_DURATION' => 'キャッシュの長さ', + 'CONTEXT' => 'コンテキスト', + 'CSS_SCRIPTS' => 'CSS Scripts', + 'CUSTOM_PROFILE_FIELDS' => 'カスタムプロファイルフィールド', + + 'DATE_RANGE' => 'Date Range', + 'DISPLAY_PREVIEW' => 'プレビューを表示?', + + 'EDIT_ME' => '私を編集してください', + 'ENABLE_TOPIC_TRACKING' => 'トピック追跡を有効にしますか?', + 'ENABLE_TOPIC_TRACKING_EXPLAIN' => '有効にすると未読のトピックが表示されますが、ブロックの結果はキャッシュされません (非推奨)', + 'EXCLUDE_TOO_MANY_WORDS' => '除外する単語が多すぎます。可能な文字の最大数は 255 文字です。 %s を入力しました。', + 'EXCLUDE_WORDS' => '除外する単語', + 'EXCLUDE_WORDS_EXPLAIN' => '単語グラフから除外したい単語をカンマ(,)で区切って表示します。最大255文字までです。', + 'EXPANDED' => '展開済み', + 'EXTENSION_GROUP' => 'エクステンショングループ', + + 'FEATURED_MEMBER_IDS' => 'ユーザー ID', + 'FEATURED_MEMBER_IDS_EXPLAIN' => '機能に使用するユーザのカンマ区切りリスト (注目メンバー表示モードのみに適用されます)', + 'FEED_DATA_PREVIEW' => 'フィードデータ', + 'FEED_ITEM_TEMPLATE' => 'アイテムテンプレート', + 'FEED_ITEM_TEMPLATE_EXPLAIN' => 'TIPS:
+
    +
  • Access feed data in item variable e.g. item.title
  • +
  • Template must be in Twig syntax
  • +
  • Click Samples above for sample templates
  • +
  • Use get_item_tags($namespace, $tag) to get any tag from the feed that we do not provide e.g.
    {{ get_item_tags(\'\', \'image\') }}
  • +
  • Use Twig’s json_encode filter to see contents of array e.g. {{ get_item_tags(\'\', \'image\')|json_encode() }}
  • +
', + 'FEED_PREVIEW_SOURCE' => 'ソース', + 'FEED_URL_PLACEHOLDER' => 'http://example.com/rss', + 'FEED_URLS' => 'フィードURL', + 'FIRST_POST_ONLY' => '最初の投稿のみ', + 'FIRST_POST_TIME' => '最初の投稿時間', + 'FORUMS_GET_TYPE' => '種類を取得', + 'FORUMS_MAX_TOPICS' => '最大トピック/投稿', + 'FORUMS_TITLE_MAX_CHARS' => 'タイトルあたりの最大文字数', + 'FREQUENCY' => '利息支払回数', + 'FULL' => 'フル', + 'FULLSCREEN' => '全画面', + + 'GET_TYPE' => 'トピック/投稿を表示しますか?', + + 'HTML' => 'HTML', + 'HTML_EXPLAIN' => 'Use this textarea to enter raw HTML content.
Please note that any content posted here will override the custom block content and the visual block editor will not be available.', + 'HOURS_SHORT' => '時間', + + 'JS_SCRIPTS' => 'JSスクリプト', + + 'LAST_POST_TIME' => '最終投稿日時', + 'LAST_READ_TIME' => '最終読み込み時間', + 'LIMIT' => '制限', + 'LIMIT_FORUMS' => 'フォーラムID (オプション)', + 'LIMIT_FORUMS_EXPLAIN' => '各フォーラムIDをカンマで区切って入力します。設定されている場合は、指定されたフォーラムのトピックのみが表示されます。', + 'LIMIT_POST_TIME' => '投稿時間で制限', + 'LIMIT_POST_TIME_EXPLAIN' => '設定されている場合、指定された期間内に投稿されたトピックのみが取得されます', + + 'MAX_DEPTH' => '最大深さ', + 'MAX_ITEMS' => 'アイテムの最大数', + 'MAX_MEMBERS' => 'メンバー数上限', + 'MAX_POSTS' => '投稿の最大数', + 'MAX_TOPICS' => 'トピックの最大数', + 'MAX_WORDS' => '最大単語数', + 'MANAGE_MENUS' => 'メニューの管理', + 'MAP_COORDINATES' => '座標', + 'MAP_COORDINATES_EXPLAIN' => '緯度、経度のフォームに座標を入力します', + 'MAP_HEIGHT' => '高さ', + 'MAP_LOCATION' => '場所', + 'MAP_TITLE' => 'タイトル', + 'MAP_VIEW' => '表示', + 'MAP_VIEW_HYBRID' => 'ハイブリッド', + 'MAP_VIEW_MAP' => '地図', + 'MAP_VIEW_SATELITE' => 'Satelite', + 'MAP_VIEW_TERRAIN' => 'Terrain', + 'MAP_ZOOM_LEVEL' => 'ズームレベル', + 'MEMBERS_DATE' => '日付', + 'MENU_NO_ITEMS' => '表示するアクティブなアイテムがありません', + 'MINI' => 'ミニ', + + 'OR' => 'または', + 'ORDER_BY' => '並び順', + + 'POLL_FROM_FORUMS' => 'フォーラムからのアンケートを表示', + 'POLL_FROM_FORUMS_EXPLAIN' => '上記のトピックが指定されていない限り、選択したフォーラムのアンケートのみが表示されます', + 'POLL_FROM_GROUPS' => 'グループからのアンケートを表示', + 'POLL_FROM_GROUPS_EXPLAIN' => '選択したグループのメンバからのアンケートのみが上記のユーザーが指定されていない限り表示されます', + 'POLL_FROM_TOPICS' => 'トピックからのアンケートを表示', + 'POLL_FROM_TOPICS_EXPLAIN' => 'Id(s) of topics to retrieve polls from separated by(,). 空白のままにしてください。', + 'POLL_FROM_USERS' => 'ユーザからのアンケートを表示', + 'POLL_FROM_USERS_EXPLAIN' => 'Id(s) of user(s) who polls you want to display, separated by commas(,). 空白のままにすると、どのユーザーからでもアンケートを選択します。', + 'POSTS_TITLE_LIMIT' => '投稿タイトルの最大文字数', + 'PREVIEW_MAX_CHARS' => 'プレビューする文字数', + + 'QUERY_TYPE' => '表示モード', + + 'ROTATE_DAILY' => '毎日', + 'ROTATE_HOURLY' => '1時間ごと', + 'ROTATE_MONTHLY' => '月ごと', + 'ROTATE_PAGELOAD' => 'ページの読み込み', + 'ROTATE_WEEKLY' => 'Weekly', + + 'SAMPLES' => 'サンプル', + 'SCRIPTS' => 'スクリプト', + 'SELECT_FORUMS' => 'フォーラムを選択', + 'SELECT_FORUMS_EXPLAIN' => 'トピック/投稿を表示するフォーラムを選択します。すべてのフォーラムから選択する場合は空白のままにします。', + 'SELECT_MENU' => 'メニューを選択', + 'SELECT_PROFILE_FIELDS' => 'プロファイルフィールドを選択', + 'SELECT_PROFILE_FIELDS_EXPLAIN' => '利用可能な場合は、選択したプロファイル フィールドのみが表示されます。', + 'SHOW_FIRST_POST' => '最初の投稿', + 'SHOW_HIDE_ME' => 'オンラインステータスを非表示にしますか?', + 'SHOW_LAST_POST' => '最後の投稿', + 'SHOW_MEMBER_MENU' => 'ユーザーメニューを表示しますか?', + 'SHOW_MEMBER_MENU_EXPLAIN' => 'ユーザーがログインしている場合、ログインボックスをユーザーメニューに置き換えます。', + 'SHOW_WORD_COUNT' => '単語数を表示しますか?', + + 'TEMPLATE' => 'テンプレート', + 'TOPIC_TITLE_LIMIT' => 'トピックタイトルの最大文字数', + 'TOPIC_TYPE' => 'トピックの種類', + 'TOPIC_TYPE_EXPLAIN' => '表示したいトピックタイプを選択します。すべてのトピックタイプから選択するにはチェックを外してください。', + 'TOPICS_LOOK_BACK' => '振り返ってみよう', + 'TOPICS_ONLY' => 'トピックのみ?', + 'TOPICS_PER_PAGE' => 'ページごと', + + 'WORD_MAX_SIZE' => '最大フォントサイズ', + 'WORD_MIN_SIZE' => '最小フォントサイズ', +)); diff --git a/language/ja/common.php b/language/ja/common.php new file mode 100644 index 000000000000..79b56cc6932f --- /dev/null +++ b/language/ja/common.php @@ -0,0 +1,97 @@ + 'すべて', + + 'BLOCK_TITLE' => 'ブロックタイトル', + + 'CHANGE_ME' => '自分を変更する', + + 'DAILY_MEMBER' => '当日のメンバー', + + 'FEATURED_MEMBER' => 'おすすめメンバー', + 'FEATURED_MEMBERLIST' => '注目のメンバー一覧', + 'FEEDS' => 'フィード', + 'FORUM_ANNOUNCEMENTS' => 'フォーラムのお知らせ', + 'FORUM_GLOBAL_ANNOUNCEMENTS' => 'グローバルフォーラムのお知らせ', + 'FORUM_RECENT_POSTS' => '最近のフォーラム投稿', + 'FORUM_RECENT_TOPICS' => '最近のフォーラムトピック', + 'FORUM_STICKY_POSTS' => '最近のスティッキー投稿', + + 'HELP' => 'ヘルプ', + 'HOURLY_MEMBER' => '時間のメンバー', + + 'GOOGLE_MAP' => 'Google マップ', + + 'JOIN_DATE' => '参加日', + + 'LAST_POST_BY_AUTHOR' => '最終投稿者:', + 'LAST_VISITED' => '最終訪問日時', + 'LINKS' => 'リンク', + + 'MCP_SITEMAKER_CONTENT' => '内容', + 'MEMBERS_DATE' => '日付', + 'MENU' => 'メニュー', + 'MONTHLY_MEMBER' => '月のメンバー', + 'MOST_TENURED' => '最も', + 'MY_BOOKMARKS' => '自分のブックマーク', + + 'NO_BOOKMARKED_TOPICS' => 'トピックをブックマークしていません', + 'NO_NEW_TOPICS' => '新しいトピックはありません。', + + 'POLL' => 'Poll', + 'POPULAR_TOPICS' => '人気のトピック', + 'POSTS_MEMBER' => 'トップポスター', + 'PROCESSING' => '処理中...', + + 'QTYPE_POSTS' => 'おめでとうございます:', + 'QTYPE_RECENT' => '新しいメンバーを歓迎してください:', + + 'RECENT_BOTS' => '最近の検索エンジン', + 'RECENT_MEMBER' => '最近のメンバー', + 'RECENT_MEMBERS' => '最近のメンバー', + + 'SESSION_HIDE_ME' => '非表示にする', + 'SM_NAVIGATION' => 'Navigation', + 'SM_TOGGLE_DROPDOWN' => 'ドロップダウンの切り替え', + 'STYLE_SWITCHER' => 'スタイル切り替え', + + 'THIS_MONTH' => '今月', + 'THIS_WEEK' => '今週中', + 'THIS_YEAR' => '毎年', + 'TODAY' => '今日', + 'TOPICS_LAST_READ' => '最後に読んだトピック', + 'TOPIC_LAST_READ' => 'Last read %s', + 'TOP_POSTERS' => 'トップポスター', + + 'UCP_SITEMAKER_CONTENT' => '自分のもの', + + 'VIEW_DETAILS' => '詳細を表示', + 'VIEW_USER_PROFILE' => 'すべての %s について', + + 'WEEKLY_MEMBER' => '今週のメンバー', + 'WELCOME' => 'ようこそ', + 'WHATS_NEW' => '新着情報', + 'WORDGRAPH' => 'ワードグラフ', +)); diff --git a/language/ja/css_presets.php b/language/ja/css_presets.php new file mode 100644 index 000000000000..983ff6a9cd08 --- /dev/null +++ b/language/ja/css_presets.php @@ -0,0 +1,107 @@ + '矢印リストマーカー', + 'LIST_CIRCLE' => 'サークル一覧マーカー', + 'LIST_DISC' => '箇条書きリストのマーカー', + 'LIST_SQUARE' => '正方形リストマーカー', + 'LIST_NUMBERED' => '番号付きリスト', + 'LIST_NUMBERED_ALPHABET' => 'アルファベットで数値', + 'LIST_NUMBERED_NESTED' => 'サブセクションで番号付け', + 'LIST_NUMBERED_ROMAN' => 'ローマ数字で数値', + 'LIST_NUMBERED_ZERO' => '先頭ゼロで数値', + 'LIST_INLINE' => 'インラインリスト', + 'LIST_INLINE_SEP' => 'カンマ区切りリスト', + 'LIST_REVERSE' => '順序を逆にする', + 'LIST_STRIPED' => 'ストライプリスト', + 'LIST_STACKED' => '積み上げリスト', + 'LIST_TRIANGLE' => 'Triangle', + 'LIST_HYPHEN' => 'ハイフン(ハイフン)', + 'LIST_PLUS' => 'プラス', + 'LIST_SPADE' => 'Spade', + 'LIST_CLUB' => 'クラブ', + 'LIST_DIAMOND' => 'ダイヤモンド', + 'LIST_HEART' => 'ハート', + 'LIST_STAR' => 'スター', + 'LIST_CHECK' => 'チェック', + 'LIST_SNOWFLAKE' => 'スノーフレーク', + 'LIST_MUSIC' => '音楽', + 'LIST_AUTOWIDTH' => 'Auto width', + 'LIST_FIT_CONTENT' => 'コンテンツを合わせる', + 'LIST_2COLS' => '2列リスト', + 'LIST_3COLS' => '3列リスト', + 'LIST_4COLS' => '4列リスト', + 'LIST_5COLS' => '5列リスト', + 'LIST_X_DIVIDER_DOTTED' => '水平方向の点線区切り線', + 'LIST_X_DIVIDER_LINE' => '水平線区切り線', + 'LIST_Y_DIVIDER_DOTTED' => '縦方向の点線区切り線', + 'LIST_Y_DIVIDER_LINE' => '垂直線区切り線', + + 'IMAGE_SMALL' => '小さい画像', + 'IMAGE_MEDIUM' => '画像(中)', + 'IMAGE_LARGE' => '大きな画像', + 'IMAGE_FULL_WIDTH' => 'フル幅の画像', + 'IMAGE_ALIGN_LEFT' => '左のフロート画像', + 'IMAGE_ALIGN_RIGHT' => '右のフロート画像', + 'IMAGE_CIRCLE' => '円形の画像', + 'IMAGE_ROUNDED' => '丸い画像', + 'IMAGE_BORDER' => '境界線の画像', + 'IMAGE_BORDER_PADDING' => 'Image border padding', + 'IMAGE_RATIO_SQUARE' => '平方画像', + 'IMAGE_RATIO_4_BY_3' => '4×3の画像', + 'IMAGE_RATIO_16_BY_9' => '16 by 9 image', + + 'RESPONSIVE_SHOW' => '小さな端末でのみ表示', + 'RESPONSIVE_HIDE' => '小型端末では非表示', + + 'ALIGN_LEFT' => '左揃えのテキスト', + 'ALIGN_CENTER' => '中央揃えのテキスト', + 'ALIGN_RIGHT' => '右揃えのテキスト', + 'NO_PADDING' => 'No padding', + 'LABEL' => 'ラベル', + 'BADGE' => 'バッジ', + 'PRIMARY_COLOR' => 'プライマリ色', + 'SECONDARY_COLOR' => 'セカンダリカラー', + 'GRAYSCALE_COLOR' => 'Grayscale', + 'INFO_COLOR' => '情報', + 'SUCCESS_COLOR' => '成功', + 'WARNING_COLOR' => '警告', + 'DANGER_COLOR' => '危険', +)); diff --git a/language/ja/exceptions.php b/language/ja/exceptions.php new file mode 100644 index 000000000000..732f5f51f1ba --- /dev/null +++ b/language/ja/exceptions.php @@ -0,0 +1,49 @@ + '必須項目がありません', + 'EXCEPTION_INVALID_ACTION' => 'アクションが存在しません', + 'EXCEPTION_INVALID_ARGUMENT' => '`%1$s`に無効な引数が指定されました。理由: %2$s', + 'EXCEPTION_INVALID_DATA_TYPE' => '指定された値は予期しないデータ型です', + 'EXCEPTION_INVALID_ENTITY' => '提供されたエンティティは予期しないエンティティクラスです。', + 'EXCEPTION_INVALID_PROPERTY' => '要求されたプロパティは存在しません', + 'EXCEPTION_OUT_OF_BOUNDS' => '要求された`%1$s`は存在しません', + 'EXCEPTION_SERVICE_NOT_FOUND' => '要求されたサービスが見つかりませんでした', + 'EXCEPTION_UNEXPECTED_VALUE' => '要求されたアクション `%1$s` を実行できませんでした。理由: %2$s', +)); diff --git a/language/ja/ext.php b/language/ja/ext.php new file mode 100644 index 000000000000..46843aa56662 --- /dev/null +++ b/language/ja/ext.php @@ -0,0 +1,42 @@ + 'phpBB イメージディレクトリが書き込み可能ではありません。すべてで書き込み可能な権限を変更してください(FTPクライアント内で777または-rwxrwxrwx)。', + 'PHPBB_VERSION_UNMET' => 'このエクステンションには少なくともphpBB %s が必要です', +)); diff --git a/language/ja/feed_fields.php b/language/ja/feed_fields.php new file mode 100644 index 000000000000..260015716a80 --- /dev/null +++ b/language/ja/feed_fields.php @@ -0,0 +1,108 @@ + '作成者', + 'AUTHORS' => '投稿者(配列)', + 'BITRATE' => 'ビットレート', + 'CAPTIONS' => '図表番号', + 'CATEGORIES' => 'カテゴリ (配列)', + 'CATEGORY' => 'カテゴリ', + 'CHANNELS' => 'チャンネル', + 'CONTENT' => 'コンテンツ', + 'CONTRIBUTOR' => '貢献者', + 'CONTRIBUTORS' => '貢献者(配列)', + 'COPYRIGHT' => '著作権', + 'CREDITS' => 'credit', + 'DATE' => '日付', + 'DESCRIPTION' => '説明', + 'DURATION' => '期間', + 'ENCLOSURE' => 'エンクロージャー', + 'ENCLOSURES' => 'エンクロージャー(配列)', + 'EXPRESSION' => '表現', + 'FEED' => 'フィード', + 'FRAMERATE' => 'フレーム', + 'GMDATE' => 'GM 日付', + 'HANDLER' => 'handler', + 'HASHES' => 'ハッシュ', + 'HEIGHT' => '高さ', + 'ID' => 'id', + 'IMAGE_HEIGHT' => '画像の高さ', + 'IMAGE_LINK' => '画像リンク', + 'IMAGE_TITLE' => '画像のタイトル', + 'IMAGE_URL' => '画像URL', + 'IMAGE_WIDTH' => '画像の幅', + 'ITEMS' => '項目', + 'JAVASCRIPT' => 'javascript', + 'KEYWORDS' => 'キーワード', + 'LABEL' => 'ラベル', + 'LANG' => 'lang', + 'LATITUDE' => '緯度', + 'LENGTH' => '長さ', + 'LINK' => 'リンク', + 'LINKS' => 'リンク', + 'LONGITUDE' => '経度:', + 'MEDIUM' => 'medium', + 'NAME' => '名前', + 'PERMALINK' => 'パーマリンク', + 'PLAYER' => 'プレイヤー', + 'RATINGS' => '評価', + 'RELATIONSHIP' => '関係', + 'RESTRICTIONS' => '制限 (配列)', + 'SAMPLINGRATE' => 'サンプリング速度', + 'SCHEME' => 'スキーム', + 'SOURCE' => 'ソース', + 'TERM' => '用語', + 'THUMBNAILS' => 'thumbnails', + 'TITLE' => 'タイトル', + 'TYPE' => 'タイプ', + 'UPDATED_DATE' => '更新日時', + 'UPDATED_GMDATE' => '更新されたGM 日付', + 'VALUE' => '値', + 'WIDTH' => 'width', +)); diff --git a/language/ja/icons.php b/language/ja/icons.php new file mode 100644 index 000000000000..d64e01c66309 --- /dev/null +++ b/language/ja/icons.php @@ -0,0 +1,71 @@ + 'アクセシビリティ', + 'ICON_ARROWS' => '矢印', + 'ICON_BRAND' => 'ブランド', + 'ICON_CHART' => 'グラフ', + 'ICON_CURRENCY' => '通貨', + 'ICON_DIRECTIONAL' => '方向', + 'ICON_FILE_TYPE' => 'ファイルの種類', + 'ICON_FORM_CONTROL' => 'フォームコントロール', + 'ICON_GENDER' => '性別', + 'ICON_HAND' => '手', + 'ICON_MEDICAL' => '医療', + 'ICON_PAYMENT' => '支払い', + 'ICON_SPINNER' => 'スピナー', + 'ICON_TEXT_EDITOR' => 'テキストエディター', + 'ICON_TRANSPORTATION' => '交通', + 'ICON_VIDEO_PLAYER' => 'ビデオプレーヤー', + 'ICON_WEB_APPLICATION' => 'Webアプリケーション', + + 'ICON_COLOR' => '色', + 'ICON_DEFAULT' => 'デフォルト', + 'ICON_FLIP_BOTH' => '両方反転', + 'ICON_FLIP_HORIZONTAL' => '水平反転', + 'ICON_FLIP_VERTICAL' => '垂直に反転', + 'ICON_FLOAT' => 'Float', + 'ICON_FLOAT_LEFT' => '左', + 'ICON_FLOAT_RIGHT' => '右', + 'ICON_FONT' => 'Font Icons', + 'ICON_INSERT_UPDATE' => 'Insert/Update', + 'ICON_MISC' => 'その他', + 'ICON_MISC_BORDERED' => '外枠', + 'ICON_MISC_FIXED_WIDTH' => '固定幅', + 'ICON_MISC_PULSE' => 'Pulse', + 'ICON_MISC_SPINNING' => 'Spinning', + 'ICON_ROTATION' => '回転', + 'ICON_ROTATE_90' => '90°', + 'ICON_ROTATE_180' => '180°', + 'ICON_ROTATE_270' => '270°', + 'ICON_SIZE' => 'サイズ', + 'ICON_SIZE_LG' => 'もっと大きい', + 'ICON_SIZE_SM' => '小', + 'ICON_SIZE_2X' => '2x', + 'ICON_SIZE_3X' => '3x', + 'ICON_SIZE_4X' => '4x', + 'ICON_SIZE_5X' => '5倍', + + 'NO_ICON' => 'アイコンなし', +)); diff --git a/language/ja/info_acp_menus.php b/language/ja/info_acp_menus.php new file mode 100644 index 000000000000..30ed51b7ef95 --- /dev/null +++ b/language/ja/info_acp_menus.php @@ -0,0 +1,92 @@ + 'メニュー', + 'ACP_MENU_MANAGE' => 'メニュー管理', + 'ACP_MENU_MANAGE_EXPLAIN' => 'ここであなたのサイトのメニューを作成し、管理することができます', + 'ADD_BULK_MENU' => 'メニューアイテムの一括追加', + 'ADD_BULK_MENU_EXPLAIN' => '同時に複数のメニュー項目を追加します。
- それぞれの項目を別の行に配置します。
- 親子関係を表すために項目をインデントするには、 タブ キーを使用します。
- 項目とURLを次のように入力します: ホーム|index.php', + 'ADD_MENU' => 'メニューを追加', + 'ADD_MENU_ITEM' => 'メニューアイテムを追加', + 'ADD_ITEM' => '新しいアイテムを追加', + 'AJAX_PROCESSING' => '作業中', + + 'CHANGE_ME' => '自分を変更する', + + 'DELETE_ITEM' => 'アイテムを削除', + 'DELETE_KIDS' => 'ブランチを削除', + 'DELETE_MENU' => 'メニューを削除', + 'DELETE_MENU_CONFIRM' => 'このメニューを削除してもよろしいですか?
メニューとすべてのアイテムが削除されます', + 'DELETE_MENU_ITEM' => 'アイテムを削除', + 'DELETE_MENU_ITEM_CONFIRM' => 'このメニューアイテムを削除してもよろしいですか?', + 'DELETE_SELECTED' => '選択したものを削除', + + 'EDIT_ITEM' => 'アイテムを編集', + + 'ITEM_ACTIVE' => 'アクティブ', + 'ITEM_INACTIVE' => '非アクティブ', + 'ITEM_PARENT' => '親', + 'ITEM_TITLE' => 'アイテムタイトル', + 'ITEM_TITLE_EXPLAIN' => '分割線の「-」に設定', + 'ITEM_TARGET' => 'Item Target', + 'ITEM_URL' => 'アイテムURL', + 'ITEM_URL_EXPLAIN' => '- ヘッダー
の場合は空白のままにする - 外部サイトは http(s)://、ftp://、など で始まる必要があります', + + 'MENU_ITEMS' => 'メニュー項目', + + 'NO_MENU_ITEMS' => 'メニューアイテムが作成されていません', + 'NO_PARENT' => '親がありません', + + 'PROCESSING_ERROR' => '処理エラー', + + 'REBUILD_TREE' => 'ツリーを再構築', + 'REQUIRED' => '必須', + 'REQUIRED_FIELDS' => '* 必須項目', + + 'SAVE_CHANGES' => '変更を保存', + 'SAVE' => '保存', + 'SELECT_ALL' => 'すべて選択', + + 'TARGET_BLANK' => '空白のページ', + 'TARGET_PARENT' => '親', + + 'UNSAVED_CHANGES' => '保存されていない変更があります', + + 'VISIT_PAGE' => 'ページを開く', +)); diff --git a/language/ja/info_acp_settings.php b/language/ja/info_acp_settings.php new file mode 100644 index 000000000000..cff4f08b8ae5 --- /dev/null +++ b/language/ja/info_acp_settings.php @@ -0,0 +1,74 @@ + 'SiteMaker', + 'ACP_SM_SETTINGS' => '設定', + + 'BLOCKS_CLEANUP' => 'ブロックのクリーンアップ', + 'BLOCKS_CLEANUP_EXPLAIN' => '以下の項目が存在しないか到達不能であることが判明しました。したがって、それらに関連付けられているすべてのブロックを削除することができます。 これらのいくつかは誤検出の可能性があることに注意してください。', + 'BLOCKS_CLEANUP_BLOCKS' => '無効なブロック (例: アンインストールされた拡張機能から):', + 'BLOCKS_CLEANUP_ROUTES' => '到達不能/壊れたページ:', + 'BLOCKS_CLEANUP_STYLES' => 'アンインストールされたスタイル (ID):', + 'BLOCKS_CLEANUP_SUCCESS' => 'ブロックを正常に削除しました', + + 'FORUM_INDEX_SETTINGS' => 'フォーラムインデックス設定', + 'FORUM_INDEX_SETTINGS_EXPLAIN' => 'これらの設定はスタートページが定義されていない場合にのみ適用されます', + + 'HIDE' => '非表示', + 'HIDE_BIRTHDAY' => '誕生日セクションを非表示', + 'HIDE_LOGIN' => 'ログインボックスを隠す', + 'HIDE_ONLINE' => 'オンラインの相手を非表示にする', + + 'LAYOUT_BLOG' => 'ブログ', + 'LAYOUT_CUSTOM' => 'カスタム', + 'LAYOUT_HOLYGRAIL' => '聖杯(聖杯)', + 'LAYOUT_PORTAL' => 'ポータル', + 'LAYOUT_PORTAL_ALT' => 'ポータル (Alt)', + 'LAYOUT_SETTINGS' => 'レイアウト設定', + + 'LOG_DELETED_BLOCKS_FOR_STYLE' => 'ID %s の不足しているスタイルのためにサイメーカーブロックが削除されました', + 'LOG_DELETED_BLOCKS_FOR_ROUTE' => 'サイトメーカーブロックが壊れたページで削除されました:
%s', + 'LOG_DELETED_BLOCKS' => '不正なサイトマッカーブロックが削除されました:
%s', + + 'NAVIGATION_SETTINGS' => 'ナビゲーション設定', + + 'SETTINGS_SAVED' => '設定が保存されました', + 'SHOW' => '表示', + 'SHOW_FORUM_NAV' => 'ナビゲーションバーに「フォーラム」を表示しますか?', + 'SHOW_FORUM_NAV_EXPLAIN' => 'フォーラムインデックスの代わりにページがスタートページに設定されている場合、ナビゲーションバーに「フォーラム」を表示する必要があります', + 'SHOW_FORUM_NAV_WITH_ICON' => 'はい - アイコン付き:', +]); diff --git a/language/ja/navbar_manager.php b/language/ja/navbar_manager.php new file mode 100644 index 000000000000..08910415bb2b --- /dev/null +++ b/language/ja/navbar_manager.php @@ -0,0 +1,79 @@ + '有効な要素', + 'BORDER' => 'Border', + 'BORDER_COLOR' => '枠線の色', + 'BORDER_RADIUS' => '境界半径', + 'BORDER_WIDTH' => 'Border Width', + 'BOTTOM' => '下揃え', + 'BOTTOM_LEFT' => '左下', + 'BOTTOM_RIGHT' => '右下', + 'CAPITALIZE' => '大文字化', + 'COLOR' => '色', + 'DIVIDERS' => 'Dividers', + 'END' => '終了', + 'GRADIENT' => 'Gradient', + 'HEADERS' => 'ヘッダー', + 'HOVER' => 'Hover', + 'LEFT' => '左', + 'LOWERCASE' => '小文字', + 'MARGIN' => 'マージン(マージン)', + 'NAVBAR' => 'ナビゲーションバー', + 'NAVBAR_MENU' => 'Navbar menu', + 'NAVBAR_DROPDOWN' => 'ドロップダウン', + 'NAVBAR_LOCATION' => '場所', + 'NAVBAR_LOCATION_OPTION' => '場所 #%s', + 'NAVBAR_TOP_MENU' => 'トップメニュー', + 'NONE' => 'なし', + 'PADDING' => 'Padding', + 'RESPONSIVE_TOGGLE' => 'レスポンシブ切り替え', + 'RESPONSIVE_TOGGLE_EXPLAIN' => '小型(モバイル)画面でのみ閲覧可能', + 'RIGHT' => '右', + 'SAVE' => '保存', + 'SIZE' => 'サイズ', + 'START' => '開始', + 'TEXT' => 'テキスト', + 'TOP' => '上', + 'TOP_LEFT' => '上部左', + 'TOP_RIGHT' => '右', + 'TRANSFORM' => '変換', + 'UPPERCASE' => '大文字・小文字', +)); diff --git a/language/ja/permissions_sitemaker.php b/language/ja/permissions_sitemaker.php new file mode 100644 index 000000000000..4bc8def1b9da --- /dev/null +++ b/language/ja/permissions_sitemaker.php @@ -0,0 +1,45 @@ + '[ SiteMaker ] 設定を管理可能', + 'ACL_A_SM_MANAGE_BLOCKS' => '[ SiteMaker ] ブロックを管理可能', + 'ACL_A_SM_MANAGE_MENUS' => '[ SiteMaker ] メニューを管理可能', +)); diff --git a/language/nb/block_manager.php b/language/nb/block_manager.php new file mode 100644 index 000000000000..1e2b1f167c81 --- /dev/null +++ b/language/nb/block_manager.php @@ -0,0 +1,123 @@ + '*Dra og slipp blokker', + 'AJAX_ERROR' => 'Oops! Det oppstod en feil ved behandling av forespørselen. Prøv på nytt.', + 'AJAX_LOADING' => 'Laster...', + 'AJAX_PROCESSING' => 'Arbeider...', + + 'BACKGROUND' => 'Bakgrunn', + 'BLOCKS' => 'Blokker', + 'BLOCKS_COPY_FROM' => 'Kopier blokker', + 'BLOCK_ACTIVE' => 'Aktiv', + 'BLOCK_CHILD_ROUTES_ONLY' => 'Vis kun på underrute', + 'BLOCK_CHILD_ROUTES_HIDE' => 'Skjul på underordnede ruter', + 'BLOCK_CLASS' => 'CSS klasse', + 'BLOCK_CLASS_EXPLAIN' => 'Endre blokkutseende med CSS-klasser', + 'BLOCK_DESIGN' => 'Utseende', + 'BLOCK_DISPLAY_TYPE' => 'Skjerm', + 'BLOCK_HIDE_TITLE' => 'Skjul blokktittel?', + 'BLOCK_INACTIVE' => 'Inaktiv', + 'BLOCK_MISSING_TEMPLATE' => 'Mangler nødvendig blokkmal. Kontakt utvikler', + 'BLOCK_NOT_FOUND' => 'Oops! Den forespurte blokk-tjenesten ble ikke funnet', + 'BLOCK_NO_DATA' => 'Ingen data å vise', + 'BLOCK_NO_ID' => 'Oops! Mangler blokk-ID', + 'BLOCK_PERMISSION' => 'Tillatelse', + 'BLOCK_PERMISSION_ALLOW' => 'Vis til', + 'BLOCK_PERMISSION_DENY' => 'Skjul i', + 'BLOCK_PERMISSION_EXPLAIN' => 'Bruk CTRL + klikk for å veksle', + 'BLOCK_SHOW_ALWAYS' => 'Alltid', + 'BLOCK_STATUS' => 'Status:', + 'BLOCK_UPDATED' => 'Innstillingene for blokken ble oppdatert', + + 'CANCEL' => 'Avbryt', + 'CHILD_ROUTE' => 'Barn', + 'CHILD_ROUTE_EXPLAIN' => '/viewforum.php, /dir/index.php
/viewtopic.php?f=2&t=1
/articles/my-article', + 'CLEAR' => 'Tøm', + 'COPY' => 'Kopier', + 'COPY_BLOCKS' => 'Kopiere blokker?', + 'COPY_BLOCKS_CONFIRM' => 'Er du sikker på at du vil kopiere blokker fra en annen side?

Dette vil slette alle eksisterende blokker og deres innstillinger for denne siden og erstatte dem med blokkene fra den valgte siden.', + + 'DEFAULT_LAYOUT_EXPLAIN' => 'Hvis satt vil alle nettstedssider du ikke har angitte blokker arve blokkene fra standardoppsettet. Du kan imidlertid overstyre standard oppsett for bestemte sider ved å bruke alternativene til høyre.', + 'DELETE' => 'Slett', + 'DELETE_ALL_BLOCKS' => 'Slett alle blokker', + 'DELETE_ALL_BLOCKS_CONFIRM' => 'Er du sikker på at du vil slette alle blokker for denne siden?', + 'DELETE_BLOCK' => 'Slett blokk', + 'DELETE_BLOCK_CONFIRM' => 'Er du sikker på at du vil slette denne blokken?


Merk: Du må lagre oppsettet endringer for å gjøre denne permanent.', + + 'EDIT' => 'Rediger', + 'EDIT_BLOCK' => 'Redigere blokk', + 'EXIT_EDIT_MODE' => 'Avslutt redigeringsmodus', + + 'FEED_PROBLEMS' => 'Det oppsto et problem med behandlingen av vedlagte rener/om-feed(s)', + 'FEED_URL_MISSING' => 'Oppgi minst én rss/atom-feed for å begynne', + 'FIELD_INVALID' => 'Den angitte verdien for feltet «%s» har et ugyldig format', + 'FIELD_REQUIRED' => '«%s» er et obligatorisk felt', + 'FIELD_TOO_LONG' => 'Den oppgitte verdien for feltet "%1$s" er for lang. Maksimal akseptabel verdi er %2$d.', + 'FIELD_TOO_SHORT' => 'Den angitte verdien for feltet “%1$s” er for kort. Minimumverdien er %2$d.', + + 'HIDE_ALL_BLOCKS' => 'Ikke vis blokker på denne siden', + 'HIDE_BLOCK_POSITIONS' => 'Ikke vis blokker for følgende blokkplasseringer:', + + 'IMAGES' => 'Bilder', + + 'LAYOUT' => 'Oppsett', + 'LAYOUT_SAVED' => 'Oppsett lagret!', + 'LAYOUT_SETTINGS' => 'Oppsett Innstillinger', + 'LEAVE_CONFIRM' => 'Du har noen ulagrede endringer i denne siden. Vennligst lagre ditt arbeid før du går videre', + 'LISTS' => 'Lister', + + 'MAKE_DEFAULT_LAYOUT' => 'Sett som standard oppsett', + + 'OR' => 'ELLER', + + 'PARENT_ROUTE' => 'Forelder', + 'PARENT_ROUTE_EXPLAIN' => '/index.php
/viewforum.php?f=2
/artikler', + 'PREDEFINED_CLASSES' => 'Forhåndsdefinerte klasser', + + 'REDO' => 'Gjenta', + 'REMOVE_DEFAULT_LAYOUT' => 'Fjern som standardoppsett', + 'REMOVE_STARTPAGE' => 'Fjern startside', + 'ROUTE_HIDDEN_BLOCKS' => 'Blokker er skjult for denne siden', + 'ROUTE_HIDDEN_POSITIONS' => 'Blokker er skjult for følgende posisjoner', + 'ROUTE_UPDATED' => 'Sideinnstillinger ble oppdatert', + + 'SAVE_CHANGES' => 'Lagre endringer', + 'SAVE_SETTINGS' => 'Lagre innstillinger', + 'SELECT_ICON' => 'Velg et ikon', + 'SETTINGS' => 'Innstillinger', + 'SETTING_TOO_BIG' => 'Den oppgitte verdien for innstillingen «%1$s» er for høy. Maksimal akseptabel verdi er %2$d.', + 'SETTING_TOO_LONG' => 'Den oppgitte verdien for innstillingen “%1$s” er for lang. Maksimal akseptabel lengde er %2$d.', + 'SETTING_TOO_LOW' => 'Den angitte verdien for innstillingen “%1$s” er for lav. Laveste akseptable verdi er %2$d.', + 'SETTING_TOO_SHORT' => 'Den oppgitte verdien for innstillingen “%1$s” er for kort. Den minste akseptable lengden er %2$d.', + 'SET_STARTPAGE' => 'Angi som startside', + + 'TITLES' => 'Titler', + + 'UPDATE_SIMILAR' => 'Oppdater blokker med lignende innstillinger', + 'UNDO' => 'Angre', + + 'VIEW_DEFAULT_LAYOUT' => 'Vis/rediger standard oppsett', + 'VISIT_PAGE' => 'Besøk side', +)); diff --git a/language/nb/blocks_admin.php b/language/nb/blocks_admin.php new file mode 100644 index 000000000000..b1a6c6c75e5b --- /dev/null +++ b/language/nb/blocks_admin.php @@ -0,0 +1,191 @@ + 'Alle typer', + 'ALL_GROUPS' => 'Alle grupper', + 'ARCHIVES' => 'Arkiv', + 'AUTO_LOGIN' => 'Tillat automatisk innlogging?', + 'FILE_MANAGER' => 'Fil Behandler', + 'TOPIC_POST_IDS' => 'Fra emnet/Post Ids', + 'TOPIC_POST_IDS_EXPLAIN' => 'Id(s) of topics/posts for å hente vedlegg fra, atskilt med komma(,). Angi om denne listen er for emnet eller innlegget ovenfor.', + 'TOPIC_POST_IDS_TYPE' => 'Type IDer (under)', + + // Blocks + 'BLITZE_SITEMAKER_BLOCK_ATTACHMENTS' => 'Vedlegg', + 'BLITZE_SITEMAKER_BLOCK_BIRTHDAY' => 'Fødselsdag', + 'BLITZE_SITEMAKER_BLOCK_CUSTOM' => 'Egendefinert blokk', + 'BLITZE_SITEMAKER_BLOCK_FEATURED_MEMBER' => 'Fremhevet medlem', + 'BLITZE_SITEMAKER_BLOCK_FEEDS' => 'RSS/Atommating', + 'BLITZE_SITEMAKER_BLOCK_FORUM_POLL' => 'Forum Avstemning', + 'BLITZE_SITEMAKER_BLOCK_FORUM_TOPICS' => 'Forum Emner', + 'BLITZE_SITEMAKER_BLOCK_GOOGLE_MAPS' => 'Google kart', + 'BLITZE_SITEMAKER_BLOCK_POPULAR_TOPICS' => 'Populære emner', + 'BLITZE_SITEMAKER_BLOCK_LINKS' => 'Lenker', + 'BLITZE_SITEMAKER_BLOCK_LOGIN' => 'Innloggingsboks', + 'BLITZE_SITEMAKER_BLOCK_MEMBERS' => 'Medlemmer', + 'BLITZE_SITEMAKER_BLOCK_MEMBER_MENU' => 'Medlems meny', + 'BLITZE_SITEMAKER_BLOCK_MENU' => 'Meny', + 'BLITZE_SITEMAKER_BLOCK_MYBOOKMARKS' => 'Mine bokmerker', + 'BLITZE_SITEMAKER_BLOCK_RECENT_TOPICS' => 'Siste emner', + 'BLITZE_SITEMAKER_BLOCK_STATS' => 'Statistikk', + 'BLITZE_SITEMAKER_BLOCK_STYLE_SWITCHER' => 'Stilbryteren (Automatic Translation)', + 'BLITZE_SITEMAKER_BLOCK_WHATS_NEW' => 'Hva er nytt?', + 'BLITZE_SITEMAKER_BLOCK_WHOIS' => 'Hvem er pålogget', + 'BLITZE_SITEMAKER_BLOCK_WORDGRAPH' => 'Orddiagram', + + // block views + 'BLOCK_VIEW' => 'Blokker visning', + 'BLOCK_VIEW_BASIC' => 'Grunnleggende', + 'BLOCK_VIEW_BOXED' => 'Innrammet', + 'BLOCK_VIEW_DEFAULT' => 'Standard', + 'BLOCK_VIEW_SIMPLE' => 'Enkel', + + 'CACHE_DURATION' => 'Cache varighet', + 'CONTEXT' => 'Kontekst', + 'CSS_SCRIPTS' => 'CSS Scripts', + 'CUSTOM_PROFILE_FIELDS' => 'Egendefinerte profilfelt', + + 'DATE_RANGE' => 'Date Range', + 'DISPLAY_PREVIEW' => 'Vis forhåndsvisning?', + + 'EDIT_ME' => 'Rediger meg', + 'ENABLE_TOPIC_TRACKING' => 'Aktiver sporing av emne?', + 'ENABLE_TOPIC_TRACKING_EXPLAIN' => 'Hvis aktivert, vil uleste emner bli angitt, men blokkresultatene vil ikke bli bufredd (Anbefales ikke)', + 'EXCLUDE_TOO_MANY_WORDS' => 'Du har skrevet inn for mange ord for å ekskludere. Maksimalt antall tegn kan være 255, du har angitt %s.', + 'EXCLUDE_WORDS' => 'Ekskluder ord', + 'EXCLUDE_WORDS_EXPLAIN' => 'List ordene du vil ekskludere fra ordgrafen separert med komma (,). Maksimalt 255 tegn.', + 'EXPANDED' => 'Utvidet', + 'EXTENSION_GROUP' => 'Gruppe for utvidelse', + + 'FEATURED_MEMBER_IDS' => 'Bruker ID-er', + 'FEATURED_MEMBER_IDS_EXPLAIN' => 'Kommaseparert liste over brukere som skal vises (gjelder bare for utvalgte medlemsmodus)', + 'FEED_DATA_PREVIEW' => 'Feed data', + 'FEED_ITEM_TEMPLATE' => 'Produkt mal', + 'FEED_ITEM_TEMPLATE_EXPLAIN' => 'TIPS:
+ EU/1/13/
    + +
  • Aksessmatdata i artikkel variabel e. . produkt. øvrighet
  • + + ε
  • Mal må være i Twig-syntaks
  • + εephal
  • Klikk Prøver over for eksempelmalene
  • + ›
  • Bruk get_item_tags($namespace, $tag) for å få en tag fra feeden vi ikke angir. .
    {{ get_item_tags(\'\', \'image\') }}
  • + Glen
  • Bruk Twig’s json_encode filter for å se innholdet i matrise. {{ get_item_tags(\'\', \'image\')″json_encode() }}
  • + ah.
', + 'FEED_PREVIEW_SOURCE' => 'Kilde', + 'FEED_URL_PLACEHOLDER' => 'http://eksempel.com/rss', + 'FEED_URLS' => 'Feed URL-er', + 'FIRST_POST_ONLY' => 'Bare første innlegg', + 'FIRST_POST_TIME' => 'Første innleggs tid', + 'FORUMS_GET_TYPE' => 'Få type', + 'FORUMS_MAX_TOPICS' => 'Maksimalt antall emner/innlegg', + 'FORUMS_TITLE_MAX_CHARS' => 'Maksimalt antall tegn per tittel', + 'FREQUENCY' => 'Frekvens', + 'FULL' => 'Full', + 'FULLSCREEN' => 'Fullskjerm', + + 'GET_TYPE' => 'Vis emnet/innlegg?', + + 'HTML' => 'HTML', + 'HTML_EXPLAIN' => 'Bruk dette tekstområdet for å skrive rå HTML-innholdet.
Vær oppmerksom på at noe innhold postet her, vil overstyre det tilpassede blokkinnholdet og det visuelle redigeringsprogrammet for blokk vil ikke være tilgjengelig.', + 'HOURS_SHORT' => 'TIMER', + + 'JS_SCRIPTS' => 'JS skript', + + 'LAST_POST_TIME' => 'Siste innlegg', + 'LAST_READ_TIME' => 'Sist leste tid', + 'LIMIT' => 'Grense', + 'LIMIT_FORUMS' => 'Forum Ids (valgfritt)', + 'LIMIT_FORUMS_EXPLAIN' => 'Angi hver forum id som er adskilt med et komma (,). Hvis angitt, vil bare emner fra angitte forum vises.', + 'LIMIT_POST_TIME' => 'Begrens etter ettertid', + 'LIMIT_POST_TIME_EXPLAIN' => 'Dersom dette er angitt, vil bare emner postet i den angitte perioden bli hentet', + + 'MAX_DEPTH' => 'Maksimal dybde', + 'MAX_ITEMS' => 'Maksimalt antall elementer', + 'MAX_MEMBERS' => 'Maks. antall medlemmer', + 'MAX_POSTS' => 'Maksimalt antall innlegg', + 'MAX_TOPICS' => 'Maksimalt antall emner', + 'MAX_WORDS' => 'Maksimalt antall ord', + 'MANAGE_MENUS' => 'Administrer menyer', + 'MAP_COORDINATES' => 'Koordinater', + 'MAP_COORDINATES_EXPLAIN' => 'Angi koordinater i formens bredde,lengdegrad', + 'MAP_HEIGHT' => 'Høyde', + 'MAP_LOCATION' => 'Sted', + 'MAP_TITLE' => 'Tittel', + 'MAP_VIEW' => 'Vis', + 'MAP_VIEW_HYBRID' => 'Hybrid', + 'MAP_VIEW_MAP' => 'Kart', + 'MAP_VIEW_SATELITE' => 'Satelitt', + 'MAP_VIEW_TERRAIN' => 'Terrain', + 'MAP_ZOOM_LEVEL' => 'Zoom nivå', + 'MEMBERS_DATE' => 'Dato', + 'MENU_NO_ITEMS' => 'Ingen aktive elementer å vise', + 'MINI' => 'Mini', + + 'OR' => 'ELLER', + 'ORDER_BY' => 'Sorter etter', + + 'POLL_FROM_FORUMS' => 'Vis avstemninger fra forum(er)', + 'POLL_FROM_FORUMS_EXPLAIN' => 'Bare avstemninger fra valgte forum vil vises så lenge ingen emner er angitt ovenfor', + 'POLL_FROM_GROUPS' => 'Vis avstemninger fra grupper/grupper', + 'POLL_FROM_GROUPS_EXPLAIN' => 'Bare avstemninger fra medlemmer av de valgte gruppene vil bli vist så lenge ingen brukere er/er angitt ovenfor', + 'POLL_FROM_TOPICS' => 'Vis avstemninger fra emn(er)', + 'POLL_FROM_TOPICS_EXPLAIN' => 'Id(s) emner som kan hente ut avstemninger fra, adskilt med komma(,). La være blank for å velge hvilket som helst emne.', + 'POLL_FROM_USERS' => 'Vis avstemninger fra bruker(e)', + 'POLL_FROM_USERS_EXPLAIN' => 'Id(s) av brukere med meningsmålinger du ønsker å vise, separert med komma(,). La stå tomt for å velge meningsmålinger fra en bruker.', + 'POSTS_TITLE_LIMIT' => 'Maksimalt antall tegn for tittel på innlegg', + 'PREVIEW_MAX_CHARS' => 'Antall tegn å forhåndsvise', + + 'QUERY_TYPE' => 'Visnings modus', + + 'ROTATE_DAILY' => 'Daglig', + 'ROTATE_HOURLY' => 'Hver', + 'ROTATE_MONTHLY' => 'Månedlig', + 'ROTATE_PAGELOAD' => 'Lastet side', + 'ROTATE_WEEKLY' => 'Ukentlig', + + 'SAMPLES' => 'Utvalg', + 'SCRIPTS' => 'Skript', + 'SELECT_FORUMS' => 'Velg forum', + 'SELECT_FORUMS_EXPLAIN' => 'Velg forum for å vise emner/innlegg fra. La stå tomt for å velge mellom alle forumene', + 'SELECT_MENU' => 'Velg meny', + 'SELECT_PROFILE_FIELDS' => 'Velg profilfelter', + 'SELECT_PROFILE_FIELDS_EXPLAIN' => 'Bare valgte profilfelt vil bli vist dersom tilgjengelig.', + 'SHOW_FIRST_POST' => 'Første innlegg', + 'SHOW_HIDE_ME' => 'Tillat Skjul pålogget status?', + 'SHOW_LAST_POST' => 'Siste innlegg', + 'SHOW_MEMBER_MENU' => 'Vis brukermenyen?', + 'SHOW_MEMBER_MENU_EXPLAIN' => 'Erstatt innloggingsboks med brukermeny hvis brukeren er innlogget', + 'SHOW_WORD_COUNT' => 'Vis ordnavn?', + + 'TEMPLATE' => 'Mal', + 'TOPIC_TITLE_LIMIT' => 'Maksimalt antall tegn for emnetittel', + 'TOPIC_TYPE' => 'Emne Type', + 'TOPIC_TYPE_EXPLAIN' => 'Velg de emnetypene du ønsker å vise. La boksene avkrysses for å velge mellom alle emnetyper', + 'TOPICS_LOOK_BACK' => 'Se tilbake', + 'TOPICS_ONLY' => 'Kun emner?', + 'TOPICS_PER_PAGE' => 'Pr. side', + + 'WORD_MAX_SIZE' => 'Maksimal skriftstørrelse', + 'WORD_MIN_SIZE' => 'Minste skriftstørrelse', +)); diff --git a/language/nb/common.php b/language/nb/common.php new file mode 100644 index 000000000000..9da5feffc968 --- /dev/null +++ b/language/nb/common.php @@ -0,0 +1,97 @@ + 'Hele tiden', + + 'BLOCK_TITLE' => 'Blokk tittel', + + 'CHANGE_ME' => 'Endre meg', + + 'DAILY_MEMBER' => 'Medlem av dagen', + + 'FEATURED_MEMBER' => 'Fremhevet medlem', + 'FEATURED_MEMBERLIST' => 'Liste over utvalgte medlemmer', + 'FEEDS' => 'Strøm', + 'FORUM_ANNOUNCEMENTS' => 'Forum Kunngjøringer', + 'FORUM_GLOBAL_ANNOUNCEMENTS' => 'Globale forumkunngjøringer', + 'FORUM_RECENT_POSTS' => 'Siste foruminnlegg', + 'FORUM_RECENT_TOPICS' => 'Siste Forum Emner', + 'FORUM_STICKY_POSTS' => 'Nylige sticky innlegg', + + 'HELP' => 'Hjelp', + 'HOURLY_MEMBER' => 'Medlem i timen', + + 'GOOGLE_MAP' => 'Google kart', + + 'JOIN_DATE' => 'Ble med dato', + + 'LAST_POST_BY_AUTHOR' => 'Siste innlegg av', + 'LAST_VISITED' => 'Sist besøkt', + 'LINKS' => 'Lenker', + + 'MCP_SITEMAKER_CONTENT' => 'Innhold', + 'MEMBERS_DATE' => 'Dato', + 'MENU' => 'Meny', + 'MONTHLY_MEMBER' => 'Medlem i måneden', + 'MOST_TENURED' => 'Mest spent', + 'MY_BOOKMARKS' => 'Mine bokmerker', + + 'NO_BOOKMARKED_TOPICS' => 'Du har ikke valgt noen emner', + 'NO_NEW_TOPICS' => 'Det er ingen nye emner å vise', + + 'POLL' => 'Avstemning', + 'POPULAR_TOPICS' => 'Populære emner', + 'POSTS_MEMBER' => 'Topp Plakat', + 'PROCESSING' => 'behandler...', + + 'QTYPE_POSTS' => 'Gratulerer til:', + 'QTYPE_RECENT' => 'Vennligst velkommen vårt nyeste medlem:', + + 'RECENT_BOTS' => 'Nylige søkemotorer', + 'RECENT_MEMBER' => 'Nylig medlem', + 'RECENT_MEMBERS' => 'Nylige medlemmer', + + 'SESSION_HIDE_ME' => 'Skjul meg', + 'SM_NAVIGATION' => 'Navigation', + 'SM_TOGGLE_DROPDOWN' => 'Slå av/på nedtrekksmeny', + 'STYLE_SWITCHER' => 'Stilbryteren (Automatic Translation)', + + 'THIS_MONTH' => 'Denne måneden', + 'THIS_WEEK' => 'Denne uken', + 'THIS_YEAR' => 'Dette år', + 'TODAY' => 'Idag', + 'TOPICS_LAST_READ' => 'Siste leste emner', + 'TOPIC_LAST_READ' => 'Sist lest %s', + 'TOP_POSTERS' => 'Topp innlegg', + + 'UCP_SITEMAKER_CONTENT' => 'Mine ting', + + 'VIEW_DETAILS' => 'Vis detaljer', + 'VIEW_USER_PROFILE' => 'Alt om %s', + + 'WEEKLY_MEMBER' => 'Medlem i uken', + 'WELCOME' => 'Velkommen', + 'WHATS_NEW' => 'Hva er nytt?', + 'WORDGRAPH' => 'Orddiagram', +)); diff --git a/language/nb/css_presets.php b/language/nb/css_presets.php new file mode 100644 index 000000000000..04ca3bb81e12 --- /dev/null +++ b/language/nb/css_presets.php @@ -0,0 +1,107 @@ + 'Pil liste markør', + 'LIST_CIRCLE' => 'Sirkel liste markør', + 'LIST_DISC' => 'Punktliste markør', + 'LIST_SQUARE' => 'Kvadrat liste markør', + 'LIST_NUMBERED' => 'Nummerert liste', + 'LIST_NUMBERED_ALPHABET' => 'Nummerert med alfabetisk', + 'LIST_NUMBERED_NESTED' => 'Nummerert med underseksjoner', + 'LIST_NUMBERED_ROMAN' => 'Nummerert med Romeriske tall', + 'LIST_NUMBERED_ZERO' => 'Nummerert med ledende null', + 'LIST_INLINE' => 'Innebygd liste', + 'LIST_INLINE_SEP' => 'Kommaseparert liste', + 'LIST_REVERSE' => 'Motsatt rekkefølge', + 'LIST_STRIPED' => 'Stripet liste', + 'LIST_STACKED' => 'Stablet liste', + 'LIST_TRIANGLE' => 'Trekant', + 'LIST_HYPHEN' => 'Bindestrek', + 'LIST_PLUS' => 'Pluss', + 'LIST_SPADE' => 'Spade', + 'LIST_CLUB' => 'Klubb', + 'LIST_DIAMOND' => 'Diamant', + 'LIST_HEART' => 'Hjerte', + 'LIST_STAR' => 'Stjerne', + 'LIST_CHECK' => 'Sjekk', + 'LIST_SNOWFLAKE' => 'Snøfnugg', + 'LIST_MUSIC' => 'Musikk', + 'LIST_AUTOWIDTH' => 'Auto width', + 'LIST_FIT_CONTENT' => 'Tilpass innhold', + 'LIST_2COLS' => '2 kolonneliste', + 'LIST_3COLS' => 'Liste over tre kolonner', + 'LIST_4COLS' => '4 kolonner liste', + 'LIST_5COLS' => '5 kolonner liste', + 'LIST_X_DIVIDER_DOTTED' => 'Horisontal stiftet divider', + 'LIST_X_DIVIDER_LINE' => 'Horisontal linje divider', + 'LIST_Y_DIVIDER_DOTTED' => 'Vertikal stiplet divider', + 'LIST_Y_DIVIDER_LINE' => 'Loddrett linjedimmer', + + 'IMAGE_SMALL' => 'Lite bilde', + 'IMAGE_MEDIUM' => 'Middels bilde', + 'IMAGE_LARGE' => 'Stort bilde', + 'IMAGE_FULL_WIDTH' => 'Fullt bredde bilde', + 'IMAGE_ALIGN_LEFT' => 'Flytende bilde til venstre', + 'IMAGE_ALIGN_RIGHT' => 'Justert bilde høyre', + 'IMAGE_CIRCLE' => 'Sirkulært bilde', + 'IMAGE_ROUNDED' => 'Avrundet bilde', + 'IMAGE_BORDER' => 'Kantet bilde', + 'IMAGE_BORDER_PADDING' => 'Image border padding', + 'IMAGE_RATIO_SQUARE' => 'Kvadratisk bilde', + 'IMAGE_RATIO_4_BY_3' => '4 med 3 bilder', + 'IMAGE_RATIO_16_BY_9' => '16 på 9 bilde', + + 'RESPONSIVE_SHOW' => 'Vis bare på små enheter', + 'RESPONSIVE_HIDE' => 'Skjul på små enheter', + + 'ALIGN_LEFT' => 'Venstrejustert tekst', + 'ALIGN_CENTER' => 'Sentrert tekst', + 'ALIGN_RIGHT' => 'Høyrejustert tekst', + 'NO_PADDING' => 'No padding', + 'LABEL' => 'Etikett', + 'BADGE' => 'App-symbol', + 'PRIMARY_COLOR' => 'Primær farge', + 'SECONDARY_COLOR' => 'Sekundær farge', + 'GRAYSCALE_COLOR' => 'Grayscale', + 'INFO_COLOR' => 'Informasjon', + 'SUCCESS_COLOR' => 'Vellykket', + 'WARNING_COLOR' => 'Advarsel', + 'DANGER_COLOR' => 'Fare', +)); diff --git a/language/nb/exceptions.php b/language/nb/exceptions.php new file mode 100644 index 000000000000..ab85f349b192 --- /dev/null +++ b/language/nb/exceptions.php @@ -0,0 +1,49 @@ + 'Obligatoriske felt mangler', + 'EXCEPTION_INVALID_ACTION' => 'Handlingen eksisterer ikke', + 'EXCEPTION_INVALID_ARGUMENT' => 'Ugyldig argument spesifisert for `%1$s. Årsak: %2$s', + 'EXCEPTION_INVALID_DATA_TYPE' => 'Den oppgitte verdien er av en uventet datatype', + 'EXCEPTION_INVALID_ENTITY' => 'Den oppgitte enheten er av en uventet enhetsklasse', + 'EXCEPTION_INVALID_PROPERTY' => 'Den forespurte egenskapen eksisterer ikke', + 'EXCEPTION_OUT_OF_BOUNDS' => 'Den forespurte `%1$s` eksisterer ikke', + 'EXCEPTION_SERVICE_NOT_FOUND' => 'Den forespurte tjenesten ble ikke funnet', + 'EXCEPTION_UNEXPECTED_VALUE' => 'Den forespurte handlingen `%1$s` kunne ikke utføres. Årsak: %2$s', +)); diff --git a/language/nb/ext.php b/language/nb/ext.php new file mode 100644 index 000000000000..1a59809f6301 --- /dev/null +++ b/language/nb/ext.php @@ -0,0 +1,42 @@ + 'Bildemappen phpBB er ikke skrivbar. Endre rettigheter til skrivbar av alle (777 eller -rwxrwx i FTP-klienten)', + 'PHPBB_VERSION_UNMET' => 'Denne utvidelsen krever minst phpBB %s', +)); diff --git a/language/nb/feed_fields.php b/language/nb/feed_fields.php new file mode 100644 index 000000000000..af8fbddd762a --- /dev/null +++ b/language/nb/feed_fields.php @@ -0,0 +1,108 @@ + 'forfatter', + 'AUTHORS' => 'forfattere (array)', + 'BITRATE' => 'bitrate', + 'CAPTIONS' => 'bildetekster', + 'CATEGORIES' => 'kategorier (matrise)', + 'CATEGORY' => 'kategori', + 'CHANNELS' => 'kanaler', + 'CONTENT' => 'innhold', + 'CONTRIBUTOR' => 'bidrager', + 'CONTRIBUTORS' => 'bidragsytere (sjelden)', + 'COPYRIGHT' => 'opphavsrett', + 'CREDITS' => 'kreditter', + 'DATE' => 'dato', + 'DESCRIPTION' => 'beskrivelse', + 'DURATION' => 'varighet', + 'ENCLOSURE' => 'kabinett', + 'ENCLOSURES' => 'innkapslinger (matrise)', + 'EXPRESSION' => 'uttrykk', + 'FEED' => 'nyhetsstrøm', + 'FRAMERATE' => 'bildefrekvens', + 'GMDATE' => 'GM dato', + 'HANDLER' => 'handler', + 'HASHES' => 'hashes', + 'HEIGHT' => 'høyde', + 'ID' => 'id', + 'IMAGE_HEIGHT' => 'bilde høyde', + 'IMAGE_LINK' => 'bildelink', + 'IMAGE_TITLE' => 'bilde tittel', + 'IMAGE_URL' => 'Bilde url', + 'IMAGE_WIDTH' => 'bredde på bilde', + 'ITEMS' => 'elementer', + 'JAVASCRIPT' => 'JavaScript', + 'KEYWORDS' => 'nøkkelord', + 'LABEL' => 'etikett', + 'LANG' => 'lang', + 'LATITUDE' => 'breddegrad', + 'LENGTH' => 'lengde', + 'LINK' => 'kobling', + 'LINKS' => 'linker', + 'LONGITUDE' => 'lengdegrad', + 'MEDIUM' => 'middels', + 'NAME' => 'navn', + 'PERMALINK' => 'permalenke', + 'PLAYER' => 'spiller', + 'RATINGS' => 'vurderinger', + 'RELATIONSHIP' => 'forhold', + 'RESTRICTIONS' => 'restriksjoner (matrise)', + 'SAMPLINGRATE' => 'hyppighet for prøvetaking', + 'SCHEME' => 'skjema', + 'SOURCE' => 'kilde', + 'TERM' => 'term', + 'THUMBNAILS' => 'thumbnails', + 'TITLE' => 'tittel', + 'TYPE' => 'type', + 'UPDATED_DATE' => 'oppdatert dato', + 'UPDATED_GMDATE' => 'oppdatert GM-dato', + 'VALUE' => 'verdi', + 'WIDTH' => 'width', +)); diff --git a/language/nb/icons.php b/language/nb/icons.php new file mode 100644 index 000000000000..17480f9b2136 --- /dev/null +++ b/language/nb/icons.php @@ -0,0 +1,71 @@ + 'Tilgjengelighet', + 'ICON_ARROWS' => 'Piler', + 'ICON_BRAND' => 'Merke', + 'ICON_CHART' => 'Diagram', + 'ICON_CURRENCY' => 'Valuta', + 'ICON_DIRECTIONAL' => 'Retningsbestemt', + 'ICON_FILE_TYPE' => 'Fil type', + 'ICON_FORM_CONTROL' => 'Skjema Kontroll', + 'ICON_GENDER' => 'Kjønn', + 'ICON_HAND' => 'Hånd', + 'ICON_MEDICAL' => 'Medisinsk', + 'ICON_PAYMENT' => 'Betaling', + 'ICON_SPINNER' => 'Spinner', + 'ICON_TEXT_EDITOR' => 'Tekst editor', + 'ICON_TRANSPORTATION' => 'Transport', + 'ICON_VIDEO_PLAYER' => 'Video Spiller', + 'ICON_WEB_APPLICATION' => 'Web applikasjon', + + 'ICON_COLOR' => 'Farge', + 'ICON_DEFAULT' => 'Standard', + 'ICON_FLIP_BOTH' => 'Vend begge', + 'ICON_FLIP_HORIZONTAL' => 'Vend horisontalt', + 'ICON_FLIP_VERTICAL' => 'Vend vertikalt', + 'ICON_FLOAT' => 'Flyt', + 'ICON_FLOAT_LEFT' => 'Venstre', + 'ICON_FLOAT_RIGHT' => 'Høyre', + 'ICON_FONT' => 'Font Icons', + 'ICON_INSERT_UPDATE' => 'Insert/Update', + 'ICON_MISC' => 'Diverse', + 'ICON_MISC_BORDERED' => 'Kantlagt', + 'ICON_MISC_FIXED_WIDTH' => 'Fast bredde', + 'ICON_MISC_PULSE' => 'Puls', + 'ICON_MISC_SPINNING' => 'Spinner', + 'ICON_ROTATION' => 'Rotasjon', + 'ICON_ROTATE_90' => '90°', + 'ICON_ROTATE_180' => '180°', + 'ICON_ROTATE_270' => '270°', + 'ICON_SIZE' => 'Størrelse', + 'ICON_SIZE_LG' => 'Større', + 'ICON_SIZE_SM' => 'Liten', + 'ICON_SIZE_2X' => '2 x', + 'ICON_SIZE_3X' => '3 x', + 'ICON_SIZE_4X' => '4 x', + 'ICON_SIZE_5X' => '5 x', + + 'NO_ICON' => 'Ingen Ikon', +)); diff --git a/language/nb/info_acp_menus.php b/language/nb/info_acp_menus.php new file mode 100644 index 000000000000..cde295483e2e --- /dev/null +++ b/language/nb/info_acp_menus.php @@ -0,0 +1,92 @@ + 'Meny', + 'ACP_MENU_MANAGE' => 'Meny Behandling', + 'ACP_MENU_MANAGE_EXPLAIN' => 'Her kan du opprette og administrere menyer for din nettside', + 'ADD_BULK_MENU' => 'Flere menypunkter i menyen', + 'ADD_BULK_MENU_EXPLAIN' => 'Legg til flere menyelementer samtidig.
- Plasser hvert element på en egen linje
- Bruk knappen Fane for å registrere elementer for å representere foreldre/underforhold
- Angi element og URL-adresse som så: Homedabindex.php', + 'ADD_MENU' => 'Legg til meny', + 'ADD_MENU_ITEM' => 'Legg til menyelement', + 'ADD_ITEM' => 'Legg til nytt element', + 'AJAX_PROCESSING' => 'Arbeider', + + 'CHANGE_ME' => 'Endre meg', + + 'DELETE_ITEM' => 'Slett element', + 'DELETE_KIDS' => 'Slett grenen', + 'DELETE_MENU' => 'Slett menyen', + 'DELETE_MENU_CONFIRM' => 'Er du sikker på at du vil slette denne menyen?
Dette vil slette menyen og alle dens elementer', + 'DELETE_MENU_ITEM' => 'Slett element', + 'DELETE_MENU_ITEM_CONFIRM' => 'Er du sikker på at du vil slette dette menyelementet?', + 'DELETE_SELECTED' => 'Slett valgte', + + 'EDIT_ITEM' => 'Rediger element', + + 'ITEM_ACTIVE' => 'Aktiv', + 'ITEM_INACTIVE' => 'Inaktiv', + 'ITEM_PARENT' => 'Forelder', + 'ITEM_TITLE' => 'Elementet Tittel', + 'ITEM_TITLE_EXPLAIN' => 'Angi som en ’-’ for skildring', + 'ITEM_TARGET' => 'Item Target', + 'ITEM_URL' => 'Elementet URL', + 'ITEM_URL_EXPLAIN' => '- La være tom for overskrifter
- Eksterne nettsteder må begynne med http(s)://, ftp://, /, etc', + + 'MENU_ITEMS' => 'Menyelementer', + + 'NO_MENU_ITEMS' => 'Ingen menyelementer har blitt opprettet', + 'NO_PARENT' => 'Ingen overordnet', + + 'PROCESSING_ERROR' => 'Behandler feil', + + 'REBUILD_TREE' => 'Gjenoppbygg treet', + 'REQUIRED' => 'Påkrevd', + 'REQUIRED_FIELDS' => 'Obligatorisk felt', + + 'SAVE_CHANGES' => 'Lagre endringer', + 'SAVE' => 'Lagre', + 'SELECT_ALL' => 'Velg alle', + + 'TARGET_BLANK' => 'Tom side', + 'TARGET_PARENT' => 'Forelder', + + 'UNSAVED_CHANGES' => 'Du har ulagrede endringer', + + 'VISIT_PAGE' => 'Besøk side', +)); diff --git a/language/nb/info_acp_settings.php b/language/nb/info_acp_settings.php new file mode 100644 index 000000000000..22245ff2db81 --- /dev/null +++ b/language/nb/info_acp_settings.php @@ -0,0 +1,74 @@ + 'SiteMaker', + 'ACP_SM_SETTINGS' => 'Innstillinger', + + 'BLOCKS_CLEANUP' => 'Blokker opprydding', + 'BLOCKS_CLEANUP_EXPLAIN' => 'Følgende produkter ble funnet til å ikke lenger finnes eller være tilgjengelige, og du kan derfor slette alle blokker som er knyttet til dem. Vær oppmerksom på at noen av disse kan være falske positiver', + 'BLOCKS_CLEANUP_BLOCKS' => 'Ugyldige blokker (f.eks. fra avinstallerte utvidelser):', + 'BLOCKS_CLEANUP_ROUTES' => 'Ikke-tilgjengelige/ødelagte sider:', + 'BLOCKS_CLEANUP_STYLES' => 'Uinstallerte stiler (ider):', + 'BLOCKS_CLEANUP_SUCCESS' => 'Blokker tømt sur', + + 'FORUM_INDEX_SETTINGS' => 'Forum Instillinger', + 'FORUM_INDEX_SETTINGS_EXPLAIN' => 'Disse innstillingene gjelder bare når det ikke er noen startside definert', + + 'HIDE' => 'Skjul', + 'HIDE_BIRTHDAY' => 'Skjul bursdagsseksjonen', + 'HIDE_LOGIN' => 'Skjul innloggingsboks', + 'HIDE_ONLINE' => 'Skjul Whos online seksjon', + + 'LAYOUT_BLOG' => 'Blogg', + 'LAYOUT_CUSTOM' => 'Egendefinert', + 'LAYOUT_HOLYGRAIL' => 'Hellig grus', + 'LAYOUT_PORTAL' => 'Portal', + 'LAYOUT_PORTAL_ALT' => 'Portal (alt)', + 'LAYOUT_SETTINGS' => 'Oppsett Innstillinger', + + 'LOG_DELETED_BLOCKS_FOR_STYLE' => 'Elementaker-blokker slettet for manglende stil med id %s', + 'LOG_DELETED_BLOCKS_FOR_ROUTE' => 'Endrede blokker slettet for ødelagte sider:
%s', + 'LOG_DELETED_BLOCKS' => 'Ugyldig itemaker blokker slettet:
%s', + + 'NAVIGATION_SETTINGS' => 'Navigasjon innstillinger', + + 'SETTINGS_SAVED' => 'Dine lagret innstillinger har blitt', + 'SHOW' => 'Vis', + 'SHOW_FORUM_NAV' => 'Vis \'Forum\' i navigasjonslinjen?', + 'SHOW_FORUM_NAV_EXPLAIN' => 'Når en side er satt som startside i stedet for forumindeksen, bør vi vise \'Forum\' i navigasjonslinjen', + 'SHOW_FORUM_NAV_WITH_ICON' => 'Ja - med ikon:', +]); diff --git a/language/nb/navbar_manager.php b/language/nb/navbar_manager.php new file mode 100644 index 000000000000..3fb0a4385b13 --- /dev/null +++ b/language/nb/navbar_manager.php @@ -0,0 +1,79 @@ + 'Aktivt element', + 'BORDER' => 'Border', + 'BORDER_COLOR' => 'Farge for kantlinje', + 'BORDER_RADIUS' => 'Ramme radius', + 'BORDER_WIDTH' => 'Border Width', + 'BOTTOM' => 'Bunn', + 'BOTTOM_LEFT' => 'Nederst til venstre', + 'BOTTOM_RIGHT' => 'Nederst til høyre', + 'CAPITALIZE' => 'Kapitalisere', + 'COLOR' => 'Farge', + 'DIVIDERS' => 'Skilletegn', + 'END' => 'Slutt', + 'GRADIENT' => 'Gradert', + 'HEADERS' => 'Overskrifter', + 'HOVER' => 'Hover', + 'LEFT' => 'Venstre', + 'LOWERCASE' => 'Små bokstaver', + 'MARGIN' => 'Marg', + 'NAVBAR' => 'Navigasjonsfelt', + 'NAVBAR_MENU' => 'Navbar menu', + 'NAVBAR_DROPDOWN' => 'Rullegardin', + 'NAVBAR_LOCATION' => 'Sted', + 'NAVBAR_LOCATION_OPTION' => 'Plassering #%s', + 'NAVBAR_TOP_MENU' => 'Øverste meny', + 'NONE' => 'Ingen', + 'PADDING' => 'Padding', + 'RESPONSIVE_TOGGLE' => 'Responsiv veksler', + 'RESPONSIVE_TOGGLE_EXPLAIN' => 'Bare synlige på små (mobil) skjermer', + 'RIGHT' => 'Høyre', + 'SAVE' => 'Lagre', + 'SIZE' => 'Størrelse', + 'START' => 'Begynn', + 'TEXT' => 'Tekst', + 'TOP' => 'Topp', + 'TOP_LEFT' => 'Øverst til venstre', + 'TOP_RIGHT' => 'Øverst til høyre', + 'TRANSFORM' => 'Transformere', + 'UPPERCASE' => 'Store bokstaver', +)); diff --git a/language/nb/permissions_sitemaker.php b/language/nb/permissions_sitemaker.php new file mode 100644 index 000000000000..aee696d64913 --- /dev/null +++ b/language/nb/permissions_sitemaker.php @@ -0,0 +1,45 @@ + '[ SiteMaker ] Kan administrere innstillinger', + 'ACL_A_SM_MANAGE_BLOCKS' => '[ SiteMaker ] Kan administrere blokker', + 'ACL_A_SM_MANAGE_MENUS' => '[ SiteMaker ] Kan administrere menyer', +)); diff --git a/language/nl/block_manager.php b/language/nl/block_manager.php new file mode 100644 index 000000000000..9c5c832c1474 --- /dev/null +++ b/language/nl/block_manager.php @@ -0,0 +1,123 @@ + '*Sleep en laat blokken vallen', + 'AJAX_ERROR' => 'Oeps! Er is een fout opgetreden tijdens het verwerken van uw verzoek. Probeer het opnieuw.', + 'AJAX_LOADING' => 'Laden...', + 'AJAX_PROCESSING' => 'Bezig...', + + 'BACKGROUND' => 'Achtergrond', + 'BLOCKS' => 'Blokken', + 'BLOCKS_COPY_FROM' => 'Blokken kopiëren', + 'BLOCK_ACTIVE' => 'actief', + 'BLOCK_CHILD_ROUTES_ONLY' => 'Toon alleen op onderliggende routes', + 'BLOCK_CHILD_ROUTES_HIDE' => 'Verberg bij onderliggende routes', + 'BLOCK_CLASS' => 'CSS class', + 'BLOCK_CLASS_EXPLAIN' => 'Pas blokweergave aan met CSS-klassen', + 'BLOCK_DESIGN' => 'Uiterlijk', + 'BLOCK_DISPLAY_TYPE' => 'Weergeven', + 'BLOCK_HIDE_TITLE' => 'Verberg bloktitel?', + 'BLOCK_INACTIVE' => 'Inactief', + 'BLOCK_MISSING_TEMPLATE' => 'Ontbrekende vereiste block template. Neem contact op met de ontwikkelaar', + 'BLOCK_NOT_FOUND' => 'Oeps! De gevraagde block-service is niet gevonden', + 'BLOCK_NO_DATA' => 'Geen gegevens om weer te geven', + 'BLOCK_NO_ID' => 'Oeps! Ontbrekende blok-ID', + 'BLOCK_PERMISSION' => 'Bevoegdheden', + 'BLOCK_PERMISSION_ALLOW' => 'Tonen aan', + 'BLOCK_PERMISSION_DENY' => 'Verbergen van', + 'BLOCK_PERMISSION_EXPLAIN' => 'Gebruik CTRL + klik om te schakelen tussen selectie', + 'BLOCK_SHOW_ALWAYS' => 'altijd', + 'BLOCK_STATUS' => 'status', + 'BLOCK_UPDATED' => 'Blok instellingen succesvol bijgewerkt', + + 'CANCEL' => 'annuleren', + 'CHILD_ROUTE' => 'Kind', + 'CHILD_ROUTE_EXPLAIN' => '/viewforum.php, /dir/index.php
/viewtopic.php?f=2&t=1
/articles/mijn-artikel', + 'CLEAR' => 'Verwijderen', + 'COPY' => 'Kopiëren', + 'COPY_BLOCKS' => 'Blokken kopiëren?', + 'COPY_BLOCKS_CONFIRM' => 'Weet je zeker dat je blokken wilt kopiëren van een andere pagina?

Dit zal alle bestaande blokken en hun instellingen voor deze pagina verwijderen en vervangen door de blokken van de geselecteerde pagina.', + + 'DEFAULT_LAYOUT_EXPLAIN' => 'Als dit is ingesteld zullen alle website pagina\'s waarvoor u geen specifieke blokken hebt erven de blokken van de standaard indeling. U kunt echter de standaard lay-out voor bepaalde pagina\'s overschrijven door gebruik te maken van de opties naar rechts.', + 'DELETE' => 'Verwijderen', + 'DELETE_ALL_BLOCKS' => 'Alle blokken verwijderen', + 'DELETE_ALL_BLOCKS_CONFIRM' => 'Weet je zeker dat je alle blokken voor deze pagina wilt verwijderen?', + 'DELETE_BLOCK' => 'Blok verwijderen', + 'DELETE_BLOCK_CONFIRM' => 'Weet u zeker dat u dit blok wilt verwijderen?


Opmerking: U moet de lay-out wijzigingen opslaan om dit permanent te maken.', + + 'EDIT' => 'Bewerken', + 'EDIT_BLOCK' => 'Blok bewerken', + 'EXIT_EDIT_MODE' => 'Verlaat de bewerkingsmodus', + + 'FEED_PROBLEMS' => 'Er is een probleem opgetreden bij het verwerken van de geleverde rss/atom feed(s)', + 'FEED_URL_MISSING' => 'Geef ten minste één rss/atom feed om te beginnen', + 'FIELD_INVALID' => 'De opgegeven waarde voor het veld%s" heeft een ongeldig formaat', + 'FIELD_REQUIRED' => '"%s" is een verplicht veld', + 'FIELD_TOO_LONG' => 'De opgegeven waarde voor het veld "%1$s" is te lang. De maximaal aanvaardbare waarde is %2$d.', + 'FIELD_TOO_SHORT' => 'De opgegeven waarde voor het veld "%1$s" is te kort. De minimaal aanvaardbare waarde is %2$d.', + + 'HIDE_ALL_BLOCKS' => 'Toon geen blokken op deze pagina', + 'HIDE_BLOCK_POSITIONS' => 'Blokken voor de volgende blokposities niet weergeven:', + + 'IMAGES' => 'Afbeeldingen', + + 'LAYOUT' => 'Indeling', + 'LAYOUT_SAVED' => 'Layout succesvol opgeslagen!', + 'LAYOUT_SETTINGS' => 'Instellingen schermindeling', + 'LEAVE_CONFIRM' => 'U hebt enkele niet-opgeslagen wijzigingen op deze pagina. Sla uw werk op voordat u verdergaat', + 'LISTS' => 'Lijsten', + + 'MAKE_DEFAULT_LAYOUT' => 'Instellen als standaard lay-out', + + 'OR' => 'OF', + + 'PARENT_ROUTE' => 'Bovenliggende', + 'PARENT_ROUTE_EXPLAIN' => '/index.php
/viewforum.php?f=2
/artikelen', + 'PREDEFINED_CLASSES' => 'Vooraf gedefinieerde klassen', + + 'REDO' => 'Opnieuw', + 'REMOVE_DEFAULT_LAYOUT' => 'Verwijder als standaard lay-out', + 'REMOVE_STARTPAGE' => 'Verwijder startpagina', + 'ROUTE_HIDDEN_BLOCKS' => 'Blokken worden verborgen voor deze pagina', + 'ROUTE_HIDDEN_POSITIONS' => 'Blokken worden verborgen voor de volgende posities', + 'ROUTE_UPDATED' => 'Paginainstellingen succesvol bijgewerkt', + + 'SAVE_CHANGES' => 'Wijzigingen opslaan', + 'SAVE_SETTINGS' => 'Instellingen opslaan', + 'SELECT_ICON' => 'Selecteer een pictogram', + 'SETTINGS' => 'Instellingen', + 'SETTING_TOO_BIG' => 'De opgegeven waarde voor de instelling "%1$s" is te hoog. De maximaal aanvaardbare waarde is %2$d.', + 'SETTING_TOO_LONG' => 'De opgegeven waarde voor de instelling "%1$s" is te lang. De maximaal aanvaardbare lengte is %2$d.', + 'SETTING_TOO_LOW' => 'De opgegeven waarde voor de instelling "%1$s" is te laag. De minimaal aanvaardbare waarde is %2$d.', + 'SETTING_TOO_SHORT' => 'De opgegeven waarde voor de instelling "%1$s" is te kort. De minimale aanvaardbare lengte is %2$d.', + 'SET_STARTPAGE' => 'Als startpagina instellen', + + 'TITLES' => 'Titels', + + 'UPDATE_SIMILAR' => 'Update blokken met vergelijkbare instellingen', + 'UNDO' => 'Herstel', + + 'VIEW_DEFAULT_LAYOUT' => 'Bekijk/Bewerk standaard lay-out', + 'VISIT_PAGE' => 'Pagina bezoeken', +)); diff --git a/language/nl/blocks_admin.php b/language/nl/blocks_admin.php new file mode 100644 index 000000000000..06c8fc03bbf4 --- /dev/null +++ b/language/nl/blocks_admin.php @@ -0,0 +1,189 @@ + 'Alle typen', + 'ALL_GROUPS' => 'Alle groepen', + 'ARCHIVES' => 'Archief', + 'AUTO_LOGIN' => 'Automatisch inloggen toestaan?', + 'FILE_MANAGER' => 'Bestands Beheer', + 'TOPIC_POST_IDS' => 'Van onderwerp/Post Ids', + 'TOPIC_POST_IDS_EXPLAIN' => 'Id(s) van topics/berichten om bijlagen op te halen, gescheiden door komma\'s(,). Geef aan of deze lijst is voor een topic of post id\'s hierboven.', + 'TOPIC_POST_IDS_TYPE' => 'Type ID\'s (hieronder)', + + // Blocks + 'BLITZE_SITEMAKER_BLOCK_ATTACHMENTS' => 'Bijlagen', + 'BLITZE_SITEMAKER_BLOCK_BIRTHDAY' => 'Verjaardag', + 'BLITZE_SITEMAKER_BLOCK_CUSTOM' => 'Aangepaste blok', + 'BLITZE_SITEMAKER_BLOCK_FEATURED_MEMBER' => 'Aanbevolen Lid', + 'BLITZE_SITEMAKER_BLOCK_FEEDS' => 'RSS/Atom Feeds', + 'BLITZE_SITEMAKER_BLOCK_FORUM_POLL' => 'Forum poll', + 'BLITZE_SITEMAKER_BLOCK_FORUM_TOPICS' => 'Forum Onderwerpen', + 'BLITZE_SITEMAKER_BLOCK_GOOGLE_MAPS' => 'Google Maps', + 'BLITZE_SITEMAKER_BLOCK_POPULAR_TOPICS' => 'Populaire onderwerpen', + 'BLITZE_SITEMAKER_BLOCK_LINKS' => 'Koppelingen', + 'BLITZE_SITEMAKER_BLOCK_LOGIN' => 'Login Box', + 'BLITZE_SITEMAKER_BLOCK_MEMBERS' => 'leden', + 'BLITZE_SITEMAKER_BLOCK_MEMBER_MENU' => 'Lid Menu', + 'BLITZE_SITEMAKER_BLOCK_MENU' => 'Menu', + 'BLITZE_SITEMAKER_BLOCK_MYBOOKMARKS' => 'Bladwijzers', + 'BLITZE_SITEMAKER_BLOCK_RECENT_TOPICS' => 'Recente Onderwerpen', + 'BLITZE_SITEMAKER_BLOCK_STATS' => 'Statistieken', + 'BLITZE_SITEMAKER_BLOCK_STYLE_SWITCHER' => 'Stijl schakelaar', + 'BLITZE_SITEMAKER_BLOCK_WHATS_NEW' => 'Wat is nieuw?', + 'BLITZE_SITEMAKER_BLOCK_WHOIS' => 'Wie is online', + 'BLITZE_SITEMAKER_BLOCK_WORDGRAPH' => 'Wordgraph', + + // block views + 'BLOCK_VIEW' => 'Blok weergave', + 'BLOCK_VIEW_BASIC' => 'Eenvoudig', + 'BLOCK_VIEW_BOXED' => 'Geboxed', + 'BLOCK_VIEW_DEFAULT' => 'Standaard', + 'BLOCK_VIEW_SIMPLE' => 'Eenvoudig', + + 'CACHE_DURATION' => 'Cache duur', + 'CONTEXT' => 'Context', + 'CSS_SCRIPTS' => 'CSS Scripts', + 'CUSTOM_PROFILE_FIELDS' => 'Aangepaste profielvelden', + + 'DATE_RANGE' => 'Date Range', + 'DISPLAY_PREVIEW' => 'Voorbeeld weergeven?', + + 'EDIT_ME' => 'Bewerk me alsjeblieft', + 'ENABLE_TOPIC_TRACKING' => 'Topic tracking inschakelen?', + 'ENABLE_TOPIC_TRACKING_EXPLAIN' => 'Indien ingeschakeld, worden ongelezen onderwerpen aangeduid, maar de blokresultaten worden niet gecached (Niet aanbevolen)', + 'EXCLUDE_TOO_MANY_WORDS' => 'Je hebt te veel woorden ingevoerd om uit te sluiten. Het maximum aantal tekens is 255, je hebt %s ingevoerd.', + 'EXCLUDE_WORDS' => 'Woorden uitsluiten', + 'EXCLUDE_WORDS_EXPLAIN' => 'Vermeld de woorden die je wilt uitsluiten van de woordenlijst, gescheiden door een komma (,). Maximaal 255 tekens.', + 'EXPANDED' => 'Uitgebreid', + 'EXTENSION_GROUP' => 'Extensie groep', + + 'FEATURED_MEMBER_IDS' => 'Gebruiker IDs', + 'FEATURED_MEMBER_IDS_EXPLAIN' => 'Kommagescheiden lijst van te gebruiken gebruikers (alleen van toepassing op Aanbevolen Leden weergavemodus)', + 'FEED_DATA_PREVIEW' => 'Feed gegevens', + 'FEED_ITEM_TEMPLATE' => 'Item sjabloon', + 'FEED_ITEM_TEMPLATE_EXPLAIN' => 'TIPS:
+
    +
  • Access feed data in item variable e.g. item.title
  • +
  • Template must be in Twig syntax
  • +
  • Click Samples above for sample templates
  • +
  • Use get_item_tags($namespace, $tag) to get any tag from the feed that we do not provide e.g.
    {{ get_item_tags(\'\', \'image\') }}
  • +
  • Use Twig’s json_encode filter to see contents of array e.g. {{ get_item_tags(\'\', \'image\')|json_encode() }}
  • +
', + 'FEED_PREVIEW_SOURCE' => 'Bron', + 'FEED_URL_PLACEHOLDER' => 'http://voorbeeld.com/rss', + 'FEED_URLS' => 'Feed URL\'s', + 'FIRST_POST_ONLY' => 'Eerste bericht alleen', + 'FIRST_POST_TIME' => 'Eerste Post Tijd', + 'FORUMS_GET_TYPE' => 'Soort ophalen', + 'FORUMS_MAX_TOPICS' => 'Maximum aantal onderwerpen/berichten', + 'FORUMS_TITLE_MAX_CHARS' => 'Maximaal aantal tekens per titel', + 'FREQUENCY' => 'Frequentie', + 'FULL' => 'Volledig', + 'FULLSCREEN' => 'Volledig scherm', + + 'GET_TYPE' => 'Toon onderwerp/Post?', + + 'HTML' => 'HTML', + 'HTML_EXPLAIN' => 'Gebruik deze tekst om onbewerkte HTML-inhoud in te voeren.
Houd er rekening mee dat alle hier geplaatste inhoud de aangepaste blokinhoud overschrijft en dat de visuele blokeditor niet beschikbaar is.', + 'HOURS_SHORT' => 'Uren', + + 'JS_SCRIPTS' => 'JS Scripts', + + 'LAST_POST_TIME' => 'Laatste Post Tijd', + 'LAST_READ_TIME' => 'Laatst Gelezen Tijd', + 'LIMIT' => 'Limiet', + 'LIMIT_FORUMS' => 'Forum Ids (optioneel)', + 'LIMIT_FORUMS_EXPLAIN' => 'Voer elk forum-id in, gescheiden door een komma (,). Indien ingesteld, worden alleen onderwerpen van de opgegeven forums weergegeven.', + 'LIMIT_POST_TIME' => 'Beperken op tijd Post', + 'LIMIT_POST_TIME_EXPLAIN' => 'Indien actief zullen alleen topics die binnen de opgegeven periode zijn geplaatst worden opgehaald', + + 'MAX_DEPTH' => 'Maximale diepte', + 'MAX_ITEMS' => 'Maximum aantal items', + 'MAX_MEMBERS' => 'Max. aantal leden', + 'MAX_POSTS' => 'Maximum aantal berichten', + 'MAX_TOPICS' => 'Maximum aantal onderwerpen', + 'MAX_WORDS' => 'Maximum aantal woorden', + 'MANAGE_MENUS' => 'Menu\'s beheren', + 'MAP_COORDINATES' => 'Coördinaten', + 'MAP_COORDINATES_EXPLAIN' => 'Voer coördinaten in de vorm breedtegraad, lengtegraad', + 'MAP_HEIGHT' => 'Højde', + 'MAP_LOCATION' => 'Locatie', + 'MAP_TITLE' => 'Aanspreektitel', + 'MAP_VIEW' => 'Bekijken', + 'MAP_VIEW_HYBRID' => 'Hybride', + 'MAP_VIEW_MAP' => 'Kaart', + 'MAP_VIEW_SATELITE' => 'Sateliet', + 'MAP_VIEW_TERRAIN' => 'Terrain', + 'MAP_ZOOM_LEVEL' => 'Zoom niveau', + 'MEMBERS_DATE' => 'Datum:', + 'MENU_NO_ITEMS' => 'Geen actieve items om weer te geven', + 'MINI' => 'Mini', + + 'OR' => 'OF', + 'ORDER_BY' => 'Sorteer op', + + 'POLL_FROM_FORUMS' => 'Toon polls van forum(s)', + 'POLL_FROM_FORUMS_EXPLAIN' => 'Alleen enquêtes van de geselecteerde forums worden weergegeven zolang er geen onderwerpen hierboven zijn gespecificeerd', + 'POLL_FROM_GROUPS' => 'Toon polls van groep(en)', + 'POLL_FROM_GROUPS_EXPLAIN' => 'Alleen opiniepeilingen van deelnemers van de geselecteerde groepen worden weergegeven zolang er geen gebruiker(s) zijn/zijn opgegeven hierboven', + 'POLL_FROM_TOPICS' => 'Toon polls van topic(s)', + 'POLL_FROM_TOPICS_EXPLAIN' => 'Id(s) van topics om polls op te halen, gescheiden door komma\'s(,). Laat leeg om een onderwerp te selecteren.', + 'POLL_FROM_USERS' => 'Toon polls van gebruiker(s)', + 'POLL_FROM_USERS_EXPLAIN' => 'Id(s) van gebruiker(s) waarvan je polls wil weergeven, gescheiden door komma\'s(,). Laat leeg om polls van elke gebruiker te selecteren.', + 'POSTS_TITLE_LIMIT' => 'Maximaal aantal tekens voor post titel', + 'PREVIEW_MAX_CHARS' => 'Aantal voorvertoning tekens', + + 'QUERY_TYPE' => 'Toon modus', + + 'ROTATE_DAILY' => 'Dagelijks', + 'ROTATE_HOURLY' => 'Per uur', + 'ROTATE_MONTHLY' => 'maandelijks', + 'ROTATE_PAGELOAD' => 'Pagina laden', + 'ROTATE_WEEKLY' => 'wekelijks', + + 'SAMPLES' => 'Voorbeelden', + 'SCRIPTS' => 'Scripts', + 'SELECT_FORUMS' => 'Selecteer forums', + 'SELECT_FORUMS_EXPLAIN' => 'Selecteer het forum waar onderwerpen en berichten getoond worden. Laat leeg om alle forums te selecteren', + 'SELECT_MENU' => 'Selecteer menu', + 'SELECT_PROFILE_FIELDS' => 'Profielvelden selecteren', + 'SELECT_PROFILE_FIELDS_EXPLAIN' => 'Alleen de geselecteerde profielvelden worden weergegeven, indien beschikbaar.', + 'SHOW_FIRST_POST' => 'Eerste bericht', + 'SHOW_HIDE_ME' => 'Verberg online status toestaan?', + 'SHOW_LAST_POST' => 'Laatste bericht', + 'SHOW_MEMBER_MENU' => 'Gebruikersmenu tonen?', + 'SHOW_MEMBER_MENU_EXPLAIN' => 'Vervang inlogveld met gebruikersmenu als de gebruiker is ingelogd', + 'SHOW_WORD_COUNT' => 'Aantal woorden tonen?', + + 'TEMPLATE' => 'Sjabloon', + 'TOPIC_TITLE_LIMIT' => 'Maximaal aantal tekens voor onderwerp titel', + 'TOPIC_TYPE' => 'Onderwerp type', + 'TOPIC_TYPE_EXPLAIN' => 'Selecteer de topictypes die u wilt weergeven. Laat de vakjes niet aangevinkt om alle topictypen te selecteren', + 'TOPICS_LOOK_BACK' => 'Terugkijken', + 'TOPICS_ONLY' => 'Alleen onderwerpen?', + 'TOPICS_PER_PAGE' => 'Per pagina', + + 'WORD_MAX_SIZE' => 'Maximale lettergrootte', + 'WORD_MIN_SIZE' => 'Minimale lettergrootte', +)); diff --git a/language/nl/common.php b/language/nl/common.php new file mode 100644 index 000000000000..5d521cc9d0ee --- /dev/null +++ b/language/nl/common.php @@ -0,0 +1,97 @@ + 'Gehele tijd', + + 'BLOCK_TITLE' => 'Blok titel', + + 'CHANGE_ME' => 'Verander mij', + + 'DAILY_MEMBER' => 'Lid van de dag', + + 'FEATURED_MEMBER' => 'Aanbevolen Lid', + 'FEATURED_MEMBERLIST' => 'Uitgelichte ledenlijst', + 'FEEDS' => 'Feeds', + 'FORUM_ANNOUNCEMENTS' => 'Forum aankondigingen', + 'FORUM_GLOBAL_ANNOUNCEMENTS' => 'Globaal Forum Mededelingen', + 'FORUM_RECENT_POSTS' => 'Recente forumberichten', + 'FORUM_RECENT_TOPICS' => 'Recente forumonderwerpen', + 'FORUM_STICKY_POSTS' => 'Recente Sticky Berichten', + + 'HELP' => 'Hulp', + 'HOURLY_MEMBER' => 'Lid van het uur', + + 'GOOGLE_MAP' => 'Google Map', + + 'JOIN_DATE' => 'Join Datum', + + 'LAST_POST_BY_AUTHOR' => 'Laatste bericht door', + 'LAST_VISITED' => 'Laatst bezocht', + 'LINKS' => 'Koppelingen', + + 'MCP_SITEMAKER_CONTENT' => 'Inhoud', + 'MEMBERS_DATE' => 'Datum:', + 'MENU' => 'Menu', + 'MONTHLY_MEMBER' => 'Lid van de maand', + 'MOST_TENURED' => 'Meest gewaardeerd', + 'MY_BOOKMARKS' => 'Bladwijzers', + + 'NO_BOOKMARKED_TOPICS' => 'Je hebt geen topics als favoriet gemarkeerd', + 'NO_NEW_TOPICS' => 'Er zijn geen nieuwe onderwerpen om weer te geven', + + 'POLL' => 'Stemming', + 'POPULAR_TOPICS' => 'Populaire onderwerpen', + 'POSTS_MEMBER' => 'Top Poster', + 'PROCESSING' => 'verwerken...', + + 'QTYPE_POSTS' => 'Gefeliciteerd aan:', + 'QTYPE_RECENT' => 'Welkom ons nieuwste lid:', + + 'RECENT_BOTS' => 'Recente zoekmachines', + 'RECENT_MEMBER' => 'Recent lid', + 'RECENT_MEMBERS' => 'Recente leden', + + 'SESSION_HIDE_ME' => 'Verberg mij', + 'SM_NAVIGATION' => 'Navigation', + 'SM_TOGGLE_DROPDOWN' => 'Toggle dropdown', + 'STYLE_SWITCHER' => 'Stijl schakelaar', + + 'THIS_MONTH' => 'Deze Maand', + 'THIS_WEEK' => 'Deze week', + 'THIS_YEAR' => 'Dit jaar', + 'TODAY' => 'vandaag', + 'TOPICS_LAST_READ' => 'Laatst gelezen onderwerpen', + 'TOPIC_LAST_READ' => 'Laatst gelezen %s', + 'TOP_POSTERS' => 'Top posters', + + 'UCP_SITEMAKER_CONTENT' => 'Mijn spullen', + + 'VIEW_DETAILS' => 'Details bekijken', + 'VIEW_USER_PROFILE' => 'Alles over %s', + + 'WEEKLY_MEMBER' => 'Lid van de week', + 'WELCOME' => 'Verwelkoming', + 'WHATS_NEW' => 'Wat is nieuw?', + 'WORDGRAPH' => 'Wordgraph', +)); diff --git a/language/nl/css_presets.php b/language/nl/css_presets.php new file mode 100644 index 000000000000..49727a713503 --- /dev/null +++ b/language/nl/css_presets.php @@ -0,0 +1,107 @@ + 'Pijl lijst marker', + 'LIST_CIRCLE' => 'Cirkellijst marker', + 'LIST_DISC' => 'Lijst met opsommingstekens', + 'LIST_SQUARE' => 'Vierkante lijst marker', + 'LIST_NUMBERED' => 'Genummerde lijst', + 'LIST_NUMBERED_ALPHABET' => 'Genummerd met alfabet', + 'LIST_NUMBERED_NESTED' => 'Genummerd met subsecties', + 'LIST_NUMBERED_ROMAN' => 'Genummerd met Romeinse getallen', + 'LIST_NUMBERED_ZERO' => 'Genummerd met voorloopnul', + 'LIST_INLINE' => 'Inline lijst', + 'LIST_INLINE_SEP' => 'Kommagescheiden lijst', + 'LIST_REVERSE' => 'Omgekeerde volgorde', + 'LIST_STRIPED' => 'Gestreepte lijst', + 'LIST_STACKED' => 'Gestapelde lijst', + 'LIST_TRIANGLE' => 'Driehoek', + 'LIST_HYPHEN' => 'Koppelteken', + 'LIST_PLUS' => 'Plus', + 'LIST_SPADE' => 'Spade', + 'LIST_CLUB' => 'Vereniging', + 'LIST_DIAMOND' => 'Diamant', + 'LIST_HEART' => 'Hart', + 'LIST_STAR' => 'Ster', + 'LIST_CHECK' => 'Controleer', + 'LIST_SNOWFLAKE' => 'Sneeuwvlok', + 'LIST_MUSIC' => 'Muziek', + 'LIST_AUTOWIDTH' => 'Auto width', + 'LIST_FIT_CONTENT' => 'Inhoud passend maken', + 'LIST_2COLS' => '2 kolomlijst', + 'LIST_3COLS' => '3 kolommen lijst', + 'LIST_4COLS' => '4 kolommen lijst', + 'LIST_5COLS' => '5 kolommen lijst', + 'LIST_X_DIVIDER_DOTTED' => 'Horizontale stippeller', + 'LIST_X_DIVIDER_LINE' => 'Horizontale lijn verdeler', + 'LIST_Y_DIVIDER_DOTTED' => 'Verticale geschatte verdeler', + 'LIST_Y_DIVIDER_LINE' => 'Verticale lijn verdeler', + + 'IMAGE_SMALL' => 'Kleine afbeelding', + 'IMAGE_MEDIUM' => 'Middelgrote afbeelding', + 'IMAGE_LARGE' => 'Grote afbeelding', + 'IMAGE_FULL_WIDTH' => 'Afbeelding met volledige breedte', + 'IMAGE_ALIGN_LEFT' => 'Float afbeelding links', + 'IMAGE_ALIGN_RIGHT' => 'Zwevende afbeelding rechts', + 'IMAGE_CIRCLE' => 'Circulaire afbeelding', + 'IMAGE_ROUNDED' => 'Afgeronde afbeelding', + 'IMAGE_BORDER' => 'Geordende afbeelding', + 'IMAGE_BORDER_PADDING' => 'Image border padding', + 'IMAGE_RATIO_SQUARE' => 'Vierkante afbeelding', + 'IMAGE_RATIO_4_BY_3' => '4 bij 3 afbeelding', + 'IMAGE_RATIO_16_BY_9' => '16 bij 9 afbeelding', + + 'RESPONSIVE_SHOW' => 'Toon alleen op kleine apparaten', + 'RESPONSIVE_HIDE' => 'Verberg op kleine apparaten', + + 'ALIGN_LEFT' => 'Tekst met links uitgelijnd', + 'ALIGN_CENTER' => 'Gecentreerde tekst', + 'ALIGN_RIGHT' => 'Rechts uitgelijnd tekst', + 'NO_PADDING' => 'No padding', + 'LABEL' => 'Omschrijving', + 'BADGE' => 'Badge', + 'PRIMARY_COLOR' => 'Primaire kleur', + 'SECONDARY_COLOR' => 'Secundaire kleur', + 'GRAYSCALE_COLOR' => 'Grayscale', + 'INFO_COLOR' => 'Informatie', + 'SUCCESS_COLOR' => 'Geslaagd', + 'WARNING_COLOR' => 'Waarschuwing', + 'DANGER_COLOR' => 'Gevaarlijk', +)); diff --git a/language/nl/exceptions.php b/language/nl/exceptions.php new file mode 100644 index 000000000000..ef25aa0c5c1b --- /dev/null +++ b/language/nl/exceptions.php @@ -0,0 +1,49 @@ + 'Verplicht veld ontbreekt', + 'EXCEPTION_INVALID_ACTION' => 'De actie bestaat niet', + 'EXCEPTION_INVALID_ARGUMENT' => 'Ongeldig argument opgegeven voor `%1$s`. Reden: %2$s', + 'EXCEPTION_INVALID_DATA_TYPE' => 'De verstrekte waarde is van een onverwacht gegevenstype', + 'EXCEPTION_INVALID_ENTITY' => 'De verstrekte entiteit is van een onverwachte entiteit klasse', + 'EXCEPTION_INVALID_PROPERTY' => 'De gevraagde eigenschap bestaat niet', + 'EXCEPTION_OUT_OF_BOUNDS' => 'De opgevraagde%1$s` bestaat niet', + 'EXCEPTION_SERVICE_NOT_FOUND' => 'De gevraagde service is niet gevonden', + 'EXCEPTION_UNEXPECTED_VALUE' => 'De gevraagde actie `%1$s` kon niet worden uitgevoerd. Reden: %2$s', +)); diff --git a/language/nl/ext.php b/language/nl/ext.php new file mode 100644 index 000000000000..780c31b1c489 --- /dev/null +++ b/language/nl/ext.php @@ -0,0 +1,42 @@ + 'De phpBB afbeeldingenmap is niet schrijfbaar. Wijzig de rechten om te beschrijven voor alle (777 of -rwxrwxrwx binnen uw FTP Client)', + 'PHPBB_VERSION_UNMET' => 'Deze extensie vereist ten minste phpBB %s', +)); diff --git a/language/nl/feed_fields.php b/language/nl/feed_fields.php new file mode 100644 index 000000000000..7565e83a0d0d --- /dev/null +++ b/language/nl/feed_fields.php @@ -0,0 +1,108 @@ + 'auteur', + 'AUTHORS' => 'auteurs (array)', + 'BITRATE' => 'bitrate', + 'CAPTIONS' => 'bijschriften', + 'CATEGORIES' => 'categorieën (array)', + 'CATEGORY' => 'categorie', + 'CHANNELS' => 'kanalen', + 'CONTENT' => 'inhoud', + 'CONTRIBUTOR' => 'bijdrager', + 'CONTRIBUTORS' => 'bijdragers (array)', + 'COPYRIGHT' => 'auteursrechten', + 'CREDITS' => 'credits', + 'DATE' => 'datum', + 'DESCRIPTION' => 'beschrijving', + 'DURATION' => 'duur', + 'ENCLOSURE' => 'kast', + 'ENCLOSURES' => 'kasten (array)', + 'EXPRESSION' => 'expressie', + 'FEED' => 'feed', + 'FRAMERATE' => 'framerate', + 'GMDATE' => 'GM datum', + 'HANDLER' => 'handler', + 'HASHES' => 'hashes', + 'HEIGHT' => 'hoogte', + 'ID' => 'id', + 'IMAGE_HEIGHT' => 'hoogte afbeelding', + 'IMAGE_LINK' => 'link naar afbeelding', + 'IMAGE_TITLE' => 'titel afbeelding', + 'IMAGE_URL' => 'afbeelding url', + 'IMAGE_WIDTH' => 'breedte afbeelding', + 'ITEMS' => 'artikelen', + 'JAVASCRIPT' => 'javascript', + 'KEYWORDS' => 'trefwoorden', + 'LABEL' => 'Label', + 'LANG' => 'lang', + 'LATITUDE' => 'breedtegraad', + 'LENGTH' => 'Lengte', + 'LINK' => 'koppeling', + 'LINKS' => 'koppelingen', + 'LONGITUDE' => 'lengtegraad', + 'MEDIUM' => 'gemiddeld', + 'NAME' => 'Naam', + 'PERMALINK' => 'permalink', + 'PLAYER' => 'speler', + 'RATINGS' => 'waarderingen', + 'RELATIONSHIP' => 'relatie', + 'RESTRICTIONS' => 'beperkingen (array)', + 'SAMPLINGRATE' => 'sampling snelheid', + 'SCHEME' => 'schema', + 'SOURCE' => 'bron', + 'TERM' => 'term', + 'THUMBNAILS' => 'thumbnails', + 'TITLE' => 'Titel', + 'TYPE' => 'type', + 'UPDATED_DATE' => 'datum bijgewerkt', + 'UPDATED_GMDATE' => 'wijzigde GM datum', + 'VALUE' => 'waarde', + 'WIDTH' => 'width', +)); diff --git a/language/nl/icons.php b/language/nl/icons.php new file mode 100644 index 000000000000..ef0ba3c39719 --- /dev/null +++ b/language/nl/icons.php @@ -0,0 +1,71 @@ + 'Toegankelijkheid', + 'ICON_ARROWS' => 'Pijlen', + 'ICON_BRAND' => 'Merk', + 'ICON_CHART' => 'Grafiek', + 'ICON_CURRENCY' => 'valuta', + 'ICON_DIRECTIONAL' => 'Richting', + 'ICON_FILE_TYPE' => 'Type bestand', + 'ICON_FORM_CONTROL' => 'Formulier besturing', + 'ICON_GENDER' => 'Geslacht', + 'ICON_HAND' => 'Hand', + 'ICON_MEDICAL' => 'Medisch', + 'ICON_PAYMENT' => 'Betaling', + 'ICON_SPINNER' => 'Spinner', + 'ICON_TEXT_EDITOR' => 'Tekst Editor', + 'ICON_TRANSPORTATION' => 'Vervoer', + 'ICON_VIDEO_PLAYER' => 'Video speler', + 'ICON_WEB_APPLICATION' => 'Web Applicatie', + + 'ICON_COLOR' => 'Kleur', + 'ICON_DEFAULT' => 'Standaard', + 'ICON_FLIP_BOTH' => 'Beide spiegelen', + 'ICON_FLIP_HORIZONTAL' => 'Horizontaal spiegelen', + 'ICON_FLIP_VERTICAL' => 'Spiegelen verticaal', + 'ICON_FLOAT' => 'Uitlijning', + 'ICON_FLOAT_LEFT' => 'Linkerkant', + 'ICON_FLOAT_RIGHT' => 'Rechterkant', + 'ICON_FONT' => 'Font Icons', + 'ICON_INSERT_UPDATE' => 'Insert/Update', + 'ICON_MISC' => 'Diversen', + 'ICON_MISC_BORDERED' => 'Gesorteerd', + 'ICON_MISC_FIXED_WIDTH' => 'Vaste breedte', + 'ICON_MISC_PULSE' => 'Pulseer', + 'ICON_MISC_SPINNING' => 'Spinnen', + 'ICON_ROTATION' => 'Rotatie', + 'ICON_ROTATE_90' => '90°', + 'ICON_ROTATE_180' => '180°', + 'ICON_ROTATE_270' => '270°', + 'ICON_SIZE' => 'Grootte', + 'ICON_SIZE_LG' => 'Groter', + 'ICON_SIZE_SM' => 'Klein', + 'ICON_SIZE_2X' => '2x', + 'ICON_SIZE_3X' => '3x', + 'ICON_SIZE_4X' => '4', + 'ICON_SIZE_5X' => '5x', + + 'NO_ICON' => 'Geen icoon', +)); diff --git a/language/nl/info_acp_menus.php b/language/nl/info_acp_menus.php new file mode 100644 index 000000000000..88643cb7ecda --- /dev/null +++ b/language/nl/info_acp_menus.php @@ -0,0 +1,92 @@ + 'Menu', + 'ACP_MENU_MANAGE' => 'Menu beheer', + 'ACP_MENU_MANAGE_EXPLAIN' => 'Hier kunt u menu\'s voor uw site maken en beheren', + 'ADD_BULK_MENU' => 'Bulk menu-items toevoegen', + 'ADD_BULK_MENU_EXPLAIN' => 'Meerdere menu-items tegelijk toevoegen.
- Plaats elk item op een aparte regel
- Gebruik de Tab toets om items in te laten springen om ouder-onderliggende relaties te vertegenwoordigen
- Voer item en URL zoals bijvoorbeeld Homedad index.php', + 'ADD_MENU' => 'Menu toevoegen', + 'ADD_MENU_ITEM' => 'Menu-item toevoegen', + 'ADD_ITEM' => 'Nieuw item toevoegen', + 'AJAX_PROCESSING' => 'Werken', + + 'CHANGE_ME' => 'Verander mij', + + 'DELETE_ITEM' => 'Item verwijderen', + 'DELETE_KIDS' => 'Aftakking verwijderen', + 'DELETE_MENU' => 'Verwijder Menu', + 'DELETE_MENU_CONFIRM' => 'Weet u zeker dat u dit menu wilt verwijderen?
Dit zal het menu en alle items verwijderen', + 'DELETE_MENU_ITEM' => 'Item verwijderen', + 'DELETE_MENU_ITEM_CONFIRM' => 'Weet je zeker dat je dit menu-item wilt verwijderen?', + 'DELETE_SELECTED' => 'Geselecteerde verwijderen', + + 'EDIT_ITEM' => 'Item bewerken', + + 'ITEM_ACTIVE' => 'actief', + 'ITEM_INACTIVE' => 'Inactief', + 'ITEM_PARENT' => 'Bovenliggende', + 'ITEM_TITLE' => 'Artikel titel', + 'ITEM_TITLE_EXPLAIN' => 'Instellen als \'\' voor de deler', + 'ITEM_TARGET' => 'Item Target', + 'ITEM_URL' => 'Artikel URL', + 'ITEM_URL_EXPLAIN' => '- Laat leeg voor kopteksten
- Externe websites moeten beginnen met http(s)://, ftp://, //, etc', + + 'MENU_ITEMS' => 'Menu items', + + 'NO_MENU_ITEMS' => 'Er zijn geen menu-items aangemaakt', + 'NO_PARENT' => 'Geen bovenliggende pagina', + + 'PROCESSING_ERROR' => 'Fout bij verwerken', + + 'REBUILD_TREE' => 'Boom opnieuw opbouwen', + 'REQUIRED' => 'vereist', + 'REQUIRED_FIELDS' => '* Verplichte velden', + + 'SAVE_CHANGES' => 'Wijzigingen opslaan', + 'SAVE' => 'Opslaan', + 'SELECT_ALL' => 'Alles selecteren', + + 'TARGET_BLANK' => 'Lege pagina', + 'TARGET_PARENT' => 'Bovenliggende', + + 'UNSAVED_CHANGES' => 'Je hebt niet-opgeslagen wijzigingen', + + 'VISIT_PAGE' => 'Pagina bezoeken', +)); diff --git a/language/nl/info_acp_settings.php b/language/nl/info_acp_settings.php new file mode 100644 index 000000000000..730da7242cc9 --- /dev/null +++ b/language/nl/info_acp_settings.php @@ -0,0 +1,74 @@ + 'SiteMaker', + 'ACP_SM_SETTINGS' => 'Instellingen', + + 'BLOCKS_CLEANUP' => 'Blokken Opruimen', + 'BLOCKS_CLEANUP_EXPLAIN' => 'De volgende items blijken niet langer te bestaan of onbereikbaar te zijn, en je kunt daarom alle blokken die eraan gekoppeld zijn verwijderen. Houdt u er alstublieft rekening mee dat sommige van deze misschien onjuiste positieve punten zijn', + 'BLOCKS_CLEANUP_BLOCKS' => 'Ongeldige blokken (bijvoorbeeld uit gedeïnstalleerde extensies):', + 'BLOCKS_CLEANUP_ROUTES' => 'Onbereikbare/kapotte pagina\'s:', + 'BLOCKS_CLEANUP_STYLES' => 'Gedeïnstalleerde stijlen (ids):', + 'BLOCKS_CLEANUP_SUCCESS' => 'Blokken succesvol verwijderd', + + 'FORUM_INDEX_SETTINGS' => 'Forum Index Instellingen', + 'FORUM_INDEX_SETTINGS_EXPLAIN' => 'Deze instellingen worden alleen toegepast wanneer er geen startpagina gedefinieerd is', + + 'HIDE' => 'Verbergen', + 'HIDE_BIRTHDAY' => 'Verjaardag sectie verbergen', + 'HIDE_LOGIN' => 'Inlogvak verbergen', + 'HIDE_ONLINE' => 'Wie online sectie verbergen', + + 'LAYOUT_BLOG' => 'Blog', + 'LAYOUT_CUSTOM' => 'Aangepaste', + 'LAYOUT_HOLYGRAIL' => 'Heilige Graal', + 'LAYOUT_PORTAL' => 'Portaal', + 'LAYOUT_PORTAL_ALT' => 'Portaal (alt)', + 'LAYOUT_SETTINGS' => 'Instellingen schermindeling', + + 'LOG_DELETED_BLOCKS_FOR_STYLE' => 'Sitemaker blokken verwijderd voor ontbrekende stijl met id %s', + 'LOG_DELETED_BLOCKS_FOR_ROUTE' => 'Sitemaker blokken verwijderd voor gebroken pagina\'s:
%s', + 'LOG_DELETED_BLOCKS' => 'Ongeldige Sitemaker blokken verwijderd:
%s', + + 'NAVIGATION_SETTINGS' => 'Navigatie instellingen', + + 'SETTINGS_SAVED' => 'Uw instellingen zijn opgeslagen', + 'SHOW' => 'Weergeven', + 'SHOW_FORUM_NAV' => 'Toon \'Forum\' in de navigatiebalk?', + 'SHOW_FORUM_NAV_EXPLAIN' => 'Als een pagina is ingesteld als startpagina in plaats van de forumindex, moeten we \'Forum\' in de navigatiebalk weergeven', + 'SHOW_FORUM_NAV_WITH_ICON' => 'Ja - met pictogram:', +]); diff --git a/language/nl/navbar_manager.php b/language/nl/navbar_manager.php new file mode 100644 index 000000000000..d79fd6abb6d4 --- /dev/null +++ b/language/nl/navbar_manager.php @@ -0,0 +1,79 @@ + 'Actief element', + 'BORDER' => 'Border', + 'BORDER_COLOR' => 'Rand kleur', + 'BORDER_RADIUS' => 'Rand Straal', + 'BORDER_WIDTH' => 'Border Width', + 'BOTTOM' => 'Onderaan', + 'BOTTOM_LEFT' => 'Links onder', + 'BOTTOM_RIGHT' => 'Rechts onder', + 'CAPITALIZE' => 'Kapitaliseren', + 'COLOR' => 'Kleur', + 'DIVIDERS' => 'Verdelers', + 'END' => 'Beëindigen', + 'GRADIENT' => 'Kleurovergang', + 'HEADERS' => 'Kopteksten', + 'HOVER' => 'Hover', + 'LEFT' => 'Linkerkant', + 'LOWERCASE' => 'Kleinere', + 'MARGIN' => 'Marge', + 'NAVBAR' => 'Navigatiebalk', + 'NAVBAR_MENU' => 'Navbar menu', + 'NAVBAR_DROPDOWN' => 'Uitklapmenu', + 'NAVBAR_LOCATION' => 'Locatie', + 'NAVBAR_LOCATION_OPTION' => 'Locatie #%s', + 'NAVBAR_TOP_MENU' => 'Top menu', + 'NONE' => 'geen', + 'PADDING' => 'Padding', + 'RESPONSIVE_TOGGLE' => 'Responsieve schakelaar', + 'RESPONSIVE_TOGGLE_EXPLAIN' => 'Alleen zichtbaar op kleine (mobiele) schermen', + 'RIGHT' => 'Rechterkant', + 'SAVE' => 'Opslaan', + 'SIZE' => 'Grootte', + 'START' => 'Beginnen', + 'TEXT' => 'Tekstveld', + 'TOP' => 'Bovenkant', + 'TOP_LEFT' => 'Links boven', + 'TOP_RIGHT' => 'Rechts boven', + 'TRANSFORM' => 'Transformeren', + 'UPPERCASE' => 'Hoofdletters', +)); diff --git a/language/nl/permissions_sitemaker.php b/language/nl/permissions_sitemaker.php new file mode 100644 index 000000000000..237da3fc16f2 --- /dev/null +++ b/language/nl/permissions_sitemaker.php @@ -0,0 +1,45 @@ + '[ SiteMaker ] Kan instellingen beheren', + 'ACL_A_SM_MANAGE_BLOCKS' => '[ SiteMaker ] Kan blokken beheren', + 'ACL_A_SM_MANAGE_MENUS' => '[ SiteMaker ] Kan menu\'s beheren', +)); diff --git a/language/pl/block_manager.php b/language/pl/block_manager.php new file mode 100644 index 000000000000..f41043775de4 --- /dev/null +++ b/language/pl/block_manager.php @@ -0,0 +1,123 @@ + '*Przeciągnij i upuść bloki', + 'AJAX_ERROR' => 'Ups! Wystąpił błąd podczas przetwarzania żądania. Spróbuj ponownie.', + 'AJAX_LOADING' => 'Ładowanie...', + 'AJAX_PROCESSING' => 'Pracuję...', + + 'BACKGROUND' => 'Kontekst', + 'BLOCKS' => 'Bloki', + 'BLOCKS_COPY_FROM' => 'Kopiuj bloki', + 'BLOCK_ACTIVE' => 'Aktywne', + 'BLOCK_CHILD_ROUTES_ONLY' => 'Pokaż tylko na trasach podrzędnych', + 'BLOCK_CHILD_ROUTES_HIDE' => 'Ukryj na trasach podrzędnych', + 'BLOCK_CLASS' => 'Klasa CSS', + 'BLOCK_CLASS_EXPLAIN' => 'Modyfikuj wygląd bloku za pomocą klas CSS', + 'BLOCK_DESIGN' => 'Wygląd', + 'BLOCK_DISPLAY_TYPE' => 'Wyświetlanie', + 'BLOCK_HIDE_TITLE' => 'Ukryj tytuł bloku?', + 'BLOCK_INACTIVE' => 'Nieaktywny', + 'BLOCK_MISSING_TEMPLATE' => 'Brakuje wymaganego szablonu bloków. Skontaktuj się z programistą', + 'BLOCK_NOT_FOUND' => 'Ups! Żądana usługa bloków nie została znaleziona', + 'BLOCK_NO_DATA' => 'Brak danych do wyświetlenia', + 'BLOCK_NO_ID' => 'Ups! Brakuje identyfikatora bloku', + 'BLOCK_PERMISSION' => 'Uprawnienie', + 'BLOCK_PERMISSION_ALLOW' => 'Pokaż dla', + 'BLOCK_PERMISSION_DENY' => 'Ukryj przed', + 'BLOCK_PERMISSION_EXPLAIN' => 'Użyj CTRL + kliknięcie, aby przełączyć wybór', + 'BLOCK_SHOW_ALWAYS' => 'Zawsze', + 'BLOCK_STATUS' => 'Status', + 'BLOCK_UPDATED' => 'Ustawienia bloku zostały pomyślnie zaktualizowane', + + 'CANCEL' => 'Anuluj', + 'CHILD_ROUTE' => 'Dziecko', + 'CHILD_ROUTE_EXPLAIN' => '/viewforum.php, /dir/index.php
/viewtopic.php?f=2&t=1
/articles/my-article', + 'CLEAR' => 'Wyczyść', + 'COPY' => 'Kopiuj', + 'COPY_BLOCKS' => 'Skopiować bloki?', + 'COPY_BLOCKS_CONFIRM' => 'Czy na pewno chcesz skopiować bloki z innej strony?

Spowoduje to usunięcie wszystkich istniejących bloków i ich ustawień dla tej strony i zastąpienie ich blokami z wybranej strony.', + + 'DEFAULT_LAYOUT_EXPLAIN' => 'Jeśli ustawione, wszystkie strony witryny, dla których nie masz określonych bloków, odziedziczą bloki z domyślnego układu. Możesz jednak nadpisać domyślny układ dla poszczególnych stron za pomocą opcji po prawej.', + 'DELETE' => 'Usuń', + 'DELETE_ALL_BLOCKS' => 'Usuń wszystkie bloki', + 'DELETE_ALL_BLOCKS_CONFIRM' => 'Czy na pewno chcesz usunąć wszystkie bloki dla tej strony?', + 'DELETE_BLOCK' => 'Usuń blok', + 'DELETE_BLOCK_CONFIRM' => 'Czy na pewno chcesz usunąć ten blok?


Uwaga: Będziesz musiał zapisać zmiany układu, aby ten układ stał się stały.', + + 'EDIT' => 'Edytuj', + 'EDIT_BLOCK' => 'Edytuj blok', + 'EXIT_EDIT_MODE' => 'Wyjdź z trybu edycji', + + 'FEED_PROBLEMS' => 'Wystąpił błąd podczas przetwarzania podanego kanału rss/atom', + 'FEED_URL_MISSING' => 'Proszę podać co najmniej jeden kanał rss/atom na początek', + 'FIELD_INVALID' => 'Podana wartość dla pola “%s” ma nieprawidłowy format', + 'FIELD_REQUIRED' => '"%s" jest wymaganym polem', + 'FIELD_TOO_LONG' => 'Podana wartość dla pola "%1$s" jest zbyt długa. Maksymalna dopuszczalna wartość to %2$d.', + 'FIELD_TOO_SHORT' => 'Podana wartość pola "%1$s" jest zbyt krótka. Minimalna dopuszczalna wartość to %2$d.', + + 'HIDE_ALL_BLOCKS' => 'Nie pokazuj bloków na tej stronie', + 'HIDE_BLOCK_POSITIONS' => 'Nie pokazuj bloków dla następujących pozycji bloku:', + + 'IMAGES' => 'Obrazy', + + 'LAYOUT' => 'Układ', + 'LAYOUT_SAVED' => 'Układ zapisany pomyślnie!', + 'LAYOUT_SETTINGS' => 'Ustawienia układu', + 'LEAVE_CONFIRM' => 'Masz niezapisane zmiany na tej stronie. Zapisz swoją pracę przed przejściem', + 'LISTS' => 'Listy', + + 'MAKE_DEFAULT_LAYOUT' => 'Ustaw jako domyślny układ', + + 'OR' => 'LUB', + + 'PARENT_ROUTE' => 'Rodzic', + 'PARENT_ROUTE_EXPLAIN' => '/index.php
/viewforum.php?f=2
/articles', + 'PREDEFINED_CLASSES' => 'Predefiniowane klasy', + + 'REDO' => 'Ponów', + 'REMOVE_DEFAULT_LAYOUT' => 'Usuń jako domyślny układ', + 'REMOVE_STARTPAGE' => 'Usuń stronę startową', + 'ROUTE_HIDDEN_BLOCKS' => 'Bloki są ukryte dla tej strony', + 'ROUTE_HIDDEN_POSITIONS' => 'Bloki są ukryte dla następujących pozycji', + 'ROUTE_UPDATED' => 'Ustawienia strony zostały pomyślnie zaktualizowane', + + 'SAVE_CHANGES' => 'Zapisz zmiany', + 'SAVE_SETTINGS' => 'Zapisz ustawienia', + 'SELECT_ICON' => 'Wybierz ikonę', + 'SETTINGS' => 'Ustawienia', + 'SETTING_TOO_BIG' => 'Podana wartość dla ustawienia "%1$s" jest zbyt wysoka. Maksymalna dopuszczalna wartość to %2$d.', + 'SETTING_TOO_LONG' => 'Podana wartość dla ustawienia "%1$s" jest zbyt długa. Maksymalna dopuszczalna długość to %2$d.', + 'SETTING_TOO_LOW' => 'Podana wartość dla ustawienia "%1$s" jest zbyt niska. Minimalna dopuszczalna wartość to %2$d.', + 'SETTING_TOO_SHORT' => 'Podana wartość dla ustawienia "%1$s" jest zbyt krótka. Minimalna dopuszczalna długość to %2$d.', + 'SET_STARTPAGE' => 'Ustaw jako stronę startową', + + 'TITLES' => 'Tytuły', + + 'UPDATE_SIMILAR' => 'Aktualizuj bloki z podobnymi ustawieniami', + 'UNDO' => 'Cofnij', + + 'VIEW_DEFAULT_LAYOUT' => 'Wyświetlanie/Edytuj domyślny układ', + 'VISIT_PAGE' => 'Odwiedź stronę', +)); diff --git a/language/pl/blocks_admin.php b/language/pl/blocks_admin.php new file mode 100644 index 000000000000..2477f6ca2fdd --- /dev/null +++ b/language/pl/blocks_admin.php @@ -0,0 +1,189 @@ + 'Wszystkie typy', + 'ALL_GROUPS' => 'Wszystkie grupy', + 'ARCHIVES' => 'Archiwum', + 'AUTO_LOGIN' => 'Zezwolić na automatyczne logowanie?', + 'FILE_MANAGER' => 'Menedżer plików', + 'TOPIC_POST_IDS' => 'Z ID tematu/postów', + 'TOPIC_POST_IDS_EXPLAIN' => 'Id(i) wątków/postów do pobrania załączników, oddzielone przecinkami(,). Określ czy ta lista jest dla tematu lub id postów powyżej.', + 'TOPIC_POST_IDS_TYPE' => 'Typ identyfikatorów (poniżej)', + + // Blocks + 'BLITZE_SITEMAKER_BLOCK_ATTACHMENTS' => 'Załączniki', + 'BLITZE_SITEMAKER_BLOCK_BIRTHDAY' => 'Urodziny', + 'BLITZE_SITEMAKER_BLOCK_CUSTOM' => 'Własny blok', + 'BLITZE_SITEMAKER_BLOCK_FEATURED_MEMBER' => 'Polecany użytkownik', + 'BLITZE_SITEMAKER_BLOCK_FEEDS' => 'Kanały RSS/Atom', + 'BLITZE_SITEMAKER_BLOCK_FORUM_POLL' => 'Ankieta na forum', + 'BLITZE_SITEMAKER_BLOCK_FORUM_TOPICS' => 'Tematy forum', + 'BLITZE_SITEMAKER_BLOCK_GOOGLE_MAPS' => 'Mapy Google', + 'BLITZE_SITEMAKER_BLOCK_POPULAR_TOPICS' => 'Popularne tematy', + 'BLITZE_SITEMAKER_BLOCK_LINKS' => 'Linki', + 'BLITZE_SITEMAKER_BLOCK_LOGIN' => 'Pole logowania', + 'BLITZE_SITEMAKER_BLOCK_MEMBERS' => 'Członkowie', + 'BLITZE_SITEMAKER_BLOCK_MEMBER_MENU' => 'Menu użytkownika', + 'BLITZE_SITEMAKER_BLOCK_MENU' => 'Menu', + 'BLITZE_SITEMAKER_BLOCK_MYBOOKMARKS' => 'Moje zakładki', + 'BLITZE_SITEMAKER_BLOCK_RECENT_TOPICS' => 'Ostatnie tematy', + 'BLITZE_SITEMAKER_BLOCK_STATS' => 'Statystyki', + 'BLITZE_SITEMAKER_BLOCK_STYLE_SWITCHER' => 'Przełącznik stylu', + 'BLITZE_SITEMAKER_BLOCK_WHATS_NEW' => 'Co nowego?', + 'BLITZE_SITEMAKER_BLOCK_WHOIS' => 'Kto jest online', + 'BLITZE_SITEMAKER_BLOCK_WORDGRAPH' => 'Wykres słów', + + // block views + 'BLOCK_VIEW' => 'Widok bloku', + 'BLOCK_VIEW_BASIC' => 'Podstawowe', + 'BLOCK_VIEW_BOXED' => 'Pudełko', + 'BLOCK_VIEW_DEFAULT' => 'Domyślny', + 'BLOCK_VIEW_SIMPLE' => 'Prosty', + + 'CACHE_DURATION' => 'Czas trwania pamięci podręcznej', + 'CONTEXT' => 'Kontekst', + 'CSS_SCRIPTS' => 'CSS Scripts', + 'CUSTOM_PROFILE_FIELDS' => 'Własne pola profilu', + + 'DATE_RANGE' => 'Date Range', + 'DISPLAY_PREVIEW' => 'Wyświetlać podgląd?', + + 'EDIT_ME' => 'Proszę edytować mnie', + 'ENABLE_TOPIC_TRACKING' => 'Włączyć śledzenie tematu?', + 'ENABLE_TOPIC_TRACKING_EXPLAIN' => 'Jeśli włączone, nieprzeczytane tematy zostaną wskazane, ale wyniki bloku nie będą buforowane (Nie zalecane)', + 'EXCLUDE_TOO_MANY_WORDS' => 'Wprowadziłeś zbyt wiele słów, aby je wykluczyć. Maksymalna możliwa liczba znaków to 255, wpisałeś %s.', + 'EXCLUDE_WORDS' => 'Wyklucz słowa', + 'EXCLUDE_WORDS_EXPLAIN' => 'Wymień słowa, które chcesz wykluczyć z wykresu słów oddzielonego przecinkiem (,). Maksymalnie 255 znaków.', + 'EXPANDED' => 'Rozszerzone', + 'EXTENSION_GROUP' => 'Grupa rozszerzeń', + + 'FEATURED_MEMBER_IDS' => 'ID użytkownika', + 'FEATURED_MEMBER_IDS_EXPLAIN' => 'Oddzielona przecinkami lista użytkowników do funkcji (dotyczy tylko trybu wyświetlania polecanych użytkowników)', + 'FEED_DATA_PREVIEW' => 'Dane RSS', + 'FEED_ITEM_TEMPLATE' => 'Szablon Produktu', + 'FEED_ITEM_TEMPLATE_EXPLAIN' => 'TIPS:
+
    +
  • Access feed data in item variable e.g. item.title
  • +
  • Template must be in Twig syntax
  • +
  • Click Samples above for sample templates
  • +
  • Use get_item_tags($namespace, $tag) to get any tag from the feed that we do not provide e.g.
    {{ get_item_tags(\'\', \'image\') }}
  • +
  • Use Twig’s json_encode filter to see contents of array e.g. {{ get_item_tags(\'\', \'image\')|json_encode() }}
  • +
', + 'FEED_PREVIEW_SOURCE' => 'Źródło', + 'FEED_URL_PLACEHOLDER' => 'http://example.com/rss', + 'FEED_URLS' => 'Adres URL kanału', + 'FIRST_POST_ONLY' => 'Tylko pierwszy post', + 'FIRST_POST_TIME' => 'Pierwszy czas po', + 'FORUMS_GET_TYPE' => 'Pobierz typ', + 'FORUMS_MAX_TOPICS' => 'Maksymalna liczba tematów/postów', + 'FORUMS_TITLE_MAX_CHARS' => 'Maksymalna liczba znaków na tytuł', + 'FREQUENCY' => 'Częstotliwość', + 'FULL' => 'Pełna', + 'FULLSCREEN' => 'Pełny ekran', + + 'GET_TYPE' => 'Wyświetlić temat/post?', + + 'HTML' => 'HTML', + 'HTML_EXPLAIN' => 'Użyj tego obszaru tekstowego, aby wprowadzić surową zawartość HTML.
Pamiętaj, że każda zawartość zamieszczona tutaj nadpisze niestandardową zawartość bloku, a edytor bloków wizualnych nie będzie dostępny.', + 'HOURS_SHORT' => 'godz.', + + 'JS_SCRIPTS' => 'Skrypty JS', + + 'LAST_POST_TIME' => 'Ostatni czas', + 'LAST_READ_TIME' => 'Czas ostatniego czytania', + 'LIMIT' => 'Ograniczenie', + 'LIMIT_FORUMS' => 'Identyfikatory forum (opcjonalne)', + 'LIMIT_FORUMS_EXPLAIN' => 'Wprowadź identyfikator każdego forum oddzielony przecinkiem (,). Jeśli ustawione, wyświetlane będą tylko tematy z określonych forów.', + 'LIMIT_POST_TIME' => 'Ogranicz przez czas wysyłania wiadomości', + 'LIMIT_POST_TIME_EXPLAIN' => 'Jeśli ustawione, tylko tematy opublikowane w określonym okresie będą pobierane', + + 'MAX_DEPTH' => 'Maksymalna głębokość', + 'MAX_ITEMS' => 'Maksymalna liczba elementów', + 'MAX_MEMBERS' => 'Maksymalna liczba członków', + 'MAX_POSTS' => 'Maksymalna liczba postów', + 'MAX_TOPICS' => 'Maksymalna liczba tematów', + 'MAX_WORDS' => 'Maksymalna liczba słów', + 'MANAGE_MENUS' => 'Zarządzaj menu', + 'MAP_COORDINATES' => 'Współrzędne', + 'MAP_COORDINATES_EXPLAIN' => 'Wprowadź współrzędne w postaci szerokości geograficznej, długość geograficzna', + 'MAP_HEIGHT' => 'Wysokość', + 'MAP_LOCATION' => 'Lokalizacja', + 'MAP_TITLE' => 'Rozporządzenie Rady (EWG) nr 2658/87 z dnia 23 lipca 1987 r. w sprawie nomenklatury taryfowej i statystycznej oraz w sprawie Wspólnej Taryfy Celnej (Dz.U. L 256 z 7.9.1987, s. 1).', + 'MAP_VIEW' => 'Widok', + 'MAP_VIEW_HYBRID' => 'Hybrydowe', + 'MAP_VIEW_MAP' => 'Mapa', + 'MAP_VIEW_SATELITE' => 'Satelita', + 'MAP_VIEW_TERRAIN' => 'Terrain', + 'MAP_ZOOM_LEVEL' => 'Poziom powiększenia', + 'MEMBERS_DATE' => 'Data', + 'MENU_NO_ITEMS' => 'Brak aktywnych elementów do wyświetlenia', + 'MINI' => 'Mini', + + 'OR' => 'LUB', + 'ORDER_BY' => 'Sortuj według', + + 'POLL_FROM_FORUMS' => 'Wyświetlaj ankiety z forów', + 'POLL_FROM_FORUMS_EXPLAIN' => 'Tylko ankiety z wybranych forów będą wyświetlane tak długo, jak nie określono tematów powyżej', + 'POLL_FROM_GROUPS' => 'Wyświetl ankiety z grup(y)', + 'POLL_FROM_GROUPS_EXPLAIN' => 'Tylko ankiety od członków wybranych grup będą wyświetlane tak długo, jak żaden użytkownik jest/nie są określone powyżej', + 'POLL_FROM_TOPICS' => 'Wyświetlaj ankiety z tematów', + 'POLL_FROM_TOPICS_EXPLAIN' => 'Id(i) wątków do pobrania ankiet, oddzielone przecinkami (,). Pozostaw puste, aby wybrać dowolny wątek.', + 'POLL_FROM_USERS' => 'Wyświetl ankiety od użytkownika(ów)', + 'POLL_FROM_USERS_EXPLAIN' => 'Id(y) użytkownika(ów) których ankiety chcesz wyświetlić, oddzielone przecinkami(,). Pozostaw puste, aby wybrać ankiety od dowolnego użytkownika.', + 'POSTS_TITLE_LIMIT' => 'Maksymalnie # znaków dla tytułu wpisu', + 'PREVIEW_MAX_CHARS' => 'Liczba znaków do podglądu', + + 'QUERY_TYPE' => 'Tryb wyświetlania', + + 'ROTATE_DAILY' => 'Codziennie', + 'ROTATE_HOURLY' => 'Godzina', + 'ROTATE_MONTHLY' => 'Miesięczny', + 'ROTATE_PAGELOAD' => 'Wczytywanie strony', + 'ROTATE_WEEKLY' => 'Tygodniowo', + + 'SAMPLES' => 'Próbki', + 'SCRIPTS' => 'Skrypty', + 'SELECT_FORUMS' => 'Wybierz fora', + 'SELECT_FORUMS_EXPLAIN' => 'Wybierz fora, z których chcesz wyświetlać wątki/posty. Pozostaw puste, aby wybrać spośród wszystkich forów', + 'SELECT_MENU' => 'Wybierz menu', + 'SELECT_PROFILE_FIELDS' => 'Wybierz pola profilu', + 'SELECT_PROFILE_FIELDS_EXPLAIN' => 'Wyświetlane będą tylko wybrane pola profilowe, jeśli są dostępne.', + 'SHOW_FIRST_POST' => 'Pierwszy post', + 'SHOW_HIDE_ME' => 'Zezwolić na ukrycie stanu online?', + 'SHOW_LAST_POST' => 'Ostatni post', + 'SHOW_MEMBER_MENU' => 'Pokazać menu użytkownika?', + 'SHOW_MEMBER_MENU_EXPLAIN' => 'Zastąp pole logowania menu użytkownika, jeśli użytkownik jest zalogowany', + 'SHOW_WORD_COUNT' => 'Pokazać licznik słow?', + + 'TEMPLATE' => 'Szablon', + 'TOPIC_TITLE_LIMIT' => 'Maksymalnie # znaków dla tytułu tematu', + 'TOPIC_TYPE' => 'Typ tematu', + 'TOPIC_TYPE_EXPLAIN' => 'Wybierz typy tematów, które chcesz wyświetlić. Pozostaw pola odznaczone, aby wybrać spośród wszystkich typów tematów', + 'TOPICS_LOOK_BACK' => 'Spójrz z powrotem', + 'TOPICS_ONLY' => 'Tylko tematy?', + 'TOPICS_PER_PAGE' => 'Na stronę', + + 'WORD_MAX_SIZE' => 'Maksymalny rozmiar czcionki', + 'WORD_MIN_SIZE' => 'Minimalny rozmiar czcionki', +)); diff --git a/language/pl/common.php b/language/pl/common.php new file mode 100644 index 000000000000..41db436320c7 --- /dev/null +++ b/language/pl/common.php @@ -0,0 +1,97 @@ + 'Cały czas', + + 'BLOCK_TITLE' => 'Tytuł bloku', + + 'CHANGE_ME' => 'Zmień', + + 'DAILY_MEMBER' => 'Członek dnia', + + 'FEATURED_MEMBER' => 'Polecany użytkownik', + 'FEATURED_MEMBERLIST' => 'Lista wyróżnionych użytkowników', + 'FEEDS' => 'Kanały', + 'FORUM_ANNOUNCEMENTS' => 'Ogłoszenia forum', + 'FORUM_GLOBAL_ANNOUNCEMENTS' => 'Ogłoszenia o globalnym forum', + 'FORUM_RECENT_POSTS' => 'Ostatnie posty na forum', + 'FORUM_RECENT_TOPICS' => 'Najnowsze tematy forum', + 'FORUM_STICKY_POSTS' => 'Ostatnie przyklejone posty', + + 'HELP' => 'Pomoc', + 'HOURLY_MEMBER' => 'Członek godziny', + + 'GOOGLE_MAP' => 'Mapa Google', + + 'JOIN_DATE' => 'Data dołączenia', + + 'LAST_POST_BY_AUTHOR' => 'Ostatni post przez', + 'LAST_VISITED' => 'Ostatnio odwiedzone', + 'LINKS' => 'Linki', + + 'MCP_SITEMAKER_CONTENT' => 'Treść', + 'MEMBERS_DATE' => 'Data', + 'MENU' => 'Menu', + 'MONTHLY_MEMBER' => 'Członek miesiąca', + 'MOST_TENURED' => 'Najbardziej zakotwiczone', + 'MY_BOOKMARKS' => 'Moje zakładki', + + 'NO_BOOKMARKED_TOPICS' => 'Nie dodałeś żadnych wątków do zakładek', + 'NO_NEW_TOPICS' => 'Brak nowych tematów do wyświetlenia', + + 'POLL' => 'Ankieta', + 'POPULAR_TOPICS' => 'Popularne tematy', + 'POSTS_MEMBER' => 'Najlepszy plakat', + 'PROCESSING' => 'przetwarzanie...', + + 'QTYPE_POSTS' => 'Gratulacje dla:', + 'QTYPE_RECENT' => 'Proszę powitać naszego najnowszego użytkownika:', + + 'RECENT_BOTS' => 'Ostatnie wyszukiwarki', + 'RECENT_MEMBER' => 'Ostatni Członek', + 'RECENT_MEMBERS' => 'Najnowsi użytkownicy', + + 'SESSION_HIDE_ME' => 'Ukryj mnie', + 'SM_NAVIGATION' => 'Navigation', + 'SM_TOGGLE_DROPDOWN' => 'Przełącz listę rozwijaną', + 'STYLE_SWITCHER' => 'Przełącznik stylu', + + 'THIS_MONTH' => 'Ten Miesiąc', + 'THIS_WEEK' => 'W tym tygodniu', + 'THIS_YEAR' => 'W tym roku', + 'TODAY' => 'Dziś', + 'TOPICS_LAST_READ' => 'Ostatnio przeczytane tematy', + 'TOPIC_LAST_READ' => 'Ostatnie przeczytanie %s', + 'TOP_POSTERS' => 'Najlepsze plakaty', + + 'UCP_SITEMAKER_CONTENT' => 'Moja sztuka', + + 'VIEW_DETAILS' => 'Zobacz szczegóły', + 'VIEW_USER_PROFILE' => 'Wszystko o %s', + + 'WEEKLY_MEMBER' => 'Członek tygodnia', + 'WELCOME' => 'Witaj', + 'WHATS_NEW' => 'Co nowego?', + 'WORDGRAPH' => 'Wykres słów', +)); diff --git a/language/pl/css_presets.php b/language/pl/css_presets.php new file mode 100644 index 000000000000..df35cdc59abf --- /dev/null +++ b/language/pl/css_presets.php @@ -0,0 +1,107 @@ + 'Znacznik listy strzałek', + 'LIST_CIRCLE' => 'Znacznik listy okrętów', + 'LIST_DISC' => 'Znacznik listy wypunktowanej', + 'LIST_SQUARE' => 'Znacznik listy kwadratów', + 'LIST_NUMBERED' => 'Lista numerowana', + 'LIST_NUMBERED_ALPHABET' => 'Numerowane alfabetem', + 'LIST_NUMBERED_NESTED' => 'Numerowane podsekcje', + 'LIST_NUMBERED_ROMAN' => 'Numerowane cyframi rzymskimi', + 'LIST_NUMBERED_ZERO' => 'Numerowane z wiodącym zera', + 'LIST_INLINE' => 'Wbudowana lista', + 'LIST_INLINE_SEP' => 'Lista rozdzielona przecinkami', + 'LIST_REVERSE' => 'Odwróć kolejność', + 'LIST_STRIPED' => 'Lista pasków', + 'LIST_STACKED' => 'Złożona lista', + 'LIST_TRIANGLE' => 'Trójkąt', + 'LIST_HYPHEN' => 'Hyphen', + 'LIST_PLUS' => '+ +', + 'LIST_SPADE' => 'Spade', + 'LIST_CLUB' => 'Klub', + 'LIST_DIAMOND' => 'Diament', + 'LIST_HEART' => 'Serce', + 'LIST_STAR' => 'Gwiazdka', + 'LIST_CHECK' => 'Sprawdzanie', + 'LIST_SNOWFLAKE' => 'Śnieżka', + 'LIST_MUSIC' => 'Muzyka', + 'LIST_AUTOWIDTH' => 'Auto width', + 'LIST_FIT_CONTENT' => 'Dopasuj zawartość', + 'LIST_2COLS' => 'Lista 2 kolumn', + 'LIST_3COLS' => 'Lista 3 kolumn', + 'LIST_4COLS' => 'Lista 4 kolumn', + 'LIST_5COLS' => 'Lista 5 kolumn', + 'LIST_X_DIVIDER_DOTTED' => 'Poziomy rozdzielacz kropkowy', + 'LIST_X_DIVIDER_LINE' => 'Rozdzielacz linii poziomej', + 'LIST_Y_DIVIDER_DOTTED' => 'Pionowy rozdzielacz kropkowy', + 'LIST_Y_DIVIDER_LINE' => 'Rozdzielacz linii pionowych', + + 'IMAGE_SMALL' => 'Mały obraz', + 'IMAGE_MEDIUM' => 'Średni obraz', + 'IMAGE_LARGE' => 'Duży obraz', + 'IMAGE_FULL_WIDTH' => 'Obraz w pełnej szerokości', + 'IMAGE_ALIGN_LEFT' => 'Pływający obraz w lewo', + 'IMAGE_ALIGN_RIGHT' => 'Pływający obraz po prawej', + 'IMAGE_CIRCLE' => 'Obraz okrągły', + 'IMAGE_ROUNDED' => 'Zaokrąglony obraz', + 'IMAGE_BORDER' => 'Obraz pożyczony', + 'IMAGE_BORDER_PADDING' => 'Image border padding', + 'IMAGE_RATIO_SQUARE' => 'Obraz kwadratowy', + 'IMAGE_RATIO_4_BY_3' => '4 na 3 obrazek', + 'IMAGE_RATIO_16_BY_9' => '16 na 9 obrazów', + + 'RESPONSIVE_SHOW' => 'Pokaż tylko na małych urządzeniach', + 'RESPONSIVE_HIDE' => 'Ukryj na małych urządzeniach', + + 'ALIGN_LEFT' => 'Tekst wyrównany do lewej', + 'ALIGN_CENTER' => 'Wyśrodkowany tekst', + 'ALIGN_RIGHT' => 'Tekst wyrównany do prawej', + 'NO_PADDING' => 'No padding', + 'LABEL' => 'Etykieta', + 'BADGE' => 'Odznaka', + 'PRIMARY_COLOR' => 'Kolor podstawowy', + 'SECONDARY_COLOR' => 'Drugorzędny kolor', + 'GRAYSCALE_COLOR' => 'Grayscale', + 'INFO_COLOR' => 'Informacje', + 'SUCCESS_COLOR' => 'Sukces', + 'WARNING_COLOR' => 'Ostrzeżenie', + 'DANGER_COLOR' => 'Niebezpieczeństwo', +)); diff --git a/language/pl/exceptions.php b/language/pl/exceptions.php new file mode 100644 index 000000000000..1ceb283e08c6 --- /dev/null +++ b/language/pl/exceptions.php @@ -0,0 +1,49 @@ + 'Brak wymaganego pola', + 'EXCEPTION_INVALID_ACTION' => 'Akcja nie istnieje', + 'EXCEPTION_INVALID_ARGUMENT' => 'Nieprawidłowy argument dla `%1$s`. Powód: %2$s', + 'EXCEPTION_INVALID_DATA_TYPE' => 'Podana wartość jest nieoczekiwanym typem danych', + 'EXCEPTION_INVALID_ENTITY' => 'Dostarczony podmiot jest nieoczekiwaną klasą podmiotów', + 'EXCEPTION_INVALID_PROPERTY' => 'Żądana właściwość nie istnieje', + 'EXCEPTION_OUT_OF_BOUNDS' => 'Żądany `%1$s` nie istnieje', + 'EXCEPTION_SERVICE_NOT_FOUND' => 'Nie znaleziono żądanej usługi', + 'EXCEPTION_UNEXPECTED_VALUE' => 'Żądana akcja `%1$s` nie mogła zostać wykonana. Powód: %2$s', +)); diff --git a/language/pl/ext.php b/language/pl/ext.php new file mode 100644 index 000000000000..68e8f4ab771c --- /dev/null +++ b/language/pl/ext.php @@ -0,0 +1,42 @@ + 'Katalog graficzny phpBB nie jest zapisywalny. Zmień uprawnienia do zapisu dla wszystkich (777 lub -rwxrwxrwwx w swoim kliencie FTP)', + 'PHPBB_VERSION_UNMET' => 'To rozszerzenie wymaga co najmniej phpBB %s', +)); diff --git a/language/pl/feed_fields.php b/language/pl/feed_fields.php new file mode 100644 index 000000000000..cbca3367de2f --- /dev/null +++ b/language/pl/feed_fields.php @@ -0,0 +1,108 @@ + 'autor', + 'AUTHORS' => 'autorzy (tablica)', + 'BITRATE' => 'bitrate', + 'CAPTIONS' => 'napisy', + 'CATEGORIES' => 'kategorie (tablica)', + 'CATEGORY' => 'kategoria', + 'CHANNELS' => 'kanały', + 'CONTENT' => 'zawartość', + 'CONTRIBUTOR' => 'współtwórca', + 'CONTRIBUTORS' => 'współtwórcy (tablica)', + 'COPYRIGHT' => 'prawa autorskie', + 'CREDITS' => 'kredyty', + 'DATE' => 'data', + 'DESCRIPTION' => 'opis', + 'DURATION' => 'czas trwania', + 'ENCLOSURE' => 'pomieszczenie', + 'ENCLOSURES' => 'pomieszczenia (tablica)', + 'EXPRESSION' => 'wyrażenie', + 'FEED' => 'kanał', + 'FRAMERATE' => 'framerat', + 'GMDATE' => 'Data GM', + 'HANDLER' => 'handler', + 'HASHES' => 'hashy', + 'HEIGHT' => 'wysokość', + 'ID' => 'id', + 'IMAGE_HEIGHT' => 'wysokość obrazu', + 'IMAGE_LINK' => 'link do obrazu', + 'IMAGE_TITLE' => 'tytuł obrazu', + 'IMAGE_URL' => 'adres url obrazu', + 'IMAGE_WIDTH' => 'szerokość obrazu', + 'ITEMS' => 'elementy', + 'JAVASCRIPT' => 'javascript', + 'KEYWORDS' => 'słowa kluczowe', + 'LABEL' => 'etykieta', + 'LANG' => 'lang', + 'LATITUDE' => 'szerokość geograficzna', + 'LENGTH' => 'długość', + 'LINK' => 'link', + 'LINKS' => 'linki', + 'LONGITUDE' => 'długość geograficzna', + 'MEDIUM' => 'średnia', + 'NAME' => 'Nazwa', + 'PERMALINK' => 'permalink', + 'PLAYER' => 'gracz', + 'RATINGS' => 'oceny', + 'RELATIONSHIP' => 'związek', + 'RESTRICTIONS' => 'ograniczenia (tablica)', + 'SAMPLINGRATE' => 'częstotliwość pobierania próbek', + 'SCHEME' => 'schemat', + 'SOURCE' => 'źródło', + 'TERM' => 'termin', + 'THUMBNAILS' => 'thumbnails', + 'TITLE' => 'tytuł', + 'TYPE' => 'typ', + 'UPDATED_DATE' => 'data aktualizacji', + 'UPDATED_GMDATE' => 'zaktualizowano datę GM', + 'VALUE' => 'wartość', + 'WIDTH' => 'width', +)); diff --git a/language/pl/icons.php b/language/pl/icons.php new file mode 100644 index 000000000000..5c10a5a3e05b --- /dev/null +++ b/language/pl/icons.php @@ -0,0 +1,71 @@ + 'Dostępność', + 'ICON_ARROWS' => 'Strzały', + 'ICON_BRAND' => 'Marka', + 'ICON_CHART' => 'Wykres', + 'ICON_CURRENCY' => 'Waluta', + 'ICON_DIRECTIONAL' => 'Kierunek', + 'ICON_FILE_TYPE' => 'Typ pliku', + 'ICON_FORM_CONTROL' => 'Kontrola formularza', + 'ICON_GENDER' => 'Płeć', + 'ICON_HAND' => 'Dłoń', + 'ICON_MEDICAL' => 'Medyczne', + 'ICON_PAYMENT' => 'Płatność', + 'ICON_SPINNER' => 'Spinner', + 'ICON_TEXT_EDITOR' => 'Edytor tekstu', + 'ICON_TRANSPORTATION' => 'Transport', + 'ICON_VIDEO_PLAYER' => 'Odtwarzacz wideo', + 'ICON_WEB_APPLICATION' => 'Aplikacja internetowa', + + 'ICON_COLOR' => 'Kolor', + 'ICON_DEFAULT' => 'Domyślny', + 'ICON_FLIP_BOTH' => 'Odwróć oba', + 'ICON_FLIP_HORIZONTAL' => 'Odwróć poziomo', + 'ICON_FLIP_VERTICAL' => 'Odwróć pionowo', + 'ICON_FLOAT' => 'Pływający', + 'ICON_FLOAT_LEFT' => 'W lewo', + 'ICON_FLOAT_RIGHT' => 'Prawy', + 'ICON_FONT' => 'Font Icons', + 'ICON_INSERT_UPDATE' => 'Insert/Update', + 'ICON_MISC' => 'Różne', + 'ICON_MISC_BORDERED' => 'Pożyczono', + 'ICON_MISC_FIXED_WIDTH' => 'Stała szerokość', + 'ICON_MISC_PULSE' => 'Puls', + 'ICON_MISC_SPINNING' => 'Przypinanie', + 'ICON_ROTATION' => 'Obrót', + 'ICON_ROTATE_90' => '90°', + 'ICON_ROTATE_180' => '180°', + 'ICON_ROTATE_270' => '270°', + 'ICON_SIZE' => 'Rozmiar', + 'ICON_SIZE_LG' => 'Większy', + 'ICON_SIZE_SM' => 'Mały', + 'ICON_SIZE_2X' => '2 x', + 'ICON_SIZE_3X' => '3x', + 'ICON_SIZE_4X' => '4 x', + 'ICON_SIZE_5X' => '5 x', + + 'NO_ICON' => 'Brak ikony', +)); diff --git a/language/pl/info_acp_menus.php b/language/pl/info_acp_menus.php new file mode 100644 index 000000000000..75fe72876fc2 --- /dev/null +++ b/language/pl/info_acp_menus.php @@ -0,0 +1,92 @@ + 'Menu', + 'ACP_MENU_MANAGE' => 'Zarządzanie menu', + 'ACP_MENU_MANAGE_EXPLAIN' => 'Tutaj możesz tworzyć menu dla swojej witryny i zarządzać nim', + 'ADD_BULK_MENU' => 'Masowe dodawanie pozycji menu', + 'ADD_BULK_MENU_EXPLAIN' => 'Dodaj wiele elementów menu jednocześnie.
- Umieść każdy element w osobnej linii
- Użyj klawisza Tab do wcięć, aby reprezentować relacje rodzicielskie-potomne
- Wprowadź element i adres URL jak tak: Home|index.php', + 'ADD_MENU' => 'Dodaj Menu', + 'ADD_MENU_ITEM' => 'Dodaj pozycję menu', + 'ADD_ITEM' => 'Dodaj nowy element', + 'AJAX_PROCESSING' => 'Praca', + + 'CHANGE_ME' => 'Zmień', + + 'DELETE_ITEM' => 'Usuń element', + 'DELETE_KIDS' => 'Usuń gałąź', + 'DELETE_MENU' => 'Usuń menu', + 'DELETE_MENU_CONFIRM' => 'Czy na pewno chcesz usunąć to menu?
To usunie menu i wszystkie jego elementy', + 'DELETE_MENU_ITEM' => 'Usuń element', + 'DELETE_MENU_ITEM_CONFIRM' => 'Czy na pewno chcesz usunąć tę pozycję menu?', + 'DELETE_SELECTED' => 'Usuń zaznaczone', + + 'EDIT_ITEM' => 'Edytuj element', + + 'ITEM_ACTIVE' => 'Aktywne', + 'ITEM_INACTIVE' => 'Nieaktywny', + 'ITEM_PARENT' => 'Rodzic', + 'ITEM_TITLE' => 'Tytuł Produktu', + 'ITEM_TITLE_EXPLAIN' => 'Ustaw jako „-” dla separatora', + 'ITEM_TARGET' => 'Item Target', + 'ITEM_URL' => 'Adres URL elementu', + 'ITEM_URL_EXPLAIN' => '- Pozostaw puste dla pozycji
- Zewnętrzne strony muszą zaczynać się od http(s)://, ftp://, //, itp', + + 'MENU_ITEMS' => 'Elementy menu', + + 'NO_MENU_ITEMS' => 'Nie utworzono żadnych pozycji menu', + 'NO_PARENT' => 'Brak rodzica', + + 'PROCESSING_ERROR' => 'Błąd przetwarzania', + + 'REBUILD_TREE' => 'Przebuduj drzewo', + 'REQUIRED' => 'Wymagane', + 'REQUIRED_FIELDS' => '* Wymagane pola', + + 'SAVE_CHANGES' => 'Zapisz zmiany', + 'SAVE' => 'Zapisz', + 'SELECT_ALL' => 'Zaznacz wszystko', + + 'TARGET_BLANK' => 'Pusta strona', + 'TARGET_PARENT' => 'Rodzic', + + 'UNSAVED_CHANGES' => 'Masz niezapisane zmiany', + + 'VISIT_PAGE' => 'Odwiedź stronę', +)); diff --git a/language/pl/info_acp_settings.php b/language/pl/info_acp_settings.php new file mode 100644 index 000000000000..c0801a3e7ae8 --- /dev/null +++ b/language/pl/info_acp_settings.php @@ -0,0 +1,74 @@ + 'SiteMaker', + 'ACP_SM_SETTINGS' => 'Ustawienia', + + 'BLOCKS_CLEANUP' => 'Czyszczenie bloków', + 'BLOCKS_CLEANUP_EXPLAIN' => 'Następujące elementy nie istnieją lub nie są już osiągalne, dlatego możesz usunąć wszystkie bloki z nimi związane. Pamiętaj, że niektóre z nich mogą być fałszywie dodatnie', + 'BLOCKS_CLEANUP_BLOCKS' => 'Nieprawidłowe bloki (np. z odinstalowanych rozszerzeń):', + 'BLOCKS_CLEANUP_ROUTES' => 'Nieosiągalne/uszkodzone strony:', + 'BLOCKS_CLEANUP_STYLES' => 'Odinstalowane style (id):', + 'BLOCKS_CLEANUP_SUCCESS' => 'Bloki wyczyszczone pomyślnie', + + 'FORUM_INDEX_SETTINGS' => 'Ustawienia indeksu forum', + 'FORUM_INDEX_SETTINGS_EXPLAIN' => 'Te ustawienia mają zastosowanie tylko wtedy, gdy nie zdefiniowano strony startowej', + + 'HIDE' => 'Ukryj', + 'HIDE_BIRTHDAY' => 'Ukryj sekcję urodzin', + 'HIDE_LOGIN' => 'Ukryj pole logowania', + 'HIDE_ONLINE' => 'Ukryj sekcję online', + + 'LAYOUT_BLOG' => 'Blog', + 'LAYOUT_CUSTOM' => 'Własny', + 'LAYOUT_HOLYGRAIL' => 'Święty Gróz', + 'LAYOUT_PORTAL' => 'Portal', + 'LAYOUT_PORTAL_ALT' => 'Portal (alt)', + 'LAYOUT_SETTINGS' => 'Ustawienia układu', + + 'LOG_DELETED_BLOCKS_FOR_STYLE' => 'Bloki strony zostały usunięte dla brakującego stylu z id %s', + 'LOG_DELETED_BLOCKS_FOR_ROUTE' => 'Bloki sitakera usunięte dla uszkodzonych stron:
%s', + 'LOG_DELETED_BLOCKS' => 'Usunięto nieprawidłowe bloki Sitemakera:
%s', + + 'NAVIGATION_SETTINGS' => 'Ustawienia nawigacji', + + 'SETTINGS_SAVED' => 'Twoje ustawienia zostały zapisane', + 'SHOW' => 'Pokaż', + 'SHOW_FORUM_NAV' => 'Pokazać "Forum" na pasku nawigacyjnym?', + 'SHOW_FORUM_NAV_EXPLAIN' => 'Kiedy strona jest ustawiona jako strona startowa zamiast indeksu forum, powinniśmy wyświetlić "Forum" na pasku nawigacyjnym', + 'SHOW_FORUM_NAV_WITH_ICON' => 'Tak - z ikoną:', +]); diff --git a/language/pl/navbar_manager.php b/language/pl/navbar_manager.php new file mode 100644 index 000000000000..4f351fe2faea --- /dev/null +++ b/language/pl/navbar_manager.php @@ -0,0 +1,79 @@ + 'Aktywny element', + 'BORDER' => 'Border', + 'BORDER_COLOR' => 'Kolor obramowania', + 'BORDER_RADIUS' => 'Promień obramowania', + 'BORDER_WIDTH' => 'Border Width', + 'BOTTOM' => 'Dolny', + 'BOTTOM_LEFT' => 'Lewy dolny róg', + 'BOTTOM_RIGHT' => 'Prawy dolny róg', + 'CAPITALIZE' => 'Kapitalizuj', + 'COLOR' => 'Kolor', + 'DIVIDERS' => 'Dziewicze', + 'END' => 'Koniec', + 'GRADIENT' => 'Gradient', + 'HEADERS' => 'Nagłówki', + 'HOVER' => 'Hover', + 'LEFT' => 'W lewo', + 'LOWERCASE' => 'Małe litery', + 'MARGIN' => 'Margines', + 'NAVBAR' => 'Pasek nawigacyjny', + 'NAVBAR_MENU' => 'Navbar menu', + 'NAVBAR_DROPDOWN' => 'Lista rozwijana', + 'NAVBAR_LOCATION' => 'Lokalizacja', + 'NAVBAR_LOCATION_OPTION' => 'Lokalizacja #%s', + 'NAVBAR_TOP_MENU' => 'Menu górne', + 'NONE' => 'Brak', + 'PADDING' => 'Padding', + 'RESPONSIVE_TOGGLE' => 'Przełącz responsywny', + 'RESPONSIVE_TOGGLE_EXPLAIN' => 'Widoczne tylko na małych (mobilnych) ekranach', + 'RIGHT' => 'Prawy', + 'SAVE' => 'Zapisz', + 'SIZE' => 'Rozmiar', + 'START' => 'Rozpocznij', + 'TEXT' => 'Tekst', + 'TOP' => 'Góra', + 'TOP_LEFT' => 'Lewy górny', + 'TOP_RIGHT' => 'Prawy górny róg', + 'TRANSFORM' => 'Przekształć', + 'UPPERCASE' => 'Wielkie litery', +)); diff --git a/language/pl/permissions_sitemaker.php b/language/pl/permissions_sitemaker.php new file mode 100644 index 000000000000..cc5165c5ea14 --- /dev/null +++ b/language/pl/permissions_sitemaker.php @@ -0,0 +1,45 @@ + '[ SiteMaker ] Może zarządzać ustawieniami', + 'ACL_A_SM_MANAGE_BLOCKS' => '[ SiteMaker ] Może zarządzać blokami', + 'ACL_A_SM_MANAGE_MENUS' => '[ SiteMaker ] Może zarządzać menu', +)); diff --git a/language/pt/block_manager.php b/language/pt/block_manager.php new file mode 100644 index 000000000000..87c914304cb5 --- /dev/null +++ b/language/pt/block_manager.php @@ -0,0 +1,123 @@ + '*Arraste e solte blocos', + 'AJAX_ERROR' => 'Opa! Ocorreu um erro ao processar seu pedido. Por favor, tente novamente.', + 'AJAX_LOADING' => 'Carregandochar@@0', + 'AJAX_PROCESSING' => 'Trabalhando...', + + 'BACKGROUND' => 'Fundo', + 'BLOCKS' => 'blocos', + 'BLOCKS_COPY_FROM' => 'Copiar Blocos', + 'BLOCK_ACTIVE' => 'ativo', + 'BLOCK_CHILD_ROUTES_ONLY' => 'Mostrar apenas em rotas filhas', + 'BLOCK_CHILD_ROUTES_HIDE' => 'Ocultar em rotas filhas', + 'BLOCK_CLASS' => 'Classe CSS', + 'BLOCK_CLASS_EXPLAIN' => 'Modificar a aparência do bloco com classes CSS', + 'BLOCK_DESIGN' => 'Aparência', + 'BLOCK_DISPLAY_TYPE' => 'Visualização', + 'BLOCK_HIDE_TITLE' => 'Ocultar o título do bloco?', + 'BLOCK_INACTIVE' => 'Inativo', + 'BLOCK_MISSING_TEMPLATE' => 'Falta o modelo de bloco necessário. Entre em contato com o desenvolvedor', + 'BLOCK_NOT_FOUND' => 'Opa! O serviço de bloco solicitado não foi encontrado', + 'BLOCK_NO_DATA' => 'Nenhum dado para exibir', + 'BLOCK_NO_ID' => 'Opa! ID do bloco ausente', + 'BLOCK_PERMISSION' => 'Permisschar@@0o', + 'BLOCK_PERMISSION_ALLOW' => 'Mostrar para', + 'BLOCK_PERMISSION_DENY' => 'Ocultar de', + 'BLOCK_PERMISSION_EXPLAIN' => 'Use CTRL + clique para alternar a seleção', + 'BLOCK_SHOW_ALWAYS' => 'sempre', + 'BLOCK_STATUS' => 'SItuação', + 'BLOCK_UPDATED' => 'Configurações do bloco atualizadas com sucesso', + + 'CANCEL' => 'cancelar', + 'CHILD_ROUTE' => 'Filho(a)', + 'CHILD_ROUTE_EXPLAIN' => '/viewforum.php, /dir/index.php
/viewtopic.php?f=2&t=1
/articles/meu-artigo', + 'CLEAR' => 'Limpar', + 'COPY' => 'copiar', + 'COPY_BLOCKS' => 'Copiar Blocos?', + 'COPY_BLOCKS_CONFIRM' => 'Você tem certeza que gostaria de copiar blocos de outra página?

Isto irá apagar todos os blocos existentes e suas configurações para esta página e substituí-los pelos blocos da página selecionada.', + + 'DEFAULT_LAYOUT_EXPLAIN' => 'Se definido, todas as páginas do site para as quais você não tem blocos especificados herdarão os blocos do layout padrão. No entanto, você pode substituir o layout padrão para páginas específicas usando as opções à direita.', + 'DELETE' => 'excluir', + 'DELETE_ALL_BLOCKS' => 'Excluir Todos os Blocos', + 'DELETE_ALL_BLOCKS_CONFIRM' => 'Tem certeza que deseja excluir todos os blocos desta página?', + 'DELETE_BLOCK' => 'Excluir Bloco', + 'DELETE_BLOCK_CONFIRM' => 'Tem certeza que deseja excluir este bloco?


Nota: Você terá que salvar as alterações no layout para tornar isso permanente.', + + 'EDIT' => 'Alterar', + 'EDIT_BLOCK' => 'Editar Bloco', + 'EXIT_EDIT_MODE' => 'Sair do modo de edição', + + 'FEED_PROBLEMS' => 'Houve um problema ao processar o rss/combo fornecido(s)', + 'FEED_URL_MISSING' => 'Por favor, forneça pelo menos um rss/atom-feed para começar', + 'FIELD_INVALID' => 'O valor fornecido para o campo “%s” tem um formato inválido', + 'FIELD_REQUIRED' => '“%s” é um campo obrigatório', + 'FIELD_TOO_LONG' => 'O valor fornecido para o campo “%1$s” é muito longo. O valor máximo aceitável é %2$d.', + 'FIELD_TOO_SHORT' => 'O valor fornecido para o campo “%1$s” é muito curto. O valor mínimo aceitável é %2$d.', + + 'HIDE_ALL_BLOCKS' => 'Não mostrar blocos nesta página', + 'HIDE_BLOCK_POSITIONS' => 'Não mostrar blocos para as seguintes posições de bloco:', + + 'IMAGES' => 'Imagens', + + 'LAYOUT' => 'Disposição', + 'LAYOUT_SAVED' => 'Layout salvo com sucesso!', + 'LAYOUT_SETTINGS' => 'Definições de Distribuição', + 'LEAVE_CONFIRM' => 'Você tem algumas alterações não salvas nesta página. Por favor, salve seu trabalho antes de seguir em frente', + 'LISTS' => 'Listas', + + 'MAKE_DEFAULT_LAYOUT' => 'Definir como Layout Padrão', + + 'OR' => 'OU', + + 'PARENT_ROUTE' => 'Antecessor', + 'PARENT_ROUTE_EXPLAIN' => '/index.php
/viewforum.php?f=2
/artigos', + 'PREDEFINED_CLASSES' => 'Classes predefinidas', + + 'REDO' => 'Refazer', + 'REMOVE_DEFAULT_LAYOUT' => 'Remover como Layout Padrão', + 'REMOVE_STARTPAGE' => 'Remover Página Inicial', + 'ROUTE_HIDDEN_BLOCKS' => 'Os blocos estão sendo ocultos para esta página', + 'ROUTE_HIDDEN_POSITIONS' => 'Os blocos estão sendo ocultados para as seguintes posições', + 'ROUTE_UPDATED' => 'Configurações da página atualizadas com sucesso', + + 'SAVE_CHANGES' => 'Salvar as alterações', + 'SAVE_SETTINGS' => 'Salvar Configurações', + 'SELECT_ICON' => 'Selecione um ícone', + 'SETTINGS' => 'Confirgurações', + 'SETTING_TOO_BIG' => 'O valor fornecido para a configuração "%1$s" é muito alto. O valor máximo aceitável é %2$d.', + 'SETTING_TOO_LONG' => 'O valor fornecido para a configuração “%1$s” é muito longo. O comprimento máximo aceitável é %2$d.', + 'SETTING_TOO_LOW' => 'O valor fornecido para a configuração “%1$s” é muito baixo. O valor mínimo aceitável é “ %2$d.', + 'SETTING_TOO_SHORT' => 'O valor fornecido para a configuração “%1$s” é muito curto. A extensão mínima aceitável é %2$d.', + 'SET_STARTPAGE' => 'Definir como página inicial', + + 'TITLES' => 'Títulos', + + 'UPDATE_SIMILAR' => 'Atualizar blocos com configurações similares', + 'UNDO' => 'Desfazer', + + 'VIEW_DEFAULT_LAYOUT' => 'Visualizar/Editar Layout Padrão', + 'VISIT_PAGE' => 'Visitar página', +)); diff --git a/language/pt/blocks_admin.php b/language/pt/blocks_admin.php new file mode 100644 index 000000000000..56371e3d2763 --- /dev/null +++ b/language/pt/blocks_admin.php @@ -0,0 +1,189 @@ + 'Todos os tipos', + 'ALL_GROUPS' => 'Todos os Grupos', + 'ARCHIVES' => 'Arquivos', + 'AUTO_LOGIN' => 'Permitir login automático?', + 'FILE_MANAGER' => 'Gerenciador de Arquivos', + 'TOPIC_POST_IDS' => 'Do Tópico/Publicar Identificações', + 'TOPIC_POST_IDS_EXPLAIN' => 'Id(s) de tópicos/postagens para recuperar anexos, separados por vírgulas(,). Especifique se esta lista é para tópicos ou IDs de postagens acima.', + 'TOPIC_POST_IDS_TYPE' => 'Tipo de IDs (abaixo)', + + // Blocks + 'BLITZE_SITEMAKER_BLOCK_ATTACHMENTS' => 'Anexos', + 'BLITZE_SITEMAKER_BLOCK_BIRTHDAY' => 'Aniversário', + 'BLITZE_SITEMAKER_BLOCK_CUSTOM' => 'Bloco personalizado', + 'BLITZE_SITEMAKER_BLOCK_FEATURED_MEMBER' => 'Membro em destaque', + 'BLITZE_SITEMAKER_BLOCK_FEEDS' => 'RSS/Atom Feed', + 'BLITZE_SITEMAKER_BLOCK_FORUM_POLL' => 'Fórum da Enquete', + 'BLITZE_SITEMAKER_BLOCK_FORUM_TOPICS' => 'Tópicos do fórum', + 'BLITZE_SITEMAKER_BLOCK_GOOGLE_MAPS' => 'Google Maps', + 'BLITZE_SITEMAKER_BLOCK_POPULAR_TOPICS' => 'Tópicos Populares', + 'BLITZE_SITEMAKER_BLOCK_LINKS' => 'Links', + 'BLITZE_SITEMAKER_BLOCK_LOGIN' => 'Caixa de Entrada', + 'BLITZE_SITEMAKER_BLOCK_MEMBERS' => 'membros', + 'BLITZE_SITEMAKER_BLOCK_MEMBER_MENU' => 'Menu de Membro', + 'BLITZE_SITEMAKER_BLOCK_MENU' => 'Menu', + 'BLITZE_SITEMAKER_BLOCK_MYBOOKMARKS' => 'Meus Favoritos', + 'BLITZE_SITEMAKER_BLOCK_RECENT_TOPICS' => 'Tópicos Recentes', + 'BLITZE_SITEMAKER_BLOCK_STATS' => 'estatísticas', + 'BLITZE_SITEMAKER_BLOCK_STYLE_SWITCHER' => 'Alternador de estilo', + 'BLITZE_SITEMAKER_BLOCK_WHATS_NEW' => 'Quais as novidades?', + 'BLITZE_SITEMAKER_BLOCK_WHOIS' => 'Quem está online', + 'BLITZE_SITEMAKER_BLOCK_WORDGRAPH' => 'Wordgraph', + + // block views + 'BLOCK_VIEW' => 'Visualização de Bloco', + 'BLOCK_VIEW_BASIC' => 'Básico', + 'BLOCK_VIEW_BOXED' => 'Encaixado', + 'BLOCK_VIEW_DEFAULT' => 'Padrão', + 'BLOCK_VIEW_SIMPLE' => 'Simples', + + 'CACHE_DURATION' => 'Duração do cache', + 'CONTEXT' => 'Contexto', + 'CSS_SCRIPTS' => 'CSS Scripts', + 'CUSTOM_PROFILE_FIELDS' => 'Campos de perfil personalizados', + + 'DATE_RANGE' => 'Date Range', + 'DISPLAY_PREVIEW' => 'Exibir pré-visualização?', + + 'EDIT_ME' => 'Por favor, edite-me', + 'ENABLE_TOPIC_TRACKING' => 'Ativar rastreamento do tópico?', + 'ENABLE_TOPIC_TRACKING_EXPLAIN' => 'Se ativado, tópicos não lidos serão indicados, mas os resultados do bloco não serão armazenados em cache (não recomendado)', + 'EXCLUDE_TOO_MANY_WORDS' => 'Você inseriu muitas palavras para excluir. O número máximo de caracteres possível é 255, você digitou %s.', + 'EXCLUDE_WORDS' => 'Excluir palavras', + 'EXCLUDE_WORDS_EXPLAIN' => 'Liste as palavras que você gostaria de excluir do wordgraph separados por vírgula (,). Máximo de 255 caracteres.', + 'EXPANDED' => 'Expandido', + 'EXTENSION_GROUP' => 'Grupo de extensão', + + 'FEATURED_MEMBER_IDS' => 'IDs de usuário', + 'FEATURED_MEMBER_IDS_EXPLAIN' => 'Lista separada por vírgulas de usuários em destaque (aplica-se apenas ao modo de exibição de membros em destaque)', + 'FEED_DATA_PREVIEW' => 'Dados do Feed', + 'FEED_ITEM_TEMPLATE' => 'Modelo de Item', + 'FEED_ITEM_TEMPLATE_EXPLAIN' => 'TIPS:
+
    +
  • Access feed data in item variable e.g. item.title
  • +
  • Template must be in Twig syntax
  • +
  • Click Samples above for sample templates
  • +
  • Use get_item_tags($namespace, $tag) to get any tag from the feed that we do not provide e.g.
    {{ get_item_tags(\'\', \'image\') }}
  • +
  • Use Twig’s json_encode filter to see contents of array e.g. {{ get_item_tags(\'\', \'image\')|json_encode() }}
  • +
', + 'FEED_PREVIEW_SOURCE' => 'fonte', + 'FEED_URL_PLACEHOLDER' => 'http://exemplo.com/rss', + 'FEED_URLS' => 'URLs do feed', + 'FIRST_POST_ONLY' => 'Apenas primeira publicação', + 'FIRST_POST_TIME' => 'Horário da primeira postagem', + 'FORUMS_GET_TYPE' => 'Pegar tipo', + 'FORUMS_MAX_TOPICS' => 'Máximo de tópicos/postagens', + 'FORUMS_TITLE_MAX_CHARS' => 'Máximo de caracteres por título', + 'FREQUENCY' => 'Frequência', + 'FULL' => 'Completo', + 'FULLSCREEN' => 'Tela cheia', + + 'GET_TYPE' => 'Exibir tópico/postar?', + + 'HTML' => 'HTML', + 'HTML_EXPLAIN' => 'Use este textarea para inserir conteúdo HTML bruto.
Por favor, note que qualquer conteúdo publicado aqui irá sobrescrever o conteúdo do bloco personalizado e o editor de bloco visual não estará disponível.', + 'HOURS_SHORT' => 'h', + + 'JS_SCRIPTS' => 'Scripts JS', + + 'LAST_POST_TIME' => 'Hora da Última Postagem', + 'LAST_READ_TIME' => 'Último horário de leitura', + 'LIMIT' => 'Limitar', + 'LIMIT_FORUMS' => 'Id do fórum (opcional)', + 'LIMIT_FORUMS_EXPLAIN' => 'Insira cada id de fórum separado por uma vírgula (,). Se definido, apenas tópicos de fóruns específicos serão exibidos.', + 'LIMIT_POST_TIME' => 'Limite por tempo da postagem', + 'LIMIT_POST_TIME_EXPLAIN' => 'Se definido, apenas tópicos postados dentro do período especificado serão recuperados', + + 'MAX_DEPTH' => 'Profundidade máxima', + 'MAX_ITEMS' => 'Número máximo de itens', + 'MAX_MEMBERS' => 'Máximo de membros', + 'MAX_POSTS' => 'Número máximo de postagens', + 'MAX_TOPICS' => 'Número máximo de tópicos', + 'MAX_WORDS' => 'Número máximo de palavras', + 'MANAGE_MENUS' => 'Gerenciar menus', + 'MAP_COORDINATES' => 'Coordenadas', + 'MAP_COORDINATES_EXPLAIN' => 'Insira coordenadas no formato latitude, longitude', + 'MAP_HEIGHT' => 'Altura', + 'MAP_LOCATION' => 'Local:', + 'MAP_TITLE' => 'Título', + 'MAP_VIEW' => 'Visualizar', + 'MAP_VIEW_HYBRID' => 'Híbrido', + 'MAP_VIEW_MAP' => 'Mapear', + 'MAP_VIEW_SATELITE' => 'Satélite', + 'MAP_VIEW_TERRAIN' => 'Terrain', + 'MAP_ZOOM_LEVEL' => 'Nível de zoom', + 'MEMBERS_DATE' => 'Encontro', + 'MENU_NO_ITEMS' => 'Não há itens ativos para exibir', + 'MINI' => 'Mini', + + 'OR' => 'OU', + 'ORDER_BY' => 'Ordenar por', + + 'POLL_FROM_FORUMS' => 'Exibir enquetes dos fóruns', + 'POLL_FROM_FORUMS_EXPLAIN' => 'Apenas as enquetes dos fóruns selecionados serão exibidas enquanto nenhum tópico for especificado acima', + 'POLL_FROM_GROUPS' => 'Exibir enquetes do(s) grupo(s)', + 'POLL_FROM_GROUPS_EXPLAIN' => 'Apenas as enquetes dos membros dos grupos selecionados serão exibidas enquanto nenhum usuário for / forem especificados acima', + 'POLL_FROM_TOPICS' => 'Exibir enquetes do tópico (s)', + 'POLL_FROM_TOPICS_EXPLAIN' => 'Id(s) de tópicos para recuperar enquetes, separados por vírgulas(,). Deixe em branco para selecionar qualquer tópico.', + 'POLL_FROM_USERS' => 'Exibir enquetes do usuário', + 'POLL_FROM_USERS_EXPLAIN' => 'Id(s) do(s) usuário(s) cujas enquetes você gostaria de exibir, separados por vírgulas(,). Deixe em branco para selecionar enquetes de qualquer usuário.', + 'POSTS_TITLE_LIMIT' => 'Número máximo de caracteres para o título da postagem', + 'PREVIEW_MAX_CHARS' => 'Número de caracteres para pré-visualização', + + 'QUERY_TYPE' => 'Modo de exibição', + + 'ROTATE_DAILY' => 'Diariamente', + 'ROTATE_HOURLY' => 'Horário', + 'ROTATE_MONTHLY' => 'Mensual', + 'ROTATE_PAGELOAD' => 'Carregar página', + 'ROTATE_WEEKLY' => 'Semanalmente', + + 'SAMPLES' => 'Amostras', + 'SCRIPTS' => 'Scripts', + 'SELECT_FORUMS' => 'Selecionar fóruns', + 'SELECT_FORUMS_EXPLAIN' => 'Selecione os fóruns de onde exibir tópicos/postagens. Deixe em branco para selecionar de todos os fóruns', + 'SELECT_MENU' => 'Selecione o Menu', + 'SELECT_PROFILE_FIELDS' => 'Selecione campos de perfil', + 'SELECT_PROFILE_FIELDS_EXPLAIN' => 'Somente os campos do perfil selecionados serão exibidos, se disponíveis.', + 'SHOW_FIRST_POST' => 'Primeira publicação', + 'SHOW_HIDE_ME' => 'Permitir ocultar o estado online?', + 'SHOW_LAST_POST' => 'Última postagem', + 'SHOW_MEMBER_MENU' => 'Mostrar menu do usuário?', + 'SHOW_MEMBER_MENU_EXPLAIN' => 'Substituir caixa de login pelo menu do usuário se o usuário estiver logado', + 'SHOW_WORD_COUNT' => 'Mostrar contagem de palavras?', + + 'TEMPLATE' => 'Modelo', + 'TOPIC_TITLE_LIMIT' => 'Número máximo de caracteres para o título do tópico', + 'TOPIC_TYPE' => 'Tipo de tópico', + 'TOPIC_TYPE_EXPLAIN' => 'Selecione os tipos de tópicos que você gostaria de exibir. Deixe as caixas não marcadas para selecionar de todos os tipos de tópicos', + 'TOPICS_LOOK_BACK' => 'Olhe para trás', + 'TOPICS_ONLY' => 'Apenas tópicos?', + 'TOPICS_PER_PAGE' => 'Por página', + + 'WORD_MAX_SIZE' => 'Tamanho máximo da fonte', + 'WORD_MIN_SIZE' => 'Tamanho mínimo da fonte', +)); diff --git a/language/pt/common.php b/language/pt/common.php new file mode 100644 index 000000000000..1f6659ddf829 --- /dev/null +++ b/language/pt/common.php @@ -0,0 +1,97 @@ + 'Todos os tempos', + + 'BLOCK_TITLE' => 'Título do Bloco', + + 'CHANGE_ME' => 'Alterar para mim', + + 'DAILY_MEMBER' => 'Membro do dia', + + 'FEATURED_MEMBER' => 'Membro em destaque', + 'FEATURED_MEMBERLIST' => 'Lista de participantes destacados', + 'FEEDS' => 'Conteúdos', + 'FORUM_ANNOUNCEMENTS' => 'Avisos do fórum', + 'FORUM_GLOBAL_ANNOUNCEMENTS' => 'Anúncios de Fórum Global', + 'FORUM_RECENT_POSTS' => 'Posts Recentes do Fórum', + 'FORUM_RECENT_TOPICS' => 'Tópicos Recentes do Fórum', + 'FORUM_STICKY_POSTS' => 'Publicações Recentes de Fixação', + + 'HELP' => 'Socorro', + 'HOURLY_MEMBER' => 'Membro da hora', + + 'GOOGLE_MAP' => 'Google Mapa', + + 'JOIN_DATE' => 'Data de entrada', + + 'LAST_POST_BY_AUTHOR' => 'Última publicação por', + 'LAST_VISITED' => 'Última visita', + 'LINKS' => 'Links', + + 'MCP_SITEMAKER_CONTENT' => 'Conteúdo', + 'MEMBERS_DATE' => 'Encontro', + 'MENU' => 'Menu', + 'MONTHLY_MEMBER' => 'Membro do mês', + 'MOST_TENURED' => 'Mais tensas', + 'MY_BOOKMARKS' => 'Meus Favoritos', + + 'NO_BOOKMARKED_TOPICS' => 'Você não marcou nenhum tópico como favorito', + 'NO_NEW_TOPICS' => 'Não há novos tópicos para exibir', + + 'POLL' => 'Enquete', + 'POPULAR_TOPICS' => 'Tópicos Populares', + 'POSTS_MEMBER' => 'Cartaz superior', + 'PROCESSING' => 'Processandochar@@0', + + 'QTYPE_POSTS' => 'Parabéns para:', + 'QTYPE_RECENT' => 'Por favor, seja bem-vindo ao nosso mais recente usuário:', + + 'RECENT_BOTS' => 'Motores de busca recentes', + 'RECENT_MEMBER' => 'Membro recente', + 'RECENT_MEMBERS' => 'Membros recentes', + + 'SESSION_HIDE_ME' => 'Me Esconder', + 'SM_NAVIGATION' => 'Navigation', + 'SM_TOGGLE_DROPDOWN' => 'Ativar/Desativar dropdown', + 'STYLE_SWITCHER' => 'Alternador de estilo', + + 'THIS_MONTH' => 'Este Mês', + 'THIS_WEEK' => 'Esta semana', + 'THIS_YEAR' => 'Este Ano', + 'TODAY' => 'hoje', + 'TOPICS_LAST_READ' => 'Últimos tópicos lidos', + 'TOPIC_LAST_READ' => 'Última leitura %s', + 'TOP_POSTERS' => 'Melhores cartazes', + + 'UCP_SITEMAKER_CONTENT' => 'Minhas Coisas', + + 'VIEW_DETAILS' => 'Visualizar Detalhes', + 'VIEW_USER_PROFILE' => 'Tudo sobre %s', + + 'WEEKLY_MEMBER' => 'Membro da semana', + 'WELCOME' => 'Boas-vindas', + 'WHATS_NEW' => 'Quais as novidades?', + 'WORDGRAPH' => 'Wordgraph', +)); diff --git a/language/pt/css_presets.php b/language/pt/css_presets.php new file mode 100644 index 000000000000..3dec98de641e --- /dev/null +++ b/language/pt/css_presets.php @@ -0,0 +1,107 @@ + 'Marcador Lista de Flechas', + 'LIST_CIRCLE' => 'Marcador Lista Círculo', + 'LIST_DISC' => 'Marcador de lista com marcadores', + 'LIST_SQUARE' => 'Marcador de lista quadrado', + 'LIST_NUMBERED' => 'Lista numerada', + 'LIST_NUMBERED_ALPHABET' => 'Numerado com alfabeto', + 'LIST_NUMBERED_NESTED' => 'Numerado com subseções', + 'LIST_NUMBERED_ROMAN' => 'Numerado com numerais romanos', + 'LIST_NUMBERED_ZERO' => 'Numerado com zero à esquerda', + 'LIST_INLINE' => 'Lista em linha', + 'LIST_INLINE_SEP' => 'Lista separada por vírgulas', + 'LIST_REVERSE' => 'Ordem inversa', + 'LIST_STRIPED' => 'Lista listrada', + 'LIST_STACKED' => 'Lista empilhada', + 'LIST_TRIANGLE' => 'Triângulo', + 'LIST_HYPHEN' => 'Hífen', + 'LIST_PLUS' => 'Mais', + 'LIST_SPADE' => 'Spade', + 'LIST_CLUB' => 'Clava', + 'LIST_DIAMOND' => 'Diamante', + 'LIST_HEART' => 'Coração', + 'LIST_STAR' => 'Estrela', + 'LIST_CHECK' => 'Verificar', + 'LIST_SNOWFLAKE' => 'Floco de Neve', + 'LIST_MUSIC' => 'Música', + 'LIST_AUTOWIDTH' => 'Auto width', + 'LIST_FIT_CONTENT' => 'Ajustar conteúdo', + 'LIST_2COLS' => 'Lista de 2 colunas', + 'LIST_3COLS' => 'Lista de 3 colunas', + 'LIST_4COLS' => 'Lista de 4 colunas', + 'LIST_5COLS' => 'Lista de 5 colunas', + 'LIST_X_DIVIDER_DOTTED' => 'Divisor pontilhado horizontal', + 'LIST_X_DIVIDER_LINE' => 'Divisor de linha horizontal', + 'LIST_Y_DIVIDER_DOTTED' => 'Divisor pontilhado vertical', + 'LIST_Y_DIVIDER_LINE' => 'Divisor de linha vertical', + + 'IMAGE_SMALL' => 'Imagem pequena', + 'IMAGE_MEDIUM' => 'Imagem média', + 'IMAGE_LARGE' => 'Imagem grande', + 'IMAGE_FULL_WIDTH' => 'Largura total da imagem', + 'IMAGE_ALIGN_LEFT' => 'Imagem flutuante à esquerda', + 'IMAGE_ALIGN_RIGHT' => 'Imagem flutuante direita', + 'IMAGE_CIRCLE' => 'Imagem circular', + 'IMAGE_ROUNDED' => 'Imagem arredondada', + 'IMAGE_BORDER' => 'Imagem com Borda', + 'IMAGE_BORDER_PADDING' => 'Image border padding', + 'IMAGE_RATIO_SQUARE' => 'Imagem do quadrado', + 'IMAGE_RATIO_4_BY_3' => '4 por 3 imagens', + 'IMAGE_RATIO_16_BY_9' => '16 por 9 imagens', + + 'RESPONSIVE_SHOW' => 'Mostrar apenas em dispositivos pequenos', + 'RESPONSIVE_HIDE' => 'Ocultar em dispositivos pequenos', + + 'ALIGN_LEFT' => 'Texto alinhado à esquerda', + 'ALIGN_CENTER' => 'Texto centralizado', + 'ALIGN_RIGHT' => 'Texto alinhado à direita', + 'NO_PADDING' => 'No padding', + 'LABEL' => 'Descrição', + 'BADGE' => 'Distintivo', + 'PRIMARY_COLOR' => 'Cor principal', + 'SECONDARY_COLOR' => 'Cor secundária', + 'GRAYSCALE_COLOR' => 'Grayscale', + 'INFO_COLOR' => 'Informações', + 'SUCCESS_COLOR' => 'Sucesso', + 'WARNING_COLOR' => 'ATENÇÃO', + 'DANGER_COLOR' => 'Perigo', +)); diff --git a/language/pt/exceptions.php b/language/pt/exceptions.php new file mode 100644 index 000000000000..308f32ecd495 --- /dev/null +++ b/language/pt/exceptions.php @@ -0,0 +1,49 @@ + 'Campo obrigatório faltando', + 'EXCEPTION_INVALID_ACTION' => 'A ação não existe', + 'EXCEPTION_INVALID_ARGUMENT' => 'Argumento inválido especificado para `%1$s`. Motivo: %2$s', + 'EXCEPTION_INVALID_DATA_TYPE' => 'O valor fornecido é de um tipo de dado inesperado', + 'EXCEPTION_INVALID_ENTITY' => 'A entidade fornecida é de uma classe de entidade inesperada', + 'EXCEPTION_INVALID_PROPERTY' => 'A propriedade solicitada não existe', + 'EXCEPTION_OUT_OF_BOUNDS' => 'O pedido `%1$s` não existe', + 'EXCEPTION_SERVICE_NOT_FOUND' => 'O serviço solicitado não foi encontrado', + 'EXCEPTION_UNEXPECTED_VALUE' => 'A ação solicitada `%1$s` não pôde ser executada. Motivo: %2$s', +)); diff --git a/language/pt/ext.php b/language/pt/ext.php new file mode 100644 index 000000000000..9fe0d487da88 --- /dev/null +++ b/language/pt/ext.php @@ -0,0 +1,42 @@ + 'O diretório de Imagem do phpBB não é gravável. Por favor, altere as permissões de escrita para todos (777 ou -rwxrwx dentro de seu cliente FTP)', + 'PHPBB_VERSION_UNMET' => 'Esta extensão requer pelo menos phpBB %s', +)); diff --git a/language/pt/feed_fields.php b/language/pt/feed_fields.php new file mode 100644 index 000000000000..15bcd10d0ca1 --- /dev/null +++ b/language/pt/feed_fields.php @@ -0,0 +1,108 @@ + 'autor', + 'AUTHORS' => 'autores (matriz)', + 'BITRATE' => 'bitrate', + 'CAPTIONS' => 'legendas', + 'CATEGORIES' => 'categorias (matriz)', + 'CATEGORY' => 'Categoria', + 'CHANNELS' => 'Canais', + 'CONTENT' => 'conteúdo', + 'CONTRIBUTOR' => 'Colaborador', + 'CONTRIBUTORS' => 'contribuidores (matriz)', + 'COPYRIGHT' => 'direitos', + 'CREDITS' => 'créditos', + 'DATE' => 'Data', + 'DESCRIPTION' => 'Descrição', + 'DURATION' => 'Duração', + 'ENCLOSURE' => 'invólucro', + 'ENCLOSURES' => 'invólucro (matriz)', + 'EXPRESSION' => 'Expressão', + 'FEED' => 'Feed', + 'FRAMERATE' => 'framerate', + 'GMDATE' => 'Data do GM', + 'HANDLER' => 'handler', + 'HASHES' => 'hashes', + 'HEIGHT' => 'Altura', + 'ID' => 'id', + 'IMAGE_HEIGHT' => 'altura da imagem', + 'IMAGE_LINK' => 'link da imagem', + 'IMAGE_TITLE' => 'título da imagem', + 'IMAGE_URL' => 'URL da imagem', + 'IMAGE_WIDTH' => 'largura da imagem', + 'ITEMS' => 'Itens', + 'JAVASCRIPT' => 'JavaScript', + 'KEYWORDS' => 'Palavras-chave', + 'LABEL' => 'Etiqueta', + 'LANG' => 'lang', + 'LATITUDE' => 'latitude', + 'LENGTH' => 'comprimento', + 'LINK' => 'ligação', + 'LINKS' => 'links', + 'LONGITUDE' => 'longitude', + 'MEDIUM' => 'Médio', + 'NAME' => 'Nome', + 'PERMALINK' => 'permalink', + 'PLAYER' => 'jogador', + 'RATINGS' => 'avaliações', + 'RELATIONSHIP' => 'relação', + 'RESTRICTIONS' => 'restrições (matriz)', + 'SAMPLINGRATE' => 'taxa de amostragem', + 'SCHEME' => 'esquema', + 'SOURCE' => 'Fonte', + 'TERM' => 'Termo', + 'THUMBNAILS' => 'thumbnails', + 'TITLE' => 'Título', + 'TYPE' => 'Tipo', + 'UPDATED_DATE' => 'data de atualização', + 'UPDATED_GMDATE' => 'data do GM atualizada', + 'VALUE' => 'Valor', + 'WIDTH' => 'width', +)); diff --git a/language/pt/icons.php b/language/pt/icons.php new file mode 100644 index 000000000000..e7a81c5a3387 --- /dev/null +++ b/language/pt/icons.php @@ -0,0 +1,71 @@ + 'Acessibilidade', + 'ICON_ARROWS' => 'Setas', + 'ICON_BRAND' => 'Bandeira', + 'ICON_CHART' => 'Gráfico', + 'ICON_CURRENCY' => 'moeda', + 'ICON_DIRECTIONAL' => 'Direcional', + 'ICON_FILE_TYPE' => 'Tipo de arquivo', + 'ICON_FORM_CONTROL' => 'Controle de Formulário', + 'ICON_GENDER' => 'Gênero', + 'ICON_HAND' => 'Mão', + 'ICON_MEDICAL' => 'Medicamentos', + 'ICON_PAYMENT' => 'Pagamento', + 'ICON_SPINNER' => 'Girar', + 'ICON_TEXT_EDITOR' => 'Editor de Texto', + 'ICON_TRANSPORTATION' => 'Transporte', + 'ICON_VIDEO_PLAYER' => 'Reprodutor de Vídeo', + 'ICON_WEB_APPLICATION' => 'Aplicativo Web', + + 'ICON_COLOR' => 'Cor', + 'ICON_DEFAULT' => 'Padrão', + 'ICON_FLIP_BOTH' => 'Virar ambos', + 'ICON_FLIP_HORIZONTAL' => 'Inverter horizontalmente', + 'ICON_FLIP_VERTICAL' => 'Inverter verticalmente', + 'ICON_FLOAT' => 'Flutuante', + 'ICON_FLOAT_LEFT' => 'Esquerda', + 'ICON_FLOAT_RIGHT' => 'Direita', + 'ICON_FONT' => 'Font Icons', + 'ICON_INSERT_UPDATE' => 'Insert/Update', + 'ICON_MISC' => 'Diversos', + 'ICON_MISC_BORDERED' => 'Borda', + 'ICON_MISC_FIXED_WIDTH' => 'Largura fixa', + 'ICON_MISC_PULSE' => 'Pulsar', + 'ICON_MISC_SPINNING' => 'Girando', + 'ICON_ROTATION' => 'Rotação', + 'ICON_ROTATE_90' => '90°', + 'ICON_ROTATE_180' => '180°', + 'ICON_ROTATE_270' => '270°', + 'ICON_SIZE' => 'Tamanho', + 'ICON_SIZE_LG' => 'Maior', + 'ICON_SIZE_SM' => 'Pequeno', + 'ICON_SIZE_2X' => '2x', + 'ICON_SIZE_3X' => '3x', + 'ICON_SIZE_4X' => '4x', + 'ICON_SIZE_5X' => '5x', + + 'NO_ICON' => 'Sem Ícone', +)); diff --git a/language/pt/info_acp_menus.php b/language/pt/info_acp_menus.php new file mode 100644 index 000000000000..82fa3a09a785 --- /dev/null +++ b/language/pt/info_acp_menus.php @@ -0,0 +1,92 @@ + 'Menu', + 'ACP_MENU_MANAGE' => 'Gestão do Menu', + 'ACP_MENU_MANAGE_EXPLAIN' => 'Aqui você pode criar e gerenciar menus do seu site', + 'ADD_BULK_MENU' => 'Adicionar itens de menu em massa', + 'ADD_BULK_MENU_EXPLAIN' => 'Adicionar múltiplos itens do menu de uma só vez.
- Coloque cada item em uma linha separada
- Use a tecla Tab para representar itens de relacionamento pai
- Digite item e URL da seguinte forma: Home➲ index.php', + 'ADD_MENU' => 'Adicionar Menu', + 'ADD_MENU_ITEM' => 'Adicionar Item de Menu', + 'ADD_ITEM' => 'Adicionar novo item', + 'AJAX_PROCESSING' => 'Trabalhando', + + 'CHANGE_ME' => 'Alterar para mim', + + 'DELETE_ITEM' => 'Excluir Item', + 'DELETE_KIDS' => 'Excluir branch', + 'DELETE_MENU' => 'Excluir Menu', + 'DELETE_MENU_CONFIRM' => 'Tem certeza que deseja excluir este menu?
Isto irá excluir o menu e todos os seus itens', + 'DELETE_MENU_ITEM' => 'Excluir Item', + 'DELETE_MENU_ITEM_CONFIRM' => 'Tem certeza que deseja excluir este item de menu?', + 'DELETE_SELECTED' => 'Excluir Selecionados', + + 'EDIT_ITEM' => 'Editar Item', + + 'ITEM_ACTIVE' => 'ativo', + 'ITEM_INACTIVE' => 'Inativo', + 'ITEM_PARENT' => 'Antecessor', + 'ITEM_TITLE' => 'Título do Item', + 'ITEM_TITLE_EXPLAIN' => 'Definir como "-" para o divisor', + 'ITEM_TARGET' => 'Item Target', + 'ITEM_URL' => 'URL do item', + 'ITEM_URL_EXPLAIN' => '- Deixar vazio para cabeçalhos
- Sites externos devem começar com http(s)://, ftp://, //, etc', + + 'MENU_ITEMS' => 'Itens do menu', + + 'NO_MENU_ITEMS' => 'Nenhum item de menu foi criado', + 'NO_PARENT' => 'Sem pai', + + 'PROCESSING_ERROR' => 'Erro de processamento', + + 'REBUILD_TREE' => 'Reconstruir a Árvore', + 'REQUIRED' => 'Obrigatório', + 'REQUIRED_FIELDS' => '* Campos obrigatórios', + + 'SAVE_CHANGES' => 'Salvar as alterações', + 'SAVE' => 'Guardar', + 'SELECT_ALL' => 'Selecionar Todos', + + 'TARGET_BLANK' => 'Página em branco', + 'TARGET_PARENT' => 'Antecessor', + + 'UNSAVED_CHANGES' => 'Você tem alterações não salvas', + + 'VISIT_PAGE' => 'Visitar página', +)); diff --git a/language/pt/info_acp_settings.php b/language/pt/info_acp_settings.php new file mode 100644 index 000000000000..24536028fd0e --- /dev/null +++ b/language/pt/info_acp_settings.php @@ -0,0 +1,74 @@ + 'SiteMaker', + 'ACP_SM_SETTINGS' => 'Confirgurações', + + 'BLOCKS_CLEANUP' => 'Limpar blocos', + 'BLOCKS_CLEANUP_EXPLAIN' => 'Os seguintes itens foram encontrados para não existirem mais ou serem inacessíveis, e você pode, portanto, excluir todos os blocos associados a eles. Tenha em mente que alguns destes podem ser falsos positivos', + 'BLOCKS_CLEANUP_BLOCKS' => 'Blocos inválidos (por exemplo, de extensões desinstaladas):', + 'BLOCKS_CLEANUP_ROUTES' => 'Páginas inalcançáveis/quebradas:', + 'BLOCKS_CLEANUP_STYLES' => 'Estilos desinstalados (ids):', + 'BLOCKS_CLEANUP_SUCCESS' => 'Blocos removidos com sucesso', + + 'FORUM_INDEX_SETTINGS' => 'Configurações do Fórum Índice', + 'FORUM_INDEX_SETTINGS_EXPLAIN' => 'Estas configurações só se aplicam quando não há nenhuma página inicial definida', + + 'HIDE' => 'Esconder', + 'HIDE_BIRTHDAY' => 'Ocultar seção de aniversário', + 'HIDE_LOGIN' => 'Ocultar caixa de entrada', + 'HIDE_ONLINE' => 'Ocultar a seção Whos online', + + 'LAYOUT_BLOG' => 'Blogue', + 'LAYOUT_CUSTOM' => 'Personalizado', + 'LAYOUT_HOLYGRAIL' => 'Grave Sagrado', + 'LAYOUT_PORTAL' => 'Portal', + 'LAYOUT_PORTAL_ALT' => 'Portal (alternativo)', + 'LAYOUT_SETTINGS' => 'Definições de Distribuição', + + 'LOG_DELETED_BLOCKS_FOR_STYLE' => 'Blocos do Sitemaker excluídos para falta de estilo com id %s', + 'LOG_DELETED_BLOCKS_FOR_ROUTE' => 'Blocos do Sitemaker excluídos para páginas quebradas:
%s', + 'LOG_DELETED_BLOCKS' => 'Blocos do Sitemaker inválidos excluídos:
%s', + + 'NAVIGATION_SETTINGS' => 'Configurações de navegação', + + 'SETTINGS_SAVED' => 'Suas configurações foram salvas', + 'SHOW' => 'Apresentar', + 'SHOW_FORUM_NAV' => 'Mostrar o "Fórum" na barra de navegação?', + 'SHOW_FORUM_NAV_EXPLAIN' => 'Quando uma página é definida como página inicial em vez do índice do fórum, devemos exibir o \'Fórum\' na barra de navegação', + 'SHOW_FORUM_NAV_WITH_ICON' => 'Sim - com ícone:', +]); diff --git a/language/pt/navbar_manager.php b/language/pt/navbar_manager.php new file mode 100644 index 000000000000..8af1f15c8145 --- /dev/null +++ b/language/pt/navbar_manager.php @@ -0,0 +1,79 @@ + 'Elemento ativo', + 'BORDER' => 'Border', + 'BORDER_COLOR' => 'Cor da Borda', + 'BORDER_RADIUS' => 'Raio da borda', + 'BORDER_WIDTH' => 'Border Width', + 'BOTTOM' => 'Inferior', + 'BOTTOM_LEFT' => 'Canto inferior esquerdo', + 'BOTTOM_RIGHT' => 'Canto inferior direito', + 'CAPITALIZE' => 'Capitalizar', + 'COLOR' => 'Cor', + 'DIVIDERS' => 'Divisores', + 'END' => 'Término', + 'GRADIENT' => 'Degradê', + 'HEADERS' => 'Cabeçalhos', + 'HOVER' => 'Hover', + 'LEFT' => 'Esquerda', + 'LOWERCASE' => 'Minúsculo', + 'MARGIN' => 'Margem', + 'NAVBAR' => 'Navbar', + 'NAVBAR_MENU' => 'Navbar menu', + 'NAVBAR_DROPDOWN' => 'Suspensa', + 'NAVBAR_LOCATION' => 'Local:', + 'NAVBAR_LOCATION_OPTION' => 'Localização #%s', + 'NAVBAR_TOP_MENU' => 'Menu superior', + 'NONE' => 'Nenhuma', + 'PADDING' => 'Padding', + 'RESPONSIVE_TOGGLE' => 'Ligar/desligar responsivo', + 'RESPONSIVE_TOGGLE_EXPLAIN' => 'Visível apenas em telas pequenas (móveis)', + 'RIGHT' => 'Direita', + 'SAVE' => 'Guardar', + 'SIZE' => 'Tamanho', + 'START' => 'Iniciar', + 'TEXT' => 'texto', + 'TOP' => 'Superior', + 'TOP_LEFT' => 'Superior Esquerdo', + 'TOP_RIGHT' => 'Superior Direito', + 'TRANSFORM' => 'Transformar', + 'UPPERCASE' => 'Maiúscula', +)); diff --git a/language/pt/permissions_sitemaker.php b/language/pt/permissions_sitemaker.php new file mode 100644 index 000000000000..53d5a308e38b --- /dev/null +++ b/language/pt/permissions_sitemaker.php @@ -0,0 +1,45 @@ + '[ SiteMaker ] Pode gerenciar configurações', + 'ACL_A_SM_MANAGE_BLOCKS' => '[ SiteMaker ] Pode gerenciar blocos', + 'ACL_A_SM_MANAGE_MENUS' => '[ SiteMaker ] Pode gerenciar menus', +)); diff --git a/language/pt_br/block_manager.php b/language/pt_br/block_manager.php new file mode 100644 index 000000000000..87c914304cb5 --- /dev/null +++ b/language/pt_br/block_manager.php @@ -0,0 +1,123 @@ + '*Arraste e solte blocos', + 'AJAX_ERROR' => 'Opa! Ocorreu um erro ao processar seu pedido. Por favor, tente novamente.', + 'AJAX_LOADING' => 'Carregandochar@@0', + 'AJAX_PROCESSING' => 'Trabalhando...', + + 'BACKGROUND' => 'Fundo', + 'BLOCKS' => 'blocos', + 'BLOCKS_COPY_FROM' => 'Copiar Blocos', + 'BLOCK_ACTIVE' => 'ativo', + 'BLOCK_CHILD_ROUTES_ONLY' => 'Mostrar apenas em rotas filhas', + 'BLOCK_CHILD_ROUTES_HIDE' => 'Ocultar em rotas filhas', + 'BLOCK_CLASS' => 'Classe CSS', + 'BLOCK_CLASS_EXPLAIN' => 'Modificar a aparência do bloco com classes CSS', + 'BLOCK_DESIGN' => 'Aparência', + 'BLOCK_DISPLAY_TYPE' => 'Visualização', + 'BLOCK_HIDE_TITLE' => 'Ocultar o título do bloco?', + 'BLOCK_INACTIVE' => 'Inativo', + 'BLOCK_MISSING_TEMPLATE' => 'Falta o modelo de bloco necessário. Entre em contato com o desenvolvedor', + 'BLOCK_NOT_FOUND' => 'Opa! O serviço de bloco solicitado não foi encontrado', + 'BLOCK_NO_DATA' => 'Nenhum dado para exibir', + 'BLOCK_NO_ID' => 'Opa! ID do bloco ausente', + 'BLOCK_PERMISSION' => 'Permisschar@@0o', + 'BLOCK_PERMISSION_ALLOW' => 'Mostrar para', + 'BLOCK_PERMISSION_DENY' => 'Ocultar de', + 'BLOCK_PERMISSION_EXPLAIN' => 'Use CTRL + clique para alternar a seleção', + 'BLOCK_SHOW_ALWAYS' => 'sempre', + 'BLOCK_STATUS' => 'SItuação', + 'BLOCK_UPDATED' => 'Configurações do bloco atualizadas com sucesso', + + 'CANCEL' => 'cancelar', + 'CHILD_ROUTE' => 'Filho(a)', + 'CHILD_ROUTE_EXPLAIN' => '/viewforum.php, /dir/index.php
/viewtopic.php?f=2&t=1
/articles/meu-artigo', + 'CLEAR' => 'Limpar', + 'COPY' => 'copiar', + 'COPY_BLOCKS' => 'Copiar Blocos?', + 'COPY_BLOCKS_CONFIRM' => 'Você tem certeza que gostaria de copiar blocos de outra página?

Isto irá apagar todos os blocos existentes e suas configurações para esta página e substituí-los pelos blocos da página selecionada.', + + 'DEFAULT_LAYOUT_EXPLAIN' => 'Se definido, todas as páginas do site para as quais você não tem blocos especificados herdarão os blocos do layout padrão. No entanto, você pode substituir o layout padrão para páginas específicas usando as opções à direita.', + 'DELETE' => 'excluir', + 'DELETE_ALL_BLOCKS' => 'Excluir Todos os Blocos', + 'DELETE_ALL_BLOCKS_CONFIRM' => 'Tem certeza que deseja excluir todos os blocos desta página?', + 'DELETE_BLOCK' => 'Excluir Bloco', + 'DELETE_BLOCK_CONFIRM' => 'Tem certeza que deseja excluir este bloco?


Nota: Você terá que salvar as alterações no layout para tornar isso permanente.', + + 'EDIT' => 'Alterar', + 'EDIT_BLOCK' => 'Editar Bloco', + 'EXIT_EDIT_MODE' => 'Sair do modo de edição', + + 'FEED_PROBLEMS' => 'Houve um problema ao processar o rss/combo fornecido(s)', + 'FEED_URL_MISSING' => 'Por favor, forneça pelo menos um rss/atom-feed para começar', + 'FIELD_INVALID' => 'O valor fornecido para o campo “%s” tem um formato inválido', + 'FIELD_REQUIRED' => '“%s” é um campo obrigatório', + 'FIELD_TOO_LONG' => 'O valor fornecido para o campo “%1$s” é muito longo. O valor máximo aceitável é %2$d.', + 'FIELD_TOO_SHORT' => 'O valor fornecido para o campo “%1$s” é muito curto. O valor mínimo aceitável é %2$d.', + + 'HIDE_ALL_BLOCKS' => 'Não mostrar blocos nesta página', + 'HIDE_BLOCK_POSITIONS' => 'Não mostrar blocos para as seguintes posições de bloco:', + + 'IMAGES' => 'Imagens', + + 'LAYOUT' => 'Disposição', + 'LAYOUT_SAVED' => 'Layout salvo com sucesso!', + 'LAYOUT_SETTINGS' => 'Definições de Distribuição', + 'LEAVE_CONFIRM' => 'Você tem algumas alterações não salvas nesta página. Por favor, salve seu trabalho antes de seguir em frente', + 'LISTS' => 'Listas', + + 'MAKE_DEFAULT_LAYOUT' => 'Definir como Layout Padrão', + + 'OR' => 'OU', + + 'PARENT_ROUTE' => 'Antecessor', + 'PARENT_ROUTE_EXPLAIN' => '/index.php
/viewforum.php?f=2
/artigos', + 'PREDEFINED_CLASSES' => 'Classes predefinidas', + + 'REDO' => 'Refazer', + 'REMOVE_DEFAULT_LAYOUT' => 'Remover como Layout Padrão', + 'REMOVE_STARTPAGE' => 'Remover Página Inicial', + 'ROUTE_HIDDEN_BLOCKS' => 'Os blocos estão sendo ocultos para esta página', + 'ROUTE_HIDDEN_POSITIONS' => 'Os blocos estão sendo ocultados para as seguintes posições', + 'ROUTE_UPDATED' => 'Configurações da página atualizadas com sucesso', + + 'SAVE_CHANGES' => 'Salvar as alterações', + 'SAVE_SETTINGS' => 'Salvar Configurações', + 'SELECT_ICON' => 'Selecione um ícone', + 'SETTINGS' => 'Confirgurações', + 'SETTING_TOO_BIG' => 'O valor fornecido para a configuração "%1$s" é muito alto. O valor máximo aceitável é %2$d.', + 'SETTING_TOO_LONG' => 'O valor fornecido para a configuração “%1$s” é muito longo. O comprimento máximo aceitável é %2$d.', + 'SETTING_TOO_LOW' => 'O valor fornecido para a configuração “%1$s” é muito baixo. O valor mínimo aceitável é “ %2$d.', + 'SETTING_TOO_SHORT' => 'O valor fornecido para a configuração “%1$s” é muito curto. A extensão mínima aceitável é %2$d.', + 'SET_STARTPAGE' => 'Definir como página inicial', + + 'TITLES' => 'Títulos', + + 'UPDATE_SIMILAR' => 'Atualizar blocos com configurações similares', + 'UNDO' => 'Desfazer', + + 'VIEW_DEFAULT_LAYOUT' => 'Visualizar/Editar Layout Padrão', + 'VISIT_PAGE' => 'Visitar página', +)); diff --git a/language/pt_br/blocks_admin.php b/language/pt_br/blocks_admin.php new file mode 100644 index 000000000000..56371e3d2763 --- /dev/null +++ b/language/pt_br/blocks_admin.php @@ -0,0 +1,189 @@ + 'Todos os tipos', + 'ALL_GROUPS' => 'Todos os Grupos', + 'ARCHIVES' => 'Arquivos', + 'AUTO_LOGIN' => 'Permitir login automático?', + 'FILE_MANAGER' => 'Gerenciador de Arquivos', + 'TOPIC_POST_IDS' => 'Do Tópico/Publicar Identificações', + 'TOPIC_POST_IDS_EXPLAIN' => 'Id(s) de tópicos/postagens para recuperar anexos, separados por vírgulas(,). Especifique se esta lista é para tópicos ou IDs de postagens acima.', + 'TOPIC_POST_IDS_TYPE' => 'Tipo de IDs (abaixo)', + + // Blocks + 'BLITZE_SITEMAKER_BLOCK_ATTACHMENTS' => 'Anexos', + 'BLITZE_SITEMAKER_BLOCK_BIRTHDAY' => 'Aniversário', + 'BLITZE_SITEMAKER_BLOCK_CUSTOM' => 'Bloco personalizado', + 'BLITZE_SITEMAKER_BLOCK_FEATURED_MEMBER' => 'Membro em destaque', + 'BLITZE_SITEMAKER_BLOCK_FEEDS' => 'RSS/Atom Feed', + 'BLITZE_SITEMAKER_BLOCK_FORUM_POLL' => 'Fórum da Enquete', + 'BLITZE_SITEMAKER_BLOCK_FORUM_TOPICS' => 'Tópicos do fórum', + 'BLITZE_SITEMAKER_BLOCK_GOOGLE_MAPS' => 'Google Maps', + 'BLITZE_SITEMAKER_BLOCK_POPULAR_TOPICS' => 'Tópicos Populares', + 'BLITZE_SITEMAKER_BLOCK_LINKS' => 'Links', + 'BLITZE_SITEMAKER_BLOCK_LOGIN' => 'Caixa de Entrada', + 'BLITZE_SITEMAKER_BLOCK_MEMBERS' => 'membros', + 'BLITZE_SITEMAKER_BLOCK_MEMBER_MENU' => 'Menu de Membro', + 'BLITZE_SITEMAKER_BLOCK_MENU' => 'Menu', + 'BLITZE_SITEMAKER_BLOCK_MYBOOKMARKS' => 'Meus Favoritos', + 'BLITZE_SITEMAKER_BLOCK_RECENT_TOPICS' => 'Tópicos Recentes', + 'BLITZE_SITEMAKER_BLOCK_STATS' => 'estatísticas', + 'BLITZE_SITEMAKER_BLOCK_STYLE_SWITCHER' => 'Alternador de estilo', + 'BLITZE_SITEMAKER_BLOCK_WHATS_NEW' => 'Quais as novidades?', + 'BLITZE_SITEMAKER_BLOCK_WHOIS' => 'Quem está online', + 'BLITZE_SITEMAKER_BLOCK_WORDGRAPH' => 'Wordgraph', + + // block views + 'BLOCK_VIEW' => 'Visualização de Bloco', + 'BLOCK_VIEW_BASIC' => 'Básico', + 'BLOCK_VIEW_BOXED' => 'Encaixado', + 'BLOCK_VIEW_DEFAULT' => 'Padrão', + 'BLOCK_VIEW_SIMPLE' => 'Simples', + + 'CACHE_DURATION' => 'Duração do cache', + 'CONTEXT' => 'Contexto', + 'CSS_SCRIPTS' => 'CSS Scripts', + 'CUSTOM_PROFILE_FIELDS' => 'Campos de perfil personalizados', + + 'DATE_RANGE' => 'Date Range', + 'DISPLAY_PREVIEW' => 'Exibir pré-visualização?', + + 'EDIT_ME' => 'Por favor, edite-me', + 'ENABLE_TOPIC_TRACKING' => 'Ativar rastreamento do tópico?', + 'ENABLE_TOPIC_TRACKING_EXPLAIN' => 'Se ativado, tópicos não lidos serão indicados, mas os resultados do bloco não serão armazenados em cache (não recomendado)', + 'EXCLUDE_TOO_MANY_WORDS' => 'Você inseriu muitas palavras para excluir. O número máximo de caracteres possível é 255, você digitou %s.', + 'EXCLUDE_WORDS' => 'Excluir palavras', + 'EXCLUDE_WORDS_EXPLAIN' => 'Liste as palavras que você gostaria de excluir do wordgraph separados por vírgula (,). Máximo de 255 caracteres.', + 'EXPANDED' => 'Expandido', + 'EXTENSION_GROUP' => 'Grupo de extensão', + + 'FEATURED_MEMBER_IDS' => 'IDs de usuário', + 'FEATURED_MEMBER_IDS_EXPLAIN' => 'Lista separada por vírgulas de usuários em destaque (aplica-se apenas ao modo de exibição de membros em destaque)', + 'FEED_DATA_PREVIEW' => 'Dados do Feed', + 'FEED_ITEM_TEMPLATE' => 'Modelo de Item', + 'FEED_ITEM_TEMPLATE_EXPLAIN' => 'TIPS:
+
    +
  • Access feed data in item variable e.g. item.title
  • +
  • Template must be in Twig syntax
  • +
  • Click Samples above for sample templates
  • +
  • Use get_item_tags($namespace, $tag) to get any tag from the feed that we do not provide e.g.
    {{ get_item_tags(\'\', \'image\') }}
  • +
  • Use Twig’s json_encode filter to see contents of array e.g. {{ get_item_tags(\'\', \'image\')|json_encode() }}
  • +
', + 'FEED_PREVIEW_SOURCE' => 'fonte', + 'FEED_URL_PLACEHOLDER' => 'http://exemplo.com/rss', + 'FEED_URLS' => 'URLs do feed', + 'FIRST_POST_ONLY' => 'Apenas primeira publicação', + 'FIRST_POST_TIME' => 'Horário da primeira postagem', + 'FORUMS_GET_TYPE' => 'Pegar tipo', + 'FORUMS_MAX_TOPICS' => 'Máximo de tópicos/postagens', + 'FORUMS_TITLE_MAX_CHARS' => 'Máximo de caracteres por título', + 'FREQUENCY' => 'Frequência', + 'FULL' => 'Completo', + 'FULLSCREEN' => 'Tela cheia', + + 'GET_TYPE' => 'Exibir tópico/postar?', + + 'HTML' => 'HTML', + 'HTML_EXPLAIN' => 'Use este textarea para inserir conteúdo HTML bruto.
Por favor, note que qualquer conteúdo publicado aqui irá sobrescrever o conteúdo do bloco personalizado e o editor de bloco visual não estará disponível.', + 'HOURS_SHORT' => 'h', + + 'JS_SCRIPTS' => 'Scripts JS', + + 'LAST_POST_TIME' => 'Hora da Última Postagem', + 'LAST_READ_TIME' => 'Último horário de leitura', + 'LIMIT' => 'Limitar', + 'LIMIT_FORUMS' => 'Id do fórum (opcional)', + 'LIMIT_FORUMS_EXPLAIN' => 'Insira cada id de fórum separado por uma vírgula (,). Se definido, apenas tópicos de fóruns específicos serão exibidos.', + 'LIMIT_POST_TIME' => 'Limite por tempo da postagem', + 'LIMIT_POST_TIME_EXPLAIN' => 'Se definido, apenas tópicos postados dentro do período especificado serão recuperados', + + 'MAX_DEPTH' => 'Profundidade máxima', + 'MAX_ITEMS' => 'Número máximo de itens', + 'MAX_MEMBERS' => 'Máximo de membros', + 'MAX_POSTS' => 'Número máximo de postagens', + 'MAX_TOPICS' => 'Número máximo de tópicos', + 'MAX_WORDS' => 'Número máximo de palavras', + 'MANAGE_MENUS' => 'Gerenciar menus', + 'MAP_COORDINATES' => 'Coordenadas', + 'MAP_COORDINATES_EXPLAIN' => 'Insira coordenadas no formato latitude, longitude', + 'MAP_HEIGHT' => 'Altura', + 'MAP_LOCATION' => 'Local:', + 'MAP_TITLE' => 'Título', + 'MAP_VIEW' => 'Visualizar', + 'MAP_VIEW_HYBRID' => 'Híbrido', + 'MAP_VIEW_MAP' => 'Mapear', + 'MAP_VIEW_SATELITE' => 'Satélite', + 'MAP_VIEW_TERRAIN' => 'Terrain', + 'MAP_ZOOM_LEVEL' => 'Nível de zoom', + 'MEMBERS_DATE' => 'Encontro', + 'MENU_NO_ITEMS' => 'Não há itens ativos para exibir', + 'MINI' => 'Mini', + + 'OR' => 'OU', + 'ORDER_BY' => 'Ordenar por', + + 'POLL_FROM_FORUMS' => 'Exibir enquetes dos fóruns', + 'POLL_FROM_FORUMS_EXPLAIN' => 'Apenas as enquetes dos fóruns selecionados serão exibidas enquanto nenhum tópico for especificado acima', + 'POLL_FROM_GROUPS' => 'Exibir enquetes do(s) grupo(s)', + 'POLL_FROM_GROUPS_EXPLAIN' => 'Apenas as enquetes dos membros dos grupos selecionados serão exibidas enquanto nenhum usuário for / forem especificados acima', + 'POLL_FROM_TOPICS' => 'Exibir enquetes do tópico (s)', + 'POLL_FROM_TOPICS_EXPLAIN' => 'Id(s) de tópicos para recuperar enquetes, separados por vírgulas(,). Deixe em branco para selecionar qualquer tópico.', + 'POLL_FROM_USERS' => 'Exibir enquetes do usuário', + 'POLL_FROM_USERS_EXPLAIN' => 'Id(s) do(s) usuário(s) cujas enquetes você gostaria de exibir, separados por vírgulas(,). Deixe em branco para selecionar enquetes de qualquer usuário.', + 'POSTS_TITLE_LIMIT' => 'Número máximo de caracteres para o título da postagem', + 'PREVIEW_MAX_CHARS' => 'Número de caracteres para pré-visualização', + + 'QUERY_TYPE' => 'Modo de exibição', + + 'ROTATE_DAILY' => 'Diariamente', + 'ROTATE_HOURLY' => 'Horário', + 'ROTATE_MONTHLY' => 'Mensual', + 'ROTATE_PAGELOAD' => 'Carregar página', + 'ROTATE_WEEKLY' => 'Semanalmente', + + 'SAMPLES' => 'Amostras', + 'SCRIPTS' => 'Scripts', + 'SELECT_FORUMS' => 'Selecionar fóruns', + 'SELECT_FORUMS_EXPLAIN' => 'Selecione os fóruns de onde exibir tópicos/postagens. Deixe em branco para selecionar de todos os fóruns', + 'SELECT_MENU' => 'Selecione o Menu', + 'SELECT_PROFILE_FIELDS' => 'Selecione campos de perfil', + 'SELECT_PROFILE_FIELDS_EXPLAIN' => 'Somente os campos do perfil selecionados serão exibidos, se disponíveis.', + 'SHOW_FIRST_POST' => 'Primeira publicação', + 'SHOW_HIDE_ME' => 'Permitir ocultar o estado online?', + 'SHOW_LAST_POST' => 'Última postagem', + 'SHOW_MEMBER_MENU' => 'Mostrar menu do usuário?', + 'SHOW_MEMBER_MENU_EXPLAIN' => 'Substituir caixa de login pelo menu do usuário se o usuário estiver logado', + 'SHOW_WORD_COUNT' => 'Mostrar contagem de palavras?', + + 'TEMPLATE' => 'Modelo', + 'TOPIC_TITLE_LIMIT' => 'Número máximo de caracteres para o título do tópico', + 'TOPIC_TYPE' => 'Tipo de tópico', + 'TOPIC_TYPE_EXPLAIN' => 'Selecione os tipos de tópicos que você gostaria de exibir. Deixe as caixas não marcadas para selecionar de todos os tipos de tópicos', + 'TOPICS_LOOK_BACK' => 'Olhe para trás', + 'TOPICS_ONLY' => 'Apenas tópicos?', + 'TOPICS_PER_PAGE' => 'Por página', + + 'WORD_MAX_SIZE' => 'Tamanho máximo da fonte', + 'WORD_MIN_SIZE' => 'Tamanho mínimo da fonte', +)); diff --git a/language/pt_br/common.php b/language/pt_br/common.php new file mode 100644 index 000000000000..1f6659ddf829 --- /dev/null +++ b/language/pt_br/common.php @@ -0,0 +1,97 @@ + 'Todos os tempos', + + 'BLOCK_TITLE' => 'Título do Bloco', + + 'CHANGE_ME' => 'Alterar para mim', + + 'DAILY_MEMBER' => 'Membro do dia', + + 'FEATURED_MEMBER' => 'Membro em destaque', + 'FEATURED_MEMBERLIST' => 'Lista de participantes destacados', + 'FEEDS' => 'Conteúdos', + 'FORUM_ANNOUNCEMENTS' => 'Avisos do fórum', + 'FORUM_GLOBAL_ANNOUNCEMENTS' => 'Anúncios de Fórum Global', + 'FORUM_RECENT_POSTS' => 'Posts Recentes do Fórum', + 'FORUM_RECENT_TOPICS' => 'Tópicos Recentes do Fórum', + 'FORUM_STICKY_POSTS' => 'Publicações Recentes de Fixação', + + 'HELP' => 'Socorro', + 'HOURLY_MEMBER' => 'Membro da hora', + + 'GOOGLE_MAP' => 'Google Mapa', + + 'JOIN_DATE' => 'Data de entrada', + + 'LAST_POST_BY_AUTHOR' => 'Última publicação por', + 'LAST_VISITED' => 'Última visita', + 'LINKS' => 'Links', + + 'MCP_SITEMAKER_CONTENT' => 'Conteúdo', + 'MEMBERS_DATE' => 'Encontro', + 'MENU' => 'Menu', + 'MONTHLY_MEMBER' => 'Membro do mês', + 'MOST_TENURED' => 'Mais tensas', + 'MY_BOOKMARKS' => 'Meus Favoritos', + + 'NO_BOOKMARKED_TOPICS' => 'Você não marcou nenhum tópico como favorito', + 'NO_NEW_TOPICS' => 'Não há novos tópicos para exibir', + + 'POLL' => 'Enquete', + 'POPULAR_TOPICS' => 'Tópicos Populares', + 'POSTS_MEMBER' => 'Cartaz superior', + 'PROCESSING' => 'Processandochar@@0', + + 'QTYPE_POSTS' => 'Parabéns para:', + 'QTYPE_RECENT' => 'Por favor, seja bem-vindo ao nosso mais recente usuário:', + + 'RECENT_BOTS' => 'Motores de busca recentes', + 'RECENT_MEMBER' => 'Membro recente', + 'RECENT_MEMBERS' => 'Membros recentes', + + 'SESSION_HIDE_ME' => 'Me Esconder', + 'SM_NAVIGATION' => 'Navigation', + 'SM_TOGGLE_DROPDOWN' => 'Ativar/Desativar dropdown', + 'STYLE_SWITCHER' => 'Alternador de estilo', + + 'THIS_MONTH' => 'Este Mês', + 'THIS_WEEK' => 'Esta semana', + 'THIS_YEAR' => 'Este Ano', + 'TODAY' => 'hoje', + 'TOPICS_LAST_READ' => 'Últimos tópicos lidos', + 'TOPIC_LAST_READ' => 'Última leitura %s', + 'TOP_POSTERS' => 'Melhores cartazes', + + 'UCP_SITEMAKER_CONTENT' => 'Minhas Coisas', + + 'VIEW_DETAILS' => 'Visualizar Detalhes', + 'VIEW_USER_PROFILE' => 'Tudo sobre %s', + + 'WEEKLY_MEMBER' => 'Membro da semana', + 'WELCOME' => 'Boas-vindas', + 'WHATS_NEW' => 'Quais as novidades?', + 'WORDGRAPH' => 'Wordgraph', +)); diff --git a/language/pt_br/css_presets.php b/language/pt_br/css_presets.php new file mode 100644 index 000000000000..3dec98de641e --- /dev/null +++ b/language/pt_br/css_presets.php @@ -0,0 +1,107 @@ + 'Marcador Lista de Flechas', + 'LIST_CIRCLE' => 'Marcador Lista Círculo', + 'LIST_DISC' => 'Marcador de lista com marcadores', + 'LIST_SQUARE' => 'Marcador de lista quadrado', + 'LIST_NUMBERED' => 'Lista numerada', + 'LIST_NUMBERED_ALPHABET' => 'Numerado com alfabeto', + 'LIST_NUMBERED_NESTED' => 'Numerado com subseções', + 'LIST_NUMBERED_ROMAN' => 'Numerado com numerais romanos', + 'LIST_NUMBERED_ZERO' => 'Numerado com zero à esquerda', + 'LIST_INLINE' => 'Lista em linha', + 'LIST_INLINE_SEP' => 'Lista separada por vírgulas', + 'LIST_REVERSE' => 'Ordem inversa', + 'LIST_STRIPED' => 'Lista listrada', + 'LIST_STACKED' => 'Lista empilhada', + 'LIST_TRIANGLE' => 'Triângulo', + 'LIST_HYPHEN' => 'Hífen', + 'LIST_PLUS' => 'Mais', + 'LIST_SPADE' => 'Spade', + 'LIST_CLUB' => 'Clava', + 'LIST_DIAMOND' => 'Diamante', + 'LIST_HEART' => 'Coração', + 'LIST_STAR' => 'Estrela', + 'LIST_CHECK' => 'Verificar', + 'LIST_SNOWFLAKE' => 'Floco de Neve', + 'LIST_MUSIC' => 'Música', + 'LIST_AUTOWIDTH' => 'Auto width', + 'LIST_FIT_CONTENT' => 'Ajustar conteúdo', + 'LIST_2COLS' => 'Lista de 2 colunas', + 'LIST_3COLS' => 'Lista de 3 colunas', + 'LIST_4COLS' => 'Lista de 4 colunas', + 'LIST_5COLS' => 'Lista de 5 colunas', + 'LIST_X_DIVIDER_DOTTED' => 'Divisor pontilhado horizontal', + 'LIST_X_DIVIDER_LINE' => 'Divisor de linha horizontal', + 'LIST_Y_DIVIDER_DOTTED' => 'Divisor pontilhado vertical', + 'LIST_Y_DIVIDER_LINE' => 'Divisor de linha vertical', + + 'IMAGE_SMALL' => 'Imagem pequena', + 'IMAGE_MEDIUM' => 'Imagem média', + 'IMAGE_LARGE' => 'Imagem grande', + 'IMAGE_FULL_WIDTH' => 'Largura total da imagem', + 'IMAGE_ALIGN_LEFT' => 'Imagem flutuante à esquerda', + 'IMAGE_ALIGN_RIGHT' => 'Imagem flutuante direita', + 'IMAGE_CIRCLE' => 'Imagem circular', + 'IMAGE_ROUNDED' => 'Imagem arredondada', + 'IMAGE_BORDER' => 'Imagem com Borda', + 'IMAGE_BORDER_PADDING' => 'Image border padding', + 'IMAGE_RATIO_SQUARE' => 'Imagem do quadrado', + 'IMAGE_RATIO_4_BY_3' => '4 por 3 imagens', + 'IMAGE_RATIO_16_BY_9' => '16 por 9 imagens', + + 'RESPONSIVE_SHOW' => 'Mostrar apenas em dispositivos pequenos', + 'RESPONSIVE_HIDE' => 'Ocultar em dispositivos pequenos', + + 'ALIGN_LEFT' => 'Texto alinhado à esquerda', + 'ALIGN_CENTER' => 'Texto centralizado', + 'ALIGN_RIGHT' => 'Texto alinhado à direita', + 'NO_PADDING' => 'No padding', + 'LABEL' => 'Descrição', + 'BADGE' => 'Distintivo', + 'PRIMARY_COLOR' => 'Cor principal', + 'SECONDARY_COLOR' => 'Cor secundária', + 'GRAYSCALE_COLOR' => 'Grayscale', + 'INFO_COLOR' => 'Informações', + 'SUCCESS_COLOR' => 'Sucesso', + 'WARNING_COLOR' => 'ATENÇÃO', + 'DANGER_COLOR' => 'Perigo', +)); diff --git a/language/pt_br/exceptions.php b/language/pt_br/exceptions.php new file mode 100644 index 000000000000..308f32ecd495 --- /dev/null +++ b/language/pt_br/exceptions.php @@ -0,0 +1,49 @@ + 'Campo obrigatório faltando', + 'EXCEPTION_INVALID_ACTION' => 'A ação não existe', + 'EXCEPTION_INVALID_ARGUMENT' => 'Argumento inválido especificado para `%1$s`. Motivo: %2$s', + 'EXCEPTION_INVALID_DATA_TYPE' => 'O valor fornecido é de um tipo de dado inesperado', + 'EXCEPTION_INVALID_ENTITY' => 'A entidade fornecida é de uma classe de entidade inesperada', + 'EXCEPTION_INVALID_PROPERTY' => 'A propriedade solicitada não existe', + 'EXCEPTION_OUT_OF_BOUNDS' => 'O pedido `%1$s` não existe', + 'EXCEPTION_SERVICE_NOT_FOUND' => 'O serviço solicitado não foi encontrado', + 'EXCEPTION_UNEXPECTED_VALUE' => 'A ação solicitada `%1$s` não pôde ser executada. Motivo: %2$s', +)); diff --git a/language/pt_br/ext.php b/language/pt_br/ext.php new file mode 100644 index 000000000000..9fe0d487da88 --- /dev/null +++ b/language/pt_br/ext.php @@ -0,0 +1,42 @@ + 'O diretório de Imagem do phpBB não é gravável. Por favor, altere as permissões de escrita para todos (777 ou -rwxrwx dentro de seu cliente FTP)', + 'PHPBB_VERSION_UNMET' => 'Esta extensão requer pelo menos phpBB %s', +)); diff --git a/language/pt_br/feed_fields.php b/language/pt_br/feed_fields.php new file mode 100644 index 000000000000..15bcd10d0ca1 --- /dev/null +++ b/language/pt_br/feed_fields.php @@ -0,0 +1,108 @@ + 'autor', + 'AUTHORS' => 'autores (matriz)', + 'BITRATE' => 'bitrate', + 'CAPTIONS' => 'legendas', + 'CATEGORIES' => 'categorias (matriz)', + 'CATEGORY' => 'Categoria', + 'CHANNELS' => 'Canais', + 'CONTENT' => 'conteúdo', + 'CONTRIBUTOR' => 'Colaborador', + 'CONTRIBUTORS' => 'contribuidores (matriz)', + 'COPYRIGHT' => 'direitos', + 'CREDITS' => 'créditos', + 'DATE' => 'Data', + 'DESCRIPTION' => 'Descrição', + 'DURATION' => 'Duração', + 'ENCLOSURE' => 'invólucro', + 'ENCLOSURES' => 'invólucro (matriz)', + 'EXPRESSION' => 'Expressão', + 'FEED' => 'Feed', + 'FRAMERATE' => 'framerate', + 'GMDATE' => 'Data do GM', + 'HANDLER' => 'handler', + 'HASHES' => 'hashes', + 'HEIGHT' => 'Altura', + 'ID' => 'id', + 'IMAGE_HEIGHT' => 'altura da imagem', + 'IMAGE_LINK' => 'link da imagem', + 'IMAGE_TITLE' => 'título da imagem', + 'IMAGE_URL' => 'URL da imagem', + 'IMAGE_WIDTH' => 'largura da imagem', + 'ITEMS' => 'Itens', + 'JAVASCRIPT' => 'JavaScript', + 'KEYWORDS' => 'Palavras-chave', + 'LABEL' => 'Etiqueta', + 'LANG' => 'lang', + 'LATITUDE' => 'latitude', + 'LENGTH' => 'comprimento', + 'LINK' => 'ligação', + 'LINKS' => 'links', + 'LONGITUDE' => 'longitude', + 'MEDIUM' => 'Médio', + 'NAME' => 'Nome', + 'PERMALINK' => 'permalink', + 'PLAYER' => 'jogador', + 'RATINGS' => 'avaliações', + 'RELATIONSHIP' => 'relação', + 'RESTRICTIONS' => 'restrições (matriz)', + 'SAMPLINGRATE' => 'taxa de amostragem', + 'SCHEME' => 'esquema', + 'SOURCE' => 'Fonte', + 'TERM' => 'Termo', + 'THUMBNAILS' => 'thumbnails', + 'TITLE' => 'Título', + 'TYPE' => 'Tipo', + 'UPDATED_DATE' => 'data de atualização', + 'UPDATED_GMDATE' => 'data do GM atualizada', + 'VALUE' => 'Valor', + 'WIDTH' => 'width', +)); diff --git a/language/pt_br/icons.php b/language/pt_br/icons.php new file mode 100644 index 000000000000..e7a81c5a3387 --- /dev/null +++ b/language/pt_br/icons.php @@ -0,0 +1,71 @@ + 'Acessibilidade', + 'ICON_ARROWS' => 'Setas', + 'ICON_BRAND' => 'Bandeira', + 'ICON_CHART' => 'Gráfico', + 'ICON_CURRENCY' => 'moeda', + 'ICON_DIRECTIONAL' => 'Direcional', + 'ICON_FILE_TYPE' => 'Tipo de arquivo', + 'ICON_FORM_CONTROL' => 'Controle de Formulário', + 'ICON_GENDER' => 'Gênero', + 'ICON_HAND' => 'Mão', + 'ICON_MEDICAL' => 'Medicamentos', + 'ICON_PAYMENT' => 'Pagamento', + 'ICON_SPINNER' => 'Girar', + 'ICON_TEXT_EDITOR' => 'Editor de Texto', + 'ICON_TRANSPORTATION' => 'Transporte', + 'ICON_VIDEO_PLAYER' => 'Reprodutor de Vídeo', + 'ICON_WEB_APPLICATION' => 'Aplicativo Web', + + 'ICON_COLOR' => 'Cor', + 'ICON_DEFAULT' => 'Padrão', + 'ICON_FLIP_BOTH' => 'Virar ambos', + 'ICON_FLIP_HORIZONTAL' => 'Inverter horizontalmente', + 'ICON_FLIP_VERTICAL' => 'Inverter verticalmente', + 'ICON_FLOAT' => 'Flutuante', + 'ICON_FLOAT_LEFT' => 'Esquerda', + 'ICON_FLOAT_RIGHT' => 'Direita', + 'ICON_FONT' => 'Font Icons', + 'ICON_INSERT_UPDATE' => 'Insert/Update', + 'ICON_MISC' => 'Diversos', + 'ICON_MISC_BORDERED' => 'Borda', + 'ICON_MISC_FIXED_WIDTH' => 'Largura fixa', + 'ICON_MISC_PULSE' => 'Pulsar', + 'ICON_MISC_SPINNING' => 'Girando', + 'ICON_ROTATION' => 'Rotação', + 'ICON_ROTATE_90' => '90°', + 'ICON_ROTATE_180' => '180°', + 'ICON_ROTATE_270' => '270°', + 'ICON_SIZE' => 'Tamanho', + 'ICON_SIZE_LG' => 'Maior', + 'ICON_SIZE_SM' => 'Pequeno', + 'ICON_SIZE_2X' => '2x', + 'ICON_SIZE_3X' => '3x', + 'ICON_SIZE_4X' => '4x', + 'ICON_SIZE_5X' => '5x', + + 'NO_ICON' => 'Sem Ícone', +)); diff --git a/language/pt_br/info_acp_menus.php b/language/pt_br/info_acp_menus.php new file mode 100644 index 000000000000..82fa3a09a785 --- /dev/null +++ b/language/pt_br/info_acp_menus.php @@ -0,0 +1,92 @@ + 'Menu', + 'ACP_MENU_MANAGE' => 'Gestão do Menu', + 'ACP_MENU_MANAGE_EXPLAIN' => 'Aqui você pode criar e gerenciar menus do seu site', + 'ADD_BULK_MENU' => 'Adicionar itens de menu em massa', + 'ADD_BULK_MENU_EXPLAIN' => 'Adicionar múltiplos itens do menu de uma só vez.
- Coloque cada item em uma linha separada
- Use a tecla Tab para representar itens de relacionamento pai
- Digite item e URL da seguinte forma: Home➲ index.php', + 'ADD_MENU' => 'Adicionar Menu', + 'ADD_MENU_ITEM' => 'Adicionar Item de Menu', + 'ADD_ITEM' => 'Adicionar novo item', + 'AJAX_PROCESSING' => 'Trabalhando', + + 'CHANGE_ME' => 'Alterar para mim', + + 'DELETE_ITEM' => 'Excluir Item', + 'DELETE_KIDS' => 'Excluir branch', + 'DELETE_MENU' => 'Excluir Menu', + 'DELETE_MENU_CONFIRM' => 'Tem certeza que deseja excluir este menu?
Isto irá excluir o menu e todos os seus itens', + 'DELETE_MENU_ITEM' => 'Excluir Item', + 'DELETE_MENU_ITEM_CONFIRM' => 'Tem certeza que deseja excluir este item de menu?', + 'DELETE_SELECTED' => 'Excluir Selecionados', + + 'EDIT_ITEM' => 'Editar Item', + + 'ITEM_ACTIVE' => 'ativo', + 'ITEM_INACTIVE' => 'Inativo', + 'ITEM_PARENT' => 'Antecessor', + 'ITEM_TITLE' => 'Título do Item', + 'ITEM_TITLE_EXPLAIN' => 'Definir como "-" para o divisor', + 'ITEM_TARGET' => 'Item Target', + 'ITEM_URL' => 'URL do item', + 'ITEM_URL_EXPLAIN' => '- Deixar vazio para cabeçalhos
- Sites externos devem começar com http(s)://, ftp://, //, etc', + + 'MENU_ITEMS' => 'Itens do menu', + + 'NO_MENU_ITEMS' => 'Nenhum item de menu foi criado', + 'NO_PARENT' => 'Sem pai', + + 'PROCESSING_ERROR' => 'Erro de processamento', + + 'REBUILD_TREE' => 'Reconstruir a Árvore', + 'REQUIRED' => 'Obrigatório', + 'REQUIRED_FIELDS' => '* Campos obrigatórios', + + 'SAVE_CHANGES' => 'Salvar as alterações', + 'SAVE' => 'Guardar', + 'SELECT_ALL' => 'Selecionar Todos', + + 'TARGET_BLANK' => 'Página em branco', + 'TARGET_PARENT' => 'Antecessor', + + 'UNSAVED_CHANGES' => 'Você tem alterações não salvas', + + 'VISIT_PAGE' => 'Visitar página', +)); diff --git a/language/pt_br/info_acp_settings.php b/language/pt_br/info_acp_settings.php new file mode 100644 index 000000000000..24536028fd0e --- /dev/null +++ b/language/pt_br/info_acp_settings.php @@ -0,0 +1,74 @@ + 'SiteMaker', + 'ACP_SM_SETTINGS' => 'Confirgurações', + + 'BLOCKS_CLEANUP' => 'Limpar blocos', + 'BLOCKS_CLEANUP_EXPLAIN' => 'Os seguintes itens foram encontrados para não existirem mais ou serem inacessíveis, e você pode, portanto, excluir todos os blocos associados a eles. Tenha em mente que alguns destes podem ser falsos positivos', + 'BLOCKS_CLEANUP_BLOCKS' => 'Blocos inválidos (por exemplo, de extensões desinstaladas):', + 'BLOCKS_CLEANUP_ROUTES' => 'Páginas inalcançáveis/quebradas:', + 'BLOCKS_CLEANUP_STYLES' => 'Estilos desinstalados (ids):', + 'BLOCKS_CLEANUP_SUCCESS' => 'Blocos removidos com sucesso', + + 'FORUM_INDEX_SETTINGS' => 'Configurações do Fórum Índice', + 'FORUM_INDEX_SETTINGS_EXPLAIN' => 'Estas configurações só se aplicam quando não há nenhuma página inicial definida', + + 'HIDE' => 'Esconder', + 'HIDE_BIRTHDAY' => 'Ocultar seção de aniversário', + 'HIDE_LOGIN' => 'Ocultar caixa de entrada', + 'HIDE_ONLINE' => 'Ocultar a seção Whos online', + + 'LAYOUT_BLOG' => 'Blogue', + 'LAYOUT_CUSTOM' => 'Personalizado', + 'LAYOUT_HOLYGRAIL' => 'Grave Sagrado', + 'LAYOUT_PORTAL' => 'Portal', + 'LAYOUT_PORTAL_ALT' => 'Portal (alternativo)', + 'LAYOUT_SETTINGS' => 'Definições de Distribuição', + + 'LOG_DELETED_BLOCKS_FOR_STYLE' => 'Blocos do Sitemaker excluídos para falta de estilo com id %s', + 'LOG_DELETED_BLOCKS_FOR_ROUTE' => 'Blocos do Sitemaker excluídos para páginas quebradas:
%s', + 'LOG_DELETED_BLOCKS' => 'Blocos do Sitemaker inválidos excluídos:
%s', + + 'NAVIGATION_SETTINGS' => 'Configurações de navegação', + + 'SETTINGS_SAVED' => 'Suas configurações foram salvas', + 'SHOW' => 'Apresentar', + 'SHOW_FORUM_NAV' => 'Mostrar o "Fórum" na barra de navegação?', + 'SHOW_FORUM_NAV_EXPLAIN' => 'Quando uma página é definida como página inicial em vez do índice do fórum, devemos exibir o \'Fórum\' na barra de navegação', + 'SHOW_FORUM_NAV_WITH_ICON' => 'Sim - com ícone:', +]); diff --git a/language/pt_br/navbar_manager.php b/language/pt_br/navbar_manager.php new file mode 100644 index 000000000000..8af1f15c8145 --- /dev/null +++ b/language/pt_br/navbar_manager.php @@ -0,0 +1,79 @@ + 'Elemento ativo', + 'BORDER' => 'Border', + 'BORDER_COLOR' => 'Cor da Borda', + 'BORDER_RADIUS' => 'Raio da borda', + 'BORDER_WIDTH' => 'Border Width', + 'BOTTOM' => 'Inferior', + 'BOTTOM_LEFT' => 'Canto inferior esquerdo', + 'BOTTOM_RIGHT' => 'Canto inferior direito', + 'CAPITALIZE' => 'Capitalizar', + 'COLOR' => 'Cor', + 'DIVIDERS' => 'Divisores', + 'END' => 'Término', + 'GRADIENT' => 'Degradê', + 'HEADERS' => 'Cabeçalhos', + 'HOVER' => 'Hover', + 'LEFT' => 'Esquerda', + 'LOWERCASE' => 'Minúsculo', + 'MARGIN' => 'Margem', + 'NAVBAR' => 'Navbar', + 'NAVBAR_MENU' => 'Navbar menu', + 'NAVBAR_DROPDOWN' => 'Suspensa', + 'NAVBAR_LOCATION' => 'Local:', + 'NAVBAR_LOCATION_OPTION' => 'Localização #%s', + 'NAVBAR_TOP_MENU' => 'Menu superior', + 'NONE' => 'Nenhuma', + 'PADDING' => 'Padding', + 'RESPONSIVE_TOGGLE' => 'Ligar/desligar responsivo', + 'RESPONSIVE_TOGGLE_EXPLAIN' => 'Visível apenas em telas pequenas (móveis)', + 'RIGHT' => 'Direita', + 'SAVE' => 'Guardar', + 'SIZE' => 'Tamanho', + 'START' => 'Iniciar', + 'TEXT' => 'texto', + 'TOP' => 'Superior', + 'TOP_LEFT' => 'Superior Esquerdo', + 'TOP_RIGHT' => 'Superior Direito', + 'TRANSFORM' => 'Transformar', + 'UPPERCASE' => 'Maiúscula', +)); diff --git a/language/pt_br/permissions_sitemaker.php b/language/pt_br/permissions_sitemaker.php new file mode 100644 index 000000000000..53d5a308e38b --- /dev/null +++ b/language/pt_br/permissions_sitemaker.php @@ -0,0 +1,45 @@ + '[ SiteMaker ] Pode gerenciar configurações', + 'ACL_A_SM_MANAGE_BLOCKS' => '[ SiteMaker ] Pode gerenciar blocos', + 'ACL_A_SM_MANAGE_MENUS' => '[ SiteMaker ] Pode gerenciar menus', +)); diff --git a/language/ro/block_manager.php b/language/ro/block_manager.php new file mode 100644 index 000000000000..22f677c9a253 --- /dev/null +++ b/language/ro/block_manager.php @@ -0,0 +1,123 @@ + '*Blocuri Drag and Drop', + 'AJAX_ERROR' => 'Ups! A apărut o eroare la procesarea cererii dvs. Încercați din nou.', + 'AJAX_LOADING' => 'Încărcare...', + 'AJAX_PROCESSING' => 'Procesare...', + + 'BACKGROUND' => 'Context', + 'BLOCKS' => 'Blocuri', + 'BLOCKS_COPY_FROM' => 'Copiază Blocurile', + 'BLOCK_ACTIVE' => 'Activ', + 'BLOCK_CHILD_ROUTES_ONLY' => 'Arată doar pe rutele copiilor', + 'BLOCK_CHILD_ROUTES_HIDE' => 'Ascunde pe rutele copil', + 'BLOCK_CLASS' => 'Clasă CSS', + 'BLOCK_CLASS_EXPLAIN' => 'Modifică aspectul blocului cu clasele CSS', + 'BLOCK_DESIGN' => 'Aspectul', + 'BLOCK_DISPLAY_TYPE' => 'Afişare', + 'BLOCK_HIDE_TITLE' => 'Ascunde titlul blocului?', + 'BLOCK_INACTIVE' => 'Inactiv', + 'BLOCK_MISSING_TEMPLATE' => 'Lipsește șablonul pentru bloc. Vă rugăm să contactați dezvoltatorul', + 'BLOCK_NOT_FOUND' => 'Ups! Serviciul de blocare solicitat nu a fost găsit', + 'BLOCK_NO_DATA' => 'Nu există date de afișat', + 'BLOCK_NO_ID' => 'Hopa! Lipsește id bloc', + 'BLOCK_PERMISSION' => 'Permisiune', + 'BLOCK_PERMISSION_ALLOW' => 'Arată pentru', + 'BLOCK_PERMISSION_DENY' => 'Ascunde din', + 'BLOCK_PERMISSION_EXPLAIN' => 'Folosește CTRL + click pentru a comuta selecția', + 'BLOCK_SHOW_ALWAYS' => 'Întotdeauna', + 'BLOCK_STATUS' => 'Status', + 'BLOCK_UPDATED' => 'Setările blocului au fost actualizate', + + 'CANCEL' => 'Anulează', + 'CHILD_ROUTE' => 'Copil', + 'CHILD_ROUTE_EXPLAIN' => '/viewforum.php, /dir/index.php
/viewtopic.php?f=2&t=1
/articles/my-article', + 'CLEAR' => 'Curăță', + 'COPY' => 'Copiază', + 'COPY_BLOCKS' => 'Copiază blocurile?', + 'COPY_BLOCKS_CONFIRM' => 'Ești sigur că vrei să copiezi blocuri de pe altă pagină?

Aceasta va șterge toate blocurile existente și setările lor pentru această pagină și le va înlocui cu blocurile din pagina selectată.', + + 'DEFAULT_LAYOUT_EXPLAIN' => 'Dacă este setat, toate paginile site-ului pentru care nu aţi specificat blocuri vor moşteni blocurile din layout-ul implicit. Cu toate acestea, puteți suprascrie aspectul implicit pentru anumite pagini folosind opțiunile de la dreapta.', + 'DELETE' => 'Ștergere', + 'DELETE_ALL_BLOCKS' => 'Șterge toate blocurile', + 'DELETE_ALL_BLOCKS_CONFIRM' => 'Ești sigur că vrei să ștergi toate blocurile pentru această pagină?', + 'DELETE_BLOCK' => 'Șterge bloc', + 'DELETE_BLOCK_CONFIRM' => 'Sunteţi sigur că doriţi să ştergeţi acest bloc?


Notă: Va trebui să salvați modificările de aspect pentru a face acest lucru permanent.', + + 'EDIT' => 'Editare', + 'EDIT_BLOCK' => 'Modifică bloc', + 'EXIT_EDIT_MODE' => 'Ieșire din modul de editare', + + 'FEED_PROBLEMS' => 'A apărut o problemă la procesarea feed-ului rss/atom furnizat', + 'FEED_URL_MISSING' => 'Vă rugăm să furnizați cel puțin un rss/atom pentru a începe', + 'FIELD_INVALID' => 'Valoarea furnizată pentru câmpul „%s” are un format nevalid', + 'FIELD_REQUIRED' => '“%s” este un câmp obligatoriu', + 'FIELD_TOO_LONG' => 'Valoarea furnizată pentru câmpul „%1$s” este prea lungă. Valoarea maximă acceptabilă este %2$d.', + 'FIELD_TOO_SHORT' => 'Valoarea furnizată pentru câmpul „%1$s” este prea scurtă. Valoarea minimă acceptabilă este %2$d.', + + 'HIDE_ALL_BLOCKS' => 'Nu arăta blocuri pe această pagină', + 'HIDE_BLOCK_POSITIONS' => 'Nu afișa blocuri pentru următoarele poziții ale blocului:', + + 'IMAGES' => 'Imagini', + + 'LAYOUT' => 'Aspect', + 'LAYOUT_SAVED' => 'Aspect salvat cu succes!', + 'LAYOUT_SETTINGS' => 'Setări aspect', + 'LEAVE_CONFIRM' => 'Aveți câteva modificări nesalvate la această pagină. Vă rugăm să salvați munca înainte de a trece la', + 'LISTS' => 'Liste', + + 'MAKE_DEFAULT_LAYOUT' => 'Setează ca Layout implicit', + + 'OR' => 'SAU', + + 'PARENT_ROUTE' => 'Părinte', + 'PARENT_ROUTE_EXPLAIN' => '/index.php
/viewforum.php?f=2
/articles', + 'PREDEFINED_CLASSES' => 'Clase predefinite', + + 'REDO' => 'Reface', + 'REMOVE_DEFAULT_LAYOUT' => 'Elimină ca aspect implicit', + 'REMOVE_STARTPAGE' => 'Elimină pagina de start', + 'ROUTE_HIDDEN_BLOCKS' => 'Blocurile sunt ascunse pentru această pagină', + 'ROUTE_HIDDEN_POSITIONS' => 'Blocurile sunt ascunse pentru următoarele poziții', + 'ROUTE_UPDATED' => 'Setările paginii au fost actualizate', + + 'SAVE_CHANGES' => 'Salvează modificările', + 'SAVE_SETTINGS' => 'Salvează setările', + 'SELECT_ICON' => 'Selectaţi o pictogramă', + 'SETTINGS' => 'Setări', + 'SETTING_TOO_BIG' => 'Valoarea furnizată pentru setarea "%1$s" este prea mare. Valoarea maximă acceptabilă este %2$d.', + 'SETTING_TOO_LONG' => 'Valoarea furnizată pentru setarea „%1$s” este prea lungă. Lungimea maximă acceptabilă este %2$d.', + 'SETTING_TOO_LOW' => 'Valoarea furnizată pentru setarea „%1$s” este prea mică. Valoarea minimă acceptabilă este %2$d.', + 'SETTING_TOO_SHORT' => 'Valoarea furnizată pentru setarea „%1$s” este prea scurtă. Lungimea minimă acceptabilă este %2$d.', + 'SET_STARTPAGE' => 'Setează ca pagină de start', + + 'TITLES' => 'Titluri', + + 'UPDATE_SIMILAR' => 'Actualizați blocurile cu setări similare', + 'UNDO' => 'Anulează', + + 'VIEW_DEFAULT_LAYOUT' => 'Vizualizare/Editare Layout implicit', + 'VISIT_PAGE' => 'Vizitează pagina', +)); diff --git a/language/ro/blocks_admin.php b/language/ro/blocks_admin.php new file mode 100644 index 000000000000..81ebb4ffcc4c --- /dev/null +++ b/language/ro/blocks_admin.php @@ -0,0 +1,189 @@ + 'Toate tipurile', + 'ALL_GROUPS' => 'Toate Grupurile', + 'ARCHIVES' => 'Arhive', + 'AUTO_LOGIN' => 'Permiteți autentificarea automată?', + 'FILE_MANAGER' => 'Manager fişiere', + 'TOPIC_POST_IDS' => 'De la ID-uri Topic/Post', + 'TOPIC_POST_IDS_EXPLAIN' => 'Id(uri) de subiecte/postări de la care să se preia atașamentele, separate prin virgulă(,). Specificați dacă această listă este pentru subiectul sau postările de mai sus.', + 'TOPIC_POST_IDS_TYPE' => 'Tip de ID-uri (deasupra)', + + // Blocks + 'BLITZE_SITEMAKER_BLOCK_ATTACHMENTS' => 'Atașamente', + 'BLITZE_SITEMAKER_BLOCK_BIRTHDAY' => 'Data nasterii', + 'BLITZE_SITEMAKER_BLOCK_CUSTOM' => 'Bloc personalizat', + 'BLITZE_SITEMAKER_BLOCK_FEATURED_MEMBER' => 'Membru Recomandat', + 'BLITZE_SITEMAKER_BLOCK_FEEDS' => 'Fluxuri RSS/Atom', + 'BLITZE_SITEMAKER_BLOCK_FORUM_POLL' => 'Sondaj forum', + 'BLITZE_SITEMAKER_BLOCK_FORUM_TOPICS' => 'Subiecte forum', + 'BLITZE_SITEMAKER_BLOCK_GOOGLE_MAPS' => 'Hărţi Google', + 'BLITZE_SITEMAKER_BLOCK_POPULAR_TOPICS' => 'Subiecte populare', + 'BLITZE_SITEMAKER_BLOCK_LINKS' => 'Link-uri', + 'BLITZE_SITEMAKER_BLOCK_LOGIN' => 'Cutie de conectare', + 'BLITZE_SITEMAKER_BLOCK_MEMBERS' => 'Membri', + 'BLITZE_SITEMAKER_BLOCK_MEMBER_MENU' => 'Meniu membru', + 'BLITZE_SITEMAKER_BLOCK_MENU' => 'Meniu', + 'BLITZE_SITEMAKER_BLOCK_MYBOOKMARKS' => 'Marcajele mele', + 'BLITZE_SITEMAKER_BLOCK_RECENT_TOPICS' => 'Subiecte recente', + 'BLITZE_SITEMAKER_BLOCK_STATS' => 'Statistici', + 'BLITZE_SITEMAKER_BLOCK_STYLE_SWITCHER' => 'Comutator de stil', + 'BLITZE_SITEMAKER_BLOCK_WHATS_NEW' => 'Ce este nou?', + 'BLITZE_SITEMAKER_BLOCK_WHOIS' => 'Cine este online', + 'BLITZE_SITEMAKER_BLOCK_WORDGRAPH' => 'Cuvinte', + + // block views + 'BLOCK_VIEW' => 'Vizualizare bloc', + 'BLOCK_VIEW_BASIC' => 'Baza', + 'BLOCK_VIEW_BOXED' => 'Cuprins', + 'BLOCK_VIEW_DEFAULT' => 'Implicit', + 'BLOCK_VIEW_SIMPLE' => 'Simplu', + + 'CACHE_DURATION' => 'Durată geocutie', + 'CONTEXT' => 'Context', + 'CSS_SCRIPTS' => 'CSS Scripts', + 'CUSTOM_PROFILE_FIELDS' => 'Câmpuri de profil personalizate', + + 'DATE_RANGE' => 'Date Range', + 'DISPLAY_PREVIEW' => 'Afişare previzualizare?', + + 'EDIT_ME' => 'Te rog editeaza-ma', + 'ENABLE_TOPIC_TRACKING' => 'Activați urmărirea subiectelor?', + 'ENABLE_TOPIC_TRACKING_EXPLAIN' => 'Daca sunt activate, subiectele necitite vor fi indicate, dar rezultatele blocului nu vor fi memorate in cache (nu este recomandat)', + 'EXCLUDE_TOO_MANY_WORDS' => 'Ați introdus prea multe cuvinte pentru a le exclude. Numărul maxim de caractere posibil este 255, ați introdus %s.', + 'EXCLUDE_WORDS' => 'Exclude cuvintele', + 'EXCLUDE_WORDS_EXPLAIN' => 'Listați cuvintele pe care doriți să le excludeți din cuvintele separate prin virgulă (,). Maxim 255 de caractere.', + 'EXPANDED' => 'Extins', + 'EXTENSION_GROUP' => 'Grup de extensii', + + 'FEATURED_MEMBER_IDS' => 'ID-uri de utilizator', + 'FEATURED_MEMBER_IDS_EXPLAIN' => 'Lista utilizatorilor separați prin virgulă pentru funcție (se aplică numai la modul de afișare al membrilor recomandați)', + 'FEED_DATA_PREVIEW' => 'Date flux', + 'FEED_ITEM_TEMPLATE' => 'Temă articol', + 'FEED_ITEM_TEMPLATE_EXPLAIN' => 'TIPS:
+
    +
  • Access feed data in item variable e.g. item.title
  • +
  • Template must be in Twig syntax
  • +
  • Click Samples above for sample templates
  • +
  • Use get_item_tags($namespace, $tag) to get any tag from the feed that we do not provide e.g.
    {{ get_item_tags(\'\', \'image\') }}
  • +
  • Use Twig’s json_encode filter to see contents of array e.g. {{ get_item_tags(\'\', \'image\')|json_encode() }}
  • +
', + 'FEED_PREVIEW_SOURCE' => 'Sursa', + 'FEED_URL_PLACEHOLDER' => 'http://exemplu.ro/rss', + 'FEED_URLS' => 'URL-uri flux', + 'FIRST_POST_ONLY' => 'Doar prima postare', + 'FIRST_POST_TIME' => 'Prima Postare', + 'FORUMS_GET_TYPE' => 'Obține tipul', + 'FORUMS_MAX_TOPICS' => 'Maxim subiecte/postări', + 'FORUMS_TITLE_MAX_CHARS' => 'Caractere maxime per titlu', + 'FREQUENCY' => 'Frecvenţă', + 'FULL' => 'Complet', + 'FULLSCREEN' => 'Ecran complet', + + 'GET_TYPE' => 'Afişare subiect/postare?', + + 'HTML' => 'HTML', + 'HTML_EXPLAIN' => 'Folosește această zonă de text pentru a introduce conținut brut HTML.
Vă rugăm să reţineţi că orice conţinut postat aici va suprascrie conţinutul blocului personalizat şi că editorul de bloc vizual nu va fi disponibil.', + 'HOURS_SHORT' => 'ore', + + 'JS_SCRIPTS' => 'Scripturi JS', + + 'LAST_POST_TIME' => 'Ultima postare', + 'LAST_READ_TIME' => 'Ultima lectură', + 'LIMIT' => 'Limită', + 'LIMIT_FORUMS' => 'Id forum (opţional)', + 'LIMIT_FORUMS_EXPLAIN' => 'Introduceți fiecare id al forumului, separat prin virgulă (,). Dacă setați, vor fi afișate doar subiectele din forumurile specificate.', + 'LIMIT_POST_TIME' => 'Limita de timp postare', + 'LIMIT_POST_TIME_EXPLAIN' => 'Dacă este setat, numai subiectele postate în perioada specificată vor fi recuperate', + + 'MAX_DEPTH' => 'Adâncime maximă', + 'MAX_ITEMS' => 'Numărul maxim de elemente', + 'MAX_MEMBERS' => 'Max. Membri', + 'MAX_POSTS' => 'Numărul maxim de postări', + 'MAX_TOPICS' => 'Numărul maxim de subiecte', + 'MAX_WORDS' => 'Numărul maxim de cuvinte', + 'MANAGE_MENUS' => 'Gestionează meniurile', + 'MAP_COORDINATES' => 'Coordonate', + 'MAP_COORDINATES_EXPLAIN' => 'Introduceți coordonatele în formatul latitudine, longitudine', + 'MAP_HEIGHT' => 'Înălțime', + 'MAP_LOCATION' => 'Locaţie', + 'MAP_TITLE' => 'Titlu', + 'MAP_VIEW' => 'Vizualizare', + 'MAP_VIEW_HYBRID' => 'Hibrid', + 'MAP_VIEW_MAP' => 'Hartă', + 'MAP_VIEW_SATELITE' => 'Satelit', + 'MAP_VIEW_TERRAIN' => 'Terrain', + 'MAP_ZOOM_LEVEL' => 'Nivel de mărire', + 'MEMBERS_DATE' => 'Data', + 'MENU_NO_ITEMS' => 'Niciun element activ de afișat', + 'MINI' => 'Mini', + + 'OR' => 'SAU', + 'ORDER_BY' => 'Ordonare după', + + 'POLL_FROM_FORUMS' => 'Afişează sondajele de opinie de la forumuri', + 'POLL_FROM_FORUMS_EXPLAIN' => 'Doar sondajele de opinie de pe forumurile selectate vor fi afişate atâta timp cât nici un subiect nu este specificat mai sus', + 'POLL_FROM_GROUPS' => 'Afişează sondajele de opinie din grup(uri)', + 'POLL_FROM_GROUPS_EXPLAIN' => 'Doar sondajele de opinie de la membrii grupurilor selectate vor fi afișate atâta timp cât nici un utilizator(uri) nu este) este/sunt specificate mai sus', + 'POLL_FROM_TOPICS' => 'Afişează sondajele de opinie de la subiect(e)', + 'POLL_FROM_TOPICS_EXPLAIN' => 'Id(uri) de subiecte de la care să se preia sondajele, separate prin virgulă(,). Lăsați necompletat pentru a selecta orice subiect.', + 'POLL_FROM_USERS' => 'Afişează sondajele de la utilizator(i)', + 'POLL_FROM_USERS_EXPLAIN' => 'ID-uri de utilizator(i) ale căror sondaje dorești să afișezi, separate prin virgulă(,). Lăsați necompletat pentru a selecta sondaje de opinie de la orice utilizator.', + 'POSTS_TITLE_LIMIT' => 'Nr. maxim de caractere pentru titlul postării', + 'PREVIEW_MAX_CHARS' => 'Numărul de caractere de previzualizat', + + 'QUERY_TYPE' => 'Mod de afişare', + + 'ROTATE_DAILY' => 'Zilnic', + 'ROTATE_HOURLY' => 'Oră', + 'ROTATE_MONTHLY' => 'Lunar', + 'ROTATE_PAGELOAD' => 'Încărcare pagină', + 'ROTATE_WEEKLY' => 'Săptămânal', + + 'SAMPLES' => 'Mostre', + 'SCRIPTS' => 'Scripturi', + 'SELECT_FORUMS' => 'Selectaţi forumurile', + 'SELECT_FORUMS_EXPLAIN' => 'Selectați forumurile din care să se afișeze subiecte/postări. Lăsați necompletat pentru a selecta din toate forumurile', + 'SELECT_MENU' => 'Selectare meniu', + 'SELECT_PROFILE_FIELDS' => 'Selectați câmpurile profilului', + 'SELECT_PROFILE_FIELDS_EXPLAIN' => 'Doar câmpurile de profil selectate vor fi afișate, dacă sunt disponibile.', + 'SHOW_FIRST_POST' => 'Prima postare', + 'SHOW_HIDE_ME' => 'Permite ascunderea stării online?', + 'SHOW_LAST_POST' => 'Ultima postare', + 'SHOW_MEMBER_MENU' => 'Arată meniul utilizatorului?', + 'SHOW_MEMBER_MENU_EXPLAIN' => 'Înlocuiți căsuța de conectare cu meniul utilizatorului dacă utilizatorul este conectat', + 'SHOW_WORD_COUNT' => 'Arata numarul de cuvinte?', + + 'TEMPLATE' => 'Șablon', + 'TOPIC_TITLE_LIMIT' => 'Nr. maxim de caractere pentru titlul subiectului', + 'TOPIC_TYPE' => 'Tip subiect', + 'TOPIC_TYPE_EXPLAIN' => 'Selectați tipurile de subiecte pe care doriți să le afișați. Lăsați casetele debifate pentru a selecta din toate tipurile de subiecte', + 'TOPICS_LOOK_BACK' => 'Priveşte înapoi', + 'TOPICS_ONLY' => 'Doar subiectele?', + 'TOPICS_PER_PAGE' => 'Pe pagină', + + 'WORD_MAX_SIZE' => 'Dimensiunea maximă a fontului', + 'WORD_MIN_SIZE' => 'Dimensiunea minimă a fontului', +)); diff --git a/language/ro/common.php b/language/ro/common.php new file mode 100644 index 000000000000..5cc46fa822f9 --- /dev/null +++ b/language/ro/common.php @@ -0,0 +1,97 @@ + 'Tot timpul', + + 'BLOCK_TITLE' => 'Titlul blocului', + + 'CHANGE_ME' => 'Schimbă-mă pe mine', + + 'DAILY_MEMBER' => 'Membru al zilei', + + 'FEATURED_MEMBER' => 'Membru Recomandat', + 'FEATURED_MEMBERLIST' => 'Lista membrilor promovați', + 'FEEDS' => 'Fluxuri', + 'FORUM_ANNOUNCEMENTS' => 'Anunţuri forum', + 'FORUM_GLOBAL_ANNOUNCEMENTS' => 'Anunţuri Global Forum', + 'FORUM_RECENT_POSTS' => 'Postări recente pe Forum', + 'FORUM_RECENT_TOPICS' => 'Subiecte recente ale forumului', + 'FORUM_STICKY_POSTS' => 'Mesaje Lipicioase recente', + + 'HELP' => 'Ajutor', + 'HOURLY_MEMBER' => 'Membru al orei', + + 'GOOGLE_MAP' => 'Harta Google', + + 'JOIN_DATE' => 'Data Înscrierii', + + 'LAST_POST_BY_AUTHOR' => 'Ultima postare de', + 'LAST_VISITED' => 'Ultima vizitare', + 'LINKS' => 'Link-uri', + + 'MCP_SITEMAKER_CONTENT' => 'Conținutul', + 'MEMBERS_DATE' => 'Data', + 'MENU' => 'Meniu', + 'MONTHLY_MEMBER' => 'Membru al lunii', + 'MOST_TENURED' => 'Cele mai închiriate', + 'MY_BOOKMARKS' => 'Marcajele mele', + + 'NO_BOOKMARKED_TOPICS' => 'Nu ați marcat niciun subiect', + 'NO_NEW_TOPICS' => 'Nu există subiecte noi de afișat', + + 'POLL' => 'Sondaj', + 'POPULAR_TOPICS' => 'Subiecte populare', + 'POSTS_MEMBER' => 'Postere de top', + 'PROCESSING' => 'Procesare...', + + 'QTYPE_POSTS' => 'Felicitări:', + 'QTYPE_RECENT' => 'Vă rugăm să salutați cel mai nou membru al nostru:', + + 'RECENT_BOTS' => 'Motoare de căutare recente', + 'RECENT_MEMBER' => 'Membru recent', + 'RECENT_MEMBERS' => 'Membri Recenți', + + 'SESSION_HIDE_ME' => 'Ascunde pe mine', + 'SM_NAVIGATION' => 'Navigation', + 'SM_TOGGLE_DROPDOWN' => 'Comutare dropdown', + 'STYLE_SWITCHER' => 'Comutator de stil', + + 'THIS_MONTH' => 'Luna aceasta', + 'THIS_WEEK' => 'Săptămâna aceasta', + 'THIS_YEAR' => 'Anul acesta', + 'TODAY' => 'Astăzi', + 'TOPICS_LAST_READ' => 'Ultima citire a subiectelor', + 'TOPIC_LAST_READ' => 'Ultima lectură %s', + 'TOP_POSTERS' => 'Postere de top', + + 'UCP_SITEMAKER_CONTENT' => 'Umplutura mea', + + 'VIEW_DETAILS' => 'Vezi detalii', + 'VIEW_USER_PROFILE' => 'Toate despre %s', + + 'WEEKLY_MEMBER' => 'Membru al săptămânii', + 'WELCOME' => 'Bun venit', + 'WHATS_NEW' => 'Ce este nou?', + 'WORDGRAPH' => 'Cuvinte', +)); diff --git a/language/ro/css_presets.php b/language/ro/css_presets.php new file mode 100644 index 000000000000..e257ef95bf5b --- /dev/null +++ b/language/ro/css_presets.php @@ -0,0 +1,107 @@ + 'Marcajul listei de săgeţi', + 'LIST_CIRCLE' => 'Indicator listă cerc', + 'LIST_DISC' => 'Marcajul listei de gloanțe', + 'LIST_SQUARE' => 'Marker listă pătrați', + 'LIST_NUMBERED' => 'Listă numerotată', + 'LIST_NUMBERED_ALPHABET' => 'Numărat cu alfabet', + 'LIST_NUMBERED_NESTED' => 'Numărat cu subsecțiuni', + 'LIST_NUMBERED_ROMAN' => 'Numărat cu cifre romane', + 'LIST_NUMBERED_ZERO' => 'Numărat cu zero principal', + 'LIST_INLINE' => 'Inline Listă', + 'LIST_INLINE_SEP' => 'Listă separată prin virgulă', + 'LIST_REVERSE' => 'Ordinea inversă', + 'LIST_STRIPED' => 'Listă dărâmată', + 'LIST_STACKED' => 'Listă Stacked', + 'LIST_TRIANGLE' => 'Triunghi', + 'LIST_HYPHEN' => 'Umbră', + 'LIST_PLUS' => 'Plus', + 'LIST_SPADE' => 'Spade', + 'LIST_CLUB' => 'Club', + 'LIST_DIAMOND' => 'Diamant', + 'LIST_HEART' => 'Inimă', + 'LIST_STAR' => 'Stea', + 'LIST_CHECK' => 'Verifică', + 'LIST_SNOWFLAKE' => 'fulg de zăpadă', + 'LIST_MUSIC' => 'Muzică', + 'LIST_AUTOWIDTH' => 'Auto width', + 'LIST_FIT_CONTENT' => 'Potrivire conținut', + 'LIST_2COLS' => '2 coloane lista', + 'LIST_3COLS' => '3 liste de coloane', + 'LIST_4COLS' => 'Lista de 4 coloane', + 'LIST_5COLS' => 'Lista de 5 coloane', + 'LIST_X_DIVIDER_DOTTED' => 'Divizare punctată orizontală', + 'LIST_X_DIVIDER_LINE' => 'Divizare linie orizontală', + 'LIST_Y_DIVIDER_DOTTED' => 'Divizor punctat vertical', + 'LIST_Y_DIVIDER_LINE' => 'Divizare linie verticală', + + 'IMAGE_SMALL' => 'Imagine mica', + 'IMAGE_MEDIUM' => 'Imagine medie', + 'IMAGE_LARGE' => 'Imagine mare', + 'IMAGE_FULL_WIDTH' => 'Lățime completă imagine', + 'IMAGE_ALIGN_LEFT' => 'Poză plutitoare rămasă', + 'IMAGE_ALIGN_RIGHT' => 'Imagine plutitoare dreapta', + 'IMAGE_CIRCLE' => 'Imagine circulară', + 'IMAGE_ROUNDED' => 'Imagine rotunjită', + 'IMAGE_BORDER' => 'Imagine graniță', + 'IMAGE_BORDER_PADDING' => 'Image border padding', + 'IMAGE_RATIO_SQUARE' => 'Imagine pătrată', + 'IMAGE_RATIO_4_BY_3' => '4 după 3 imagini', + 'IMAGE_RATIO_16_BY_9' => '16 de la 9 imagini', + + 'RESPONSIVE_SHOW' => 'Arată numai pe dispozitivele mici', + 'RESPONSIVE_HIDE' => 'Ascunde pe dispozitivele mici', + + 'ALIGN_LEFT' => 'Text aliniat la stânga', + 'ALIGN_CENTER' => 'Text centrat', + 'ALIGN_RIGHT' => 'Text aliniat la dreapta', + 'NO_PADDING' => 'No padding', + 'LABEL' => 'Etichetă', + 'BADGE' => 'Insignă', + 'PRIMARY_COLOR' => 'Culoare primară', + 'SECONDARY_COLOR' => 'Culoare secundară', + 'GRAYSCALE_COLOR' => 'Grayscale', + 'INFO_COLOR' => 'Info', + 'SUCCESS_COLOR' => 'Succes', + 'WARNING_COLOR' => 'Avertizare', + 'DANGER_COLOR' => 'Periculos', +)); diff --git a/language/ro/exceptions.php b/language/ro/exceptions.php new file mode 100644 index 000000000000..0f5652236203 --- /dev/null +++ b/language/ro/exceptions.php @@ -0,0 +1,49 @@ + 'Câmp obligatoriu lipsă', + 'EXCEPTION_INVALID_ACTION' => 'Acțiunea nu există', + 'EXCEPTION_INVALID_ARGUMENT' => 'Argument nevalid specificat pentru `%1$s`. Motiv: %2$s', + 'EXCEPTION_INVALID_DATA_TYPE' => 'Valoarea furnizată este de un tip de date neașteptat', + 'EXCEPTION_INVALID_ENTITY' => 'Entitatea furnizată se află într-o clasă de entități neașteptată', + 'EXCEPTION_INVALID_PROPERTY' => 'Proprietatea solicitată nu există', + 'EXCEPTION_OUT_OF_BOUNDS' => 'The requested `%1$s` does not exist', + 'EXCEPTION_SERVICE_NOT_FOUND' => 'Serviciul solicitat nu a fost găsit', + 'EXCEPTION_UNEXPECTED_VALUE' => 'Acţiunea solicitată `%1$snu a putut fi efectuată. Motivul: %2$s', +)); diff --git a/language/ro/ext.php b/language/ro/ext.php new file mode 100644 index 000000000000..b1a66f190c36 --- /dev/null +++ b/language/ro/ext.php @@ -0,0 +1,42 @@ + 'Directorul phpBB Imagine nu permite scrierea. Vă rugăm să schimbați permisiunile pentru a putea fi scris de toți (777 sau -rwxrwxrwx în cadrul FTP Client)', + 'PHPBB_VERSION_UNMET' => 'Această extensie necesită cel puţin phpBB %s', +)); diff --git a/language/ro/feed_fields.php b/language/ro/feed_fields.php new file mode 100644 index 000000000000..c81cc3d5ab65 --- /dev/null +++ b/language/ro/feed_fields.php @@ -0,0 +1,108 @@ + 'autor', + 'AUTHORS' => 'autori (array)', + 'BITRATE' => 'bitrate', + 'CAPTIONS' => 'subtitrări', + 'CATEGORIES' => 'categorii (array)', + 'CATEGORY' => 'categorie', + 'CHANNELS' => 'canale', + 'CONTENT' => 'Conținut', + 'CONTRIBUTOR' => 'contribuitor', + 'CONTRIBUTORS' => 'contribuitori (array)', + 'COPYRIGHT' => 'drepturi de autor', + 'CREDITS' => 'credite', + 'DATE' => 'dată', + 'DESCRIPTION' => 'descriere', + 'DURATION' => 'durată', + 'ENCLOSURE' => 'delimitate', + 'ENCLOSURES' => 'închideri (array)', + 'EXPRESSION' => 'expresie', + 'FEED' => 'feed', + 'FRAMERATE' => 'framerate', + 'GMDATE' => 'Data GM', + 'HANDLER' => 'handler', + 'HASHES' => 'hash-uri', + 'HEIGHT' => 'înălțime', + 'ID' => 'id', + 'IMAGE_HEIGHT' => 'înălțimea imaginii', + 'IMAGE_LINK' => 'link-ul imaginii', + 'IMAGE_TITLE' => 'titlu imagine', + 'IMAGE_URL' => 'URL-ul imaginii', + 'IMAGE_WIDTH' => 'lăţimea imaginii', + 'ITEMS' => 'articole', + 'JAVASCRIPT' => 'javascript', + 'KEYWORDS' => 'cuvinte cheie', + 'LABEL' => 'etichetă', + 'LANG' => 'lang', + 'LATITUDE' => 'latitudine', + 'LENGTH' => 'lungime', + 'LINK' => 'link', + 'LINKS' => 'link-uri', + 'LONGITUDE' => 'longitudine', + 'MEDIUM' => 'medie', + 'NAME' => 'nume', + 'PERMALINK' => 'permalink', + 'PLAYER' => 'jucător', + 'RATINGS' => 'evaluări', + 'RELATIONSHIP' => 'relatie', + 'RESTRICTIONS' => 'restricții (array)', + 'SAMPLINGRATE' => 'rata de eşantionare', + 'SCHEME' => 'schemă', + 'SOURCE' => 'sursă', + 'TERM' => 'termen', + 'THUMBNAILS' => 'thumbnails', + 'TITLE' => 'titlu', + 'TYPE' => 'tip', + 'UPDATED_DATE' => 'dată actualizată', + 'UPDATED_GMDATE' => 'Actualizare dată GM', + 'VALUE' => 'valoare', + 'WIDTH' => 'width', +)); diff --git a/language/ro/icons.php b/language/ro/icons.php new file mode 100644 index 000000000000..c7e98f07a9b3 --- /dev/null +++ b/language/ro/icons.php @@ -0,0 +1,71 @@ + 'Accesibilitate', + 'ICON_ARROWS' => 'Săgeți', + 'ICON_BRAND' => 'Marca', + 'ICON_CHART' => 'Grafic', + 'ICON_CURRENCY' => 'Monedă', + 'ICON_DIRECTIONAL' => 'Directionala', + 'ICON_FILE_TYPE' => 'Tip Fișier', + 'ICON_FORM_CONTROL' => 'Control formular', + 'ICON_GENDER' => 'Sex', + 'ICON_HAND' => 'Mână', + 'ICON_MEDICAL' => 'Medicală', + 'ICON_PAYMENT' => 'Plată', + 'ICON_SPINNER' => 'Învârtire', + 'ICON_TEXT_EDITOR' => 'Editor de text', + 'ICON_TRANSPORTATION' => 'Transporturi', + 'ICON_VIDEO_PLAYER' => 'Player video', + 'ICON_WEB_APPLICATION' => 'Aplicație web', + + 'ICON_COLOR' => 'Culoare', + 'ICON_DEFAULT' => 'Implicit', + 'ICON_FLIP_BOTH' => 'Rotește ambele', + 'ICON_FLIP_HORIZONTAL' => 'Rotire orizontală', + 'ICON_FLIP_VERTICAL' => 'Rotire verticală', + 'ICON_FLOAT' => 'Plutitoare', + 'ICON_FLOAT_LEFT' => 'Stânga', + 'ICON_FLOAT_RIGHT' => 'Dreapta', + 'ICON_FONT' => 'Font Icons', + 'ICON_INSERT_UPDATE' => 'Insert/Update', + 'ICON_MISC' => 'Diverse', + 'ICON_MISC_BORDERED' => 'Frontiere', + 'ICON_MISC_FIXED_WIDTH' => 'Lățime fixă', + 'ICON_MISC_PULSE' => 'Puls', + 'ICON_MISC_SPINNING' => 'Învârtire', + 'ICON_ROTATION' => 'Rotație', + 'ICON_ROTATE_90' => '90°', + 'ICON_ROTATE_180' => '180°', + 'ICON_ROTATE_270' => '270°', + 'ICON_SIZE' => 'Dimensiune', + 'ICON_SIZE_LG' => 'Mai mare', + 'ICON_SIZE_SM' => 'Mică', + 'ICON_SIZE_2X' => '2x', + 'ICON_SIZE_3X' => '3x', + 'ICON_SIZE_4X' => '4x', + 'ICON_SIZE_5X' => '5x', + + 'NO_ICON' => 'Nici o pictogramă', +)); diff --git a/language/ro/info_acp_menus.php b/language/ro/info_acp_menus.php new file mode 100644 index 000000000000..d86805310d2b --- /dev/null +++ b/language/ro/info_acp_menus.php @@ -0,0 +1,92 @@ + 'Meniu', + 'ACP_MENU_MANAGE' => 'Managementul meniului', + 'ACP_MENU_MANAGE_EXPLAIN' => 'Aici puteţi crea şi gestiona meniuri pentru site-ul dvs', + 'ADD_BULK_MENU' => 'Adăugare în bloc elemente de meniu', + 'ADD_BULK_MENU_EXPLAIN' => 'Adăugați mai multe elemente de meniu simultan.
- Plasați fiecare element pe o linie separată
- Utilizați tasta Tab pentru a indenta elemente pentru a reprezenta relațiile părinte-copil
- Introduceți elementul și adresa URL în felul următor: Home index.php', + 'ADD_MENU' => 'Adaugă meniu', + 'ADD_MENU_ITEM' => 'Adăugare element de meniu', + 'ADD_ITEM' => 'Adauga Element Nou', + 'AJAX_PROCESSING' => 'Munca', + + 'CHANGE_ME' => 'Schimbă-mă pe mine', + + 'DELETE_ITEM' => 'Ștergere element', + 'DELETE_KIDS' => 'Ștergere sucursală', + 'DELETE_MENU' => 'Ștergere meniu', + 'DELETE_MENU_CONFIRM' => 'Sunteţi sigur că doriţi să ştergeţi acest meniu?
Aceasta va şterge meniul şi toate elementele sale', + 'DELETE_MENU_ITEM' => 'Ștergere element', + 'DELETE_MENU_ITEM_CONFIRM' => 'Sunteţi sigur că doriţi să ştergeţi acest element de meniu?', + 'DELETE_SELECTED' => 'Şterge cele selectate', + + 'EDIT_ITEM' => 'Editare articol', + + 'ITEM_ACTIVE' => 'Activ', + 'ITEM_INACTIVE' => 'Inactiv', + 'ITEM_PARENT' => 'Părinte', + 'ITEM_TITLE' => 'Titlu articol', + 'ITEM_TITLE_EXPLAIN' => 'Setat ca \'-\' pentru divider', + 'ITEM_TARGET' => 'Item Target', + 'ITEM_URL' => 'URL Element', + 'ITEM_URL_EXPLAIN' => '- Lăsaţi gol pentru poziţiile
- Site-urile externe trebuie să înceapă cu http(s)://, ftp://, //, etc', + + 'MENU_ITEMS' => 'Elemente de meniu', + + 'NO_MENU_ITEMS' => 'Nici un element de meniu nu a fost creat', + 'NO_PARENT' => 'Niciun părinte', + + 'PROCESSING_ERROR' => 'Eroare de procesare', + + 'REBUILD_TREE' => 'Reconstruieşte copacul', + 'REQUIRED' => 'Necesar', + 'REQUIRED_FIELDS' => '* Câmpuri obligatorii', + + 'SAVE_CHANGES' => 'Salvează modificările', + 'SAVE' => 'Salvează', + 'SELECT_ALL' => 'Selectează tot', + + 'TARGET_BLANK' => 'Pagină goală', + 'TARGET_PARENT' => 'Părinte', + + 'UNSAVED_CHANGES' => 'Aveți modificări nesalvate', + + 'VISIT_PAGE' => 'Vizitează pagina', +)); diff --git a/language/ro/info_acp_settings.php b/language/ro/info_acp_settings.php new file mode 100644 index 000000000000..e4bf82f186df --- /dev/null +++ b/language/ro/info_acp_settings.php @@ -0,0 +1,74 @@ + 'SiteMaker', + 'ACP_SM_SETTINGS' => 'Setări', + + 'BLOCKS_CLEANUP' => 'Curățare blocuri', + 'BLOCKS_CLEANUP_EXPLAIN' => 'Următoarele elemente au fost găsite a nu mai exista sau inaccesibile, și, prin urmare, puteți șterge toate blocurile asociate lor. Vă rugăm să reţineţi că unele dintre acestea pot fi fals pozitive', + 'BLOCKS_CLEANUP_BLOCKS' => 'Blocuri invalide (de ex. din extensiile dezinstalate):', + 'BLOCKS_CLEANUP_ROUTES' => 'Pagini inaccesibile/inaccesibile:', + 'BLOCKS_CLEANUP_STYLES' => 'Stiluri dezinstalate (id-uri):', + 'BLOCKS_CLEANUP_SUCCESS' => 'Blocuri șterse cu succes', + + 'FORUM_INDEX_SETTINGS' => 'Setări Index forum', + 'FORUM_INDEX_SETTINGS_EXPLAIN' => 'Aceste setări se aplică numai atunci când nu este definită o pagină de pornire', + + 'HIDE' => 'Ascunde', + 'HIDE_BIRTHDAY' => 'Ascunde secţiunea aniversară', + 'HIDE_LOGIN' => 'Ascunde caseta de autentificare', + 'HIDE_ONLINE' => 'Ascunde secțiunea online Whos', + + 'LAYOUT_BLOG' => 'Blog', + 'LAYOUT_CUSTOM' => 'Personalizat', + 'LAYOUT_HOLYGRAIL' => 'Gri Sfânt', + 'LAYOUT_PORTAL' => 'Portal', + 'LAYOUT_PORTAL_ALT' => 'Portal (alt)', + 'LAYOUT_SETTINGS' => 'Setări aspect', + + 'LOG_DELETED_BLOCKS_FOR_STYLE' => 'Blocuri Sitemaker șterse pentru stilul lipsă cu ID %s', + 'LOG_DELETED_BLOCKS_FOR_ROUTE' => 'Blocurile de articole au fost șterse pentru paginile defecte:
%s', + 'LOG_DELETED_BLOCKS' => 'Blocuri Sitemaker nevalide şterse:
%s', + + 'NAVIGATION_SETTINGS' => 'Setări de navigare', + + 'SETTINGS_SAVED' => 'Setările au fost salvate', + 'SHOW' => 'Afișare', + 'SHOW_FORUM_NAV' => 'Arată \'Forum\' în bara de navigație?', + 'SHOW_FORUM_NAV_EXPLAIN' => 'Atunci când o pagină este setată ca pagină de pornire în loc de indexul forumului, ar trebui să afișăm \'Forum\' în bara de navigare', + 'SHOW_FORUM_NAV_WITH_ICON' => 'Da - cu pictogramă:', +]); diff --git a/language/ro/navbar_manager.php b/language/ro/navbar_manager.php new file mode 100644 index 000000000000..af66043f50a5 --- /dev/null +++ b/language/ro/navbar_manager.php @@ -0,0 +1,79 @@ + 'Element activ', + 'BORDER' => 'Border', + 'BORDER_COLOR' => 'Culoare chenar', + 'BORDER_RADIUS' => 'Raza frontierei', + 'BORDER_WIDTH' => 'Border Width', + 'BOTTOM' => 'Jos', + 'BOTTOM_LEFT' => 'Stânga jos', + 'BOTTOM_RIGHT' => 'Dreapta jos', + 'CAPITALIZE' => 'Capitalizare', + 'COLOR' => 'Culoare', + 'DIVIDERS' => 'Divizoare', + 'END' => 'Sfârșit', + 'GRADIENT' => 'Gradient', + 'HEADERS' => 'Antete', + 'HOVER' => 'Hover', + 'LEFT' => 'Stânga', + 'LOWERCASE' => 'Mici', + 'MARGIN' => 'Marjă', + 'NAVBAR' => 'Navbar', + 'NAVBAR_MENU' => 'Navbar menu', + 'NAVBAR_DROPDOWN' => 'Renunțare', + 'NAVBAR_LOCATION' => 'Locaţie', + 'NAVBAR_LOCATION_OPTION' => 'Locaţia #%s', + 'NAVBAR_TOP_MENU' => 'Meniul de sus', + 'NONE' => 'Niciunul', + 'PADDING' => 'Padding', + 'RESPONSIVE_TOGGLE' => 'Comutare receptivă', + 'RESPONSIVE_TOGGLE_EXPLAIN' => 'Vizibil numai pe ecrane mici (mobile)', + 'RIGHT' => 'Dreapta', + 'SAVE' => 'Salvează', + 'SIZE' => 'Dimensiune', + 'START' => 'Pornire', + 'TEXT' => 'Text', + 'TOP' => 'Sus', + 'TOP_LEFT' => 'Stânga sus', + 'TOP_RIGHT' => 'Dreapta sus', + 'TRANSFORM' => 'Transformare', + 'UPPERCASE' => 'Uppercase', +)); diff --git a/language/ro/permissions_sitemaker.php b/language/ro/permissions_sitemaker.php new file mode 100644 index 000000000000..6160029e42d4 --- /dev/null +++ b/language/ro/permissions_sitemaker.php @@ -0,0 +1,45 @@ + '[SiteMaker ] Poate administra setările', + 'ACL_A_SM_MANAGE_BLOCKS' => '[SiteMaker ] Poate administra blocuri', + 'ACL_A_SM_MANAGE_MENUS' => '[SiteMaker ] Poate administra meniurile', +)); diff --git a/language/ru/block_manager.php b/language/ru/block_manager.php new file mode 100644 index 000000000000..ac6c5a8c60e2 --- /dev/null +++ b/language/ru/block_manager.php @@ -0,0 +1,123 @@ + '*Перетащите блоки', + 'AJAX_ERROR' => 'Ой! Произошла ошибка при обработке вашего запроса. Пожалуйста, попробуйте еще раз.', + 'AJAX_LOADING' => 'Загрузка...', + 'AJAX_PROCESSING' => 'Работаю...', + + 'BACKGROUND' => 'Справочная информация', + 'BLOCKS' => 'Блоки', + 'BLOCKS_COPY_FROM' => 'Копировать блоки', + 'BLOCK_ACTIVE' => 'Активный', + 'BLOCK_CHILD_ROUTES_ONLY' => 'Показывать только по дочерним маршрутам', + 'BLOCK_CHILD_ROUTES_HIDE' => 'Скрыть по дочерним маршрутам', + 'BLOCK_CLASS' => 'CSS-класс', + 'BLOCK_CLASS_EXPLAIN' => 'Изменить внешний вид блока с помощью классов CSS', + 'BLOCK_DESIGN' => 'Внешний вид', + 'BLOCK_DISPLAY_TYPE' => 'Отображение', + 'BLOCK_HIDE_TITLE' => 'Скрыть заголовок блока?', + 'BLOCK_INACTIVE' => 'Неактивный', + 'BLOCK_MISSING_TEMPLATE' => 'Отсутствует необходимый шаблон блока. Пожалуйста, свяжитесь с разработчиком', + 'BLOCK_NOT_FOUND' => 'Упс! Запрошенная служба блоков не найдена', + 'BLOCK_NO_DATA' => 'Нет данных для отображения', + 'BLOCK_NO_ID' => 'Упс! Отсутствует id блока', + 'BLOCK_PERMISSION' => 'Разрешение', + 'BLOCK_PERMISSION_ALLOW' => 'Показать к', + 'BLOCK_PERMISSION_DENY' => 'Скрыть от', + 'BLOCK_PERMISSION_EXPLAIN' => 'Использовать CTRL + клик для переключения выбора', + 'BLOCK_SHOW_ALWAYS' => 'Всегда', + 'BLOCK_STATUS' => 'Статус', + 'BLOCK_UPDATED' => 'Настройки блока успешно обновлены', + + 'CANCEL' => 'Отмена', + 'CHILD_ROUTE' => 'Дочерний', + 'CHILD_ROUTE_EXPLAIN' => '/viewforum.php, /dir/index.php
/viewtopic.php?f=2&t=1
/articles/my-article', + 'CLEAR' => 'Очистить', + 'COPY' => 'Копировать', + 'COPY_BLOCKS' => 'Копировать блоки?', + 'COPY_BLOCKS_CONFIRM' => 'Вы уверены, что хотите скопировать блоки с другой страницы?

Это удалит все существующие блоки и их настройки для этой страницы и заменит их блоками с выбранной страницы.', + + 'DEFAULT_LAYOUT_EXPLAIN' => 'Если выбрано, все страницы сайта, для которых вы не указали блоки, будут наследовать блоки из макета по умолчанию. Вы можете, однако, переопределить макет по умолчанию для отдельных страниц, используя параметры справа.', + 'DELETE' => 'Удалить', + 'DELETE_ALL_BLOCKS' => 'Удалить все Блоки', + 'DELETE_ALL_BLOCKS_CONFIRM' => 'Вы уверены, что хотите удалить все блоки для этой страницы?', + 'DELETE_BLOCK' => 'Удалить блок', + 'DELETE_BLOCK_CONFIRM' => 'Вы уверены, что хотите удалить этот блок?


Примечание: Вам придется сохранить изменения разметки, чтобы сделать это перманентным.', + + 'EDIT' => 'Редактирование', + 'EDIT_BLOCK' => 'Изменить блок', + 'EXIT_EDIT_MODE' => 'Выйти из режима редактирования', + + 'FEED_PROBLEMS' => 'Возникла проблема при обработке предоставленных rss/atom каналов (ы)', + 'FEED_URL_MISSING' => 'Пожалуйста, предоставьте хотя бы одну ленту rss/atom для начала', + 'FIELD_INVALID' => 'Указанное значение для поля “%s” имеет недопустимый формат', + 'FIELD_REQUIRED' => '“%s” является обязательным полем', + 'FIELD_TOO_LONG' => 'Указанное значение для поля “%1$s” слишком длинное. Максимальное допустимое значение: %2$d.', + 'FIELD_TOO_SHORT' => 'Значение поля “%1$s” слишком короткое. Минимальное допустимое значение: %2$d.', + + 'HIDE_ALL_BLOCKS' => 'Не показывать блоки на этой странице', + 'HIDE_BLOCK_POSITIONS' => 'Не показывать блоки для следующих позиций:', + + 'IMAGES' => 'Изображения', + + 'LAYOUT' => 'Макет', + 'LAYOUT_SAVED' => 'Макет успешно сохранен!', + 'LAYOUT_SETTINGS' => 'Настройки макета', + 'LEAVE_CONFIRM' => 'У вас есть несохраненные изменения на этой странице. Пожалуйста, сохраните вашу работу перед тем как двигаться', + 'LISTS' => 'Списки', + + 'MAKE_DEFAULT_LAYOUT' => 'Установить как макет по умолчанию', + + 'OR' => 'ИЛИ', + + 'PARENT_ROUTE' => 'Родитель', + 'PARENT_ROUTE_EXPLAIN' => '/index.php
/viewforum.php?f=2
/articles', + 'PREDEFINED_CLASSES' => 'Предопределенные классы', + + 'REDO' => 'Повторить', + 'REMOVE_DEFAULT_LAYOUT' => 'Удалить как макет по умолчанию', + 'REMOVE_STARTPAGE' => 'Удалить начальную страницу', + 'ROUTE_HIDDEN_BLOCKS' => 'Блоки скрыты для этой страницы', + 'ROUTE_HIDDEN_POSITIONS' => 'Блоки скрываются для следующих позиций', + 'ROUTE_UPDATED' => 'Настройки страницы успешно обновлены', + + 'SAVE_CHANGES' => 'Сохранить изменения', + 'SAVE_SETTINGS' => 'Сохранить настройки', + 'SELECT_ICON' => 'Выберите иконку', + 'SETTINGS' => 'Настройки', + 'SETTING_TOO_BIG' => 'Указанное значение для установки “%1$s” слишком велико. Максимально допустимое значение: %2$d.', + 'SETTING_TOO_LONG' => 'Указанное значение для установки “%1$s” слишком длинное. Максимальная допустимая длина: %2$d.', + 'SETTING_TOO_LOW' => 'Указанное значение для установки “%1$s” является слишком низким. Минимальное допустимое значение: %2$d.', + 'SETTING_TOO_SHORT' => 'Указанное значение для установки “%1$s” слишком короткое. Минимальная допустимая длина: %2$d.', + 'SET_STARTPAGE' => 'Установить как начальную страницу', + + 'TITLES' => 'Заголовки', + + 'UPDATE_SIMILAR' => 'Обновить блоки со схожими настройками', + 'UNDO' => 'Отменить', + + 'VIEW_DEFAULT_LAYOUT' => 'Просмотр/редактирование макета по умолчанию', + 'VISIT_PAGE' => 'Посетить страницу', +)); diff --git a/language/ru/blocks_admin.php b/language/ru/blocks_admin.php new file mode 100644 index 000000000000..27b933d9b468 --- /dev/null +++ b/language/ru/blocks_admin.php @@ -0,0 +1,189 @@ + 'Все типы', + 'ALL_GROUPS' => 'Все группы', + 'ARCHIVES' => 'Архивы', + 'AUTO_LOGIN' => 'Разрешить автовход?', + 'FILE_MANAGER' => 'Файловый менеджер', + 'TOPIC_POST_IDS' => 'Идентификаторы темы', + 'TOPIC_POST_IDS_EXPLAIN' => 'Идентификатор (идентификаторов) тем или постов для извлечения вложений, разделенных запятыми(,). Укажите, является ли этот список для темы или ID записи выше.', + 'TOPIC_POST_IDS_TYPE' => 'Тип ID (ниже)', + + // Blocks + 'BLITZE_SITEMAKER_BLOCK_ATTACHMENTS' => 'Вложения', + 'BLITZE_SITEMAKER_BLOCK_BIRTHDAY' => 'День рождения', + 'BLITZE_SITEMAKER_BLOCK_CUSTOM' => 'Пользовательский блок', + 'BLITZE_SITEMAKER_BLOCK_FEATURED_MEMBER' => 'Избранный участник', + 'BLITZE_SITEMAKER_BLOCK_FEEDS' => 'Ленты RSS/Atom', + 'BLITZE_SITEMAKER_BLOCK_FORUM_POLL' => 'Форум опрос', + 'BLITZE_SITEMAKER_BLOCK_FORUM_TOPICS' => 'Темы форума', + 'BLITZE_SITEMAKER_BLOCK_GOOGLE_MAPS' => 'Карты Google', + 'BLITZE_SITEMAKER_BLOCK_POPULAR_TOPICS' => 'Популярные темы', + 'BLITZE_SITEMAKER_BLOCK_LINKS' => 'Ссылки', + 'BLITZE_SITEMAKER_BLOCK_LOGIN' => 'Коробка входа', + 'BLITZE_SITEMAKER_BLOCK_MEMBERS' => 'Члены Комитета', + 'BLITZE_SITEMAKER_BLOCK_MEMBER_MENU' => 'Меню участника', + 'BLITZE_SITEMAKER_BLOCK_MENU' => 'Меню', + 'BLITZE_SITEMAKER_BLOCK_MYBOOKMARKS' => 'Мои закладки', + 'BLITZE_SITEMAKER_BLOCK_RECENT_TOPICS' => 'Последние темы', + 'BLITZE_SITEMAKER_BLOCK_STATS' => 'Статистика', + 'BLITZE_SITEMAKER_BLOCK_STYLE_SWITCHER' => 'Переключатель стилей', + 'BLITZE_SITEMAKER_BLOCK_WHATS_NEW' => 'Что нового?', + 'BLITZE_SITEMAKER_BLOCK_WHOIS' => 'Кто в сети', + 'BLITZE_SITEMAKER_BLOCK_WORDGRAPH' => 'Wordgraph', + + // block views + 'BLOCK_VIEW' => 'Вид блока', + 'BLOCK_VIEW_BASIC' => 'Базовый', + 'BLOCK_VIEW_BOXED' => 'Ящик', + 'BLOCK_VIEW_DEFAULT' => 'По умолчанию', + 'BLOCK_VIEW_SIMPLE' => 'Простой', + + 'CACHE_DURATION' => 'Длительность кэша', + 'CONTEXT' => 'Контекст', + 'CSS_SCRIPTS' => 'CSS Scripts', + 'CUSTOM_PROFILE_FIELDS' => 'Пользовательские поля профиля', + + 'DATE_RANGE' => 'Date Range', + 'DISPLAY_PREVIEW' => 'Показать предпросмотр?', + + 'EDIT_ME' => 'Пожалуйста, отредактируйте меня', + 'ENABLE_TOPIC_TRACKING' => 'Включить отслеживание тем?', + 'ENABLE_TOPIC_TRACKING_EXPLAIN' => 'Если включено, непрочитанные темы будут показаны, но результаты блока не будут кэшироваться (Не рекомендуется)', + 'EXCLUDE_TOO_MANY_WORDS' => 'Вы ввели слишком много слов для исключения. Максимальное количество возможных символов равно 255, вы ввели %s.', + 'EXCLUDE_WORDS' => 'Исключить слова', + 'EXCLUDE_WORDS_EXPLAIN' => 'Список слов, которые вы хотели бы исключить из словарного графа через запятую (,). Максимум 255 символов.', + 'EXPANDED' => 'Расширенный', + 'EXTENSION_GROUP' => 'Группа расширений', + + 'FEATURED_MEMBER_IDS' => 'ID пользователя', + 'FEATURED_MEMBER_IDS_EXPLAIN' => 'Разделенный запятыми список пользователей для функции (только для избранного пользователя)', + 'FEED_DATA_PREVIEW' => 'Данные канала', + 'FEED_ITEM_TEMPLATE' => 'Шаблон предмета', + 'FEED_ITEM_TEMPLATE_EXPLAIN' => 'TIPS:
+
    +
  • Access feed data in item variable e.g. item.title
  • +
  • Template must be in Twig syntax
  • +
  • Click Samples above for sample templates
  • +
  • Use get_item_tags($namespace, $tag) to get any tag from the feed that we do not provide e.g.
    {{ get_item_tags(\'\', \'image\') }}
  • +
  • Use Twig’s json_encode filter to see contents of array e.g. {{ get_item_tags(\'\', \'image\')|json_encode() }}
  • +
', + 'FEED_PREVIEW_SOURCE' => 'Источник', + 'FEED_URL_PLACEHOLDER' => 'http://example.com/rss', + 'FEED_URLS' => 'URL ленты', + 'FIRST_POST_ONLY' => 'Только первый пост', + 'FIRST_POST_TIME' => 'Время первого поста', + 'FORUMS_GET_TYPE' => 'Получить тип', + 'FORUMS_MAX_TOPICS' => 'Максимальное количество тем/сообщений', + 'FORUMS_TITLE_MAX_CHARS' => 'Максимальное количество символов в заголовке', + 'FREQUENCY' => 'Частота', + 'FULL' => 'Полностью', + 'FULLSCREEN' => 'Полноэкранный', + + 'GET_TYPE' => 'Показать тему/сообщение?', + + 'HTML' => 'HTML', + 'HTML_EXPLAIN' => 'Используйте этот textarea для ввода необработанного HTML содержимого.
Пожалуйста, обратите внимание, что любое содержимое, размещенное здесь, переопределит пользовательский блок содержимого, а визуальный редактор не будет доступен.', + 'HOURS_SHORT' => 'час', + + 'JS_SCRIPTS' => 'JS скрипты', + + 'LAST_POST_TIME' => 'Время последнего поста', + 'LAST_READ_TIME' => 'Время последнего чтения', + 'LIMIT' => 'Лимит', + 'LIMIT_FORUMS' => 'Идентификаторы форума (опционально)', + 'LIMIT_FORUMS_EXPLAIN' => 'Введите идентификатор каждого форума, разделенный запятой (,). Если установлено, будут отображаться только темы из указанных форумов.', + 'LIMIT_POST_TIME' => 'Лимит по времени поста', + 'LIMIT_POST_TIME_EXPLAIN' => 'Если установлено, будут восстановлены только темы за указанный период', + + 'MAX_DEPTH' => 'Максимальная глубина', + 'MAX_ITEMS' => 'Максимальное количество элементов', + 'MAX_MEMBERS' => 'Макс. участников', + 'MAX_POSTS' => 'Максимальное количество сообщений', + 'MAX_TOPICS' => 'Максимальное количество тем', + 'MAX_WORDS' => 'Максимальное количество слов', + 'MANAGE_MENUS' => 'Управление меню', + 'MAP_COORDINATES' => 'Координаты', + 'MAP_COORDINATES_EXPLAIN' => 'Введите координаты в виде широты, долготы', + 'MAP_HEIGHT' => 'Высота', + 'MAP_LOCATION' => 'Местоположение', + 'MAP_TITLE' => 'Заголовок', + 'MAP_VIEW' => 'Вид', + 'MAP_VIEW_HYBRID' => 'Гибридный', + 'MAP_VIEW_MAP' => 'Карта', + 'MAP_VIEW_SATELITE' => 'Сателит', + 'MAP_VIEW_TERRAIN' => 'Terrain', + 'MAP_ZOOM_LEVEL' => 'Масштаб', + 'MEMBERS_DATE' => 'Дата', + 'MENU_NO_ITEMS' => 'Нет активных элементов для отображения', + 'MINI' => 'Мини', + + 'OR' => 'ИЛИ', + 'ORDER_BY' => 'Сортировать по', + + 'POLL_FROM_FORUMS' => 'Показывать опросы с форумов', + 'POLL_FROM_FORUMS_EXPLAIN' => 'Только опросы выбранных форумов будут отображаться до тех пор, пока никакие темы не указаны выше', + 'POLL_FROM_GROUPS' => 'Показывать опросы групп', + 'POLL_FROM_GROUPS_EXPLAIN' => 'Опросы только от участников выбранных групп будут показаны до тех пор, пока никакие пользователи/не указаны выше', + 'POLL_FROM_TOPICS' => 'Показывать опросы из темы(ов)', + 'POLL_FROM_TOPICS_EXPLAIN' => 'Идентификатор (ы) тем для получения опросов, разделенных запятыми(,). Оставьте пустым, чтобы выбрать любую тему.', + 'POLL_FROM_USERS' => 'Показывать опросы от пользователя(ов)', + 'POLL_FROM_USERS_EXPLAIN' => 'Идентификатор (ы) пользователей(ов), опросы которого вы хотели бы показать, разделенный запятыми(,). Оставьте пустым, чтобы выбрать опросы любого пользователя.', + 'POSTS_TITLE_LIMIT' => 'Максимальное количество символов для заголовка сообщения', + 'PREVIEW_MAX_CHARS' => 'Количество символов для предварительного просмотра', + + 'QUERY_TYPE' => 'Режим отображения', + + 'ROTATE_DAILY' => 'Ежедневно', + 'ROTATE_HOURLY' => 'Почасовой', + 'ROTATE_MONTHLY' => 'Ежемесячно', + 'ROTATE_PAGELOAD' => 'Загрузка страницы', + 'ROTATE_WEEKLY' => 'Еженедельно', + + 'SAMPLES' => 'Образцы', + 'SCRIPTS' => 'Скрипты', + 'SELECT_FORUMS' => 'Выберите форумы', + 'SELECT_FORUMS_EXPLAIN' => 'Выберите форумы, из которых будут отображаться темы/сообщения. Оставьте пустым, чтобы выбрать из всех форумов', + 'SELECT_MENU' => 'Выберите меню', + 'SELECT_PROFILE_FIELDS' => 'Выберите поля профиля', + 'SELECT_PROFILE_FIELDS_EXPLAIN' => 'Отображаются только выбранные поля профиля, если таковые имеются.', + 'SHOW_FIRST_POST' => 'Первый пост', + 'SHOW_HIDE_ME' => 'Разрешить скрыть онлайн статус?', + 'SHOW_LAST_POST' => 'Последнее сообщение', + 'SHOW_MEMBER_MENU' => 'Показать меню пользователя?', + 'SHOW_MEMBER_MENU_EXPLAIN' => 'Заменить поле "Логин" меню пользователя, если пользователь вошел в систему', + 'SHOW_WORD_COUNT' => 'Показать счетчик слов?', + + 'TEMPLATE' => 'Шаблон', + 'TOPIC_TITLE_LIMIT' => 'Максимум # символов для названия темы', + 'TOPIC_TYPE' => 'Тип темы', + 'TOPIC_TYPE_EXPLAIN' => 'Выберите типы тем, которые вы хотите отобразить. Оставьте поле пустым, чтобы выбрать из всех типов тем', + 'TOPICS_LOOK_BACK' => 'Назад', + 'TOPICS_ONLY' => 'Только темы?', + 'TOPICS_PER_PAGE' => 'На страницу', + + 'WORD_MAX_SIZE' => 'Максимальный размер шрифта', + 'WORD_MIN_SIZE' => 'Минимальный размер шрифта', +)); diff --git a/language/ru/common.php b/language/ru/common.php new file mode 100644 index 000000000000..3eec28df3782 --- /dev/null +++ b/language/ru/common.php @@ -0,0 +1,97 @@ + 'За всё время', + + 'BLOCK_TITLE' => 'Заголовок блока', + + 'CHANGE_ME' => 'Изменить меня', + + 'DAILY_MEMBER' => 'Член дня', + + 'FEATURED_MEMBER' => 'Избранный участник', + 'FEATURED_MEMBERLIST' => 'Список избранных участников', + 'FEEDS' => 'Ленты', + 'FORUM_ANNOUNCEMENTS' => 'Объявления форума', + 'FORUM_GLOBAL_ANNOUNCEMENTS' => 'Объявления Глобального форума', + 'FORUM_RECENT_POSTS' => 'Последние сообщения на форуме', + 'FORUM_RECENT_TOPICS' => 'Последние темы на форуме', + 'FORUM_STICKY_POSTS' => 'Закреплённые сообщения', + + 'HELP' => 'Справка', + 'HOURLY_MEMBER' => 'Член часа', + + 'GOOGLE_MAP' => 'Карта Google', + + 'JOIN_DATE' => 'Дата вступления', + + 'LAST_POST_BY_AUTHOR' => 'Последнее сообщение от', + 'LAST_VISITED' => 'Последний визит', + 'LINKS' => 'Ссылки', + + 'MCP_SITEMAKER_CONTENT' => 'Содержание', + 'MEMBERS_DATE' => 'Дата', + 'MENU' => 'Меню', + 'MONTHLY_MEMBER' => 'Член месяца', + 'MOST_TENURED' => 'Самые распространенные', + 'MY_BOOKMARKS' => 'Мои закладки', + + 'NO_BOOKMARKED_TOPICS' => 'У вас нет добавленных в закладки тем', + 'NO_NEW_TOPICS' => 'Нет новых тем для отображения', + + 'POLL' => 'Опрос', + 'POPULAR_TOPICS' => 'Популярные темы', + 'POSTS_MEMBER' => 'Верхний плакат', + 'PROCESSING' => 'обработка...', + + 'QTYPE_POSTS' => 'Поздравляем:', + 'QTYPE_RECENT' => 'Пожалуйста, добро пожаловать в наш новый член:', + + 'RECENT_BOTS' => 'Последние поисковые системы', + 'RECENT_MEMBER' => 'Последние участники', + 'RECENT_MEMBERS' => 'Недавние участники', + + 'SESSION_HIDE_ME' => 'Скрыть меня', + 'SM_NAVIGATION' => 'Navigation', + 'SM_TOGGLE_DROPDOWN' => 'Переключить выпадающий список', + 'STYLE_SWITCHER' => 'Переключатель стилей', + + 'THIS_MONTH' => 'В этом месяце', + 'THIS_WEEK' => 'На этой неделе', + 'THIS_YEAR' => 'В этом году', + 'TODAY' => 'Сегодня', + 'TOPICS_LAST_READ' => 'Последние прочитанные темы', + 'TOPIC_LAST_READ' => 'Последнее чтение %s', + 'TOP_POSTERS' => 'Лучшие плакаты', + + 'UCP_SITEMAKER_CONTENT' => 'Мои вещи', + + 'VIEW_DETAILS' => 'Детали', + 'VIEW_USER_PROFILE' => 'Все около %s', + + 'WEEKLY_MEMBER' => 'Член недели', + 'WELCOME' => 'Добро пожаловать', + 'WHATS_NEW' => 'Что нового?', + 'WORDGRAPH' => 'Wordgraph', +)); diff --git a/language/ru/css_presets.php b/language/ru/css_presets.php new file mode 100644 index 000000000000..0b1f3c6eda77 --- /dev/null +++ b/language/ru/css_presets.php @@ -0,0 +1,107 @@ + 'Маркер списка стрелок', + 'LIST_CIRCLE' => 'Маркер списка круга', + 'LIST_DISC' => 'Маркер пулевого списка', + 'LIST_SQUARE' => 'Маркер квадратного списка', + 'LIST_NUMBERED' => 'Нумерованный список', + 'LIST_NUMBERED_ALPHABET' => 'Нумерация с алфавитом', + 'LIST_NUMBERED_NESTED' => 'Нумерация с подразделами', + 'LIST_NUMBERED_ROMAN' => 'Нумерация с римскими цифрами', + 'LIST_NUMBERED_ZERO' => 'Нумерация с нулевым началом', + 'LIST_INLINE' => 'Встроенный список', + 'LIST_INLINE_SEP' => 'Список через запятую', + 'LIST_REVERSE' => 'Обратный порядок', + 'LIST_STRIPED' => 'Полосатый список', + 'LIST_STACKED' => 'Список со складами', + 'LIST_TRIANGLE' => 'Треугольник', + 'LIST_HYPHEN' => 'Дефис', + 'LIST_PLUS' => 'Плюс', + 'LIST_SPADE' => 'Spade', + 'LIST_CLUB' => 'Клуб', + 'LIST_DIAMOND' => 'Алмазный', + 'LIST_HEART' => 'Сердце', + 'LIST_STAR' => 'Звезда', + 'LIST_CHECK' => 'Проверить', + 'LIST_SNOWFLAKE' => 'Снежинка', + 'LIST_MUSIC' => 'Музыка', + 'LIST_AUTOWIDTH' => 'Auto width', + 'LIST_FIT_CONTENT' => 'Подогнать содержимое', + 'LIST_2COLS' => 'Список 2 столбцов', + 'LIST_3COLS' => 'Список 3 столбцов', + 'LIST_4COLS' => '4 колонки', + 'LIST_5COLS' => '5 колонок', + 'LIST_X_DIVIDER_DOTTED' => 'Горизонтальный пунктирный разделитель', + 'LIST_X_DIVIDER_LINE' => 'Горизонтальный разделитель', + 'LIST_Y_DIVIDER_DOTTED' => 'Вертикальный пунктирный разделитель', + 'LIST_Y_DIVIDER_LINE' => 'Вертикальный разделитель', + + 'IMAGE_SMALL' => 'Маленькое изображение', + 'IMAGE_MEDIUM' => 'Среднее изображение', + 'IMAGE_LARGE' => 'Большое изображение', + 'IMAGE_FULL_WIDTH' => 'Полная ширина изображения', + 'IMAGE_ALIGN_LEFT' => 'Плавающее изображение слева', + 'IMAGE_ALIGN_RIGHT' => 'Плавающее изображение справа', + 'IMAGE_CIRCLE' => 'Круговое изображение', + 'IMAGE_ROUNDED' => 'Округлённое изображение', + 'IMAGE_BORDER' => 'Образец', + 'IMAGE_BORDER_PADDING' => 'Image border padding', + 'IMAGE_RATIO_SQUARE' => 'Квадратное изображение', + 'IMAGE_RATIO_4_BY_3' => '4 на 3 изображения', + 'IMAGE_RATIO_16_BY_9' => '16 по 9 изображений', + + 'RESPONSIVE_SHOW' => 'Показывать только на небольших устройствах', + 'RESPONSIVE_HIDE' => 'Скрыть на маленьких устройствах', + + 'ALIGN_LEFT' => 'Текст по левому краю', + 'ALIGN_CENTER' => 'Текст по центру', + 'ALIGN_RIGHT' => 'Текст выровненного справа', + 'NO_PADDING' => 'No padding', + 'LABEL' => 'Метка', + 'BADGE' => 'Значок', + 'PRIMARY_COLOR' => 'Основной цвет', + 'SECONDARY_COLOR' => 'Дополнительный цвет', + 'GRAYSCALE_COLOR' => 'Grayscale', + 'INFO_COLOR' => 'Инфо', + 'SUCCESS_COLOR' => 'Успешно', + 'WARNING_COLOR' => 'Предупреждение', + 'DANGER_COLOR' => 'Опасность', +)); diff --git a/language/ru/exceptions.php b/language/ru/exceptions.php new file mode 100644 index 000000000000..4b9c816027b0 --- /dev/null +++ b/language/ru/exceptions.php @@ -0,0 +1,49 @@ + 'Обязательное поле отсутствует', + 'EXCEPTION_INVALID_ACTION' => 'Действие не существует', + 'EXCEPTION_INVALID_ARGUMENT' => 'Указан недопустимый аргумент для `%1$s. Причина: %2$s', + 'EXCEPTION_INVALID_DATA_TYPE' => 'Предоставленное значение имеет неожиданный тип данных', + 'EXCEPTION_INVALID_ENTITY' => 'Предоставленная сущность имеет неожиданный класс сущности', + 'EXCEPTION_INVALID_PROPERTY' => 'Запрошенное свойство не существует', + 'EXCEPTION_OUT_OF_BOUNDS' => 'Запрашиваемый `%1$s` не существует', + 'EXCEPTION_SERVICE_NOT_FOUND' => 'Запрошенная служба не найдена', + 'EXCEPTION_UNEXPECTED_VALUE' => 'Не удалось выполнить запрошенное действие `%1$s`. Причина: %2$s', +)); diff --git a/language/ru/ext.php b/language/ru/ext.php new file mode 100644 index 000000000000..a8228c16f117 --- /dev/null +++ b/language/ru/ext.php @@ -0,0 +1,42 @@ + 'Каталог изображений phpBB не доступен для записи. Пожалуйста, измените права на запись на все (777 или -rwxrwxrwx внутри FTP клиента)', + 'PHPBB_VERSION_UNMET' => 'Это расширение требует как минимум phpBB %s', +)); diff --git a/language/ru/feed_fields.php b/language/ru/feed_fields.php new file mode 100644 index 000000000000..8f81a47fe4f3 --- /dev/null +++ b/language/ru/feed_fields.php @@ -0,0 +1,108 @@ + 'автор', + 'AUTHORS' => 'авторы (массив)', + 'BITRATE' => 'битрейт', + 'CAPTIONS' => 'субтитры', + 'CATEGORIES' => 'категории (массив)', + 'CATEGORY' => 'категория', + 'CHANNELS' => 'каналы', + 'CONTENT' => 'контент', + 'CONTRIBUTOR' => 'участник', + 'CONTRIBUTORS' => 'участники (массив)', + 'COPYRIGHT' => 'авторские права', + 'CREDITS' => 'кредиты', + 'DATE' => 'дата', + 'DESCRIPTION' => 'описание', + 'DURATION' => 'длительность', + 'ENCLOSURE' => 'вложение', + 'ENCLOSURES' => 'дополнения (массив)', + 'EXPRESSION' => 'выражение', + 'FEED' => 'канал', + 'FRAMERATE' => 'частота кадров', + 'GMDATE' => 'Дата ГМ', + 'HANDLER' => 'handler', + 'HASHES' => 'хэши', + 'HEIGHT' => 'высота', + 'ID' => 'id', + 'IMAGE_HEIGHT' => 'высота изображения', + 'IMAGE_LINK' => 'ссылка на изображение', + 'IMAGE_TITLE' => 'название изображения', + 'IMAGE_URL' => 'URL изображения', + 'IMAGE_WIDTH' => 'ширина изображения', + 'ITEMS' => 'элементы', + 'JAVASCRIPT' => 'javascript', + 'KEYWORDS' => 'ключевые слова', + 'LABEL' => 'этикетка', + 'LANG' => 'lang', + 'LATITUDE' => 'широта', + 'LENGTH' => 'длина', + 'LINK' => 'ссылка', + 'LINKS' => 'ссылки', + 'LONGITUDE' => 'долгота', + 'MEDIUM' => 'средняя', + 'NAME' => 'имя', + 'PERMALINK' => 'постоянная ссылка', + 'PLAYER' => 'игрок', + 'RATINGS' => 'рейтинги', + 'RELATIONSHIP' => 'отношения', + 'RESTRICTIONS' => 'ограничения (массив)', + 'SAMPLINGRATE' => 'частота отбора проб', + 'SCHEME' => 'схема', + 'SOURCE' => 'источник', + 'TERM' => 'термин', + 'THUMBNAILS' => 'thumbnails', + 'TITLE' => 'название', + 'TYPE' => 'тип', + 'UPDATED_DATE' => 'дата обновления', + 'UPDATED_GMDATE' => 'обновлена дата ГМ', + 'VALUE' => 'значение', + 'WIDTH' => 'width', +)); diff --git a/language/ru/icons.php b/language/ru/icons.php new file mode 100644 index 000000000000..503ebe95cbb7 --- /dev/null +++ b/language/ru/icons.php @@ -0,0 +1,71 @@ + 'Доступность', + 'ICON_ARROWS' => 'Стрелки', + 'ICON_BRAND' => 'Бренд', + 'ICON_CHART' => 'Диаграмма', + 'ICON_CURRENCY' => 'Валюта', + 'ICON_DIRECTIONAL' => 'Направленный', + 'ICON_FILE_TYPE' => 'Тип файла', + 'ICON_FORM_CONTROL' => 'Форма управления', + 'ICON_GENDER' => 'Гендерная проблематика', + 'ICON_HAND' => 'Рука', + 'ICON_MEDICAL' => 'Медицинский', + 'ICON_PAYMENT' => 'Оплата', + 'ICON_SPINNER' => 'Спинер', + 'ICON_TEXT_EDITOR' => 'Текстовый редактор', + 'ICON_TRANSPORTATION' => 'Транспорт', + 'ICON_VIDEO_PLAYER' => 'Видео плеер', + 'ICON_WEB_APPLICATION' => 'Веб-приложение', + + 'ICON_COLOR' => 'Цвет', + 'ICON_DEFAULT' => 'По умолчанию', + 'ICON_FLIP_BOTH' => 'Отразить оба', + 'ICON_FLIP_HORIZONTAL' => 'Отразить по горизонтали', + 'ICON_FLIP_VERTICAL' => 'Отразить вертикально', + 'ICON_FLOAT' => 'Плавающий', + 'ICON_FLOAT_LEFT' => 'Слева', + 'ICON_FLOAT_RIGHT' => 'Справа', + 'ICON_FONT' => 'Font Icons', + 'ICON_INSERT_UPDATE' => 'Insert/Update', + 'ICON_MISC' => 'Прочие', + 'ICON_MISC_BORDERED' => 'Граница', + 'ICON_MISC_FIXED_WIDTH' => 'Фиксированная ширина', + 'ICON_MISC_PULSE' => 'Пульс', + 'ICON_MISC_SPINNING' => 'Прокрутка', + 'ICON_ROTATION' => 'Поворот', + 'ICON_ROTATE_90' => '90°', + 'ICON_ROTATE_180' => '180°', + 'ICON_ROTATE_270' => '270°', + 'ICON_SIZE' => 'Размер', + 'ICON_SIZE_LG' => 'Большие', + 'ICON_SIZE_SM' => 'Маленький', + 'ICON_SIZE_2X' => '2x', + 'ICON_SIZE_3X' => '3х', + 'ICON_SIZE_4X' => '4x', + 'ICON_SIZE_5X' => '5x', + + 'NO_ICON' => 'Без значка', +)); diff --git a/language/ru/info_acp_menus.php b/language/ru/info_acp_menus.php new file mode 100644 index 000000000000..8d7ac20624e8 --- /dev/null +++ b/language/ru/info_acp_menus.php @@ -0,0 +1,92 @@ + 'Меню', + 'ACP_MENU_MANAGE' => 'Управление меню', + 'ACP_MENU_MANAGE_EXPLAIN' => 'Здесь вы можете создавать и управлять меню для вашего сайта', + 'ADD_BULK_MENU' => 'Массовое добавление пунктов меню', + 'ADD_BULK_MENU_EXPLAIN' => 'Добавить несколько пунктов меню сразу.
- Разместите каждый элемент на отдельной строке
- Используйте клавишу Tab для отступа элементов для представления родитель-дочерних отношений
- Введите элемент и URL так, что: Home|index.php', + 'ADD_MENU' => 'Добавить меню', + 'ADD_MENU_ITEM' => 'Добавить пункт меню', + 'ADD_ITEM' => 'Добавить новый элемент', + 'AJAX_PROCESSING' => 'Работает', + + 'CHANGE_ME' => 'Изменить меня', + + 'DELETE_ITEM' => 'Удалить элемент', + 'DELETE_KIDS' => 'Удалить ветку', + 'DELETE_MENU' => 'Удалить меню', + 'DELETE_MENU_CONFIRM' => 'Вы уверены, что хотите удалить это меню?
Это удалит меню и все его элементы', + 'DELETE_MENU_ITEM' => 'Удалить элемент', + 'DELETE_MENU_ITEM_CONFIRM' => 'Вы уверены, что хотите удалить этот пункт меню?', + 'DELETE_SELECTED' => 'Удалить выбранные', + + 'EDIT_ITEM' => 'Изменить элемент', + + 'ITEM_ACTIVE' => 'Активный', + 'ITEM_INACTIVE' => 'Неактивный', + 'ITEM_PARENT' => 'Родитель', + 'ITEM_TITLE' => 'Название предмета', + 'ITEM_TITLE_EXPLAIN' => 'Установить как \'-\' для разделителя', + 'ITEM_TARGET' => 'Item Target', + 'ITEM_URL' => 'URL элемента', + 'ITEM_URL_EXPLAIN' => '- Оставьте пустым для заголовков
- Внешние сайты должны начинаться с http(s)://, ftp://, //, и т.д.', + + 'MENU_ITEMS' => 'Пункты меню', + + 'NO_MENU_ITEMS' => 'Пункты меню не были созданы', + 'NO_PARENT' => 'Нет родителя', + + 'PROCESSING_ERROR' => 'Ошибка обработки', + + 'REBUILD_TREE' => 'Перестроить дерево', + 'REQUIRED' => 'Требуется', + 'REQUIRED_FIELDS' => '* Обязательные поля', + + 'SAVE_CHANGES' => 'Сохранить изменения', + 'SAVE' => 'Сохранить', + 'SELECT_ALL' => 'Выделить все', + + 'TARGET_BLANK' => 'Пустая страница', + 'TARGET_PARENT' => 'Родитель', + + 'UNSAVED_CHANGES' => 'У вас есть несохраненные изменения', + + 'VISIT_PAGE' => 'Посетить страницу', +)); diff --git a/language/ru/info_acp_settings.php b/language/ru/info_acp_settings.php new file mode 100644 index 000000000000..b09e47905e91 --- /dev/null +++ b/language/ru/info_acp_settings.php @@ -0,0 +1,74 @@ + 'SiteMaker', + 'ACP_SM_SETTINGS' => 'Настройки', + + 'BLOCKS_CLEANUP' => 'Очистка Блоков', + 'BLOCKS_CLEANUP_EXPLAIN' => 'Следующие элементы были найдены больше не существует или недоступны, поэтому вы можете удалить все связанные с ними блоки. Имейте в виду, что некоторые из них могут быть ложными', + 'BLOCKS_CLEANUP_BLOCKS' => 'Недопустимые блоки (например, из удаленных расширений):', + 'BLOCKS_CLEANUP_ROUTES' => 'Недоступные/сломанные страницы:', + 'BLOCKS_CLEANUP_STYLES' => 'Удаленные стили (ids):', + 'BLOCKS_CLEANUP_SUCCESS' => 'Блоки очищены успешно', + + 'FORUM_INDEX_SETTINGS' => 'Настройки индекса форумов', + 'FORUM_INDEX_SETTINGS_EXPLAIN' => 'Эти настройки применяются только в том случае, если не задано начальной страницы', + + 'HIDE' => 'Скрыть', + 'HIDE_BIRTHDAY' => 'Скрыть раздел "День рождения"', + 'HIDE_LOGIN' => 'Скрыть окно входа', + 'HIDE_ONLINE' => 'Скрыть все онлайн секции', + + 'LAYOUT_BLOG' => 'Блог', + 'LAYOUT_CUSTOM' => 'Свой', + 'LAYOUT_HOLYGRAIL' => 'Святой Грааль', + 'LAYOUT_PORTAL' => 'Портал', + 'LAYOUT_PORTAL_ALT' => 'Портал (alt)', + 'LAYOUT_SETTINGS' => 'Настройки макета', + + 'LOG_DELETED_BLOCKS_FOR_STYLE' => 'Блоки сайта удалены для отсутствующего стиля с идентификатором %s', + 'LOG_DELETED_BLOCKS_FOR_ROUTE' => 'Блоки сайта удалены для сломанных страниц:
%s', + 'LOG_DELETED_BLOCKS' => 'Удалены недействительные блоки сайта:
%s', + + 'NAVIGATION_SETTINGS' => 'Настройки навигации', + + 'SETTINGS_SAVED' => 'Ваши настройки были сохранены', + 'SHOW' => 'Показать', + 'SHOW_FORUM_NAV' => 'Показать «Форум» в панели навигации?', + 'SHOW_FORUM_NAV_EXPLAIN' => 'Когда страница установлена как стартовая страница вместо индекса форума, то следует отображать \'Форум\' в панели навигации', + 'SHOW_FORUM_NAV_WITH_ICON' => 'Да - с иконкой:', +]); diff --git a/language/ru/navbar_manager.php b/language/ru/navbar_manager.php new file mode 100644 index 000000000000..da2ebf38080c --- /dev/null +++ b/language/ru/navbar_manager.php @@ -0,0 +1,79 @@ + 'Активный элемент', + 'BORDER' => 'Border', + 'BORDER_COLOR' => 'Цвет рамки', + 'BORDER_RADIUS' => 'Радиус границы', + 'BORDER_WIDTH' => 'Border Width', + 'BOTTOM' => 'Внизу', + 'BOTTOM_LEFT' => 'Внизу слева', + 'BOTTOM_RIGHT' => 'Внизу справа', + 'CAPITALIZE' => 'Капитализация', + 'COLOR' => 'Цвет', + 'DIVIDERS' => 'Разделители', + 'END' => 'Конец', + 'GRADIENT' => 'Градиент', + 'HEADERS' => 'Заголовки', + 'HOVER' => 'Hover', + 'LEFT' => 'Слева', + 'LOWERCASE' => 'Строчные буквы', + 'MARGIN' => 'Граница', + 'NAVBAR' => 'Панель навигации', + 'NAVBAR_MENU' => 'Navbar menu', + 'NAVBAR_DROPDOWN' => 'Выпадающий список', + 'NAVBAR_LOCATION' => 'Местоположение', + 'NAVBAR_LOCATION_OPTION' => 'Местоположение #%s', + 'NAVBAR_TOP_MENU' => 'Верхнее меню', + 'NONE' => 'Нет', + 'PADDING' => 'Padding', + 'RESPONSIVE_TOGGLE' => 'Адаптивное переключение', + 'RESPONSIVE_TOGGLE_EXPLAIN' => 'Видимо только на небольших (мобильных) экранах', + 'RIGHT' => 'Справа', + 'SAVE' => 'Сохранить', + 'SIZE' => 'Размер', + 'START' => 'Начать', + 'TEXT' => 'Текст', + 'TOP' => 'Сверху', + 'TOP_LEFT' => 'Вверху слева', + 'TOP_RIGHT' => 'Верхний правый', + 'TRANSFORM' => 'Преобразовать', + 'UPPERCASE' => 'Прописные', +)); diff --git a/language/ru/permissions_sitemaker.php b/language/ru/permissions_sitemaker.php new file mode 100644 index 000000000000..68d548b893da --- /dev/null +++ b/language/ru/permissions_sitemaker.php @@ -0,0 +1,45 @@ + '[ SiteMaker ] Управление настройками', + 'ACL_A_SM_MANAGE_BLOCKS' => '[ Создатель сайтов ] Может управлять блоками', + 'ACL_A_SM_MANAGE_MENUS' => '[ SiteMaker ] Управление меню', +)); diff --git a/language/sk/block_manager.php b/language/sk/block_manager.php new file mode 100644 index 000000000000..9bd5cdd871d9 --- /dev/null +++ b/language/sk/block_manager.php @@ -0,0 +1,123 @@ + '*Drag and Drop blocks', + 'AJAX_ERROR' => 'Oops! There was an error processing your request. Please try again.', + 'AJAX_LOADING' => 'Loading...', + 'AJAX_PROCESSING' => 'Working...', + + 'BACKGROUND' => 'Background', + 'BLOCKS' => 'Blocks', + 'BLOCKS_COPY_FROM' => 'Copy Blocks', + 'BLOCK_ACTIVE' => 'Active', + 'BLOCK_CHILD_ROUTES_ONLY' => 'Show on child routes only', + 'BLOCK_CHILD_ROUTES_HIDE' => 'Hide on child routes', + 'BLOCK_CLASS' => 'CSS Class', + 'BLOCK_CLASS_EXPLAIN' => 'Modify block appearance with CSS classes', + 'BLOCK_DESIGN' => 'Appearance', + 'BLOCK_DISPLAY_TYPE' => 'Display', + 'BLOCK_HIDE_TITLE' => 'Hide block title?', + 'BLOCK_INACTIVE' => 'Inactive', + 'BLOCK_MISSING_TEMPLATE' => 'Missing required block template. Please contact developer', + 'BLOCK_NOT_FOUND' => 'Oops! The requested block service was not found', + 'BLOCK_NO_DATA' => 'No data to display', + 'BLOCK_NO_ID' => 'Oops! Missing block id', + 'BLOCK_PERMISSION' => 'Permission', + 'BLOCK_PERMISSION_ALLOW' => 'Show to', + 'BLOCK_PERMISSION_DENY' => 'Hide from', + 'BLOCK_PERMISSION_EXPLAIN' => 'Use CTRL + click to toggle selection', + 'BLOCK_SHOW_ALWAYS' => 'Always', + 'BLOCK_STATUS' => 'Status', + 'BLOCK_UPDATED' => 'Block settings successfully updated', + + 'CANCEL' => 'Cancel', + 'CHILD_ROUTE' => 'Child', + 'CHILD_ROUTE_EXPLAIN' => '/viewforum.php, /dir/index.php
/viewtopic.php?f=2&t=1
/articles/my-article', + 'CLEAR' => 'Clear', + 'COPY' => 'Copy', + 'COPY_BLOCKS' => 'Copy Blocks?', + 'COPY_BLOCKS_CONFIRM' => 'Are you sure that you’d like to copy blocks from another page?

This will delete all existing blocks and their settings for this page and replace them with the blocks from the selected page.', + + 'DEFAULT_LAYOUT_EXPLAIN' => 'If set, all site pages for which you have not specified blocks will inherit the blocks from the default layout. You may, however, override the default layout for particular pages using the options to the right.', + 'DELETE' => 'Delete', + 'DELETE_ALL_BLOCKS' => 'Delete All Blocks', + 'DELETE_ALL_BLOCKS_CONFIRM' => 'Are you sure that you’d like to delete all blocks for this page?', + 'DELETE_BLOCK' => 'Delete Block', + 'DELETE_BLOCK_CONFIRM' => 'Are you sure you want to delete this block?


Note: You will have to save the layout changes to make this permanent.', + + 'EDIT' => 'Edit', + 'EDIT_BLOCK' => 'Edit Block', + 'EXIT_EDIT_MODE' => 'Exit Edit Mode', + + 'FEED_PROBLEMS' => 'There was a problem processing the provided rss/atom feed(s)', + 'FEED_URL_MISSING' => 'Please provide at least one rss/atom feed to begin', + 'FIELD_INVALID' => 'The provided value for the field “%s” has an invalid format', + 'FIELD_REQUIRED' => '“%s” is a required field', + 'FIELD_TOO_LONG' => 'The provided value for the field “%1$s” is too long. The maximum acceptable value is %2$d.', + 'FIELD_TOO_SHORT' => 'The provided value for the field “%1$s” is too short. The minimum acceptable value is %2$d.', + + 'HIDE_ALL_BLOCKS' => 'Do not show blocks on this page', + 'HIDE_BLOCK_POSITIONS' => 'Do not show blocks for the following block positions:', + + 'IMAGES' => 'Images', + + 'LAYOUT' => 'Layout', + 'LAYOUT_SAVED' => 'Layout successfully saved!', + 'LAYOUT_SETTINGS' => 'Layout Settings', + 'LEAVE_CONFIRM' => 'You have some unsaved changes to this page. Please save your work before moving on', + 'LISTS' => 'Lists', + + 'MAKE_DEFAULT_LAYOUT' => 'Set As Default Layout', + + 'OR' => 'OR', + + 'PARENT_ROUTE' => 'Parent', + 'PARENT_ROUTE_EXPLAIN' => '/index.php
/viewforum.php?f=2
/articles', + 'PREDEFINED_CLASSES' => 'Predefined classes', + + 'REDO' => 'Redo', + 'REMOVE_DEFAULT_LAYOUT' => 'Remove As Default Layout', + 'REMOVE_STARTPAGE' => 'Remove Start Page', + 'ROUTE_HIDDEN_BLOCKS' => 'Blocks are being hidden for this page', + 'ROUTE_HIDDEN_POSITIONS' => 'Blocks are being hidden for the following positions', + 'ROUTE_UPDATED' => 'Page settings successfully updated', + + 'SAVE_CHANGES' => 'Save Changes', + 'SAVE_SETTINGS' => 'Save Settings', + 'SELECT_ICON' => 'Select an Icon', + 'SETTINGS' => 'Settings', + 'SETTING_TOO_BIG' => 'The provided value for the setting “%1$s” is too high. The maximum acceptable value is %2$d.', + 'SETTING_TOO_LONG' => 'The provided value for the setting “%1$s” is too long. The maximum acceptable length is %2$d.', + 'SETTING_TOO_LOW' => 'The provided value for the setting “%1$s” is too low. The minimum acceptable value is %2$d.', + 'SETTING_TOO_SHORT' => 'The provided value for the setting “%1$s” is too short. The minimum acceptable length is %2$d.', + 'SET_STARTPAGE' => 'Set As Start Page', + + 'TITLES' => 'Titles', + + 'UPDATE_SIMILAR' => 'Update blocks with similar settings', + 'UNDO' => 'Undo', + + 'VIEW_DEFAULT_LAYOUT' => 'View/Edit Default Layout', + 'VISIT_PAGE' => 'Visit Page', +)); diff --git a/language/sk/blocks_admin.php b/language/sk/blocks_admin.php new file mode 100644 index 000000000000..3a3288691381 --- /dev/null +++ b/language/sk/blocks_admin.php @@ -0,0 +1,189 @@ + 'All Types', + 'ALL_GROUPS' => 'All Groups', + 'ARCHIVES' => 'Archives', + 'AUTO_LOGIN' => 'Allow auto login?', + 'FILE_MANAGER' => 'File Manager', + 'TOPIC_POST_IDS' => 'From Topic/Post Ids', + 'TOPIC_POST_IDS_EXPLAIN' => 'Id(s) of topics/posts to retrieve attachments from, separated by commas(,). Specify if this list is for topic or post ids above.', + 'TOPIC_POST_IDS_TYPE' => 'Type of IDs (below)', + + // Blocks + 'BLITZE_SITEMAKER_BLOCK_ATTACHMENTS' => 'Attachments', + 'BLITZE_SITEMAKER_BLOCK_BIRTHDAY' => 'Birthday', + 'BLITZE_SITEMAKER_BLOCK_CUSTOM' => 'Custom Block', + 'BLITZE_SITEMAKER_BLOCK_FEATURED_MEMBER' => 'Featured Member', + 'BLITZE_SITEMAKER_BLOCK_FEEDS' => 'RSS/Atom Feeds', + 'BLITZE_SITEMAKER_BLOCK_FORUM_POLL' => 'Forum Poll', + 'BLITZE_SITEMAKER_BLOCK_FORUM_TOPICS' => 'Forum Topics', + 'BLITZE_SITEMAKER_BLOCK_GOOGLE_MAPS' => 'Google Maps', + 'BLITZE_SITEMAKER_BLOCK_POPULAR_TOPICS' => 'Popular Topics', + 'BLITZE_SITEMAKER_BLOCK_LINKS' => 'Links', + 'BLITZE_SITEMAKER_BLOCK_LOGIN' => 'Login Box', + 'BLITZE_SITEMAKER_BLOCK_MEMBERS' => 'Members', + 'BLITZE_SITEMAKER_BLOCK_MEMBER_MENU' => 'Member Menu', + 'BLITZE_SITEMAKER_BLOCK_MENU' => 'Menu', + 'BLITZE_SITEMAKER_BLOCK_MYBOOKMARKS' => 'My Bookmarks', + 'BLITZE_SITEMAKER_BLOCK_RECENT_TOPICS' => 'Recent Topics', + 'BLITZE_SITEMAKER_BLOCK_STATS' => 'Statistics', + 'BLITZE_SITEMAKER_BLOCK_STYLE_SWITCHER' => 'Style Switcher', + 'BLITZE_SITEMAKER_BLOCK_WHATS_NEW' => 'What’s New?', + 'BLITZE_SITEMAKER_BLOCK_WHOIS' => 'Who is online', + 'BLITZE_SITEMAKER_BLOCK_WORDGRAPH' => 'Wordgraph', + + // block views + 'BLOCK_VIEW' => 'Block View', + 'BLOCK_VIEW_BASIC' => 'Basic', + 'BLOCK_VIEW_BOXED' => 'Boxed', + 'BLOCK_VIEW_DEFAULT' => 'Default', + 'BLOCK_VIEW_SIMPLE' => 'Simple', + + 'CACHE_DURATION' => 'Cache duration', + 'CONTEXT' => 'Context', + 'CSS_SCRIPTS' => 'CSS Scripts', + 'CUSTOM_PROFILE_FIELDS' => 'Custom Profile Fields', + + 'DATE_RANGE' => 'Date Range', + 'DISPLAY_PREVIEW' => 'Display Preview?', + + 'EDIT_ME' => 'Please edit me', + 'ENABLE_TOPIC_TRACKING' => 'Enable topic tracking?', + 'ENABLE_TOPIC_TRACKING_EXPLAIN' => 'If enabled, unread topics will be indicated but the block results will not be cached (Not recommended)', + 'EXCLUDE_TOO_MANY_WORDS' => 'You have entered too many words to exclude. The maximum number of characters possible is 255, you have entered %s.', + 'EXCLUDE_WORDS' => 'Exclude words', + 'EXCLUDE_WORDS_EXPLAIN' => 'List the words you’d like to exclude from the wordgraph separated by a comma (,). Maximum 255 characters.', + 'EXPANDED' => 'Expanded', + 'EXTENSION_GROUP' => 'Extension Group', + + 'FEATURED_MEMBER_IDS' => 'User IDs', + 'FEATURED_MEMBER_IDS_EXPLAIN' => 'Comma separated list of users to feature (Only applies to Featured Member display mode)', + 'FEED_DATA_PREVIEW' => 'Feed Data', + 'FEED_ITEM_TEMPLATE' => 'Item Template', + 'FEED_ITEM_TEMPLATE_EXPLAIN' => 'TIPS:
+
    +
  • Access feed data in item variable e.g. item.title
  • +
  • Template must be in Twig syntax
  • +
  • Click Samples above for sample templates
  • +
  • Use get_item_tags($namespace, $tag) to get any tag from the feed that we do not provide e.g.
    {{ get_item_tags(\'\', \'image\') }}
  • +
  • Use Twig’s json_encode filter to see contents of array e.g. {{ get_item_tags(\'\', \'image\')|json_encode() }}
  • +
', + 'FEED_PREVIEW_SOURCE' => 'Source', + 'FEED_URL_PLACEHOLDER' => 'http://example.com/rss', + 'FEED_URLS' => 'Feed URLs', + 'FIRST_POST_ONLY' => 'First Post Only', + 'FIRST_POST_TIME' => 'First Post Time', + 'FORUMS_GET_TYPE' => 'Get type', + 'FORUMS_MAX_TOPICS' => 'Maximum topics/posts', + 'FORUMS_TITLE_MAX_CHARS' => 'Maximum characters per title', + 'FREQUENCY' => 'Frequency', + 'FULL' => 'Full', + 'FULLSCREEN' => 'Fullscreen', + + 'GET_TYPE' => 'Display Topic/Post?', + + 'HTML' => 'HTML', + 'HTML_EXPLAIN' => 'Use this textarea to enter raw HTML content.
Please note that any content posted here will override the custom block content and the visual block editor will not be available.', + 'HOURS_SHORT' => 'hrs', + + 'JS_SCRIPTS' => 'JS Scripts', + + 'LAST_POST_TIME' => 'Last Post Time', + 'LAST_READ_TIME' => 'Last Read Time', + 'LIMIT' => 'Limit', + 'LIMIT_FORUMS' => 'Forum Ids (optional)', + 'LIMIT_FORUMS_EXPLAIN' => 'Enter each forum id separated by a comma (,). If set, only topics from specified forums will be displayed.', + 'LIMIT_POST_TIME' => 'Limit by Post time', + 'LIMIT_POST_TIME_EXPLAIN' => 'If set, only topics posted within the specified period will be retrieved', + + 'MAX_DEPTH' => 'Maximum depth', + 'MAX_ITEMS' => 'Maximum number of items', + 'MAX_MEMBERS' => 'Max. Members', + 'MAX_POSTS' => 'Maximum number of posts', + 'MAX_TOPICS' => 'Maximum number of topics', + 'MAX_WORDS' => 'Maximum number of words', + 'MANAGE_MENUS' => 'Manage Menus', + 'MAP_COORDINATES' => 'Coordinates', + 'MAP_COORDINATES_EXPLAIN' => 'Enter coordinates in the form latitude,longitude', + 'MAP_HEIGHT' => 'Height', + 'MAP_LOCATION' => 'Location', + 'MAP_TITLE' => 'Title', + 'MAP_VIEW' => 'View', + 'MAP_VIEW_HYBRID' => 'Hybrid', + 'MAP_VIEW_MAP' => 'Map', + 'MAP_VIEW_SATELITE' => 'Satelite', + 'MAP_VIEW_TERRAIN' => 'Terrain', + 'MAP_ZOOM_LEVEL' => 'Zoom Level', + 'MEMBERS_DATE' => 'Date', + 'MENU_NO_ITEMS' => 'No active items to display', + 'MINI' => 'Mini', + + 'OR' => 'OR', + 'ORDER_BY' => 'Order by', + + 'POLL_FROM_FORUMS' => 'Display polls from forums(s)', + 'POLL_FROM_FORUMS_EXPLAIN' => 'Only polls from the selected forums will be displayed as long as no topics are specified above', + 'POLL_FROM_GROUPS' => 'Display polls from groups(s)', + 'POLL_FROM_GROUPS_EXPLAIN' => 'Only polls from members of the selected groups will be displayed as long as no user(s) is/are specified above', + 'POLL_FROM_TOPICS' => 'Display polls from topic(s)', + 'POLL_FROM_TOPICS_EXPLAIN' => 'Id(s) of topics to retrieve polls from, separated by commas(,). Leave blank to select any topic.', + 'POLL_FROM_USERS' => 'Display polls from user(s)', + 'POLL_FROM_USERS_EXPLAIN' => 'Id(s) of user(s) whose polls you’d like to display, separated by commas(,). Leave blank to select polls from any user.', + 'POSTS_TITLE_LIMIT' => 'Maximum # of characters for post title', + 'PREVIEW_MAX_CHARS' => 'Number of characters to preview', + + 'QUERY_TYPE' => 'Display Mode', + + 'ROTATE_DAILY' => 'Daily', + 'ROTATE_HOURLY' => 'Hourly', + 'ROTATE_MONTHLY' => 'Monthly', + 'ROTATE_PAGELOAD' => 'Page load', + 'ROTATE_WEEKLY' => 'Weekly', + + 'SAMPLES' => 'Samples', + 'SCRIPTS' => 'Scripts', + 'SELECT_FORUMS' => 'Select forums', + 'SELECT_FORUMS_EXPLAIN' => 'Select the forums from which to display topics/posts. Leave blank to select from all forums', + 'SELECT_MENU' => 'Select Menu', + 'SELECT_PROFILE_FIELDS' => 'Select profile fields', + 'SELECT_PROFILE_FIELDS_EXPLAIN' => 'Only the selected profile fields will be displayed, if available.', + 'SHOW_FIRST_POST' => 'First Post', + 'SHOW_HIDE_ME' => 'Allow hide online status?', + 'SHOW_LAST_POST' => 'Last Post', + 'SHOW_MEMBER_MENU' => 'Show user menu?', + 'SHOW_MEMBER_MENU_EXPLAIN' => 'Replace login box with user menu if user is logged in', + 'SHOW_WORD_COUNT' => 'Show word count?', + + 'TEMPLATE' => 'Template', + 'TOPIC_TITLE_LIMIT' => 'Maximum # of characters for topic title', + 'TOPIC_TYPE' => 'Topic Type', + 'TOPIC_TYPE_EXPLAIN' => 'Select the topic types you’d like to display. Leave the boxes unchecked to select from all topic types', + 'TOPICS_LOOK_BACK' => 'Look back', + 'TOPICS_ONLY' => 'Topics only?', + 'TOPICS_PER_PAGE' => 'Per page', + + 'WORD_MAX_SIZE' => 'Maximum font size', + 'WORD_MIN_SIZE' => 'Minimum font size', +)); diff --git a/language/sk/common.php b/language/sk/common.php new file mode 100644 index 000000000000..ba8fbbe28ce8 --- /dev/null +++ b/language/sk/common.php @@ -0,0 +1,97 @@ + 'All Time', + + 'BLOCK_TITLE' => 'Block Title', + + 'CHANGE_ME' => 'Change Me', + + 'DAILY_MEMBER' => 'Member of the day', + + 'FEATURED_MEMBER' => 'Featured Member', + 'FEATURED_MEMBERLIST' => 'Featured members list', + 'FEEDS' => 'Feeds', + 'FORUM_ANNOUNCEMENTS' => 'Forum Announcements', + 'FORUM_GLOBAL_ANNOUNCEMENTS' => 'Global Forum Announcements', + 'FORUM_RECENT_POSTS' => 'Recent Forum Posts', + 'FORUM_RECENT_TOPICS' => 'Recent Forum Topics', + 'FORUM_STICKY_POSTS' => 'Recent Sticky Posts', + + 'HELP' => 'Help', + 'HOURLY_MEMBER' => 'Member of the hour', + + 'GOOGLE_MAP' => 'Google Map', + + 'JOIN_DATE' => 'Join Date', + + 'LAST_POST_BY_AUTHOR' => 'Last post by', + 'LAST_VISITED' => 'Last Visited', + 'LINKS' => 'Links', + + 'MCP_SITEMAKER_CONTENT' => 'Contents', + 'MEMBERS_DATE' => 'Date', + 'MENU' => 'Menu', + 'MONTHLY_MEMBER' => 'Member of the month', + 'MOST_TENURED' => 'Most Tenured', + 'MY_BOOKMARKS' => 'My Bookmarks', + + 'NO_BOOKMARKED_TOPICS' => 'You have not bookmarked any topics', + 'NO_NEW_TOPICS' => 'There are no new topics to display', + + 'POLL' => 'Poll', + 'POPULAR_TOPICS' => 'Popular Topics', + 'POSTS_MEMBER' => 'Top Poster', + 'PROCESSING' => 'processing...', + + 'QTYPE_POSTS' => 'Congratulations to:', + 'QTYPE_RECENT' => 'Please welcome our newest member:', + + 'RECENT_BOTS' => 'Recent Search Engines', + 'RECENT_MEMBER' => 'Recent Member', + 'RECENT_MEMBERS' => 'Recent Members', + + 'SESSION_HIDE_ME' => 'Hide Me', + 'SM_NAVIGATION' => 'Navigation', + 'SM_TOGGLE_DROPDOWN' => 'Toggle dropdown', + 'STYLE_SWITCHER' => 'Style Switcher', + + 'THIS_MONTH' => 'This Month', + 'THIS_WEEK' => 'This Week', + 'THIS_YEAR' => 'This Year', + 'TODAY' => 'Today', + 'TOPICS_LAST_READ' => 'Last Read Topics', + 'TOPIC_LAST_READ' => 'Last read %s', + 'TOP_POSTERS' => 'Top Posters', + + 'UCP_SITEMAKER_CONTENT' => 'My Stuff', + + 'VIEW_DETAILS' => 'View Details', + 'VIEW_USER_PROFILE' => 'All about %s', + + 'WEEKLY_MEMBER' => 'Member of the week', + 'WELCOME' => 'Welcome', + 'WHATS_NEW' => 'What’s New?', + 'WORDGRAPH' => 'Wordgraph', +)); diff --git a/language/sk/css_presets.php b/language/sk/css_presets.php new file mode 100644 index 000000000000..31b5df933209 --- /dev/null +++ b/language/sk/css_presets.php @@ -0,0 +1,107 @@ + 'Arrow list marker', + 'LIST_CIRCLE' => 'Circle list marker', + 'LIST_DISC' => 'Bullet list marker', + 'LIST_SQUARE' => 'Square list marker', + 'LIST_NUMBERED' => 'Numbered list', + 'LIST_NUMBERED_ALPHABET' => 'Numbered with alphabet', + 'LIST_NUMBERED_NESTED' => 'Numbered with subsections', + 'LIST_NUMBERED_ROMAN' => 'Numbered with Roman numerals', + 'LIST_NUMBERED_ZERO' => 'Numbered with leading zero', + 'LIST_INLINE' => 'Inline list', + 'LIST_INLINE_SEP' => 'Comma-separated list', + 'LIST_REVERSE' => 'Reverse order', + 'LIST_STRIPED' => 'Striped list', + 'LIST_STACKED' => 'Stacked list', + 'LIST_TRIANGLE' => 'Triangle', + 'LIST_HYPHEN' => 'Hyphen', + 'LIST_PLUS' => 'Plus', + 'LIST_SPADE' => 'Spade', + 'LIST_CLUB' => 'Club', + 'LIST_DIAMOND' => 'Diamond', + 'LIST_HEART' => 'Heart', + 'LIST_STAR' => 'Star', + 'LIST_CHECK' => 'Check', + 'LIST_SNOWFLAKE' => 'Snowflake', + 'LIST_MUSIC' => 'Music', + 'LIST_AUTOWIDTH' => 'Auto width', + 'LIST_FIT_CONTENT' => 'Fit content', + 'LIST_2COLS' => '2 column list', + 'LIST_3COLS' => '3 columns list', + 'LIST_4COLS' => '4 columns list', + 'LIST_5COLS' => '5 columns list', + 'LIST_X_DIVIDER_DOTTED' => 'Horizontal dotted divider', + 'LIST_X_DIVIDER_LINE' => 'Horizontal line divider', + 'LIST_Y_DIVIDER_DOTTED' => 'Vertical dotted divider', + 'LIST_Y_DIVIDER_LINE' => 'Vertical line divider', + + 'IMAGE_SMALL' => 'Small image', + 'IMAGE_MEDIUM' => 'Medium image', + 'IMAGE_LARGE' => 'Large image', + 'IMAGE_FULL_WIDTH' => 'Full width image', + 'IMAGE_ALIGN_LEFT' => 'Float image left', + 'IMAGE_ALIGN_RIGHT' => 'Float image right', + 'IMAGE_CIRCLE' => 'Circular image', + 'IMAGE_ROUNDED' => 'Rounded image', + 'IMAGE_BORDER' => 'Bordered image', + 'IMAGE_BORDER_PADDING' => 'Image border padding', + 'IMAGE_RATIO_SQUARE' => 'Square Image', + 'IMAGE_RATIO_4_BY_3' => '4 by 3 image', + 'IMAGE_RATIO_16_BY_9' => '16 by 9 image', + + 'RESPONSIVE_SHOW' => 'Show only on small devices', + 'RESPONSIVE_HIDE' => 'Hide on small devices', + + 'ALIGN_LEFT' => 'Left-aligned text', + 'ALIGN_CENTER' => 'Centered text', + 'ALIGN_RIGHT' => 'Right-aligned text', + 'NO_PADDING' => 'No padding', + 'LABEL' => 'Label', + 'BADGE' => 'Badge', + 'PRIMARY_COLOR' => 'Primary color', + 'SECONDARY_COLOR' => 'Secondary color', + 'GRAYSCALE_COLOR' => 'Grayscale', + 'INFO_COLOR' => 'Info', + 'SUCCESS_COLOR' => 'Success', + 'WARNING_COLOR' => 'Warning', + 'DANGER_COLOR' => 'Danger', +)); diff --git a/language/sk/exceptions.php b/language/sk/exceptions.php new file mode 100644 index 000000000000..6a3da47f86f6 --- /dev/null +++ b/language/sk/exceptions.php @@ -0,0 +1,49 @@ + 'Required field missing', + 'EXCEPTION_INVALID_ACTION' => 'The action does not exist', + 'EXCEPTION_INVALID_ARGUMENT' => 'Invalid argument specified for `%1$s`. Reason: %2$s', + 'EXCEPTION_INVALID_DATA_TYPE' => 'The provided value is of an unexpected data type', + 'EXCEPTION_INVALID_ENTITY' => 'The provided entity is of an unexpected entity class', + 'EXCEPTION_INVALID_PROPERTY' => 'The requested property does not exist', + 'EXCEPTION_OUT_OF_BOUNDS' => 'The requested `%1$s` does not exist', + 'EXCEPTION_SERVICE_NOT_FOUND' => 'The requested service was not found', + 'EXCEPTION_UNEXPECTED_VALUE' => 'The requested action `%1$s` could not be performed. Reason: %2$s', +)); diff --git a/language/sk/ext.php b/language/sk/ext.php new file mode 100644 index 000000000000..c3fe9daa0021 --- /dev/null +++ b/language/sk/ext.php @@ -0,0 +1,42 @@ + 'The phpBB Image directory is not writable. Please change the permissions to writable by all (777 or -rwxrwxrwx within your FTP Client)', + 'PHPBB_VERSION_UNMET' => 'This extension requires at least phpBB %s', +)); diff --git a/language/sk/feed_fields.php b/language/sk/feed_fields.php new file mode 100644 index 000000000000..87f21fdfef60 --- /dev/null +++ b/language/sk/feed_fields.php @@ -0,0 +1,108 @@ + 'author', + 'AUTHORS' => 'authors (array)', + 'BITRATE' => 'bitrate', + 'CAPTIONS' => 'captions', + 'CATEGORIES' => 'categories (array)', + 'CATEGORY' => 'category', + 'CHANNELS' => 'channels', + 'CONTENT' => 'content', + 'CONTRIBUTOR' => 'contributor', + 'CONTRIBUTORS' => 'contributors (array)', + 'COPYRIGHT' => 'copyright', + 'CREDITS' => 'credits', + 'DATE' => 'date', + 'DESCRIPTION' => 'description', + 'DURATION' => 'duration', + 'ENCLOSURE' => 'enclosure', + 'ENCLOSURES' => 'enclosures (array)', + 'EXPRESSION' => 'expression', + 'FEED' => 'feed', + 'FRAMERATE' => 'framerate', + 'GMDATE' => 'GM date', + 'HANDLER' => 'handler', + 'HASHES' => 'hashes', + 'HEIGHT' => 'height', + 'ID' => 'id', + 'IMAGE_HEIGHT' => 'image height', + 'IMAGE_LINK' => 'image link', + 'IMAGE_TITLE' => 'image title', + 'IMAGE_URL' => 'image url', + 'IMAGE_WIDTH' => 'image width', + 'ITEMS' => 'items', + 'JAVASCRIPT' => 'javascript', + 'KEYWORDS' => 'keywords', + 'LABEL' => 'label', + 'LANG' => 'lang', + 'LATITUDE' => 'latitude', + 'LENGTH' => 'length', + 'LINK' => 'link', + 'LINKS' => 'links', + 'LONGITUDE' => 'longitude', + 'MEDIUM' => 'medium', + 'NAME' => 'name', + 'PERMALINK' => 'permalink', + 'PLAYER' => 'player', + 'RATINGS' => 'ratings', + 'RELATIONSHIP' => 'relationship', + 'RESTRICTIONS' => 'restrictions (array)', + 'SAMPLINGRATE' => 'sampling rate', + 'SCHEME' => 'scheme', + 'SOURCE' => 'source', + 'TERM' => 'term', + 'THUMBNAILS' => 'thumbnails', + 'TITLE' => 'title', + 'TYPE' => 'type', + 'UPDATED_DATE' => 'updated date', + 'UPDATED_GMDATE' => 'updated GM date', + 'VALUE' => 'value', + 'WIDTH' => 'width', +)); diff --git a/language/sk/icons.php b/language/sk/icons.php new file mode 100644 index 000000000000..1c6f04ce18b0 --- /dev/null +++ b/language/sk/icons.php @@ -0,0 +1,71 @@ + 'Accessibility', + 'ICON_ARROWS' => 'Arrows', + 'ICON_BRAND' => 'Brand', + 'ICON_CHART' => 'Chart', + 'ICON_CURRENCY' => 'Currency', + 'ICON_DIRECTIONAL' => 'Directional', + 'ICON_FILE_TYPE' => 'File Type', + 'ICON_FORM_CONTROL' => 'Form Control', + 'ICON_GENDER' => 'Gender', + 'ICON_HAND' => 'Hand', + 'ICON_MEDICAL' => 'Medical', + 'ICON_PAYMENT' => 'Payment', + 'ICON_SPINNER' => 'Spinner', + 'ICON_TEXT_EDITOR' => 'Text Editor', + 'ICON_TRANSPORTATION' => 'Transportation', + 'ICON_VIDEO_PLAYER' => 'Video Player', + 'ICON_WEB_APPLICATION' => 'Web Application', + + 'ICON_COLOR' => 'Color', + 'ICON_DEFAULT' => 'Default', + 'ICON_FLIP_BOTH' => 'Flip Both', + 'ICON_FLIP_HORIZONTAL' => 'Flip Horizontal', + 'ICON_FLIP_VERTICAL' => 'Flip Vertical', + 'ICON_FLOAT' => 'Float', + 'ICON_FLOAT_LEFT' => 'Left', + 'ICON_FLOAT_RIGHT' => 'Right', + 'ICON_FONT' => 'Font Icons', + 'ICON_INSERT_UPDATE' => 'Insert/Update', + 'ICON_MISC' => 'Misc', + 'ICON_MISC_BORDERED' => 'Bordered', + 'ICON_MISC_FIXED_WIDTH' => 'Fixed Width', + 'ICON_MISC_PULSE' => 'Pulse', + 'ICON_MISC_SPINNING' => 'Spinning', + 'ICON_ROTATION' => 'Rotation', + 'ICON_ROTATE_90' => '90°', + 'ICON_ROTATE_180' => '180°', + 'ICON_ROTATE_270' => '270°', + 'ICON_SIZE' => 'Size', + 'ICON_SIZE_LG' => 'Larger', + 'ICON_SIZE_SM' => 'Small', + 'ICON_SIZE_2X' => '2x', + 'ICON_SIZE_3X' => '3x', + 'ICON_SIZE_4X' => '4x', + 'ICON_SIZE_5X' => '5x', + + 'NO_ICON' => 'No Icon', +)); diff --git a/language/sk/info_acp_menus.php b/language/sk/info_acp_menus.php new file mode 100644 index 000000000000..a06f50a4c63b --- /dev/null +++ b/language/sk/info_acp_menus.php @@ -0,0 +1,92 @@ + 'Menu', + 'ACP_MENU_MANAGE' => 'Menu Management', + 'ACP_MENU_MANAGE_EXPLAIN' => 'Here you can create and manage menus for your site', + 'ADD_BULK_MENU' => 'Bulk Add Menu Items', + 'ADD_BULK_MENU_EXPLAIN' => 'Add multiple menu items at once.
- Place each item on a separate line
- Use the Tab key to indent items to represent parent-child relationships
- Enter item and URL like so: Home|index.php', + 'ADD_MENU' => 'Add Menu', + 'ADD_MENU_ITEM' => 'Add Menu Item', + 'ADD_ITEM' => 'Add New Item', + 'AJAX_PROCESSING' => 'Working', + + 'CHANGE_ME' => 'Change Me', + + 'DELETE_ITEM' => 'Delete Item', + 'DELETE_KIDS' => 'Delete Branch', + 'DELETE_MENU' => 'Delete Menu', + 'DELETE_MENU_CONFIRM' => 'Are you sure you want to delete this menu?
This will delete the menu and all its items', + 'DELETE_MENU_ITEM' => 'Delete Item', + 'DELETE_MENU_ITEM_CONFIRM' => 'Are you sure you want to delete this menu item?', + 'DELETE_SELECTED' => 'Delete Selected', + + 'EDIT_ITEM' => 'Edit Item', + + 'ITEM_ACTIVE' => 'Active', + 'ITEM_INACTIVE' => 'Inactive', + 'ITEM_PARENT' => 'Parent', + 'ITEM_TITLE' => 'Item Title', + 'ITEM_TITLE_EXPLAIN' => 'Set as ’-’ for divider', + 'ITEM_TARGET' => 'Item Target', + 'ITEM_URL' => 'Item URL', + 'ITEM_URL_EXPLAIN' => '- Leave empty for headings
- External sites must begin with http(s)://, ftp://, //, etc', + + 'MENU_ITEMS' => 'Menu Items', + + 'NO_MENU_ITEMS' => 'No menu items have been created', + 'NO_PARENT' => 'No Parent', + + 'PROCESSING_ERROR' => 'Processing error', + + 'REBUILD_TREE' => 'Rebuild Tree', + 'REQUIRED' => 'Required', + 'REQUIRED_FIELDS' => '* Required fields', + + 'SAVE_CHANGES' => 'Save Changes', + 'SAVE' => 'Save', + 'SELECT_ALL' => 'Select All', + + 'TARGET_BLANK' => 'Blank Page', + 'TARGET_PARENT' => 'Parent', + + 'UNSAVED_CHANGES' => 'You have unsaved changes', + + 'VISIT_PAGE' => 'Visit Page', +)); diff --git a/language/sk/info_acp_settings.php b/language/sk/info_acp_settings.php new file mode 100644 index 000000000000..5e704a037343 --- /dev/null +++ b/language/sk/info_acp_settings.php @@ -0,0 +1,74 @@ + 'SiteMaker', + 'ACP_SM_SETTINGS' => 'Settings', + + 'BLOCKS_CLEANUP' => 'Blocks Cleanup', + 'BLOCKS_CLEANUP_EXPLAIN' => 'The following items were found to no longer exist or unreachable, and you can therefore delete all blocks associated to them. Please keep in mind that some of these may be false positives', + 'BLOCKS_CLEANUP_BLOCKS' => 'Invalid Blocks (e.g. from uninstalled extensions):', + 'BLOCKS_CLEANUP_ROUTES' => 'Unreachable/broken Pages:', + 'BLOCKS_CLEANUP_STYLES' => 'Uninstalled Styles (ids):', + 'BLOCKS_CLEANUP_SUCCESS' => 'Blocks purged sucessfully', + + 'FORUM_INDEX_SETTINGS' => 'Forum Index Settings', + 'FORUM_INDEX_SETTINGS_EXPLAIN' => 'These settings only apply when there is no startpage defined', + + 'HIDE' => 'Hide', + 'HIDE_BIRTHDAY' => 'Hide Birthday section', + 'HIDE_LOGIN' => 'Hide login box', + 'HIDE_ONLINE' => 'Hide Whos online section', + + 'LAYOUT_BLOG' => 'Blog', + 'LAYOUT_CUSTOM' => 'Custom', + 'LAYOUT_HOLYGRAIL' => 'Holy Grail', + 'LAYOUT_PORTAL' => 'Portal', + 'LAYOUT_PORTAL_ALT' => 'Portal (alt)', + 'LAYOUT_SETTINGS' => 'Layout Settings', + + 'LOG_DELETED_BLOCKS_FOR_STYLE' => 'Sitemaker blocks deleted for missing style with id %s', + 'LOG_DELETED_BLOCKS_FOR_ROUTE' => 'Sitemaker blocks deleted for broken pages:
%s', + 'LOG_DELETED_BLOCKS' => 'Invalid Sitemaker blocks deleted:
%s', + + 'NAVIGATION_SETTINGS' => 'Navigation Settings', + + 'SETTINGS_SAVED' => 'Your settings have been saved', + 'SHOW' => 'Show', + 'SHOW_FORUM_NAV' => 'Show ’Forum’ in navigation bar?', + 'SHOW_FORUM_NAV_EXPLAIN' => 'When a page is set as startpage instead of the forum index, should we display ’Forum’ in navigation bar', + 'SHOW_FORUM_NAV_WITH_ICON' => 'Yes - with icon:', +]); diff --git a/language/sk/navbar_manager.php b/language/sk/navbar_manager.php new file mode 100644 index 000000000000..89f54431871f --- /dev/null +++ b/language/sk/navbar_manager.php @@ -0,0 +1,79 @@ + 'Active Element', + 'BORDER' => 'Border', + 'BORDER_COLOR' => 'Border Color', + 'BORDER_RADIUS' => 'Border Radius', + 'BORDER_WIDTH' => 'Border Width', + 'BOTTOM' => 'Bottom', + 'BOTTOM_LEFT' => 'Bottom Left', + 'BOTTOM_RIGHT' => 'Bottom Right', + 'CAPITALIZE' => 'Capitalize', + 'COLOR' => 'Color', + 'DIVIDERS' => 'Dividers', + 'END' => 'End', + 'GRADIENT' => 'Gradient', + 'HEADERS' => 'Headers', + 'HOVER' => 'Hover', + 'LEFT' => 'Left', + 'LOWERCASE' => 'Lowercase', + 'MARGIN' => 'Margin', + 'NAVBAR' => 'Navbar', + 'NAVBAR_MENU' => 'Navbar menu', + 'NAVBAR_DROPDOWN' => 'Dropdown', + 'NAVBAR_LOCATION' => 'Location', + 'NAVBAR_LOCATION_OPTION' => 'Location #%s', + 'NAVBAR_TOP_MENU' => 'Top Menu', + 'NONE' => 'None', + 'PADDING' => 'Padding', + 'RESPONSIVE_TOGGLE' => 'Responsive Toggle', + 'RESPONSIVE_TOGGLE_EXPLAIN' => 'Only viewable on small (mobile) screens', + 'RIGHT' => 'Right', + 'SAVE' => 'Save', + 'SIZE' => 'Size', + 'START' => 'Start', + 'TEXT' => 'Text', + 'TOP' => 'Top', + 'TOP_LEFT' => 'Top Left', + 'TOP_RIGHT' => 'Top Right', + 'TRANSFORM' => 'Transform', + 'UPPERCASE' => 'Uppercase', +)); diff --git a/language/sk/permissions_sitemaker.php b/language/sk/permissions_sitemaker.php new file mode 100644 index 000000000000..72648a473804 --- /dev/null +++ b/language/sk/permissions_sitemaker.php @@ -0,0 +1,45 @@ + '[ SiteMaker ] Can manage settings', + 'ACL_A_SM_MANAGE_BLOCKS' => '[ SiteMaker ] Can manage blocks', + 'ACL_A_SM_MANAGE_MENUS' => '[ SiteMaker ] Can manage menus', +)); diff --git a/language/sv/block_manager.php b/language/sv/block_manager.php new file mode 100644 index 000000000000..3c3fa5347927 --- /dev/null +++ b/language/sv/block_manager.php @@ -0,0 +1,123 @@ + '*Dra och släpp block', + 'AJAX_ERROR' => 'Hoppsan! Det gick inte att behandla din begäran. Försök igen.', + 'AJAX_LOADING' => 'Laddar...', + 'AJAX_PROCESSING' => 'Arbetar...', + + 'BACKGROUND' => 'Bakgrund', + 'BLOCKS' => 'Block', + 'BLOCKS_COPY_FROM' => 'Kopiera block', + 'BLOCK_ACTIVE' => 'Aktiv', + 'BLOCK_CHILD_ROUTES_ONLY' => 'Visa endast på underordnade rutter', + 'BLOCK_CHILD_ROUTES_HIDE' => 'Dölj på underordnade rutter', + 'BLOCK_CLASS' => 'CSS klass', + 'BLOCK_CLASS_EXPLAIN' => 'Ändra blockets utseende med CSS-klasser', + 'BLOCK_DESIGN' => 'Utseende', + 'BLOCK_DISPLAY_TYPE' => 'Visa', + 'BLOCK_HIDE_TITLE' => 'Dölj blocktitel?', + 'BLOCK_INACTIVE' => 'Inaktiv', + 'BLOCK_MISSING_TEMPLATE' => 'Saknar obligatorisk blockmall. Kontakta utvecklaren', + 'BLOCK_NOT_FOUND' => 'Hoppsan! Den begärda blocktjänsten kunde inte hittas', + 'BLOCK_NO_DATA' => 'Ingen data att visa', + 'BLOCK_NO_ID' => 'Hoppsan! Block-id saknas', + 'BLOCK_PERMISSION' => 'Behörighet', + 'BLOCK_PERMISSION_ALLOW' => 'Visa för', + 'BLOCK_PERMISSION_DENY' => 'Dölj från', + 'BLOCK_PERMISSION_EXPLAIN' => 'Använd CTRL + klicka för att växla markering', + 'BLOCK_SHOW_ALWAYS' => 'Alltid', + 'BLOCK_STATUS' => 'Status', + 'BLOCK_UPDATED' => 'Blockinställningar har uppdaterats', + + 'CANCEL' => 'Avbryt', + 'CHILD_ROUTE' => 'Barn', + 'CHILD_ROUTE_EXPLAIN' => '/viewforum.php, /dir/index.php
/viewtopic.php?f=2&t=1
/articles/my-article', + 'CLEAR' => 'Rensa', + 'COPY' => 'Kopiera', + 'COPY_BLOCKS' => 'Kopiera block?', + 'COPY_BLOCKS_CONFIRM' => 'Är du säker på att du vill kopiera block från en annan sida?

Detta kommer att ta bort alla befintliga block och deras inställningar för denna sida och ersätta dem med blocken från den valda sidan.', + + 'DEFAULT_LAYOUT_EXPLAIN' => 'Om angiven kommer alla webbplatssidor som du inte har angett att ärva blocken från standardlayouten. Du kan dock åsidosätta standardlayouten för vissa sidor med hjälp av alternativen till höger.', + 'DELETE' => 'Radera', + 'DELETE_ALL_BLOCKS' => 'Ta bort alla block', + 'DELETE_ALL_BLOCKS_CONFIRM' => 'Är du säker på att du vill ta bort alla block för den här sidan?', + 'DELETE_BLOCK' => 'Ta bort block', + 'DELETE_BLOCK_CONFIRM' => 'Är du säker på att du vill ta bort detta block?


Obs: Du måste spara layoutändringarna för att göra detta permanent.', + + 'EDIT' => 'Redigera', + 'EDIT_BLOCK' => 'Redigera block', + 'EXIT_EDIT_MODE' => 'Avsluta redigeringsläge', + + 'FEED_PROBLEMS' => 'Det gick inte att bearbeta den angivna rss/atom feed(en)', + 'FEED_URL_MISSING' => 'Ange minst ett rss/atom flöde för att börja', + 'FIELD_INVALID' => 'Det angivna värdet för fältet ”%s” har ett ogiltigt format', + 'FIELD_REQUIRED' => '“%s” är ett obligatoriskt fält', + 'FIELD_TOO_LONG' => 'Det angivna värdet för fältet ”%1$s” är för långt. Det maximala godtagbara värdet är %2$d.', + 'FIELD_TOO_SHORT' => 'Det angivna värdet för fältet ”%1$s” är för kort. Det minsta acceptabla värdet är %2$d.', + + 'HIDE_ALL_BLOCKS' => 'Visa inte block på denna sida', + 'HIDE_BLOCK_POSITIONS' => 'Visa inte block för följande blockpositioner:', + + 'IMAGES' => 'Bilder', + + 'LAYOUT' => 'Layout', + 'LAYOUT_SAVED' => 'Layout sparad!', + 'LAYOUT_SETTINGS' => 'Inställningar för layout', + 'LEAVE_CONFIRM' => 'Du har några osparade ändringar på denna sida. Spara ditt arbete innan du går vidare', + 'LISTS' => 'Listor', + + 'MAKE_DEFAULT_LAYOUT' => 'Ange som standardlayout', + + 'OR' => 'ELLER', + + 'PARENT_ROUTE' => 'Överordnad', + 'PARENT_ROUTE_EXPLAIN' => '/index.php
/viewforum.php?f=2
/articles', + 'PREDEFINED_CLASSES' => 'Fördefinierade klasser', + + 'REDO' => 'Gör om', + 'REMOVE_DEFAULT_LAYOUT' => 'Ta bort som standardlayout', + 'REMOVE_STARTPAGE' => 'Ta bort startsida', + 'ROUTE_HIDDEN_BLOCKS' => 'Blocken döljs för denna sida', + 'ROUTE_HIDDEN_POSITIONS' => 'Blocken döljs för följande positioner', + 'ROUTE_UPDATED' => 'Sidinställningarna har uppdaterats', + + 'SAVE_CHANGES' => 'Spara ändringar', + 'SAVE_SETTINGS' => 'Spara inställningar', + 'SELECT_ICON' => 'Välj en ikon', + 'SETTINGS' => 'Inställningar', + 'SETTING_TOO_BIG' => 'Det angivna värdet för inställningen ”%1$s” är för högt. Det maximala godtagbara värdet är %2$d.', + 'SETTING_TOO_LONG' => 'Det angivna värdet för inställningen ”%1$s” är för lång. Maximal acceptabel längd är %2$d.', + 'SETTING_TOO_LOW' => 'Det angivna värdet för inställningen ”%1$s” är för lågt. Det minsta acceptabla värdet är %2$d.', + 'SETTING_TOO_SHORT' => 'Det angivna värdet för inställningen ”%1$s” är för kort. Minsta tillåtna längd är %2$d.', + 'SET_STARTPAGE' => 'Ställ in som startsida', + + 'TITLES' => 'Titlar', + + 'UPDATE_SIMILAR' => 'Uppdatera block med liknande inställningar', + 'UNDO' => 'Ångra', + + 'VIEW_DEFAULT_LAYOUT' => 'Visa/Ändra standardlayout', + 'VISIT_PAGE' => 'Besök sida', +)); diff --git a/language/sv/blocks_admin.php b/language/sv/blocks_admin.php new file mode 100644 index 000000000000..c0d08b7cdc2e --- /dev/null +++ b/language/sv/blocks_admin.php @@ -0,0 +1,189 @@ + 'Alla typer', + 'ALL_GROUPS' => 'Alla grupper', + 'ARCHIVES' => 'Arkiv', + 'AUTO_LOGIN' => 'Tillåt automatisk inloggning?', + 'FILE_MANAGER' => 'Filhanterare', + 'TOPIC_POST_IDS' => 'Från ämnen/inlägg Id', + 'TOPIC_POST_IDS_EXPLAIN' => 'Id(er) av ämnen/inlägg för att hämta bilagor från, separerade med kommatecken(,). Ange om denna lista är för ämne eller inlägg ID ovan.', + 'TOPIC_POST_IDS_TYPE' => 'Typ av ID (nedan)', + + // Blocks + 'BLITZE_SITEMAKER_BLOCK_ATTACHMENTS' => 'Bilagor', + 'BLITZE_SITEMAKER_BLOCK_BIRTHDAY' => 'Födelsedag', + 'BLITZE_SITEMAKER_BLOCK_CUSTOM' => 'Anpassat block', + 'BLITZE_SITEMAKER_BLOCK_FEATURED_MEMBER' => 'Utvald medlem', + 'BLITZE_SITEMAKER_BLOCK_FEEDS' => 'RSS-/Atom Flöden', + 'BLITZE_SITEMAKER_BLOCK_FORUM_POLL' => 'Forumundersökning', + 'BLITZE_SITEMAKER_BLOCK_FORUM_TOPICS' => 'Forumets ämnen', + 'BLITZE_SITEMAKER_BLOCK_GOOGLE_MAPS' => 'Google Maps', + 'BLITZE_SITEMAKER_BLOCK_POPULAR_TOPICS' => 'Populära ämnen', + 'BLITZE_SITEMAKER_BLOCK_LINKS' => 'Länkar', + 'BLITZE_SITEMAKER_BLOCK_LOGIN' => 'Inloggningsbox', + 'BLITZE_SITEMAKER_BLOCK_MEMBERS' => 'Medlemmar', + 'BLITZE_SITEMAKER_BLOCK_MEMBER_MENU' => 'Medlemmens meny', + 'BLITZE_SITEMAKER_BLOCK_MENU' => 'Meny', + 'BLITZE_SITEMAKER_BLOCK_MYBOOKMARKS' => 'Mina bokmärken', + 'BLITZE_SITEMAKER_BLOCK_RECENT_TOPICS' => 'Senaste trådar', + 'BLITZE_SITEMAKER_BLOCK_STATS' => 'Statistik', + 'BLITZE_SITEMAKER_BLOCK_STYLE_SWITCHER' => 'Stil växlare', + 'BLITZE_SITEMAKER_BLOCK_WHATS_NEW' => 'Vad är nytt?', + 'BLITZE_SITEMAKER_BLOCK_WHOIS' => 'Vem är online', + 'BLITZE_SITEMAKER_BLOCK_WORDGRAPH' => 'Wordgraph', + + // block views + 'BLOCK_VIEW' => 'Blockera vy', + 'BLOCK_VIEW_BASIC' => 'Grundläggande', + 'BLOCK_VIEW_BOXED' => 'Boxad', + 'BLOCK_VIEW_DEFAULT' => 'Standard', + 'BLOCK_VIEW_SIMPLE' => 'Enkel', + + 'CACHE_DURATION' => 'Cachens varaktighet', + 'CONTEXT' => 'Kontext', + 'CSS_SCRIPTS' => 'CSS Scripts', + 'CUSTOM_PROFILE_FIELDS' => 'Anpassade profilfält', + + 'DATE_RANGE' => 'Date Range', + 'DISPLAY_PREVIEW' => 'Visa förhandsgranskning?', + + 'EDIT_ME' => 'Redigera mig', + 'ENABLE_TOPIC_TRACKING' => 'Aktivera trådspårning?', + 'ENABLE_TOPIC_TRACKING_EXPLAIN' => 'Om aktiverad, kommer olästa ämnen att visas men blockresultaten kommer inte att cachelagras (rekommenderas inte)', + 'EXCLUDE_TOO_MANY_WORDS' => 'Du har angett för många ord för att utesluta. Maximalt antal tecken är 255, du har angett %s.', + 'EXCLUDE_WORDS' => 'Exkludera ord', + 'EXCLUDE_WORDS_EXPLAIN' => 'Lista de ord du vill exkludera från orddiagrammet separerat med ett kommatecken (,). Maximalt 255 tecken.', + 'EXPANDED' => 'Utökat', + 'EXTENSION_GROUP' => 'Tilläggsgrupp', + + 'FEATURED_MEMBER_IDS' => 'Användar-ID', + 'FEATURED_MEMBER_IDS_EXPLAIN' => 'Kommaseparerad lista över användare att funktionen (gäller endast för Visningsläge för Utvalda medlemmar)', + 'FEED_DATA_PREVIEW' => 'Flöde Data', + 'FEED_ITEM_TEMPLATE' => 'Mall för objekt', + 'FEED_ITEM_TEMPLATE_EXPLAIN' => 'TIPS:
+
    +
  • Åtkomstflödesdata i objekt variabel e. . objekt. itle
  • +
  • Mall måste vara i Twig syntax
  • +
  • Klicka på Exempel ovan för exempelmallar
  • +
  • Använd get_item_tags($namespace, $tag) för att få någon tagg från det flöde som vi inte tillhandahåller. .
    {{ get_item_tags(\'\', \'image\') }}
  • +
  • Använd Twigs json_encode filter för att se innehållet i array e. . {{ get_item_tags(\'\', \'image\') json_encode() }}
  • +
', + 'FEED_PREVIEW_SOURCE' => 'Källa', + 'FEED_URL_PLACEHOLDER' => 'http://example.com/rss', + 'FEED_URLS' => 'Webbadresser för flöde', + 'FIRST_POST_ONLY' => 'Endast första inlägget', + 'FIRST_POST_TIME' => 'Första inlägget tid', + 'FORUMS_GET_TYPE' => 'Hämta typ', + 'FORUMS_MAX_TOPICS' => 'Maximalt antal trådar/inlägg', + 'FORUMS_TITLE_MAX_CHARS' => 'Maximalt antal tecken per titel', + 'FREQUENCY' => 'Frekvens', + 'FULL' => 'Fullt', + 'FULLSCREEN' => 'Helskärm', + + 'GET_TYPE' => 'Visa ämne/inlägg?', + + 'HTML' => 'HTML', + 'HTML_EXPLAIN' => 'Använd detta textområde för att ange rå HTML-innehåll.
Observera att allt innehåll som läggs upp här kommer att åsidosätta det anpassade blockinnehållet och den visuella blockredigeraren kommer inte att vara tillgänglig.', + 'HOURS_SHORT' => 'timmar', + + 'JS_SCRIPTS' => 'JS skript', + + 'LAST_POST_TIME' => 'Senaste inlägget', + 'LAST_READ_TIME' => 'Senast läst', + 'LIMIT' => 'Gräns', + 'LIMIT_FORUMS' => 'Forum-ID (valfritt)', + 'LIMIT_FORUMS_EXPLAIN' => 'Ange varje forum-id separerat med ett kommatecken (,). Om inställd, kommer endast trådar från angivna forum att visas.', + 'LIMIT_POST_TIME' => 'Begränsa med inläggstid', + 'LIMIT_POST_TIME_EXPLAIN' => 'Om angivet, kommer endast ämnen som postats inom den angivna perioden att hämtas', + + 'MAX_DEPTH' => 'Maximalt djup', + 'MAX_ITEMS' => 'Maximalt antal artiklar', + 'MAX_MEMBERS' => 'Max. medlemmar', + 'MAX_POSTS' => 'Maximalt antal inlägg', + 'MAX_TOPICS' => 'Maximalt antal ämnen', + 'MAX_WORDS' => 'Maximalt antal ord', + 'MANAGE_MENUS' => 'Hantera menyer', + 'MAP_COORDINATES' => 'Koordinater', + 'MAP_COORDINATES_EXPLAIN' => 'Ange koordinater i formuläret breddgrad, longitud', + 'MAP_HEIGHT' => 'Höjd', + 'MAP_LOCATION' => 'Plats', + 'MAP_TITLE' => 'Titel', + 'MAP_VIEW' => 'Visa', + 'MAP_VIEW_HYBRID' => 'Hybridning', + 'MAP_VIEW_MAP' => 'Karta', + 'MAP_VIEW_SATELITE' => 'Satelit', + 'MAP_VIEW_TERRAIN' => 'Terrain', + 'MAP_ZOOM_LEVEL' => 'Zooma nivå', + 'MEMBERS_DATE' => 'Datum', + 'MENU_NO_ITEMS' => 'Inga aktiva objekt att visa', + 'MINI' => 'Mini', + + 'OR' => 'ELLER', + 'ORDER_BY' => 'Sortera efter', + + 'POLL_FROM_FORUMS' => 'Visa omröstningar från forum(er)', + 'POLL_FROM_FORUMS_EXPLAIN' => 'Endast omröstningar från de valda forumen kommer att visas så länge inga trådar anges ovan', + 'POLL_FROM_GROUPS' => 'Visa omröstningar från grupper', + 'POLL_FROM_GROUPS_EXPLAIN' => 'Endast omröstningar från medlemmar i de valda grupperna kommer att visas så länge inga användare är/är specificerade ovan', + 'POLL_FROM_TOPICS' => 'Visa omröstningar från ämnen(n)', + 'POLL_FROM_TOPICS_EXPLAIN' => 'Id(er) av ämnen att hämta enkäter från, separerade med kommatecken(,). Lämna tomt för att välja något ämne.', + 'POLL_FROM_USERS' => 'Visa omröstningar från användare', + 'POLL_FROM_USERS_EXPLAIN' => 'Id (er) för användare vars omröstningar du vill visa, separerade med kommatecken(,). Lämna tomt för att välja omröstningar från alla användare.', + 'POSTS_TITLE_LIMIT' => 'Maximalt antal tecken för postrubrik', + 'PREVIEW_MAX_CHARS' => 'Antal tecken att förhandsgranska', + + 'QUERY_TYPE' => 'Visa läge', + + 'ROTATE_DAILY' => 'Dagligen', + 'ROTATE_HOURLY' => 'Timvis', + 'ROTATE_MONTHLY' => 'Månadsvis', + 'ROTATE_PAGELOAD' => 'Ladda sidan', + 'ROTATE_WEEKLY' => 'Veckovis', + + 'SAMPLES' => 'Prov', + 'SCRIPTS' => 'Skript', + 'SELECT_FORUMS' => 'Välj forum', + 'SELECT_FORUMS_EXPLAIN' => 'Välj från vilka forum du vill visa ämnen/inlägg. Lämna tomt för att välja från alla forum', + 'SELECT_MENU' => 'Välj meny', + 'SELECT_PROFILE_FIELDS' => 'Välj profilfält', + 'SELECT_PROFILE_FIELDS_EXPLAIN' => 'Endast de markerade profilfälten kommer att visas, om tillgängligt.', + 'SHOW_FIRST_POST' => 'Första inlägget', + 'SHOW_HIDE_ME' => 'Tillåt gömma status online?', + 'SHOW_LAST_POST' => 'Senaste inlägg', + 'SHOW_MEMBER_MENU' => 'Visa användarmenyn?', + 'SHOW_MEMBER_MENU_EXPLAIN' => 'Ersätt inloggningsrutan med användarmenyn om användaren är inloggad', + 'SHOW_WORD_COUNT' => 'Visa antal ord?', + + 'TEMPLATE' => 'Mall', + 'TOPIC_TITLE_LIMIT' => 'Maximalt antal tecken för ämnestitel', + 'TOPIC_TYPE' => 'Typ av ämne', + 'TOPIC_TYPE_EXPLAIN' => 'Välj de trådtyper du vill visa. Lämna rutorna avmarkerade för att välja från alla trådtyper', + 'TOPICS_LOOK_BACK' => 'Titta tillbaka', + 'TOPICS_ONLY' => 'Endast ämnen?', + 'TOPICS_PER_PAGE' => 'Per sida', + + 'WORD_MAX_SIZE' => 'Maximal teckenstorlek', + 'WORD_MIN_SIZE' => 'Minsta teckenstorlek', +)); diff --git a/language/sv/common.php b/language/sv/common.php new file mode 100644 index 000000000000..925dc152c568 --- /dev/null +++ b/language/sv/common.php @@ -0,0 +1,97 @@ + 'Hela tiden', + + 'BLOCK_TITLE' => 'Blockera titel', + + 'CHANGE_ME' => 'Ändra mig', + + 'DAILY_MEMBER' => 'Medlem av dagen', + + 'FEATURED_MEMBER' => 'Utvald medlem', + 'FEATURED_MEMBERLIST' => 'Lista över utvalda medlemmar', + 'FEEDS' => 'Flöden', + 'FORUM_ANNOUNCEMENTS' => 'Forum Meddelanden', + 'FORUM_GLOBAL_ANNOUNCEMENTS' => 'Globala forummeddelanden', + 'FORUM_RECENT_POSTS' => 'Senaste foruminlägg', + 'FORUM_RECENT_TOPICS' => 'Senaste forumtrådar', + 'FORUM_STICKY_POSTS' => 'Senaste påklistrade inlägg', + + 'HELP' => 'Hjälp', + 'HOURLY_MEMBER' => 'Medlem i timmen', + + 'GOOGLE_MAP' => 'Google karta', + + 'JOIN_DATE' => 'Datum för anslutning', + + 'LAST_POST_BY_AUTHOR' => 'Senaste inlägg av', + 'LAST_VISITED' => 'Senast besökt', + 'LINKS' => 'Länkar', + + 'MCP_SITEMAKER_CONTENT' => 'Innehåll', + 'MEMBERS_DATE' => 'Datum', + 'MENU' => 'Meny', + 'MONTHLY_MEMBER' => 'Medlem i månaden', + 'MOST_TENURED' => 'Mest förvärvade', + 'MY_BOOKMARKS' => 'Mina bokmärken', + + 'NO_BOOKMARKED_TOPICS' => 'Du har inte bokmärkt några ämnen', + 'NO_NEW_TOPICS' => 'Det finns inga nya ämnen att visa', + + 'POLL' => 'Enkät', + 'POPULAR_TOPICS' => 'Populära ämnen', + 'POSTS_MEMBER' => 'Topp Affisch', + 'PROCESSING' => 'bearbetar...', + + 'QTYPE_POSTS' => 'Grattis till:', + 'QTYPE_RECENT' => 'Välkommen med vår nyaste medlem:', + + 'RECENT_BOTS' => 'Senaste sökmotorer', + 'RECENT_MEMBER' => 'Senaste medlem', + 'RECENT_MEMBERS' => 'Senaste medlemmar', + + 'SESSION_HIDE_ME' => 'Dölj mig', + 'SM_NAVIGATION' => 'Navigation', + 'SM_TOGGLE_DROPDOWN' => 'Växla rullgardin', + 'STYLE_SWITCHER' => 'Stil växlare', + + 'THIS_MONTH' => 'Denna månad', + 'THIS_WEEK' => 'Denna vecka', + 'THIS_YEAR' => 'I år', + 'TODAY' => 'Idag', + 'TOPICS_LAST_READ' => 'Senast lästa ämnen', + 'TOPIC_LAST_READ' => 'Senast läst %s', + 'TOP_POSTERS' => 'Topp affischer', + + 'UCP_SITEMAKER_CONTENT' => 'Mina saker', + + 'VIEW_DETAILS' => 'Visa detaljer', + 'VIEW_USER_PROFILE' => 'Allt om %s', + + 'WEEKLY_MEMBER' => 'Medlem i veckan', + 'WELCOME' => 'Välkommen', + 'WHATS_NEW' => 'Vad är nytt?', + 'WORDGRAPH' => 'Wordgraph', +)); diff --git a/language/sv/css_presets.php b/language/sv/css_presets.php new file mode 100644 index 000000000000..e69daea68689 --- /dev/null +++ b/language/sv/css_presets.php @@ -0,0 +1,107 @@ + 'Pil lista markör', + 'LIST_CIRCLE' => 'Cirkellistans markör', + 'LIST_DISC' => 'Punktlistans markör', + 'LIST_SQUARE' => 'Kvadrat lista markör', + 'LIST_NUMBERED' => 'Numrerad lista', + 'LIST_NUMBERED_ALPHABET' => 'Numrerat med alfabetet', + 'LIST_NUMBERED_NESTED' => 'Numrerad med underavdelningar', + 'LIST_NUMBERED_ROMAN' => 'Numrerad med romerska siffror', + 'LIST_NUMBERED_ZERO' => 'Numrerad med ledande noll', + 'LIST_INLINE' => 'Infogad lista', + 'LIST_INLINE_SEP' => 'Kommaseparerad lista', + 'LIST_REVERSE' => 'Omvänd ordning', + 'LIST_STRIPED' => 'Randig lista', + 'LIST_STACKED' => 'Staplad lista', + 'LIST_TRIANGLE' => 'Triangel', + 'LIST_HYPHEN' => 'Hyfen', + 'LIST_PLUS' => 'Plus', + 'LIST_SPADE' => 'Spade', + 'LIST_CLUB' => 'Klubb', + 'LIST_DIAMOND' => 'Diamant', + 'LIST_HEART' => 'Hjärta', + 'LIST_STAR' => 'Stjärna', + 'LIST_CHECK' => 'Kontrollera', + 'LIST_SNOWFLAKE' => 'Snöflinga', + 'LIST_MUSIC' => 'Musik', + 'LIST_AUTOWIDTH' => 'Auto width', + 'LIST_FIT_CONTENT' => 'Anpassa innehåll', + 'LIST_2COLS' => 'Lista med 2 kolumner', + 'LIST_3COLS' => '3 kolumner lista', + 'LIST_4COLS' => '4 kolumner lista', + 'LIST_5COLS' => '5 kolumner lista', + 'LIST_X_DIVIDER_DOTTED' => 'Horisontell prickad avdelare', + 'LIST_X_DIVIDER_LINE' => 'Horisontell linjedragare', + 'LIST_Y_DIVIDER_DOTTED' => 'Vertikal prickad avdelare', + 'LIST_Y_DIVIDER_LINE' => 'Vertikal linjedragare', + + 'IMAGE_SMALL' => 'Liten bild', + 'IMAGE_MEDIUM' => 'Medelstor bild', + 'IMAGE_LARGE' => 'Stor bild', + 'IMAGE_FULL_WIDTH' => 'Full breddbild', + 'IMAGE_ALIGN_LEFT' => 'Flytbild till vänster', + 'IMAGE_ALIGN_RIGHT' => 'Flytbild till höger', + 'IMAGE_CIRCLE' => 'Cirkulär bild', + 'IMAGE_ROUNDED' => 'Rundad bild', + 'IMAGE_BORDER' => 'Kantad bild', + 'IMAGE_BORDER_PADDING' => 'Image border padding', + 'IMAGE_RATIO_SQUARE' => 'Kvadrat bild', + 'IMAGE_RATIO_4_BY_3' => '4 av 3 bild', + 'IMAGE_RATIO_16_BY_9' => '16 av 9 bild', + + 'RESPONSIVE_SHOW' => 'Visa endast på små enheter', + 'RESPONSIVE_HIDE' => 'Dölj på små enheter', + + 'ALIGN_LEFT' => 'Vänsterjusterad text', + 'ALIGN_CENTER' => 'Centrerad text', + 'ALIGN_RIGHT' => 'Högerjusterad text', + 'NO_PADDING' => 'No padding', + 'LABEL' => 'Etikett', + 'BADGE' => 'Märke', + 'PRIMARY_COLOR' => 'Primär färg', + 'SECONDARY_COLOR' => 'Sekundär färg', + 'GRAYSCALE_COLOR' => 'Grayscale', + 'INFO_COLOR' => 'Information', + 'SUCCESS_COLOR' => 'Klart', + 'WARNING_COLOR' => 'Varning', + 'DANGER_COLOR' => 'Fara', +)); diff --git a/language/sv/exceptions.php b/language/sv/exceptions.php new file mode 100644 index 000000000000..219f9520e24d --- /dev/null +++ b/language/sv/exceptions.php @@ -0,0 +1,49 @@ + 'Obligatoriskt fält saknas', + 'EXCEPTION_INVALID_ACTION' => 'Åtgärden finns inte', + 'EXCEPTION_INVALID_ARGUMENT' => 'Ogiltigt argument specificerat för `%1$s`. Anledning: %2$s', + 'EXCEPTION_INVALID_DATA_TYPE' => 'Det angivna värdet är av en oväntad datatyp', + 'EXCEPTION_INVALID_ENTITY' => 'Den angivna enheten är av en oväntad varelseklass', + 'EXCEPTION_INVALID_PROPERTY' => 'Den begärda egenskapen finns inte', + 'EXCEPTION_OUT_OF_BOUNDS' => 'Den begärda `%1$s` finns inte', + 'EXCEPTION_SERVICE_NOT_FOUND' => 'Den begärda tjänsten hittades inte', + 'EXCEPTION_UNEXPECTED_VALUE' => 'Den begärda åtgärden `%1$s` kunde inte utföras. Anledning: %2$s', +)); diff --git a/language/sv/ext.php b/language/sv/ext.php new file mode 100644 index 000000000000..575d9dafafa1 --- /dev/null +++ b/language/sv/ext.php @@ -0,0 +1,42 @@ + 'phpBB Image katalogen är inte skrivbar. Vänligen ändra behörigheterna till skrivbar av alla (777 eller -rwxrwxrwx i din FTP-klient)', + 'PHPBB_VERSION_UNMET' => 'Detta tillägg kräver minst phpBB %s', +)); diff --git a/language/sv/feed_fields.php b/language/sv/feed_fields.php new file mode 100644 index 000000000000..460df1ab9dd6 --- /dev/null +++ b/language/sv/feed_fields.php @@ -0,0 +1,108 @@ + 'författare', + 'AUTHORS' => 'författare (array)', + 'BITRATE' => 'bithastighet', + 'CAPTIONS' => 'bildtexter', + 'CATEGORIES' => 'kategorier (array)', + 'CATEGORY' => 'Kategori', + 'CHANNELS' => 'kanaler', + 'CONTENT' => 'innehåll', + 'CONTRIBUTOR' => 'medverkande', + 'CONTRIBUTORS' => 'bidragsgivare (array)', + 'COPYRIGHT' => 'upphovsrätt', + 'CREDITS' => 'krediter', + 'DATE' => 'datum', + 'DESCRIPTION' => 'beskrivning', + 'DURATION' => 'varaktighet', + 'ENCLOSURE' => 'kapsling', + 'ENCLOSURES' => 'kapslingar (array)', + 'EXPRESSION' => 'uttryck', + 'FEED' => 'flöde', + 'FRAMERATE' => 'bildfrekvens', + 'GMDATE' => 'GM datum', + 'HANDLER' => 'handler', + 'HASHES' => 'hashar', + 'HEIGHT' => 'höjd', + 'ID' => 'id', + 'IMAGE_HEIGHT' => 'Bildens höjd', + 'IMAGE_LINK' => 'länk till bild', + 'IMAGE_TITLE' => 'bildens titel', + 'IMAGE_URL' => 'bild-URL', + 'IMAGE_WIDTH' => 'bild bredd', + 'ITEMS' => 'objekt', + 'JAVASCRIPT' => 'JavaScript', + 'KEYWORDS' => 'nyckelord', + 'LABEL' => 'etikett', + 'LANG' => 'lang', + 'LATITUDE' => 'latitud', + 'LENGTH' => 'längd', + 'LINK' => 'länk', + 'LINKS' => 'länkar', + 'LONGITUDE' => 'longitud', + 'MEDIUM' => 'medium', + 'NAME' => 'namn', + 'PERMALINK' => 'permalänk', + 'PLAYER' => 'spelare', + 'RATINGS' => 'betyg', + 'RELATIONSHIP' => 'förhållande', + 'RESTRICTIONS' => 'begränsningar (array)', + 'SAMPLINGRATE' => 'samplingshastighet', + 'SCHEME' => 'schema', + 'SOURCE' => 'källa', + 'TERM' => 'termin', + 'THUMBNAILS' => 'thumbnails', + 'TITLE' => 'titel', + 'TYPE' => 'typ', + 'UPDATED_DATE' => 'uppdaterat datum', + 'UPDATED_GMDATE' => 'uppdaterat GM-datum', + 'VALUE' => 'värde', + 'WIDTH' => 'width', +)); diff --git a/language/sv/icons.php b/language/sv/icons.php new file mode 100644 index 000000000000..561da19edb57 --- /dev/null +++ b/language/sv/icons.php @@ -0,0 +1,71 @@ + 'Tillgänglighet', + 'ICON_ARROWS' => 'Pilar', + 'ICON_BRAND' => 'Varumärke', + 'ICON_CHART' => 'Diagram', + 'ICON_CURRENCY' => 'Valuta', + 'ICON_DIRECTIONAL' => 'Riktad', + 'ICON_FILE_TYPE' => 'Filtyp', + 'ICON_FORM_CONTROL' => 'Formulär kontroll', + 'ICON_GENDER' => 'Kön', + 'ICON_HAND' => 'Hand', + 'ICON_MEDICAL' => 'Medicinsk', + 'ICON_PAYMENT' => 'Betalning', + 'ICON_SPINNER' => 'Spinnare', + 'ICON_TEXT_EDITOR' => 'Text Editor', + 'ICON_TRANSPORTATION' => 'Transport', + 'ICON_VIDEO_PLAYER' => 'Videospelare', + 'ICON_WEB_APPLICATION' => 'Webbapplikation', + + 'ICON_COLOR' => 'Färg', + 'ICON_DEFAULT' => 'Standard', + 'ICON_FLIP_BOTH' => 'Vänd båda', + 'ICON_FLIP_HORIZONTAL' => 'Vänd horisontellt', + 'ICON_FLIP_VERTICAL' => 'Vänd vertikalt', + 'ICON_FLOAT' => 'Flytande', + 'ICON_FLOAT_LEFT' => 'Vänster', + 'ICON_FLOAT_RIGHT' => 'Höger', + 'ICON_FONT' => 'Font Icons', + 'ICON_INSERT_UPDATE' => 'Insert/Update', + 'ICON_MISC' => 'Övrigt', + 'ICON_MISC_BORDERED' => 'Kantad', + 'ICON_MISC_FIXED_WIDTH' => 'Fast bredd', + 'ICON_MISC_PULSE' => 'Puls', + 'ICON_MISC_SPINNING' => 'Snurrar', + 'ICON_ROTATION' => 'Rotation', + 'ICON_ROTATE_90' => '90°', + 'ICON_ROTATE_180' => '180°', + 'ICON_ROTATE_270' => '270°', + 'ICON_SIZE' => 'Storlek', + 'ICON_SIZE_LG' => 'Större', + 'ICON_SIZE_SM' => 'Liten', + 'ICON_SIZE_2X' => '2 x', + 'ICON_SIZE_3X' => '3x', + 'ICON_SIZE_4X' => '4x', + 'ICON_SIZE_5X' => '5x', + + 'NO_ICON' => 'Ingen ikon', +)); diff --git a/language/sv/info_acp_menus.php b/language/sv/info_acp_menus.php new file mode 100644 index 000000000000..eaf29a885ace --- /dev/null +++ b/language/sv/info_acp_menus.php @@ -0,0 +1,92 @@ + 'Meny', + 'ACP_MENU_MANAGE' => 'Menyhantering', + 'ACP_MENU_MANAGE_EXPLAIN' => 'Här kan du skapa och hantera menyer för din webbplats', + 'ADD_BULK_MENU' => 'Bulk Lägg till menyobjekt', + 'ADD_BULK_MENU_EXPLAIN' => 'Lägg till flera menyalternativ på en gång.
- Placera varje objekt på en separat rad
- Använd fliken -tangenten för att visa relationer mellan föräldrar och barn
- Ange objekt och URL som så: Home index.php', + 'ADD_MENU' => 'Lägg till meny', + 'ADD_MENU_ITEM' => 'Lägg till menyobjekt', + 'ADD_ITEM' => 'Lägg till nytt objekt', + 'AJAX_PROCESSING' => 'Arbetar', + + 'CHANGE_ME' => 'Ändra mig', + + 'DELETE_ITEM' => 'Ta bort objekt', + 'DELETE_KIDS' => 'Ta bort gren', + 'DELETE_MENU' => 'Ta bort meny', + 'DELETE_MENU_CONFIRM' => 'Är du säker på att du vill ta bort denna menyn?
Detta kommer att ta bort menyn och alla dess objekt', + 'DELETE_MENU_ITEM' => 'Ta bort objekt', + 'DELETE_MENU_ITEM_CONFIRM' => 'Är du säker på att du vill ta bort detta menyobjekt?', + 'DELETE_SELECTED' => 'Ta bort markerade', + + 'EDIT_ITEM' => 'Redigera objekt', + + 'ITEM_ACTIVE' => 'Aktiv', + 'ITEM_INACTIVE' => 'Inaktiv', + 'ITEM_PARENT' => 'Överordnad', + 'ITEM_TITLE' => 'Objekt Titel', + 'ITEM_TITLE_EXPLAIN' => 'Ange som ’-’ för avdelare', + 'ITEM_TARGET' => 'Item Target', + 'ITEM_URL' => 'Punkt URL', + 'ITEM_URL_EXPLAIN' => '- Lämna tomt för rubriker
- Externa webbplatser måste börja med http(s)://, ftp://, //, etc', + + 'MENU_ITEMS' => 'Menyobjekt', + + 'NO_MENU_ITEMS' => 'Inga menyobjekt har skapats', + 'NO_PARENT' => 'Ingen överordnad', + + 'PROCESSING_ERROR' => 'Bearbetar fel', + + 'REBUILD_TREE' => 'Bygg om träd', + 'REQUIRED' => 'Krävs', + 'REQUIRED_FIELDS' => '* Obligatoriska fält', + + 'SAVE_CHANGES' => 'Spara ändringar', + 'SAVE' => 'Spara', + 'SELECT_ALL' => 'Markera alla', + + 'TARGET_BLANK' => 'Tom sida', + 'TARGET_PARENT' => 'Överordnad', + + 'UNSAVED_CHANGES' => 'Du har osparade ändringar', + + 'VISIT_PAGE' => 'Besök sida', +)); diff --git a/language/sv/info_acp_settings.php b/language/sv/info_acp_settings.php new file mode 100644 index 000000000000..c81c36faaa6f --- /dev/null +++ b/language/sv/info_acp_settings.php @@ -0,0 +1,74 @@ + 'SiteMaker', + 'ACP_SM_SETTINGS' => 'Inställningar', + + 'BLOCKS_CLEANUP' => 'Blocks rensning', + 'BLOCKS_CLEANUP_EXPLAIN' => 'Följande objekt hittades inte längre existerar eller kan inte längre nås, och du kan därför ta bort alla block som är kopplade till dem. Kom ihåg att en del av dessa kan vara falskt positiva', + 'BLOCKS_CLEANUP_BLOCKS' => 'Ogiltiga block (t.ex. från avinstallerade tillägg):', + 'BLOCKS_CLEANUP_ROUTES' => 'Onåbara/trasiga sidor:', + 'BLOCKS_CLEANUP_STYLES' => 'Oinstallerade stilar (ids):', + 'BLOCKS_CLEANUP_SUCCESS' => 'Blocken rensades utan problem', + + 'FORUM_INDEX_SETTINGS' => 'Inställningar för Forum Index', + 'FORUM_INDEX_SETTINGS_EXPLAIN' => 'Dessa inställningar gäller endast när det inte finns någon definierad startsida', + + 'HIDE' => 'Dölj', + 'HIDE_BIRTHDAY' => 'Dölj sektion för födelsedag', + 'HIDE_LOGIN' => 'Dölj inloggningsrutan', + 'HIDE_ONLINE' => 'Dölj Whos online-sektion', + + 'LAYOUT_BLOG' => 'Blogg', + 'LAYOUT_CUSTOM' => 'Anpassad', + 'LAYOUT_HOLYGRAIL' => 'Helig Graal', + 'LAYOUT_PORTAL' => 'Portal', + 'LAYOUT_PORTAL_ALT' => 'Portal (alt)', + 'LAYOUT_SETTINGS' => 'Inställningar för layout', + + 'LOG_DELETED_BLOCKS_FOR_STYLE' => 'Sitemaker block borttagna för saknad stil med id %s', + 'LOG_DELETED_BLOCKS_FOR_ROUTE' => 'Sitemaker block borttagna för trasiga sidor:
%s', + 'LOG_DELETED_BLOCKS' => 'Ogiltig Sitemaker block borttagna:
%s', + + 'NAVIGATION_SETTINGS' => 'Navigeringsinställningar', + + 'SETTINGS_SAVED' => 'Dina inställningar har sparats', + 'SHOW' => 'Visa', + 'SHOW_FORUM_NAV' => 'Visa ‘Forum’ i navigeringsfältet?', + 'SHOW_FORUM_NAV_EXPLAIN' => 'När en sida är inställd som startsida istället för forumindexet, ska vi visa \'Forum\' i navigationsfältet', + 'SHOW_FORUM_NAV_WITH_ICON' => 'Ja - med ikon:', +]); diff --git a/language/sv/navbar_manager.php b/language/sv/navbar_manager.php new file mode 100644 index 000000000000..62141076b50c --- /dev/null +++ b/language/sv/navbar_manager.php @@ -0,0 +1,79 @@ + 'Aktivt element', + 'BORDER' => 'Border', + 'BORDER_COLOR' => 'Färg på ram', + 'BORDER_RADIUS' => 'Gräns radie', + 'BORDER_WIDTH' => 'Border Width', + 'BOTTOM' => 'Botten', + 'BOTTOM_LEFT' => 'Nederst till vänster', + 'BOTTOM_RIGHT' => 'Nederst till höger', + 'CAPITALIZE' => 'Kapitalisera', + 'COLOR' => 'Färg', + 'DIVIDERS' => 'Delare', + 'END' => 'Slut', + 'GRADIENT' => 'Gradient', + 'HEADERS' => 'Sidhuvuden', + 'HOVER' => 'Hover', + 'LEFT' => 'Vänster', + 'LOWERCASE' => 'Gemener', + 'MARGIN' => 'Marginal', + 'NAVBAR' => 'Navbar', + 'NAVBAR_MENU' => 'Navbar menu', + 'NAVBAR_DROPDOWN' => 'Rullgardin', + 'NAVBAR_LOCATION' => 'Plats', + 'NAVBAR_LOCATION_OPTION' => 'Plats #%s', + 'NAVBAR_TOP_MENU' => 'Toppmeny', + 'NONE' => 'Ingen', + 'PADDING' => 'Padding', + 'RESPONSIVE_TOGGLE' => 'Responsiv växling', + 'RESPONSIVE_TOGGLE_EXPLAIN' => 'Endast synlig på små (mobila) skärmar', + 'RIGHT' => 'Höger', + 'SAVE' => 'Spara', + 'SIZE' => 'Storlek', + 'START' => 'Starta', + 'TEXT' => 'Text', + 'TOP' => 'Överst', + 'TOP_LEFT' => 'Överst till vänster', + 'TOP_RIGHT' => 'Överst till höger', + 'TRANSFORM' => 'Omvandla', + 'UPPERCASE' => 'Versaler', +)); diff --git a/language/sv/permissions_sitemaker.php b/language/sv/permissions_sitemaker.php new file mode 100644 index 000000000000..b2ac65279e11 --- /dev/null +++ b/language/sv/permissions_sitemaker.php @@ -0,0 +1,45 @@ + '[ SiteMaker ] Kan hantera inställningar', + 'ACL_A_SM_MANAGE_BLOCKS' => '[ SiteMaker ] Kan hantera block', + 'ACL_A_SM_MANAGE_MENUS' => '[ SiteMaker ] Kan hantera menyer', +)); diff --git a/language/tr/block_manager.php b/language/tr/block_manager.php new file mode 100644 index 000000000000..483b2ca28bd4 --- /dev/null +++ b/language/tr/block_manager.php @@ -0,0 +1,123 @@ + '*Blokları Sürükle ve Bırak', + 'AJAX_ERROR' => 'Üzgünüm! İsteğiniz işlenirken bir hata oluştu. Lütfen yeniden deneyin.', + 'AJAX_LOADING' => 'Yükleniyor...', + 'AJAX_PROCESSING' => 'Çalışıyor...', + + 'BACKGROUND' => 'Arkaplan', + 'BLOCKS' => 'Bloklar', + 'BLOCKS_COPY_FROM' => 'Blokları kopyala', + 'BLOCK_ACTIVE' => 'Etkin', + 'BLOCK_CHILD_ROUTES_ONLY' => 'Yalnızca alt rotalarda göster', + 'BLOCK_CHILD_ROUTES_HIDE' => 'Alt rotalarda gizle', + 'BLOCK_CLASS' => 'CSS Sınıfı', + 'BLOCK_CLASS_EXPLAIN' => 'Blok görünümünü CSS sınıfına göre modifiye et', + 'BLOCK_DESIGN' => 'Görünüm', + 'BLOCK_DISPLAY_TYPE' => 'Görünüm', + 'BLOCK_HIDE_TITLE' => 'Blok başlığını gizle?', + 'BLOCK_INACTIVE' => 'İnaktif', + 'BLOCK_MISSING_TEMPLATE' => 'Gerekli blok şablonu eksik. Lütfen geliştiriciyle iletişim kurun', + 'BLOCK_NOT_FOUND' => 'Üzgünüm! İstenilen blok servisi bulunamadı', + 'BLOCK_NO_DATA' => 'Gösterilecek veri yok', + 'BLOCK_NO_ID' => 'Üzgünüm! Blok id eksik', + 'BLOCK_PERMISSION' => 'İzin', + 'BLOCK_PERMISSION_ALLOW' => 'Şunlara Göster', + 'BLOCK_PERMISSION_DENY' => 'Şunlardan gizle', + 'BLOCK_PERMISSION_EXPLAIN' => 'CTRL + tıklamayı seçimi deşitirmek için kullanın', + 'BLOCK_SHOW_ALWAYS' => 'Her zaman', + 'BLOCK_STATUS' => 'Durum', + 'BLOCK_UPDATED' => 'Blok ayarları başarıyla güncellendi', + + 'CANCEL' => 'İptal', + 'CHILD_ROUTE' => 'Alt', + 'CHILD_ROUTE_EXPLAIN' => '/viewforum.php, /dir/index.php
/viewtopic.php?f=2&t=1
/makaleler/benim-makalem', + 'CLEAR' => 'Temizle', + 'COPY' => 'Kopyala', + 'COPY_BLOCKS' => 'Blokları kopyala?', + 'COPY_BLOCKS_CONFIRM' => 'Blokları başka sayfadan kopyalamak istediğine emin misin?

Bu tüm blokları ve onların ayarlarını bu sayfa için silecek ve onları seçili sayfa blokları ile değiştirecek.', + + 'DEFAULT_LAYOUT_EXPLAIN' => 'Ayarlanırsa, blok belirtmediğiniz tüm site sayfaları, blokları varsayılan düzenden devralır. Ancak, sağdaki seçenekleri kullanarak belirli sayfalar için varsayılan düzeni geçersiz kılabilirsiniz.', + 'DELETE' => 'Sil', + 'DELETE_ALL_BLOCKS' => 'Tüm Blokları Sil', + 'DELETE_ALL_BLOCKS_CONFIRM' => 'Bu sayfa için tüm blokları silmek istediğine emin misin?', + 'DELETE_BLOCK' => 'Bloğu Sil', + 'DELETE_BLOCK_CONFIRM' => 'Bu bloğu silmek istediğine emin misin?


Not: Bunu kalıcı hale getirmek için şablon değişikliklerini kaydetmelisin.', + + 'EDIT' => 'Düzenle', + 'EDIT_BLOCK' => 'Bloğu Düzenle', + 'EXIT_EDIT_MODE' => 'Düzenleme Modundan Çık', + + 'FEED_PROBLEMS' => 'Sağlanan rss/atom besleme(leri) işlenirken bir sorun oluştu', + 'FEED_URL_MISSING' => 'Başlamak için lütfen en az bir rss/atom beslemesi sağlayın', + 'FIELD_INVALID' => '“%s” alanı için sağlanan değer geçersiz bir formata sahip', + 'FIELD_REQUIRED' => '“%s” gerekli bir alandır', + 'FIELD_TOO_LONG' => '“%1$s” alanı için sağlanan değer çok uzun. Kabul edilebilir maksimum değer: %2$d.', + 'FIELD_TOO_SHORT' => '“%1$s” alanı için sağlanan değer çok kısa. Kabul edilebilir minimum değer: %2$d.', + + 'HIDE_ALL_BLOCKS' => 'Blokları bu sayfada gösterme', + 'HIDE_BLOCK_POSITIONS' => 'Aşağıdaki blok konumları için blokları gösterme:', + + 'IMAGES' => 'Görseller', + + 'LAYOUT' => 'Şablon', + 'LAYOUT_SAVED' => 'Şablon başaryla kaydedildi!', + 'LAYOUT_SETTINGS' => 'Şablon Ayarları', + 'LEAVE_CONFIRM' => 'Bu sayfada kaydedilmemiş bazı değişiklikleriniz var. Lütfen devam etmeden önce çalışmanızı kaydedin', + 'LISTS' => 'Listeler', + + 'MAKE_DEFAULT_LAYOUT' => 'Varsayılan Şablon Olarak Ayarla', + + 'OR' => 'VEYA', + + 'PARENT_ROUTE' => 'Üst', + 'PARENT_ROUTE_EXPLAIN' => '/index.php
/viewforum.php?f=2
/articles', + 'PREDEFINED_CLASSES' => 'Öntanımlı sınıflar', + + 'REDO' => 'Yinele', + 'REMOVE_DEFAULT_LAYOUT' => 'Varsayılan Şablon Olarak Kaldır', + 'REMOVE_STARTPAGE' => 'Başlangıç Sayfasını Kaldır', + 'ROUTE_HIDDEN_BLOCKS' => 'Bloklar bu sayfa için gizlendi', + 'ROUTE_HIDDEN_POSITIONS' => 'Aşağıdaki pozisyonlar için bloklar gizleniyor', + 'ROUTE_UPDATED' => 'Sayfa ayarları başarıyla güncellendi', + + 'SAVE_CHANGES' => 'Değişiklikleri Kaydet', + 'SAVE_SETTINGS' => 'Ayarları kaydet', + 'SELECT_ICON' => 'Bir Simge Seçin', + 'SETTINGS' => 'Ayarlar', + 'SETTING_TOO_BIG' => '“%1$s” ayarı için sağlanan değer çok yüksek. Kabul edilebilir maksimum değer: %2$d.', + 'SETTING_TOO_LONG' => '“%1$s” ayarı için sağlanan değer çok uzun. Kabul edilebilir maksimum değer: %2$d.', + 'SETTING_TOO_LOW' => '“%1$s” ayarı için sağlanan değer çok düşük. Kabul edilebilir minimum değer: %2$d.', + 'SETTING_TOO_SHORT' => '“%1$s” ayarı için sağlanan değer çok kısa. Kabul edilebilir minimum değer: %2$d.', + 'SET_STARTPAGE' => 'Başlangıç Sayfası Olarak Ayarla', + + 'TITLES' => 'Başlıklar', + + 'UPDATE_SIMILAR' => 'Blokları benzer ayarlarla güncelle', + 'UNDO' => 'Geri al', + + 'VIEW_DEFAULT_LAYOUT' => 'Varsayılan Şablonu Görüntüle/Düzenle', + 'VISIT_PAGE' => 'Sayfayı ziyaret et', +)); diff --git a/language/tr/blocks_admin.php b/language/tr/blocks_admin.php new file mode 100644 index 000000000000..1a9530436e48 --- /dev/null +++ b/language/tr/blocks_admin.php @@ -0,0 +1,189 @@ + 'Tüm Türler', + 'ALL_GROUPS' => 'Tüm Gruplar', + 'ARCHIVES' => 'Arşivler', + 'AUTO_LOGIN' => 'Otomatik girişe izin ver?', + 'FILE_MANAGER' => 'Dosya Yöneticisi', + 'TOPIC_POST_IDS' => 'From Topic/Post Ids', + 'TOPIC_POST_IDS_EXPLAIN' => 'Id(s) of topics/posts to retrieve attachments from, separated by commas(,). Specify if this list is for topic or post ids above.', + 'TOPIC_POST_IDS_TYPE' => 'Type of IDs (below)', + + // Blocks + 'BLITZE_SITEMAKER_BLOCK_ATTACHMENTS' => 'Ekli Dosyalar', + 'BLITZE_SITEMAKER_BLOCK_BIRTHDAY' => 'Doğum Günü', + 'BLITZE_SITEMAKER_BLOCK_CUSTOM' => 'Özel Blok', + 'BLITZE_SITEMAKER_BLOCK_FEATURED_MEMBER' => 'Özellikli Üye', + 'BLITZE_SITEMAKER_BLOCK_FEEDS' => 'RSS/Atom Beslemesi', + 'BLITZE_SITEMAKER_BLOCK_FORUM_POLL' => 'Forum Anketi', + 'BLITZE_SITEMAKER_BLOCK_FORUM_TOPICS' => 'Forum Konuları', + 'BLITZE_SITEMAKER_BLOCK_GOOGLE_MAPS' => 'Google Haritalar', + 'BLITZE_SITEMAKER_BLOCK_POPULAR_TOPICS' => 'Popüler Konular', + 'BLITZE_SITEMAKER_BLOCK_LINKS' => 'Bağlantılar', + 'BLITZE_SITEMAKER_BLOCK_LOGIN' => 'Giriş Kutusu', + 'BLITZE_SITEMAKER_BLOCK_MEMBERS' => 'Üyeler', + 'BLITZE_SITEMAKER_BLOCK_MEMBER_MENU' => 'Üye Menüsü', + 'BLITZE_SITEMAKER_BLOCK_MENU' => 'Menü', + 'BLITZE_SITEMAKER_BLOCK_MYBOOKMARKS' => 'Yer İmlerim', + 'BLITZE_SITEMAKER_BLOCK_RECENT_TOPICS' => 'Son Konular', + 'BLITZE_SITEMAKER_BLOCK_STATS' => 'İstatistikler', + 'BLITZE_SITEMAKER_BLOCK_STYLE_SWITCHER' => 'Stil Değiştirici', + 'BLITZE_SITEMAKER_BLOCK_WHATS_NEW' => 'Neler yeni?', + 'BLITZE_SITEMAKER_BLOCK_WHOIS' => 'Kimler Çevrimiçi', + 'BLITZE_SITEMAKER_BLOCK_WORDGRAPH' => 'Sözcük Bulutu', + + // block views + 'BLOCK_VIEW' => 'Blok Görüntüsü', + 'BLOCK_VIEW_BASIC' => 'Temel', + 'BLOCK_VIEW_BOXED' => 'Kutulu', + 'BLOCK_VIEW_DEFAULT' => 'Varsayılan', + 'BLOCK_VIEW_SIMPLE' => 'Basit', + + 'CACHE_DURATION' => 'Önbellek süresi', + 'CONTEXT' => 'İçerik', + 'CSS_SCRIPTS' => 'CSS Scriptleri', + 'CUSTOM_PROFILE_FIELDS' => 'Özel Profil Alanları', + + 'DATE_RANGE' => 'Tarih Aralığı', + 'DISPLAY_PREVIEW' => 'Görüntüyü Önizle?', + + 'EDIT_ME' => 'Lütfen beni düzenle', + 'ENABLE_TOPIC_TRACKING' => 'Konu izlemeyi etkinleştir?', + 'ENABLE_TOPIC_TRACKING_EXPLAIN' => 'Etkinleştirilirse, okunmamış konular belirtilir ancak engelleme sonuçları önbelleğe alınmaz (Önerilmez)', + 'EXCLUDE_TOO_MANY_WORDS' => 'Hariç tutulacak çok sözcük girdiniz. Mümkün olan maksimum karakter sayısı 255\'tir, siz %s tane girdiniz.', + 'EXCLUDE_WORDS' => 'Yok Sayılan Sözcükler', + 'EXCLUDE_WORDS_EXPLAIN' => 'Kelime grafiğinden hariç tutmak istediğiniz kelimeleri virgülle (,) ayırarak listeleyin. Maksimum 255 karakter.', + 'EXPANDED' => 'Genişletilmiş', + 'EXTENSION_GROUP' => 'Eklenti Grubu', + + 'FEATURED_MEMBER_IDS' => 'Kullanıcı Kimlikleri (IDleri)', + 'FEATURED_MEMBER_IDS_EXPLAIN' => 'Öne çıkarılacak kullanıcıların virgülle ayrılmış listesi (Yalnızca Öne Çıkan Üye görüntüleme modu için geçerlidir)', + 'FEED_DATA_PREVIEW' => 'Besleme Verisi', + 'FEED_ITEM_TEMPLATE' => 'Öğe Şablonu', + 'FEED_ITEM_TEMPLATE_EXPLAIN' => 'TIPS:
+
    +
  • Access feed data in item variable e.g. item.title
  • +
  • Template must be in Twig syntax
  • +
  • Click Samples above for sample templates
  • +
  • Use get_item_tags($namespace, $tag) to get any tag from the feed that we do not provide e.g.
    {{ get_item_tags(\'\', \'image\') }}
  • +
  • Use Twig’s json_encode filter to see contents of array e.g. {{ get_item_tags(\'\', \'image\')|json_encode() }}
  • +
', + 'FEED_PREVIEW_SOURCE' => 'Kaynak', + 'FEED_URL_PLACEHOLDER' => 'http://orneksite.com/rss', + 'FEED_URLS' => 'Besleme URL\'leri', + 'FIRST_POST_ONLY' => 'Sadece İlk Gönderi', + 'FIRST_POST_TIME' => 'İlk Gönderi Zamanı', + 'FORUMS_GET_TYPE' => 'Get type', + 'FORUMS_MAX_TOPICS' => 'En fazla konu/gönderi', + 'FORUMS_TITLE_MAX_CHARS' => 'Her başlıktaki en fazla karakter', + 'FREQUENCY' => 'Sıklık', + 'FULL' => 'Tam', + 'FULLSCREEN' => 'Tam Ekran', + + 'GET_TYPE' => 'Konu/Gönderi Görüntülensin mi?', + + 'HTML' => 'HTML', + 'HTML_EXPLAIN' => 'Ham HTML içeriği girmek için bu metin alanını kullanın.
Burada yayınlanan herhangi bir içeriğin özel blok içeriğini geçersiz kılacağını ve görsel blok düzenleyicinin kullanılamayacağını lütfen unutmayın.', + 'HOURS_SHORT' => 'sa', + + 'JS_SCRIPTS' => 'JS Scriptleri', + + 'LAST_POST_TIME' => 'Son Gönderi Zamanı', + 'LAST_READ_TIME' => 'Son Okuma Zamanı', + 'LIMIT' => 'Sınır', + 'LIMIT_FORUMS' => 'Forum ID\'leri (opsiyonel)', + 'LIMIT_FORUMS_EXPLAIN' => 'Her forum kimliğini virgülle (,) ayırarak girin. Ayarlanırsa, yalnızca belirtilen forumlardaki konular görüntülenecektir.', + 'LIMIT_POST_TIME' => 'Gönderi zamanına göre sınırla', + 'LIMIT_POST_TIME_EXPLAIN' => 'Ayarlanırsa, yalnızca belirtilen süre içinde gönderilen konular alınacaktır', + + 'MAX_DEPTH' => 'En fazla derinlik', + 'MAX_ITEMS' => 'En fazla öge sayısı', + 'MAX_MEMBERS' => 'Maks. Üye', + 'MAX_POSTS' => 'En fazla gönderi sayısı', + 'MAX_TOPICS' => 'En fazla konu sayısı', + 'MAX_WORDS' => 'En fazla sözcük sayısı', + 'MANAGE_MENUS' => 'Menüleri Yönet', + 'MAP_COORDINATES' => 'Koordinatlar', + 'MAP_COORDINATES_EXPLAIN' => 'Enlem,boylam biçiminde koordinatları girin', + 'MAP_HEIGHT' => 'Yükseklik', + 'MAP_LOCATION' => 'Konum', + 'MAP_TITLE' => 'Başlık', + 'MAP_VIEW' => 'Görüntüle', + 'MAP_VIEW_HYBRID' => 'Hibrid', + 'MAP_VIEW_MAP' => 'Harita', + 'MAP_VIEW_SATELITE' => 'Uydu', + 'MAP_VIEW_TERRAIN' => 'Arazi', + 'MAP_ZOOM_LEVEL' => 'Yakınlaştırma Düzeyi', + 'MEMBERS_DATE' => 'Tarih', + 'MENU_NO_ITEMS' => 'Görüntülenecek aktif öğe yok', + 'MINI' => 'Mini', + + 'OR' => 'VEYA', + 'ORDER_BY' => 'Sırala', + + 'POLL_FROM_FORUMS' => 'Şu forum(lar)daki anketleri göster', + 'POLL_FROM_FORUMS_EXPLAIN' => 'Yukarıda herhangi bir konu belirtilmediği sürece yalnızca seçilen forumlardan anketler görüntülenecektir', + 'POLL_FROM_GROUPS' => 'Grup(lar)dan anketleri görüntüle', + 'POLL_FROM_GROUPS_EXPLAIN' => 'Yukarıda hiçbir kullanıcı/kullanıcı belirtilmediği sürece, yalnızca seçilen grupların üyelerinden gelen anketler görüntülenecektir', + 'POLL_FROM_TOPICS' => 'Display polls from topic(s)', + 'POLL_FROM_TOPICS_EXPLAIN' => 'Id(s) of topics to retrieve polls from, separated by commas(,). Leave blank to select any topic.', + 'POLL_FROM_USERS' => 'Şu kullanıcı(lar)ın anketlerini göster', + 'POLL_FROM_USERS_EXPLAIN' => 'Id(s) of user(s) whose polls you’d like to display, separated by commas(,). Leave blank to select polls from any user.', + 'POSTS_TITLE_LIMIT' => 'Gönderi başlığı için maksimum # karakter sayısı', + 'PREVIEW_MAX_CHARS' => 'Öngesterilecek karakter sayısı', + + 'QUERY_TYPE' => 'Görüntüleme modu', + + 'ROTATE_DAILY' => 'Günlük', + 'ROTATE_HOURLY' => 'Saatlik', + 'ROTATE_MONTHLY' => 'Aylık', + 'ROTATE_PAGELOAD' => 'Page load', + 'ROTATE_WEEKLY' => 'Haftalık', + + 'SAMPLES' => 'Örnekler', + 'SCRIPTS' => 'Scriptler', + 'SELECT_FORUMS' => 'Forumları Seçin', + 'SELECT_FORUMS_EXPLAIN' => 'Konuların/gönderilerin görüntüleneceği forumları seçin. Tüm forumlardan seçim yapmak için boş bırakın', + 'SELECT_MENU' => 'Menü Seç', + 'SELECT_PROFILE_FIELDS' => 'Profil alanlarını seç', + 'SELECT_PROFILE_FIELDS_EXPLAIN' => 'Varsa, yalnızca seçilen profil alanları görüntülenecektir.', + 'SHOW_FIRST_POST' => 'İlk Gönderi', + 'SHOW_HIDE_ME' => 'Çevrimiçi durumunu gizlemeye izin ver?', + 'SHOW_LAST_POST' => 'Son Gönderi', + 'SHOW_MEMBER_MENU' => 'Kullanıcı menüsünü göster?', + 'SHOW_MEMBER_MENU_EXPLAIN' => 'Kullanıcı oturum açtıysa, oturum açma kutusunu kullanıcı menüsüyle değiştirin', + 'SHOW_WORD_COUNT' => 'Sözcük sayılarını göster?', + + 'TEMPLATE' => 'Şablon', + 'TOPIC_TITLE_LIMIT' => 'Konu başlığı için maksimum # karakter sayısı', + 'TOPIC_TYPE' => 'Konu Türü', + 'TOPIC_TYPE_EXPLAIN' => 'Görüntülemek istediğiniz konu türlerini seçin. Tüm konu türleri arasından seçim yapmak için kutuları işaretlemeden bırakın', + 'TOPICS_LOOK_BACK' => 'Arkaya bak', + 'TOPICS_ONLY' => 'Sadece Konular?', + 'TOPICS_PER_PAGE' => 'Sayfa başına', + + 'WORD_MAX_SIZE' => 'En fazla yazı boyutu', + 'WORD_MIN_SIZE' => 'En az yazı boyutu', +)); diff --git a/language/tr/common.php b/language/tr/common.php new file mode 100644 index 000000000000..b9f2f0ce2b2e --- /dev/null +++ b/language/tr/common.php @@ -0,0 +1,97 @@ + 'Her Zaman', + + 'BLOCK_TITLE' => 'Blok Başlığı', + + 'CHANGE_ME' => 'Beni Değiştir', + + 'DAILY_MEMBER' => 'Günün Üyesi', + + 'FEATURED_MEMBER' => 'Özellikli Üye', + 'FEATURED_MEMBERLIST' => 'Özellikli Üye Listesi', + 'FEEDS' => 'Beslemeler', + 'FORUM_ANNOUNCEMENTS' => 'Forum Duyuruları', + 'FORUM_GLOBAL_ANNOUNCEMENTS' => 'Global Forum Duyuruları', + 'FORUM_RECENT_POSTS' => 'Son Forum Gönderileri', + 'FORUM_RECENT_TOPICS' => 'Son Forum Konuları', + 'FORUM_STICKY_POSTS' => 'Son Sabit Gönderiler', + + 'HELP' => 'Yardım', + 'HOURLY_MEMBER' => 'Saatin Üyesi', + + 'GOOGLE_MAP' => 'Google Haritalar', + + 'JOIN_DATE' => 'Katılma Tarihi', + + 'LAST_POST_BY_AUTHOR' => 'Son gönderi: ', + 'LAST_VISITED' => 'Son ziyaret', + 'LINKS' => 'Bağlantılar', + + 'MCP_SITEMAKER_CONTENT' => 'İçerikler', + 'MEMBERS_DATE' => 'Tarih', + 'MENU' => 'Menü', + 'MONTHLY_MEMBER' => 'Ayın Üyesi', + 'MOST_TENURED' => 'En Kadrolu', + 'MY_BOOKMARKS' => 'Yer İmlerim', + + 'NO_BOOKMARKED_TOPICS' => 'Hiç bir konuyu yer imlerine eklemediniz', + 'NO_NEW_TOPICS' => 'Görüntülenecek hiç yeni konu yok', + + 'POLL' => 'Anket', + 'POPULAR_TOPICS' => 'Popüler Konular', + 'POSTS_MEMBER' => 'En çok gönderisi olanlar', + 'PROCESSING' => 'işleniyor...', + + 'QTYPE_POSTS' => 'Tebrikler:', + 'QTYPE_RECENT' => 'Yeni üyemiz, hoş geldiniz:', + + 'RECENT_BOTS' => 'Son Arama Motorları', + 'RECENT_MEMBER' => 'Son Üye', + 'RECENT_MEMBERS' => 'Son Üyeler', + + 'SESSION_HIDE_ME' => 'Beni Gizle', + 'SM_NAVIGATION' => 'Gezinme', + 'SM_TOGGLE_DROPDOWN' => 'Açılır listeyi aç/kapat', + 'STYLE_SWITCHER' => 'Stil Değiştirici', + + 'THIS_MONTH' => 'Bu Ay', + 'THIS_WEEK' => 'Bu Hafta', + 'THIS_YEAR' => 'Bu Yıl', + 'TODAY' => 'Bugün', + 'TOPICS_LAST_READ' => 'Son Okunan Konular', + 'TOPIC_LAST_READ' => 'Son okuma %s', + 'TOP_POSTERS' => 'En çok gönderisi olanlar', + + 'UCP_SITEMAKER_CONTENT' => 'Benimkiler', + + 'VIEW_DETAILS' => 'Ayrıntıları Görüntüle', + 'VIEW_USER_PROFILE' => '%s hakkında her şey', + + 'WEEKLY_MEMBER' => 'Haftanın Üyesi', + 'WELCOME' => 'Hoşgeldiniz', + 'WHATS_NEW' => 'Neler yeni?', + 'WORDGRAPH' => 'Sözcük Bulutu', +)); diff --git a/language/tr/css_presets.php b/language/tr/css_presets.php new file mode 100644 index 000000000000..e8596e18e414 --- /dev/null +++ b/language/tr/css_presets.php @@ -0,0 +1,107 @@ + 'Ok liste oluşturucu', + 'LIST_CIRCLE' => 'Daire liste oluşturucu', + 'LIST_DISC' => 'Mermi liste oluturucu', + 'LIST_SQUARE' => 'Kare liste oluşturucu', + 'LIST_NUMBERED' => 'Numaralı liste', + 'LIST_NUMBERED_ALPHABET' => 'Alfabe ile numaralandırılmış', + 'LIST_NUMBERED_NESTED' => 'Alt bölümlerle numaralandırılmış', + 'LIST_NUMBERED_ROMAN' => 'Roma rakamlarıyla numaralandırılmış', + 'LIST_NUMBERED_ZERO' => 'Başında sıfır ile numaralandırılmış', + 'LIST_INLINE' => 'Satır içi liste', + 'LIST_INLINE_SEP' => 'Virgülle ayrılmış liste', + 'LIST_REVERSE' => 'Sıralamayı ters çevir', + 'LIST_STRIPED' => 'Çizgili liste', + 'LIST_STACKED' => 'Yığılmış liste', + 'LIST_TRIANGLE' => 'Üçgen', + 'LIST_HYPHEN' => 'Tire', + 'LIST_PLUS' => 'Artı', + 'LIST_SPADE' => 'Maça', + 'LIST_CLUB' => 'Kulüp', + 'LIST_DIAMOND' => 'Karo', + 'LIST_HEART' => 'Kupa', + 'LIST_STAR' => 'Yıldız', + 'LIST_CHECK' => 'Kontrol et', + 'LIST_SNOWFLAKE' => 'Kar tanesi', + 'LIST_MUSIC' => 'Müzik', + 'LIST_AUTOWIDTH' => 'Otomatik genişlik', + 'LIST_FIT_CONTENT' => 'Uygun içerik', + 'LIST_2COLS' => '2 sütun liste', + 'LIST_3COLS' => '3 sütun liste', + 'LIST_4COLS' => '4 sütun liste', + 'LIST_5COLS' => '5 sütun liste', + 'LIST_X_DIVIDER_DOTTED' => 'Yatay noktalı bölücü', + 'LIST_X_DIVIDER_LINE' => 'Yatay çizgi bölücü', + 'LIST_Y_DIVIDER_DOTTED' => 'Dikey noktaalı bölücü', + 'LIST_Y_DIVIDER_LINE' => 'Dikey çizgi bölücü', + + 'IMAGE_SMALL' => 'Küçük Görsel', + 'IMAGE_MEDIUM' => 'Orta Görsel', + 'IMAGE_LARGE' => 'Büyük Görsel', + 'IMAGE_FULL_WIDTH' => 'Tam genişlik resim', + 'IMAGE_ALIGN_LEFT' => 'Resmi sola yüzdür', + 'IMAGE_ALIGN_RIGHT' => 'Resmi sağa yüzdür', + 'IMAGE_CIRCLE' => 'Dairesel resim', + 'IMAGE_ROUNDED' => 'Yuvarlatılmış resim', + 'IMAGE_BORDER' => 'Kenarlıklı resim', + 'IMAGE_BORDER_PADDING' => 'Görüntü kenarlığı dolgusu', + 'IMAGE_RATIO_SQUARE' => 'Kare Resim', + 'IMAGE_RATIO_4_BY_3' => '4\'e 3 resim', + 'IMAGE_RATIO_16_BY_9' => '16\'ya 9 resim', + + 'RESPONSIVE_SHOW' => 'Sadece küçük (mobil) cihazlarda göster', + 'RESPONSIVE_HIDE' => 'Mobil cihazlarda gizle', + + 'ALIGN_LEFT' => 'Sola hizalı metin', + 'ALIGN_CENTER' => 'Ortalı metin', + 'ALIGN_RIGHT' => 'Sağa hizalı metin', + 'NO_PADDING' => 'Dolgu yok', + 'LABEL' => 'Etiket', + 'BADGE' => 'Rozet', + 'PRIMARY_COLOR' => 'Birincil renk', + 'SECONDARY_COLOR' => 'İkincil renk', + 'GRAYSCALE_COLOR' => 'Gri tonlama', + 'INFO_COLOR' => 'Bilgi', + 'SUCCESS_COLOR' => 'Başarılı', + 'WARNING_COLOR' => 'Uyarı', + 'DANGER_COLOR' => 'Tehlike', +)); diff --git a/language/tr/exceptions.php b/language/tr/exceptions.php new file mode 100644 index 000000000000..011b08099ba7 --- /dev/null +++ b/language/tr/exceptions.php @@ -0,0 +1,49 @@ + 'Gerekli alan eksik', + 'EXCEPTION_INVALID_ACTION' => 'Faliyet mevcut değil', + 'EXCEPTION_INVALID_ARGUMENT' => '"%1$s" için geçersiz bağımsız değişken belirtildi. Neden: %2$s', + 'EXCEPTION_INVALID_DATA_TYPE' => 'Sağlanan değer, beklenmeyen bir veri türünde', + 'EXCEPTION_INVALID_ENTITY' => 'Sağlanan varlık, beklenmeyen bir varlık sınıfına ait', + 'EXCEPTION_INVALID_PROPERTY' => 'İstenilen özellik mevcut değil', + 'EXCEPTION_OUT_OF_BOUNDS' => 'İstenilen `%1$s` mevcut değil', + 'EXCEPTION_SERVICE_NOT_FOUND' => 'İstenilen servis mevcut değil', + 'EXCEPTION_UNEXPECTED_VALUE' => 'İstenen `%1$s` eylemi gerçekleştirilemedi. Neden: %2$s', +)); diff --git a/language/tr/ext.php b/language/tr/ext.php new file mode 100644 index 000000000000..750578fdb043 --- /dev/null +++ b/language/tr/ext.php @@ -0,0 +1,42 @@ + 'phpBB Image dizini yazılabilir değil. Tüm izinleri yazılabilir olarak değiştirin (777 veya -rwxrwxrwx FTP Alıcısı ile)', + 'PHPBB_VERSION_UNMET' => 'Bu eklenti için gereken en düşük phpBB sürümü %s', +)); diff --git a/language/tr/feed_fields.php b/language/tr/feed_fields.php new file mode 100644 index 000000000000..2159f13b8c89 --- /dev/null +++ b/language/tr/feed_fields.php @@ -0,0 +1,108 @@ + 'yazar', + 'AUTHORS' => 'yazarlar (sıra)', + 'BITRATE' => 'bitrate', + 'CAPTIONS' => 'altyazılar', + 'CATEGORIES' => 'kategoriler (sıra)', + 'CATEGORY' => 'kategori', + 'CHANNELS' => 'kanallar', + 'CONTENT' => 'içerik', + 'CONTRIBUTOR' => 'katkıda bulunan', + 'CONTRIBUTORS' => 'katkıda bulunanlar (sıra)', + 'COPYRIGHT' => 'Telif Hakkı', + 'CREDITS' => 'Emeği Geçenler', + 'DATE' => 'tarih', + 'DESCRIPTION' => 'tanım', + 'DURATION' => 'süre', + 'ENCLOSURE' => 'muhafaza', + 'ENCLOSURES' => 'muhafazalar (sıra)', + 'EXPRESSION' => 'ifade', + 'FEED' => 'besleme', + 'FRAMERATE' => 'kare hızı', + 'GMDATE' => 'GM tarihi', + 'HANDLER' => 'işleyici', + 'HASHES' => 'hashler', + 'HEIGHT' => 'yükseklik', + 'ID' => 'id', + 'IMAGE_HEIGHT' => 'görsel yüksekliği', + 'IMAGE_LINK' => 'görsel bağlantısı', + 'IMAGE_TITLE' => 'görsel başlığı', + 'IMAGE_URL' => 'görsel url\'si', + 'IMAGE_WIDTH' => 'görsel genişliği', + 'ITEMS' => 'öğeler', + 'JAVASCRIPT' => 'javascript', + 'KEYWORDS' => 'anahtar kelimeler', + 'LABEL' => 'etiket', + 'LANG' => 'dil', + 'LATITUDE' => 'enlem', + 'LENGTH' => 'uzunluk', + 'LINK' => 'bağlantı', + 'LINKS' => 'bağlantılar', + 'LONGITUDE' => 'boylam', + 'MEDIUM' => 'orta', + 'NAME' => 'isim', + 'PERMALINK' => 'kalıcı bağlantı', + 'PLAYER' => 'oyuncu', + 'RATINGS' => 'puanlar', + 'RELATIONSHIP' => 'ilişki', + 'RESTRICTIONS' => 'kısıtlamalar (sıra)', + 'SAMPLINGRATE' => 'örnekleme oranı', + 'SCHEME' => 'şema', + 'SOURCE' => 'kaynak', + 'TERM' => 'şart', + 'THUMBNAILS' => 'küçükresimler', + 'TITLE' => 'başlık', + 'TYPE' => 'tür', + 'UPDATED_DATE' => 'güncelleme tarihi', + 'UPDATED_GMDATE' => 'güncellemiş GM tarihi', + 'VALUE' => 'değer', + 'WIDTH' => 'genişlik', +)); diff --git a/language/tr/icons.php b/language/tr/icons.php new file mode 100644 index 000000000000..0191edcebca5 --- /dev/null +++ b/language/tr/icons.php @@ -0,0 +1,71 @@ + 'Erişilebilirlik', + 'ICON_ARROWS' => 'Oklar', + 'ICON_BRAND' => 'Marka', + 'ICON_CHART' => 'Grafik', + 'ICON_CURRENCY' => 'Para birimi', + 'ICON_DIRECTIONAL' => 'Yönlü', + 'ICON_FILE_TYPE' => 'Dosya Türü', + 'ICON_FORM_CONTROL' => 'Form Denetimi', + 'ICON_GENDER' => 'Cinsiyet', + 'ICON_HAND' => 'El', + 'ICON_MEDICAL' => 'Medikal', + 'ICON_PAYMENT' => 'Ödeme', + 'ICON_SPINNER' => 'Çevirici', + 'ICON_TEXT_EDITOR' => 'Metin Düzenleyici', + 'ICON_TRANSPORTATION' => 'Taşıma', + 'ICON_VIDEO_PLAYER' => 'Video Oynatıcı', + 'ICON_WEB_APPLICATION' => 'Web Uygulaması', + + 'ICON_COLOR' => 'Renk', + 'ICON_DEFAULT' => 'Varsayılan', + 'ICON_FLIP_BOTH' => 'İkisini de Çevir', + 'ICON_FLIP_HORIZONTAL' => 'Yatay Çevir', + 'ICON_FLIP_VERTICAL' => 'Dikey Çevir', + 'ICON_FLOAT' => 'Yüzdür', + 'ICON_FLOAT_LEFT' => 'Sol', + 'ICON_FLOAT_RIGHT' => 'Sağ', + 'ICON_FONT' => 'Yazı tipi Simgeleri', + 'ICON_INSERT_UPDATE' => 'Ekle/Güncelle', + 'ICON_MISC' => 'Çeşitli', + 'ICON_MISC_BORDERED' => 'Kenarlıklı', + 'ICON_MISC_FIXED_WIDTH' => 'Sabit Genişlik', + 'ICON_MISC_PULSE' => 'Nabız', + 'ICON_MISC_SPINNING' => 'Döndürme', + 'ICON_ROTATION' => 'Döndür', + 'ICON_ROTATE_90' => '90°', + 'ICON_ROTATE_180' => '180°', + 'ICON_ROTATE_270' => '270°', + 'ICON_SIZE' => 'Boyut', + 'ICON_SIZE_LG' => 'Daha Geniş', + 'ICON_SIZE_SM' => 'Küçük', + 'ICON_SIZE_2X' => '2x', + 'ICON_SIZE_3X' => '3x', + 'ICON_SIZE_4X' => '4x', + 'ICON_SIZE_5X' => '5x', + + 'NO_ICON' => 'Simge Yok', +)); diff --git a/language/tr/info_acp_menus.php b/language/tr/info_acp_menus.php new file mode 100644 index 000000000000..244c64d76579 --- /dev/null +++ b/language/tr/info_acp_menus.php @@ -0,0 +1,92 @@ + 'Menü', + 'ACP_MENU_MANAGE' => 'Menü Yönetimi', + 'ACP_MENU_MANAGE_EXPLAIN' => 'Buradan siten için menüler oluşturabilir ve yönetebilirsin', + 'ADD_BULK_MENU' => 'Menü Öğelerini Toplu Ekle', + 'ADD_BULK_MENU_EXPLAIN' => 'Bir kerede birden çok menü öğesi ekleyin.
- Her öğeyi ayrı bir satıra yerleştirin
- Üst-alt ilişkisini temsil edecek öğeleri girintilemek için Tab tuşunu kullanın
- Girin öğe ve URL şöyle: Ana Sayfa|index.php', + 'ADD_MENU' => 'Menü Ekle', + 'ADD_MENU_ITEM' => 'Menü öğesi ekle', + 'ADD_ITEM' => 'Yeni Öğe Ekle', + 'AJAX_PROCESSING' => 'Çalışıyor', + + 'CHANGE_ME' => 'Beni Değiştir', + + 'DELETE_ITEM' => 'Öğeyi Sil', + 'DELETE_KIDS' => 'Dalı Sil', + 'DELETE_MENU' => 'Menüyü sil', + 'DELETE_MENU_CONFIRM' => 'Bu menüyü silmek istediğinize emin misiniz?
Bu işlem menüyü ve onun tüm öğelerini silecek', + 'DELETE_MENU_ITEM' => 'Öğeyi Sil', + 'DELETE_MENU_ITEM_CONFIRM' => 'Bu menü öğesini silmek istediğinize emin misiniz?', + 'DELETE_SELECTED' => 'Seçileni Sil', + + 'EDIT_ITEM' => 'Ögeyi Düzenle', + + 'ITEM_ACTIVE' => 'Etkin', + 'ITEM_INACTIVE' => 'İnaktif', + 'ITEM_PARENT' => 'Üst', + 'ITEM_TITLE' => 'Öğe Başlığı', + 'ITEM_TITLE_EXPLAIN' => 'Ayırıcı için \'-\' olarak ayarla', + 'ITEM_TARGET' => 'Öğe Hedefi', + 'ITEM_URL' => 'Öğe URL\'si', + 'ITEM_URL_EXPLAIN' => '- Başlıklar için boş bırakın
- Harici siteler http(s)://, ftp://, // vb. ile başlamalıdır', + + 'MENU_ITEMS' => 'Menü Öğeleri', + + 'NO_MENU_ITEMS' => 'Hiçbir menü öğesi oluşturulmadı', + 'NO_PARENT' => 'Üst yok', + + 'PROCESSING_ERROR' => 'İşleme hatası', + + 'REBUILD_TREE' => 'Rebuild Tree', + 'REQUIRED' => 'Gerekli', + 'REQUIRED_FIELDS' => '* Zorunlu Alanlar', + + 'SAVE_CHANGES' => 'Değişiklikleri Kaydet', + 'SAVE' => 'Kaydet', + 'SELECT_ALL' => 'Hepsini seç', + + 'TARGET_BLANK' => 'Boş Sayfa', + 'TARGET_PARENT' => 'Üst', + + 'UNSAVED_CHANGES' => 'Kaydedilmemiş değişiklikleriniz var', + + 'VISIT_PAGE' => 'Sayfayı ziyaret et', +)); diff --git a/language/tr/info_acp_settings.php b/language/tr/info_acp_settings.php new file mode 100644 index 000000000000..800dc914949a --- /dev/null +++ b/language/tr/info_acp_settings.php @@ -0,0 +1,74 @@ + 'SiteMaker', + 'ACP_SM_SETTINGS' => 'Ayarlar', + + 'BLOCKS_CLEANUP' => 'Blok Temizliği', + 'BLOCKS_CLEANUP_EXPLAIN' => 'Aşağıdaki öğelerin artık mevcut olmadığı veya erişilemediği bulundu ve bu nedenle bunlarla ilişkili tüm blokları silebilirsiniz. Lütfen bunlardan bazılarının yanlış pozitif olabileceğini unutmayın', + 'BLOCKS_CLEANUP_BLOCKS' => 'Geçersiz Bloklar (ör. kaldırılan uzantılardan):', + 'BLOCKS_CLEANUP_ROUTES' => 'Ulaşılamayan/bozuk Sayfalar:', + 'BLOCKS_CLEANUP_STYLES' => 'Kaldırılan Stiller (id\'ler):', + 'BLOCKS_CLEANUP_SUCCESS' => 'Bloklar başarıyla budandı', + + 'FORUM_INDEX_SETTINGS' => 'Forum Anasayfa Ayarları', + 'FORUM_INDEX_SETTINGS_EXPLAIN' => 'Bu ayarlar yalnızca tanımlanmış bir başlangıç sayfası olmadığında geçerlidir', + + 'HIDE' => 'Gizle', + 'HIDE_BIRTHDAY' => 'Doğumgünü alanını gizle', + 'HIDE_LOGIN' => 'Giriş kutucuğunu gizle', + 'HIDE_ONLINE' => 'Kimler çevirimiçi alanını gizle', + + 'LAYOUT_BLOG' => 'Blog', + 'LAYOUT_CUSTOM' => 'Özel', + 'LAYOUT_HOLYGRAIL' => 'Kutsal Kâse', + 'LAYOUT_PORTAL' => 'Portal', + 'LAYOUT_PORTAL_ALT' => 'Portal (alt)', + 'LAYOUT_SETTINGS' => 'Şablon Ayarları', + + 'LOG_DELETED_BLOCKS_FOR_STYLE' => '%s kimliğine sahip eksik stil nedeniyle Sitemaker blokları silindi', + 'LOG_DELETED_BLOCKS_FOR_ROUTE' => 'Bozuk sayfalar için Sitemaker blokları silindi:
%s', + 'LOG_DELETED_BLOCKS' => 'Geçersiz Sitemaker blokları silindi:
%s', + + 'NAVIGATION_SETTINGS' => 'Gezinme çubuğu Ayarları', + + 'SETTINGS_SAVED' => 'Ayarlarınız kaydedildi', + 'SHOW' => 'Göster', + 'SHOW_FORUM_NAV' => 'Gezinme çubuğunda \'Forum\' gösterilsin mi?', + 'SHOW_FORUM_NAV_EXPLAIN' => 'Bir sayfa forum dizini yerine başlangıç sayfası olarak ayarlandığında, gezinme çubuğunda \'Forum\'u görüntülemeli miyiz', + 'SHOW_FORUM_NAV_WITH_ICON' => 'Evet - Simge ile:', +]); diff --git a/language/tr/navbar_manager.php b/language/tr/navbar_manager.php new file mode 100644 index 000000000000..18d5103c4151 --- /dev/null +++ b/language/tr/navbar_manager.php @@ -0,0 +1,79 @@ + 'Aktif Eleman', + 'BORDER' => 'Kenarlık', + 'BORDER_COLOR' => 'Kenarlık Rengi', + 'BORDER_RADIUS' => 'Kenarlık Yarıçapı', + 'BORDER_WIDTH' => 'Kenarlık Genişliği', + 'BOTTOM' => 'En Alt', + 'BOTTOM_LEFT' => 'Sol Alt', + 'BOTTOM_RIGHT' => 'Sağ Alt', + 'CAPITALIZE' => 'Büyük Harfe Çevir', + 'COLOR' => 'Renk', + 'DIVIDERS' => 'Ayırıcılar', + 'END' => 'Son', + 'GRADIENT' => 'Eğim', + 'HEADERS' => 'Başlıklar', + 'HOVER' => 'Vurgu', + 'LEFT' => 'Sol', + 'LOWERCASE' => 'Küçük harf', + 'MARGIN' => 'Margin', + 'NAVBAR' => 'Gezinti çubuğu', + 'NAVBAR_MENU' => 'Gezinti Çubuğu Menüsü', + 'NAVBAR_DROPDOWN' => 'Açılır Liste', + 'NAVBAR_LOCATION' => 'Konum', + 'NAVBAR_LOCATION_OPTION' => 'Konum #%s', + 'NAVBAR_TOP_MENU' => 'Üst Menü', + 'NONE' => 'Hiçbiri', + 'PADDING' => 'Dolgu', + 'RESPONSIVE_TOGGLE' => 'Duyarlı Geçiş', + 'RESPONSIVE_TOGGLE_EXPLAIN' => 'Sadece küçük (mobil) ekranlarda görüntülenebilir', + 'RIGHT' => 'Sağ', + 'SAVE' => 'Kaydet', + 'SIZE' => 'Boyut', + 'START' => 'Başlat', + 'TEXT' => 'Metin', + 'TOP' => 'Üst', + 'TOP_LEFT' => 'Sol Üst', + 'TOP_RIGHT' => 'Sağ Üst', + 'TRANSFORM' => 'Dönüştür', + 'UPPERCASE' => 'Büyük harf', +)); diff --git a/language/tr/permissions_sitemaker.php b/language/tr/permissions_sitemaker.php new file mode 100644 index 000000000000..7790d54e0bd3 --- /dev/null +++ b/language/tr/permissions_sitemaker.php @@ -0,0 +1,45 @@ + '[ SiteMaker ] Ayarları Yönetebilir', + 'ACL_A_SM_MANAGE_BLOCKS' => '[ SiteMaker ] Blokları Yönetebilir', + 'ACL_A_SM_MANAGE_MENUS' => '[ SiteMaker ] Menüleri Yönetebilir', +)); diff --git a/language/zh-cmn-hans/block_manager.php b/language/zh-cmn-hans/block_manager.php new file mode 100644 index 000000000000..07893686be25 --- /dev/null +++ b/language/zh-cmn-hans/block_manager.php @@ -0,0 +1,123 @@ + '*拖放块', + 'AJAX_ERROR' => '哎呀!处理您的请求时出错。请再试一次。', + 'AJAX_LOADING' => '加载中...', + 'AJAX_PROCESSING' => '工作中...', + + 'BACKGROUND' => '二. 背景', + 'BLOCKS' => '块', + 'BLOCKS_COPY_FROM' => '复制块', + 'BLOCK_ACTIVE' => '已启用', + 'BLOCK_CHILD_ROUTES_ONLY' => '仅在子路上显示', + 'BLOCK_CHILD_ROUTES_HIDE' => '在子路上隐藏', + 'BLOCK_CLASS' => 'CSS 类', + 'BLOCK_CLASS_EXPLAIN' => '使用 CSS 类修改方块外观', + 'BLOCK_DESIGN' => '外观', + 'BLOCK_DISPLAY_TYPE' => '显示', + 'BLOCK_HIDE_TITLE' => '隐藏方块标题?', + 'BLOCK_INACTIVE' => '未激活', + 'BLOCK_MISSING_TEMPLATE' => '缺少必需的块模板。请联系开发者', + 'BLOCK_NOT_FOUND' => '哎呀!找不到请求的块服务', + 'BLOCK_NO_DATA' => '没有要显示的数据', + 'BLOCK_NO_ID' => '哎呀!缺少方块id', + 'BLOCK_PERMISSION' => '权限', + 'BLOCK_PERMISSION_ALLOW' => '显示到', + 'BLOCK_PERMISSION_DENY' => '隐藏自', + 'BLOCK_PERMISSION_EXPLAIN' => '使用 CTRL + 点击切换选择', + 'BLOCK_SHOW_ALWAYS' => '总是显示', + 'BLOCK_STATUS' => '状态', + 'BLOCK_UPDATED' => '块设置已成功更新', + + 'CANCEL' => '取消', + 'CHILD_ROUTE' => '儿童', + 'CHILD_ROUTE_EXPLAIN' => '/viewforum.php /dir/index.php
/viewtopic.php?f=2&t=1
/articles/my-article', + 'CLEAR' => '清空', + 'COPY' => '复制', + 'COPY_BLOCKS' => '复制块?', + 'COPY_BLOCKS_CONFIRM' => '您确定要从另一页复制方块吗?

这将删除此页面的所有现有方块及其设置,并用所选页面的方块替换它们。', + + 'DEFAULT_LAYOUT_EXPLAIN' => '如果设置,您没有指定区块的所有站点页面都将继承默认布局中的区块。 然而,您可以使用右边的选项覆盖特定页面的默认布局。', + 'DELETE' => '删除', + 'DELETE_ALL_BLOCKS' => '删除所有块', + 'DELETE_ALL_BLOCKS_CONFIRM' => '您确定要删除此页面的所有块吗?', + 'DELETE_BLOCK' => '删除块', + 'DELETE_BLOCK_CONFIRM' => '您确定要删除此块吗?


注意: 您需要保存布局更改才能使其永久化。', + + 'EDIT' => '编辑', + 'EDIT_BLOCK' => '编辑块', + 'EXIT_EDIT_MODE' => '退出编辑模式', + + 'FEED_PROBLEMS' => '处理提供的 rss/atom Feed 时出现问题', + 'FEED_URL_MISSING' => '请至少提供一个 rss/atom 种子来开始', + 'FIELD_INVALID' => '为“%s”字段提供的值有一个无效格式', + 'FIELD_REQUIRED' => '“%s”是必填字段', + 'FIELD_TOO_LONG' => '为“%1$s”字段提供的值太长。最大可接受值为 %2$d。', + 'FIELD_TOO_SHORT' => '为字段提供的值“%1$s”太短。最低可接受值为 %2$d。', + + 'HIDE_ALL_BLOCKS' => '不显示此页面上的块', + 'HIDE_BLOCK_POSITIONS' => '不要为以下方块位置显示方块:', + + 'IMAGES' => '图像', + + 'LAYOUT' => '布局', + 'LAYOUT_SAVED' => '布局保存成功!', + 'LAYOUT_SETTINGS' => '布局设置', + 'LEAVE_CONFIRM' => '您在此页面有一些未保存的更改。请在继续操作之前保存您的工作', + 'LISTS' => '列表', + + 'MAKE_DEFAULT_LAYOUT' => '设置为默认布局', + + 'OR' => '', + + 'PARENT_ROUTE' => '父级', + 'PARENT_ROUTE_EXPLAIN' => '/index.php
/viewforum.php?f=2
/文章', + 'PREDEFINED_CLASSES' => '预定义类', + + 'REDO' => '重做', + 'REMOVE_DEFAULT_LAYOUT' => '移除为默认布局', + 'REMOVE_STARTPAGE' => '删除起始页', + 'ROUTE_HIDDEN_BLOCKS' => '此页面的方块被隐藏', + 'ROUTE_HIDDEN_POSITIONS' => '方块被隐藏在以下位置', + 'ROUTE_UPDATED' => '页面设置已更新', + + 'SAVE_CHANGES' => '保存更改', + 'SAVE_SETTINGS' => '保存设置', + 'SELECT_ICON' => '选择一个图标', + 'SETTINGS' => '设置', + 'SETTING_TOO_BIG' => '为“%1$s”设置提供的值过高。最大可接受值为 %2$d。', + 'SETTING_TOO_LONG' => '为“%1$s”设置提供的值太长。最大可接受的长度是 %2$d。', + 'SETTING_TOO_LOW' => '为“%1$s”设置提供的值太低。最低可接受值为 %2$d。', + 'SETTING_TOO_SHORT' => '为“%1$s”设置提供的值太短。最小可接受的长度是 %2$d。', + 'SET_STARTPAGE' => '设置为起始页', + + 'TITLES' => '标题', + + 'UPDATE_SIMILAR' => '更新有相似设置的块', + 'UNDO' => '撤消操作', + + 'VIEW_DEFAULT_LAYOUT' => '查看/编辑默认布局', + 'VISIT_PAGE' => '访问页面', +)); diff --git a/language/zh-cmn-hans/blocks_admin.php b/language/zh-cmn-hans/blocks_admin.php new file mode 100644 index 000000000000..7a430a835edc --- /dev/null +++ b/language/zh-cmn-hans/blocks_admin.php @@ -0,0 +1,189 @@ + '所有类型', + 'ALL_GROUPS' => '所有组', + 'ARCHIVES' => '档案', + 'AUTO_LOGIN' => '是否允许自动登录?', + 'FILE_MANAGER' => '文件管理器', + 'TOPIC_POST_IDS' => '从主题/费用ID', + 'TOPIC_POST_IDS_EXPLAIN' => '要从附件中检索的主题/帖子的ID,用 逗号(,)分隔。指定该列表是否针对主题或帖子id。', + 'TOPIC_POST_IDS_TYPE' => 'ID类型(下面)', + + // Blocks + 'BLITZE_SITEMAKER_BLOCK_ATTACHMENTS' => '附件', + 'BLITZE_SITEMAKER_BLOCK_BIRTHDAY' => '生日', + 'BLITZE_SITEMAKER_BLOCK_CUSTOM' => '自定义块', + 'BLITZE_SITEMAKER_BLOCK_FEATURED_MEMBER' => '精选成员', + 'BLITZE_SITEMAKER_BLOCK_FEEDS' => 'RSS/Atom Feed', + 'BLITZE_SITEMAKER_BLOCK_FORUM_POLL' => '论坛投票', + 'BLITZE_SITEMAKER_BLOCK_FORUM_TOPICS' => '论坛主题', + 'BLITZE_SITEMAKER_BLOCK_GOOGLE_MAPS' => '谷歌地图', + 'BLITZE_SITEMAKER_BLOCK_POPULAR_TOPICS' => '热门主题', + 'BLITZE_SITEMAKER_BLOCK_LINKS' => '链接', + 'BLITZE_SITEMAKER_BLOCK_LOGIN' => '登录框', + 'BLITZE_SITEMAKER_BLOCK_MEMBERS' => '成员', + 'BLITZE_SITEMAKER_BLOCK_MEMBER_MENU' => '会员菜单', + 'BLITZE_SITEMAKER_BLOCK_MENU' => '菜单', + 'BLITZE_SITEMAKER_BLOCK_MYBOOKMARKS' => '我的书签', + 'BLITZE_SITEMAKER_BLOCK_RECENT_TOPICS' => '最近的主题', + 'BLITZE_SITEMAKER_BLOCK_STATS' => '统计', + 'BLITZE_SITEMAKER_BLOCK_STYLE_SWITCHER' => '样式切换器', + 'BLITZE_SITEMAKER_BLOCK_WHATS_NEW' => '有什么新内容?', + 'BLITZE_SITEMAKER_BLOCK_WHOIS' => '谁在线', + 'BLITZE_SITEMAKER_BLOCK_WORDGRAPH' => '单词图', + + // block views + 'BLOCK_VIEW' => '屏蔽视图', + 'BLOCK_VIEW_BASIC' => '基本的', + 'BLOCK_VIEW_BOXED' => '盒子', + 'BLOCK_VIEW_DEFAULT' => '默认设置', + 'BLOCK_VIEW_SIMPLE' => '简单的', + + 'CACHE_DURATION' => '缓存持续时间', + 'CONTEXT' => '二. 背景', + 'CSS_SCRIPTS' => 'CSS Scripts', + 'CUSTOM_PROFILE_FIELDS' => '自定义配置文件字段', + + 'DATE_RANGE' => 'Date Range', + 'DISPLAY_PREVIEW' => '显示预览吗?', + + 'EDIT_ME' => '请编辑我', + 'ENABLE_TOPIC_TRACKING' => '启用主题跟踪?', + 'ENABLE_TOPIC_TRACKING_EXPLAIN' => '如果启用,将会显示未读主题,但块结果将不会被缓存 (不推荐)', + 'EXCLUDE_TOO_MANY_WORDS' => '您输入的单词过多,无法排除。最大字符数为255,您已经输入 %s。', + 'EXCLUDE_WORDS' => '排除单词', + 'EXCLUDE_WORDS_EXPLAIN' => '列出您想要从用逗号 (,)分隔的单词中排除的单词。最多255个字符。', + 'EXPANDED' => '扩展', + 'EXTENSION_GROUP' => '扩展组', + + 'FEATURED_MEMBER_IDS' => '用户 ID', + 'FEATURED_MEMBER_IDS_EXPLAIN' => '使用逗号分隔的用户列表 (仅适用于精选成员显示模式)', + 'FEED_DATA_PREVIEW' => '新闻源数据', + 'FEED_ITEM_TEMPLATE' => '项目模板', + 'FEED_ITEM_TEMPLATE_EXPLAIN' => 'TIPS:
+
    +
  • 访问Feed数据在 item 变量。 目 录 itle
  • +
  • 模板必须在 Twig 语法
  • +
  • 点击 样本 以上的样本模板
  • +
  • 使用 get_item_tags($namespace, $tag) 获取我们不提供的新闻源的任何标签。 。
    {{ get_item_tags(\'\', \'image\') }}
  • +
  • 使用 Twig\'s json_code 过滤器查看数组内容 e。 。 {Sponge get_item_tags(\'\', \'image\')|json_encode() }}
  • +
', + 'FEED_PREVIEW_SOURCE' => '来源', + 'FEED_URL_PLACEHOLDER' => 'http://example.com/rss', + 'FEED_URLS' => 'Feed URL', + 'FIRST_POST_ONLY' => '仅第一篇文章', + 'FIRST_POST_TIME' => '首次发布时间', + 'FORUMS_GET_TYPE' => '获取类型', + 'FORUMS_MAX_TOPICS' => '最大主题/帖子', + 'FORUMS_TITLE_MAX_CHARS' => '每个标题的最大字符', + 'FREQUENCY' => '频率', + 'FULL' => '完整的', + 'FULLSCREEN' => '全屏', + + 'GET_TYPE' => '显示主题/帖子?', + + 'HTML' => 'HTML', + 'HTML_EXPLAIN' => '使用此文本输入原始HTML内容。
请注意,此处发布的任何内容都将覆盖自定义块内容,视觉块编辑器将不可用。', + 'HOURS_SHORT' => '小时', + + 'JS_SCRIPTS' => 'JS 脚本', + + 'LAST_POST_TIME' => '最后发布时间', + 'LAST_READ_TIME' => '最后阅读时间', + 'LIMIT' => '限制', + 'LIMIT_FORUMS' => '论坛ID (可选)', + 'LIMIT_FORUMS_EXPLAIN' => '输入每个论坛ID以逗号 (,)分隔。如果设置,只显示指定论坛中的主题。', + 'LIMIT_POST_TIME' => '按发布时间限制', + 'LIMIT_POST_TIME_EXPLAIN' => '如果设置,只能检索在指定时间段内发布的主题', + + 'MAX_DEPTH' => '最大深度', + 'MAX_ITEMS' => '最大项目数', + 'MAX_MEMBERS' => '最大成员', + 'MAX_POSTS' => '最大帖子数', + 'MAX_TOPICS' => '主题的最大数量', + 'MAX_WORDS' => '最大单词数', + 'MANAGE_MENUS' => '管理菜单', + 'MAP_COORDINATES' => '坐标', + 'MAP_COORDINATES_EXPLAIN' => '输入经纬度的坐标', + 'MAP_HEIGHT' => '高度', + 'MAP_LOCATION' => '地点', + 'MAP_TITLE' => '标题', + 'MAP_VIEW' => '查看', + 'MAP_VIEW_HYBRID' => '混合的', + 'MAP_VIEW_MAP' => '地图', + 'MAP_VIEW_SATELITE' => 'Satellite', + 'MAP_VIEW_TERRAIN' => 'Terrain', + 'MAP_ZOOM_LEVEL' => '缩放级别', + 'MEMBERS_DATE' => '日期', + 'MENU_NO_ITEMS' => '没有活动项目要显示', + 'MINI' => '迷你的', + + 'OR' => '', + 'ORDER_BY' => '排序方式', + + 'POLL_FROM_FORUMS' => '显示来自论坛的调查 (s)', + 'POLL_FROM_FORUMS_EXPLAIN' => '只显示来自所选论坛的投票,只要上面没有指定主题', + 'POLL_FROM_GROUPS' => '显示来自群组的调查', + 'POLL_FROM_GROUPS_EXPLAIN' => '只显示所选组成员的投票,只要上面没有用户(s)', + 'POLL_FROM_TOPICS' => '显示来自主题的调查 (s)', + 'POLL_FROM_TOPICS_EXPLAIN' => '要从中检索调查的主题,用 逗号(,)分隔。留空以选择任何主题。', + 'POLL_FROM_USERS' => '显示来自用户的调查 (s)', + 'POLL_FROM_USERS_EXPLAIN' => '您想要显示投票的用户ID(s),用 逗号(,)分隔。留空以从任何用户选择投票。', + 'POSTS_TITLE_LIMIT' => '文章标题的最大字符数', + 'PREVIEW_MAX_CHARS' => '要预览的字符数', + + 'QUERY_TYPE' => '显示模式', + + 'ROTATE_DAILY' => '每天', + 'ROTATE_HOURLY' => '每小时', + 'ROTATE_MONTHLY' => '每月的', + 'ROTATE_PAGELOAD' => '页面负载', + 'ROTATE_WEEKLY' => '每周的', + + 'SAMPLES' => '示例:', + 'SCRIPTS' => '脚本', + 'SELECT_FORUMS' => '选择论坛', + 'SELECT_FORUMS_EXPLAIN' => '选择显示主题/帖子的论坛。留空则从所有论坛中选择', + 'SELECT_MENU' => '选择菜单', + 'SELECT_PROFILE_FIELDS' => '选择配置文件字段', + 'SELECT_PROFILE_FIELDS_EXPLAIN' => '如果可用,只有选中的配置文件字段将被显示。', + 'SHOW_FIRST_POST' => '第一个帖子', + 'SHOW_HIDE_ME' => '允许隐藏在线状态?', + 'SHOW_LAST_POST' => '上次帖子', + 'SHOW_MEMBER_MENU' => '显示用户菜单?', + 'SHOW_MEMBER_MENU_EXPLAIN' => '如果用户登录,用用户菜单替换登录框', + 'SHOW_WORD_COUNT' => '显示单词计数?', + + 'TEMPLATE' => '模板', + 'TOPIC_TITLE_LIMIT' => '主题标题的最大字符数', + 'TOPIC_TYPE' => '主题类型', + 'TOPIC_TYPE_EXPLAIN' => '选择您想要显示的主题类型。不选中框以从所有主题类型中选择', + 'TOPICS_LOOK_BACK' => '向后查看', + 'TOPICS_ONLY' => '只显示主题?', + 'TOPICS_PER_PAGE' => '每页', + + 'WORD_MAX_SIZE' => '最大字体大小', + 'WORD_MIN_SIZE' => '最小字体大小', +)); diff --git a/language/zh-cmn-hans/common.php b/language/zh-cmn-hans/common.php new file mode 100644 index 000000000000..a0543cdd889f --- /dev/null +++ b/language/zh-cmn-hans/common.php @@ -0,0 +1,97 @@ + '全部时间', + + 'BLOCK_TITLE' => '块标题', + + 'CHANGE_ME' => '更改我', + + 'DAILY_MEMBER' => '当天的成员', + + 'FEATURED_MEMBER' => '精选成员', + 'FEATURED_MEMBERLIST' => '精选成员列表', + 'FEEDS' => '订阅源', + 'FORUM_ANNOUNCEMENTS' => '论坛公告', + 'FORUM_GLOBAL_ANNOUNCEMENTS' => '全球论坛公告', + 'FORUM_RECENT_POSTS' => '最近的论坛帖子', + 'FORUM_RECENT_TOPICS' => '最近的论坛主题', + 'FORUM_STICKY_POSTS' => '最近置顶帖子', + + 'HELP' => '帮助', + 'HOURLY_MEMBER' => '小时成员', + + 'GOOGLE_MAP' => '谷歌地图', + + 'JOIN_DATE' => '加入日期', + + 'LAST_POST_BY_AUTHOR' => '最后一个帖子由', + 'LAST_VISITED' => '上次访问', + 'LINKS' => '链接', + + 'MCP_SITEMAKER_CONTENT' => '目录', + 'MEMBERS_DATE' => '日期', + 'MENU' => '菜单', + 'MONTHLY_MEMBER' => '月份成员', + 'MOST_TENURED' => '最有效的', + 'MY_BOOKMARKS' => '我的书签', + + 'NO_BOOKMARKED_TOPICS' => '您还没有给任何主题添加书签', + 'NO_NEW_TOPICS' => '没有要显示的新主题', + + 'POLL' => '投票', + 'POPULAR_TOPICS' => '热门主题', + 'POSTS_MEMBER' => '顶级海报', + 'PROCESSING' => '正在处理...', + + 'QTYPE_POSTS' => '恭喜:', + 'QTYPE_RECENT' => '请欢迎我们的最新成员:', + + 'RECENT_BOTS' => '最近的搜索引擎', + 'RECENT_MEMBER' => '最近的成员', + 'RECENT_MEMBERS' => '最近成员', + + 'SESSION_HIDE_ME' => '隐藏我', + 'SM_NAVIGATION' => 'Navigation', + 'SM_TOGGLE_DROPDOWN' => '切换下拉列表', + 'STYLE_SWITCHER' => '样式切换器', + + 'THIS_MONTH' => '本月', + 'THIS_WEEK' => '本周', + 'THIS_YEAR' => '本年', + 'TODAY' => '今日:', + 'TOPICS_LAST_READ' => '最后阅读主题', + 'TOPIC_LAST_READ' => '最后读取 %s', + 'TOP_POSTERS' => '热门海报', + + 'UCP_SITEMAKER_CONTENT' => '我的', + + 'VIEW_DETAILS' => '查看详情', + 'VIEW_USER_PROFILE' => '全部关于 %s', + + 'WEEKLY_MEMBER' => '每周成员', + 'WELCOME' => '欢迎使用', + 'WHATS_NEW' => '有什么新内容?', + 'WORDGRAPH' => '单词图', +)); diff --git a/language/zh-cmn-hans/css_presets.php b/language/zh-cmn-hans/css_presets.php new file mode 100644 index 000000000000..c2815cd20510 --- /dev/null +++ b/language/zh-cmn-hans/css_presets.php @@ -0,0 +1,107 @@ + '箭头列表标记', + 'LIST_CIRCLE' => '圆形列表标记', + 'LIST_DISC' => '子弹列表标记', + 'LIST_SQUARE' => '方形列表标记', + 'LIST_NUMBERED' => '编号列表', + 'LIST_NUMBERED_ALPHABET' => '字母编号', + 'LIST_NUMBERED_NESTED' => '与小区段的编号', + 'LIST_NUMBERED_ROMAN' => '与罗马数字的数字', + 'LIST_NUMBERED_ZERO' => '前面为零的数字', + 'LIST_INLINE' => '内联列表', + 'LIST_INLINE_SEP' => '逗号分隔的列表', + 'LIST_REVERSE' => '反向顺序', + 'LIST_STRIPED' => '条形列表', + 'LIST_STACKED' => '堆栈列表', + 'LIST_TRIANGLE' => '三角形', + 'LIST_HYPHEN' => 'Hyphen', + 'LIST_PLUS' => '加号', + 'LIST_SPADE' => 'Spade', + 'LIST_CLUB' => 'Club', + 'LIST_DIAMOND' => '钻石:', + 'LIST_HEART' => '爱心', + 'LIST_STAR' => '星标', + 'LIST_CHECK' => '检查', + 'LIST_SNOWFLAKE' => '雪花', + 'LIST_MUSIC' => '音乐', + 'LIST_AUTOWIDTH' => 'Auto width', + 'LIST_FIT_CONTENT' => '适合内容', + 'LIST_2COLS' => '2 列列表', + 'LIST_3COLS' => '3列列表', + 'LIST_4COLS' => '4列列表', + 'LIST_5COLS' => '5列列表', + 'LIST_X_DIVIDER_DOTTED' => '水平虚线分隔符', + 'LIST_X_DIVIDER_LINE' => '水平线分隔符', + 'LIST_Y_DIVIDER_DOTTED' => '垂直虚线分隔符', + 'LIST_Y_DIVIDER_LINE' => '垂直线分隔符', + + 'IMAGE_SMALL' => '小图像', + 'IMAGE_MEDIUM' => '中等图像', + 'IMAGE_LARGE' => '大图像', + 'IMAGE_FULL_WIDTH' => '全宽图像', + 'IMAGE_ALIGN_LEFT' => '向左浮点数', + 'IMAGE_ALIGN_RIGHT' => '向右浮动图像', + 'IMAGE_CIRCLE' => '圆形图像', + 'IMAGE_ROUNDED' => '圆角图像', + 'IMAGE_BORDER' => '带边框的图像', + 'IMAGE_BORDER_PADDING' => 'Image border padding', + 'IMAGE_RATIO_SQUARE' => '方形图像', + 'IMAGE_RATIO_4_BY_3' => '4 by 3 image', + 'IMAGE_RATIO_16_BY_9' => '16 by 9 image', + + 'RESPONSIVE_SHOW' => '仅在小设备上显示', + 'RESPONSIVE_HIDE' => '在小设备上隐藏', + + 'ALIGN_LEFT' => '左对齐文本', + 'ALIGN_CENTER' => 'Center文本', + 'ALIGN_RIGHT' => '右对齐文本', + 'NO_PADDING' => 'No padding', + 'LABEL' => '标签', + 'BADGE' => '徽章', + 'PRIMARY_COLOR' => '主颜色', + 'SECONDARY_COLOR' => '次要颜色', + 'GRAYSCALE_COLOR' => 'Grayscale', + 'INFO_COLOR' => '信息', + 'SUCCESS_COLOR' => '成功', + 'WARNING_COLOR' => '警告', + 'DANGER_COLOR' => '危险', +)); diff --git a/language/zh-cmn-hans/exceptions.php b/language/zh-cmn-hans/exceptions.php new file mode 100644 index 000000000000..a59e35491cdd --- /dev/null +++ b/language/zh-cmn-hans/exceptions.php @@ -0,0 +1,49 @@ + '缺少必填字段', + 'EXCEPTION_INVALID_ACTION' => '该操作不存在', + 'EXCEPTION_INVALID_ARGUMENT' => '为`%1$s`指定的参数无效。原因: %2$s', + 'EXCEPTION_INVALID_DATA_TYPE' => '提供的值是意外的数据类型', + 'EXCEPTION_INVALID_ENTITY' => '提供的实体是意外的实体类', + 'EXCEPTION_INVALID_PROPERTY' => '请求的属性不存在', + 'EXCEPTION_OUT_OF_BOUNDS' => '请求的%1$s不存在', + 'EXCEPTION_SERVICE_NOT_FOUND' => '找不到请求的服务', + 'EXCEPTION_UNEXPECTED_VALUE' => '请求的操作%1$s无法执行。原因: %2$s', +)); diff --git a/language/zh-cmn-hans/ext.php b/language/zh-cmn-hans/ext.php new file mode 100644 index 000000000000..ed214e1b16c7 --- /dev/null +++ b/language/zh-cmn-hans/ext.php @@ -0,0 +1,42 @@ + 'phpBB 图像目录不可写。请更改权限以便在您的 FTP 客户端内全部(777 或 -rwxrwxrwxrwx)', + 'PHPBB_VERSION_UNMET' => '此扩展至少需要 phpBB %s', +)); diff --git a/language/zh-cmn-hans/feed_fields.php b/language/zh-cmn-hans/feed_fields.php new file mode 100644 index 000000000000..e82e68a235bf --- /dev/null +++ b/language/zh-cmn-hans/feed_fields.php @@ -0,0 +1,108 @@ + '作者', + 'AUTHORS' => '作者(数组)', + 'BITRATE' => '位速率', + 'CAPTIONS' => '标题', + 'CATEGORIES' => '类别(数组)', + 'CATEGORY' => '类别', + 'CHANNELS' => '频道', + 'CONTENT' => '内容', + 'CONTRIBUTOR' => '贡献者', + 'CONTRIBUTORS' => '贡献者(数组)', + 'COPYRIGHT' => '版权所有', + 'CREDITS' => '点数', + 'DATE' => '日期', + 'DESCRIPTION' => '描述', + 'DURATION' => '持续时间', + 'ENCLOSURE' => '附文', + 'ENCLOSURES' => '附文(数组)', + 'EXPRESSION' => '表达式', + 'FEED' => '订阅源', + 'FRAMERATE' => '帧率', + 'GMDATE' => 'GM 日期', + 'HANDLER' => 'handler', + 'HASHES' => '哈希值', + 'HEIGHT' => '高度', + 'ID' => 'id', + 'IMAGE_HEIGHT' => '图像高度', + 'IMAGE_LINK' => '图片链接', + 'IMAGE_TITLE' => '图片标题', + 'IMAGE_URL' => '图片网址', + 'IMAGE_WIDTH' => '图像宽度', + 'ITEMS' => '项目', + 'JAVASCRIPT' => 'javascript', + 'KEYWORDS' => '关键字', + 'LABEL' => '标签', + 'LANG' => 'lang', + 'LATITUDE' => '纬度', + 'LENGTH' => '长度', + 'LINK' => '链接', + 'LINKS' => '链接', + 'LONGITUDE' => '经度', + 'MEDIUM' => '介质', + 'NAME' => '名称', + 'PERMALINK' => '永久链接', + 'PLAYER' => '播放器', + 'RATINGS' => '评分', + 'RELATIONSHIP' => '关系', + 'RESTRICTIONS' => '限制(数组)', + 'SAMPLINGRATE' => '采样率', + 'SCHEME' => '方案', + 'SOURCE' => '来源', + 'TERM' => '学期', + 'THUMBNAILS' => 'thumbnails', + 'TITLE' => '标题', + 'TYPE' => '类型', + 'UPDATED_DATE' => '更新日期', + 'UPDATED_GMDATE' => '更新 GM 日期', + 'VALUE' => '值', + 'WIDTH' => 'width', +)); diff --git a/language/zh-cmn-hans/icons.php b/language/zh-cmn-hans/icons.php new file mode 100644 index 000000000000..f680beb54ff7 --- /dev/null +++ b/language/zh-cmn-hans/icons.php @@ -0,0 +1,71 @@ + '无障碍环境', + 'ICON_ARROWS' => '箭头', + 'ICON_BRAND' => '品牌版', + 'ICON_CHART' => '图表', + 'ICON_CURRENCY' => '货币', + 'ICON_DIRECTIONAL' => '方向', + 'ICON_FILE_TYPE' => '文件类型', + 'ICON_FORM_CONTROL' => '表单控制', + 'ICON_GENDER' => '两性平等', + 'ICON_HAND' => '手', + 'ICON_MEDICAL' => '医疗服务', + 'ICON_PAYMENT' => '付款', + 'ICON_SPINNER' => '旋转器', + 'ICON_TEXT_EDITOR' => '文本编辑器', + 'ICON_TRANSPORTATION' => '运输', + 'ICON_VIDEO_PLAYER' => '视频播放器', + 'ICON_WEB_APPLICATION' => 'Web 应用程序', + + 'ICON_COLOR' => '颜色', + 'ICON_DEFAULT' => '默认设置', + 'ICON_FLIP_BOTH' => '翻转', + 'ICON_FLIP_HORIZONTAL' => '水平翻转', + 'ICON_FLIP_VERTICAL' => '垂直翻转', + 'ICON_FLOAT' => '浮点数', + 'ICON_FLOAT_LEFT' => '左侧', + 'ICON_FLOAT_RIGHT' => '右侧', + 'ICON_FONT' => 'Font Icons', + 'ICON_INSERT_UPDATE' => 'Insert/Update', + 'ICON_MISC' => '其他', + 'ICON_MISC_BORDERED' => '有边框', + 'ICON_MISC_FIXED_WIDTH' => '固定宽度', + 'ICON_MISC_PULSE' => '脉冲', + 'ICON_MISC_SPINNING' => '连环画', + 'ICON_ROTATION' => '旋转', + 'ICON_ROTATE_90' => '90°', + 'ICON_ROTATE_180' => '180°', + 'ICON_ROTATE_270' => '270°', + 'ICON_SIZE' => '大小', + 'ICON_SIZE_LG' => '较大的', + 'ICON_SIZE_SM' => '小的', + 'ICON_SIZE_2X' => '2 x', + 'ICON_SIZE_3X' => '3 x', + 'ICON_SIZE_4X' => '4 x', + 'ICON_SIZE_5X' => '5 x', + + 'NO_ICON' => '无图标', +)); diff --git a/language/zh-cmn-hans/info_acp_menus.php b/language/zh-cmn-hans/info_acp_menus.php new file mode 100644 index 000000000000..232377fd1ac6 --- /dev/null +++ b/language/zh-cmn-hans/info_acp_menus.php @@ -0,0 +1,92 @@ + '菜单', + 'ACP_MENU_MANAGE' => '菜单管理', + 'ACP_MENU_MANAGE_EXPLAIN' => '您可以在此为您的站点创建和管理菜单', + 'ADD_BULK_MENU' => '批量添加菜单项', + 'ADD_BULK_MENU_EXPLAIN' => '一次添加多个菜单项。
- 将每个项目放在单独一行
- 使用 Tab 键缩进条目来表示父子关系
- 输入条目和 URL 就这样: Home|index.php。', + 'ADD_MENU' => '添加菜单', + 'ADD_MENU_ITEM' => '添加菜单项', + 'ADD_ITEM' => '添加新项目', + 'AJAX_PROCESSING' => '工作', + + 'CHANGE_ME' => '更改我', + + 'DELETE_ITEM' => '删除项目', + 'DELETE_KIDS' => '删除分支', + 'DELETE_MENU' => '删除菜单', + 'DELETE_MENU_CONFIRM' => '您确定要删除此菜单吗?
这将删除菜单及其所有项目', + 'DELETE_MENU_ITEM' => '删除项目', + 'DELETE_MENU_ITEM_CONFIRM' => '您确定要删除此菜单项吗?', + 'DELETE_SELECTED' => '删除选中的', + + 'EDIT_ITEM' => '编辑项目', + + 'ITEM_ACTIVE' => '已启用', + 'ITEM_INACTIVE' => '未激活', + 'ITEM_PARENT' => '父级', + 'ITEM_TITLE' => '项目标题', + 'ITEM_TITLE_EXPLAIN' => '设置为分隔符', + 'ITEM_TARGET' => 'Item Target', + 'ITEM_URL' => '项目网址', + 'ITEM_URL_EXPLAIN' => '- 为标题
留空-外部站点必须以 http(s)://, ftp://, //, 等开头。', + + 'MENU_ITEMS' => '菜单项', + + 'NO_MENU_ITEMS' => '未创建任何菜单项', + 'NO_PARENT' => '无父类', + + 'PROCESSING_ERROR' => '处理错误', + + 'REBUILD_TREE' => '重建树', + 'REQUIRED' => '必填', + 'REQUIRED_FIELDS' => '* 必填字段', + + 'SAVE_CHANGES' => '保存更改', + 'SAVE' => '保存', + 'SELECT_ALL' => '选择所有', + + 'TARGET_BLANK' => '空白页面', + 'TARGET_PARENT' => '父级', + + 'UNSAVED_CHANGES' => '您有未保存的更改', + + 'VISIT_PAGE' => '访问页面', +)); diff --git a/language/zh-cmn-hans/info_acp_settings.php b/language/zh-cmn-hans/info_acp_settings.php new file mode 100644 index 000000000000..56b40227612a --- /dev/null +++ b/language/zh-cmn-hans/info_acp_settings.php @@ -0,0 +1,74 @@ + 'SiteMaker', + 'ACP_SM_SETTINGS' => '设置', + + 'BLOCKS_CLEANUP' => '方块清理', + 'BLOCKS_CLEANUP_EXPLAIN' => '以下项目不再存在或不可访问,因此您可以删除所有与它们相关联的方块。 请牢记其中一些可能是假肯定的', + 'BLOCKS_CLEANUP_BLOCKS' => '无效块(例如从未安装的扩展):', + 'BLOCKS_CLEANUP_ROUTES' => '不可访问/断开页面:', + 'BLOCKS_CLEANUP_STYLES' => '已卸载样式 (id):', + 'BLOCKS_CLEANUP_SUCCESS' => '成功清除块', + + 'FORUM_INDEX_SETTINGS' => '论坛索引设置', + 'FORUM_INDEX_SETTINGS_EXPLAIN' => '这些设置仅在没有定义启动页面时应用', + + 'HIDE' => '隐藏', + 'HIDE_BIRTHDAY' => '隐藏生日部分', + 'HIDE_LOGIN' => '隐藏登录框', + 'HIDE_ONLINE' => '隐藏在线版块', + + 'LAYOUT_BLOG' => '博客', + 'LAYOUT_CUSTOM' => '自定义', + 'LAYOUT_HOLYGRAIL' => '圣杯组织', + 'LAYOUT_PORTAL' => '门户网站', + 'LAYOUT_PORTAL_ALT' => '门户(备选)', + 'LAYOUT_SETTINGS' => '布局设置', + + 'LOG_DELETED_BLOCKS_FOR_STYLE' => '因缺少ID为 %s 的样式而删除站点块。', + 'LOG_DELETED_BLOCKS_FOR_ROUTE' => '已删除破损页面的站点块:
%s', + 'LOG_DELETED_BLOCKS' => '删除无效的站点块:
%s', + + 'NAVIGATION_SETTINGS' => '导航设置', + + 'SETTINGS_SAVED' => '您的设置已保存', + 'SHOW' => '显示', + 'SHOW_FORUM_NAV' => '在导航栏中显示论坛?', + 'SHOW_FORUM_NAV_EXPLAIN' => '当一个页面被设置为首页而不是论坛索引时,我们是否应该在导航栏中显示“论坛”', + 'SHOW_FORUM_NAV_WITH_ICON' => '是 - 图标:', +]); diff --git a/language/zh-cmn-hans/navbar_manager.php b/language/zh-cmn-hans/navbar_manager.php new file mode 100644 index 000000000000..dbb25ff83ab1 --- /dev/null +++ b/language/zh-cmn-hans/navbar_manager.php @@ -0,0 +1,79 @@ + '活动元素', + 'BORDER' => 'Border', + 'BORDER_COLOR' => '边框颜色', + 'BORDER_RADIUS' => '边框半径', + 'BORDER_WIDTH' => 'Border Width', + 'BOTTOM' => '底部', + 'BOTTOM_LEFT' => '左下', + 'BOTTOM_RIGHT' => '右下', + 'CAPITALIZE' => '首页', + 'COLOR' => '颜色', + 'DIVIDERS' => '分隔符', + 'END' => '结束', + 'GRADIENT' => '渐变', + 'HEADERS' => '信头', + 'HOVER' => 'Hover', + 'LEFT' => '左侧', + 'LOWERCASE' => '小写', + 'MARGIN' => '边距', + 'NAVBAR' => '导航栏', + 'NAVBAR_MENU' => 'Navbar menu', + 'NAVBAR_DROPDOWN' => '下拉列表', + 'NAVBAR_LOCATION' => '地点', + 'NAVBAR_LOCATION_OPTION' => '位置 #%s', + 'NAVBAR_TOP_MENU' => '顶部菜单', + 'NONE' => '无', + 'PADDING' => 'Padding', + 'RESPONSIVE_TOGGLE' => '响应式切换', + 'RESPONSIVE_TOGGLE_EXPLAIN' => '仅在小屏幕上可查看 (移动)', + 'RIGHT' => '右侧', + 'SAVE' => '保存', + 'SIZE' => '大小', + 'START' => '开始', + 'TEXT' => '文本', + 'TOP' => '顶端', + 'TOP_LEFT' => '左上', + 'TOP_RIGHT' => '右上', + 'TRANSFORM' => '变换', + 'UPPERCASE' => '大写', +)); diff --git a/language/zh-cmn-hans/permissions_sitemaker.php b/language/zh-cmn-hans/permissions_sitemaker.php new file mode 100644 index 000000000000..7c7f15389f0b --- /dev/null +++ b/language/zh-cmn-hans/permissions_sitemaker.php @@ -0,0 +1,45 @@ + '[ 站点Maker ] 可以管理设置', + 'ACL_A_SM_MANAGE_BLOCKS' => '[ 站点Maker ] 可以管理块', + 'ACL_A_SM_MANAGE_MENUS' => '[ 站点Maker ] 可以管理菜单', +)); diff --git a/language/zh-cmn-hant/block_manager.php b/language/zh-cmn-hant/block_manager.php new file mode 100644 index 000000000000..9bd5cdd871d9 --- /dev/null +++ b/language/zh-cmn-hant/block_manager.php @@ -0,0 +1,123 @@ + '*Drag and Drop blocks', + 'AJAX_ERROR' => 'Oops! There was an error processing your request. Please try again.', + 'AJAX_LOADING' => 'Loading...', + 'AJAX_PROCESSING' => 'Working...', + + 'BACKGROUND' => 'Background', + 'BLOCKS' => 'Blocks', + 'BLOCKS_COPY_FROM' => 'Copy Blocks', + 'BLOCK_ACTIVE' => 'Active', + 'BLOCK_CHILD_ROUTES_ONLY' => 'Show on child routes only', + 'BLOCK_CHILD_ROUTES_HIDE' => 'Hide on child routes', + 'BLOCK_CLASS' => 'CSS Class', + 'BLOCK_CLASS_EXPLAIN' => 'Modify block appearance with CSS classes', + 'BLOCK_DESIGN' => 'Appearance', + 'BLOCK_DISPLAY_TYPE' => 'Display', + 'BLOCK_HIDE_TITLE' => 'Hide block title?', + 'BLOCK_INACTIVE' => 'Inactive', + 'BLOCK_MISSING_TEMPLATE' => 'Missing required block template. Please contact developer', + 'BLOCK_NOT_FOUND' => 'Oops! The requested block service was not found', + 'BLOCK_NO_DATA' => 'No data to display', + 'BLOCK_NO_ID' => 'Oops! Missing block id', + 'BLOCK_PERMISSION' => 'Permission', + 'BLOCK_PERMISSION_ALLOW' => 'Show to', + 'BLOCK_PERMISSION_DENY' => 'Hide from', + 'BLOCK_PERMISSION_EXPLAIN' => 'Use CTRL + click to toggle selection', + 'BLOCK_SHOW_ALWAYS' => 'Always', + 'BLOCK_STATUS' => 'Status', + 'BLOCK_UPDATED' => 'Block settings successfully updated', + + 'CANCEL' => 'Cancel', + 'CHILD_ROUTE' => 'Child', + 'CHILD_ROUTE_EXPLAIN' => '/viewforum.php, /dir/index.php
/viewtopic.php?f=2&t=1
/articles/my-article', + 'CLEAR' => 'Clear', + 'COPY' => 'Copy', + 'COPY_BLOCKS' => 'Copy Blocks?', + 'COPY_BLOCKS_CONFIRM' => 'Are you sure that you’d like to copy blocks from another page?

This will delete all existing blocks and their settings for this page and replace them with the blocks from the selected page.', + + 'DEFAULT_LAYOUT_EXPLAIN' => 'If set, all site pages for which you have not specified blocks will inherit the blocks from the default layout. You may, however, override the default layout for particular pages using the options to the right.', + 'DELETE' => 'Delete', + 'DELETE_ALL_BLOCKS' => 'Delete All Blocks', + 'DELETE_ALL_BLOCKS_CONFIRM' => 'Are you sure that you’d like to delete all blocks for this page?', + 'DELETE_BLOCK' => 'Delete Block', + 'DELETE_BLOCK_CONFIRM' => 'Are you sure you want to delete this block?


Note: You will have to save the layout changes to make this permanent.', + + 'EDIT' => 'Edit', + 'EDIT_BLOCK' => 'Edit Block', + 'EXIT_EDIT_MODE' => 'Exit Edit Mode', + + 'FEED_PROBLEMS' => 'There was a problem processing the provided rss/atom feed(s)', + 'FEED_URL_MISSING' => 'Please provide at least one rss/atom feed to begin', + 'FIELD_INVALID' => 'The provided value for the field “%s” has an invalid format', + 'FIELD_REQUIRED' => '“%s” is a required field', + 'FIELD_TOO_LONG' => 'The provided value for the field “%1$s” is too long. The maximum acceptable value is %2$d.', + 'FIELD_TOO_SHORT' => 'The provided value for the field “%1$s” is too short. The minimum acceptable value is %2$d.', + + 'HIDE_ALL_BLOCKS' => 'Do not show blocks on this page', + 'HIDE_BLOCK_POSITIONS' => 'Do not show blocks for the following block positions:', + + 'IMAGES' => 'Images', + + 'LAYOUT' => 'Layout', + 'LAYOUT_SAVED' => 'Layout successfully saved!', + 'LAYOUT_SETTINGS' => 'Layout Settings', + 'LEAVE_CONFIRM' => 'You have some unsaved changes to this page. Please save your work before moving on', + 'LISTS' => 'Lists', + + 'MAKE_DEFAULT_LAYOUT' => 'Set As Default Layout', + + 'OR' => 'OR', + + 'PARENT_ROUTE' => 'Parent', + 'PARENT_ROUTE_EXPLAIN' => '/index.php
/viewforum.php?f=2
/articles', + 'PREDEFINED_CLASSES' => 'Predefined classes', + + 'REDO' => 'Redo', + 'REMOVE_DEFAULT_LAYOUT' => 'Remove As Default Layout', + 'REMOVE_STARTPAGE' => 'Remove Start Page', + 'ROUTE_HIDDEN_BLOCKS' => 'Blocks are being hidden for this page', + 'ROUTE_HIDDEN_POSITIONS' => 'Blocks are being hidden for the following positions', + 'ROUTE_UPDATED' => 'Page settings successfully updated', + + 'SAVE_CHANGES' => 'Save Changes', + 'SAVE_SETTINGS' => 'Save Settings', + 'SELECT_ICON' => 'Select an Icon', + 'SETTINGS' => 'Settings', + 'SETTING_TOO_BIG' => 'The provided value for the setting “%1$s” is too high. The maximum acceptable value is %2$d.', + 'SETTING_TOO_LONG' => 'The provided value for the setting “%1$s” is too long. The maximum acceptable length is %2$d.', + 'SETTING_TOO_LOW' => 'The provided value for the setting “%1$s” is too low. The minimum acceptable value is %2$d.', + 'SETTING_TOO_SHORT' => 'The provided value for the setting “%1$s” is too short. The minimum acceptable length is %2$d.', + 'SET_STARTPAGE' => 'Set As Start Page', + + 'TITLES' => 'Titles', + + 'UPDATE_SIMILAR' => 'Update blocks with similar settings', + 'UNDO' => 'Undo', + + 'VIEW_DEFAULT_LAYOUT' => 'View/Edit Default Layout', + 'VISIT_PAGE' => 'Visit Page', +)); diff --git a/language/zh-cmn-hant/blocks_admin.php b/language/zh-cmn-hant/blocks_admin.php new file mode 100644 index 000000000000..3a3288691381 --- /dev/null +++ b/language/zh-cmn-hant/blocks_admin.php @@ -0,0 +1,189 @@ + 'All Types', + 'ALL_GROUPS' => 'All Groups', + 'ARCHIVES' => 'Archives', + 'AUTO_LOGIN' => 'Allow auto login?', + 'FILE_MANAGER' => 'File Manager', + 'TOPIC_POST_IDS' => 'From Topic/Post Ids', + 'TOPIC_POST_IDS_EXPLAIN' => 'Id(s) of topics/posts to retrieve attachments from, separated by commas(,). Specify if this list is for topic or post ids above.', + 'TOPIC_POST_IDS_TYPE' => 'Type of IDs (below)', + + // Blocks + 'BLITZE_SITEMAKER_BLOCK_ATTACHMENTS' => 'Attachments', + 'BLITZE_SITEMAKER_BLOCK_BIRTHDAY' => 'Birthday', + 'BLITZE_SITEMAKER_BLOCK_CUSTOM' => 'Custom Block', + 'BLITZE_SITEMAKER_BLOCK_FEATURED_MEMBER' => 'Featured Member', + 'BLITZE_SITEMAKER_BLOCK_FEEDS' => 'RSS/Atom Feeds', + 'BLITZE_SITEMAKER_BLOCK_FORUM_POLL' => 'Forum Poll', + 'BLITZE_SITEMAKER_BLOCK_FORUM_TOPICS' => 'Forum Topics', + 'BLITZE_SITEMAKER_BLOCK_GOOGLE_MAPS' => 'Google Maps', + 'BLITZE_SITEMAKER_BLOCK_POPULAR_TOPICS' => 'Popular Topics', + 'BLITZE_SITEMAKER_BLOCK_LINKS' => 'Links', + 'BLITZE_SITEMAKER_BLOCK_LOGIN' => 'Login Box', + 'BLITZE_SITEMAKER_BLOCK_MEMBERS' => 'Members', + 'BLITZE_SITEMAKER_BLOCK_MEMBER_MENU' => 'Member Menu', + 'BLITZE_SITEMAKER_BLOCK_MENU' => 'Menu', + 'BLITZE_SITEMAKER_BLOCK_MYBOOKMARKS' => 'My Bookmarks', + 'BLITZE_SITEMAKER_BLOCK_RECENT_TOPICS' => 'Recent Topics', + 'BLITZE_SITEMAKER_BLOCK_STATS' => 'Statistics', + 'BLITZE_SITEMAKER_BLOCK_STYLE_SWITCHER' => 'Style Switcher', + 'BLITZE_SITEMAKER_BLOCK_WHATS_NEW' => 'What’s New?', + 'BLITZE_SITEMAKER_BLOCK_WHOIS' => 'Who is online', + 'BLITZE_SITEMAKER_BLOCK_WORDGRAPH' => 'Wordgraph', + + // block views + 'BLOCK_VIEW' => 'Block View', + 'BLOCK_VIEW_BASIC' => 'Basic', + 'BLOCK_VIEW_BOXED' => 'Boxed', + 'BLOCK_VIEW_DEFAULT' => 'Default', + 'BLOCK_VIEW_SIMPLE' => 'Simple', + + 'CACHE_DURATION' => 'Cache duration', + 'CONTEXT' => 'Context', + 'CSS_SCRIPTS' => 'CSS Scripts', + 'CUSTOM_PROFILE_FIELDS' => 'Custom Profile Fields', + + 'DATE_RANGE' => 'Date Range', + 'DISPLAY_PREVIEW' => 'Display Preview?', + + 'EDIT_ME' => 'Please edit me', + 'ENABLE_TOPIC_TRACKING' => 'Enable topic tracking?', + 'ENABLE_TOPIC_TRACKING_EXPLAIN' => 'If enabled, unread topics will be indicated but the block results will not be cached (Not recommended)', + 'EXCLUDE_TOO_MANY_WORDS' => 'You have entered too many words to exclude. The maximum number of characters possible is 255, you have entered %s.', + 'EXCLUDE_WORDS' => 'Exclude words', + 'EXCLUDE_WORDS_EXPLAIN' => 'List the words you’d like to exclude from the wordgraph separated by a comma (,). Maximum 255 characters.', + 'EXPANDED' => 'Expanded', + 'EXTENSION_GROUP' => 'Extension Group', + + 'FEATURED_MEMBER_IDS' => 'User IDs', + 'FEATURED_MEMBER_IDS_EXPLAIN' => 'Comma separated list of users to feature (Only applies to Featured Member display mode)', + 'FEED_DATA_PREVIEW' => 'Feed Data', + 'FEED_ITEM_TEMPLATE' => 'Item Template', + 'FEED_ITEM_TEMPLATE_EXPLAIN' => 'TIPS:
+
    +
  • Access feed data in item variable e.g. item.title
  • +
  • Template must be in Twig syntax
  • +
  • Click Samples above for sample templates
  • +
  • Use get_item_tags($namespace, $tag) to get any tag from the feed that we do not provide e.g.
    {{ get_item_tags(\'\', \'image\') }}
  • +
  • Use Twig’s json_encode filter to see contents of array e.g. {{ get_item_tags(\'\', \'image\')|json_encode() }}
  • +
', + 'FEED_PREVIEW_SOURCE' => 'Source', + 'FEED_URL_PLACEHOLDER' => 'http://example.com/rss', + 'FEED_URLS' => 'Feed URLs', + 'FIRST_POST_ONLY' => 'First Post Only', + 'FIRST_POST_TIME' => 'First Post Time', + 'FORUMS_GET_TYPE' => 'Get type', + 'FORUMS_MAX_TOPICS' => 'Maximum topics/posts', + 'FORUMS_TITLE_MAX_CHARS' => 'Maximum characters per title', + 'FREQUENCY' => 'Frequency', + 'FULL' => 'Full', + 'FULLSCREEN' => 'Fullscreen', + + 'GET_TYPE' => 'Display Topic/Post?', + + 'HTML' => 'HTML', + 'HTML_EXPLAIN' => 'Use this textarea to enter raw HTML content.
Please note that any content posted here will override the custom block content and the visual block editor will not be available.', + 'HOURS_SHORT' => 'hrs', + + 'JS_SCRIPTS' => 'JS Scripts', + + 'LAST_POST_TIME' => 'Last Post Time', + 'LAST_READ_TIME' => 'Last Read Time', + 'LIMIT' => 'Limit', + 'LIMIT_FORUMS' => 'Forum Ids (optional)', + 'LIMIT_FORUMS_EXPLAIN' => 'Enter each forum id separated by a comma (,). If set, only topics from specified forums will be displayed.', + 'LIMIT_POST_TIME' => 'Limit by Post time', + 'LIMIT_POST_TIME_EXPLAIN' => 'If set, only topics posted within the specified period will be retrieved', + + 'MAX_DEPTH' => 'Maximum depth', + 'MAX_ITEMS' => 'Maximum number of items', + 'MAX_MEMBERS' => 'Max. Members', + 'MAX_POSTS' => 'Maximum number of posts', + 'MAX_TOPICS' => 'Maximum number of topics', + 'MAX_WORDS' => 'Maximum number of words', + 'MANAGE_MENUS' => 'Manage Menus', + 'MAP_COORDINATES' => 'Coordinates', + 'MAP_COORDINATES_EXPLAIN' => 'Enter coordinates in the form latitude,longitude', + 'MAP_HEIGHT' => 'Height', + 'MAP_LOCATION' => 'Location', + 'MAP_TITLE' => 'Title', + 'MAP_VIEW' => 'View', + 'MAP_VIEW_HYBRID' => 'Hybrid', + 'MAP_VIEW_MAP' => 'Map', + 'MAP_VIEW_SATELITE' => 'Satelite', + 'MAP_VIEW_TERRAIN' => 'Terrain', + 'MAP_ZOOM_LEVEL' => 'Zoom Level', + 'MEMBERS_DATE' => 'Date', + 'MENU_NO_ITEMS' => 'No active items to display', + 'MINI' => 'Mini', + + 'OR' => 'OR', + 'ORDER_BY' => 'Order by', + + 'POLL_FROM_FORUMS' => 'Display polls from forums(s)', + 'POLL_FROM_FORUMS_EXPLAIN' => 'Only polls from the selected forums will be displayed as long as no topics are specified above', + 'POLL_FROM_GROUPS' => 'Display polls from groups(s)', + 'POLL_FROM_GROUPS_EXPLAIN' => 'Only polls from members of the selected groups will be displayed as long as no user(s) is/are specified above', + 'POLL_FROM_TOPICS' => 'Display polls from topic(s)', + 'POLL_FROM_TOPICS_EXPLAIN' => 'Id(s) of topics to retrieve polls from, separated by commas(,). Leave blank to select any topic.', + 'POLL_FROM_USERS' => 'Display polls from user(s)', + 'POLL_FROM_USERS_EXPLAIN' => 'Id(s) of user(s) whose polls you’d like to display, separated by commas(,). Leave blank to select polls from any user.', + 'POSTS_TITLE_LIMIT' => 'Maximum # of characters for post title', + 'PREVIEW_MAX_CHARS' => 'Number of characters to preview', + + 'QUERY_TYPE' => 'Display Mode', + + 'ROTATE_DAILY' => 'Daily', + 'ROTATE_HOURLY' => 'Hourly', + 'ROTATE_MONTHLY' => 'Monthly', + 'ROTATE_PAGELOAD' => 'Page load', + 'ROTATE_WEEKLY' => 'Weekly', + + 'SAMPLES' => 'Samples', + 'SCRIPTS' => 'Scripts', + 'SELECT_FORUMS' => 'Select forums', + 'SELECT_FORUMS_EXPLAIN' => 'Select the forums from which to display topics/posts. Leave blank to select from all forums', + 'SELECT_MENU' => 'Select Menu', + 'SELECT_PROFILE_FIELDS' => 'Select profile fields', + 'SELECT_PROFILE_FIELDS_EXPLAIN' => 'Only the selected profile fields will be displayed, if available.', + 'SHOW_FIRST_POST' => 'First Post', + 'SHOW_HIDE_ME' => 'Allow hide online status?', + 'SHOW_LAST_POST' => 'Last Post', + 'SHOW_MEMBER_MENU' => 'Show user menu?', + 'SHOW_MEMBER_MENU_EXPLAIN' => 'Replace login box with user menu if user is logged in', + 'SHOW_WORD_COUNT' => 'Show word count?', + + 'TEMPLATE' => 'Template', + 'TOPIC_TITLE_LIMIT' => 'Maximum # of characters for topic title', + 'TOPIC_TYPE' => 'Topic Type', + 'TOPIC_TYPE_EXPLAIN' => 'Select the topic types you’d like to display. Leave the boxes unchecked to select from all topic types', + 'TOPICS_LOOK_BACK' => 'Look back', + 'TOPICS_ONLY' => 'Topics only?', + 'TOPICS_PER_PAGE' => 'Per page', + + 'WORD_MAX_SIZE' => 'Maximum font size', + 'WORD_MIN_SIZE' => 'Minimum font size', +)); diff --git a/language/zh-cmn-hant/common.php b/language/zh-cmn-hant/common.php new file mode 100644 index 000000000000..ba8fbbe28ce8 --- /dev/null +++ b/language/zh-cmn-hant/common.php @@ -0,0 +1,97 @@ + 'All Time', + + 'BLOCK_TITLE' => 'Block Title', + + 'CHANGE_ME' => 'Change Me', + + 'DAILY_MEMBER' => 'Member of the day', + + 'FEATURED_MEMBER' => 'Featured Member', + 'FEATURED_MEMBERLIST' => 'Featured members list', + 'FEEDS' => 'Feeds', + 'FORUM_ANNOUNCEMENTS' => 'Forum Announcements', + 'FORUM_GLOBAL_ANNOUNCEMENTS' => 'Global Forum Announcements', + 'FORUM_RECENT_POSTS' => 'Recent Forum Posts', + 'FORUM_RECENT_TOPICS' => 'Recent Forum Topics', + 'FORUM_STICKY_POSTS' => 'Recent Sticky Posts', + + 'HELP' => 'Help', + 'HOURLY_MEMBER' => 'Member of the hour', + + 'GOOGLE_MAP' => 'Google Map', + + 'JOIN_DATE' => 'Join Date', + + 'LAST_POST_BY_AUTHOR' => 'Last post by', + 'LAST_VISITED' => 'Last Visited', + 'LINKS' => 'Links', + + 'MCP_SITEMAKER_CONTENT' => 'Contents', + 'MEMBERS_DATE' => 'Date', + 'MENU' => 'Menu', + 'MONTHLY_MEMBER' => 'Member of the month', + 'MOST_TENURED' => 'Most Tenured', + 'MY_BOOKMARKS' => 'My Bookmarks', + + 'NO_BOOKMARKED_TOPICS' => 'You have not bookmarked any topics', + 'NO_NEW_TOPICS' => 'There are no new topics to display', + + 'POLL' => 'Poll', + 'POPULAR_TOPICS' => 'Popular Topics', + 'POSTS_MEMBER' => 'Top Poster', + 'PROCESSING' => 'processing...', + + 'QTYPE_POSTS' => 'Congratulations to:', + 'QTYPE_RECENT' => 'Please welcome our newest member:', + + 'RECENT_BOTS' => 'Recent Search Engines', + 'RECENT_MEMBER' => 'Recent Member', + 'RECENT_MEMBERS' => 'Recent Members', + + 'SESSION_HIDE_ME' => 'Hide Me', + 'SM_NAVIGATION' => 'Navigation', + 'SM_TOGGLE_DROPDOWN' => 'Toggle dropdown', + 'STYLE_SWITCHER' => 'Style Switcher', + + 'THIS_MONTH' => 'This Month', + 'THIS_WEEK' => 'This Week', + 'THIS_YEAR' => 'This Year', + 'TODAY' => 'Today', + 'TOPICS_LAST_READ' => 'Last Read Topics', + 'TOPIC_LAST_READ' => 'Last read %s', + 'TOP_POSTERS' => 'Top Posters', + + 'UCP_SITEMAKER_CONTENT' => 'My Stuff', + + 'VIEW_DETAILS' => 'View Details', + 'VIEW_USER_PROFILE' => 'All about %s', + + 'WEEKLY_MEMBER' => 'Member of the week', + 'WELCOME' => 'Welcome', + 'WHATS_NEW' => 'What’s New?', + 'WORDGRAPH' => 'Wordgraph', +)); diff --git a/language/zh-cmn-hant/css_presets.php b/language/zh-cmn-hant/css_presets.php new file mode 100644 index 000000000000..31b5df933209 --- /dev/null +++ b/language/zh-cmn-hant/css_presets.php @@ -0,0 +1,107 @@ + 'Arrow list marker', + 'LIST_CIRCLE' => 'Circle list marker', + 'LIST_DISC' => 'Bullet list marker', + 'LIST_SQUARE' => 'Square list marker', + 'LIST_NUMBERED' => 'Numbered list', + 'LIST_NUMBERED_ALPHABET' => 'Numbered with alphabet', + 'LIST_NUMBERED_NESTED' => 'Numbered with subsections', + 'LIST_NUMBERED_ROMAN' => 'Numbered with Roman numerals', + 'LIST_NUMBERED_ZERO' => 'Numbered with leading zero', + 'LIST_INLINE' => 'Inline list', + 'LIST_INLINE_SEP' => 'Comma-separated list', + 'LIST_REVERSE' => 'Reverse order', + 'LIST_STRIPED' => 'Striped list', + 'LIST_STACKED' => 'Stacked list', + 'LIST_TRIANGLE' => 'Triangle', + 'LIST_HYPHEN' => 'Hyphen', + 'LIST_PLUS' => 'Plus', + 'LIST_SPADE' => 'Spade', + 'LIST_CLUB' => 'Club', + 'LIST_DIAMOND' => 'Diamond', + 'LIST_HEART' => 'Heart', + 'LIST_STAR' => 'Star', + 'LIST_CHECK' => 'Check', + 'LIST_SNOWFLAKE' => 'Snowflake', + 'LIST_MUSIC' => 'Music', + 'LIST_AUTOWIDTH' => 'Auto width', + 'LIST_FIT_CONTENT' => 'Fit content', + 'LIST_2COLS' => '2 column list', + 'LIST_3COLS' => '3 columns list', + 'LIST_4COLS' => '4 columns list', + 'LIST_5COLS' => '5 columns list', + 'LIST_X_DIVIDER_DOTTED' => 'Horizontal dotted divider', + 'LIST_X_DIVIDER_LINE' => 'Horizontal line divider', + 'LIST_Y_DIVIDER_DOTTED' => 'Vertical dotted divider', + 'LIST_Y_DIVIDER_LINE' => 'Vertical line divider', + + 'IMAGE_SMALL' => 'Small image', + 'IMAGE_MEDIUM' => 'Medium image', + 'IMAGE_LARGE' => 'Large image', + 'IMAGE_FULL_WIDTH' => 'Full width image', + 'IMAGE_ALIGN_LEFT' => 'Float image left', + 'IMAGE_ALIGN_RIGHT' => 'Float image right', + 'IMAGE_CIRCLE' => 'Circular image', + 'IMAGE_ROUNDED' => 'Rounded image', + 'IMAGE_BORDER' => 'Bordered image', + 'IMAGE_BORDER_PADDING' => 'Image border padding', + 'IMAGE_RATIO_SQUARE' => 'Square Image', + 'IMAGE_RATIO_4_BY_3' => '4 by 3 image', + 'IMAGE_RATIO_16_BY_9' => '16 by 9 image', + + 'RESPONSIVE_SHOW' => 'Show only on small devices', + 'RESPONSIVE_HIDE' => 'Hide on small devices', + + 'ALIGN_LEFT' => 'Left-aligned text', + 'ALIGN_CENTER' => 'Centered text', + 'ALIGN_RIGHT' => 'Right-aligned text', + 'NO_PADDING' => 'No padding', + 'LABEL' => 'Label', + 'BADGE' => 'Badge', + 'PRIMARY_COLOR' => 'Primary color', + 'SECONDARY_COLOR' => 'Secondary color', + 'GRAYSCALE_COLOR' => 'Grayscale', + 'INFO_COLOR' => 'Info', + 'SUCCESS_COLOR' => 'Success', + 'WARNING_COLOR' => 'Warning', + 'DANGER_COLOR' => 'Danger', +)); diff --git a/language/zh-cmn-hant/exceptions.php b/language/zh-cmn-hant/exceptions.php new file mode 100644 index 000000000000..6a3da47f86f6 --- /dev/null +++ b/language/zh-cmn-hant/exceptions.php @@ -0,0 +1,49 @@ + 'Required field missing', + 'EXCEPTION_INVALID_ACTION' => 'The action does not exist', + 'EXCEPTION_INVALID_ARGUMENT' => 'Invalid argument specified for `%1$s`. Reason: %2$s', + 'EXCEPTION_INVALID_DATA_TYPE' => 'The provided value is of an unexpected data type', + 'EXCEPTION_INVALID_ENTITY' => 'The provided entity is of an unexpected entity class', + 'EXCEPTION_INVALID_PROPERTY' => 'The requested property does not exist', + 'EXCEPTION_OUT_OF_BOUNDS' => 'The requested `%1$s` does not exist', + 'EXCEPTION_SERVICE_NOT_FOUND' => 'The requested service was not found', + 'EXCEPTION_UNEXPECTED_VALUE' => 'The requested action `%1$s` could not be performed. Reason: %2$s', +)); diff --git a/language/zh-cmn-hant/ext.php b/language/zh-cmn-hant/ext.php new file mode 100644 index 000000000000..c3fe9daa0021 --- /dev/null +++ b/language/zh-cmn-hant/ext.php @@ -0,0 +1,42 @@ + 'The phpBB Image directory is not writable. Please change the permissions to writable by all (777 or -rwxrwxrwx within your FTP Client)', + 'PHPBB_VERSION_UNMET' => 'This extension requires at least phpBB %s', +)); diff --git a/language/zh-cmn-hant/feed_fields.php b/language/zh-cmn-hant/feed_fields.php new file mode 100644 index 000000000000..87f21fdfef60 --- /dev/null +++ b/language/zh-cmn-hant/feed_fields.php @@ -0,0 +1,108 @@ + 'author', + 'AUTHORS' => 'authors (array)', + 'BITRATE' => 'bitrate', + 'CAPTIONS' => 'captions', + 'CATEGORIES' => 'categories (array)', + 'CATEGORY' => 'category', + 'CHANNELS' => 'channels', + 'CONTENT' => 'content', + 'CONTRIBUTOR' => 'contributor', + 'CONTRIBUTORS' => 'contributors (array)', + 'COPYRIGHT' => 'copyright', + 'CREDITS' => 'credits', + 'DATE' => 'date', + 'DESCRIPTION' => 'description', + 'DURATION' => 'duration', + 'ENCLOSURE' => 'enclosure', + 'ENCLOSURES' => 'enclosures (array)', + 'EXPRESSION' => 'expression', + 'FEED' => 'feed', + 'FRAMERATE' => 'framerate', + 'GMDATE' => 'GM date', + 'HANDLER' => 'handler', + 'HASHES' => 'hashes', + 'HEIGHT' => 'height', + 'ID' => 'id', + 'IMAGE_HEIGHT' => 'image height', + 'IMAGE_LINK' => 'image link', + 'IMAGE_TITLE' => 'image title', + 'IMAGE_URL' => 'image url', + 'IMAGE_WIDTH' => 'image width', + 'ITEMS' => 'items', + 'JAVASCRIPT' => 'javascript', + 'KEYWORDS' => 'keywords', + 'LABEL' => 'label', + 'LANG' => 'lang', + 'LATITUDE' => 'latitude', + 'LENGTH' => 'length', + 'LINK' => 'link', + 'LINKS' => 'links', + 'LONGITUDE' => 'longitude', + 'MEDIUM' => 'medium', + 'NAME' => 'name', + 'PERMALINK' => 'permalink', + 'PLAYER' => 'player', + 'RATINGS' => 'ratings', + 'RELATIONSHIP' => 'relationship', + 'RESTRICTIONS' => 'restrictions (array)', + 'SAMPLINGRATE' => 'sampling rate', + 'SCHEME' => 'scheme', + 'SOURCE' => 'source', + 'TERM' => 'term', + 'THUMBNAILS' => 'thumbnails', + 'TITLE' => 'title', + 'TYPE' => 'type', + 'UPDATED_DATE' => 'updated date', + 'UPDATED_GMDATE' => 'updated GM date', + 'VALUE' => 'value', + 'WIDTH' => 'width', +)); diff --git a/language/zh-cmn-hant/icons.php b/language/zh-cmn-hant/icons.php new file mode 100644 index 000000000000..1c6f04ce18b0 --- /dev/null +++ b/language/zh-cmn-hant/icons.php @@ -0,0 +1,71 @@ + 'Accessibility', + 'ICON_ARROWS' => 'Arrows', + 'ICON_BRAND' => 'Brand', + 'ICON_CHART' => 'Chart', + 'ICON_CURRENCY' => 'Currency', + 'ICON_DIRECTIONAL' => 'Directional', + 'ICON_FILE_TYPE' => 'File Type', + 'ICON_FORM_CONTROL' => 'Form Control', + 'ICON_GENDER' => 'Gender', + 'ICON_HAND' => 'Hand', + 'ICON_MEDICAL' => 'Medical', + 'ICON_PAYMENT' => 'Payment', + 'ICON_SPINNER' => 'Spinner', + 'ICON_TEXT_EDITOR' => 'Text Editor', + 'ICON_TRANSPORTATION' => 'Transportation', + 'ICON_VIDEO_PLAYER' => 'Video Player', + 'ICON_WEB_APPLICATION' => 'Web Application', + + 'ICON_COLOR' => 'Color', + 'ICON_DEFAULT' => 'Default', + 'ICON_FLIP_BOTH' => 'Flip Both', + 'ICON_FLIP_HORIZONTAL' => 'Flip Horizontal', + 'ICON_FLIP_VERTICAL' => 'Flip Vertical', + 'ICON_FLOAT' => 'Float', + 'ICON_FLOAT_LEFT' => 'Left', + 'ICON_FLOAT_RIGHT' => 'Right', + 'ICON_FONT' => 'Font Icons', + 'ICON_INSERT_UPDATE' => 'Insert/Update', + 'ICON_MISC' => 'Misc', + 'ICON_MISC_BORDERED' => 'Bordered', + 'ICON_MISC_FIXED_WIDTH' => 'Fixed Width', + 'ICON_MISC_PULSE' => 'Pulse', + 'ICON_MISC_SPINNING' => 'Spinning', + 'ICON_ROTATION' => 'Rotation', + 'ICON_ROTATE_90' => '90°', + 'ICON_ROTATE_180' => '180°', + 'ICON_ROTATE_270' => '270°', + 'ICON_SIZE' => 'Size', + 'ICON_SIZE_LG' => 'Larger', + 'ICON_SIZE_SM' => 'Small', + 'ICON_SIZE_2X' => '2x', + 'ICON_SIZE_3X' => '3x', + 'ICON_SIZE_4X' => '4x', + 'ICON_SIZE_5X' => '5x', + + 'NO_ICON' => 'No Icon', +)); diff --git a/language/zh-cmn-hant/info_acp_menus.php b/language/zh-cmn-hant/info_acp_menus.php new file mode 100644 index 000000000000..a06f50a4c63b --- /dev/null +++ b/language/zh-cmn-hant/info_acp_menus.php @@ -0,0 +1,92 @@ + 'Menu', + 'ACP_MENU_MANAGE' => 'Menu Management', + 'ACP_MENU_MANAGE_EXPLAIN' => 'Here you can create and manage menus for your site', + 'ADD_BULK_MENU' => 'Bulk Add Menu Items', + 'ADD_BULK_MENU_EXPLAIN' => 'Add multiple menu items at once.
- Place each item on a separate line
- Use the Tab key to indent items to represent parent-child relationships
- Enter item and URL like so: Home|index.php', + 'ADD_MENU' => 'Add Menu', + 'ADD_MENU_ITEM' => 'Add Menu Item', + 'ADD_ITEM' => 'Add New Item', + 'AJAX_PROCESSING' => 'Working', + + 'CHANGE_ME' => 'Change Me', + + 'DELETE_ITEM' => 'Delete Item', + 'DELETE_KIDS' => 'Delete Branch', + 'DELETE_MENU' => 'Delete Menu', + 'DELETE_MENU_CONFIRM' => 'Are you sure you want to delete this menu?
This will delete the menu and all its items', + 'DELETE_MENU_ITEM' => 'Delete Item', + 'DELETE_MENU_ITEM_CONFIRM' => 'Are you sure you want to delete this menu item?', + 'DELETE_SELECTED' => 'Delete Selected', + + 'EDIT_ITEM' => 'Edit Item', + + 'ITEM_ACTIVE' => 'Active', + 'ITEM_INACTIVE' => 'Inactive', + 'ITEM_PARENT' => 'Parent', + 'ITEM_TITLE' => 'Item Title', + 'ITEM_TITLE_EXPLAIN' => 'Set as ’-’ for divider', + 'ITEM_TARGET' => 'Item Target', + 'ITEM_URL' => 'Item URL', + 'ITEM_URL_EXPLAIN' => '- Leave empty for headings
- External sites must begin with http(s)://, ftp://, //, etc', + + 'MENU_ITEMS' => 'Menu Items', + + 'NO_MENU_ITEMS' => 'No menu items have been created', + 'NO_PARENT' => 'No Parent', + + 'PROCESSING_ERROR' => 'Processing error', + + 'REBUILD_TREE' => 'Rebuild Tree', + 'REQUIRED' => 'Required', + 'REQUIRED_FIELDS' => '* Required fields', + + 'SAVE_CHANGES' => 'Save Changes', + 'SAVE' => 'Save', + 'SELECT_ALL' => 'Select All', + + 'TARGET_BLANK' => 'Blank Page', + 'TARGET_PARENT' => 'Parent', + + 'UNSAVED_CHANGES' => 'You have unsaved changes', + + 'VISIT_PAGE' => 'Visit Page', +)); diff --git a/language/zh-cmn-hant/info_acp_settings.php b/language/zh-cmn-hant/info_acp_settings.php new file mode 100644 index 000000000000..5e704a037343 --- /dev/null +++ b/language/zh-cmn-hant/info_acp_settings.php @@ -0,0 +1,74 @@ + 'SiteMaker', + 'ACP_SM_SETTINGS' => 'Settings', + + 'BLOCKS_CLEANUP' => 'Blocks Cleanup', + 'BLOCKS_CLEANUP_EXPLAIN' => 'The following items were found to no longer exist or unreachable, and you can therefore delete all blocks associated to them. Please keep in mind that some of these may be false positives', + 'BLOCKS_CLEANUP_BLOCKS' => 'Invalid Blocks (e.g. from uninstalled extensions):', + 'BLOCKS_CLEANUP_ROUTES' => 'Unreachable/broken Pages:', + 'BLOCKS_CLEANUP_STYLES' => 'Uninstalled Styles (ids):', + 'BLOCKS_CLEANUP_SUCCESS' => 'Blocks purged sucessfully', + + 'FORUM_INDEX_SETTINGS' => 'Forum Index Settings', + 'FORUM_INDEX_SETTINGS_EXPLAIN' => 'These settings only apply when there is no startpage defined', + + 'HIDE' => 'Hide', + 'HIDE_BIRTHDAY' => 'Hide Birthday section', + 'HIDE_LOGIN' => 'Hide login box', + 'HIDE_ONLINE' => 'Hide Whos online section', + + 'LAYOUT_BLOG' => 'Blog', + 'LAYOUT_CUSTOM' => 'Custom', + 'LAYOUT_HOLYGRAIL' => 'Holy Grail', + 'LAYOUT_PORTAL' => 'Portal', + 'LAYOUT_PORTAL_ALT' => 'Portal (alt)', + 'LAYOUT_SETTINGS' => 'Layout Settings', + + 'LOG_DELETED_BLOCKS_FOR_STYLE' => 'Sitemaker blocks deleted for missing style with id %s', + 'LOG_DELETED_BLOCKS_FOR_ROUTE' => 'Sitemaker blocks deleted for broken pages:
%s', + 'LOG_DELETED_BLOCKS' => 'Invalid Sitemaker blocks deleted:
%s', + + 'NAVIGATION_SETTINGS' => 'Navigation Settings', + + 'SETTINGS_SAVED' => 'Your settings have been saved', + 'SHOW' => 'Show', + 'SHOW_FORUM_NAV' => 'Show ’Forum’ in navigation bar?', + 'SHOW_FORUM_NAV_EXPLAIN' => 'When a page is set as startpage instead of the forum index, should we display ’Forum’ in navigation bar', + 'SHOW_FORUM_NAV_WITH_ICON' => 'Yes - with icon:', +]); diff --git a/language/zh-cmn-hant/navbar_manager.php b/language/zh-cmn-hant/navbar_manager.php new file mode 100644 index 000000000000..89f54431871f --- /dev/null +++ b/language/zh-cmn-hant/navbar_manager.php @@ -0,0 +1,79 @@ + 'Active Element', + 'BORDER' => 'Border', + 'BORDER_COLOR' => 'Border Color', + 'BORDER_RADIUS' => 'Border Radius', + 'BORDER_WIDTH' => 'Border Width', + 'BOTTOM' => 'Bottom', + 'BOTTOM_LEFT' => 'Bottom Left', + 'BOTTOM_RIGHT' => 'Bottom Right', + 'CAPITALIZE' => 'Capitalize', + 'COLOR' => 'Color', + 'DIVIDERS' => 'Dividers', + 'END' => 'End', + 'GRADIENT' => 'Gradient', + 'HEADERS' => 'Headers', + 'HOVER' => 'Hover', + 'LEFT' => 'Left', + 'LOWERCASE' => 'Lowercase', + 'MARGIN' => 'Margin', + 'NAVBAR' => 'Navbar', + 'NAVBAR_MENU' => 'Navbar menu', + 'NAVBAR_DROPDOWN' => 'Dropdown', + 'NAVBAR_LOCATION' => 'Location', + 'NAVBAR_LOCATION_OPTION' => 'Location #%s', + 'NAVBAR_TOP_MENU' => 'Top Menu', + 'NONE' => 'None', + 'PADDING' => 'Padding', + 'RESPONSIVE_TOGGLE' => 'Responsive Toggle', + 'RESPONSIVE_TOGGLE_EXPLAIN' => 'Only viewable on small (mobile) screens', + 'RIGHT' => 'Right', + 'SAVE' => 'Save', + 'SIZE' => 'Size', + 'START' => 'Start', + 'TEXT' => 'Text', + 'TOP' => 'Top', + 'TOP_LEFT' => 'Top Left', + 'TOP_RIGHT' => 'Top Right', + 'TRANSFORM' => 'Transform', + 'UPPERCASE' => 'Uppercase', +)); diff --git a/language/zh-cmn-hant/permissions_sitemaker.php b/language/zh-cmn-hant/permissions_sitemaker.php new file mode 100644 index 000000000000..72648a473804 --- /dev/null +++ b/language/zh-cmn-hant/permissions_sitemaker.php @@ -0,0 +1,45 @@ + '[ SiteMaker ] Can manage settings', + 'ACL_A_SM_MANAGE_BLOCKS' => '[ SiteMaker ] Can manage blocks', + 'ACL_A_SM_MANAGE_MENUS' => '[ SiteMaker ] Can manage menus', +)); diff --git a/language/zh_cmn_hans/block_manager.php b/language/zh_cmn_hans/block_manager.php new file mode 100644 index 000000000000..07893686be25 --- /dev/null +++ b/language/zh_cmn_hans/block_manager.php @@ -0,0 +1,123 @@ + '*拖放块', + 'AJAX_ERROR' => '哎呀!处理您的请求时出错。请再试一次。', + 'AJAX_LOADING' => '加载中...', + 'AJAX_PROCESSING' => '工作中...', + + 'BACKGROUND' => '二. 背景', + 'BLOCKS' => '块', + 'BLOCKS_COPY_FROM' => '复制块', + 'BLOCK_ACTIVE' => '已启用', + 'BLOCK_CHILD_ROUTES_ONLY' => '仅在子路上显示', + 'BLOCK_CHILD_ROUTES_HIDE' => '在子路上隐藏', + 'BLOCK_CLASS' => 'CSS 类', + 'BLOCK_CLASS_EXPLAIN' => '使用 CSS 类修改方块外观', + 'BLOCK_DESIGN' => '外观', + 'BLOCK_DISPLAY_TYPE' => '显示', + 'BLOCK_HIDE_TITLE' => '隐藏方块标题?', + 'BLOCK_INACTIVE' => '未激活', + 'BLOCK_MISSING_TEMPLATE' => '缺少必需的块模板。请联系开发者', + 'BLOCK_NOT_FOUND' => '哎呀!找不到请求的块服务', + 'BLOCK_NO_DATA' => '没有要显示的数据', + 'BLOCK_NO_ID' => '哎呀!缺少方块id', + 'BLOCK_PERMISSION' => '权限', + 'BLOCK_PERMISSION_ALLOW' => '显示到', + 'BLOCK_PERMISSION_DENY' => '隐藏自', + 'BLOCK_PERMISSION_EXPLAIN' => '使用 CTRL + 点击切换选择', + 'BLOCK_SHOW_ALWAYS' => '总是显示', + 'BLOCK_STATUS' => '状态', + 'BLOCK_UPDATED' => '块设置已成功更新', + + 'CANCEL' => '取消', + 'CHILD_ROUTE' => '儿童', + 'CHILD_ROUTE_EXPLAIN' => '/viewforum.php /dir/index.php
/viewtopic.php?f=2&t=1
/articles/my-article', + 'CLEAR' => '清空', + 'COPY' => '复制', + 'COPY_BLOCKS' => '复制块?', + 'COPY_BLOCKS_CONFIRM' => '您确定要从另一页复制方块吗?

这将删除此页面的所有现有方块及其设置,并用所选页面的方块替换它们。', + + 'DEFAULT_LAYOUT_EXPLAIN' => '如果设置,您没有指定区块的所有站点页面都将继承默认布局中的区块。 然而,您可以使用右边的选项覆盖特定页面的默认布局。', + 'DELETE' => '删除', + 'DELETE_ALL_BLOCKS' => '删除所有块', + 'DELETE_ALL_BLOCKS_CONFIRM' => '您确定要删除此页面的所有块吗?', + 'DELETE_BLOCK' => '删除块', + 'DELETE_BLOCK_CONFIRM' => '您确定要删除此块吗?


注意: 您需要保存布局更改才能使其永久化。', + + 'EDIT' => '编辑', + 'EDIT_BLOCK' => '编辑块', + 'EXIT_EDIT_MODE' => '退出编辑模式', + + 'FEED_PROBLEMS' => '处理提供的 rss/atom Feed 时出现问题', + 'FEED_URL_MISSING' => '请至少提供一个 rss/atom 种子来开始', + 'FIELD_INVALID' => '为“%s”字段提供的值有一个无效格式', + 'FIELD_REQUIRED' => '“%s”是必填字段', + 'FIELD_TOO_LONG' => '为“%1$s”字段提供的值太长。最大可接受值为 %2$d。', + 'FIELD_TOO_SHORT' => '为字段提供的值“%1$s”太短。最低可接受值为 %2$d。', + + 'HIDE_ALL_BLOCKS' => '不显示此页面上的块', + 'HIDE_BLOCK_POSITIONS' => '不要为以下方块位置显示方块:', + + 'IMAGES' => '图像', + + 'LAYOUT' => '布局', + 'LAYOUT_SAVED' => '布局保存成功!', + 'LAYOUT_SETTINGS' => '布局设置', + 'LEAVE_CONFIRM' => '您在此页面有一些未保存的更改。请在继续操作之前保存您的工作', + 'LISTS' => '列表', + + 'MAKE_DEFAULT_LAYOUT' => '设置为默认布局', + + 'OR' => '', + + 'PARENT_ROUTE' => '父级', + 'PARENT_ROUTE_EXPLAIN' => '/index.php
/viewforum.php?f=2
/文章', + 'PREDEFINED_CLASSES' => '预定义类', + + 'REDO' => '重做', + 'REMOVE_DEFAULT_LAYOUT' => '移除为默认布局', + 'REMOVE_STARTPAGE' => '删除起始页', + 'ROUTE_HIDDEN_BLOCKS' => '此页面的方块被隐藏', + 'ROUTE_HIDDEN_POSITIONS' => '方块被隐藏在以下位置', + 'ROUTE_UPDATED' => '页面设置已更新', + + 'SAVE_CHANGES' => '保存更改', + 'SAVE_SETTINGS' => '保存设置', + 'SELECT_ICON' => '选择一个图标', + 'SETTINGS' => '设置', + 'SETTING_TOO_BIG' => '为“%1$s”设置提供的值过高。最大可接受值为 %2$d。', + 'SETTING_TOO_LONG' => '为“%1$s”设置提供的值太长。最大可接受的长度是 %2$d。', + 'SETTING_TOO_LOW' => '为“%1$s”设置提供的值太低。最低可接受值为 %2$d。', + 'SETTING_TOO_SHORT' => '为“%1$s”设置提供的值太短。最小可接受的长度是 %2$d。', + 'SET_STARTPAGE' => '设置为起始页', + + 'TITLES' => '标题', + + 'UPDATE_SIMILAR' => '更新有相似设置的块', + 'UNDO' => '撤消操作', + + 'VIEW_DEFAULT_LAYOUT' => '查看/编辑默认布局', + 'VISIT_PAGE' => '访问页面', +)); diff --git a/language/zh_cmn_hans/blocks_admin.php b/language/zh_cmn_hans/blocks_admin.php new file mode 100644 index 000000000000..7a430a835edc --- /dev/null +++ b/language/zh_cmn_hans/blocks_admin.php @@ -0,0 +1,189 @@ + '所有类型', + 'ALL_GROUPS' => '所有组', + 'ARCHIVES' => '档案', + 'AUTO_LOGIN' => '是否允许自动登录?', + 'FILE_MANAGER' => '文件管理器', + 'TOPIC_POST_IDS' => '从主题/费用ID', + 'TOPIC_POST_IDS_EXPLAIN' => '要从附件中检索的主题/帖子的ID,用 逗号(,)分隔。指定该列表是否针对主题或帖子id。', + 'TOPIC_POST_IDS_TYPE' => 'ID类型(下面)', + + // Blocks + 'BLITZE_SITEMAKER_BLOCK_ATTACHMENTS' => '附件', + 'BLITZE_SITEMAKER_BLOCK_BIRTHDAY' => '生日', + 'BLITZE_SITEMAKER_BLOCK_CUSTOM' => '自定义块', + 'BLITZE_SITEMAKER_BLOCK_FEATURED_MEMBER' => '精选成员', + 'BLITZE_SITEMAKER_BLOCK_FEEDS' => 'RSS/Atom Feed', + 'BLITZE_SITEMAKER_BLOCK_FORUM_POLL' => '论坛投票', + 'BLITZE_SITEMAKER_BLOCK_FORUM_TOPICS' => '论坛主题', + 'BLITZE_SITEMAKER_BLOCK_GOOGLE_MAPS' => '谷歌地图', + 'BLITZE_SITEMAKER_BLOCK_POPULAR_TOPICS' => '热门主题', + 'BLITZE_SITEMAKER_BLOCK_LINKS' => '链接', + 'BLITZE_SITEMAKER_BLOCK_LOGIN' => '登录框', + 'BLITZE_SITEMAKER_BLOCK_MEMBERS' => '成员', + 'BLITZE_SITEMAKER_BLOCK_MEMBER_MENU' => '会员菜单', + 'BLITZE_SITEMAKER_BLOCK_MENU' => '菜单', + 'BLITZE_SITEMAKER_BLOCK_MYBOOKMARKS' => '我的书签', + 'BLITZE_SITEMAKER_BLOCK_RECENT_TOPICS' => '最近的主题', + 'BLITZE_SITEMAKER_BLOCK_STATS' => '统计', + 'BLITZE_SITEMAKER_BLOCK_STYLE_SWITCHER' => '样式切换器', + 'BLITZE_SITEMAKER_BLOCK_WHATS_NEW' => '有什么新内容?', + 'BLITZE_SITEMAKER_BLOCK_WHOIS' => '谁在线', + 'BLITZE_SITEMAKER_BLOCK_WORDGRAPH' => '单词图', + + // block views + 'BLOCK_VIEW' => '屏蔽视图', + 'BLOCK_VIEW_BASIC' => '基本的', + 'BLOCK_VIEW_BOXED' => '盒子', + 'BLOCK_VIEW_DEFAULT' => '默认设置', + 'BLOCK_VIEW_SIMPLE' => '简单的', + + 'CACHE_DURATION' => '缓存持续时间', + 'CONTEXT' => '二. 背景', + 'CSS_SCRIPTS' => 'CSS Scripts', + 'CUSTOM_PROFILE_FIELDS' => '自定义配置文件字段', + + 'DATE_RANGE' => 'Date Range', + 'DISPLAY_PREVIEW' => '显示预览吗?', + + 'EDIT_ME' => '请编辑我', + 'ENABLE_TOPIC_TRACKING' => '启用主题跟踪?', + 'ENABLE_TOPIC_TRACKING_EXPLAIN' => '如果启用,将会显示未读主题,但块结果将不会被缓存 (不推荐)', + 'EXCLUDE_TOO_MANY_WORDS' => '您输入的单词过多,无法排除。最大字符数为255,您已经输入 %s。', + 'EXCLUDE_WORDS' => '排除单词', + 'EXCLUDE_WORDS_EXPLAIN' => '列出您想要从用逗号 (,)分隔的单词中排除的单词。最多255个字符。', + 'EXPANDED' => '扩展', + 'EXTENSION_GROUP' => '扩展组', + + 'FEATURED_MEMBER_IDS' => '用户 ID', + 'FEATURED_MEMBER_IDS_EXPLAIN' => '使用逗号分隔的用户列表 (仅适用于精选成员显示模式)', + 'FEED_DATA_PREVIEW' => '新闻源数据', + 'FEED_ITEM_TEMPLATE' => '项目模板', + 'FEED_ITEM_TEMPLATE_EXPLAIN' => 'TIPS:
+
    +
  • 访问Feed数据在 item 变量。 目 录 itle
  • +
  • 模板必须在 Twig 语法
  • +
  • 点击 样本 以上的样本模板
  • +
  • 使用 get_item_tags($namespace, $tag) 获取我们不提供的新闻源的任何标签。 。
    {{ get_item_tags(\'\', \'image\') }}
  • +
  • 使用 Twig\'s json_code 过滤器查看数组内容 e。 。 {Sponge get_item_tags(\'\', \'image\')|json_encode() }}
  • +
', + 'FEED_PREVIEW_SOURCE' => '来源', + 'FEED_URL_PLACEHOLDER' => 'http://example.com/rss', + 'FEED_URLS' => 'Feed URL', + 'FIRST_POST_ONLY' => '仅第一篇文章', + 'FIRST_POST_TIME' => '首次发布时间', + 'FORUMS_GET_TYPE' => '获取类型', + 'FORUMS_MAX_TOPICS' => '最大主题/帖子', + 'FORUMS_TITLE_MAX_CHARS' => '每个标题的最大字符', + 'FREQUENCY' => '频率', + 'FULL' => '完整的', + 'FULLSCREEN' => '全屏', + + 'GET_TYPE' => '显示主题/帖子?', + + 'HTML' => 'HTML', + 'HTML_EXPLAIN' => '使用此文本输入原始HTML内容。
请注意,此处发布的任何内容都将覆盖自定义块内容,视觉块编辑器将不可用。', + 'HOURS_SHORT' => '小时', + + 'JS_SCRIPTS' => 'JS 脚本', + + 'LAST_POST_TIME' => '最后发布时间', + 'LAST_READ_TIME' => '最后阅读时间', + 'LIMIT' => '限制', + 'LIMIT_FORUMS' => '论坛ID (可选)', + 'LIMIT_FORUMS_EXPLAIN' => '输入每个论坛ID以逗号 (,)分隔。如果设置,只显示指定论坛中的主题。', + 'LIMIT_POST_TIME' => '按发布时间限制', + 'LIMIT_POST_TIME_EXPLAIN' => '如果设置,只能检索在指定时间段内发布的主题', + + 'MAX_DEPTH' => '最大深度', + 'MAX_ITEMS' => '最大项目数', + 'MAX_MEMBERS' => '最大成员', + 'MAX_POSTS' => '最大帖子数', + 'MAX_TOPICS' => '主题的最大数量', + 'MAX_WORDS' => '最大单词数', + 'MANAGE_MENUS' => '管理菜单', + 'MAP_COORDINATES' => '坐标', + 'MAP_COORDINATES_EXPLAIN' => '输入经纬度的坐标', + 'MAP_HEIGHT' => '高度', + 'MAP_LOCATION' => '地点', + 'MAP_TITLE' => '标题', + 'MAP_VIEW' => '查看', + 'MAP_VIEW_HYBRID' => '混合的', + 'MAP_VIEW_MAP' => '地图', + 'MAP_VIEW_SATELITE' => 'Satellite', + 'MAP_VIEW_TERRAIN' => 'Terrain', + 'MAP_ZOOM_LEVEL' => '缩放级别', + 'MEMBERS_DATE' => '日期', + 'MENU_NO_ITEMS' => '没有活动项目要显示', + 'MINI' => '迷你的', + + 'OR' => '', + 'ORDER_BY' => '排序方式', + + 'POLL_FROM_FORUMS' => '显示来自论坛的调查 (s)', + 'POLL_FROM_FORUMS_EXPLAIN' => '只显示来自所选论坛的投票,只要上面没有指定主题', + 'POLL_FROM_GROUPS' => '显示来自群组的调查', + 'POLL_FROM_GROUPS_EXPLAIN' => '只显示所选组成员的投票,只要上面没有用户(s)', + 'POLL_FROM_TOPICS' => '显示来自主题的调查 (s)', + 'POLL_FROM_TOPICS_EXPLAIN' => '要从中检索调查的主题,用 逗号(,)分隔。留空以选择任何主题。', + 'POLL_FROM_USERS' => '显示来自用户的调查 (s)', + 'POLL_FROM_USERS_EXPLAIN' => '您想要显示投票的用户ID(s),用 逗号(,)分隔。留空以从任何用户选择投票。', + 'POSTS_TITLE_LIMIT' => '文章标题的最大字符数', + 'PREVIEW_MAX_CHARS' => '要预览的字符数', + + 'QUERY_TYPE' => '显示模式', + + 'ROTATE_DAILY' => '每天', + 'ROTATE_HOURLY' => '每小时', + 'ROTATE_MONTHLY' => '每月的', + 'ROTATE_PAGELOAD' => '页面负载', + 'ROTATE_WEEKLY' => '每周的', + + 'SAMPLES' => '示例:', + 'SCRIPTS' => '脚本', + 'SELECT_FORUMS' => '选择论坛', + 'SELECT_FORUMS_EXPLAIN' => '选择显示主题/帖子的论坛。留空则从所有论坛中选择', + 'SELECT_MENU' => '选择菜单', + 'SELECT_PROFILE_FIELDS' => '选择配置文件字段', + 'SELECT_PROFILE_FIELDS_EXPLAIN' => '如果可用,只有选中的配置文件字段将被显示。', + 'SHOW_FIRST_POST' => '第一个帖子', + 'SHOW_HIDE_ME' => '允许隐藏在线状态?', + 'SHOW_LAST_POST' => '上次帖子', + 'SHOW_MEMBER_MENU' => '显示用户菜单?', + 'SHOW_MEMBER_MENU_EXPLAIN' => '如果用户登录,用用户菜单替换登录框', + 'SHOW_WORD_COUNT' => '显示单词计数?', + + 'TEMPLATE' => '模板', + 'TOPIC_TITLE_LIMIT' => '主题标题的最大字符数', + 'TOPIC_TYPE' => '主题类型', + 'TOPIC_TYPE_EXPLAIN' => '选择您想要显示的主题类型。不选中框以从所有主题类型中选择', + 'TOPICS_LOOK_BACK' => '向后查看', + 'TOPICS_ONLY' => '只显示主题?', + 'TOPICS_PER_PAGE' => '每页', + + 'WORD_MAX_SIZE' => '最大字体大小', + 'WORD_MIN_SIZE' => '最小字体大小', +)); diff --git a/language/zh_cmn_hans/common.php b/language/zh_cmn_hans/common.php new file mode 100644 index 000000000000..a0543cdd889f --- /dev/null +++ b/language/zh_cmn_hans/common.php @@ -0,0 +1,97 @@ + '全部时间', + + 'BLOCK_TITLE' => '块标题', + + 'CHANGE_ME' => '更改我', + + 'DAILY_MEMBER' => '当天的成员', + + 'FEATURED_MEMBER' => '精选成员', + 'FEATURED_MEMBERLIST' => '精选成员列表', + 'FEEDS' => '订阅源', + 'FORUM_ANNOUNCEMENTS' => '论坛公告', + 'FORUM_GLOBAL_ANNOUNCEMENTS' => '全球论坛公告', + 'FORUM_RECENT_POSTS' => '最近的论坛帖子', + 'FORUM_RECENT_TOPICS' => '最近的论坛主题', + 'FORUM_STICKY_POSTS' => '最近置顶帖子', + + 'HELP' => '帮助', + 'HOURLY_MEMBER' => '小时成员', + + 'GOOGLE_MAP' => '谷歌地图', + + 'JOIN_DATE' => '加入日期', + + 'LAST_POST_BY_AUTHOR' => '最后一个帖子由', + 'LAST_VISITED' => '上次访问', + 'LINKS' => '链接', + + 'MCP_SITEMAKER_CONTENT' => '目录', + 'MEMBERS_DATE' => '日期', + 'MENU' => '菜单', + 'MONTHLY_MEMBER' => '月份成员', + 'MOST_TENURED' => '最有效的', + 'MY_BOOKMARKS' => '我的书签', + + 'NO_BOOKMARKED_TOPICS' => '您还没有给任何主题添加书签', + 'NO_NEW_TOPICS' => '没有要显示的新主题', + + 'POLL' => '投票', + 'POPULAR_TOPICS' => '热门主题', + 'POSTS_MEMBER' => '顶级海报', + 'PROCESSING' => '正在处理...', + + 'QTYPE_POSTS' => '恭喜:', + 'QTYPE_RECENT' => '请欢迎我们的最新成员:', + + 'RECENT_BOTS' => '最近的搜索引擎', + 'RECENT_MEMBER' => '最近的成员', + 'RECENT_MEMBERS' => '最近成员', + + 'SESSION_HIDE_ME' => '隐藏我', + 'SM_NAVIGATION' => 'Navigation', + 'SM_TOGGLE_DROPDOWN' => '切换下拉列表', + 'STYLE_SWITCHER' => '样式切换器', + + 'THIS_MONTH' => '本月', + 'THIS_WEEK' => '本周', + 'THIS_YEAR' => '本年', + 'TODAY' => '今日:', + 'TOPICS_LAST_READ' => '最后阅读主题', + 'TOPIC_LAST_READ' => '最后读取 %s', + 'TOP_POSTERS' => '热门海报', + + 'UCP_SITEMAKER_CONTENT' => '我的', + + 'VIEW_DETAILS' => '查看详情', + 'VIEW_USER_PROFILE' => '全部关于 %s', + + 'WEEKLY_MEMBER' => '每周成员', + 'WELCOME' => '欢迎使用', + 'WHATS_NEW' => '有什么新内容?', + 'WORDGRAPH' => '单词图', +)); diff --git a/language/zh_cmn_hans/css_presets.php b/language/zh_cmn_hans/css_presets.php new file mode 100644 index 000000000000..c2815cd20510 --- /dev/null +++ b/language/zh_cmn_hans/css_presets.php @@ -0,0 +1,107 @@ + '箭头列表标记', + 'LIST_CIRCLE' => '圆形列表标记', + 'LIST_DISC' => '子弹列表标记', + 'LIST_SQUARE' => '方形列表标记', + 'LIST_NUMBERED' => '编号列表', + 'LIST_NUMBERED_ALPHABET' => '字母编号', + 'LIST_NUMBERED_NESTED' => '与小区段的编号', + 'LIST_NUMBERED_ROMAN' => '与罗马数字的数字', + 'LIST_NUMBERED_ZERO' => '前面为零的数字', + 'LIST_INLINE' => '内联列表', + 'LIST_INLINE_SEP' => '逗号分隔的列表', + 'LIST_REVERSE' => '反向顺序', + 'LIST_STRIPED' => '条形列表', + 'LIST_STACKED' => '堆栈列表', + 'LIST_TRIANGLE' => '三角形', + 'LIST_HYPHEN' => 'Hyphen', + 'LIST_PLUS' => '加号', + 'LIST_SPADE' => 'Spade', + 'LIST_CLUB' => 'Club', + 'LIST_DIAMOND' => '钻石:', + 'LIST_HEART' => '爱心', + 'LIST_STAR' => '星标', + 'LIST_CHECK' => '检查', + 'LIST_SNOWFLAKE' => '雪花', + 'LIST_MUSIC' => '音乐', + 'LIST_AUTOWIDTH' => 'Auto width', + 'LIST_FIT_CONTENT' => '适合内容', + 'LIST_2COLS' => '2 列列表', + 'LIST_3COLS' => '3列列表', + 'LIST_4COLS' => '4列列表', + 'LIST_5COLS' => '5列列表', + 'LIST_X_DIVIDER_DOTTED' => '水平虚线分隔符', + 'LIST_X_DIVIDER_LINE' => '水平线分隔符', + 'LIST_Y_DIVIDER_DOTTED' => '垂直虚线分隔符', + 'LIST_Y_DIVIDER_LINE' => '垂直线分隔符', + + 'IMAGE_SMALL' => '小图像', + 'IMAGE_MEDIUM' => '中等图像', + 'IMAGE_LARGE' => '大图像', + 'IMAGE_FULL_WIDTH' => '全宽图像', + 'IMAGE_ALIGN_LEFT' => '向左浮点数', + 'IMAGE_ALIGN_RIGHT' => '向右浮动图像', + 'IMAGE_CIRCLE' => '圆形图像', + 'IMAGE_ROUNDED' => '圆角图像', + 'IMAGE_BORDER' => '带边框的图像', + 'IMAGE_BORDER_PADDING' => 'Image border padding', + 'IMAGE_RATIO_SQUARE' => '方形图像', + 'IMAGE_RATIO_4_BY_3' => '4 by 3 image', + 'IMAGE_RATIO_16_BY_9' => '16 by 9 image', + + 'RESPONSIVE_SHOW' => '仅在小设备上显示', + 'RESPONSIVE_HIDE' => '在小设备上隐藏', + + 'ALIGN_LEFT' => '左对齐文本', + 'ALIGN_CENTER' => 'Center文本', + 'ALIGN_RIGHT' => '右对齐文本', + 'NO_PADDING' => 'No padding', + 'LABEL' => '标签', + 'BADGE' => '徽章', + 'PRIMARY_COLOR' => '主颜色', + 'SECONDARY_COLOR' => '次要颜色', + 'GRAYSCALE_COLOR' => 'Grayscale', + 'INFO_COLOR' => '信息', + 'SUCCESS_COLOR' => '成功', + 'WARNING_COLOR' => '警告', + 'DANGER_COLOR' => '危险', +)); diff --git a/language/zh_cmn_hans/exceptions.php b/language/zh_cmn_hans/exceptions.php new file mode 100644 index 000000000000..a59e35491cdd --- /dev/null +++ b/language/zh_cmn_hans/exceptions.php @@ -0,0 +1,49 @@ + '缺少必填字段', + 'EXCEPTION_INVALID_ACTION' => '该操作不存在', + 'EXCEPTION_INVALID_ARGUMENT' => '为`%1$s`指定的参数无效。原因: %2$s', + 'EXCEPTION_INVALID_DATA_TYPE' => '提供的值是意外的数据类型', + 'EXCEPTION_INVALID_ENTITY' => '提供的实体是意外的实体类', + 'EXCEPTION_INVALID_PROPERTY' => '请求的属性不存在', + 'EXCEPTION_OUT_OF_BOUNDS' => '请求的%1$s不存在', + 'EXCEPTION_SERVICE_NOT_FOUND' => '找不到请求的服务', + 'EXCEPTION_UNEXPECTED_VALUE' => '请求的操作%1$s无法执行。原因: %2$s', +)); diff --git a/language/zh_cmn_hans/ext.php b/language/zh_cmn_hans/ext.php new file mode 100644 index 000000000000..ed214e1b16c7 --- /dev/null +++ b/language/zh_cmn_hans/ext.php @@ -0,0 +1,42 @@ + 'phpBB 图像目录不可写。请更改权限以便在您的 FTP 客户端内全部(777 或 -rwxrwxrwxrwx)', + 'PHPBB_VERSION_UNMET' => '此扩展至少需要 phpBB %s', +)); diff --git a/language/zh_cmn_hans/feed_fields.php b/language/zh_cmn_hans/feed_fields.php new file mode 100644 index 000000000000..e82e68a235bf --- /dev/null +++ b/language/zh_cmn_hans/feed_fields.php @@ -0,0 +1,108 @@ + '作者', + 'AUTHORS' => '作者(数组)', + 'BITRATE' => '位速率', + 'CAPTIONS' => '标题', + 'CATEGORIES' => '类别(数组)', + 'CATEGORY' => '类别', + 'CHANNELS' => '频道', + 'CONTENT' => '内容', + 'CONTRIBUTOR' => '贡献者', + 'CONTRIBUTORS' => '贡献者(数组)', + 'COPYRIGHT' => '版权所有', + 'CREDITS' => '点数', + 'DATE' => '日期', + 'DESCRIPTION' => '描述', + 'DURATION' => '持续时间', + 'ENCLOSURE' => '附文', + 'ENCLOSURES' => '附文(数组)', + 'EXPRESSION' => '表达式', + 'FEED' => '订阅源', + 'FRAMERATE' => '帧率', + 'GMDATE' => 'GM 日期', + 'HANDLER' => 'handler', + 'HASHES' => '哈希值', + 'HEIGHT' => '高度', + 'ID' => 'id', + 'IMAGE_HEIGHT' => '图像高度', + 'IMAGE_LINK' => '图片链接', + 'IMAGE_TITLE' => '图片标题', + 'IMAGE_URL' => '图片网址', + 'IMAGE_WIDTH' => '图像宽度', + 'ITEMS' => '项目', + 'JAVASCRIPT' => 'javascript', + 'KEYWORDS' => '关键字', + 'LABEL' => '标签', + 'LANG' => 'lang', + 'LATITUDE' => '纬度', + 'LENGTH' => '长度', + 'LINK' => '链接', + 'LINKS' => '链接', + 'LONGITUDE' => '经度', + 'MEDIUM' => '介质', + 'NAME' => '名称', + 'PERMALINK' => '永久链接', + 'PLAYER' => '播放器', + 'RATINGS' => '评分', + 'RELATIONSHIP' => '关系', + 'RESTRICTIONS' => '限制(数组)', + 'SAMPLINGRATE' => '采样率', + 'SCHEME' => '方案', + 'SOURCE' => '来源', + 'TERM' => '学期', + 'THUMBNAILS' => 'thumbnails', + 'TITLE' => '标题', + 'TYPE' => '类型', + 'UPDATED_DATE' => '更新日期', + 'UPDATED_GMDATE' => '更新 GM 日期', + 'VALUE' => '值', + 'WIDTH' => 'width', +)); diff --git a/language/zh_cmn_hans/icons.php b/language/zh_cmn_hans/icons.php new file mode 100644 index 000000000000..f680beb54ff7 --- /dev/null +++ b/language/zh_cmn_hans/icons.php @@ -0,0 +1,71 @@ + '无障碍环境', + 'ICON_ARROWS' => '箭头', + 'ICON_BRAND' => '品牌版', + 'ICON_CHART' => '图表', + 'ICON_CURRENCY' => '货币', + 'ICON_DIRECTIONAL' => '方向', + 'ICON_FILE_TYPE' => '文件类型', + 'ICON_FORM_CONTROL' => '表单控制', + 'ICON_GENDER' => '两性平等', + 'ICON_HAND' => '手', + 'ICON_MEDICAL' => '医疗服务', + 'ICON_PAYMENT' => '付款', + 'ICON_SPINNER' => '旋转器', + 'ICON_TEXT_EDITOR' => '文本编辑器', + 'ICON_TRANSPORTATION' => '运输', + 'ICON_VIDEO_PLAYER' => '视频播放器', + 'ICON_WEB_APPLICATION' => 'Web 应用程序', + + 'ICON_COLOR' => '颜色', + 'ICON_DEFAULT' => '默认设置', + 'ICON_FLIP_BOTH' => '翻转', + 'ICON_FLIP_HORIZONTAL' => '水平翻转', + 'ICON_FLIP_VERTICAL' => '垂直翻转', + 'ICON_FLOAT' => '浮点数', + 'ICON_FLOAT_LEFT' => '左侧', + 'ICON_FLOAT_RIGHT' => '右侧', + 'ICON_FONT' => 'Font Icons', + 'ICON_INSERT_UPDATE' => 'Insert/Update', + 'ICON_MISC' => '其他', + 'ICON_MISC_BORDERED' => '有边框', + 'ICON_MISC_FIXED_WIDTH' => '固定宽度', + 'ICON_MISC_PULSE' => '脉冲', + 'ICON_MISC_SPINNING' => '连环画', + 'ICON_ROTATION' => '旋转', + 'ICON_ROTATE_90' => '90°', + 'ICON_ROTATE_180' => '180°', + 'ICON_ROTATE_270' => '270°', + 'ICON_SIZE' => '大小', + 'ICON_SIZE_LG' => '较大的', + 'ICON_SIZE_SM' => '小的', + 'ICON_SIZE_2X' => '2 x', + 'ICON_SIZE_3X' => '3 x', + 'ICON_SIZE_4X' => '4 x', + 'ICON_SIZE_5X' => '5 x', + + 'NO_ICON' => '无图标', +)); diff --git a/language/zh_cmn_hans/info_acp_menus.php b/language/zh_cmn_hans/info_acp_menus.php new file mode 100644 index 000000000000..232377fd1ac6 --- /dev/null +++ b/language/zh_cmn_hans/info_acp_menus.php @@ -0,0 +1,92 @@ + '菜单', + 'ACP_MENU_MANAGE' => '菜单管理', + 'ACP_MENU_MANAGE_EXPLAIN' => '您可以在此为您的站点创建和管理菜单', + 'ADD_BULK_MENU' => '批量添加菜单项', + 'ADD_BULK_MENU_EXPLAIN' => '一次添加多个菜单项。
- 将每个项目放在单独一行
- 使用 Tab 键缩进条目来表示父子关系
- 输入条目和 URL 就这样: Home|index.php。', + 'ADD_MENU' => '添加菜单', + 'ADD_MENU_ITEM' => '添加菜单项', + 'ADD_ITEM' => '添加新项目', + 'AJAX_PROCESSING' => '工作', + + 'CHANGE_ME' => '更改我', + + 'DELETE_ITEM' => '删除项目', + 'DELETE_KIDS' => '删除分支', + 'DELETE_MENU' => '删除菜单', + 'DELETE_MENU_CONFIRM' => '您确定要删除此菜单吗?
这将删除菜单及其所有项目', + 'DELETE_MENU_ITEM' => '删除项目', + 'DELETE_MENU_ITEM_CONFIRM' => '您确定要删除此菜单项吗?', + 'DELETE_SELECTED' => '删除选中的', + + 'EDIT_ITEM' => '编辑项目', + + 'ITEM_ACTIVE' => '已启用', + 'ITEM_INACTIVE' => '未激活', + 'ITEM_PARENT' => '父级', + 'ITEM_TITLE' => '项目标题', + 'ITEM_TITLE_EXPLAIN' => '设置为分隔符', + 'ITEM_TARGET' => 'Item Target', + 'ITEM_URL' => '项目网址', + 'ITEM_URL_EXPLAIN' => '- 为标题
留空-外部站点必须以 http(s)://, ftp://, //, 等开头。', + + 'MENU_ITEMS' => '菜单项', + + 'NO_MENU_ITEMS' => '未创建任何菜单项', + 'NO_PARENT' => '无父类', + + 'PROCESSING_ERROR' => '处理错误', + + 'REBUILD_TREE' => '重建树', + 'REQUIRED' => '必填', + 'REQUIRED_FIELDS' => '* 必填字段', + + 'SAVE_CHANGES' => '保存更改', + 'SAVE' => '保存', + 'SELECT_ALL' => '选择所有', + + 'TARGET_BLANK' => '空白页面', + 'TARGET_PARENT' => '父级', + + 'UNSAVED_CHANGES' => '您有未保存的更改', + + 'VISIT_PAGE' => '访问页面', +)); diff --git a/language/zh_cmn_hans/info_acp_settings.php b/language/zh_cmn_hans/info_acp_settings.php new file mode 100644 index 000000000000..56b40227612a --- /dev/null +++ b/language/zh_cmn_hans/info_acp_settings.php @@ -0,0 +1,74 @@ + 'SiteMaker', + 'ACP_SM_SETTINGS' => '设置', + + 'BLOCKS_CLEANUP' => '方块清理', + 'BLOCKS_CLEANUP_EXPLAIN' => '以下项目不再存在或不可访问,因此您可以删除所有与它们相关联的方块。 请牢记其中一些可能是假肯定的', + 'BLOCKS_CLEANUP_BLOCKS' => '无效块(例如从未安装的扩展):', + 'BLOCKS_CLEANUP_ROUTES' => '不可访问/断开页面:', + 'BLOCKS_CLEANUP_STYLES' => '已卸载样式 (id):', + 'BLOCKS_CLEANUP_SUCCESS' => '成功清除块', + + 'FORUM_INDEX_SETTINGS' => '论坛索引设置', + 'FORUM_INDEX_SETTINGS_EXPLAIN' => '这些设置仅在没有定义启动页面时应用', + + 'HIDE' => '隐藏', + 'HIDE_BIRTHDAY' => '隐藏生日部分', + 'HIDE_LOGIN' => '隐藏登录框', + 'HIDE_ONLINE' => '隐藏在线版块', + + 'LAYOUT_BLOG' => '博客', + 'LAYOUT_CUSTOM' => '自定义', + 'LAYOUT_HOLYGRAIL' => '圣杯组织', + 'LAYOUT_PORTAL' => '门户网站', + 'LAYOUT_PORTAL_ALT' => '门户(备选)', + 'LAYOUT_SETTINGS' => '布局设置', + + 'LOG_DELETED_BLOCKS_FOR_STYLE' => '因缺少ID为 %s 的样式而删除站点块。', + 'LOG_DELETED_BLOCKS_FOR_ROUTE' => '已删除破损页面的站点块:
%s', + 'LOG_DELETED_BLOCKS' => '删除无效的站点块:
%s', + + 'NAVIGATION_SETTINGS' => '导航设置', + + 'SETTINGS_SAVED' => '您的设置已保存', + 'SHOW' => '显示', + 'SHOW_FORUM_NAV' => '在导航栏中显示论坛?', + 'SHOW_FORUM_NAV_EXPLAIN' => '当一个页面被设置为首页而不是论坛索引时,我们是否应该在导航栏中显示“论坛”', + 'SHOW_FORUM_NAV_WITH_ICON' => '是 - 图标:', +]); diff --git a/language/zh_cmn_hans/navbar_manager.php b/language/zh_cmn_hans/navbar_manager.php new file mode 100644 index 000000000000..dbb25ff83ab1 --- /dev/null +++ b/language/zh_cmn_hans/navbar_manager.php @@ -0,0 +1,79 @@ + '活动元素', + 'BORDER' => 'Border', + 'BORDER_COLOR' => '边框颜色', + 'BORDER_RADIUS' => '边框半径', + 'BORDER_WIDTH' => 'Border Width', + 'BOTTOM' => '底部', + 'BOTTOM_LEFT' => '左下', + 'BOTTOM_RIGHT' => '右下', + 'CAPITALIZE' => '首页', + 'COLOR' => '颜色', + 'DIVIDERS' => '分隔符', + 'END' => '结束', + 'GRADIENT' => '渐变', + 'HEADERS' => '信头', + 'HOVER' => 'Hover', + 'LEFT' => '左侧', + 'LOWERCASE' => '小写', + 'MARGIN' => '边距', + 'NAVBAR' => '导航栏', + 'NAVBAR_MENU' => 'Navbar menu', + 'NAVBAR_DROPDOWN' => '下拉列表', + 'NAVBAR_LOCATION' => '地点', + 'NAVBAR_LOCATION_OPTION' => '位置 #%s', + 'NAVBAR_TOP_MENU' => '顶部菜单', + 'NONE' => '无', + 'PADDING' => 'Padding', + 'RESPONSIVE_TOGGLE' => '响应式切换', + 'RESPONSIVE_TOGGLE_EXPLAIN' => '仅在小屏幕上可查看 (移动)', + 'RIGHT' => '右侧', + 'SAVE' => '保存', + 'SIZE' => '大小', + 'START' => '开始', + 'TEXT' => '文本', + 'TOP' => '顶端', + 'TOP_LEFT' => '左上', + 'TOP_RIGHT' => '右上', + 'TRANSFORM' => '变换', + 'UPPERCASE' => '大写', +)); diff --git a/language/zh_cmn_hans/permissions_sitemaker.php b/language/zh_cmn_hans/permissions_sitemaker.php new file mode 100644 index 000000000000..7c7f15389f0b --- /dev/null +++ b/language/zh_cmn_hans/permissions_sitemaker.php @@ -0,0 +1,45 @@ + '[ 站点Maker ] 可以管理设置', + 'ACL_A_SM_MANAGE_BLOCKS' => '[ 站点Maker ] 可以管理块', + 'ACL_A_SM_MANAGE_MENUS' => '[ 站点Maker ] 可以管理菜单', +)); diff --git a/language/zh_cmn_hant/block_manager.php b/language/zh_cmn_hant/block_manager.php new file mode 100644 index 000000000000..9bd5cdd871d9 --- /dev/null +++ b/language/zh_cmn_hant/block_manager.php @@ -0,0 +1,123 @@ + '*Drag and Drop blocks', + 'AJAX_ERROR' => 'Oops! There was an error processing your request. Please try again.', + 'AJAX_LOADING' => 'Loading...', + 'AJAX_PROCESSING' => 'Working...', + + 'BACKGROUND' => 'Background', + 'BLOCKS' => 'Blocks', + 'BLOCKS_COPY_FROM' => 'Copy Blocks', + 'BLOCK_ACTIVE' => 'Active', + 'BLOCK_CHILD_ROUTES_ONLY' => 'Show on child routes only', + 'BLOCK_CHILD_ROUTES_HIDE' => 'Hide on child routes', + 'BLOCK_CLASS' => 'CSS Class', + 'BLOCK_CLASS_EXPLAIN' => 'Modify block appearance with CSS classes', + 'BLOCK_DESIGN' => 'Appearance', + 'BLOCK_DISPLAY_TYPE' => 'Display', + 'BLOCK_HIDE_TITLE' => 'Hide block title?', + 'BLOCK_INACTIVE' => 'Inactive', + 'BLOCK_MISSING_TEMPLATE' => 'Missing required block template. Please contact developer', + 'BLOCK_NOT_FOUND' => 'Oops! The requested block service was not found', + 'BLOCK_NO_DATA' => 'No data to display', + 'BLOCK_NO_ID' => 'Oops! Missing block id', + 'BLOCK_PERMISSION' => 'Permission', + 'BLOCK_PERMISSION_ALLOW' => 'Show to', + 'BLOCK_PERMISSION_DENY' => 'Hide from', + 'BLOCK_PERMISSION_EXPLAIN' => 'Use CTRL + click to toggle selection', + 'BLOCK_SHOW_ALWAYS' => 'Always', + 'BLOCK_STATUS' => 'Status', + 'BLOCK_UPDATED' => 'Block settings successfully updated', + + 'CANCEL' => 'Cancel', + 'CHILD_ROUTE' => 'Child', + 'CHILD_ROUTE_EXPLAIN' => '/viewforum.php, /dir/index.php
/viewtopic.php?f=2&t=1
/articles/my-article', + 'CLEAR' => 'Clear', + 'COPY' => 'Copy', + 'COPY_BLOCKS' => 'Copy Blocks?', + 'COPY_BLOCKS_CONFIRM' => 'Are you sure that you’d like to copy blocks from another page?

This will delete all existing blocks and their settings for this page and replace them with the blocks from the selected page.', + + 'DEFAULT_LAYOUT_EXPLAIN' => 'If set, all site pages for which you have not specified blocks will inherit the blocks from the default layout. You may, however, override the default layout for particular pages using the options to the right.', + 'DELETE' => 'Delete', + 'DELETE_ALL_BLOCKS' => 'Delete All Blocks', + 'DELETE_ALL_BLOCKS_CONFIRM' => 'Are you sure that you’d like to delete all blocks for this page?', + 'DELETE_BLOCK' => 'Delete Block', + 'DELETE_BLOCK_CONFIRM' => 'Are you sure you want to delete this block?


Note: You will have to save the layout changes to make this permanent.', + + 'EDIT' => 'Edit', + 'EDIT_BLOCK' => 'Edit Block', + 'EXIT_EDIT_MODE' => 'Exit Edit Mode', + + 'FEED_PROBLEMS' => 'There was a problem processing the provided rss/atom feed(s)', + 'FEED_URL_MISSING' => 'Please provide at least one rss/atom feed to begin', + 'FIELD_INVALID' => 'The provided value for the field “%s” has an invalid format', + 'FIELD_REQUIRED' => '“%s” is a required field', + 'FIELD_TOO_LONG' => 'The provided value for the field “%1$s” is too long. The maximum acceptable value is %2$d.', + 'FIELD_TOO_SHORT' => 'The provided value for the field “%1$s” is too short. The minimum acceptable value is %2$d.', + + 'HIDE_ALL_BLOCKS' => 'Do not show blocks on this page', + 'HIDE_BLOCK_POSITIONS' => 'Do not show blocks for the following block positions:', + + 'IMAGES' => 'Images', + + 'LAYOUT' => 'Layout', + 'LAYOUT_SAVED' => 'Layout successfully saved!', + 'LAYOUT_SETTINGS' => 'Layout Settings', + 'LEAVE_CONFIRM' => 'You have some unsaved changes to this page. Please save your work before moving on', + 'LISTS' => 'Lists', + + 'MAKE_DEFAULT_LAYOUT' => 'Set As Default Layout', + + 'OR' => 'OR', + + 'PARENT_ROUTE' => 'Parent', + 'PARENT_ROUTE_EXPLAIN' => '/index.php
/viewforum.php?f=2
/articles', + 'PREDEFINED_CLASSES' => 'Predefined classes', + + 'REDO' => 'Redo', + 'REMOVE_DEFAULT_LAYOUT' => 'Remove As Default Layout', + 'REMOVE_STARTPAGE' => 'Remove Start Page', + 'ROUTE_HIDDEN_BLOCKS' => 'Blocks are being hidden for this page', + 'ROUTE_HIDDEN_POSITIONS' => 'Blocks are being hidden for the following positions', + 'ROUTE_UPDATED' => 'Page settings successfully updated', + + 'SAVE_CHANGES' => 'Save Changes', + 'SAVE_SETTINGS' => 'Save Settings', + 'SELECT_ICON' => 'Select an Icon', + 'SETTINGS' => 'Settings', + 'SETTING_TOO_BIG' => 'The provided value for the setting “%1$s” is too high. The maximum acceptable value is %2$d.', + 'SETTING_TOO_LONG' => 'The provided value for the setting “%1$s” is too long. The maximum acceptable length is %2$d.', + 'SETTING_TOO_LOW' => 'The provided value for the setting “%1$s” is too low. The minimum acceptable value is %2$d.', + 'SETTING_TOO_SHORT' => 'The provided value for the setting “%1$s” is too short. The minimum acceptable length is %2$d.', + 'SET_STARTPAGE' => 'Set As Start Page', + + 'TITLES' => 'Titles', + + 'UPDATE_SIMILAR' => 'Update blocks with similar settings', + 'UNDO' => 'Undo', + + 'VIEW_DEFAULT_LAYOUT' => 'View/Edit Default Layout', + 'VISIT_PAGE' => 'Visit Page', +)); diff --git a/language/zh_cmn_hant/blocks_admin.php b/language/zh_cmn_hant/blocks_admin.php new file mode 100644 index 000000000000..3a3288691381 --- /dev/null +++ b/language/zh_cmn_hant/blocks_admin.php @@ -0,0 +1,189 @@ + 'All Types', + 'ALL_GROUPS' => 'All Groups', + 'ARCHIVES' => 'Archives', + 'AUTO_LOGIN' => 'Allow auto login?', + 'FILE_MANAGER' => 'File Manager', + 'TOPIC_POST_IDS' => 'From Topic/Post Ids', + 'TOPIC_POST_IDS_EXPLAIN' => 'Id(s) of topics/posts to retrieve attachments from, separated by commas(,). Specify if this list is for topic or post ids above.', + 'TOPIC_POST_IDS_TYPE' => 'Type of IDs (below)', + + // Blocks + 'BLITZE_SITEMAKER_BLOCK_ATTACHMENTS' => 'Attachments', + 'BLITZE_SITEMAKER_BLOCK_BIRTHDAY' => 'Birthday', + 'BLITZE_SITEMAKER_BLOCK_CUSTOM' => 'Custom Block', + 'BLITZE_SITEMAKER_BLOCK_FEATURED_MEMBER' => 'Featured Member', + 'BLITZE_SITEMAKER_BLOCK_FEEDS' => 'RSS/Atom Feeds', + 'BLITZE_SITEMAKER_BLOCK_FORUM_POLL' => 'Forum Poll', + 'BLITZE_SITEMAKER_BLOCK_FORUM_TOPICS' => 'Forum Topics', + 'BLITZE_SITEMAKER_BLOCK_GOOGLE_MAPS' => 'Google Maps', + 'BLITZE_SITEMAKER_BLOCK_POPULAR_TOPICS' => 'Popular Topics', + 'BLITZE_SITEMAKER_BLOCK_LINKS' => 'Links', + 'BLITZE_SITEMAKER_BLOCK_LOGIN' => 'Login Box', + 'BLITZE_SITEMAKER_BLOCK_MEMBERS' => 'Members', + 'BLITZE_SITEMAKER_BLOCK_MEMBER_MENU' => 'Member Menu', + 'BLITZE_SITEMAKER_BLOCK_MENU' => 'Menu', + 'BLITZE_SITEMAKER_BLOCK_MYBOOKMARKS' => 'My Bookmarks', + 'BLITZE_SITEMAKER_BLOCK_RECENT_TOPICS' => 'Recent Topics', + 'BLITZE_SITEMAKER_BLOCK_STATS' => 'Statistics', + 'BLITZE_SITEMAKER_BLOCK_STYLE_SWITCHER' => 'Style Switcher', + 'BLITZE_SITEMAKER_BLOCK_WHATS_NEW' => 'What’s New?', + 'BLITZE_SITEMAKER_BLOCK_WHOIS' => 'Who is online', + 'BLITZE_SITEMAKER_BLOCK_WORDGRAPH' => 'Wordgraph', + + // block views + 'BLOCK_VIEW' => 'Block View', + 'BLOCK_VIEW_BASIC' => 'Basic', + 'BLOCK_VIEW_BOXED' => 'Boxed', + 'BLOCK_VIEW_DEFAULT' => 'Default', + 'BLOCK_VIEW_SIMPLE' => 'Simple', + + 'CACHE_DURATION' => 'Cache duration', + 'CONTEXT' => 'Context', + 'CSS_SCRIPTS' => 'CSS Scripts', + 'CUSTOM_PROFILE_FIELDS' => 'Custom Profile Fields', + + 'DATE_RANGE' => 'Date Range', + 'DISPLAY_PREVIEW' => 'Display Preview?', + + 'EDIT_ME' => 'Please edit me', + 'ENABLE_TOPIC_TRACKING' => 'Enable topic tracking?', + 'ENABLE_TOPIC_TRACKING_EXPLAIN' => 'If enabled, unread topics will be indicated but the block results will not be cached (Not recommended)', + 'EXCLUDE_TOO_MANY_WORDS' => 'You have entered too many words to exclude. The maximum number of characters possible is 255, you have entered %s.', + 'EXCLUDE_WORDS' => 'Exclude words', + 'EXCLUDE_WORDS_EXPLAIN' => 'List the words you’d like to exclude from the wordgraph separated by a comma (,). Maximum 255 characters.', + 'EXPANDED' => 'Expanded', + 'EXTENSION_GROUP' => 'Extension Group', + + 'FEATURED_MEMBER_IDS' => 'User IDs', + 'FEATURED_MEMBER_IDS_EXPLAIN' => 'Comma separated list of users to feature (Only applies to Featured Member display mode)', + 'FEED_DATA_PREVIEW' => 'Feed Data', + 'FEED_ITEM_TEMPLATE' => 'Item Template', + 'FEED_ITEM_TEMPLATE_EXPLAIN' => 'TIPS:
+
    +
  • Access feed data in item variable e.g. item.title
  • +
  • Template must be in Twig syntax
  • +
  • Click Samples above for sample templates
  • +
  • Use get_item_tags($namespace, $tag) to get any tag from the feed that we do not provide e.g.
    {{ get_item_tags(\'\', \'image\') }}
  • +
  • Use Twig’s json_encode filter to see contents of array e.g. {{ get_item_tags(\'\', \'image\')|json_encode() }}
  • +
', + 'FEED_PREVIEW_SOURCE' => 'Source', + 'FEED_URL_PLACEHOLDER' => 'http://example.com/rss', + 'FEED_URLS' => 'Feed URLs', + 'FIRST_POST_ONLY' => 'First Post Only', + 'FIRST_POST_TIME' => 'First Post Time', + 'FORUMS_GET_TYPE' => 'Get type', + 'FORUMS_MAX_TOPICS' => 'Maximum topics/posts', + 'FORUMS_TITLE_MAX_CHARS' => 'Maximum characters per title', + 'FREQUENCY' => 'Frequency', + 'FULL' => 'Full', + 'FULLSCREEN' => 'Fullscreen', + + 'GET_TYPE' => 'Display Topic/Post?', + + 'HTML' => 'HTML', + 'HTML_EXPLAIN' => 'Use this textarea to enter raw HTML content.
Please note that any content posted here will override the custom block content and the visual block editor will not be available.', + 'HOURS_SHORT' => 'hrs', + + 'JS_SCRIPTS' => 'JS Scripts', + + 'LAST_POST_TIME' => 'Last Post Time', + 'LAST_READ_TIME' => 'Last Read Time', + 'LIMIT' => 'Limit', + 'LIMIT_FORUMS' => 'Forum Ids (optional)', + 'LIMIT_FORUMS_EXPLAIN' => 'Enter each forum id separated by a comma (,). If set, only topics from specified forums will be displayed.', + 'LIMIT_POST_TIME' => 'Limit by Post time', + 'LIMIT_POST_TIME_EXPLAIN' => 'If set, only topics posted within the specified period will be retrieved', + + 'MAX_DEPTH' => 'Maximum depth', + 'MAX_ITEMS' => 'Maximum number of items', + 'MAX_MEMBERS' => 'Max. Members', + 'MAX_POSTS' => 'Maximum number of posts', + 'MAX_TOPICS' => 'Maximum number of topics', + 'MAX_WORDS' => 'Maximum number of words', + 'MANAGE_MENUS' => 'Manage Menus', + 'MAP_COORDINATES' => 'Coordinates', + 'MAP_COORDINATES_EXPLAIN' => 'Enter coordinates in the form latitude,longitude', + 'MAP_HEIGHT' => 'Height', + 'MAP_LOCATION' => 'Location', + 'MAP_TITLE' => 'Title', + 'MAP_VIEW' => 'View', + 'MAP_VIEW_HYBRID' => 'Hybrid', + 'MAP_VIEW_MAP' => 'Map', + 'MAP_VIEW_SATELITE' => 'Satelite', + 'MAP_VIEW_TERRAIN' => 'Terrain', + 'MAP_ZOOM_LEVEL' => 'Zoom Level', + 'MEMBERS_DATE' => 'Date', + 'MENU_NO_ITEMS' => 'No active items to display', + 'MINI' => 'Mini', + + 'OR' => 'OR', + 'ORDER_BY' => 'Order by', + + 'POLL_FROM_FORUMS' => 'Display polls from forums(s)', + 'POLL_FROM_FORUMS_EXPLAIN' => 'Only polls from the selected forums will be displayed as long as no topics are specified above', + 'POLL_FROM_GROUPS' => 'Display polls from groups(s)', + 'POLL_FROM_GROUPS_EXPLAIN' => 'Only polls from members of the selected groups will be displayed as long as no user(s) is/are specified above', + 'POLL_FROM_TOPICS' => 'Display polls from topic(s)', + 'POLL_FROM_TOPICS_EXPLAIN' => 'Id(s) of topics to retrieve polls from, separated by commas(,). Leave blank to select any topic.', + 'POLL_FROM_USERS' => 'Display polls from user(s)', + 'POLL_FROM_USERS_EXPLAIN' => 'Id(s) of user(s) whose polls you’d like to display, separated by commas(,). Leave blank to select polls from any user.', + 'POSTS_TITLE_LIMIT' => 'Maximum # of characters for post title', + 'PREVIEW_MAX_CHARS' => 'Number of characters to preview', + + 'QUERY_TYPE' => 'Display Mode', + + 'ROTATE_DAILY' => 'Daily', + 'ROTATE_HOURLY' => 'Hourly', + 'ROTATE_MONTHLY' => 'Monthly', + 'ROTATE_PAGELOAD' => 'Page load', + 'ROTATE_WEEKLY' => 'Weekly', + + 'SAMPLES' => 'Samples', + 'SCRIPTS' => 'Scripts', + 'SELECT_FORUMS' => 'Select forums', + 'SELECT_FORUMS_EXPLAIN' => 'Select the forums from which to display topics/posts. Leave blank to select from all forums', + 'SELECT_MENU' => 'Select Menu', + 'SELECT_PROFILE_FIELDS' => 'Select profile fields', + 'SELECT_PROFILE_FIELDS_EXPLAIN' => 'Only the selected profile fields will be displayed, if available.', + 'SHOW_FIRST_POST' => 'First Post', + 'SHOW_HIDE_ME' => 'Allow hide online status?', + 'SHOW_LAST_POST' => 'Last Post', + 'SHOW_MEMBER_MENU' => 'Show user menu?', + 'SHOW_MEMBER_MENU_EXPLAIN' => 'Replace login box with user menu if user is logged in', + 'SHOW_WORD_COUNT' => 'Show word count?', + + 'TEMPLATE' => 'Template', + 'TOPIC_TITLE_LIMIT' => 'Maximum # of characters for topic title', + 'TOPIC_TYPE' => 'Topic Type', + 'TOPIC_TYPE_EXPLAIN' => 'Select the topic types you’d like to display. Leave the boxes unchecked to select from all topic types', + 'TOPICS_LOOK_BACK' => 'Look back', + 'TOPICS_ONLY' => 'Topics only?', + 'TOPICS_PER_PAGE' => 'Per page', + + 'WORD_MAX_SIZE' => 'Maximum font size', + 'WORD_MIN_SIZE' => 'Minimum font size', +)); diff --git a/language/zh_cmn_hant/common.php b/language/zh_cmn_hant/common.php new file mode 100644 index 000000000000..ba8fbbe28ce8 --- /dev/null +++ b/language/zh_cmn_hant/common.php @@ -0,0 +1,97 @@ + 'All Time', + + 'BLOCK_TITLE' => 'Block Title', + + 'CHANGE_ME' => 'Change Me', + + 'DAILY_MEMBER' => 'Member of the day', + + 'FEATURED_MEMBER' => 'Featured Member', + 'FEATURED_MEMBERLIST' => 'Featured members list', + 'FEEDS' => 'Feeds', + 'FORUM_ANNOUNCEMENTS' => 'Forum Announcements', + 'FORUM_GLOBAL_ANNOUNCEMENTS' => 'Global Forum Announcements', + 'FORUM_RECENT_POSTS' => 'Recent Forum Posts', + 'FORUM_RECENT_TOPICS' => 'Recent Forum Topics', + 'FORUM_STICKY_POSTS' => 'Recent Sticky Posts', + + 'HELP' => 'Help', + 'HOURLY_MEMBER' => 'Member of the hour', + + 'GOOGLE_MAP' => 'Google Map', + + 'JOIN_DATE' => 'Join Date', + + 'LAST_POST_BY_AUTHOR' => 'Last post by', + 'LAST_VISITED' => 'Last Visited', + 'LINKS' => 'Links', + + 'MCP_SITEMAKER_CONTENT' => 'Contents', + 'MEMBERS_DATE' => 'Date', + 'MENU' => 'Menu', + 'MONTHLY_MEMBER' => 'Member of the month', + 'MOST_TENURED' => 'Most Tenured', + 'MY_BOOKMARKS' => 'My Bookmarks', + + 'NO_BOOKMARKED_TOPICS' => 'You have not bookmarked any topics', + 'NO_NEW_TOPICS' => 'There are no new topics to display', + + 'POLL' => 'Poll', + 'POPULAR_TOPICS' => 'Popular Topics', + 'POSTS_MEMBER' => 'Top Poster', + 'PROCESSING' => 'processing...', + + 'QTYPE_POSTS' => 'Congratulations to:', + 'QTYPE_RECENT' => 'Please welcome our newest member:', + + 'RECENT_BOTS' => 'Recent Search Engines', + 'RECENT_MEMBER' => 'Recent Member', + 'RECENT_MEMBERS' => 'Recent Members', + + 'SESSION_HIDE_ME' => 'Hide Me', + 'SM_NAVIGATION' => 'Navigation', + 'SM_TOGGLE_DROPDOWN' => 'Toggle dropdown', + 'STYLE_SWITCHER' => 'Style Switcher', + + 'THIS_MONTH' => 'This Month', + 'THIS_WEEK' => 'This Week', + 'THIS_YEAR' => 'This Year', + 'TODAY' => 'Today', + 'TOPICS_LAST_READ' => 'Last Read Topics', + 'TOPIC_LAST_READ' => 'Last read %s', + 'TOP_POSTERS' => 'Top Posters', + + 'UCP_SITEMAKER_CONTENT' => 'My Stuff', + + 'VIEW_DETAILS' => 'View Details', + 'VIEW_USER_PROFILE' => 'All about %s', + + 'WEEKLY_MEMBER' => 'Member of the week', + 'WELCOME' => 'Welcome', + 'WHATS_NEW' => 'What’s New?', + 'WORDGRAPH' => 'Wordgraph', +)); diff --git a/language/zh_cmn_hant/css_presets.php b/language/zh_cmn_hant/css_presets.php new file mode 100644 index 000000000000..31b5df933209 --- /dev/null +++ b/language/zh_cmn_hant/css_presets.php @@ -0,0 +1,107 @@ + 'Arrow list marker', + 'LIST_CIRCLE' => 'Circle list marker', + 'LIST_DISC' => 'Bullet list marker', + 'LIST_SQUARE' => 'Square list marker', + 'LIST_NUMBERED' => 'Numbered list', + 'LIST_NUMBERED_ALPHABET' => 'Numbered with alphabet', + 'LIST_NUMBERED_NESTED' => 'Numbered with subsections', + 'LIST_NUMBERED_ROMAN' => 'Numbered with Roman numerals', + 'LIST_NUMBERED_ZERO' => 'Numbered with leading zero', + 'LIST_INLINE' => 'Inline list', + 'LIST_INLINE_SEP' => 'Comma-separated list', + 'LIST_REVERSE' => 'Reverse order', + 'LIST_STRIPED' => 'Striped list', + 'LIST_STACKED' => 'Stacked list', + 'LIST_TRIANGLE' => 'Triangle', + 'LIST_HYPHEN' => 'Hyphen', + 'LIST_PLUS' => 'Plus', + 'LIST_SPADE' => 'Spade', + 'LIST_CLUB' => 'Club', + 'LIST_DIAMOND' => 'Diamond', + 'LIST_HEART' => 'Heart', + 'LIST_STAR' => 'Star', + 'LIST_CHECK' => 'Check', + 'LIST_SNOWFLAKE' => 'Snowflake', + 'LIST_MUSIC' => 'Music', + 'LIST_AUTOWIDTH' => 'Auto width', + 'LIST_FIT_CONTENT' => 'Fit content', + 'LIST_2COLS' => '2 column list', + 'LIST_3COLS' => '3 columns list', + 'LIST_4COLS' => '4 columns list', + 'LIST_5COLS' => '5 columns list', + 'LIST_X_DIVIDER_DOTTED' => 'Horizontal dotted divider', + 'LIST_X_DIVIDER_LINE' => 'Horizontal line divider', + 'LIST_Y_DIVIDER_DOTTED' => 'Vertical dotted divider', + 'LIST_Y_DIVIDER_LINE' => 'Vertical line divider', + + 'IMAGE_SMALL' => 'Small image', + 'IMAGE_MEDIUM' => 'Medium image', + 'IMAGE_LARGE' => 'Large image', + 'IMAGE_FULL_WIDTH' => 'Full width image', + 'IMAGE_ALIGN_LEFT' => 'Float image left', + 'IMAGE_ALIGN_RIGHT' => 'Float image right', + 'IMAGE_CIRCLE' => 'Circular image', + 'IMAGE_ROUNDED' => 'Rounded image', + 'IMAGE_BORDER' => 'Bordered image', + 'IMAGE_BORDER_PADDING' => 'Image border padding', + 'IMAGE_RATIO_SQUARE' => 'Square Image', + 'IMAGE_RATIO_4_BY_3' => '4 by 3 image', + 'IMAGE_RATIO_16_BY_9' => '16 by 9 image', + + 'RESPONSIVE_SHOW' => 'Show only on small devices', + 'RESPONSIVE_HIDE' => 'Hide on small devices', + + 'ALIGN_LEFT' => 'Left-aligned text', + 'ALIGN_CENTER' => 'Centered text', + 'ALIGN_RIGHT' => 'Right-aligned text', + 'NO_PADDING' => 'No padding', + 'LABEL' => 'Label', + 'BADGE' => 'Badge', + 'PRIMARY_COLOR' => 'Primary color', + 'SECONDARY_COLOR' => 'Secondary color', + 'GRAYSCALE_COLOR' => 'Grayscale', + 'INFO_COLOR' => 'Info', + 'SUCCESS_COLOR' => 'Success', + 'WARNING_COLOR' => 'Warning', + 'DANGER_COLOR' => 'Danger', +)); diff --git a/language/zh_cmn_hant/exceptions.php b/language/zh_cmn_hant/exceptions.php new file mode 100644 index 000000000000..6a3da47f86f6 --- /dev/null +++ b/language/zh_cmn_hant/exceptions.php @@ -0,0 +1,49 @@ + 'Required field missing', + 'EXCEPTION_INVALID_ACTION' => 'The action does not exist', + 'EXCEPTION_INVALID_ARGUMENT' => 'Invalid argument specified for `%1$s`. Reason: %2$s', + 'EXCEPTION_INVALID_DATA_TYPE' => 'The provided value is of an unexpected data type', + 'EXCEPTION_INVALID_ENTITY' => 'The provided entity is of an unexpected entity class', + 'EXCEPTION_INVALID_PROPERTY' => 'The requested property does not exist', + 'EXCEPTION_OUT_OF_BOUNDS' => 'The requested `%1$s` does not exist', + 'EXCEPTION_SERVICE_NOT_FOUND' => 'The requested service was not found', + 'EXCEPTION_UNEXPECTED_VALUE' => 'The requested action `%1$s` could not be performed. Reason: %2$s', +)); diff --git a/language/zh_cmn_hant/ext.php b/language/zh_cmn_hant/ext.php new file mode 100644 index 000000000000..c3fe9daa0021 --- /dev/null +++ b/language/zh_cmn_hant/ext.php @@ -0,0 +1,42 @@ + 'The phpBB Image directory is not writable. Please change the permissions to writable by all (777 or -rwxrwxrwx within your FTP Client)', + 'PHPBB_VERSION_UNMET' => 'This extension requires at least phpBB %s', +)); diff --git a/language/zh_cmn_hant/feed_fields.php b/language/zh_cmn_hant/feed_fields.php new file mode 100644 index 000000000000..87f21fdfef60 --- /dev/null +++ b/language/zh_cmn_hant/feed_fields.php @@ -0,0 +1,108 @@ + 'author', + 'AUTHORS' => 'authors (array)', + 'BITRATE' => 'bitrate', + 'CAPTIONS' => 'captions', + 'CATEGORIES' => 'categories (array)', + 'CATEGORY' => 'category', + 'CHANNELS' => 'channels', + 'CONTENT' => 'content', + 'CONTRIBUTOR' => 'contributor', + 'CONTRIBUTORS' => 'contributors (array)', + 'COPYRIGHT' => 'copyright', + 'CREDITS' => 'credits', + 'DATE' => 'date', + 'DESCRIPTION' => 'description', + 'DURATION' => 'duration', + 'ENCLOSURE' => 'enclosure', + 'ENCLOSURES' => 'enclosures (array)', + 'EXPRESSION' => 'expression', + 'FEED' => 'feed', + 'FRAMERATE' => 'framerate', + 'GMDATE' => 'GM date', + 'HANDLER' => 'handler', + 'HASHES' => 'hashes', + 'HEIGHT' => 'height', + 'ID' => 'id', + 'IMAGE_HEIGHT' => 'image height', + 'IMAGE_LINK' => 'image link', + 'IMAGE_TITLE' => 'image title', + 'IMAGE_URL' => 'image url', + 'IMAGE_WIDTH' => 'image width', + 'ITEMS' => 'items', + 'JAVASCRIPT' => 'javascript', + 'KEYWORDS' => 'keywords', + 'LABEL' => 'label', + 'LANG' => 'lang', + 'LATITUDE' => 'latitude', + 'LENGTH' => 'length', + 'LINK' => 'link', + 'LINKS' => 'links', + 'LONGITUDE' => 'longitude', + 'MEDIUM' => 'medium', + 'NAME' => 'name', + 'PERMALINK' => 'permalink', + 'PLAYER' => 'player', + 'RATINGS' => 'ratings', + 'RELATIONSHIP' => 'relationship', + 'RESTRICTIONS' => 'restrictions (array)', + 'SAMPLINGRATE' => 'sampling rate', + 'SCHEME' => 'scheme', + 'SOURCE' => 'source', + 'TERM' => 'term', + 'THUMBNAILS' => 'thumbnails', + 'TITLE' => 'title', + 'TYPE' => 'type', + 'UPDATED_DATE' => 'updated date', + 'UPDATED_GMDATE' => 'updated GM date', + 'VALUE' => 'value', + 'WIDTH' => 'width', +)); diff --git a/language/zh_cmn_hant/icons.php b/language/zh_cmn_hant/icons.php new file mode 100644 index 000000000000..1c6f04ce18b0 --- /dev/null +++ b/language/zh_cmn_hant/icons.php @@ -0,0 +1,71 @@ + 'Accessibility', + 'ICON_ARROWS' => 'Arrows', + 'ICON_BRAND' => 'Brand', + 'ICON_CHART' => 'Chart', + 'ICON_CURRENCY' => 'Currency', + 'ICON_DIRECTIONAL' => 'Directional', + 'ICON_FILE_TYPE' => 'File Type', + 'ICON_FORM_CONTROL' => 'Form Control', + 'ICON_GENDER' => 'Gender', + 'ICON_HAND' => 'Hand', + 'ICON_MEDICAL' => 'Medical', + 'ICON_PAYMENT' => 'Payment', + 'ICON_SPINNER' => 'Spinner', + 'ICON_TEXT_EDITOR' => 'Text Editor', + 'ICON_TRANSPORTATION' => 'Transportation', + 'ICON_VIDEO_PLAYER' => 'Video Player', + 'ICON_WEB_APPLICATION' => 'Web Application', + + 'ICON_COLOR' => 'Color', + 'ICON_DEFAULT' => 'Default', + 'ICON_FLIP_BOTH' => 'Flip Both', + 'ICON_FLIP_HORIZONTAL' => 'Flip Horizontal', + 'ICON_FLIP_VERTICAL' => 'Flip Vertical', + 'ICON_FLOAT' => 'Float', + 'ICON_FLOAT_LEFT' => 'Left', + 'ICON_FLOAT_RIGHT' => 'Right', + 'ICON_FONT' => 'Font Icons', + 'ICON_INSERT_UPDATE' => 'Insert/Update', + 'ICON_MISC' => 'Misc', + 'ICON_MISC_BORDERED' => 'Bordered', + 'ICON_MISC_FIXED_WIDTH' => 'Fixed Width', + 'ICON_MISC_PULSE' => 'Pulse', + 'ICON_MISC_SPINNING' => 'Spinning', + 'ICON_ROTATION' => 'Rotation', + 'ICON_ROTATE_90' => '90°', + 'ICON_ROTATE_180' => '180°', + 'ICON_ROTATE_270' => '270°', + 'ICON_SIZE' => 'Size', + 'ICON_SIZE_LG' => 'Larger', + 'ICON_SIZE_SM' => 'Small', + 'ICON_SIZE_2X' => '2x', + 'ICON_SIZE_3X' => '3x', + 'ICON_SIZE_4X' => '4x', + 'ICON_SIZE_5X' => '5x', + + 'NO_ICON' => 'No Icon', +)); diff --git a/language/zh_cmn_hant/info_acp_menus.php b/language/zh_cmn_hant/info_acp_menus.php new file mode 100644 index 000000000000..a06f50a4c63b --- /dev/null +++ b/language/zh_cmn_hant/info_acp_menus.php @@ -0,0 +1,92 @@ + 'Menu', + 'ACP_MENU_MANAGE' => 'Menu Management', + 'ACP_MENU_MANAGE_EXPLAIN' => 'Here you can create and manage menus for your site', + 'ADD_BULK_MENU' => 'Bulk Add Menu Items', + 'ADD_BULK_MENU_EXPLAIN' => 'Add multiple menu items at once.
- Place each item on a separate line
- Use the Tab key to indent items to represent parent-child relationships
- Enter item and URL like so: Home|index.php', + 'ADD_MENU' => 'Add Menu', + 'ADD_MENU_ITEM' => 'Add Menu Item', + 'ADD_ITEM' => 'Add New Item', + 'AJAX_PROCESSING' => 'Working', + + 'CHANGE_ME' => 'Change Me', + + 'DELETE_ITEM' => 'Delete Item', + 'DELETE_KIDS' => 'Delete Branch', + 'DELETE_MENU' => 'Delete Menu', + 'DELETE_MENU_CONFIRM' => 'Are you sure you want to delete this menu?
This will delete the menu and all its items', + 'DELETE_MENU_ITEM' => 'Delete Item', + 'DELETE_MENU_ITEM_CONFIRM' => 'Are you sure you want to delete this menu item?', + 'DELETE_SELECTED' => 'Delete Selected', + + 'EDIT_ITEM' => 'Edit Item', + + 'ITEM_ACTIVE' => 'Active', + 'ITEM_INACTIVE' => 'Inactive', + 'ITEM_PARENT' => 'Parent', + 'ITEM_TITLE' => 'Item Title', + 'ITEM_TITLE_EXPLAIN' => 'Set as ’-’ for divider', + 'ITEM_TARGET' => 'Item Target', + 'ITEM_URL' => 'Item URL', + 'ITEM_URL_EXPLAIN' => '- Leave empty for headings
- External sites must begin with http(s)://, ftp://, //, etc', + + 'MENU_ITEMS' => 'Menu Items', + + 'NO_MENU_ITEMS' => 'No menu items have been created', + 'NO_PARENT' => 'No Parent', + + 'PROCESSING_ERROR' => 'Processing error', + + 'REBUILD_TREE' => 'Rebuild Tree', + 'REQUIRED' => 'Required', + 'REQUIRED_FIELDS' => '* Required fields', + + 'SAVE_CHANGES' => 'Save Changes', + 'SAVE' => 'Save', + 'SELECT_ALL' => 'Select All', + + 'TARGET_BLANK' => 'Blank Page', + 'TARGET_PARENT' => 'Parent', + + 'UNSAVED_CHANGES' => 'You have unsaved changes', + + 'VISIT_PAGE' => 'Visit Page', +)); diff --git a/language/zh_cmn_hant/info_acp_settings.php b/language/zh_cmn_hant/info_acp_settings.php new file mode 100644 index 000000000000..5e704a037343 --- /dev/null +++ b/language/zh_cmn_hant/info_acp_settings.php @@ -0,0 +1,74 @@ + 'SiteMaker', + 'ACP_SM_SETTINGS' => 'Settings', + + 'BLOCKS_CLEANUP' => 'Blocks Cleanup', + 'BLOCKS_CLEANUP_EXPLAIN' => 'The following items were found to no longer exist or unreachable, and you can therefore delete all blocks associated to them. Please keep in mind that some of these may be false positives', + 'BLOCKS_CLEANUP_BLOCKS' => 'Invalid Blocks (e.g. from uninstalled extensions):', + 'BLOCKS_CLEANUP_ROUTES' => 'Unreachable/broken Pages:', + 'BLOCKS_CLEANUP_STYLES' => 'Uninstalled Styles (ids):', + 'BLOCKS_CLEANUP_SUCCESS' => 'Blocks purged sucessfully', + + 'FORUM_INDEX_SETTINGS' => 'Forum Index Settings', + 'FORUM_INDEX_SETTINGS_EXPLAIN' => 'These settings only apply when there is no startpage defined', + + 'HIDE' => 'Hide', + 'HIDE_BIRTHDAY' => 'Hide Birthday section', + 'HIDE_LOGIN' => 'Hide login box', + 'HIDE_ONLINE' => 'Hide Whos online section', + + 'LAYOUT_BLOG' => 'Blog', + 'LAYOUT_CUSTOM' => 'Custom', + 'LAYOUT_HOLYGRAIL' => 'Holy Grail', + 'LAYOUT_PORTAL' => 'Portal', + 'LAYOUT_PORTAL_ALT' => 'Portal (alt)', + 'LAYOUT_SETTINGS' => 'Layout Settings', + + 'LOG_DELETED_BLOCKS_FOR_STYLE' => 'Sitemaker blocks deleted for missing style with id %s', + 'LOG_DELETED_BLOCKS_FOR_ROUTE' => 'Sitemaker blocks deleted for broken pages:
%s', + 'LOG_DELETED_BLOCKS' => 'Invalid Sitemaker blocks deleted:
%s', + + 'NAVIGATION_SETTINGS' => 'Navigation Settings', + + 'SETTINGS_SAVED' => 'Your settings have been saved', + 'SHOW' => 'Show', + 'SHOW_FORUM_NAV' => 'Show ’Forum’ in navigation bar?', + 'SHOW_FORUM_NAV_EXPLAIN' => 'When a page is set as startpage instead of the forum index, should we display ’Forum’ in navigation bar', + 'SHOW_FORUM_NAV_WITH_ICON' => 'Yes - with icon:', +]); diff --git a/language/zh_cmn_hant/navbar_manager.php b/language/zh_cmn_hant/navbar_manager.php new file mode 100644 index 000000000000..89f54431871f --- /dev/null +++ b/language/zh_cmn_hant/navbar_manager.php @@ -0,0 +1,79 @@ + 'Active Element', + 'BORDER' => 'Border', + 'BORDER_COLOR' => 'Border Color', + 'BORDER_RADIUS' => 'Border Radius', + 'BORDER_WIDTH' => 'Border Width', + 'BOTTOM' => 'Bottom', + 'BOTTOM_LEFT' => 'Bottom Left', + 'BOTTOM_RIGHT' => 'Bottom Right', + 'CAPITALIZE' => 'Capitalize', + 'COLOR' => 'Color', + 'DIVIDERS' => 'Dividers', + 'END' => 'End', + 'GRADIENT' => 'Gradient', + 'HEADERS' => 'Headers', + 'HOVER' => 'Hover', + 'LEFT' => 'Left', + 'LOWERCASE' => 'Lowercase', + 'MARGIN' => 'Margin', + 'NAVBAR' => 'Navbar', + 'NAVBAR_MENU' => 'Navbar menu', + 'NAVBAR_DROPDOWN' => 'Dropdown', + 'NAVBAR_LOCATION' => 'Location', + 'NAVBAR_LOCATION_OPTION' => 'Location #%s', + 'NAVBAR_TOP_MENU' => 'Top Menu', + 'NONE' => 'None', + 'PADDING' => 'Padding', + 'RESPONSIVE_TOGGLE' => 'Responsive Toggle', + 'RESPONSIVE_TOGGLE_EXPLAIN' => 'Only viewable on small (mobile) screens', + 'RIGHT' => 'Right', + 'SAVE' => 'Save', + 'SIZE' => 'Size', + 'START' => 'Start', + 'TEXT' => 'Text', + 'TOP' => 'Top', + 'TOP_LEFT' => 'Top Left', + 'TOP_RIGHT' => 'Top Right', + 'TRANSFORM' => 'Transform', + 'UPPERCASE' => 'Uppercase', +)); diff --git a/language/zh_cmn_hant/permissions_sitemaker.php b/language/zh_cmn_hant/permissions_sitemaker.php new file mode 100644 index 000000000000..72648a473804 --- /dev/null +++ b/language/zh_cmn_hant/permissions_sitemaker.php @@ -0,0 +1,45 @@ + '[ SiteMaker ] Can manage settings', + 'ACL_A_SM_MANAGE_BLOCKS' => '[ SiteMaker ] Can manage blocks', + 'ACL_A_SM_MANAGE_MENUS' => '[ SiteMaker ] Can manage menus', +)); diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/contrib/_category_.json b/website/i18n/ar/docusaurus-plugin-content-docs/current/contrib/_category_.json new file mode 100644 index 000000000000..3dfc2b8441f0 --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/contrib/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "المساهمة", + "position": 4 +} diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/contrib/overview.md b/website/i18n/ar/docusaurus-plugin-content-docs/current/contrib/overview.md new file mode 100644 index 000000000000..a65176b1ea37 --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/contrib/overview.md @@ -0,0 +1,11 @@ +--- +title: اشترك +sidebar_position: 1 +--- + +phpBB SiteMaker هو مشروع مفتوح المصدر ويرحب بأفكارك ومساهماتك. لذا لا تتردد في المشاركة. يمكنك المساهمة في هذا المشروع من خلال: + +* [تقديم الدعم/الملاحظات](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [أخطاء التبليغ](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [المساعدة في الترجمة](./translators.md) +* [إصلاح الأخطاء أو إضافة ميزات](./pull-requests.md) diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/contrib/pull-requests.md b/website/i18n/ar/docusaurus-plugin-content-docs/current/contrib/pull-requests.md new file mode 100644 index 000000000000..8b49a787bf5e --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/contrib/pull-requests.md @@ -0,0 +1,65 @@ +--- +title: تقديم طلب سحب +sidebar_label: طلبات السحب +--- + +`طلبات السحب تتيح لك إخبار الآخرين عن التغييرات التي دفعتها إلى فرع في مستودع GitHub. بمجرد فتح طلب سحب، يمكنك مناقشة ومراجعة التغييرات المحتملة مع المتعاونين وإضافة التزامات المتابعة قبل دمج التغييرات الخاصة بك في فرع القاعدة.` [اقرأ المزيد](https://help.github.com/articles/about-pull-requests/) + +## التصنيع/الاستنساخ + +* إنشاء حساب github إذا لم يكن لديك بالفعل حساب +* انتقل إلى https://github.com/blitze/phpBB-ext-sitemaker.git وانقر على "Fork" + +استنسخ شوكك من المستودع: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +من سطر الأوامر انتقل إلى دليل الموقع: + + cd phpBB/ext/blitze/sitemaker + +**تكوين الحدث:** + +إضافة اسم المستخدم الخاص بك إلى Git على النظام الخاص بك: + + git config --المستخدم العالمي.name "اسمك هنا" + +أضف عنوان بريدك الإلكتروني إلى Git على النظام الخاص بك: + + git config --إضافة user.email username@phpbb.com + +أضف جهاز التحكم عن بعد (يمكنك تغيير "التمهيد" إلى أي شيء تريد): + + git عن بعد إضافة أعلى مسار git://github.com/blitze/phpBB-ext-sitemaker.git + +**تثبيت البائعين** + + تثبيت المؤلف + +**تثبيت حزم NPM** + + npm install + +بدلاً من ذلك، يمكنك استخدام [yarn](https://yarnpkg.com): + + تثبيت yarn + +## طلبات السحب + + # قم بإنشاء فرع جديد للميزة الخاصة بك & قم بالتبديل إليه + git Checout -b feature/my-fancy-new-feat + + # قم بإنشاء فرع جديد للمشكلة التي تعمل عليها * قم بالتبديل إليها (التذكرة # من github tracker) + git Checout - b ticket/1234 + +إجراء التغييرات الخاصة بك + + # المرحلة + git إضافة الملفات + + # إرسال الملفات - الرجاء استخدام رسالة الالتزام الصحيحة + git الالتزام -m "رسالة الالتزام الخاصة بي" + +ارجع الفرع إلى خاصية GitHub git push Originure/my-fancy-new-الميزة الجديدة + +تقديم [طلب سحب](https://github.com/blitze/phpBB-ext-sitemaker/pulls) diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/contrib/translators.md b/website/i18n/ar/docusaurus-plugin-content-docs/current/contrib/translators.md new file mode 100644 index 000000000000..4fa9dc05fad4 --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/contrib/translators.md @@ -0,0 +1,17 @@ +--- +title: المترجمون +sidebar_position: 2 +--- + +ونحن بحاجة إلى المساعدة في ترجمة هذا التمديد، فضلا عن وثائقه. لقد أنشأنا مشروعا على كراودِن لتسهيل الترجمات. كراودِن يعطيك واجهة ترجمة لا تكاد لا تتوقف. يمكنك المساهمة بما تريده على الإطلاق، لكننا نوصي حقاً باستخدام كراودن. + +> كراودِن هو منصة إدارة التوطين التي تساعد الشركات على ترجمة برامجها. يمكنك قراءة المزيد عن كراودِن [هنا](https://support.crowdin.com/crowdin-intro/) + +إذا كنت على استعداد للمساهمة في الترجمة، فستحتاج إلى: + +* حساب [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) +* اختر اللغة المستهدفة إذا كان هناك طلب خلاف ذلك ليتم تفعيله. + +إذا لم تكن لغتك المطلوبة مدرجة في القائمة، يرجى [الاتصال بي](https://crowdin.com/profile/blitze) وسأضيفها. + +[بدء الترجمة](https://crowdin.com/project/phpbb-ext-sitemaker) diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/dev/_category_.json b/website/i18n/ar/docusaurus-plugin-content-docs/current/dev/_category_.json new file mode 100644 index 000000000000..66c34e9e0371 --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/dev/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "دليل المطور", + "position": 3 +} diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/dev/events.md b/website/i18n/ar/docusaurus-plugin-content-docs/current/dev/events.md new file mode 100644 index 000000000000..ccebacefc099 --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/dev/events.md @@ -0,0 +1,120 @@ +--- +title: أحداث phpBB SiteMaker +sidebar_position: 2 +--- + +يمكنك تعديل سلوك phpBB SiteMaker باستخدام نظام أحداث phpBB. + +## أحداث PHP + +### blitze.sitemaker.acp_add_bulk_menu_options + +- الموقع: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- منذئذ: 3.1.0 +- الغرض: إضافة خيارات القائمة بالجملة في قائمة الأوكب + +### blitze.sitemaker.acp_display_settings_form + +- الموقع: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- منذئذ: 3.1.0 +- الغرض: عرض رمز إعدادات (الموقع) + +### blitze.sitemaker.acp_save_إعدادات + +- الموقع: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- منذئذ: 3.1.0 +- الغرض: حفظ إعدادات الـ acp (الموقع) + +### blitze.sitemaker.admin_bar.set_assets + +- الموقع: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- منذ: 3.0.1-RC1 +- الغرض: إضافة أصول للكتل المتاحة في وضع التحرير + +### blitze.sitemaker.modify_block_posi_ + +- الموقع: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- منذ: 3.0.1-RC1 +- الغرض: تعديل مواقع الكتل + +### blitze.sitemaker.modify_rendered_block + +- الموقع: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- منذ: 3.0.1-RC1 +- الغرض: تعديل كتلة تم تحويلها + +## أحداث القالب + +### إعدادات_sitemaker_acp_blitze_sitemaker_acp_ + +- الموقع: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- منذئذ: 3.1.0 +- الغرض: إضافة حقول النموذج لإعدادات الموقع + +### تبليغ_الموقع_admin_bar_ملحق + +- الموقع: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- منذئذ: 3.1.0 +- الغرض: إضافة عناصر القائمة إلى شريط المشرف + +### بلتزي_الموقع_admin_bar_templates + +- الموقع: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- منذئذ: 3.1.0 +- الغرض: إضافة ملفات قالب لاستخدامها في JS لعرض الكتل، إلخ + +## أحداث جافا سكريبت + +### بلتزي_sitemaker_layout_حفظ + +- الموقع: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- بعد: 3-1-2 +- الغرض: حدث للسماح للملحقات الأخرى بالقيام بشيء ما عندما يتم حفظ تغييرات التخطيط + +### ضغط_الموقع_render_block_قبل + +- الموقع: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- بعد: 3-1-2 +- الغرض: حدث للسماح للملحقات الأخرى بالقيام بشيء ما قبل أن يتم تنفيذ الكتلة أو منع إعادة إصدارها + +### ضغط_الموقع_render_block_بعد + +- الموقع: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- بعد: 3-1-2 +- الغرض: الحدث للسماح للملحقات الأخرى بالقيام بشيء ما بعد أن يتم تحويل الكتلة + +### ضغط_الموقع_save_block_قبل + +- الموقع: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- بعد: 3-1-2 +- الغرض: حدث للسماح للملحقات الأخرى بتعديل بيانات الحظر قبل حفظها + +### ضغط_الموقع_عرض_all_block_posi_ + +- الموقع: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- بعد: 3-1-2 +- الغرض: حدث للسماح للملحقات الأخرى بالقيام بشيء ما عندما تظهر جميع مواقع الكتل + +### ضغط_الموقع_hide_empty_block_positions + +- الموقع: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- بعد: 3-1-2 +- الغرض: حدث للسماح للملحقات الأخرى بالقيام بشيء ما عندما تكون المواقع الفارغة مخفية + +### بلتزي_sitemaker_layout_cleared + +- الموقع: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- بعد: 3-1-2 +- الغرض: حدث للسماح للملحقات الأخرى بالقيام بشيء ما عندما يتم مسح التخطيط + +### بلتزي_sitemaker_layout_محدَّث + +- الموقع: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- بعد: 3-1-2 +- الغرض: حدث للسماح للملحقات الأخرى بالقيام بشيء ما عندما يتم تحديث التخطيط + +### بلعة_sitemaker_tinymce_options + +- الموقع: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- منذ: 3.3.0 +- الغرض: حدث للسماح للملحقات الأخرى لتعديل خيارات التعقيد diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/dev/overview.md b/website/i18n/ar/docusaurus-plugin-content-docs/current/dev/overview.md new file mode 100644 index 000000000000..f004847990e0 --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/dev/overview.md @@ -0,0 +1,179 @@ +--- +title: تمديد phpBB SiteMaker +sidebar_position: 1 +--- + +يمكنك تمديد / تعديل phpBB SiteMaker باستخدام [استبدال الخدمة](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement)و [ديكور الخدمة](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration)و [نظام أحداث phpBBB](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). يمكنك العثور على قائمة بالأحداث المدعومة [هنا](./events.md). + +## إنشاء كتلة SiteMaker + +كتلة phpBB SiteMaker هي ببساطة فئة تمدد فئة blitze\sitemaker\services\blocks\driver\block وتعيد صفيفة من طريقة "Display" مع 'title' و 'content'. كل شيء آخر فيما بين هذه الأمور يعود لك. لجعل الكتلة الخاصة بك قابلة للاكتشاف بواسطة SiteMaker، ستحتاج إلى إعطائها علامة "sitemaker.block". + +قل أن لدينا تمديد مع البائع/التمديد كمثال/مثال. لإنشاء كتلة تسمى "my_block" لـ phpBB SiteMaker: + +- إنشاء مجلد "القطع" +- إنشاء ملف my_block.php في مجلد الكتل مع المحتوى التالي + +```php +اسم الفضاء my\example\block; + +استخدم blitze\sitemaker\services\blocks\driver\block; + +class my_block يمدد كتلة +{ + /** + * {@inheritdoc} + */ + عرض الدالة العامة (صفيف $settings, $edit_mode = خطأ) + { + مرجع المصفوف( + 'title' => 'بلدي بلوك'، + 'المحتوى' => 'محتوى الكتلة', + )؛ + } +} +``` + +ثم في ملف config.yml الخاص بك، أضف ما يلي: + +```yml +الخدمات: + +... + + my.example.block.my_block: + class: my\example\blocks\my_block + مكالمات: + - [set_name, [my.example.block.my_block]] + العلامات: + - { name: sitemaker.block } + +.... + +``` + +على أقل تقدير، هذا كل ما تحتاجين. إذا ذهبت إلى وضع التحرير، يجب أن ترى الكتلة المدرجة كـ 'MY_EXAMPLE_BLOCK_MY_BLOCK' التي يمكن سحبها وإسقاطها في أي وضع كتل. لكن هذه الكتلة لا تفعل أي شيء مثير. ليس لديه إعدادات ولا يترجم اسم الكتلة. دعونا نجعلها أكثر إثارة للاهتمام. + +### إعدادات حظر + +دعونا نعدل كتلنا/my_block. اضف ملف وأضف طريقة "get_config" عند إرجاع مصفوفة مع المفاتيح هي إعدادات الكتلة والقيم هي مصفوفة تصف الإعدادات مثل: + +```php + /** + * @inheritdoc + */ + وظيفة عامة get_config(صفيف $settings) + { + $options = المصفوفة (1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR')؛ + مصفوفة العودة ( + 'اسطورية1' => 'TAB1', + 'مربع الاختيار' => المصفوفة('lang' => 'SOME_LANG_VAR_1', 'صلاحية' => 'سلسلة'، 'نوع' => 'مربع الاختيار'، 'خيارات' => $options، 'الافتراضي' => الصفيفة (), 'فسر ' => false), + 'yes_no' => Array('lang' => 'SOME_LANG_VAR_2', 'صحيح' => 'bool', 'type' => 'radio:yes_no', 'فسر ' => false, 'ault' => false), + 'radio' => Array('lang' => 'SOME_LANG_VAR_3', 'صلاحية' => 'bool', 'type' => 'radio', 'خيارات' => $options, 'فسر ' => false, 'الافتراضي' => 'الموضوع')، + 'إختيار' => المصفوف('lang' => 'SOME_LANG_VAR_4', 'صواب' => 'سلسلة'، 'نوع' => 'إختيار'، 'خيارات' => $options، 'افتراضي' => '، 'شرح' => false)، + 'عدة' => صفيفة ('lang' => 'SOME_LANG_VAR_5', 'صحيح' => 'سلسلة', 'نوع' => 'multi_select', 'خيارات' => $options، 'الافتراضي' => المصفوفة (), 'فسر ' => false)، + 'اسطورية2' => 'TAB2', + 'العدد' => الصفيف('lang' => 'SOME_LANG_VAR_6', 'صحيح' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'الافتراضي' => 5)، + 'textarea' => Array('lang' => 'SOME_LANG_VAR_7', 'صحيح' => 'سلسلة', 'نوع' => 'textarea:3:40', 'maxlength' => 2, 'فسر ' => صحيح, 'الافتراضي' => ')، + 'تبديل العمل' => مصفوفة ('lang' => 'SOME_TOGLABLE_VAR', 'صحيح' => 'سلسلة'، 'نوع' => 'إختيار:1:0:toggle_key', 'خيارات' => $options، 'الافتراضي' => '، 'تذييل' => '
فقط عندما يتم اختيار الخيار 1
')، + )؛ +} +``` + +تم بناء هذا بنفس الطريقة التي يبني بها phpBB التكوين لإعدادات اللوحة في ACP. يمكنك رؤية المزيد من الأمثلة [هنا](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +إذا كنت تريد نوع حقل مخصص، يمكنك مشاهدة مثال [هنا](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) (إعدادات 'content_type'. + +لاحظ 'legend1' و 'legend2': يتم استخدام هذه الإعدادات لفصل الإعدادات إلى علامات التبويب. + +### كتل التسمية + +اتفاقية أسماء الكتل هي أن اسم الخدمة (مثل my.example.block). و*أعلاه) سوف تستخدم كمفتاح اللغة عن طريق استبدال النقاط (.) بسطر (*مثلاً: MY_EXAMPLE_BLOCK_MY_BLOCK). + +### الترجمة + +لاحظ أيضا أن لدينا عدة مفاتيح لغوية تحتاج للترجمة. للقيام بذلك، قم بإنشاء ملف يسمى "blocks_admin.php" في مجلد لغتك. سيتم تحميل هذا الملف تلقائياً عند تحرير المربعات البرمجية، ويجب أن يحتوي على ترجمات لإعدادات المربعات البرمجية الخاصة بك وأسماء الحظر. + +``` +$lang = المصفوفة_دمج($lang، المصفوفة( + 'SOME_LANG_VAR' => 'الخيار 1', + 'OTHER_LANG_VAR' => 'الخيار 2', + 'SOME_LANG_VAR_1' => 'إعداد 1', +.... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'بلدي بلوك'، +)؛ +``` + +لأنه يتم تحميل "blocks_admin.php" فقط عند تحرير المربعات البرمجية، سوف تحتاج إلى إضافة ترجمات أخرى (على سبيل المثال. حظر العنوان عن طريق تحميل ملف لغة في طريقة العرض الخاصة بك مثل `$language->add_lang('my_lang_file', 'my/example');` + +### تقديم الكتلة + +سيتم عرض الكتلة الجديدة فقط إذا كانت تقدم شيئاً. يمكن لكتلة التحكم الخاصة بك إرجاع أي سلسلة كمحتوى ولكن في معظم الحالات، تحتاج إلى قالب لتقديم المحتوى الخاص بك. لعرض كتلة استخدام قوالب، يجب أن تعيد الكتلة مصفوفة تحتوي على البيانات التي تريد تمريرها إلى القالب ويجب أيضا تنفيذ طريقة `get_template` كما هو موضح أدناه: + +```php + /** + * @inheritdoc + */ + وظيفة عامة get_config(صفيف $settings) + { + $options = المصفوفة (1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR')؛ + مصفوفة العودة ( + 'اسطورية1' => 'TAB1', + 'some_setting' => ary('lang' => 'SOME_LANG_VAR_1', 'صلاحية' => 'سلسلة'، 'نوع' => 'مربع الاختيار'، 'خيارات' => $options، 'الافتراضي' => المصفوفة (), 'فسر ' => false), + ); + } + + /** + * {@inheritdoc} + */ + وظيفة عامة get_template() + { + return '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + عرض الوظيفة العامة (الصفيفة $data, $edit_mode = خطأ) + { + اذا ($edit_mode) + { + // افعل شيئا فقط في وضع التحرير + } + + مصفوفة العودة ( + 'title' => 'MY_BLOCK_TITLE', + 'البيانات' => صفيفة( + 'some_var' => $data['settings']['some_setting']، + )، + )؛ +} +``` + +ثم قد يبدو ملف الأنماط/all/my_block.html أو styles/prosilver/my_block.html شيئًا كهذا: + +``` +

لقد اخترت: {{ some_var }}

+``` + +وباختصار، يجب أن تعيد الكتلة المصفوفة التي تحتوي على مفتاح `عنوان` (لعنوان الكتلة) ومفتاح `محتوى` (إذا كانت الكتلة تعرض سلسلة فقط ولا تستخدم قالب) أو مفتاح `بيانات` (إذا كانت الكتلة تستخدم قالب، في هذه الحالة، ستحتاج أيضًا إلى تنفيذ طريقة `get_template`). + +### حظر الأصول + +إذا كان الكتلة الخاصة بك تحتاج إلى إضافة الأصول (ss/js) إلى الصفحة، فأنا أوصي باستخدام صنف الموقع [util](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) لذلك. بما أنه يمكن أن يكون هناك أكثر من مثال واحد من نفس الكتلة على الصفحة، أو قد تكون الكتل الأخرى إضافة نفس الأصل، حتى تضمن الفئة أن الأصل مضاف فقط. + +```php + $this->util->add_assets(array( + 'js' => ary( + '@my_example/assets/some. s', + 100 => '@my_example/assets/other. s', // تعيين الأولوية + )، + 'css' => المصفوفة( + '@my_example/assets/some. ع ، + ) +)؛ +``` + +سيلزم بالطبع إضافة الصف إلى تعاريف الخدمة الخاصة بك في config.yml مثل ذلك: `- '@blitze.sitemaker. حتى` ومعرّف في منشئ الكتلة `\blitze\sitemaker\services\util $util`. + +وهذا كل شيء. لقد انتهينا منها! diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/dev/theming.md b/website/i18n/ar/docusaurus-plugin-content-docs/current/dev/theming.md new file mode 100644 index 000000000000..f33edf219802 --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/dev/theming.md @@ -0,0 +1,62 @@ +--- +title: القالب +sidebar_position: 3 +--- + +نحن نفهم أن ملفات القالب وملفات JS/CSS لن تعمل لكل أسلوب، لذا أدناه بعض الطرق التي يمكنك بها استخدام القوالب الخاصة بك وإنشاء ملفات JS/CSS لأسلوبك الخاص. + +## استخدام القالب الخاص بك + +إذا كانت القوالب الافتراضية التي تأتي مع phpBB Sitemaker لا تعمل بشكل جيد مع النمط الخاص بك، يمكنك بسهولة الكتابة فوقه لاستخدام ملف القالب الخاص بك عن طريق إنشاء الملف المقابل في مجلد الأنماط الخاص بك. + +على سبيل المثال قل أن أسلوبك يسمى `Backlash` وله طريقة معينة يحتاج فيها HTML لقسم ترويسة الكتلة إلى أن يتم هيكلته من أجل [عرض مربع](/docs/user/blocks/block-views). يمكنك الكتابة فوق هذا القالب من خلال إنشاء ملف بنفس الاسم مثل: `phpBB/ext/blitze/sitemaker/styles/Backlash/template/views/boxed_view.twig`. + +بعبارة أخرى، لاستخدام ملف القالب الخاص بك، تحتاج إلى: +* تحديد ملف phpBB Sitemaker الذي يحتاج إلى الكتابة فوق +* إنشاء ملف بنفس الاسم في نمط `Sitemaker` المجلد تحت اسم النمط الخاص بك + +> ملاحظة: إذا قمت بإنشاء ملفات القالب الخاصة بك، تأكد من عدم حذف مجلد `phpbb/ext/blitze/sitemaker` عند تحديث الملحق حيث سيتم حذف الملفات المخصصة الخاصة بك. بل مجرد الكتابة فوق الملفات الموجودة مع الملفات الجديدة. + +## إنشاء ملفات JS/CSS للنمط الخاص بك + +ملاحظة: +* لأغراض التعليمات التالية سوف نفترض أن لديك أسلوباً يسمى "النمط my". + +استنسخ إلى phpBB/ext/blitze/sitemaker: + + استنساخ git https://github.com/blitze/phpBB-ext-sitemaker.git phpBBB/ext/blitze/sitemaker + +من سطر الأوامر انتقل إلى دليل الموقع: + + cd phpBB/ext/blitze/sitemaker + +**تثبيت البائعين** + + تثبيت المؤلف + +**تثبيت الحزم** + +للأوامر أدناه يمكنك استخدام npm أو [yarn](https://yarnpkg.com) + + تثبيت yarn + +**مشاهدة التغييرات** + + بدء yarn - نمط السمة + +**إجراء تغييرات** + +* قم بإجراء التغييرات الخاصة بك على الملفات في مجلد phpBBB/ext/blitze/sitemaker/develop. +* انظر إلى phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss للمتغيرات الزجاجية + +**بناء الأصول** + + ابن يارن - نمط السمة + +**نشر** + +يمكنك الآن نسخ الملفات التي تم إنشاؤها من phpBB/ext/blitze/sitemaker/styles/my-style ورفعتها إلى خادم الإنتاج الخاص بك. + +> يستخدم هذا الملحق واجهة المستخدم jQuery للتبويبات، مربعات الحوار والأزر. سمة jQuery الافتراضية هي 'سلسة.' يمكنك استخدام سمة واجهة مستخدم jQuery مختلفة تناسب الموضوع الخاص بك. يمكنك تحديد سمة واجهة المستخدم jQuery باستخدام العلم --jq_ui_theme. وعلى سبيل المثال: + + ابن yarn يبني - موضوع النمط -jq_ui_Them-ui-lightness diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/intro/_category_.json b/website/i18n/ar/docusaurus-plugin-content-docs/current/intro/_category_.json new file mode 100644 index 000000000000..d2dee9130452 --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/intro/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "بدء العمل", + "position": 1 +} diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/intro/installation.md b/website/i18n/ar/docusaurus-plugin-content-docs/current/intro/installation.md new file mode 100644 index 000000000000..ef5f72d57482 --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/intro/installation.md @@ -0,0 +1,16 @@ +--- +title: "تثبيت / ترقية" +sidebar_position: 2 +--- + +تحميل الملحق من [هنا](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker +* استخرج ثم رفعه إلى ملف phpBB/ext/حتى يكون لديك phpBB/ext/blitze/sitemaker +* انتقل إلى "ACP" > "تخصيص" > "ملحقات" وقم بتمكين ملحق "phpBB Sitemaker". + +## ترقية phpBB SiteMaker +* إنشاء نسخة احتياطية من قاعدة البيانات الخاصة بك فقط في حالة حدوث خطأ ما +* انتقل إلى "ACP" > "تخصيص" > "ملحقات" وتعطيل (لا تطهير) "phpBB Sitemaker" +* قم بتنزيل واستخراج أحدث إصدار لـ phpBB SiteMaker وتحميله إلى phpBBB/ext/مجلد (فوق الكتابة) +* انتقل إلى "ACP" > "تخصيص" > "ملحقات" وقم بتمكين ملحق "phpBB Sitemaker". diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/intro/introduction.md b/website/i18n/ar/docusaurus-plugin-content-docs/current/intro/introduction.md new file mode 100644 index 000000000000..64ad95104041 --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/intro/introduction.md @@ -0,0 +1,6 @@ +--- +title: مقدمة +sidebar_position: 1 +--- + +يسعى phpBB SiteMaker إلى تحويل لوحة phpBB إلى CM/Poral. تقوم بذلك من خلال تزويدك بالكتل والقوائم لمساعدتك على تخصيص موقعك بما يحب لك. هناك أو سوف تكون هناك ملحقات SiteMaker الأخرى التي توفر وظائف إضافية لتحقيق هذا الهدف. كما أنه يسمح لك بتحديد صفحة هبوط عند الوصول إلى موقعك. إذا كنت لا تريد لزوار موقعك أن يشاهدوا على الفور منتدى phpBB عندما يذهبون إلى www.. our-site.com، يمكنك تحديد صفحة البداية الخاصة بك. diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/user/_category_.json b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/_category_.json new file mode 100644 index 000000000000..3b55e9bee7a9 --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "دليل المستخدم", + "position": 2 +} diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/user/blocks/_category_.json b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/blocks/_category_.json new file mode 100644 index 000000000000..1b78455710a8 --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/blocks/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "كتل", + "position": 1 +} diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/user/blocks/block-views.md b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/blocks/block-views.md new file mode 100644 index 000000000000..6b0bb3f989e2 --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/blocks/block-views.md @@ -0,0 +1,6 @@ +--- +title: حظر المشاهدات +sidebar_position: 2 +--- + +العمل جاري... \ No newline at end of file diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md new file mode 100644 index 000000000000..1578c27c9d1f --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md @@ -0,0 +1,24 @@ +--- +title: كتلة مخصصة +sidebar_position: 4 +--- + +إذا كانت الكتل المتاحة لا تمنحك الحرية التي تحتاجها، هناك `كتلة مخصصة` التي تسمح لك بحرية عرض المحتوى الخاص بك باستخدام BBcode أو HTML. تأتي الكتلة مع محرر WYSIWYG (TinyMCE) ومدير نصوص: + +## المحرر + +- يمكنك استخدام المحرر لإنشاء محتوى HTML +- يمكنك تعديل رمز المصدر إذا كنت بحاجة إلى مستوى التحكم هذا بالنقر على رمز `المصدر` (`<>`) في المحرر +- يسمح لك المحرر بتحميل وتعديل الصور + - يقوم بإنشاء مجلد جديد في phpBB/images/sitemaker_uploads/ لكل مستخدم يمكنه الوصول إليه + - يمكنك عرض/إدارة جميع مجلدات المستخدم +- يقوم المحرر بتصفية أي برامج نصية خطرة مثل جافا سكريبت، إلخ. إذا كنت بحاجة إلى إضافة محتوى مثل إعلانات جوجل، سيتم تصفية جافا سكريبت ، ولكن يمكنك الحصول على ذلك من خلال القيام بما يلي: + - إضافة كتلة مخصصة إلى الموقع المطلوب + - تعديل الكتلة المخصصة، انقر فوق علامة التبويب `HTML` ولصق جافا سكريبت + +## مدير البرامج النصية + +يسمح لك الكتلة المخصصة أيضا بإضافة ملفات CSS و Javascript المخصصة إلى الصفحة الخاصة بك. للقيام بذلك: + +- إضافة `كتلة مخصصة` لأي وضع كتلة. الموضع لا يهم إلا إذا كنت أيضا تعرض المحتوى مع الكتلة +- تعديل الكتلة، انقر فوق علامة التبويب `سكريبت` وإضافة ملفات CSS أو جافا سكريبت > كلمة تحذير: على الرغم من أن الإضافة إلى العديد من البرامج النصية في صفحتك يمكن أن تؤثر على أوقات التحميل diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md new file mode 100644 index 000000000000..e4e3fb38b28b --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md @@ -0,0 +1,51 @@ +--- +title: إدارة الكتل البرمجية +sidebar_position: 3 +--- + +لإدارة الكتل البرمجية في phpBB SiteMaker، يجب أن تكون في [وضع تحرير](./overview#edit-mode). + +> عندما لا تعرض الكتلة أي محتوى، لن يتم عرضها، إلا في وضع التحرير. بهذه الطريقة، يمكنك إما إعطائها محتوى (في حالة الكتلة المخصصة) أو تغيير الإعدادات الخاصة بها. + +> في وضع التعديل، الكتل الشفافة بعض الشيء هي كتل لن يتم عرضها لولا ذلك ولكن يتم عرضها فقط لأننا في وضع التحرير + +## إضافة كتل +يمكنك إضافة كتل إلى أي صفحة أمامية, باستثناء صفحات لوحة تحكم المستخدم و لوحة تحكم المشرفين. لإضافة كتلة ، ستحتاج إلى: +* انقر فوق **كتل** في شريط المدير. هذا سوف يعرض قائمة بالكتل المتاحة +* سحب وإسقاط الكتلة المطلوبة إلى أي موقع كتلة + +## تحرير الكتل البرمجية +### إضافة أيقونة كتلة +إلى اليسار من عنوان الكتلة (prosilver)، هناك صندوق لأيقونة الكتل. انقر على هذا المربع للحصول على منتقي الأيقونة. يمكنك تحديد حجم الأيقونة ، الألوان ، العوامة ، الدوران ، إلخ. + +### تحرير عنوان الكتلة +سيكون لكتل phpBB SiteMaker افتراضياً، العنوان المترجم ولكن إذا كان العنوان لا يلبي احتياجاتك، يمكنك تغييره. لتعديل عنوان الكتلة، +* انقر فوق عنوان الكتلة للحصول على نموذج تحرير مضمن +* تغيير العنوان إلى أي شيء تريده +* إزالة التركيز من الحقل أو اضغط على إدخال لإرسال التغييرات + +> عنوان الكتلة المعدل الخاص بك غير مترجمة + +> للعودة إلى العنوان الافتراضي، ببساطة قم بحذف العنوان واضغط على إدخال + +### تعديل إعدادات الكتلة +عندما تضغط فوق كتلة، ستظهر أيقونة الكتلة إلى يمين الكتلة التي يمكن استخدامها لتحرير الكتلة. في مربع حوار كتلة التعديل، يمكنك: +- تمكين/تعطيل كتلة [Status] +- اختر متى يجب / يجب عدم عرض الكتلة [Display]. ينطبق هذا فقط في الحالات التي تكون فيها صفحات متداخلة (انظر [فهم ميراث الكتلة](/docs/user/site/block-inheritance)): + - **دائماً**: عرض الكتلة دائماً + - **إخفاء على طرق الأطفال**: فقط إظهار هذه الكتلة على المسار الرئيسي + - **إظهار على مسارات الأطفال فقط**: إظهار هذه الكتلة فقط على مسار الأطفال +- اختر مجموعات المستخدمين التي يمكنها عرض الكتلة [يمكن عرضها من قبل]. استخدم CTRL + انقر لتحديد مجموعات متعددة. +- تعيين فئات مخصصة لتعديل مظهر الكتلة أو العناصر (قوائم، صور، خلفية، إلخ) داخل الكتلة [فئة CSS] +- إظهار/إخفاء عنوان الكتلة [إخفاء عنوان الكتلة ؟] +- حدد عرض الكتلة [عرض الكتلة]. يمكنك تحديد عرض الكتلة الافتراضي عند إضافة كتل جديدة في ACP. + - **افتراضي / بسيط**: استخدم فئة لوحة الفضة لإغلاق الكتلة في حاوية مضافة + - **أساسي**: الكتلة لا تحتوي على أي حاوية تغليف + - **مربع**: يستخدم فئة الفضة لتلف الكتلة في مربع +- تعيين / تحديث إعدادات محددة +- إذا كان لديك نفس الكتلة مع نفس الإعدادات عبر صفحات متعددة، يمكنك تحديث جميع هذه الكتل مرة واحدة عن طريق التحقق من **تحديث الكتل مع إعدادات مشابهة** + +## حذف الكتل البرمجية +- فوق الكتلة التي ترغب في حذفها +- انقر على أيقونة **x** وتأكد من رغبتك في حذف الكتلة +- انتقل إلى شريط المشرف وانقر على `حفظ التغييرات` diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/user/blocks/overview.md b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/blocks/overview.md new file mode 100644 index 000000000000..f2caaa40c92c --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/blocks/overview.md @@ -0,0 +1,9 @@ +--- +title: ما هي الكتلة؟ +sidebar_position: 1 +--- + +في قلب phpBB SiteMaker هو مفهوم الكتل. الكتل هي أجزاء صغيرة من المحتوى الذي يمكنك وضعه في مناطق مختلفة محددة مسبقاً (مواقع الكتل) على موقعك. تحتوي الكتل عادة على إعدادات يمكنك تعيينها/تغييرها لصقل المحتوى الذي ترغب في عرضه. معظم الكتل البرمجية، ولكن ليس كلها، ستجعل استفسارات قاعدة البيانات للحصول على المحتوى المطلوب. لذا دعونا لا نجنون جدا:). لإدارة الكتل البرمجية، سوف تحتاج إلى التبديل إلى "وضع التحرير". + +## وضع التحرير +قم بالتبديل إلى وضع التحرير عن طريق النقر على أيقونة قلم الرصاص في أعلى يمين موقعك. هذا سوف يعرض "شريط المشرف" مع "الكتل" و "الإعدادات". يشار إلى هذا على أنه في "وضع التحرير". diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/user/menus/_category_.json b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/menus/_category_.json new file mode 100644 index 000000000000..4259794d53ee --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/menus/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Menus", + "position": 2 +} diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md new file mode 100644 index 000000000000..403c898ac1cc --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md @@ -0,0 +1,15 @@ +--- +title: عرض القوائم +sidebar_position: 3 +--- + +الآن بعد أن قمت بإنشاء القوائم الخاصة بك، يمكنك عرضها بعدة طرق: + +## كتلة الروابط +يمكنك استخدام هذه الكتلة لعرض قائمة مسطحة أو متداخلة من عناصر القائمة. لا يقصد بهذه الكتلة أن تستخدم في الملاحة، أي أنها لن تظهر صفحة حالية أو أي شيء من هذا القبيل. وهو مخصص لقائمة بالبنود، بما في ذلك الروابط الخارجية. + +## كتلة القوائم +هذه الكتلة مخصصة للتنقل في الموقع. وهي تقوم ببعض الحسابات الإضافية لتحديد الموقع الحالي وليس المقصود منها أن تكون قائمة كبيرة جدا. + +## شريط التنقل +على غرار كتلة القوائم ، سيعرض شريط التنقل عناصر القائمة كقائمة قائمة منسدلة مستجيبة مخصصة للتنقل في الموقع. يمكنك تمكين هذا في ACP > ملحقات > صانع الموقع > الإعدادات > حدد القائمة diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md new file mode 100644 index 000000000000..d079c0b0916e --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md @@ -0,0 +1,30 @@ +--- +title: إدارة عناصر القائمة +sidebar_position: 2 +--- + +القائمة الخاصة بك غير مفيدة ما لم تكن تحتوي على عناصر قائمة. يمكنك إضافة عناصر القائمة التي تشير إلى الملفات المحلية أو الخارجية. + +> عنوان URL للمواقع الخارجية يجب أن يبدأ بـ http(s)://، ftp://، /، إلخ. + +> يمكنك إنشاء موفر عن طريق إدخال '-' كعنوان العنصر + +## إضافة عناصر القائمة +يمكنك إضافة عناصر قائمة عنصر واحد في كل مرة، أو يمكنك إضافة عناصر قائمة متعددة في عناصر أخرى. + +### إضافة عناصر قائمة واحدة +لإضافة عنصر قائمة واحدة، +* انقر فوق زر `إضافة عنصر القائمة` +* قم بتعبئة المعلومات المطلوبة واضغط على `حفظ` + +### إضافة عناصر متعددة +لإضافة عناصر قائمة متعددة في وقت واحد، +* انقر على أيقونة السهم لأسفل بجانب `إضافة عنصر القائمة` +* يمكنك إضافة العناصر يدوياً عن طريق وضع كل عنصر على سطر جديد واستخدام عناصر عش حرف علامة التبويب أو +* يمكنك النقر على أحد الخيارات المقدمة في أسفل النص لملء عناصر القائمة تلقائياً + +## إعادة ترتيب عناصر القائمة +يمكنك سحب وإسقاط عناصر القائمة لأعلى/لأسفل لتعيين ترتيب العرض، أو سحبها يسار/يمين لتعيين التسلسل الهرمي المطلوب. + +## إعادة بناء عناصر القائمة +إذا وجدت أن عناصر القائمة لا تظهر بشكل صحيح، انقر على زر `إعادة بناء شجرة` لإعادة بناء عناصر القائمة. diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md new file mode 100644 index 000000000000..660cadee93d7 --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md @@ -0,0 +1,24 @@ +--- +title: إدارة القوائم +sidebar_position: 1 +--- + +يمكنك إنشاء قوائم في ACP يمكنك عرضها باستخدام القوائم أو كتل الروابط أو عرضها كشريط التنقل الأفقي. + +## إدارة القوائم + +لإدارة القوائم، انتقل إلى ACP > ملحقات > صانع المواقع > القائمة + +### إنشاء قوائم +لإنشاء قائمة جديدة (مجموعة)، انقر على زر `إضافة قائمة`. سيتم إنشاء مجموعة قائمة جديدة مع اسم تم إنشاؤه عشوائياً. سيتم تحديد القائمة الجديدة أيضًا حتى يمكنك البدء بإضافة عناصر القائمة إليها. + +### تحرير القوائم +إذا كنت تريد اسم قائمة ذي مغزى أكبر، +* تجاوز اسم القائمة وانقر على أيقونة الكون +* أدخل اسم القائمة الجديدة واضغط على الإدخال لتحديثها + +### حذف القوائم +لحذف القائمة ، وعناصرها، +* فوق اسم القائمة وانقر على أيقونة **x** +* إذا كان عنصر القائمة لا يحتوي على عناصر فرعية، سوف تحتاج إلى تأكيد اختيارك لحذف العنصر +* إذا كان عنصر القائمة يحتوي على عناصر فرعية، سوف تحتاج إلى الإشارة إلى ما إذا كنت تريد حذف العنصر فقط ونقل أولاده إلى الأعلى أو إذا كنت تريد حذف الفرع بأكمله diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/user/site/_category_.json b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/site/_category_.json new file mode 100644 index 000000000000..dc42230b2d34 --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/site/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "بناء موقعك", + "position": 3 +} diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md new file mode 100644 index 000000000000..a83bcc543acd --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md @@ -0,0 +1,46 @@ +--- +title: حجب الإرث +sidebar_position: 5 +--- + +لقد رأينا ذلك من خلال تعيين تخطيط افتراضي، الصفحات الأخرى التي لا تحتوي على كتل خاصة بها سوف ترث الكتل من التخطيط الافتراضي. غير أن هناك نوعا آخر من الإرث المجمع. + +## طرق الوالد/الطفل +في phpBB SiteMaker، نتحدث عن الطرق المتداخلة من حيث الدلائل (الفرعية) المتداخلة الحقيقية أو المسار/المسارات المتداخلة تقريبا. يرجى البقاء معي :). +* طرق الوالد/الطفل الحقيقية: على سبيل المثال، المسار /some_directory/sub_directory/index.php هو طفل لـ /some_directory/index.php +* طرق الوالد/الطفل الافتراضية: على سبيل المثال، يعامل viewtopic.php كطفل لviewforum.php. + +وفيما يلي بعض الأمثلة على طرق الوالدين/الأطفال: + +| الأصل | طفل | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/my-مقالة | + +## ميراث الوالد/الطفل المجمع +بالنسبة لطرق الوالدين/الأطفال، مسار الطفل يرث كتل من المسار الأصلي (إذا كان للوالد كتل خاصة به) أو من التخطيط الافتراضي (إذا كان قد تم تعيين واحد). بعبارة أخرى، حتى لو كان هناك تخطيط افتراضي، مسار الأطفال سوف يرث القطع من طريقه الأصلي إذا كان للطريق الرئيسي قطعه الخاصة به. ولكن لا يجب أن تكون جميع القطع من المسار الأصلي موروثة. + +## التحكم في ميراث الكتلة +على مستوى الكتلة، يمكنك التحكم في الوقت الذي يمكن أن تكون الكتلة موروثة بواسطة طرق الأطفال. لقد لمسنا هذا في وقت سابق في [إعدادات تحرير الكتلة](/docs/user/blocks/managing-blocks#editing-block-settings). + +فكر في بنية الدليل الحقيقي التالية: +```text +phpBB + ', index.php + ', Movies/ + ~ index.php + ', page.php + ', Comedy/ + ~ index.php +``` + +ولأغراض وراثة القطع، نقول: +* المسار الرئيسي لـ /phpBB/Movies/Comedy/index.php هو /phpBB/Movies/index.php وليس /phpBB/Movies/page.php +* جميع الصفحات في دليل فرعي ذي صلة بـ /phpBB/index.php هي مسار ثانوي لـ /phpBB/index.php. إذاً /phpBB/Movies/index.php و /phpBB/Movies/page.php جميعهم أطفال /phpBB/index.php وبالتالي سيرثون كتلهم إذا لم يكن لديهم كتل خاصة بهم. وفي هذه الحالة: + * عندما يتم تعيين كتلة على /phpBB/index.php للعرض على **إخفاء طرق الأطفال**، ستظهر الكتلة على /phpBB/index. hp (طريق الوالد) ولكن ليس على طرق الأطفال + * عندما يتم تعيين كتلة على /phpBB/index.php لعرضها على **إظهار مسارات الأطفال فقط**، سيتم عرضها على /phpBB/Movies/index. hp and /phpBB/Movies/page.php (طرق الأطفال) ولكن ليس على /phpBB/index.php (paren)، ولا /phpBB/Movies/Comedy/index.php (نذهب إلى مستوى واحد عميق) + * عندما يتم تعيين كتلة على /phpBB/index.php لعرض **دائمًا** (الافتراضي)، سيتم عرضها على /phpBB/index. hp (الوالد)، /phpBB/Movies/index.php و /phpBB/page.php (طرق الأطفال) ولكن ليس على /phpBB/Movies/Comedy/index.php (نذهب إلى مستوى واحد عميق). في هذه الحالة، سيرث /phpBB/Movies/Comedy/index.php من المسار الافتراضي (إن وجد) + +## دولة المستقبل المحتملة +أنا مهتم حقاً بردود فعلكم في هذا المجال. لن يكون لدى معظم مستخدمي phpBB أدلة حقيقية كما هو مبين أعلاه. لذا فأنا أفكر في استخدام البنية التي يتم تعريفها في قائمة كتلة كهيكل دليل افتراضي وتطبيق هذا الإرث للوالد/الطفل عليها. أنا أيضا أفكر في الذهاب إلى أبعد من مستوى واحد عميق. من فضلك أخبرني إذا كان هذا سيكون مفيداً لك. \ No newline at end of file diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md new file mode 100644 index 000000000000..e2f0fc849ac9 --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md @@ -0,0 +1,6 @@ +--- +title: تخصيص عرض الكتل +sidebar_position: 6 +--- + +العمل جاري... \ No newline at end of file diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/user/site/default-layout.md b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/site/default-layout.md new file mode 100644 index 000000000000..0e297101c135 --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/site/default-layout.md @@ -0,0 +1,21 @@ +--- +title: إعداد تخطيط افتراضي +sidebar_position: 4 +--- + +عند إضافة كتلة، يتم إضافتها إلى تلك الصفحة المحددة. ولذلك، سيكون من المهام الشاقة وضع كتل لجميع الصفحات الموجودة على موقعك. يمكنك تعيين جميع الكتل المطلوبة لصفحة معينة، ثم تعيين تلك الصفحة كتخطيط افتراضي. بعبارة أخرى، أي صفحة لا تحتوي على كتل خاصة بها، سوف ترث كتل من هذه الصفحة. + +لتعيين تخطيط افتراضي +* انتقل إلى الصفحة التي ترغب في تعيينها كتخطيط افتراضي +* انقر فوق `إعدادات` في شريط المشرف +* انقر فوق `تعيين كزر تخطيط افتراضي` + +قل أننا نضيف كتل إلى صفحة (phpBB/index.php) مع كتل في الشريط الجانبي والمواقع العليا، على سبيل المثال، وقم بتعيينها كتخطيطنا الافتراضي. ولهذا التأثيرات التالية بالنسبة لصفحات أخرى: +* أي صفحة لا تحتوي على مربعات برمجية خاصة بها، سوف ترث المربعات البرمجية من التخطيط الافتراضي. راجع [فهم ميراث الكتلة](/docs/user/site/block-inheritance) للحصول على استثناءات. +* قد لا تزال ترث الكتل البرمجية من تخطيط افتراضي (فهرس. hp) ولكن اختر عدم عرض الكتل في بعض مواقع الكتل أو عدم عرض أي كتل على الإطلاق. للقيام بذلك، + * انتقل إلى الصفحة التي لا تريد أن تعرض جميع/بعض الكتل + * انقر فوق `إعدادات` في شريط المشرف + * حدد `لا تظهر الكتل في هذه الصفحة` إذا كنت لا تريد إرث/عرض أي كتل في هذه الصفحة أو + * استخدم CTRL + انقر لتحديد مواقع الكتل (على اليمين) التي لا تريد عرض الكتل عليها +* في `وضع التحرير`، صفحة ترث القطع من التخطيط الافتراضي، لن تظهر أي مربعات برمجية، مما يمنحك الفرصة لإضافة مربعات برمجية إلى الصفحة إذا كنت تريد +* لن ترث أي صفحة تحتوي على مربعات برمجية خاصة بها من التخطيط الافتراضي diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/user/site/layouts.md b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/site/layouts.md new file mode 100644 index 000000000000..e8484ca3dcff --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/site/layouts.md @@ -0,0 +1,31 @@ +--- +title: المخططات +sidebar_position: 1 +--- + +"تخطيط" يحدد مواقع القطع المتاحة وكيف يتم عرضها. + +## حظر المواقع +مواقع الكتلة هي مناطق محددة مسبقاً على موقعك حيث يمكن أن توجد الكتل. يتم تحديد مواقع الكتل المتاحة بواسطة نمط القالب الذي تستخدمه. بالنسبة لـ prosilver، يأتي phpBB SiteMaker مع مواقع الكتل التالية: +* اللوحة: العرض الكامل عبر الأعلى +* الشريط الجانبي: يسار/يمين تبعاً للتخطيط أدناه +* محتوى فرعي: مماثل للشريط الجانبي أكبر فقط +* top_hor: كتل أفقية عبر الأعلى، مربوطة فوق الشريط الجانبي/المحتوى الفرعي اعتماداً على التخطيط +* الأعلى: المحتوى الرئيسي أعلاه +* المربع: مساواة العرض ، الكتل الأفقية أسفل المحتوى الرئيسي +* الأسفل: تحت المحتوى الرئيسي +* أسفل_هور: كتل أفقية عبر الأسفل، تطير الشريط الجانبي/المحتوى الفرعي اعتماداً على التخطيط +* تذييل: الكتل الأفقية في تذييل الصفحة يمكنك إضافة المزيد من مواقع الحظر في قوالب النمط الخاص بك عن طريق نسخ وتعديل قوالب phpBB المقابلة SiteMaker + +## تخطيط الموقع +يمكنك اختيار تخطيط موقعك في ACP (ملحقات > صانع المواقع > الإعدادات): +* **المدونة**: المحتوى الفرعي والشريط الجانبي بجوار بعضهما البعض، تم دفعه إلى اليمين، top_hor/botom_hor فرعي مصغر +* **الكأس المقدسة**: الشريط الجانبي و المحتوى الفرعي على الجوانب المقابلة، top_hor/botom_hor المحتويات الفرعية +* **البوابة**: الشريط الجانبي على اليسار، المحتوى الفرعي على اليمين، top_hor/botom_hor +* **البوابة Alt**: المحتوى الفرعي على اليسار، الشريط الجانبي على اليمين، top_hor/botom_hor الشريط الجانبي +* **مخصص**: تعيين عرض الشريط الجانبي يدوياً على شكل px، %، em أو rem. الافتراضي إلى 200 بكسل على كل جانب + +## قوالب/أنماط مخصصة +أكبر قدر ممكن، حاولنا وضع ملفات القالب والأصول في الأنماط/كل/مجلد حتى تتمكن من الكتابة فوقها عن طريق إنشاء ملف بنفس الاسم تحت قالب القالب الخاص بك. . فضة. لذا إذا كنت ترغب في تعديل طريقة عرض كتلة معينة أو إذا كنت ترغب في إنشاء التخطيط الخاص بك مع مواقع الكتلة الخاصة بك، تحتاج ببساطة إلى إنشاء ملف بنفس الاسم والمسار كما هو الأصل في أسلوبك الخاص. + +إذا كنت بحاجة إلى تخصيص ملفات CSS/JS، ألقي نظرة على قسم [الموضوع](/docs/dev/theming). \ No newline at end of file diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/user/site/navbar.md b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/site/navbar.md new file mode 100644 index 000000000000..d3a34d4acfc1 --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/site/navbar.md @@ -0,0 +1,6 @@ +--- +title: شريط التنقل +sidebar_position: 2 +--- + +شاهد [عرض القوائم](/docs/user/menus/displaying-menus#navigation-bar) diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/user/site/startpage.md b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/site/startpage.md new file mode 100644 index 000000000000..9f6baa773b9d --- /dev/null +++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/user/site/startpage.md @@ -0,0 +1,11 @@ +--- +title: إعداد صفحة البداية +sidebar_position: 3 +--- + +phpBB SiteMaker يسمح لك باختيار أي وحدة تحكم أمامي (الصفحات التي يمكن الوصول إليها عبر app.php/... كصفحة البداية الافتراضية الخاصة بك (الصفحة التي ستظهر عند زيارة شخص ما لموقعك) بدلاً من فهرس اللوحة. + +للقيام بذلك: +* انتقل إلى الصفحة التي تريد تعيينها كصفحة بداية افتراضية +* انقر فوق `الإعدادات` في شريط المشرف. إذا كانت صفحة مؤهلة، سترى `مجموعة كصفحة بداية` زر +* انقر فوق زر `تعيين كصفحة بدء` \ No newline at end of file diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/contrib/_category_.json b/website/i18n/bg/docusaurus-plugin-content-docs/current/contrib/_category_.json new file mode 100644 index 000000000000..9f09f85c1772 --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/contrib/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Contribute", + "position": 4 +} diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/contrib/overview.md b/website/i18n/bg/docusaurus-plugin-content-docs/current/contrib/overview.md new file mode 100644 index 000000000000..de46426e8d48 --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/contrib/overview.md @@ -0,0 +1,11 @@ +--- +title: Get Involved +sidebar_position: 1 +--- + +phpBB SiteMaker is an open source project and welcomes your ideas and contributions. So feel free to get involved. You can contribute to this project by: + +* [Providing Support/Feedback](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Reporting Bugs](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Helping with Translation](./translators.md) +* [Fixing bugs or adding features](./pull-requests.md) diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/contrib/pull-requests.md b/website/i18n/bg/docusaurus-plugin-content-docs/current/contrib/pull-requests.md new file mode 100644 index 000000000000..eb49a6f371dc --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/contrib/pull-requests.md @@ -0,0 +1,65 @@ +--- +title: Submitting a Pull Request +sidebar_label: Pull Requests +--- + +`Pull requests let you tell others about changes you've pushed to a branch in a repository on GitHub. Once a pull request is opened, you can discuss and review the potential changes with collaborators and add follow-up commits before your changes are merged into the base branch.` [Read more](https://help.github.com/articles/about-pull-requests/) + +## Forking/Cloning + +* Create a github account if you don't already have one +* Go to https://github.com/blitze/phpBB-ext-sitemaker.git and click on "Fork" + +Clone your fork of the repository: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +From command line go to sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + +**Configure git:** + +Add your Username to Git on your system: + + git config --global user.name "Your Name Here" + +Add your E-mail address to Git on your system: + + git config --add user.email username@phpbb.com + +Add the upstream remote (you can change ‘upstream’ to whatever you like): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + +**Install vendors** + + composer install + +**Install NPM packages** + + npm install + +Alternatively you may use [yarn](https://yarnpkg.com): + + yarn install + +## Pull Requests + + # Create a new branch for your feature & switch to it + git checkout -b feature/my-fancy-new-feature + + # create a new branch for the issue you are working on * switch to it (ticket # is from github tracker) + git checkout -b ticket/1234 + +Make your changes + + # Stage the files + git add + + # Commit staged files - please use a correct commit message + git commit -m "my commit message" + +Push the branch back to GitHub git push origin feature/my-fancy-new-feature + +Submit a [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/contrib/translators.md b/website/i18n/bg/docusaurus-plugin-content-docs/current/contrib/translators.md new file mode 100644 index 000000000000..117e8c0cd238 --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/contrib/translators.md @@ -0,0 +1,17 @@ +--- +title: Translators +sidebar_position: 2 +--- + +We need help translating this extension, as well as its documentation. We have created a project on Crowdin to ease translations. Crowdin gives you a translation interface that's second to none. You can contribute how ever you want but we really recommend using Crowdin. + +> Crowdin is a localization management platform that helps companies to translate their software. You can read more about Crowdin [here](https://support.crowdin.com/crowdin-intro/) + +If you are willing to contribute with translations, you will need: + +* A [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) account. +* Chose the target language if exist otherwise request to be enabled. + +If your desired language is not listed, please [contact me](https://crowdin.com/profile/blitze) and I will add it. + +[Start Translating](https://crowdin.com/project/phpbb-ext-sitemaker) diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/dev/_category_.json b/website/i18n/bg/docusaurus-plugin-content-docs/current/dev/_category_.json new file mode 100644 index 000000000000..cc7b01abbce9 --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/dev/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Developer Guide", + "position": 3 +} diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/dev/events.md b/website/i18n/bg/docusaurus-plugin-content-docs/current/dev/events.md new file mode 100644 index 000000000000..74e789e92ca9 --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/dev/events.md @@ -0,0 +1,120 @@ +--- +title: phpBB SiteMaker Events +sidebar_position: 2 +--- + +You can modify the behavior of phpBB SiteMaker using phpBB's event system. + +## PHP Events + +### blitze.sitemaker.acp_add_bulk_menu_options + +- Location: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Since: 3.1.0 +- Purpose: Add bulk menu options in acp menu + +### blitze.sitemaker.acp_display_settings_form + +- Location: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Since: 3.1.0 +- Purpose: display acp (sitemaker) settings form + +### blitze.sitemaker.acp_save_settings + +- Location: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Since: 3.1.0 +- Purpose: Save acp (sitemaker) settings + +### blitze.sitemaker.admin_bar.set_assets + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Since: 3.0.1-RC1 +- Purpose: Add assets for available blocks in edit mode + +### blitze.sitemaker.modify_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Since: 3.0.1-RC1 +- Purpose: Modify block positions + +### blitze.sitemaker.modify_rendered_block + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Since: 3.0.1-RC1 +- Purpose: Modify a rendered block + +## Template Events + +### blitze_sitemaker_acp_settings + +- Location: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Since: 3.1.0 +- Purpose: Add form fields for sitemaker settings + +### blitze_sitemaker_admin_bar_append + +- Location: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Since: 3.1.0 +- Purpose: Add menu items to admin bar + +### blitze_sitemaker_admin_bar_templates + +- Location: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Since: 3.1.0 +- Purpose: Add template files to be used in JS for block views, etc + +## Javascript Events + +### blitze_sitemaker_layout_saved + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout changes are saved + +### blitze_sitemaker_render_block_before + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something before block is rendered or prevent it from being re-rendered + +### blitze_sitemaker_render_block_after + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something after block is rendered + +### blitze_sitemaker_save_block_before + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to modify block data before it is saved + +### blitze_sitemaker_show_all_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when all block positions are shown + +### blitze_sitemaker_hide_empty_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when empty positions are hidden + +### blitze_sitemaker_layout_cleared + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout is cleared + +### blitze_sitemaker_layout_updated + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout is updated + +### blitze_sitemaker_tinymce_options + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Since: 3.3.0 +- Purpose: Event to allow other extensions to modify tinymce options diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/dev/overview.md b/website/i18n/bg/docusaurus-plugin-content-docs/current/dev/overview.md new file mode 100644 index 000000000000..04a34e5ee9c8 --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/dev/overview.md @@ -0,0 +1,179 @@ +--- +title: Extending phpBB SiteMaker +sidebar_position: 1 +--- + +You can extend/modify phpBB SiteMaker using [service replacement](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [service decoration](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), and [phpBB's event system](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). You can find a list of supported events [here](./events.md). + +## Creating a SiteMaker block + +A phpBB SiteMaker block is simply a class that extends the blitze\sitemaker\services\blocks\driver\block class and returns an array from the "display" method with a 'title' and 'content'. Everything else inbetween is up to you. To make your block discoverable by phpBB SiteMaker, you'll need to give it the "sitemaker.block" tag. + +Say we have an extension with vendor/extension as my/example. To create a block called "my_block" for phpBB SiteMaker: + +- Create a "blocks" folder +- Create my_block.php file in the blocks folder with the following content + +```php +namespace my\example\blocks; + +use blitze\sitemaker\services\blocks\driver\block; + +class my_block extends block +{ + /** + * {@inheritdoc} + */ + public function display(array $settings, $edit_mode = false) + { + return array( + 'title' => 'my block title', + 'content' => 'my block content', + ); + } +} +``` + +Then in your config.yml file, add the following: + +```yml +services: + + ... + + my.example.block.my_block: + class: my\example\blocks\my_block + calls: + - [set_name, [my.example.block.my_block]] + tags: + - { name: sitemaker.block } + + .... + +``` + +At a bare minimum, that's all you need. If you go into edit mode, you should see the block listed as 'MY_EXAMPLE_BLOCK_MY_BLOCK' that can be dragged and dropped on any block position. But this block doesn't do anything exciting. It has no settings and does not translate the block name. Let's make it more interesting. + +### Block Settings + +Let's modify our blocks/my_block.php file and add a "get_config" method th at returns an array with the keys being the block settings and the values being an array describing the settings like so: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Only show when option 1 is selected
'), + ); + } +``` + +This is constructed the same way that phpBB builds the configuration for board settings in ACP. You can see more examples [here](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +If you want a custom field type, you can see an example [here](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' setting). + +Notice 'legend1' and 'legend2': These are used to separate the settings into tabs. + +### Naming Blocks + +The convention for block names is that the service name (e.g my.example.block.my*block above) will be used as the language key by replacing the dots (.) with underscore (*) (e.g MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Translation + +Also notice that we have several language keys that need to be translated. To do this, create a file named "blocks_admin.php" in your language folder. This file will be automatically loaded when editing blocks, and should have translations for your blocks settings and block names. + +``` +$lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Option 1', + 'OTHER_LANG_VAR' => 'Option 2', + 'SOME_LANG_VAR_1' => 'Setting 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'My Block', +); +``` + +Because 'blocks_admin.php' is only loaded when editing blocks, you will need to add other translations (e.g. block title) by loading a language file in your display method like so `$language->add_lang('my_lang_file', 'my/example');` + +### Rendering the block + +The new block will only be displayed if it is rendering something. Your block can return any string as content but in most cases, you need a template to render your content. To render your block using templates, the block must return an array that holds the data that you want to pass to the template and must also implement the `get_template` method as demonstrated below: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block.html'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // do something only in edit mode + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); + } +``` + +Then your styles/all/my_block.html or styles/prosilver/my_block.html file might look something like this: + +``` +

You selected: {{ some_var }}

+``` + +In summary, your block must return an array with a `title` key (for the block title) and a `content` key (if the block just displays a string and does not use a template) or a `data` key (if the block uses a template, in which case, you will also need to implement the `get_template` method). + +### Block Assets + +If your block needs to add assets (css/js) to the page, I recommend using the sitemaker [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) for that. Since there can be more than one instance of the same block on the page, or other blocks might be adding the same asset, the util class ensures that the asset is only added ones. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some.js', + 100 => '@my_example/assets/other.js', // set priority + ), + 'css' => array( + '@my_example/assets/some.css', + ) + )); +``` + +The util class will, of course, need to be added to your service definitions in config.yml like so: `- '@blitze.sitemaker.util'` and defined in your block's constructor `\blitze\sitemaker\services\util $util`. + +And that's it. We're done! diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/dev/theming.md b/website/i18n/bg/docusaurus-plugin-content-docs/current/dev/theming.md new file mode 100644 index 000000000000..96fa96590958 --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/dev/theming.md @@ -0,0 +1,62 @@ +--- +title: Theming +sidebar_position: 3 +--- + +We understand that the template files and the JS/CSS files will not work for every style, so below are some ways you can use your own templates and create JS/CSS files for your particular style. + +## Using your own template + +If the default templates that come with phpBB Sitemaker don't work well for your particular style, you can easily overwrite it to use your own template file by creating the corresponding file in your styles's folder. + +For example, say your style is called `Backlash` and it has a particular way in which the HTML for the block header section needs to be structured for the [boxed view](/docs/user/blocks/block-views). You can overwrite that particular template by creating a file by the same name like so: `phpBB/ext/blitze/sitemaker/styles/Backlash/template/views/boxed_view.twig`. + +In other words, to use your own template file, you need to: +* Identify which phpBB Sitemaker file needs to be overwritten +* Create a file by the same name in the Sitemaker `styles` folder under your style name + +> Note: If you create your own template files, be sure to not delete the `phpbb/ext/blitze/sitemaker` folder when updating the extension as your custom files will be deleted. Rather, just overwrite the existing files with the new ones. + +## Creating JS/CSS files for your style + +Note: +* For the purpose of the below instructions we will assume that you have a style called my-style. + +Clone into phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +From command line go to sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + +**Install vendors** + + composer install + +**Install packages** + +For the below commands you can use npm or [yarn](https://yarnpkg.com) + + yarn install + +**Watch Changes** + + yarn start --theme my-style + +**Make Changes** + +* Make your changes to files in the phpBB/ext/blitze/sitemaker/develop folder. +* Look at phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss for sass variables + +**Build Assets** + + yarn build --theme my-style + +**Deploy** + +You can now copy the generated files from phpBB/ext/blitze/sitemaker/styles/my-style and uploaded them to your production server. + +> This extension uses jQuery UI for tabs, dialogs and buttons. The default jQuery theme is 'smoothness.' You can use a different jQuery UI theme that best fits your theme. You can specify the jQuery UI theme using the flag --jq_ui_theme. For example: + + yarn build --theme my-style --jq_ui_theme ui-lightness diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/intro/_category_.json b/website/i18n/bg/docusaurus-plugin-content-docs/current/intro/_category_.json new file mode 100644 index 000000000000..3562d433d76f --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/intro/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Getting Started", + "position": 1 +} diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/intro/installation.md b/website/i18n/bg/docusaurus-plugin-content-docs/current/intro/installation.md new file mode 100644 index 000000000000..e0630f01e6be --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/intro/installation.md @@ -0,0 +1,16 @@ +--- +title: "Installing / Upgrading" +sidebar_position: 2 +--- + +Download the extension from [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker +* Extract and upload it to your phpBB/ext/ folder so you have phpBB/ext/blitze/sitemaker +* Go to "ACP" > "Customise" > "Extensions" and enable the "phpBB Sitemaker" extension. + +## Upgrading phpBB SiteMaker +* Create a backup of your database just in case something goes wrong +* Go to "ACP" > "Customise" > "Extensions" and disable (do not purge) "phpBB Sitemaker" +* Download and extract the latest version of phpBB SiteMaker and upload it to your phpBB/ext/ folder (overwrite) +* Go to "ACP" > "Customise" > "Extensions" and enable the "phpBB Sitemaker" extension. diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/intro/introduction.md b/website/i18n/bg/docusaurus-plugin-content-docs/current/intro/introduction.md new file mode 100644 index 000000000000..f3613f50b73c --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/intro/introduction.md @@ -0,0 +1,6 @@ +--- +title: Introduction +sidebar_position: 1 +--- + +phpBB SiteMaker seeks to transform your phpBB board into a CMS/portal. It does so by providing you with blocks and menus to help you customize your site to your liking. There are or will be other SiteMaker extensions that provide additional functionality to meet this goal. It also allows you to define a landing page when your site is accessed. So if you don't want visitors to your site to immediately see the phpBB forum when they go to www.your-site.com, you can define your own start page. diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/user/_category_.json b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/_category_.json new file mode 100644 index 000000000000..68ea78e78443 --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "User Guide", + "position": 2 +} diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/user/blocks/_category_.json b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/blocks/_category_.json new file mode 100644 index 000000000000..6aa877545702 --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/blocks/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Blocks", + "position": 1 +} diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/user/blocks/block-views.md b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/blocks/block-views.md new file mode 100644 index 000000000000..3316541dd929 --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/blocks/block-views.md @@ -0,0 +1,6 @@ +--- +title: Block Views +sidebar_position: 2 +--- + +Work in progress... \ No newline at end of file diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md new file mode 100644 index 000000000000..861704f2e76f --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md @@ -0,0 +1,24 @@ +--- +title: Custom Block +sidebar_position: 4 +--- + +If the available blocks do not give you the freedom you need, there is the `Custom Block` which allows you the freedom to display your own content using BBcode or HTML. The block comes with a WYSIWYG editor (TinyMCE) and a scripts manager: + +## The editor + +- You can use the editor to create HTML content +- You can edit the source code if you need that level of control by clicking on the `Source code` icon (`<>`) in the editor +- The editor allows you to upload and modify images + - It creates a new folder in phpBB/images/sitemaker_uploads/ for every user who has access to it + - You can view/manage all user folders +- The editor filters out any potentially dangerous scripts like javascript, etc. If you need to add content like google ads, the javascript will be filtered out, but you can get around that by doing the following: + - Add the Custom Block to desired location + - Edit the Custom Block, click on the `HTML` tab and paste your Javascript + +## The Scripts Manager + +The Custom Block also allows you to add custom CSS and Javascript files to your page. To do this: + +- Add a `Custom Block` to any block position. The position does not matter unless you are also displaying content with the block +- Edit the block, click on the `Scripts` tab and add your CSS or Javascript files > Word of caution though: Adding to many scripts on your page can affect load times diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md new file mode 100644 index 000000000000..395342ad5c12 --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md @@ -0,0 +1,51 @@ +--- +title: Managing Blocks +sidebar_position: 3 +--- + +To manage blocks in phpBB SiteMaker, you must be in [Edit Mode](./overview#edit-mode). + +> When a block does not display any content, it will not be displayed, except in edit mode. That way, you can either give it content (in the case of the Custom block) or change its settings. + +> In edit mode, the somewhat transparent blocks are blocks that will otherwise not be displayed but are only being displayed because we are in edit mode + +## Adding blocks +You can add blocks to any front-facing page, except the User Control Panel and Moderator Control Panel pages. To add a block, you will need to: +* click on **Blocks** in the Admin bar. This will display a list of available blocks +* Drag and drop the desired block to any block position + +## Editing blocks +### Adding a block icon +To the left of the block title (prosilver), there is a box for the block icon. Click on this box to get the icon picker. You can select the icon size, color, float, rotation, etc. + +### Editing the Block Title +phpBB SiteMaker blocks will have a default, translated title but if the title does not meet your needs, you can change it. To edit the block title, +* Click on the block title to get an inline edit form +* Change the title to whatever you want +* Remove focus from the field or hit enter to submit changes + +> Your modified block title is not translated + +> To revert to the default title, simple delete the title and hit enter + +### Editing block settings +When you hover over a block, a cog icon will appear to the right of the block that can be used to edit the block. In the edit block dialog, you can: +- Enable/disable a block [Status] +- Choose when the block should/should not be displayed [Display]. This only applies in cases where you have nested pages (see [Understanding Block Inheritance](/docs/user/site/block-inheritance)): + - **Always**: Always display the block + - **Hide on child routes**: Only show this block on the parent route + - **Show on child routes only**: Only show this block on a child route +- Choose which groups of users can view the block [Viewable by]. Use CTRL + click to select multiple groups. +- Set custom classes to modify the appearance of the block or items (lists, images, background, etc) within the block [CSS Class] +- Show/hide the block title [Hide block title?] +- Select the block view [Block view]. You can select a default block view when new blocks are added in ACP. + - **Default / Simple**: uses the prosilver panel class to wrap the block in a padded container + - **Basic**: block does not have any container wrapping it + - **Boxed**: uses the prosilver forabg class to wrap the block in a box +- Set / Update block specific settings +- If you have the same block with same settings across multiple pages, you can update all of them at once by checking the **Update blocks with similar settings** + +## Deleting blocks +- Hover over the block you'd like to delete +- Click on the **x** icon and confirm that you wish to delete the block +- Go up to the admin bar and click on `Save Changes` diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/user/blocks/overview.md b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/blocks/overview.md new file mode 100644 index 000000000000..1b8f0a75c40e --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/blocks/overview.md @@ -0,0 +1,9 @@ +--- +title: What are blocks? +sidebar_position: 1 +--- + +At the heart of phpBB SiteMaker is the concept of blocks. Blocks are little pieces of content that you can place in different pre-defined areas (block positions) on your site. The blocks will typically have settings that you can set/change to fine-tune the content that you wish to display. Most blocks, but not all, will make database queries to get the desired content. So let's not get too crazy :). To manage blocks, you will need to switch to "edit mode". + +## Edit Mode +Switch to edit mode by clicking on the pencil icon on the top right of your site. This will display the "Admin bar" with "Blocks" and "Settings" menu items. This is referred to as being in 'edit mode'. diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/user/menus/_category_.json b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/menus/_category_.json new file mode 100644 index 000000000000..4259794d53ee --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/menus/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Menus", + "position": 2 +} diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md new file mode 100644 index 000000000000..70927b2abece --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md @@ -0,0 +1,15 @@ +--- +title: Displaying Menus +sidebar_position: 3 +--- + +Now that you have create your menus, you can display them in several ways: + +## Links Block +You can use this block to display a flat or nested list of menu items. This block is not intended to be used for navigation i.e. it will not show a current page or anything like that. It is intended for a list of items, including external links. + +## Menus Block +This block is intended for site navigation. It does some additional computations to determine current location and is not intended to be a very large list. + +## Navigation bar +Similar to the Menus block, the navigation bar will display menu items as a responsive dropdown menu intended for site navigation. You can enable this in ACP > Extensions > Sitemaker > Settings > Select menu diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md new file mode 100644 index 000000000000..eb77c62c13d0 --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md @@ -0,0 +1,30 @@ +--- +title: Managing Menu Items +sidebar_position: 2 +--- + +Your menu is useless unless it has menu items. You can add menu items that point to local or external files. + +> The URL for external sites must begin with http(s)://, ftp://, //, etc. + +> You can create a divider by entering '-' as the item title + +## Adding Menu items +You can add menu items one item at a time, or you can add multiple menu items at ones. + +### Adding single menu items +To add a single menu item, +* click on the `Add Menu Item` button +* Fill in the required information and hit `Save` + +### Adding multiple items +To add multiple menu items at once, +* Click on the down arrow icon next to `Add Menu Item` +* You can manually add items by placing each item on a new line and using the tab character nest items or +* You can click on one of the provided options at the bottom of the textarea to automatically fill in the menu items + +## Reorder the menu items +You can drag and drop the menu items up/down to set their display order, or drag them left/right to set the desired hierarchy. + +## Rebuilding the menu items +If you find that the menu items are not displaying correctly, click on the `Rebuild Tree` button to rebuild the menu items. diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md new file mode 100644 index 000000000000..bc7ec16cfbab --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md @@ -0,0 +1,24 @@ +--- +title: Managing Menus +sidebar_position: 1 +--- + +You can create menus in ACP that you can then display using the Menus or the Links blocks or displayed as a horizontal navbar. + +## Managing Menus + +To manage menus, go to ACP > Extensions > Sitemaker > Menu + +### Creating Menus +To create a new menu (group), click on the `Add Menu` button. A new menu group will be created with a randomly generated name. The new menu will also be selected so you can begin adding menu items to it. + +### Editing Menus +If you want a more meaningful menu name, +* hover over the menu name and click on the cog icon +* enter the new menu name and hit enter to update it + +### Deleting Menus +To delete a menu, and its items, +* Hover over the menu name and click on the **x** icon +* If the menu item has no child items, you will need to confirm your choice to delete the item +* If the menu item has child items, you will need to indicate if you want to delete only the item and move its children up or if you want to delete the entire branch diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/user/site/_category_.json b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/site/_category_.json new file mode 100644 index 000000000000..c1279944184a --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/site/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Building your site", + "position": 3 +} diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md new file mode 100644 index 000000000000..d53ed6cf2f07 --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md @@ -0,0 +1,46 @@ +--- +title: Block Inheritance +sidebar_position: 5 +--- + +We have already seen that by setting a default layout, other pages that do not have blocks of their own will inherit the blocks from the default layout. There is, however, another type of block inheritance. + +## Parent/Child Routes +In phpBB SiteMaker, we speak of nested routes in terms of real nested (sub) directories or virtually nested paths/routes. Please stay with me :). +* Real Parent/Child routes: For example, the path /some_directory/sub_directory/index.php is a child of /some_directory/index.php +* Virtual Parent/Child routes: For example, viewtopic.php is treated as a child of viewforum.php. + +Here are some examples of parent/child routes: + +| Parent | Child | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/my-article | + +## Parent/Child Block Inheritance +For parent/child routes, the child route inherits the blocks of the parent route (if the parent has its own blocks) or from the default layout (if one has been set). In other words, even if there is a default layout, the child route will inherit blocks from its parent route if the parent route has its own blocks. But not all blocks from the parent route must be inherited. + +## Controlling Block Inheritance +At a block level, you can control when a block can be inherited by child routes. We touched on this earlier in the [Editing Block Settings](/docs/user/blocks/managing-blocks#editing-block-settings). + +Consider the following real directory structure: +```text +phpBB +├── index.php +└── Movies/ + ├── index.php + ├── page.php + └── Comedy/ + └── index.php +``` + +For the purposes of inheriting blocks, we say: +* The parent route of /phpBB/Movies/Comedy/index.php is /phpBB/Movies/index.php and not /phpBB/Movies/page.php +* All pages in a sub directory relative to /phpBB/index.php is a child route of /phpBB/index.php. So /phpBB/Movies/index.php and /phpBB/Movies/page.php are all children of /phpBB/index.php and will therefore inherit its blocks if they do not have blocks of their own. In this case: + * When a block on /phpBB/index.php is set to display on **Hide on child routes**, the block will show on /phpBB/index.php (parent route) but not on its child routes + * When a block on /phpBB/index.php is set to display on **Show on child routes only**, it will display on /phpBB/Movies/index.php and /phpBB/Movies/page.php (child routes) but not on /phpBB/index.php (parent), nor /phpBB/Movies/Comedy/index.php (we only go one level deep) + * When a block on /phpBB/index.php is set to display **always** (default), it will display on /phpBB/index.php (parent), /phpBB/Movies/index.php and /phpBB/page.php (child routes) but not on /phpBB/Movies/Comedy/index.php (we only go one level deep). In this case, /phpBB/Movies/Comedy/index.php will inherit from the default route (if it exists) + +## Posible Future State +I'm really interested in your feedback in this area. Most phpBB users will not have real directories as outlined above. So I'm thinking of using the structure that is defined in a menu block as a virtual directory structure and apply this parent/child inheritance to it. I'm also considering going beyond one level deep. Please let me know if this will be useful to you. \ No newline at end of file diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md new file mode 100644 index 000000000000..5c8921307597 --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md @@ -0,0 +1,6 @@ +--- +title: Customizing Blocks Display +sidebar_position: 6 +--- + +Work in progress... \ No newline at end of file diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/user/site/default-layout.md b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/site/default-layout.md new file mode 100644 index 000000000000..e0707bde32c9 --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/site/default-layout.md @@ -0,0 +1,21 @@ +--- +title: Setting a Default Layout +sidebar_position: 4 +--- + +When you add a block, it is added to that specific page. It would, therefore, be a tedious task to set blocks for all the pages on your site. You can set all the desired blocks for a particular page, then set that page as the default layout. In others words, any page that does not have its own blocks, will inherit blocks from this page. + +To set a default layout +* Go to the page that you'd like to set as default layout +* Click on `Settings` in the admin bar +* Click the `Set as default layout` button + +Say we add blocks to a page (phpBB/index.php) with blocks in the sidebar and top positions, for example, and set it as our default layout. This has the following effects for other pages: +* Any page that does not have its own blocks, will inherit the blocks from the default layout. See [Understanding Block Inheritance](/docs/user/site/block-inheritance) for exceptions. +* You may still inherit blocks from a default layout (index.php) but choose to not display blocks on some block positions or not display any blocks at all. To do this, + * Go to the page that you don't want all/some blocks to display + * Click on `Settings` in the admin bar + * Select `Do not show blocks on this page` if you don't want to inherit/display any blocks on this page OR + * Use CTRL + click to select the block positions (on the right) that you do not want to display blocks on +* In `edit mode`, a page that inherits blocks from the default layout, will not show any blocks, giving you the opportunity to add blocks to the page if you want to +* Any page that has its own blocks will not inherit from the default layout diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/user/site/layouts.md b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/site/layouts.md new file mode 100644 index 000000000000..4ee616f81cf7 --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/site/layouts.md @@ -0,0 +1,31 @@ +--- +title: Layouts +sidebar_position: 1 +--- + +"Layouts" determine the available block positions and how they are displayed. + +## Block Positions +Block positions are predefined areas on your site where blocks can exist. The available block positions are determined by the template style that you are using. For prosilver, phpBB SiteMaker comes with the following block positions: +* panel: full width across the top +* sidebar: left/right depending on layout below +* subcontent: similar to sidebar just larger +* top_hor: horizontal blocks across the top, flanking above sidebar/subcontent depending on layout +* top: above main content +* box: equal width, horizontal blocks below main content +* bottom: below main content +* bottom_hor: horizontal blocks across the bottom, flanking the sidebar/subcontent depending on layout +* footer: horizontal blocks in the footer You can add more block positions in your own style templates by copying and modifying the corresponding phpBB SiteMaker templates + +## Site Layout +You can choose the layout for your site in ACP (Extensions > Sitemaker > Settings): +* **Blog**: subcontent and sidebar next to each other, pushed to the right, top_hor/botom_hor flank subcontent +* **Holy Grail**: equal width sidebar and subcontent on opposite sides, top_hor/botom_hor flank subcontent +* **Portal**: sidebar on left, subcontent on the right, top_hor/botom_hor flank subcontent +* **Portal Alt**: subcontent on left, sidebar on the right, top_hor/botom_hor flank sidebar +* **Custom**: Manually set the width of the sidebars as px, %, em or rem. Defaults to 200px on each side + +## Custom templates/styles +As much as possible, we tried to put template files and assets in styles/all/ folder so that you can overwrite them by creating a file with same name under your own template theme e.g. prosilver. So if you want to modify how a certain block displays or if you want to create your own layout with your own block positions, you simply need to create a file with the same name and path as the original in your own style. + +If you need to customize CSS/JS files, take a look at the [theming](/docs/dev/theming) section. \ No newline at end of file diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/user/site/navbar.md b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/site/navbar.md new file mode 100644 index 000000000000..e5f697c35044 --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/site/navbar.md @@ -0,0 +1,6 @@ +--- +title: Navigation Bar +sidebar_position: 2 +--- + +See [Displaying Menus](/docs/user/menus/displaying-menus#navigation-bar) diff --git a/website/i18n/bg/docusaurus-plugin-content-docs/current/user/site/startpage.md b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/site/startpage.md new file mode 100644 index 000000000000..433400874bd9 --- /dev/null +++ b/website/i18n/bg/docusaurus-plugin-content-docs/current/user/site/startpage.md @@ -0,0 +1,11 @@ +--- +title: Setting a Start Page +sidebar_position: 3 +--- + +phpBB SiteMaker allows you to choose any front controller (pages accessed via app.php/...) as your default start page (the page that will be shown when someone visits your site) instead of the board index. + +To do this: +* Go to the page that you want to set as default start page +* Click on `Settings` in the admin bar. If it is an eligible page, you will see a `Set as start page` button +* Click on the `Set as start page` button \ No newline at end of file diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/contrib/_category_.json b/website/i18n/cs/docusaurus-plugin-content-docs/current/contrib/_category_.json new file mode 100644 index 000000000000..35e1c7158a82 --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/contrib/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Přispějte", + "position": 4 +} diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/contrib/overview.md b/website/i18n/cs/docusaurus-plugin-content-docs/current/contrib/overview.md new file mode 100644 index 000000000000..262a608ab5c2 --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/contrib/overview.md @@ -0,0 +1,11 @@ +--- +title: Zapojte se +sidebar_position: 1 +--- + +phpBB SiteMaker je open source projekt a vítá vaše nápady a příspěvky. Takže neváhejte se zapojit. K tomuto projektu můžete přispět prostřednictvím: + +* [Poskytování podpory/zpětné vazby](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Hlášení chyb](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Pomoc s překladem](./translators.md) +* [Oprava chyb nebo přidávání funkcí](./pull-requests.md) diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/contrib/pull-requests.md b/website/i18n/cs/docusaurus-plugin-content-docs/current/contrib/pull-requests.md new file mode 100644 index 000000000000..a4db56755078 --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/contrib/pull-requests.md @@ -0,0 +1,65 @@ +--- +title: Odeslání žádosti o natažení +sidebar_label: Požadavky na natažení +--- + +`Požadavky na natažení vám umožní informovat ostatní o změnách, které jste nahráli do větve v repozitáři na GitHubu. Jakmile je otevřen požadavek na natažení, můžete diskutovat a zkontrolovat případné změny se spolupracovníky a přidat následné revize před sloučením změn do základní větve.` [Číst více](https://help.github.com/articles/about-pull-requests/) + +## Přídavná přísada/klonování + +* Vytvořte si github účet, pokud ho již nemáš +* Přejděte na https://github.com/blitze/phpBB-ext-sitemaker.git a klikněte na "Fork" + +Klonovat rozštěpení repozitáře: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Z příkazové řádky přejděte do adresáře sitemaker: + + cd phpBB/ext/blitze/sitemaker + +**Konfigurovat git:** + +Přidejte své uživatelské jméno do systému Git: + + git config --global user.name "Vaše jméno zde" + +Přidejte svou e-mailovou adresu do Gitu ve vašem systému: + + git config --add user.email username@phpb.com + +Přidejte před streamem vzdálený (můžete změnit „nahoru“ na cokoliv chcete): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + +**Instalovat dodavatele** + + instalace editoru + +**Instalovat NPM balíčky** + + npm install + +Případně můžete použít [příze](https://yarnpkg.com): + + montáž příze + +## Požadavky na natažení + + # Vytvořte novou větev pro vaši funkci & přepněte na ni + git checkout -b feature/my-fancy-new-feature + + # vytvořte novou větev pro problém, na kterém pracujete* (tiket # je z github tracker) + git checkout -b ticket/1234 + +Proveďte změny + + # Fager soubory + git add + + # Commit stage files - použijte správnou zprávu + git commit -m "my commit message" + +Stiskněte větev zpět na GitHub git push výchozí funkci/my-fancy-new-feature + +Odeslat [požadavek na natažení](https://github.com/blitze/phpBB-ext-sitemaker/pulls) diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/contrib/translators.md b/website/i18n/cs/docusaurus-plugin-content-docs/current/contrib/translators.md new file mode 100644 index 000000000000..cf7bab3b42f6 --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/contrib/translators.md @@ -0,0 +1,17 @@ +--- +title: Překladatelé +sidebar_position: 2 +--- + +Potřebujeme pomoci s překladem tohoto rozšíření, stejně jako jeho dokumentace. Vytvořili jsme projekt na Crowdinu pro usnadnění překladů. Crowdin vám poskytne překladové rozhraní, které je druhé a žádné. Můžete přispět, jak kdy chcete, ale opravdu doporučujeme používat Crowdin. + +> Crowdin je platforma pro správu lokalizací, která společnostem pomáhá překládat jejich software. Více o Crowdin [si můžete přečíst zde](https://support.crowdin.com/crowdin-intro/) + +Pokud jste ochotni přispět s překlady, budete potřebovat: + +* Účet [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker). +* Vyberte cílový jazyk, pokud existuje jiný požadavek na povolení. + +Pokud váš požadovaný jazyk není uveden, prosím [kontaktujte mě](https://crowdin.com/profile/blitze) a já ho přidám. + +[Začít překládat](https://crowdin.com/project/phpbb-ext-sitemaker) diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/dev/_category_.json b/website/i18n/cs/docusaurus-plugin-content-docs/current/dev/_category_.json new file mode 100644 index 000000000000..a087dad7911b --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/dev/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Příručka pro vývojáře", + "position": 3 +} diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/dev/events.md b/website/i18n/cs/docusaurus-plugin-content-docs/current/dev/events.md new file mode 100644 index 000000000000..e1ac3f4a8a53 --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/dev/events.md @@ -0,0 +1,120 @@ +--- +title: phpBB události SiteMaker +sidebar_position: 2 +--- + +Můžete změnit chování phpBB SiteMaker pomocí phpBB systému událostí. + +## PHP události + +### blitze.sitemaker.acp_bulk_menu_options + +- Umístění: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Od: 3.1.0 +- Účel: Přidání možností hromadného menu do acp menu + +### blitze.sitemaker.acp_display_settings_form + +- Umístění: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Od: 3.1.0 +- Účel: Zobrazení akp (sitemaker) nastavení formuláře + +### blitze.sitemaker.acp_Uložit nastavení + +- Umístění: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Od: 3.1.0 +- Účel: Uložit acp (sitemaker) nastavení + +### Blitze.sitemaker.admin_bar.set_assets + +- Umístění: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Od: 3.0.1-RC1 +- Účel: Přidejte aktiva pro dostupné bloky v režimu úprav + +### blitze.sitemaker.modify_block_positions + +- Umístění: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Od: 3.0.1-RC1 +- Účel: Úprava pozic bloku + +### blitze.sitemaker.modify_rendered_block + +- Umístění: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Od: 3.0.1-RC1 +- Účel: Úprava vykreslovaného bloku + +## Události šablony + +### blitze_sitemaker_acp_nastavení + +- Umístění: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Od: 3.1.0 +- Účel: Přidat pole formuláře pro nastavení sitemaker + +### blitze_sitemaker_admin_bar_připojit + +- Umístění: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Od: 3.1.0 +- Účel: Přidat položky nabídky do admin panelu + +### Blitze_sitemaker_admin_bar_šablony + +- Umístění: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Od: 3.1.0 +- Účel: Přidejte šablony souborů, které mají být použity v JS pro zobrazení bloků atd. + +## Javascript události + +### blitze_sitemaker_layout_uloženo + +- Umístění: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Od: 3.1.2 +- Účel: Událost umožňuje ostatním rozšířením něco udělat, když jsou uloženy změny rozložení + +### blitze_sitemaker_render_block_před + +- Umístění: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Od: 3.1.2 +- Účel: Událost umožňující jiným rozšířením udělat něco před vykreslením bloku nebo zabránit jeho překreslování + +### blitze_sitemaker_render_block_after + +- Umístění: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Od: 3.1.2 +- Účel: Událost umožňující další rozšíření udělat něco po vykreslení bloku + +### blitze_sitemaker_save_block_před + +- Umístění: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Od: 3.1.2 +- Účel: Událost umožňuje jiným rozšířením změnit data bloku před jeho uložením + +### blitze_sitemaker_show_all_block_positions + +- Umístění: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Od: 3.1.2 +- Účel: Událost umožňující další rozšíření něco udělat, když jsou zobrazeny všechny pozice bloků + +### blitze_sitemaker_hide_empty_block_pozice + +- Umístění: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Od: 3.1.2 +- Účel: Událost umožňující ostatním rozšířením něco udělat, když jsou prázdné pozice skryté + +### blitze_sitemaker_layout_vymazáno + +- Umístění: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Od: 3.1.2 +- Účel: Událost umožňující ostatním rozšířením něco udělat, když je rozvržení vymazáno + +### blitze_sitemaker_layout_aktualizováno + +- Umístění: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Od: 3.1.2 +- Účel: Událost umožňující ostatním rozšířením něco udělat, když je rozložení aktualizováno + +### Blitze_sitemaker_tinymce_možnosti + +- Umístění: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Od: 3.3.0 +- Účel: Událost pro další rozšíření pro změnu možností tinymce diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/dev/overview.md b/website/i18n/cs/docusaurus-plugin-content-docs/current/dev/overview.md new file mode 100644 index 000000000000..c5b3929cc218 --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/dev/overview.md @@ -0,0 +1,179 @@ +--- +title: Rozšiřování phpBB SiteMaker +sidebar_position: 1 +--- + +Můžete rozšiřovat/modifikovat phpBB SiteMaker pomocí [servisu](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [dekorace služeb](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration)a [phpBB systému událostí](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Seznam podporovaných událostí [naleznete zde](./events.md). + +## Vytváření bloku SiteMaker + +Blok phpBB SiteMaker je prostě třída, která rozšiřuje blitze\sitemaker\services\blocks\driver\block class a vrací pole z metody "display" s 'title' a 'content'. Všechno ostatní mezi námi záleží na vás. Aby byl blok rozpoznatelný phpBB SiteMaker, musíte mu dát štítek "sitemaker.block". + +Řekněte nám rozšíření s prodejcem/rozšířením jako například. Chcete-li vytvořit blok nazvaný "my_block" pro phpBB SiteMaker: + +- Vytvořit složku "bloky" +- Vytvořit soubor my_block.php ve složce bloků s následujícím obsahem + +```php +namespace my\example\blocks; + +použijte blitze\sitemaker\services\blocks\driver\block; + +třída my_block rozšiřuje blok +{ + /** + * {@inheritdoc} + */ + displej veřejné funkce (pole $settings, $edit_mode = false) + { + return array( + 'title' => 'my block title', + 'obsah' => 'obsah mého bloku', + ); + } +} +``` + +Poté v souboru config.yml přidejte následující: + +```yml +služby: + +... + + my.example.block.my_block: + class: my\example\blocks\my_block + hovory: + - [set_name, [my.example.block.my_block]] + tagy: + - { name: sitemaker.block } + +.... + +``` + +Na minimum, to je vše, co potřebujete. Pokud přejdete do režimu úprav, měli byste vidět blok uvedený jako 'MY_EXAMPLE_BLOCK_MY_BLOCK', který může být přetažen a přetažen na libovolnou pozici bloku. Ale tento blok nedělá nic vzrušujícího. Nemá žádné nastavení a nepřeloží název bloku. Udělejme to zajímavější. + +### Nastavení bloku + +Pojďme upravit naše bloky/my_block. hp soubor a přidat metodu "get_config" na vrací pole s tím, že klíče jsou nastavení bloků, a hodnoty popisující nastavení, jako je toto: + +```php + /** + * @inheritdoc + */ + veřejná funkce get_config(pole $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => „OTHER_LANG_VAR“); + zpáteční pole + 'legend1' => 'TAB1', + 'checkbox' => pole ('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options„výchozí“ => pole(), „vysvětlit“ => false), + 'yes_no' => pole ('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'rád' => pole ('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'vysvětlit' => false, 'default' => 'topic'), + 'select' => pole ('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', „vysvětlit“ => nepravda), + 'multi' => pole ('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'možnosti' => $options, 'default' => pole(), 'vysvětlit' => false), + 'legend2' => 'TAB2', + 'číslo' => pole ('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false; „výchozí“ => 5), + 'textarea' => pole ('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'výchozí' => ''), + 'togglable' => pole ('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options'výchozí' => '', 'append' => '
Zobrazit pouze když je zvolena možnost 1
'), + ); +} +``` + +Toto je konstruováno stejným způsobem, jako phpBB sestavuje konfiguraci pro nastavení desky v ACP. Více příkladů [můžete vidět zde](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Pokud chcete typ vlastního pole, uvidíte příklad [zde](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type'). + +Oznámení 'legend1' a 'legend2': Používají se k oddělení nastavení do záložek. + +### Názevní bloky + +Konventem názvů bloků je název služby (např. my.example.block. y*blok výše) bude použit jako jazykový klíč nahrazením teček (.) podtržítkem (*) (např. MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Překlad + +Všimněte si také, že máme několik jazykových klíčů, které musí být přeloženy. Chcete-li to provést, vytvořte soubor s názvem "blocks_admin.php" ve vaší jazykové složce. Tento soubor bude automaticky načten při úpravách bloků a měl by mít překlady pro nastavení bloků a jména bloků. + +``` +$lang = array_merge($lang, pole + 'SOME_LANG_VAR' => 'Možnost 1', + 'OTHER_LANG_VAR' => 'Možnost 2', + 'SOME_LANG_VAR_1' => 'Nastavuji 1', +.... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Můj blok', +); +``` + +Protože se 'blocks_admin.php' načítá pouze při úpravách bloků, budete muset přidat další překlady (např. název bloku) nahráním jazykového souboru do metody zobrazení, jako je tomu tak `$language->add_lang('my_lang_file', 'my/example');` + +### Vykreslování bloku + +Nový blok se zobrazí pouze v případě, že něco vykresluje. Blok může vrátit jakýkoli řetězec jako obsah, ale ve většině případů potřebujete šablonu k vykreslení obsahu. Pro vykreslení bloku pomocí šablon, blok musí vrátit pole, které obsahuje data, která chcete předat do šablony, a musí také implementovat metodu `get_template` , jak je uvedeno níže: + +```php + /** + * @inheritdoc + */ + veřejná funkce get_config(pole $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => „OTHER_LANG_VAR“); + zpáteční pole + 'legend1' => 'TAB1', + 'some_setting' => pole('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options„výchozí“ => pole(), „vysvětlit“ => false), + ); + } + + /** + * {@inheritdoc} + */ + Veřejná funkce get_template() + { + return '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + zobrazení veřejné funkce (pole $data, $edit_mode = false) + { + if ($edit_mode) + { + // do něco pouze v editačním módu + } + + return ary( + 'title' => 'MY_BLOCK_TITLE', + 'data' => pole + 'some_var' => $data['settings']['some_setting'] + ), + ); +} +``` + +Pak vaše styles/all/my_block.html nebo styles/prosilver/my_block.html soubor může vypadat takto: + +``` +

Vybrali jste: {{ some_var }}

+``` + +In summary, your block must return an array with a `title` key (for the block title) and a `content` key (if the block just displays a string and does not use a template) or a `data` key (if the block uses a template, in which case, you will also need to implement the `get_template` method). + +### Blokovat aktiva + +Pokud váš blok potřebuje přidat aktiva (css/js) na stránku, doporučuji pro to použít sitemaker [util třídu](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php). Protože na stránce může být více než jedna instance téhož bloku, nebo jiné bloky mohou přidávat stejné aktivum, třída utilu zajišťuje, že aktivum je pouze přidáno. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/některé. s', + 100 => '@my_example/assets/other. s', // nastavit prioritu + ), + 'css' => pole( + '@my_example/assets/některé. ss', + ) +)); +``` + +Do definic vašich služeb bude samozřejmě muset být přidána utilová třída v config.yml jako je toto: `- '@blitze.sitemaker. til'` a definováno v konstruktoru vašeho bloku `\blitze\sitemaker\services\util $util`. + +A je to. Jsme hotovi! diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/dev/theming.md b/website/i18n/cs/docusaurus-plugin-content-docs/current/dev/theming.md new file mode 100644 index 000000000000..afb589617304 --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/dev/theming.md @@ -0,0 +1,62 @@ +--- +title: Motivy +sidebar_position: 3 +--- + +Chápeme, že soubory šablon a soubory JS/CSS nebudou fungovat pro každý styl, takže níže jsou některé způsoby, jak můžete použít vlastní šablony a vytvářet JS/CSS soubory pro váš konkrétní styl. + +## Pomocí vlastní šablony + +Pokud výchozí šablony přicházející s phpBB Sitemaker nefungují dobře pro váš konkrétní styl, můžete jej snadno přepsat tak, aby používal vlastní šablonu vytvořením odpovídajícího souboru ve složce vašich stylů. + +Například řekněte, že váš styl se nazývá `Backlash` a má zvláštní způsob, jak musí být HTML pro hlavičku bloku strukturován pro [boxed view](/docs/user/blocks/block-views). Tuto konkrétní šablonu můžete přepsat vytvořením souboru stejným názvem, jako je toto: `phpBB/ext/blitze/sitemaker/styles/Backlash/template/views/boxed_view.twig`. + +Jinými slovy, abyste mohli používat vlastní šablonu souboru, musíte +* Určete, který phpBB Sitemaker soubor musí být přepsán +* Vytvořte soubor se stejným názvem ve složce Sitemaker `stylů` pod vaším názvem + +> Poznámka: Pokud vytvoříte vlastní šablony souborů, se ujistěte, že při aktualizaci rozšíření složku `phpb/ext/blitze/sitemaker` , protože vaše vlastní soubory budou smazány. Spíše jednoduše přepište existující soubory novými. + +## Vytváření JS/CSS souborů pro váš styl + +Pozn.: +* Pro účely níže uvedených pokynů předpokládáme, že máte styl s názvem my-style. + +Klonovat do phpBB/ext/blitze/sitemaker: + + git klonovat https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Z příkazové řádky přejděte do adresáře sitemaker: + + cd phpBB/ext/blitze/sitemaker + +**Instalovat dodavatele** + + instalace editoru + +**Instalovat balíčky** + +Pro níže uvedené příkazy můžete použít npm nebo [yarn](https://yarnpkg.com) + + montáž příze + +**Sledovat změny** + + nit startovací --theme my-styl + +**Provést změny** + +* Proveďte změny souborů ve složce phpBB/ext/blitze/sitemaker/Develop. +* Podívejte se na phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss pro proměnné sass + +**Postavit majetek** + + příze stavět --theme my-styl + +**Publikovat** + +Nyní můžete zkopírovat vygenerované soubory z phpBB/ext/blitze/sitemaker/style/muj-styly a nahrát je na váš produkční server. + +> Toto rozšíření používá jQuery UI pro panely, dialogy a tlačítka. Výchozí motiv jQuery je 'smoothnes'. Můžete použít jinou jQuery uživatelskou šablonu, která nejlépe vyhovuje vašemu tématu. Šablonu jQuery UI můžete zadat pomocí příznak --jq_ui_theme. Například: + + yarn build --theme my-style --jq_ui_theme ui-lightness diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/intro/_category_.json b/website/i18n/cs/docusaurus-plugin-content-docs/current/intro/_category_.json new file mode 100644 index 000000000000..1a434169d20a --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/intro/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Začněme", + "position": 1 +} diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/intro/installation.md b/website/i18n/cs/docusaurus-plugin-content-docs/current/intro/installation.md new file mode 100644 index 000000000000..3b651052bf78 --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/intro/installation.md @@ -0,0 +1,16 @@ +--- +title: "Instalace / modernizace" +sidebar_position: 2 +--- + +Stáhněte si rozšíření z [zde](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker +* Extrahujte a nahrajte to do složky phpBB/ext/ takže máte phpBB/ext/blitze/sitemaker +* Přejděte na "ACP" > "Přizpůsobit" > "Rozšíření" a povolte rozšíření "phpBB Sitemaker". + +## Upgrade phpBB SiteMaker +* Vytvořte zálohu vaší databáze jen v případě, že se něco pokazí +* Přejděte na "ACP" > "Přizpůsobit" > "Rozšíření" a deaktivujte (nečistit) "phpBB Sitemaker" +* Stáhněte a extrahujte nejnovější verzi phpBB SiteMaker a nahrajte ji do složky phpBB/ext/ (přepsat) +* Přejděte na "ACP" > "Přizpůsobit" > "Rozšíření" a povolte rozšíření "phpBB Sitemaker". diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/intro/introduction.md b/website/i18n/cs/docusaurus-plugin-content-docs/current/intro/introduction.md new file mode 100644 index 000000000000..dbe0f4507ffd --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/intro/introduction.md @@ -0,0 +1,6 @@ +--- +title: Úvod +sidebar_position: 1 +--- + +phpBB SiteMaker se snaží převést vaši fpBB desku na CMS/portál. To dělá tím, že vám poskytuje bloky a menu, které vám pomohou přizpůsobit vaše stránky podle vašich představ. Existují nebo budou další rozšíření SiteMaker, která poskytují další funkčnost pro splnění tohoto cíle. Umožňuje také definovat vstupní stránku při přístupu k vašemu webu. Takže pokud nechcete, aby návštěvníci na vašich stránkách okamžitě viděli fórum phpBB, když jdou na www. our-site.com, můžete definovat vlastní úvodní stránku. diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/user/_category_.json b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/_category_.json new file mode 100644 index 000000000000..d4e0e455cc0b --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Uživatelská příručka", + "position": 2 +} diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/user/blocks/_category_.json b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/blocks/_category_.json new file mode 100644 index 000000000000..40205bc2058d --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/blocks/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Bloky", + "position": 1 +} diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/user/blocks/block-views.md b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/blocks/block-views.md new file mode 100644 index 000000000000..da1d2bcde7ad --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/blocks/block-views.md @@ -0,0 +1,6 @@ +--- +title: Blokovat zobrazení +sidebar_position: 2 +--- + +Probíhá práce... \ No newline at end of file diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md new file mode 100644 index 000000000000..c5fcb74adf9b --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md @@ -0,0 +1,24 @@ +--- +title: Vlastní blok +sidebar_position: 4 +--- + +Pokud vám dostupné bloky nedávají svobodu, kterou potřebujete, existuje `vlastní blok` , který vám umožňuje svobodně zobrazit svůj vlastní obsah pomocí BBcode nebo HTML. Blok přichází s WYSIWYG editorem (TinyMCE) a manažerem skriptů: + +## Editor + +- Můžete použít editor k vytvoření HTML obsahu +- Pokud potřebujete tuto úroveň ovládání, můžete upravit zdrojový kód kliknutím na ikonu `zdrojového kódu` (`<>`) v editoru +- Editor umožňuje nahrát a upravovat obrázky + - Vytváří novou složku v phpBB/images/sitemaker_uploads/ pro každého uživatele, který k ní má přístup + - Můžete zobrazit/spravovat všechny uživatelské složky +- Editor filtruje všechny potenciálně nebezpečné skripty jako javascript, atd. Pokud potřebujete přidat obsah, jako jsou reklamy google, javascript bude filtrován, ale můžete se tomu dostat následujícím způsobem: + - Přidat vlastní blok do požadovaného umístění + - Upravte vlastní blok, klikněte na záložku `HTML` a vložte svůj Javascript + +## Správce skriptů + +Vlastní blok vám také umožňuje přidat vlastní CSS a Javascript soubory na vaši stránku. Abych to udělal: + +- Přidejte `vlastní blok` do libovolné pozice bloku. Pozice nezáleží, pokud také nezobrazujete obsah s blokem +- Upravit blok, klikněte na záložku `skripty` a přidejte soubory CSS nebo Javascript > Slovo opatrnosti: Přidání mnoha skriptů na vaší stránce může ovlivnit časy načítání diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md new file mode 100644 index 000000000000..60787ba761c2 --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md @@ -0,0 +1,51 @@ +--- +title: Správa bloků +sidebar_position: 3 +--- + +Chcete-li spravovat bloky v phpBB SiteMaker, musíte být v [Režim úprav](./overview#edit-mode). + +> Pokud blok nezobrazuje žádný obsah, nebude zobrazen, kromě režimu úprav. Tímto způsobem můžete buď dát obsah (v případě vlastního bloku) nebo změnit jeho nastavení. + +> V režimu úprav, poněkud transparentní bloky jsou bloky, které jinak nebudou zobrazeny, ale jsou zobrazeny pouze proto, že jsme v režimu úprav + +## Přidávání bloků +Můžete přidat bloky na jakoukoliv stránku orientovanou na přední stranu, s výjimkou uživatelského ovládacího panelu a Moderátoru ovládacích stránek. Chcete-li přidat blok, musíte: +* klikněte na **Bloky** v panelu administrace. Zobrazí seznam dostupných bloků +* Přetáhněte požadovaný blok na libovolnou pozici bloku + +## Úprava bloků +### Přidání ikony bloku +Nalevo od názvu bloku (prosilver) je zde pole pro ikonu bloku. Klikněte na toto políčko pro výběr ikon. Můžete vybrat velikost, barvu, plovoucí okno, otáčení atd. + +### Úprava názvu bloku +phpBB SiteMaker bloky budou mít výchozí, přeložený název, ale pokud název nesplňuje vaše potřeby, můžete jej změnit. Pro úpravu názvu bloku, +* Klikněte na titulek bloku pro získání formuláře úpravy řádku +* Změňte název na cokoliv chcete +* Odstraňte zaostření z pole nebo stiskněte enter pro odeslání změn + +> Váš upravený název bloku není přeložen + +> Chcete-li se vrátit k výchozímu názvu, jednoduše smažte název a stiskněte Enter + +### Úprava nastavení bloku +Když přejdete přes blok, objeví se ikona ozubeného kolečka vpravo od bloku, která může být použita k úpravě bloku. V dialogovém okně editace můžete: +- Povolit/zakázat blok [Status] +- Vyberte, kdy by se měl nebo neměl blok zobrazovat [Display]. To platí pouze v případech, kdy jste vnořili stránky (viz [Blok porozumění](/docs/user/site/block-inheritance)): + - **Vždy**: Vždy zobrazit blok + - **Skrýt na podřazených trasách**: Zobrazit pouze tento blok na nadřazené cestě + - **Zobrazit pouze na podřízených trasách**: Zobrazit tento blok pouze na podřízené trase +- Vyberte, které skupiny uživatelů mohou zobrazit blok [zobrazitelné]. Použijte CTRL + klikněte pro výběr více skupin. +- Nastavte vlastní třídy pro úpravu vzhledu bloku nebo položek (seznamy, obrázky, pozadí, atd.) v bloku [CSS třída] +- Zobrazit/skrýt název bloku [Skrýt název bloku?] +- Vyberte zobrazení bloku [Blokovat zobrazení]. Můžete vybrat výchozí zobrazení bloku, když jsou přidány nové bloky v ACP. + - **Výchozí / Jednoduchý**: používá třídu prostříbrného panelu k zabalení bloku do vycpávaného kontejneru + - **Základní**: blok nemá žádné balení kontejneru + - **Boxovaný**: k zabalení bloku do krabice používá prostříbrnou forabg třídu +- Nastavit / aktualizovat konkrétní nastavení bloku +- Pokud máte stejný blok se stejným nastavením na více stránkách, všechny můžete aktualizovat najednou kontrolou **Aktualizačních bloků s podobnými nastavením** + +## Odstraňování bloků +- Přejeďte blok, který chcete odstranit +- Klikněte na ikonu **x** a potvrďte, že chcete odstranit blok +- Přejdi na admin panel a klikni na `Uložit změny` diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/user/blocks/overview.md b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/blocks/overview.md new file mode 100644 index 000000000000..b9544ca685f7 --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/blocks/overview.md @@ -0,0 +1,9 @@ +--- +title: Co jsou bloky? +sidebar_position: 1 +--- + +V srdci phpBB SiteMaker je koncept bloků. Bloky jsou malé kousky obsahu, které můžete umístit do různých předem definovaných oblastí (blokované pozice) na vašem webu. Bloky budou mít obvykle nastavení, která můžete nastavit/změnit tak, aby se doladil obsah, který chcete zobrazit. Většina bloků, ale ne všechny, provede databázové dotazy pro získání požadovaného obsahu. Nenechme se tedy příliš šílit :). Chcete-li spravovat bloky, budete muset přepnout do "režimu úprav". + +## Režim úprav +Přepněte do režimu úprav kliknutím na ikonu tužky vpravo nahoře. Zobrazí se "Admin bar" s položkami nabídky "Blocks" a "Nastavení". Toto je označováno jako režim úprav. diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/user/menus/_category_.json b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/menus/_category_.json new file mode 100644 index 000000000000..4259794d53ee --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/menus/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Menus", + "position": 2 +} diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md new file mode 100644 index 000000000000..560fe3825d6b --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md @@ -0,0 +1,15 @@ +--- +title: Zobrazení menu +sidebar_position: 3 +--- + +Nyní, když jste vytvořili své menu, můžete je zobrazit několika způsoby: + +## Blok odkazů +Tento blok můžete použít k zobrazení plochého nebo vnořeného seznamu položek nabídky. Tento blok není určen k použití pro navigaci, tzn. nebude zobrazovat aktuální stránku nebo nic podobného. Je určen pro seznam položek, včetně externích odkazů. + +## Blok nabídek +Tento blok je určen pro navigaci webu. Pro určení aktuální polohy provádí některé další výpočty a není určen jako příliš velký seznam. + +## Navigační panel +Podobně jako v bloku Menus zobrazí navigační panel položky nabídky jako responzivní rozbalovací menu určené pro navigaci webu. Můžete to povolit v AKT > Rozšíření > Sitemaker > Nastavení > Vyberte menu diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md new file mode 100644 index 000000000000..6a20913d83a9 --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md @@ -0,0 +1,30 @@ +--- +title: Správa položek nabídky +sidebar_position: 2 +--- + +Vaše menu je zbytečné, pokud nemá položky nabídky. Můžete přidat položky nabídky, které odkazují na místní nebo externí soubory. + +> URL pro externí stránky musí začínat http(s)://, ftp://, //, atd. + +> Můžete vytvořit oddělovač zadáním ''-' jako titulek položky + +## Přidávání položek nabídky +Položku nabídky můžete přidat najednou, nebo můžete přidat více položek nabídky. + +### Přidávání jednotlivých položek nabídky +Chcete-li přidat jednu položku nabídky, +* klikněte na tlačítko `Přidat položku nabídky` +* Vyplňte požadované informace a stiskněte `Uložit` + +### Přidávání více položek +Chcete-li přidat více položek nabídky najednou, +* Klikněte na ikonu šipky dolů vedle `Přidat položku nabídky` +* Můžete ručně přidat položky umístěním každé položky na nový řádek a použitím položky v záložce postavy, nebo +* Můžete kliknout na jednu z uvedených možností v dolní části textu pro automatické vyplnění položek nabídky + +## Změnit pořadí položek nabídky +Můžete přetáhnout a přetáhnout položky nabídky nahoru/dolů pro nastavení jejich pořadí zobrazení, nebo je přetažením vlevo/vpravo nastavit požadovanou hierarchii. + +## Obnovení položek nabídky +Pokud zjistíte, že položky nabídky se nezobrazují správně, klikněte na tlačítko `Znovu sestavit strom` , abyste znovu sestavili položky nabídky. diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md new file mode 100644 index 000000000000..cb1fb471b99c --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md @@ -0,0 +1,24 @@ +--- +title: Správa nabídek +sidebar_position: 1 +--- + +Můžete vytvořit menu v zemích AKT, které pak můžete zobrazit pomocí bloků menu nebo odkazů nebo zobrazených jako horizontální navigační panel. + +## Správa nabídek + +Chcete-li spravovat nabídky, přejděte na AKT > Rozšíření > Mapa položky > Menu + +### Vytváření menu +Chcete-li vytvořit novou nabídku (skupinu), klepněte na tlačítko `Přidat nabídku`. Nová skupina nabídek bude vytvořena s náhodně generovaným názvem. Bude vybrána také nová nabídka, abyste do ní mohli začít přidávat položky. + +### Editace nabídky +Pokud chcete smysluplnější název nabídky, +* přejít přes název nabídky a klikněte na ikonu kolečka +* zadejte nový název nabídky a stiskněte klávesu Enter pro aktualizaci + +### Odstranění menu +Možnost odstranit nabídku a její položky, +* Hover nad názvem nabídky a klikněte na ikonu **x** +* Pokud položka nabídky neobsahuje žádné podřízené položky, budete muset potvrdit svůj výběr pro odstranění položky +* Pokud má položka nabídky podřízené položky, budete muset uvést, zda chcete odstranit pouze položku a přesunout její potomky nahoru nebo zda chcete odstranit celou větev diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/user/site/_category_.json b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/site/_category_.json new file mode 100644 index 000000000000..6319c1ef8979 --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/site/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Budování vašeho webu", + "position": 3 +} diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md new file mode 100644 index 000000000000..3289eb1c3f0d --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md @@ -0,0 +1,46 @@ +--- +title: Blokovat dědictví +sidebar_position: 5 +--- + +To jsme již viděli, nastavením výchozího rozvržení, ostatní stránky, které nemají vlastní bloky, zdědí bloky z výchozího rozložení. Existuje však i další druh blokové dědictví. + +## Rodičové/podřízené trasy +V phpBB SiteMaker, mluvíme o vnořených trasách, pokud jde o skutečné vnořené (pod) adresáře nebo prakticky vnořené cesty/trasy. Prosím, zůstaňte se mnou :). +* Skutečné rodičovské trasy: Cesta /some_directory/sub_directory/index.php je dílem /some_directory/index.php +* Virtuální rodiče/Dětské cesty: Například viewtopic.php je považováno za dítě z viewforum.php. + +Zde jsou některé příklady rodičů/dětských cest: + +| Rodič | Potomek | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/výrobky | /app.php/articles/my-article | + +## Dědičnost rodiče/dětského bloku +Pro rodiče/dětskou trasu dětská trasa zdědí bloky mateřské trasy (pokud rodič má své vlastní bloky) nebo z výchozího rozložení (pokud byla nastavena). Jinými slovy, i když existuje výchozí uspořádání, dětská trasa zdědí bloky od nadřazené trasy, pokud má nadřazená trasa vlastní bloky. Ale ne všechny bloky od nadřazené trasy musí být zděděny. + +## Kontrola dědictví bloků +Na úrovni bloků můžete ovládat, kdy může být blok zděděn dětskými trasami. Dříve jsme se toho dotkli v [Nastavení bloků](/docs/user/blocks/managing-blocks#editing-block-settings). + +Zvažte následující skutečnou strukturu adresáře: +```text +phpBB +├── index.php +└── Movies/ + ├── index.php + ├── page.php + └── Comedy/ + └── index.php +``` + +Pro účely zdědění bloků říkáme: +* Nadřazená cesta /phpBB/Movies/Comedy/index.php je /phpBB/Movies/index.php a ne /phpBB/Movies/page.php +* Všechny stránky v podadresáři vzhledem k /phpBB/index.php jsou podřízenou cestou /phpBB/index.php. Takže /phpBB/Movies/index.php a /phpBB/Movies/page.php jsou všechny děti /phpBB/index.php a proto zdědí jeho bloky, pokud nemají vlastní bloky. V tomto případě: + * Když je nastaven blok na /phpBB/index.php pro zobrazení na **Skrýt na podřízených trasách**, blok se zobrazí na /phpBB/index. hp (mateřská cesta), ale ne na dětských trasách + * Když je na /phpBB/index.php nastaven blok na **Zobrazit pouze na podřízených trasách**, zobrazí se na /phpBB/Movies/index. hp and /phpBB/Movies/page.php (podřízené trasy), ale ne na /phpBB/index.php (rodiče), ani /phpBB/Movies/Comedy/index.php (jdeme pouze o jednu úroveň hloubky) + * Když je blok na /phpBB/index.php nastaven na zobrazení **vždy** (výchozí), zobrazí se na /phpBB/index. hp (rodiče), /phpBB/Movies/index.php and /phpBB/page.php (podřízené trasy), ale ne na /phpBB/Movies/Comedy/index.php (jdeme pouze o úroveň hloubky). V tomto případě /phpBB/Movies/Comedy/index.php zdědí z výchozí trasy (pokud existuje) + +## Možný budoucí stav +Mám opravdu zájem o vaši zpětnou vazbu v této oblasti. Většina uživatelů phpBB nebude mít skutečné adresáře, jak je uvedeno výše. Takže mám na mysli použití struktury, která je definována v nabídkovém bloku jako virtuální adresářová struktura a aplikovat na ni toto rodiče/dětskou dědičnost. Zvažuji také, že jdu hluboko nad jednu úroveň. Dejte mi prosím vědět, jestli vám to bude užitečné. \ No newline at end of file diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md new file mode 100644 index 000000000000..3aebe2aaeb80 --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md @@ -0,0 +1,6 @@ +--- +title: Přizpůsobení zobrazení bloků +sidebar_position: 6 +--- + +Probíhá práce... \ No newline at end of file diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/user/site/default-layout.md b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/site/default-layout.md new file mode 100644 index 000000000000..4c197a12ab24 --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/site/default-layout.md @@ -0,0 +1,21 @@ +--- +title: Nastavení výchozího rozvržení +sidebar_position: 4 +--- + +Přidáte-li blok, bude přidán na tuto konkrétní stránku. Proto by bylo únavné nastavit bloky pro všechny stránky na vašich stránkách. Můžete nastavit všechny požadované bloky pro určitou stránku a pak nastavit tuto stránku jako výchozí rozložení. Jinými slovy, každá stránka, která nemá vlastní bloky, zdědí bloky z této stránky. + +Pro nastavení výchozího rozložení +* Přejděte na stránku, kterou chcete nastavit jako výchozí rozložení +* Klikněte na `Nastavení` v admin panelu +* Klikněte na tlačítko `Nastavit jako výchozí rozložení` + +Řekněte nám přidat bloky na stránku (phpBB/index.php) s bloky například v postranním panelu a na vrchních pozicích a nastavit je jako výchozí rozložení. Toto má následující efekty pro ostatní stránky: +* Každá stránka, která nemá vlastní bloky, zdědí bloky z výchozího rozložení. Pro výjimky viz [Porozumění blokovému dědictví](/docs/user/site/block-inheritance). +* Stále můžete zdědit bloky z výchozího rozložení (index). hp), ale zvolte nezobrazovat bloky na některých pozicích bloku nebo vůbec nezobrazovat žádné bloky. Za tímto účelem + * Přejděte na stránku, kterou nechcete zobrazit všechny/některé bloky + * Klikněte na `Nastavení` v admin panelu + * Vyberte `Nezobrazovat bloky na této stránce` , pokud nechcete zdědit/zobrazit bloky na této stránce NEBO + * Použijte CTRL + kliknutím vyberte pozice bloku (na pravé straně), na kterých nechcete zobrazit bloky +* V `režimu úprav`stránka, která zdědí bloky z výchozího rozvržení, nezobrazí žádné bloky, které vám dají možnost přidat bloky na stránku, pokud chcete +* Žádná stránka, která má své vlastní bloky, nebude dědit z výchozího rozložení diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/user/site/layouts.md b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/site/layouts.md new file mode 100644 index 000000000000..d862e479a0da --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/site/layouts.md @@ -0,0 +1,31 @@ +--- +title: Rozvržení +sidebar_position: 1 +--- + +"Rozvržení" určují dostupné pozice bloku a jak jsou zobrazeny. + +## Blokované pozice +Blokované pozice jsou předdefinované oblasti na vašem místě, kde mohou existovat bloky. Položky s kupní opcí uplatnitelnou po datu pro vykazování, které po datu skutečné splatnosti nesplňují podmínky podle článku 63 nařízení o kapitálových požadavcích Pro prosilver, phpBB SiteMaker přichází s následujícími pozicemi: +* panel: celá šířka nahoře +* postranní panel: vlevo/vpravo v závislosti na rozložení níže +* subobsah: podobně jako právě větší postranní panel +* top_hor: vodorovné bloky přes horní okraj bočního panelu/subobsah v závislosti na rozložení +* horní: nad hlavním obsahem +* pole: stejná šířka, vodorovné bloky pod hlavním obsahem +* dole pod hlavním obsahem +* spodní_hor: vodorovné bloky dole, přilehlé k postrannímu panelu/subobsahu v závislosti na rozvržení +* zápatí: horizontální bloky v zápatí Můžete přidat další blokové pozice ve vlastních šablonách stylu zkopírováním a úpravou odpovídajících phpBB SiteMaker šablon + +## Rozložení webu +Můžete si vybrat rozvržení vašeho webu v zemích AKT (Vypnutí > Nastavení položky > Nastavení): +* **Blog**: subobsah a postranní panel vedle sebe, tlačené vpravo, subobsah top_hor/botom_hor bok +* **Svatý Grail**: stejný šířkový postranní panel a subobsah na opačných stranách, top_hor/botom_hor subobsah boku +* **Portal**: postranní panel vlevo, subobsah na pravé straně top_hor/botom_hor křídla +* **Portál Alt**: subobsah vlevo, postranní panel vpravo, top_hor/botom_hor boční panel +* **Vlastní**: Ručně nastavte šířku postranních panelů na px, %, em nebo rem. Výchozí nastavení je 200px na každé straně + +## Vlastní šablony/styly +Pokud je to možné, pokusili jsme se vložit soubory šablon a majetku do style/vše/složky, abyste je mohli přepsat vytvořením souboru se stejným jménem pod vlastní šablonou šablony. . prosilver. Takže pokud chcete upravit zobrazení určitého bloku nebo pokud chcete vytvořit vlastní rozložení s vlastními pozicemi, jednoduše musíte vytvořit soubor se stejným názvem a cestou, jako je originální ve svém vlastním stylu. + +Pokud potřebujete přizpůsobit CSS/JS soubory, podívejte se na [témata](/docs/dev/theming). \ No newline at end of file diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/user/site/navbar.md b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/site/navbar.md new file mode 100644 index 000000000000..496fe0ad35ca --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/site/navbar.md @@ -0,0 +1,6 @@ +--- +title: Navigační lišta +sidebar_position: 2 +--- + +Viz [Zobrazení nabídky](/docs/user/menus/displaying-menus#navigation-bar) diff --git a/website/i18n/cs/docusaurus-plugin-content-docs/current/user/site/startpage.md b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/site/startpage.md new file mode 100644 index 000000000000..8ee3afb54f7f --- /dev/null +++ b/website/i18n/cs/docusaurus-plugin-content-docs/current/user/site/startpage.md @@ -0,0 +1,11 @@ +--- +title: Nastavení úvodní stránky +sidebar_position: 3 +--- + +phpBB SiteMaker vám umožní vybrat libovolný přední ovladač (stránky přístupné přes app.php/... jako výchozí úvodní stránka (stránka, která bude zobrazena při návštěvě vašeho webu) namísto indexu tabule. + +Abych to udělal: +* Přejděte na stránku, kterou chcete nastavit jako výchozí úvodní stránku +* Klikněte na `Nastavení` v administrátorském řádku. Pokud se jedná o způsobilou stránku, uvidíte tlačítko `Nastavit jako úvodní stránku` +* Klikněte na tlačítko `Nastavit jako úvodní stránku` \ No newline at end of file diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/contrib/_category_.json b/website/i18n/da/docusaurus-plugin-content-docs/current/contrib/_category_.json new file mode 100644 index 000000000000..4403f4e3c753 --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/contrib/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Bidrag", + "position": 4 +} diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/contrib/overview.md b/website/i18n/da/docusaurus-plugin-content-docs/current/contrib/overview.md new file mode 100644 index 000000000000..3ec5fcc93273 --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/contrib/overview.md @@ -0,0 +1,11 @@ +--- +title: Bliv Involveret +sidebar_position: 1 +--- + +phpBB SiteMaker er et open source-projekt og hilser dine ideer og bidrag velkommen. Så du er velkommen til at involvere dig. Du kan bidrage til dette projekt ved at: + +* [Tilbyder Support/Feedback](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Rapportering Af Fejl](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Hjælper med oversættelse](./translators.md) +* [Fastsættelse af fejl eller tilføjelse af funktioner](./pull-requests.md) diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/contrib/pull-requests.md b/website/i18n/da/docusaurus-plugin-content-docs/current/contrib/pull-requests.md new file mode 100644 index 000000000000..098b76f6e7f7 --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/contrib/pull-requests.md @@ -0,0 +1,65 @@ +--- +title: Indsendelse af en Pull-anmodning +sidebar_label: Træk Forespørgsler +--- + +`Træk anmodninger lader dig fortælle andre om ændringer, du har skubbet til en gren i et depot på GitHub. Når en pull request er åbnet, du kan diskutere og gennemgå de potentielle ændringer med samarbejdspartnere og tilføje opfølgningsforpligtelser, før dine ændringer bliver flettet ind i basisbranchen.` [Læs mere](https://help.github.com/articles/about-pull-requests/) + +## Forking/Kloning + +* Opret en github konto hvis du ikke allerede har en +* Gå til https://github.com/blitze/phpBB-ext-sitemaker.git og klik på "Fork" + +Klon din gaffel af lageret: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Fra kommandolinjen gå til sitemaker mappe: + + cd phpBB/ext/blitze/sitemaker + +**Konfigurer git:** + +Tilføj dit brugernavn til Git på dit system: + + git config -- global user.name "Dit navn her" + +Tilføj din e-mailadresse til Git på dit system: + + git config --add user.email brugernavn@phpbb.com + +Tilføj fjernbetjeningen opstrøms (du kan ændre 'opstrøm' til hvad du vil): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + +**Installer sælgere** + + installation af komponist + +**Installer NPM pakker** + + npm install + +Alternativt kan du bruge [garn](https://yarnpkg.com): + + garninstallation + +## Træk Forespørgsler + + # Opret en ny gren for din funktion & skift til den + git checkout -b feature/min-fancy-new-feature + + # oprette en ny gren for det problem, du arbejder på * skifte til det (billet # er fra github tracker) + git checkout -b billet/1234 + +Foretag dine ændringer + + # Trin filerne + git add + + # Commit staged files - brug venligst en korrekt commit besked + git commit -m "min commit besked" + +Skub grenen tilbage til GitHub git push origin feature/min-fancy-new-feature + +Indsend en [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/contrib/translators.md b/website/i18n/da/docusaurus-plugin-content-docs/current/contrib/translators.md new file mode 100644 index 000000000000..2fc36c44ca12 --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/contrib/translators.md @@ -0,0 +1,17 @@ +--- +title: Oversættere +sidebar_position: 2 +--- + +Vi har brug for hjælp til at oversætte denne udvidelse samt dokumentationen. Vi har oprettet et projekt på Crowdin for at lette oversættelser. Crowdin giver dig et oversættelsesinterface, der er andet end ingen. Du kan bidrage med, hvordan du vil, men vi anbefaler virkelig, at du bruger Crowdin. + +> Crowdin er en lokaliseringsadministrationsplatform, der hjælper virksomheder med at oversætte deres software. Du kan læse mere om Crowdin [her](https://support.crowdin.com/crowdin-intro/) + +Hvis du er villig til at bidrage med oversættelser, skal du: + +* En [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) konto. +* Vælg målsproget, hvis der ellers findes en anmodning om at blive aktiveret. + +Hvis dit ønskede sprog ikke er angivet, bedes du [kontakte mig](https://crowdin.com/profile/blitze) og jeg vil tilføje det. + +[Start Oversættelse](https://crowdin.com/project/phpbb-ext-sitemaker) diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/dev/_category_.json b/website/i18n/da/docusaurus-plugin-content-docs/current/dev/_category_.json new file mode 100644 index 000000000000..1ec0e407da64 --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/dev/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Udvikler Guide", + "position": 3 +} diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/dev/events.md b/website/i18n/da/docusaurus-plugin-content-docs/current/dev/events.md new file mode 100644 index 000000000000..589282bd56a1 --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/dev/events.md @@ -0,0 +1,120 @@ +--- +title: phpBB SiteMaker begivenheder +sidebar_position: 2 +--- + +Du kan ændre phpBB SiteMakers adfærd ved hjælp af phpBB's event system. + +## Php Begivenheder + +### blitze.sitemaker.acp_add_bulk_menu_options + +- Sted: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Efter: 3.1.0 +- Formål: Tilføj bulk menuindstillinger i acp menu + +### blitze.sitemaker.acp_display_settings_form + +- Lokation: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Efter: 3.1.0 +- Formål: formular til visning af acp (sitemaker) + +### blitze.sitemaker.acp_save_settings + +- Lokation: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Efter: 3.1.0 +- Formål: Gem acp (sitemaker) indstillinger + +### blitze.sitemaker.admin_bar.set_assets + +- Sted: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Siden 3.0.1-RC1 +- Formål: Tilføj aktiver for tilgængelige blokke i redigeringstilstand + +### blitze.sitemaker.modify_block_positions + +- Sted: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Siden 3.0.1-RC1 +- Formål: Ændre blokpositioner + +### blitze.sitemaker.modify_rendered_block + +- Sted: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Siden 3.0.1-RC1 +- Formål: Ændre en gengivet blok + +## Skabelon Begivenheder + +### blitze_sitemaker_acp_settings + +- Sted: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Efter: 3.1.0 +- Formål: Tilføj formularfelter til sitemaker indstillinger + +### blitze_sitemaker_admin_bar_append + +- Sted: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Efter: 3.1.0 +- Formål: Tilføj menupunkter til admin bar + +### blitze_sitemaker_admin_bar_templates + +- Sted: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Efter: 3.1.0 +- Formål: Tilføj skabelonfiler, der skal bruges i JS til blokvisninger, osv. + +## Javascript Begivenheder + +### blitze_sitemaker_layout_gemt + +- Placering: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Dæk: 3.1.2 +- Formål: Begivenhed for at tillade andre udvidelser at gøre noget, når layoutændringer gemmes + +### blitze_sitemaker_render_block_før + +- Placering: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Dæk: 3.1.2 +- Formål: Begivenhed for at tillade andre udvidelser at gøre noget før blokken gengives eller forhindre den i at blive gengivet + +### blitze_sitemaker_render_block_efter + +- Placering: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Dæk: 3.1.2 +- Formål: Begivenhed for at tillade andre udvidelser at gøre noget efter blokken er gengivet + +### blitze_sitemaker_save_block_før + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Dæk: 3.1.2 +- Formål: Begivenhed for at tillade andre udvidelser at ændre blokdata, før den gemmes + +### blitze_sitemaker_show_all_block_positions + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Dæk: 3.1.2 +- Formål: Begivenhed for at tillade andre udvidelser at gøre noget, når alle blokpositioner vises + +### blitze_sitemaker_hide_empty_block_positions + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Dæk: 3.1.2 +- Formål: Begivenhed for at tillade andre udvidelser at gøre noget, når tomme positioner er skjult + +### blitze_sitemaker_layout_clearet + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Dæk: 3.1.2 +- Formål: Begivenhed for at tillade andre udvidelser at gøre noget, når layout er ryddet + +### blitze_sitemaker_layout_opdateret + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Dæk: 3.1.2 +- Formål: Begivenhed for at tillade andre udvidelser at gøre noget, når layoutet opdateres + +### blitze_sitemaker_tinymce_options + +- Placering: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Efter: 3.3.0 +- Formål: Begivenhed for at tillade andre udvidelser at ændre tinymce indstillinger diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/dev/overview.md b/website/i18n/da/docusaurus-plugin-content-docs/current/dev/overview.md new file mode 100644 index 000000000000..9b1eb805a2c3 --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/dev/overview.md @@ -0,0 +1,179 @@ +--- +title: Udvidelse af phpBB SiteMaker +sidebar_position: 1 +--- + +Du kan udvide/ændre phpBB SiteMaker ved hjælp af [service udskiftning](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [service dekoration](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration)og [phpBB's event system](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Du kan finde en liste over understøttede begivenheder [her](./events.md). + +## Opretter en SiteMaker blok + +En phpBB SiteMaker blok er blot en klasse, der udvider blitze\sitemaker\services\blocks\driver\block class og returnerer et array fra "display" metoden med en 'titel' og 'indhold'. Alt andet mellem er op til jer. For at gøre din blok synlig af phpBB SiteMaker, skal du give det "sitemaker.block" tag. + +Sig at vi har en forlængelse med sælger/udvidelse som min/eksempel. For at oprette en blok kaldet "my_block" til phpBB SiteMaker: + +- Opret en "blokke" mappe +- Opret my_block.php-fil i blokmappen med følgende indhold + +```php +namespace min\example\blocks; + +brug blitze\sitemaker\services\blocks\driver\block; + +klasse my_block udvider blok +{ + /** + * {@inheritdoc} + */ + public function display(array $settings, $edit_mode = false) + { + return array( + 'titel' => 'min blok titel', + 'indhold' => 'mit blokindhold', + ); + } +} +``` + +Derefter i din config.yml fil, tilføje følgende: + +```yml +tjenesteydelser: + +... + + my.example.block.my_block: + class: my\example\blocks\my_block + calls: + - [set_name, [my.example.block.my_block]] + tags: + - { name: sitemaker.block } + +.... + +``` + +På et minimum, det er alt hvad du behøver. Hvis du går ind i redigeringstilstand, skal du se blokken opført som 'MY_EXAMPLE_BLOCK_MY_BLOCK', der kan trækkes og slippes på en hvilken som helst blokposition. Men denne blok gør ikke noget spændende. Det har ingen indstillinger og oversætter ikke blokkens navn. Lad os gøre det mere interessant. + +### Bloker Indstillinger + +Lad os ændre vores blokke/my_block. hp fil og tilføje en "get_config" metode th på returnerer et array med tasterne er blokken indstillinger og værdierne er et array der beskriver indstillingerne som så: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + returarray( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'streng', 'type' => 'checkbox', 'indstillinger' => $options, 'default' => array(), 'explain' => false) + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false) + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'emne'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'streng', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false) + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'streng', 'type' => 'multi_select', 'indstillinger' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'tal' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'streng', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'streng', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Vis kun, når indstilling 1 er valgt
'), + ); +} +``` + +Dette er konstrueret på samme måde, som phpBB bygger konfiguration for board indstillinger i ACP. Du kan se flere eksempler [her](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Hvis du vil have en brugerdefineret felttype, kan du se et eksempel [her](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' indstilling). + +Bemærk 'legend1' og 'legend2': Disse bruges til at adskille indstillingerne i faneblade. + +### Navnende Blokke + +Konventionen for bloknavne er, at tjenestenavnet (f.eks. my.example.block. y*blok ovenfor) vil blive brugt som sprognøglen ved at erstatte prikker (.) med understregning (*) (f.eks MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Oversættelse + +Bemærk også, at vi har flere sprognøgler, der skal oversættes. For at gøre dette skal du oprette en fil med navnet "blocks_admin.php" i din sprogmappe. Denne fil vil automatisk blive indlæst, når du redigerer blokke, og bør have oversættelser til dine blokindstillinger og blokere navne. + +``` +$lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Option 1', + 'OTHER_LANG_VAR' => 'Option 2', + 'SOME_LANG_VAR_1' => 'Indstilling 1', +.... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Min Block', +); +``` + +Da 'blocks_admin.php' kun indlæses ved redigering af blokke, skal du tilføje andre oversættelser (f.eks. blok titel) ved at indlæse en sprogfil i din visningsmetode som `$language->add_lang('my_lang_file', 'my/example');` + +### Gengiver blokken + +Den nye blok vil kun blive vist, hvis den gengiver noget. Din blok kan returnere enhver streng som indhold, men i de fleste tilfælde har du brug for en skabelon for at gengive dit indhold. For at vise din blok ved hjælp af skabeloner, blokken skal returnere et array, der indeholder de data, du ønsker at videregive til skabelonen, og skal også implementere `get_template` -metoden som vist nedenfor: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + returarray( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'streng', 'type' => 'checkbox', 'indstillinger' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // gør noget kun i redigeringstilstand + } + + returarray( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Så kan din stil/all/my_block.html eller stil/prosilver/my_block.html fil se sådan ud: + +``` +

Du valgte: {{ some_var }}

+``` + +Sammenfattende din blok skal returnere et array med en `titel` -nøgle (for blokkens titel) og en `indholds` -nøgle (hvis blokken bare viser en streng og ikke bruger en skabelon) eller en `-data-` -nøgle (hvis blokken bruger en skabelon, i hvilket tilfælde skal du også implementere `get_template` metoden). + +### Aktiver Blok + +Hvis din blok har brug for at tilføje aktiver (css/js) til siden, anbefaler jeg at bruge sitemaker [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) for at. Da der kan være mere end en instans af den samme blok på siden, eller andre blokke kan være at tilføje det samme aktiv, util klassen sikrer, at aktivet kun er tilføjet. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some. s', + 100 => '@my_example/assets/other. s', // fastsat prioritet + ), + 'css' => array( + '@my_example/assets/some. ss', + ) +)); +``` + +Den util klasse vil naturligvis skal føjes til din service definitioner i config.yml som så: `- '@blitze.sitemaker. til'` og defineret i din bloks konstruktør `\blitze\sitemaker\services\util $util`. + +Og det er det. Vi er færdig! diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/dev/theming.md b/website/i18n/da/docusaurus-plugin-content-docs/current/dev/theming.md new file mode 100644 index 000000000000..6728c69ae208 --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/dev/theming.md @@ -0,0 +1,62 @@ +--- +title: Temaer +sidebar_position: 3 +--- + +Vi forstår, at skabelonfiler og JS / CSS filer ikke vil fungere for hver stil, så nedenfor er nogle måder, du kan bruge dine egne skabeloner og oprette JS/CSS-filer til din særlige stil. + +## Brug din egen skabelon + +Hvis standardskabeloner, der kommer med phpBB Sitemaker ikke fungerer godt for din særlige stil, du kan nemt overskrive den til at bruge din egen skabelonfil ved at oprette den tilsvarende fil i din stils mappe. + +For eksempel siger, at din stil kaldes `Backlash` , og det har en særlig måde, hvorpå HTML til blok header sektionen skal struktureres til [boxed view](/docs/user/blocks/block-views). Du kan overskrive den pågældende skabelon ved at oprette en fil med samme navn som så: `phpBB/ext/blitze/sitemaker/styles/Backlash/template/views/boxed_view.twig`. + +Med andre ord, for at bruge din egen skabelon fil, skal du: +* Identificer hvilken phpBB Sitemaker fil skal overskrives +* Opret en fil med samme navn i Sitemaker `stilen` mappen under dit stilnavn + +> Bemærk: Hvis du opretter dine egne skabelonfiler, sørg for ikke at slette mappen `phpbb/ext/blitze/sitemaker` ved opdatering af udvidelsen, da dine brugerdefinerede filer vil blive slettet. Snarere, bare overskrive de eksisterende filer med de nye. + +## Oprettelse af JS/CSS-filer til din stil + +Bemærk: +* Med henblik på nedenstående instruktioner vil vi antage, at du har en stil kaldet min-stil. + +Klon i phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Fra kommandolinjen gå til sitemaker mappe: + + cd phpBB/ext/blitze/sitemaker + +**Installer sælgere** + + installation af komponist + +**Installer pakker** + +Til nedenstående kommandoer kan du bruge npm eller [garn](https://yarnpkg.com) + + garninstallation + +**Overvågning Ændringer** + + garn start -- theme min- style + +**Foretag Ændringer** + +* Foretag dine ændringer til filer i phpBB/ext/blitze/sitemaker/udvikle mappen. +* Kig på phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss for sass variabler + +**Byg Aktiver** + + garn build -- theme min- style + +**Deploy** + +Du kan nu kopiere de genererede filer fra phpBB/ext/blitze/sitemaker/styles/my-style og uploade dem til din produktionsserver. + +> Denne udvidelse bruger jQuery UI til faner, dialoger og knapper. Standard jQuery tema er 'smoothness'. Du kan bruge en anden jQuery UI tema, der passer bedst til dit tema. Du kan angive jQuery UI temaet ved hjælp af flaget --jq_ui_theme. For eksempel: + + garn build --theme min-stil --jq_ui_theme ui-lethed diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/intro/_category_.json b/website/i18n/da/docusaurus-plugin-content-docs/current/intro/_category_.json new file mode 100644 index 000000000000..987cb6716628 --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/intro/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Kom I Gang", + "position": 1 +} diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/intro/installation.md b/website/i18n/da/docusaurus-plugin-content-docs/current/intro/installation.md new file mode 100644 index 000000000000..e82cc61bfa50 --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/intro/installation.md @@ -0,0 +1,16 @@ +--- +title: "Installerer / Opgradering" +sidebar_position: 2 +--- + +Download udvidelsen fra [her](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker +* Udtræk og upload den til din phpBB/ext/ mappe, så du har phpBB/ext/blitze/sitemaker +* Gå til "ACP" > "Customise" > "Udvidelser" og aktiver "phpBB Sitemaker" udvidelsen. + +## Opgradering af phpBB SiteMaker +* Opret en sikkerhedskopi af din database i tilfælde af at noget går galt +* Gå til "ACP" > "Customise" > "Udvidelser" og deaktiver (udtør ikke) "phpBB Sitemaker" +* Hent og uddrag den nyeste version af phpBB SiteMaker og uploade den til din phpBB/ext/ mappe (overskriv) +* Gå til "ACP" > "Customise" > "Udvidelser" og aktiver "phpBB Sitemaker" udvidelsen. diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/intro/introduction.md b/website/i18n/da/docusaurus-plugin-content-docs/current/intro/introduction.md new file mode 100644 index 000000000000..9d681b7c34ff --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/intro/introduction.md @@ -0,0 +1,6 @@ +--- +title: Indledning +sidebar_position: 1 +--- + +phpBB SiteMaker søger at omdanne din phpBB bord til en CMS/portal. Det gør det ved at give dig blokke og menuer til at hjælpe dig med at tilpasse dit websted til din smag. Der er eller vil være andre SiteMaker udvidelser, der giver ekstra funktionalitet til at opfylde dette mål. Det giver dig også mulighed for at definere en destinationsside, når dit websted er tilgået. Så hvis du ikke vil have besøgende på dit websted til straks at se phpBB forum, når de går til www. vores-site.com, du kan definere din egen startside. diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/user/_category_.json b/website/i18n/da/docusaurus-plugin-content-docs/current/user/_category_.json new file mode 100644 index 000000000000..782b5db8cd92 --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/user/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Brugervejledning", + "position": 2 +} diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/user/blocks/_category_.json b/website/i18n/da/docusaurus-plugin-content-docs/current/user/blocks/_category_.json new file mode 100644 index 000000000000..da5d7e068adb --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/user/blocks/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Blokke", + "position": 1 +} diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/user/blocks/block-views.md b/website/i18n/da/docusaurus-plugin-content-docs/current/user/blocks/block-views.md new file mode 100644 index 000000000000..71e2f2aa32ad --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/user/blocks/block-views.md @@ -0,0 +1,6 @@ +--- +title: Blokér Visninger +sidebar_position: 2 +--- + +Arbejdet er i gang... \ No newline at end of file diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md b/website/i18n/da/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md new file mode 100644 index 000000000000..3fcabfeb7e39 --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md @@ -0,0 +1,24 @@ +--- +title: Brugerdefineret Blok +sidebar_position: 4 +--- + +Hvis de tilgængelige blokke ikke giver dig den frihed, du har brug for, der er `Custom Block` , som giver dig frihed til at vise dit eget indhold ved hjælp af BBcode eller HTML. Blokken kommer med en WYSIWYG editor (TinyMCE) og en scripts manager: + +## Redaktøren + +- Du kan bruge editoren til at oprette HTML-indhold +- Du kan redigere kildekoden, hvis du har brug for dette kontrolniveau ved at klikke på ikonet `Kildekode` (`<>`) i editoren +- Editoren giver dig mulighed for at uploade og ændre billeder + - Det skaber en ny mappe i phpBB/images/sitemaker_uploads / for hver bruger, der har adgang til det + - Du kan se/administrere alle brugermapper +- Editoren filtrerer alle potentielt farlige scripts som javascript, osv. Hvis du har brug for at tilføje indhold som google annoncer, javascript vil blive filtreret ud, men du kan komme rundt at ved at gøre følgende: + - Tilføj den brugerdefinerede blok til den ønskede placering + - Rediger den brugerdefinerede blok, klik på `HTML` fanen og indsæt din Javascript + +## Scripts Håndtering + +Brugerdefineret blok giver dig også mulighed for at tilføje brugerdefinerede CSS og Javascript filer til din side. For at gøre dette: + +- Tilføj en `brugerdefineret blok` til enhver blok position. Positionen er ligegyldig, medmindre du også viser indhold med blokken +- Rediger blokken klik på fanen `Scripts` og tilføj dine CSS eller Javascript filer > Word af forsigtighed selvfølgelig: Tilføjelse til mange scripts på din side kan påvirke indlæsningstider diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md b/website/i18n/da/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md new file mode 100644 index 000000000000..fef359e99eb4 --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md @@ -0,0 +1,51 @@ +--- +title: Håndtering Af Blokke +sidebar_position: 3 +--- + +For at administrere blokke i phpBB SiteMaker, skal du være i [Rediger tilstand](./overview#edit-mode). + +> Når en blok ikke viser noget indhold, vil den ikke blive vist, undtagen i redigeringstilstand. På den måde kan du enten give det indhold (i tilfælde af den brugerdefinerede blok) eller ændre dens indstillinger. + +> I redigeringstilstand de noget gennemsigtige blokke er blokke, der ellers ikke vil blive vist, men kun bliver vist, fordi vi er i redigeringstilstand + +## Tilføjer blokke +Du kan tilføje blokke til enhver front-facing side, undtagen User Control Panel og Moderator Control Panel sider. For at tilføje en blok, skal du: +* klik på **Blokke** i administratorlinjen. Dette vil vise en liste over tilgængelige blokke +* Træk og slip den ønskede blok til enhver blokposition + +## Redigering af blokke +### Tilføjer et blokikon +Til venstre for blokkens titel (forsølv), er der en boks til blokikonet. Klik på dette felt for at få ikonvælgeren. Du kan vælge ikonstørrelse, farve, float, rotation, osv. + +### Redigering af blok titel +phpBB SiteMaker blokke vil have en standard, oversat titel, men hvis titlen ikke opfylder dine behov, kan du ændre den. For at redigere blokkens titel, +* Klik på blokkens titel for at få en inline redigeringsformular +* Ændre titlen til hvad du ønsker +* Fjern fokus fra feltet eller tryk enter for at indsende ændringer + +> Din ændrede bloktitel er ikke oversat + +> For at vende tilbage til standard titel, skal du slette titlen og trykke på enter + +### Redigerer blokindstillinger +Når du svæver over en blok, vises et cog ikon til højre for blokken, der kan bruges til at redigere blokken. I redigeringsblok-dialogen, kan du: +- Aktiver/deaktiver en blok [Status] +- Vælg, hvornår blokken skal/bør ikke vises [Display]. Dette gælder kun i tilfælde, hvor du har indlejrede sider (se [Forståelse blok arv](/docs/user/site/block-inheritance)): + - **Altid**: Vis altid blokken + - **Skjul på under-ruter**: Vis kun denne blok på den overordnede rute + - **Vis kun på under-ruter**: Vis kun denne blok på en under-rute +- Vælg hvilke grupper af brugere der kan se blokken [Kan ses af]. Brug CTRL + klik for at vælge flere grupper. +- Sæt brugerdefinerede klasser til at ændre udseendet af blokken eller elementer (lister, billeder, baggrund osv.) i blokken [CSS klasse] +- Vis/skjul blok titel [Skjul blok titel?] +- Vælg blokvisningen [Blokér visning]. Du kan vælge en standard blok visning, når nye blokke er tilføjet i ACP. + - **Standard / Simple**: bruger prosilver panel klasse til at ombryde blokken i en polstret beholder + - **Basic**: blok har ikke nogen container indpakning det + - **Boxed**: bruger forsølv forabg klasse til at pakke blokken i en boks +- Sæt / Opdater blokspecifikke indstillinger +- Hvis du har den samme blok med samme indstillinger på tværs af flere sider, du kan opdatere dem alle på én gang ved at kontrollere **Opdater blokke med lignende indstillinger** + +## Sletter blokke +- Hold musen over den blok, du vil slette +- Klik på **x** ikonet og bekræft, at du ønsker at slette blokken +- Gå op til admin bjælken og klik på `Gem ændringer` diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/user/blocks/overview.md b/website/i18n/da/docusaurus-plugin-content-docs/current/user/blocks/overview.md new file mode 100644 index 000000000000..33082431e2eb --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/user/blocks/overview.md @@ -0,0 +1,9 @@ +--- +title: Hvad er blokke? +sidebar_position: 1 +--- + +Kernen i phpBB SiteMaker er begrebet blokke. Blokke er små stykker indhold, som du kan placere i forskellige foruddefinerede områder (blok positioner) på dit websted. Blokkene vil typisk have indstillinger, som du kan indstille/ændre for at finjustere det indhold, du ønsker at vise. De fleste blokke, men ikke alle, vil gøre database forespørgsler for at få det ønskede indhold. Så lad os ikke få for skøre :). For at håndtere blokke, skal du skifte til "redigeringstilstand". + +## Rediger Tilstand +Skift til redigeringstilstand ved at klikke på blyant-ikonet øverst til højre på dit websted. Dette vil vise menupunkterne "Admin bar" med "Blocks" og "Indstillinger". Dette kaldes at være i 'redigeringstilstand'. diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/user/menus/_category_.json b/website/i18n/da/docusaurus-plugin-content-docs/current/user/menus/_category_.json new file mode 100644 index 000000000000..4259794d53ee --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/user/menus/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Menus", + "position": 2 +} diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md b/website/i18n/da/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md new file mode 100644 index 000000000000..ec87802b5a28 --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md @@ -0,0 +1,15 @@ +--- +title: Viser Menuer +sidebar_position: 3 +--- + +Nu hvor du har oprettet dine menuer, kan du vise dem på flere måder: + +## Links Blok +Du kan bruge denne blok til at vise en flad eller indlejret liste over menupunkter. Denne blok er ikke beregnet til at blive brugt til navigation, dvs. den vil ikke vise en aktuel side eller noget lignende. Det er beregnet til en liste over emner, herunder eksterne links. + +## Menuer Blok +Denne blok er beregnet til sejlads på stedet. Det gør nogle yderligere beregninger for at bestemme nuværende placering og er ikke beregnet til at være en meget stor liste. + +## Navigation bar +Svarende til menublokken, vil navigationslinjen vise menupunkter som en følsom dropdown menu beregnet til site navigation. Du kan aktivere dette i AVS > Udvidelser > Sitemaker > Indstillinger > Vælg menu diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md b/website/i18n/da/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md new file mode 100644 index 000000000000..d7106c2ae3d8 --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md @@ -0,0 +1,30 @@ +--- +title: Håndterer Menupunkter +sidebar_position: 2 +--- + +Din menu er ubrugelig, medmindre den har menupunkter. Du kan tilføje menupunkter, der peger på lokale eller eksterne filer. + +> Webadressen for eksterne websteder skal begynde med http(s)://, ftp://, //, etc. + +> Du kan oprette en divider ved at indtaste '-' som elementets titel + +## Tilføjer menupunkter +Du kan tilføje menupunkter et punkt ad gangen, eller du kan tilføje flere menupunkter på dem. + +### Tilføjer enkelte menupunkter +For at tilføje et enkelt menupunkt, +* klik på `Tilføj menupunkt` knappen +* Udfyld de påkrævede oplysninger og tryk på `Gem` + +### Tilføjer flere elementer +For at tilføje flere menupunkter på én gang, +* Klik på pil ned-ikonet ved siden af `Tilføj menupunkt` +* Du kan manuelt tilføje elementer ved at placere hvert element på en ny linje og bruge tabulatornest elementer eller +* Du kan klikke på en af de angivne muligheder i bunden af textarea for automatisk at udfylde menupunkterne + +## Omarrangér menupunkterne +Du kan trække og slippe menupunkterne op/ned for at indstille deres visningsrækkefølge, eller trække dem venstre/højre for at indstille det ønskede hierarki. + +## Genopbygger menupunkterne +Hvis du finder, at menupunkterne ikke vises korrekt, skal du klikke på knappen `Genopbyg træ` for at genopbygge menupunkterne. diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md b/website/i18n/da/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md new file mode 100644 index 000000000000..125c3a93eacf --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md @@ -0,0 +1,24 @@ +--- +title: Håndtering Af Menuer +sidebar_position: 1 +--- + +Du kan oprette menuer i AVS, som du derefter kan vise ved hjælp af menuer eller links blokke eller vises som en vandret navbar. + +## Håndtering Af Menuer + +For at administrere menuer, gå til AVS > Udvidelser > Sitemaker > Menu + +### Opretter Menuer +For at oprette en ny menu (gruppe), klik på `Tilføj menu` knappen. En ny menugruppe vil blive oprettet med et tilfældigt genereret navn. Den nye menu vil også blive valgt så du kan begynde at tilføje menupunkter til den. + +### Redigering Af Menuer +Hvis du ønsker et mere meningsfuldt menunavn, +* hover over menuens navn og klik på tandhjulsikonet +* indtast det nye menunavn og tryk på enter for at opdatere det + +### Sletter Menuer +For at slette en menu og dens elementer, +* Hold musen over menunavnet og klik på **x** ikonet +* Hvis menupunktet ikke har noget underordnet element, skal du bekræfte dit valg for at slette punktet +* Hvis menupunktet har underpunkter du bliver nødt til at angive, om du kun vil slette elementet og flytte dets underordnede op eller hvis du vil slette hele grenen diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/user/site/_category_.json b/website/i18n/da/docusaurus-plugin-content-docs/current/user/site/_category_.json new file mode 100644 index 000000000000..b04fe2d11ebd --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/user/site/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Bygning af dit websted", + "position": 3 +} diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md b/website/i18n/da/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md new file mode 100644 index 000000000000..383ea5947c31 --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md @@ -0,0 +1,46 @@ +--- +title: Blokarv +sidebar_position: 5 +--- + +Vi har allerede set, at ved at indstille et standardlayout andre sider, der ikke har blokke af deres egen vil arve blokkene fra standard layout. Der er imidlertid en anden type blokarv. + +## Forældre/Barneruter +I phpBB SiteMaker, vi taler om indlejrede ruter i form af reelle indlejrede (sub) mapper eller næsten indlejrede stier/ruter. Vær venlig at blive hos mig :). +* Rigtige forældre/barn-ruter: For eksempel, stien /some_directory/sub_directory/index.php er et barn af /some_directory/index.php +* Virtuelle forældre / Barn ruter: For eksempel, viewtopic.php behandles som et barn af viewforum.php. + +Her er nogle eksempler på forældre/barn ruter: + +| Overordnet | Barn | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/artikler | /app.php/articles/min-article | + +## Forældre/Barneblok Arv +For forældre/barn ruter barnets rute arver blokkene på den overordnede rute (hvis forælderen har sine egne blokke) eller fra standardlayoutet (hvis en er indstillet). Med andre ord, selv om der er et standard layout, barnets rute vil arve blokke fra sin overordnede rute, hvis den overordnede rute har sine egne blokke. Men ikke alle blokke fra forældreruten skal arves. + +## Kontrollerende Blok Nedarvning +På et blokniveau kan du styre, hvornår en blok kan arves af børneruter. Vi berørte dette tidligere i [Redigering af blok indstillinger](/docs/user/blocks/managing-blocks#editing-block-settings). + +Overvej følgende rigtige mappestruktur: +```text +phpBB +- opdatering: index.php +- opdateringen/ + - opdateringen/ - index.php + - opdateringen,page.php + - opdateringen/ - kammerat/ + - opdateringen,index.php +``` + +Med henblik på at arve blokke, siger vi: +* Den overordnede rute for /phpBB/Movies/Comedy/index.php er /phpBB/Movies/index.php og ikke /phpBB/Movies/page.php +* Alle sider i en undermappe i forhold til /phpBB/index.php er en underrute af /phpBB/index.php. Så /phpBB/Movies/index.php og /phpBB/Movies/page.php er alle børn af /phpBB/index.php og vil derfor arve sine blokke, hvis de ikke har deres egne blokke. I så fald + * Når en blok på /phpBB/index.php er sat til visning på **Skjul på underruter**, vil blokken vises på /phpBB/index. hp (overordnet rute), men ikke på dens underruter + * Når en blok på /phpBB/index.php er sat til visning på **Vis kun på under-ruter**, vises den på /phpBB/Movies/index. hp og /phpBB/Movies/page.php (barnruter), men ikke på /phpBB/index.php (forældre), eller /phpBB/Movies/Comedy/index.php (vi går kun et niveau dybt) + * Når en blok på /phpBB/index.php er sat til at vise **altid** (standard), vil den blive vist på /phpBB/index. hp (forældre), /phpBB/Movies/index.php og /phpBB/page.php (barnruter), men ikke på /phpBB/Movies/Comedy/index.php (vi går kun et niveau dybt). I dette tilfælde arver /phpBB/Movies/Comedy/index.php fra standardruten (hvis den eksisterer) + +## Potentiel Fremtidig Stat +Jeg er virkelig interesseret i din feedback på dette område. De fleste phpBB-brugere vil ikke have rigtige mapper som beskrevet ovenfor. Så jeg tænker på at bruge den struktur, der er defineret i en menublok som en virtuel mappestruktur og anvende denne forældre/barn arv til det. Jeg overvejer også at gå ud over et niveau dyb. Lad mig vide, om dette vil være nyttigt for dig. \ No newline at end of file diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md b/website/i18n/da/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md new file mode 100644 index 000000000000..2e706ab96db8 --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md @@ -0,0 +1,6 @@ +--- +title: Tilpasning Af Blokkevisning +sidebar_position: 6 +--- + +Arbejdet er i gang... \ No newline at end of file diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/user/site/default-layout.md b/website/i18n/da/docusaurus-plugin-content-docs/current/user/site/default-layout.md new file mode 100644 index 000000000000..d488443a13ce --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/user/site/default-layout.md @@ -0,0 +1,21 @@ +--- +title: Indstilling af et standard layout +sidebar_position: 4 +--- + +Når du tilføjer en blok, tilføjes den til den specifikke side. Det ville derfor være en kedelig opgave at sætte blokke for alle siderne på dit websted. Du kan indstille alle ønskede blokke for en bestemt side, og derefter indstille den side som standard layout. Med andre ord, enhver side, der ikke har sine egne blokke, vil arve blokke fra denne side. + +For at indstille et standardlayout +* Gå til den side, du gerne vil angive som standard layout +* Klik på `Indstillinger` i admin bjælken +* Klik på knappen `Sæt som standard layout` + +Sig at vi tilføjer blokke til en side (phpBB/index.php) med blokke i sidepanelet og toppositioner, for eksempel, og sæt det som vores standard layout. Dette har følgende virkninger på andre sider: +* Enhver side, der ikke har sine egne blokke, vil arve blokkene fra standard layout. Se [Forståelse blok arv](/docs/user/site/block-inheritance) for undtagelser. +* Du kan stadig arve blokke fra et standard layout (indeks. hp), men vælg ikke at vise blokke på nogle blokpositioner eller slet ikke vise nogen blokke. For at gøre dette, + * Gå til den side, du ikke ønsker, at alle/nogle blokke skal vises + * Klik på `Indstillinger` i admin bjælken + * Vælg `Vis ikke blokke på denne side` , hvis du ikke ønsker at arve/vise nogen blokke på denne side ELLER + * Brug CTRL + klik for at vælge de blok positioner (til højre), som du ikke ønsker at vise blokke på +* I `redigeringstilstand`, en side, der arver blokke fra standard layout, vil ikke vise blokke, hvilket giver dig mulighed for at tilføje blokke til siden, hvis du vil +* Enhver side, der har sine egne blokke, vil ikke arve fra standard layout diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/user/site/layouts.md b/website/i18n/da/docusaurus-plugin-content-docs/current/user/site/layouts.md new file mode 100644 index 000000000000..e338695bb469 --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/user/site/layouts.md @@ -0,0 +1,31 @@ +--- +title: Layout +sidebar_position: 1 +--- + +"Layouts" bestemmer de tilgængelige blokpositioner og hvordan de vises. + +## Blok Positioner +Blok positioner er foruddefinerede områder på dit websted, hvor blokke kan eksistere. De tilgængelige blokpositioner bestemmes af den skabelonstil, du bruger. For prosilver, phpBB SiteMaker kommer med følgende blok positioner: +* panel: fuld bredde over toppen +* sidepanel: Venstre/højre afhængigt af layout nedenfor +* underindhold: ligner sidepanel lige større +* top_hor: vandrette blokke over toppen, flanking over sidebar/underindhold afhængigt af layout +* top: over hovedindhold +* box : lige bredde, vandrette blokke under hovedindholdet +* bund: under hovedindhold +* bottom_hor: horisontale blokke over bunden, flanking sidebar/underindhold afhængigt af layout +* footer: horisontale blokke i footer Du kan tilføje flere blokpositioner i dine egne stilskabeloner ved at kopiere og ændre de tilsvarende phpBB SiteMaker skabeloner + +## Websteds Layout +Du kan vælge layoutet for dit websted i AVS (ekstensioner > Sitemaker > Indstillinger): +* **Blog**: subindhold og sidebar ved siden af hinanden, skubbet til det højre, top_hor/botom_hor flank underindhold +* **Holy Grail**: lige bredde sidebar og subcontent på modsatte sider, top_hor/botom_hor flank subcontent +* **Portal**: sidebar til venstre, subcontent til højre, top_hor/botom_hor flank subcontent +* **Portal Alt**: underindhold til venstre, sidebar til højre, top_hor/botom_hor flank sidebar +* **Brugerdefineret**: Indstil bredden af sidepanelerne manuelt som px, %, em eller rem. Standard er 200px på hver side + +## Brugerdefinerede skabeloner/stilarter +Så vidt muligt vi forsøgte at sætte skabelonfiler og -filer i stil/alle / mappe, så du kan overskrive dem ved at oprette en fil med samme navn under dit eget skabelontema . . prosilver. Så hvis du ønsker at ændre, hvordan en bestemt blok vises, eller hvis du ønsker at oprette dit eget layout med dine egne blok positioner, du simpelthen nødt til at oprette en fil med samme navn og sti som originalen i din egen stil. + +Hvis du har brug for at tilpasse CSS/JS-filer, så tag et kig på afsnittet [theming](/docs/dev/theming). \ No newline at end of file diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/user/site/navbar.md b/website/i18n/da/docusaurus-plugin-content-docs/current/user/site/navbar.md new file mode 100644 index 000000000000..d3cb46182110 --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/user/site/navbar.md @@ -0,0 +1,6 @@ +--- +title: Navigationsbjælke +sidebar_position: 2 +--- + +Se [Viser menuer](/docs/user/menus/displaying-menus#navigation-bar) diff --git a/website/i18n/da/docusaurus-plugin-content-docs/current/user/site/startpage.md b/website/i18n/da/docusaurus-plugin-content-docs/current/user/site/startpage.md new file mode 100644 index 000000000000..b3c65a0fe623 --- /dev/null +++ b/website/i18n/da/docusaurus-plugin-content-docs/current/user/site/startpage.md @@ -0,0 +1,11 @@ +--- +title: Indstilling af en startside +sidebar_position: 3 +--- + +phpBB SiteMaker giver dig mulighed for at vælge en frontcontroller (sider tilgås via app.php... som din standardstartside (siden der vises, når nogen besøger din websted) i stedet for brætindekset. + +For at gøre dette: +* Gå til den side, du vil angive som standard startside +* Klik på `Indstillinger` i admin bjælken. Hvis det er en kvalificeret side, vil du se en `Set som startside` knap +* Klik på knappen `Sæt som startside` \ No newline at end of file diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/contrib/_category_.json b/website/i18n/de/docusaurus-plugin-content-docs/current/contrib/_category_.json new file mode 100644 index 000000000000..5d80f35a0618 --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/contrib/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Mitwirken", + "position": 4 +} diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/contrib/overview.md b/website/i18n/de/docusaurus-plugin-content-docs/current/contrib/overview.md new file mode 100644 index 000000000000..d655f8102632 --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/contrib/overview.md @@ -0,0 +1,11 @@ +--- +title: Beteiligt werden +sidebar_position: 1 +--- + +phpBB SiteMaker ist ein Open-Source-Projekt und begrüßt Ihre Ideen und Beiträge. Also zögern Sie nicht, sich einzumischen. Sie können zu diesem Projekt beitragen von: + +* [Unterstützung/Feedback](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Fehler melden](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Hilf bei der Übersetzung](./translators.md) +* [Fehler beheben oder Funktionen hinzufügen](./pull-requests.md) diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/contrib/pull-requests.md b/website/i18n/de/docusaurus-plugin-content-docs/current/contrib/pull-requests.md new file mode 100644 index 000000000000..c53222c7e9b5 --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/contrib/pull-requests.md @@ -0,0 +1,65 @@ +--- +title: Ein Pull-Request wird gesendet +sidebar_label: Pull-Anfragen +--- + +`Pull-Requests lassen Sie anderen über Änderungen berichten, die Sie in einem Repository auf GitHub in einen Branch gepresst haben. Sobald ein Pull-Request geöffnet ist, Sie können die möglichen Änderungen mit Mitarbeitern besprechen und einsehen und Follow-Commits hinzufügen, bevor Ihre Änderungen in den Base-Zweig integriert werden.` [Lesen Sie mehr](https://help.github.com/articles/about-pull-requests/) + +## Forken/Klonen + +* Github Konto erstellen, wenn noch kein Github vorhanden ist +* Gehe zu https://github.com/blitze/phpBB-ext-sitemaker.git und klicke auf "Fork" + +Klonen Sie Ihre Fork des Projektarchivs: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Von der Kommandozeile zum Sitemaker-Verzeichnis: + + cd phpBB/ext/blitze/sitemaker + +**Git konfigurieren:** + +Fügen Sie Ihren Benutzernamen auf Git auf Ihrem System hinzu: + + git config --global user.name "Dein Name hier" + +Fügen Sie Ihre E-Mail-Adresse auf Git auf Ihrem System hinzu: + + git config --add user.email username@phpbb.com + +Fügen Sie das Upstream-Remote hinzu (Sie können "Upstream" zu Ihrem gewünschten Zeitpunkt ändern): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + +**Anbieter installieren** + + Komponisteninstallation + +**NPM-Pakete installieren** + + npm install + +Alternativ können Sie [Garn](https://yarnpkg.com) verwenden: + + yarn installieren + +## Pull-Anfragen + + # Erstellen Sie einen neuen Branch für Ihr Feature & wechseln Sie darauf + git checkout -b feature/my-fancy-new-feature + + # Erstellen Sie einen neuen Branch für das Problem, an dem Sie arbeiten * wechseln (Ticket # ist vom Github Tracker) + git checkout -b ticket/1234 + +Änderungen vornehmen + + # Stage die Dateien + git add + + # Geführte Dateien übertragen - bitte benutze eine korrekte Commit-Nachricht + git commit -m "my commit message" + +Den Branch zurück zu GitHub git push origin feature/my-fancy-new-feature + +Senden Sie eine [Pull-Request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/contrib/translators.md b/website/i18n/de/docusaurus-plugin-content-docs/current/contrib/translators.md new file mode 100644 index 000000000000..b98ab137bee2 --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/contrib/translators.md @@ -0,0 +1,17 @@ +--- +title: Übersetzer +sidebar_position: 2 +--- + +Wir brauchen Hilfe bei der Übersetzung dieser Erweiterung und ihrer Dokumentation. Wir haben ein Projekt auf Crowdin erstellt, um Übersetzungen zu vereinfachen. Crowdin gibt Ihnen eine Übersetzungsoberfläche, die sich an keiner Stelle befindet. Sie können dazu beitragen, wie immer Sie wollen, aber wir empfehlen Crowdin wirklich zu verwenden. + +> Crowdin ist eine Übersetzungsplattform, die Unternehmen bei der Übersetzung ihrer Software unterstützt. Sie können mehr über Crowdin [hier lesen](https://support.crowdin.com/crowdin-intro/) + +Wenn Sie bereit sind, mit Übersetzungen beizutragen, werden Sie Folgendes benötigen: + +* Ein [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) Konto. +* Wählen Sie die Zielsprache aus, wenn es eine andere Anfrage gibt, die aktiviert werden soll. + +Wenn Ihre gewünschte Sprache nicht aufgelistet ist, bitte [kontaktieren Sie mich](https://crowdin.com/profile/blitze) und ich werde sie hinzufügen. + +[Beginne mit der Übersetzung](https://crowdin.com/project/phpbb-ext-sitemaker) diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/dev/_category_.json b/website/i18n/de/docusaurus-plugin-content-docs/current/dev/_category_.json new file mode 100644 index 000000000000..30583eb9d945 --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/dev/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Entwicklerhandbuch", + "position": 3 +} diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/dev/events.md b/website/i18n/de/docusaurus-plugin-content-docs/current/dev/events.md new file mode 100644 index 000000000000..3939fc769bb4 --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/dev/events.md @@ -0,0 +1,120 @@ +--- +title: phpBB SiteMaker Ereignisse +sidebar_position: 2 +--- + +Sie können das Verhalten von phpBB SiteMaker über das Ereignissystem von phpBB ändern. + +## PHP-Ereignisse + +### blitze.sitemaker.acp_add_bulk_menu_options + +- Ort: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Mehr noch: 3.1.0 +- Zweck: Fügen Sie Massen-Menüoptionen im Acp-Menü hinzu + +### blitze.sitemaker.acp_display_settings_form + +- Ort: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Mehr noch: 3.1.0 +- Zweck: Anzeige acp (Sitemaker) Einstellungsformular + +### blitze.sitemaker.acp_save_settings + +- Ort: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Mehr noch: 3.1.0 +- Verwendung: Speichere acp (Sitemaker) Einstellungen + +### blitze.sitemaker.admin_bar.set_assets + +- Ort: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Seite: 3.0.1-RC1 +- Zweck: Füge Assets für verfügbare Blöcke im Bearbeitungsmodus hinzu + +### blitze.sitemaker.modify_block_Positionen + +- Ort: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Seite: 3.0.1-RC1 +- Zweck: Blockpositionen ändern + +### blitze.sitemaker.modify_rendered_block + +- Ort: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Seite: 3.0.1-RC1 +- Zweck: Ändere einen gerenderten Block + +## Vorlagenereignisse + +### blitze_sitemaker_acp_Einstellungen + +- Ort: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Mehr noch: 3.1.0 +- Ziel: Füge Formularfelder für Sitemaker-Einstellungen hinzu + +### blitze_sitemaker_admin_bar anhängen + +- Ort: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Mehr noch: 3.1.0 +- Zweck: Füge Menüpunkte zur Adminleiste hinzu + +### blitze_sitemaker_admin_bar_templates + +- Ort: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Mehr noch: 3.1.0 +- Zweck: Füge Template-Dateien hinzu, die in JS für Blockansichten verwendet werden sollen usw. + +## Javascript-Ereignisse + +### speicherte Sitemaker_Layout + +- Ort: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Mehr noch: 3.1.2 +- Verwendung: Ereignis, um anderen Erweiterungen zu erlauben, etwas zu tun, wenn Layoutänderungen gespeichert werden + +### blitze_sitemaker_render_block_vor + +- Ort: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Mehr noch: 3.1.2 +- Zweck: Ereignis, um anderen Erweiterungen zu erlauben, etwas zu tun, bevor der Block gerendert wird, oder um zu verhindern, dass er neu gerendert wird + +### blitze_sitemaker_render_block_nach + +- Ort: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Mehr noch: 3.1.2 +- Verwendung: Ereignis, um anderen Erweiterungen zu erlauben, etwas nach dem Block zu tun wird gerendert + +### save_block_vor sitemaker_save_blocker + +- Ort: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Mehr noch: 3.1.2 +- Verwendung: Ereignis um anderen Erweiterungen das Ändern von Blockdaten zu gestatten, bevor sie gespeichert werden + +### blitze_sitemaker_alle Blockpositionen anzeigen + +- Lage: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Mehr noch: 3.1.2 +- Verwendung: Ereignis, um anderen Erweiterungen zu erlauben, etwas zu tun, wenn alle Blockpositionen angezeigt werden + +### blitze_sitemaker_leere Blockpositionen verstecken + +- Lage: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Mehr noch: 3.1.2 +- Verwendung: Ereignis, um anderen Erweiterungen zu erlauben, etwas zu tun, wenn leere Positionen versteckt sind + +### blitze_sitemaker_layout_cleared + +- Lage: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Mehr noch: 3.1.2 +- Verwenden: Ereignis, um anderen Erweiterungen zu erlauben, etwas zu tun, wenn das Layout gelöscht wird + +### blitze_sitemaker_layout_aktualisiert + +- Lage: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Mehr noch: 3.1.2 +- Verwendung: Ereignis, um anderen Erweiterungen zu erlauben, etwas zu tun, wenn das Layout aktualisiert wird + +### blitze_sitemaker_tinymce_options + +- Ort: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Mehr noch: 3.3.0 +- Zweck: Ereignis um anderen Erweiterungen zu erlauben, Tinkymce-Optionen zu ändern diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/dev/overview.md b/website/i18n/de/docusaurus-plugin-content-docs/current/dev/overview.md new file mode 100644 index 000000000000..609d6240d150 --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/dev/overview.md @@ -0,0 +1,179 @@ +--- +title: phpBB SiteMaker erweitern +sidebar_position: 1 +--- + +Sie können phpBB SiteMaker mit [Service Ersatz](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [Service Dekoration](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration)und [phpBB Eventsystem](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html) erweitern/ändern. Eine Liste der unterstützten Events [finden Sie hier](./events.md). + +## Erstellen eines SiteMaker-Blocks + +Ein phpBB SiteMaker Block ist einfach eine Klasse, die den blitze\sitemaker\services\blocks\driver\block class erweitert und ein Array aus der "display"-Methode mit einem 'title' und 'content' zurückgibt. Alles andere zwischendurch liegt bei Ihnen. Um deinen Block von phpBB SiteMaker entdeckbar zu machen, musst du ihm das "sitemaker.block"-Tag geben. + +Sagen wir, wir haben eine Erweiterung mit Anbieter/Erweiterung als mich/Beispiel. Um einen Block namens "my_block" für phpBB SiteMaker zu erstellen: + +- Einen "Blocks" Ordner erstellen +- Erstelle my_block.php Datei im Blockordner mit folgendem Inhalt + +```php +namespace mein\beispiel\blocks; + +blitze\sitemaker\services\blocks\driver\block; + +Klasse my_block erweitert Block +{ + /** + * {@inheritdoc} + */ + public function display(array $settings, $edit_mode = false) + { + return array( + 'title' => 'my block title', + 'content' => 'my block content', + ); + } +} +``` + +Fügen Sie dann in Ihrer config.yml-Datei folgendes hinzu: + +```yml +Dienste: + +... + + my.example.block.my_block: + Klasse: mein\example\blocks\my_block + rufe: + - [set_name, [my.example.block.my_block]] + tags: + - { name: sitemaker.block } + +.... + +``` + +Auf einem absoluten Minimum ist das alles, was du brauchst. Wenn du in den Bearbeitungsmodus gehst, solltest du den Block als 'MY_EXAMPLE_BLOCK_MY_BLOCK' aufgelistet sehen, der auf jede Blockposition gezogen und geworfen werden kann. Aber dieser Block macht nichts Spannendes. Es hat keine Einstellungen und übersetzt nicht den Blocknamen. Machen wir es interessanter. + +### Blockeinstellungen + +Lass uns unsere Blöcke/meinen Block ändern. hp-Datei und fügen Sie eine "get_config"-Methode bei der Rückgabe eines Arrays hinzu, wobei die Schlüssel die Blockeinstellungen sind und die Werte ein Array sind, das die Einstellungen wie folgt beschreibt: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Only show when option 1 is selected
'), + ); + } +``` + +Dies ist genauso konstruiert wie phpBB die Konfiguration für die Board-Einstellungen in ACP. Weitere Beispiele finden Sie [hier](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +If you want a custom field type, you can see an example [here](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' setting). + +Beachte 'legend1' und 'legend2': Diese werden verwendet, um die Einstellungen in Tabs zu trennen. + +### Benennen von Blöcken + +Die Konvention für Blocknamen ist, dass der Service-Name (z. B. my.example.block. y*-Block oben) wird als Sprachschlüssel verwendet, indem die Punkte (.) durch Unterstriche (*) ersetzt werden (z.B. MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Übersetzung + +Beachten Sie auch, dass wir mehrere Sprachschlüssel haben, die übersetzt werden müssen. Erstellen Sie dazu eine Datei namens "blocks_admin.php" in Ihrem Sprachordner. Diese Datei wird automatisch beim Bearbeiten von Blöcken geladen und sollte Übersetzungen für Ihre Blockeinstellungen und Blocknamen enthalten. + +``` +$lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Option 1', + 'ANDERER_LANG_VAR' => 'Option 2', + 'SOME_LANG_VAR_1' => 'Setzen 1', +.... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Mein Block', +); +``` + +Da 'blocks_admin.php' nur beim Bearbeiten von Blöcken geladen wird, müssen Sie andere Übersetzungen (z. Block-Titel) durch Laden einer Sprachdatei in Ihrer Anzeigemethode wie so `$language->add_lang('my_lang_file', 'my/example');` + +### Den Block rendern + +Der neue Block wird nur angezeigt, wenn etwas dargestellt wird. Ihr Block kann jede Zeichenkette als Inhalt zurückgeben, aber in den meisten Fällen benötigen Sie eine Vorlage, um Ihren Inhalt darzustellen. Um deinen Block mit Vorlagen zu rendern der Block muss ein Array zurückgeben, das die Daten enthält, die Sie an die Vorlage übergeben möchten, und die `get_template` Methode wie unten gezeigt implementieren: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'ANDERER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // nur im Bearbeitungsmodus + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Dann könnte deine styles/all/my_block.html oder styles/prosilver/my_block.html Datei so aussehen: + +``` +

Sie haben ausgewählt: {{ some_var }}

+``` + +Zusammenfassend Ihr Block muss ein Array mit einer `-Titel-Taste` (für den Block-Titel) und einer `Inhalts-Taste` (wenn der Block nur einen String anzeigt und keine Vorlage verwendet) oder einer `Daten-Taste` (wenn der Block eine Vorlage verwendet, in diesem Fall müssen Sie auch die Methode `get_template` implementieren). + +### Assets blockieren + +Wenn Ihr Block Assets (css/js) zur Seite hinzufügen muss, empfehle ich dafür den Sitemaker [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) zu verwenden. Da es mehr als eine Instanz desselben Blocks auf der Seite geben kann oder andere Blöcke das gleiche Asset hinzufügen, stellt die Util-Klasse sicher, dass das Asset nur hinzugefügt wird. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/einige. s', + 100 => '@my_example/assets/others. s', // Priorität setzen + ), + 'css' => array( + '@my_example/assets/some ss', + ) +)); +``` + +Die Util-Klasse muss natürlich zu Ihren Service-Definitionen in config.yml hinzugefügt werden, wie so: `- '@blitze.sitemaker. bis` und definiert im Konstruktor Ihres Blocks `\blitze\sitemaker\services\util $util`. + +Und das war's. Wir sind fertig! diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/dev/theming.md b/website/i18n/de/docusaurus-plugin-content-docs/current/dev/theming.md new file mode 100644 index 000000000000..7df854828c0b --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/dev/theming.md @@ -0,0 +1,62 @@ +--- +title: Design +sidebar_position: 3 +--- + +Wir verstehen, dass die Template-Dateien und die JS/CSS-Dateien nicht für jeden Stil funktionieren so unten finden Sie einige Möglichkeiten, wie Sie Ihre eigenen Vorlagen verwenden und JS/CSS-Dateien für Ihren speziellen Stil erstellen können. + +## Eigene Vorlage verwenden + +Wenn die Standardvorlagen mit phpBB Sitemaker nicht gut für Ihren bestimmten Stil funktionieren Sie können es einfach überschreiben, um Ihre eigene Vorlagen-Datei zu verwenden, indem Sie die entsprechende Datei im Stylesverzeichnis anlegen. + +Zum Beispiel angeben, dass Ihr Stil `Backlash` ist und eine bestimmte Art hat, wie das HTML für den Block Header Abschnitt für die [boxed View](/docs/user/blocks/block-views) strukturiert werden muss. Sie können diese Vorlage überschreiben, indem Sie eine Datei mit dem gleichen Namen wie folgt erstellen: `phpBB/ext/blitze/sitemaker/styles/Backlash/template/views/boxed_view.twig`. + +Mit anderen Worten, um Ihre eigene Vorlagen-Datei zu verwenden, müssen Sie folgendes tun: +* Identifizieren, welche phpBB Sitemaker Datei überschrieben werden muss +* Erstellen Sie eine Datei mit dem gleichen Namen im Sitemaker `Styles` Ordner unter Ihrem Stilnamen + +> Hinweis: Wenn Sie Ihre eigenen Vorlagen erstellen Löschen Sie nicht den `phpbb/ext/blitze/sitemaker` Ordner wenn Sie die Erweiterung aktualisieren, da Ihre benutzerdefinierten Dateien gelöscht werden. Stattdessen überschreiben Sie einfach die vorhandenen Dateien mit den neuen Dateien. + +## Erstelle JS/CSS-Dateien für deinen Stil + +Hinweis: +* Für die folgenden Anweisungen gehen wir davon aus, dass Sie einen Stil namens my-style haben. + +In phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Von der Kommandozeile zum Sitemaker-Verzeichnis: + + cd phpBB/ext/blitze/sitemaker + +**Anbieter installieren** + + Komponisteninstallation + +**Pakete installieren** + +Für die folgenden Befehle können Sie npm oder [Garn](https://yarnpkg.com) verwenden + + yarn installieren + +**Änderungen beobachten** + + yarn start --theme my-style + +**Änderungen vornehmen** + +* Ändern Sie die Dateien im phpBB/ext/blitze/sitemaker/develop Ordner. +* Siehe phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss nach sass-Variablen + +**Assets erstellen** + + yarn build --theme my-style + +**Deploy** + +Sie können nun die generierten Dateien von phpBB/ext/blitze/sitemaker/styles/my-style kopieren und auf Ihren Produktionsserver hochladen. + +> Diese Erweiterung verwendet jQuery UI für Tabs, Dialoge und Schaltflächen. Das Standard jQuery Theme ist 'smoothness.' Sie können ein anderes jQuery UI Theme verwenden, das am besten zu Ihrem Thema passt. Sie können das jQuery UI Theme mit dem Flag --jq_ui_theme angeben. Zum Beispiel: + + yarn build --theme my-style --jq_ui_theme ui-lightness diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/intro/_category_.json b/website/i18n/de/docusaurus-plugin-content-docs/current/intro/_category_.json new file mode 100644 index 000000000000..55a02abeaff7 --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/intro/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Erste Schritte", + "position": 1 +} diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/intro/installation.md b/website/i18n/de/docusaurus-plugin-content-docs/current/intro/installation.md new file mode 100644 index 000000000000..8263217fc50c --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/intro/installation.md @@ -0,0 +1,16 @@ +--- +title: "Installation / Aktualisierung" +sidebar_position: 2 +--- + +Die Erweiterung von [hier herunterladen](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker +* Entpacken und hochladen in Ihren phpBB/ext/ Ordner, so dass Sie phpBB/ext/blitze/sitemaker haben +* Gehen Sie zu "ACP" > "Customise" > "Extensions" und aktivieren Sie die "phpBB Sitemaker" Erweiterung. + +## phpBB SiteMaker aktualisieren +* Erstellen Sie ein Backup Ihrer Datenbank, falls etwas schief geht +* Gehe zu "ACP" > "Customise" > "Extensions" und deaktivieren (nicht löschen) "phpBB Sitemaker" +* Laden Sie phpBB SiteMaker herunter und extrahieren Sie es in Ihren phpBB/ext/ Ordner (überschreiben) +* Gehen Sie zu "ACP" > "Customise" > "Extensions" und aktivieren Sie die "phpBB Sitemaker" Erweiterung. diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/intro/introduction.md b/website/i18n/de/docusaurus-plugin-content-docs/current/intro/introduction.md new file mode 100644 index 000000000000..d0517822b6f2 --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/intro/introduction.md @@ -0,0 +1,6 @@ +--- +title: Einführung +sidebar_position: 1 +--- + +phpBB SiteMaker versucht Ihr phpBB-Board in ein CMS/Portal umzuwandeln. Es tut dies, indem es Ihnen Blöcke und Menüs zur Verfügung stellt, die Ihnen helfen, Ihre Website nach Ihren Wünschen anzupassen. Es gibt oder wird weitere SiteMaker-Erweiterungen geben, die zusätzliche Funktionalität bieten, um dieses Ziel zu erreichen. Es erlaubt Ihnen auch, eine Landingpage zu definieren, wenn Ihre Website aufgerufen wird. Wenn Sie also nicht möchten, dass Besucher auf Ihrer Website sofort das phpBB Forum sehen, wenn sie auf www gehen. our-site.com können Sie Ihre eigene Startseite definieren. diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/user/_category_.json b/website/i18n/de/docusaurus-plugin-content-docs/current/user/_category_.json new file mode 100644 index 000000000000..031a3cc396fa --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/user/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Benutzerhandbuch", + "position": 2 +} diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/user/blocks/_category_.json b/website/i18n/de/docusaurus-plugin-content-docs/current/user/blocks/_category_.json new file mode 100644 index 000000000000..b4d9fd728d1d --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/user/blocks/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Blöcke", + "position": 1 +} diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/user/blocks/block-views.md b/website/i18n/de/docusaurus-plugin-content-docs/current/user/blocks/block-views.md new file mode 100644 index 000000000000..760b074ace6d --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/user/blocks/block-views.md @@ -0,0 +1,6 @@ +--- +title: Block-Ansichten +sidebar_position: 2 +--- + +In Bearbeitung... \ No newline at end of file diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md b/website/i18n/de/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md new file mode 100644 index 000000000000..997fc9109f51 --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md @@ -0,0 +1,24 @@ +--- +title: Eigener Block +sidebar_position: 4 +--- + +Wenn die verfügbaren Blöcke dir nicht die Freiheit geben, die du benötigst gibt es den `Custom Block` der Ihnen die Freiheit erlaubt, Ihre eigenen Inhalte mit BBcode oder HTML anzuzeigen. Der Block kommt mit einem WYSIWYG-Editor (TinyMCE) und einem Skript-Manager: + +## Der Editor + +- Sie können den Editor verwenden, um HTML-Inhalte zu erstellen +- Sie können den Quellcode bearbeiten, wenn Sie diese Stufe der Kontrolle benötigen, indem Sie auf das `Quellcode` Symbol (`<>`) im Editor klicken +- Mit dem Editor können Sie Bilder hochladen und bearbeiten + - Es erstellt einen neuen Ordner in phpBB/images/sitemaker_uploads/ für jeden Benutzer, der Zugriff darauf hat + - Sie können alle Benutzerordner ansehen/verwalten +- Der Editor filtert potenziell gefährliche Skripte wie Javascript, etc. aus. Wenn Sie Inhalte wie Google-Anzeigen hinzufügen müssen, wird das Javascript ausgefiltert, aber Sie können das umgehen, indem Sie folgendes tun: + - Fügen Sie den eigenen Block zum gewünschten Standort hinzu + - Bearbeiten Sie den benutzerdefinierten Block, klicken Sie auf den `HTML-` Tab und fügen Sie Ihr Javascript ein + +## Skript-Verwaltung + +Mit dem Custom Block können Sie auch benutzerdefinierte CSS- und Javascript-Dateien zu Ihrer Seite hinzufügen. Du kannst das folgendermaßen tun: + +- Fügen Sie einen `benutzerdefinierten Block` zu jeder Blockposition hinzu. Die Position spielt keine Rolle, es sei denn, Sie zeigen auch Inhalte mit dem Block +- Den Block bearbeiten, klicken Sie auf den `Reiter` und fügen Sie Ihre CSS- oder Javascript-Dateien hinzu > Word der Vorsicht: Das Hinzufügen zu vielen Skripten auf Ihrer Seite kann die Ladezeiten beeinflussen diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md b/website/i18n/de/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md new file mode 100644 index 000000000000..b9d4f4160b91 --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md @@ -0,0 +1,51 @@ +--- +title: Blöcke verwalten +sidebar_position: 3 +--- + +Um Blöcke in phpBB SiteMaker zu verwalten, müssen Sie im [Bearbeitungsmodus](./overview#edit-mode) sein. + +> Wenn ein Block keine Inhalte anzeigt, wird er nicht angezeigt, außer im Bearbeitungsmodus. Auf diese Weise können Sie ihn entweder Inhalt geben (im Fall des benutzerdefinierten Blocks) oder seine Einstellungen ändern. + +> Im Bearbeitungsmodus, die etwas transparenten Blöcke sind Blöcke, die ansonsten nicht angezeigt werden sondern nur angezeigt werden, weil wir uns im Bearbeitungsmodus befinden + +## Blöcke hinzufügen +Sie können Blöcke zu jeder vorderen Seite hinzufügen, mit Ausnahme der Seite Benutzerverwaltung und des Moderatorsteuerungsbereichs. Um einen Block hinzuzufügen, musst du folgendes hinzufügen: +* auf **Blöcke** in der Adminleiste klicken. Zeigt eine Liste der verfügbaren Blöcke an +* Ziehen und Ablegen des gewünschten Blocks an jede Blockposition + +## Blöcke bearbeiten +### Blocksymbol hinzufügen +Links neben dem Blocktitel (prosilver) befindet sich ein Feld für das Blocksymbol. Klicken Sie auf dieses Feld, um die Symbolauswahl zu erhalten. Sie können die Symbolgröße, Farbe, Float, Rotation, etc. auswählen. + +### Den Blocktitel bearbeiten +phpBB SiteMaker Blöcke haben einen standardmäßigen übersetzten Titel, aber wenn der Titel nicht Ihren Bedürfnissen entspricht, können Sie ihn ändern. Um den Blocktitel zu bearbeiten, +* Klicken Sie auf den Block-Titel, um ein Inline-Bearbeitungsformular zu erhalten +* Ändere den Titel zu dem, was du willst +* Fokus aus dem Feld entfernen oder Enter drücken, um Änderungen einzureichen + +> Dein geänderter Blocktitel ist nicht übersetzt + +> Um zum Standard-Titel zurückzukehren, lösche einfach den Titel und drücke Enter + +### Blockeinstellungen bearbeiten +Wenn du über einen Block fährst, erscheint rechts neben dem Block, mit dem du den Block bearbeiten kannst. Im Dialog zum Bearbeiten des Blocks können Sie: +- Block aktivieren/deaktivieren [Status] +- Wählen Sie, wann der Block [Display] nicht angezeigt werden soll/soll. Dies gilt nur für die Fälle, in denen Sie verschachtelte Seiten haben (siehe [Erbschaftsvererbung verstehen](/docs/user/site/block-inheritance)): + - **Immer**: Blöcke immer anzeigen + - **Hide on child routes**: Only show this block on the parent route + - **Show on child routes only**: Only show this block on a child route +- Wählen Sie aus, welche Benutzergruppen den Block [Sichtbar von] sehen können. Benutzen Sie STRG + klicken um mehrere Gruppen auszuwählen. +- Legen Sie benutzerdefinierte Klassen fest, um das Aussehen des Blocks oder der Elemente (Listen, Bilder, Hintergrund, usw.) innerhalb des Blocks [CSS-Klasse] zu verändern +- Ein-/Ausblenden des Block-Titels [Block-Titel ausblen?] +- Wählen Sie die Blockansicht [Blockansicht]. Sie können eine Standard-Blockansicht wählen, wenn neue Blöcke in ACP hinzugefügt werden. + - **Standard / Einfache**: verwendet die Prosiler-Panel-Klasse um den Block in einen gepolsterten Container zu wickeln + - **Basic**: Block hat keine Containerverpackung + - **Boxed**: Verwendet die prosilver forabg Klasse um den Block in eine Box zu wickeln +- Blockspezifische Einstellungen setzen / aktualisieren +- Wenn Sie den gleichen Block mit den gleichen Einstellungen über mehrere Seiten hinweg haben, du kannst alle aktualisieren, indem du die **Update-Blöcke mit ähnlichen Einstellungen überprüfst** + +## Lösche Blöcke +- Bewegen Sie den Block, den Sie löschen möchten +- Klicke auf das **x** Symbol und bestätige, dass du den Block löschen möchtest +- Gehen Sie nach oben in die Adminleiste und klicken Sie auf `Änderungen speichern` diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/user/blocks/overview.md b/website/i18n/de/docusaurus-plugin-content-docs/current/user/blocks/overview.md new file mode 100644 index 000000000000..f7fa7e1879ab --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/user/blocks/overview.md @@ -0,0 +1,9 @@ +--- +title: Was sind Blöcke? +sidebar_position: 1 +--- + +Im Mittelpunkt von phpBB SiteMaker steht das Konzept der Blöcke. Blöcke sind kleine Inhalte, die Sie in verschiedenen vordefinierten Bereichen (Blockpositionen) auf Ihrer Website platzieren können. Die Blöcke haben typischerweise Einstellungen, die Sie einstellen oder ändern können, um den Inhalt zu verfeinern, den Sie anzeigen möchten. Die meisten Blöcke, aber nicht alle, werden Datenbankabfragen stellen, um den gewünschten Inhalt zu erhalten. Also lassen Sie uns nicht zu verrückt werden :). Um Blöcke zu verwalten, musst du in den "Bearbeitungsmodus" wechseln. + +## Bearbeitungsmodus +Wechseln Sie zum Bearbeiten-Modus, indem Sie auf das Stift-Symbol oben rechts auf Ihrer Website klicken. Dadurch wird die "Admin-Leiste" mit "Blocks" und "Einstellungen" im Menü angezeigt. Dies wird als im "Bearbeitungsmodus" bezeichnet. diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/user/menus/_category_.json b/website/i18n/de/docusaurus-plugin-content-docs/current/user/menus/_category_.json new file mode 100644 index 000000000000..4259794d53ee --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/user/menus/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Menus", + "position": 2 +} diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md b/website/i18n/de/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md new file mode 100644 index 000000000000..ba55f026a7b5 --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md @@ -0,0 +1,15 @@ +--- +title: Menüs anzeigen +sidebar_position: 3 +--- + +Nachdem Sie Ihre Menüs erstellt haben, können Sie sie nun auf verschiedene Art und Weise anzeigen: + +## Link-Block +Mit diesem Block können Sie eine flache oder verschachtelte Liste von Menüeinträgen anzeigen. Dieser Block ist nicht für die Navigation gedacht, d.h. er wird keine aktuelle Seite oder ähnliches anzeigen. Es ist für eine Liste von Artikeln, einschließlich externer Links. + +## Menüblock +Dieser Block ist für die Seitennavigation bestimmt. Es führt einige zusätzliche Berechnungen durch, um den aktuellen Standort zu bestimmen, und ist nicht als eine sehr große Liste gedacht. + +## Navigationsleiste +Ähnlich wie der Menü-Block zeigt die Navigationsleiste Menüeinträge als reaktives Dropdown-Menü für die Navigation der Site. Aktivieren kannst du das in ACP > Erweiterungen > Sitemaker > Settings diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md b/website/i18n/de/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md new file mode 100644 index 000000000000..a5acd18c586c --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md @@ -0,0 +1,30 @@ +--- +title: Menüeinträge verwalten +sidebar_position: 2 +--- + +Ihr Menü ist nutzlos, es sei denn, es hat Menüeinträge. Sie können Menüeinträge hinzufügen, die zu lokalen oder externen Dateien führen. + +> Die URL für externe Sites muss mit http(s)://, ftp://, //, etc. beginnen. + +> Sie können einen Trenner erstellen, indem Sie '-' als Artikeltitel eingeben + +## Menüeinträge hinzufügen +Sie können Menüpunkte einzeln hinzufügen oder mehrere Menüpunkte hinzufügen. + +### Füge einzelne Menüpunkte hinzu +Um einen einzelnen Menüeintrag hinzuzufügen, +* klicken Sie auf den `Menüpunkt hinzufügen` Button +* Füllen Sie die benötigten Informationen aus und drücken Sie `Speichern` + +### Mehrere Elemente hinzufügen +Um mehrere Menüpunkte gleichzeitig hinzuzufügen, +* Klicken Sie auf das Pfeil nach unten neben `Menüpunkt hinzufügen` +* Du kannst Gegenstände manuell hinzufügen, indem du jedes Element in einer neuen Zeile platzierst und die Tab-Zeichen Nest Elemente verwendest oder +* Sie können auf eine der angegebenen Optionen am unteren Rand des Textbereichs klicken, um die Menüpunkte automatisch auszufüllen + +## Menüpunkte neu anordnen +Sie können die Menüeinträge nach oben oder unten ziehen, um ihre Anzeigenfolge festzulegen, oder sie nach links/rechts ziehen, um die gewünschte Hierarchie festzulegen. + +## Menüpunkte neu aufbauen +If you find that the menu items are not displaying correctly, click on the `Rebuild Tree` button to rebuild the menu items. diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md b/website/i18n/de/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md new file mode 100644 index 000000000000..0cd7cb6869d6 --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md @@ -0,0 +1,24 @@ +--- +title: Menüverwaltung +sidebar_position: 1 +--- + +Sie können Menüs in AKP-Staaten erstellen, die Sie dann mit den Menüs oder den Links Blöcken oder als horizontale Navigationsleiste anzeigen können. + +## Menüverwaltung + +Um Menüs zu verwalten, gehen Sie zu ACP > Erweiterungen > Sitemaker > Menü + +### Menüs erstellen +Um ein neues Menü (Gruppe) zu erstellen, klicken Sie auf `Menü hinzufügen` Schaltfläche. Eine neue Menügruppe wird mit einem zufällig generierten Namen erstellt. Das neue Menü wird ebenfalls ausgewählt, so dass Sie mit dem Hinzufügen von Menüeinträgen beginnen können. + +### Menüs bearbeiten +Wenn Sie einen aussagekräftigeren Menünamen möchten +* schweben Sie über den Menünamen und klicken Sie auf das Zahnradsymbol +* den neuen Menünamen eingeben und Enter drücken, um ihn zu aktualisieren + +### Menüs löschen +Um ein Menü und seine Elemente zu löschen, +* Bewegen Sie den Menünamen und klicken Sie auf das **x** Symbol +* Wenn der Menüpunkt keine untergeordneten Elemente hat, müssen Sie Ihre Wahl bestätigen, um den Eintrag zu löschen +* Wenn der Menüpunkt untergeordnete Elemente hat, du musst angeben, ob du nur das Element löschen möchtest und dessen Unterseiten nach oben verschieben möchtest oder ob du den gesamten Zweig löschen möchtest diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/user/site/_category_.json b/website/i18n/de/docusaurus-plugin-content-docs/current/user/site/_category_.json new file mode 100644 index 000000000000..65f0837a67dc --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/user/site/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Erstelle deine Seite", + "position": 3 +} diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md b/website/i18n/de/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md new file mode 100644 index 000000000000..4ce9052336de --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md @@ -0,0 +1,46 @@ +--- +title: Vererbung blockieren +sidebar_position: 5 +--- + +Wir haben das bereits durch das Festlegen eines Standard-Layouts gesehen, andere Seiten, die keine eigenen Blöcke haben, erben die Blöcke vom Standard-Layout. Es gibt jedoch noch eine andere Art von Blockvererbung. + +## Eltern-/Kind-Routen +In phpBB SiteMaker sprechen wir von verschachtelten Routen in Form von real verschachtelten (Unter-)Verzeichnissen oder praktisch verschachtelten Pfaden/Routen. Bitte bleiben Sie bei mir :). +* Real Parent/Child-Routen: Zum Beispiel ist der Pfad /some_directory/sub_directory/index.php ein Kind von /some_directory/index.php +* Virtuelle Parent/Child-Routen: Zum Beispiel wird viewtopic.php als Kind von viewforum.php behandelt. + +Hier sind einige Beispiele für Eltern/Unter-Routen: + +| Elternteil | Kind | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/my-article | + +## Erbschaft Eltern/Kind +Für Eltern-/Kind-Routen, die untergeordnete Route erbt die Blöcke der übergeordneten Route (falls der Elternteil eigene Blöcke hat) oder vom Standardlayout (falls eingestellt). Mit anderen Worten, selbst wenn es ein Standardlayout gibt, die untergeordnete Route wird Blöcke von der übergeordneten Route erben, wenn die übergeordnete Route ihre eigenen Blöcke hat. Aber nicht alle Blöcke der übergeordneten Route müssen vererbt werden. + +## Steuerung der Blockvererbung +Auf Blockebene können Sie festlegen, ob ein Block von untergeordneten Routen geerbt werden kann. Wir haben dies bereits in den [Blockeinstellungen bearbeiten](/docs/user/blocks/managing-blocks#editing-block-settings) berührt. + +Betrachten Sie die folgende echte Verzeichnisstruktur: +```text +phpBB + index.php + Movies/ + index.php + page.php + Comedy/ + index.php +``` + +Für das Erben von Blöcken sagen wir: +* Die übergeordnete Route von /phpBB/Movies/Comedy/index.php ist /phpBB/Movies/index.php und nicht /phpBB/Movies/page.php +* Alle Seiten in einem Unterverzeichnis relativ zu /phpBB/index.php ist eine untergeordnete Route von /phpBB/index.php. Also /phpBB/Movies/index.php und /phpBB/Movies/page.php sind alle Kinder von /phpBB/index.php und erben ihre Blöcke, wenn sie keine eigenen Blöcke haben. In diesem Fall: + * Wenn ein Block auf /phpBB/index.php gesetzt ist, der auf **Versteckt bei untergeordneten Routen**angezeigt wird, wird der Block auf /phpBB/index angezeigt. hp (übergeordnete Route) aber nicht auf seinen untergeordneten Routen + * When a block on /phpBB/index.php is set to display on **Show on child routes only**, it will display on /phpBB/Movies/index.php and /phpBB/Movies/page.php (child routes) but not on /phpBB/index.php (parent), nor /phpBB/Movies/Comedy/index.php (we only go one level deep) + * Wenn ein Block auf /phpBB/index.php auf **immer** (Standard) gesetzt ist, wird er auf /phpBB/index angezeigt. hp (parent), /phpBB/Movies/index.php und /phpBB/page.php (child routes) aber nicht auf /phpBB/Movies/Comedy/index.php (wir gehen nur eine Ebene tief). In diesem Fall wird /phpBB/Movies/Comedy/index.php von der Standardroute vererbt (falls vorhanden) + +## Positiver Zufallszustand +Ich bin wirklich an Ihrem Feedback in diesem Bereich interessiert. Die meisten phpBB-Benutzer haben keine echten Verzeichnisse, wie oben beschrieben. Daher denke ich daran, die Struktur, die in einem Menüblock als virtuelle Verzeichnisstruktur definiert ist, zu verwenden und diese Eltern-/Kindvererbung darauf anzuwenden. Ich erwäge auch, über eine Ebene tief zu gehen. Bitte lassen Sie mich wissen, ob dies für Sie nützlich sein wird. \ No newline at end of file diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md b/website/i18n/de/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md new file mode 100644 index 000000000000..180326ae6c1b --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md @@ -0,0 +1,6 @@ +--- +title: Blöcke Anzeige anpassen +sidebar_position: 6 +--- + +In Bearbeitung... \ No newline at end of file diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/user/site/default-layout.md b/website/i18n/de/docusaurus-plugin-content-docs/current/user/site/default-layout.md new file mode 100644 index 000000000000..290ff253e8d5 --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/user/site/default-layout.md @@ -0,0 +1,21 @@ +--- +title: Standardlayout einstellen +sidebar_position: 4 +--- + +Wenn du einen Block hinzufügst, wird er zu dieser bestimmten Seite hinzugefügt. Daher wäre es eine mühsame Aufgabe, Blöcke für alle Seiten auf Ihrer Website zu setzen. Sie können alle gewünschten Blöcke für eine bestimmte Seite festlegen und diese dann als Standardlayout festlegen. Mit anderen Worten, jede Seite, die keine eigenen Blöcke hat, erbt Blöcke von dieser Seite. + +Um ein Standardlayout zu setzen +* Gehen Sie zu der Seite, die Sie als Standard-Layout festlegen möchten +* Klicken Sie auf `Einstellungen` in der Adminleiste +* Klicken Sie auf `Als Standardlayout festlegen` + +Sagen wir Blöcke zu einer Seite (phpBB/index.php) mit Blöcken in der Sidebar und Top-Positionen zum Beispiel und setzen sie als Standardlayout. Dies hat folgende Effekte für andere Seiten: +* Jede Seite, die keine eigenen Blöcke hat, erbt die Blöcke vom Standard-Layout. Für Ausnahmen siehe [Blockvererbung](/docs/user/site/block-inheritance). +* Sie können weiterhin Blöcke aus einem Standard-Layout (Index) erben. hp), aber wählen Sie, ob Blöcke auf einigen Blockpositionen nicht angezeigt werden oder gar keine Blöcke angezeigt werden sollen. Du kannst das folgendermaßen tun, + * Gehe zu der Seite, die nicht alle / einige Blöcke angezeigt werden sollen + * Klicken Sie auf `Einstellungen` in der Adminleiste + * Wählen Sie `Blöcke auf dieser Seite nicht anzeigen` wenn Sie keine Blöcke auf dieser Seite vererben/anzeigen möchten + * Benutze STRG + klicke um die Blockpositionen auszuwählen (rechts), auf denen du keine Blöcke anzeigen willst +* Im `Bearbeitungsmodus`, einer Seite, die Blöcke vom Standardlayout vererbt hat, zeigt keine Blöcke an, die dir die Möglichkeit geben, Blöcke zur Seite hinzuzufügen, wenn du möchtest +* Jede Seite mit eigenen Blöcken wird nicht vom Standard-Layout vererbt diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/user/site/layouts.md b/website/i18n/de/docusaurus-plugin-content-docs/current/user/site/layouts.md new file mode 100644 index 000000000000..a9383dac5d45 --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/user/site/layouts.md @@ -0,0 +1,31 @@ +--- +title: Layouts +sidebar_position: 1 +--- + +"Layouts" bestimmen die verfügbaren Blockpositionen und wie sie angezeigt werden. + +## Blockpositionen +Blockpositionen sind vordefinierte Bereiche auf Ihrer Website, wo Blöcke existieren können. Die verfügbaren Blockpositionen werden durch den von Ihnen verwendeten Template-Stil bestimmt. Für Prosilber kommt phpBB SiteMaker mit den folgenden Blockpositionen: +* Panel: volle Breite oben +* Seitenleiste: links/rechts je nach Layout unten +* subcontent: ähnlich der Sidebar nur größer +* top_hor: horizontale Blöcke oben über der Seitenleiste/Subcontent je nach Layout flankieren +* oben: oberhalb des Hauptinhalts +* box: gleiche Breite, horizontale Blöcke unterhalb des Hauptinhalts +* unten: unter dem Hauptinhalt +* bottom_hor: horizontale Blöcke auf der unteren, die Seitenleiste/Subcontent je nach Layout flankieren +* fuß: horizontale Blöcke im Footer Sie können weitere Blockpositionen in Ihren eigenen Stilvorlagen hinzufügen, indem Sie die entsprechenden phpBB SiteMaker Templates kopieren und ändern + +## Seitenlayout +Sie können das Layout für Ihre Website in ACP wählen (Erweiterungen > Sitemaker > Einstellungen): +* **Blog**: Subcontent und Sidebar nebeneinander, nach rechts gedrückt, top_hor/botom_hor flankiert Subcontent +* **Heiliger Gral**: Gleiche Seitenleiste und Subinhalte auf gegenüberliegenden Seiten, top_hor/botom_hor Flanken Subcontent +* **Portal**: Seitenleiste links, Subcontent rechts, top_hor/botom_hor Flanken Subcontent +* **Portal Alt**: Subcontent links, Sidebar rechts, top_hor/botom_hor Flanken Seitenleiste +* **Benutzerdefiniertes**: Legt die Breite der Seitenleisten manuell auf px, %, em oder rem fest. Standardmäßig 200px auf jeder Seite + +## Benutzerdefinierte Vorlagen/Stile +So weit wie möglich wir haben versucht, Template-Dateien und Assets in Styles/all/ Ordner zu setzen, so dass Sie sie überschreiben können, indem Sie eine Datei mit gleichem Namen unter Ihrem eigenen Template Theme e. . Also, wenn Sie ändern möchten, wie ein bestimmter Block angezeigt wird oder wenn Sie Ihr eigenes Layout mit eigenen Blockpositionen erstellen möchten, Sie müssen einfach eine Datei mit dem gleichen Namen und Pfad erstellen wie das Original in Ihrem eigenen Stil. + +Wenn Sie CSS/JS-Dateien anpassen müssen, werfen Sie einen Blick auf den Bereich [Theming](/docs/dev/theming). \ No newline at end of file diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/user/site/navbar.md b/website/i18n/de/docusaurus-plugin-content-docs/current/user/site/navbar.md new file mode 100644 index 000000000000..762188547194 --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/user/site/navbar.md @@ -0,0 +1,6 @@ +--- +title: Navigationsleiste +sidebar_position: 2 +--- + +[Menüs anzeigen](/docs/user/menus/displaying-menus#navigation-bar) diff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/user/site/startpage.md b/website/i18n/de/docusaurus-plugin-content-docs/current/user/site/startpage.md new file mode 100644 index 000000000000..edb8b7a1d548 --- /dev/null +++ b/website/i18n/de/docusaurus-plugin-content-docs/current/user/site/startpage.md @@ -0,0 +1,11 @@ +--- +title: Eine Startseite festlegen +sidebar_position: 3 +--- + +phpBB SiteMaker ermöglicht Ihnen jeden Front-Controller auszuwählen (Seiten über app.php/... als Standard-Startseite (die Seite, die angezeigt wird, wenn jemand Ihre Seite besucht) anstelle des Board-Index. + +Du kannst das folgendermaßen tun: +* Gehe zu der Seite, die du als Standard-Startseite festlegen möchtest +* Klicken Sie auf `Einstellungen` in der Adminleiste. Wenn es sich um eine berechtigte Seite handelt, sehen Sie einen `Als Startseite setzen` Button +* Klicken Sie auf die `Startseite setzen` Taste \ No newline at end of file diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/contrib/_category_.json b/website/i18n/el/docusaurus-plugin-content-docs/current/contrib/_category_.json new file mode 100644 index 000000000000..ec09e963eb6b --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/contrib/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Συνεισφέρετε", + "position": 4 +} diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/contrib/overview.md b/website/i18n/el/docusaurus-plugin-content-docs/current/contrib/overview.md new file mode 100644 index 000000000000..9c8f46713cf7 --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/contrib/overview.md @@ -0,0 +1,11 @@ +--- +title: Συμμετέχετε +sidebar_position: 1 +--- + +Το phpBB SiteMaker είναι ένα έργο ανοιχτού κώδικα και καλωσορίζει τις ιδέες και τις συνεισφορές σας. Έτσι αισθάνεστε ελεύθεροι να συμμετάσχετε. Μπορείτε να συνεισφέρετε σε αυτό το έργο μέσω: + +* [Παροχή Υποστήριξης/Ανατροφοδότησης](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Αναφορά Σφαλμάτων](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Βοηθώντας στη μετάφραση](./translators.md) +* [Διόρθωση σφαλμάτων ή προσθήκη χαρακτηριστικών](./pull-requests.md) diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/contrib/pull-requests.md b/website/i18n/el/docusaurus-plugin-content-docs/current/contrib/pull-requests.md new file mode 100644 index 000000000000..69f95eeacf28 --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/contrib/pull-requests.md @@ -0,0 +1,65 @@ +--- +title: Υποβολή αιτήματος έλξης +sidebar_label: Αιτήσεις Λήψης +--- + +`Τραβήξτε αιτήσεις μας επιτρέπουν να πούμε σε άλλους για τις αλλαγές που έχουμε ωθήσει σε έναν κλάδο σε ένα αποθετήριο στο GitHub. Μόλις ανοίξει ένα αίτημα έλξης, μπορούμε να συζητήσουμε και να εξετάσουμε τις πιθανές αλλαγές με τους συνεργάτες μας και να προσθέσουμε υποβολές πριν οι αλλαγές μας συγχωνευθούν στον βασικό κλάδο.` [Διαβάστε περισσότερα](https://help.github.com/articles/about-pull-requests/) + +## Περονοφόρο/κλωνοποίηση + +* Δημιουργήστε ένα λογαριασμό github αν δεν έχετε ήδη έναν +* Πηγαίνετε στο https://github.com/blitze/phpBB-ext-sitemaker.git και κάντε κλικ στο "Fork" + +Κλωνοποιήστε το πιρούνι σας του αποθετηρίου: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Από τη γραμμή εντολών πηγαίνετε στον κατάλογο sitemaker: + + cd phpBB/ext/blitze/sitemaker + +**Ρύθμιση git:** + +Προσθέστε το όνομα χρήστη στο Git στο σύστημά σας: + + git config --global user.name "Your Name Here" + +Προσθέστε τη διεύθυνση ηλεκτρονικού ταχυδρομείου σας στο Git στο σύστημά σας: + + git config --add user.email username@phpbb.com + +Προσθέστε το τηλεχειριστήριο ανάντη (μπορείτε να αλλάξετε το 'upstream' σε ό,τι θέλετε): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + +**Εγκατάσταση προμηθευτών** + + εγκατάσταση συνθέτη + +**Εγκατάσταση πακέτων NPM** + + npm install + +Εναλλακτικά μπορείτε να χρησιμοποιήσετε [νήματα](https://yarnpkg.com): + + εγκατάσταση νήματος + +## Αιτήσεις Λήψης + + # Δημιουργήστε έναν νέο κλάδο για τη δυνατότητα μας & αλλάξτε σε αυτόν + git checkout -b feature/my-fancy-new-feature + + # δημιουργήστε έναν νέο κλάδο για το ζήτημα που εργαζόμαστε στο * μεταβείτε σε αυτόν (ticket # is from github tracker) + git checkout -b ticket/1234 + +Κάντε τις αλλαγές σας + + # Στάδιο τα αρχεία + git add + + # Commit staged files - παρακαλώ χρησιμοποιήστε ένα σωστό μήνυμα υποβολής + git commit -m "το μήνυμα υποβολής μου" + +Πιέστε τον κλάδο πίσω στο GitHub git push origin feature/my-fancy-new-feature + +Υποβάλετε [αίτηση έλξης](https://github.com/blitze/phpBB-ext-sitemaker/pulls) diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/contrib/translators.md b/website/i18n/el/docusaurus-plugin-content-docs/current/contrib/translators.md new file mode 100644 index 000000000000..accc95b53f72 --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/contrib/translators.md @@ -0,0 +1,17 @@ +--- +title: Μεταφραστές +sidebar_position: 2 +--- + +Χρειαζόμαστε βοήθεια για τη μετάφραση αυτής της επέκτασης, καθώς και για την τεκμηρίωσή της. Έχουμε δημιουργήσει ένα έργο στο Crowdin για να διευκολύνουμε τις μεταφράσεις. Το Crowdin σας δίνει μια διεπαφή μετάφρασης που δεν είναι δεύτερη. Μπορείτε να συνεισφέρετε στο πόσο θέλετε αλλά σας συνιστούμε να χρησιμοποιήσετε το Crowdin. + +> Το Crowdin είναι μια πλατφόρμα διαχείρισης τοπικοποίησης που βοηθά τις εταιρείες να μεταφράσουν το λογισμικό τους. Μπορείτε να διαβάσετε περισσότερα για το Crowdin [εδώ](https://support.crowdin.com/crowdin-intro/) + +Αν είστε πρόθυμοι να συνεισφέρετε με μεταφράσεις, θα χρειαστείτε: + +* Ένας λογαριασμός [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker). +* Επιλέξτε τη γλώσσα-στόχο εάν υπάρχει διαφορετικά αίτημα για ενεργοποίηση. + +Εάν η επιθυμητή γλώσσα σας δεν είναι καταχωρημένη, παρακαλώ [επικοινωνήστε μαζί μου](https://crowdin.com/profile/blitze) και θα την προσθέσω. + +[Έναρξη Μετάφρασης](https://crowdin.com/project/phpbb-ext-sitemaker) diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/dev/_category_.json b/website/i18n/el/docusaurus-plugin-content-docs/current/dev/_category_.json new file mode 100644 index 000000000000..187f5048f5d8 --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/dev/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Οδηγός Προγραμματιστή", + "position": 3 +} diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/dev/events.md b/website/i18n/el/docusaurus-plugin-content-docs/current/dev/events.md new file mode 100644 index 000000000000..e9acee96bdbe --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/dev/events.md @@ -0,0 +1,120 @@ +--- +title: Εκδηλώσεις του phpBB SiteMaker +sidebar_position: 2 +--- + +Μπορείτε να τροποποιήσετε τη συμπεριφορά του phpBB SiteMaker χρησιμοποιώντας το σύστημα γεγονότων του phpBB. + +## Συμβάντα PHP + +### blitze.sitemaker.acp_add_bulk_menu_options + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Από: 3.1.0 +- Σκοπός: Προσθήκη μαζικών επιλογών μενού στο μενού acp + +### blitze.sitemaker.acp_display_settings_form + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Από: 3.1.0 +- Σκοπός: μορφή ρυθμίσεων acp οθόνης (sitemaker) + +### blitze.sitemaker.acp_save_settings + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Από: 3.1.0 +- Σκοπός: Αποθήκευση ρυθμίσεων acp (sitemaker) + +### blitze.sitemaker.admin_bar.set_assets + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Από: 3.0.1-RC1 +- Σκοπός: Προσθήκη στοιχείων για τα διαθέσιμα μπλοκ σε λειτουργία επεξεργασίας + +### blitze.sitemaker.modify_block_positions + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Από: 3.0.1-RC1 +- Σκοπός: Τροποποίηση θέσεων μπλοκ + +### blitze.sitemaker.modify_rendered_block + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Από: 3.0.1-RC1 +- Σκοπός: Τροποποίηση ενός αποτυπωμένου μπλοκ + +## Συμβάντα Προτύπου + +### blitze_sitemaker_acp_settings + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Από: 3.1.0 +- Σκοπός: Προσθέστε πεδία φόρμας για τις ρυθμίσεις sitemaker + +### blitze_sitemaker_admin_bar_append + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Από: 3.1.0 +- Σκοπός: Προσθήκη στοιχείων μενού στη γραμμή διαχείρισης + +### blitze_sitemaker_admin_bar_templates + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Από: 3.1.0 +- Σκοπός: Προσθήκη αρχείων προτύπου που θα χρησιμοποιηθούν στο JS για προβολές μπλοκ, κλπ + +## Συμβάντα Javascript + +### blitze_sitemaker_layout_saved + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Από: 3.1.2 +- Σκοπός: Γεγονός που επιτρέπει σε άλλες επεκτάσεις να κάνουν κάτι όταν αποθηκεύονται οι αλλαγές διάταξης + +### blitze_sitemaker_render_block_before + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Από: 3.1.2 +- Σκοπός: Το συμβάν που επιτρέπει σε άλλες επεκτάσεις να κάνουν κάτι πριν το μπλοκ αποδοθεί ή αποτρέψει την επανεμφάνιση του + +### blitze_sitemaker_render_block_after + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Από: 3.1.2 +- Σκοπός: Το συμβάν επιτρέπει σε άλλες επεκτάσεις να κάνουν κάτι μετά την απόδοση του μπλοκ + +### blitze_sitemaker_save_block_before + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Από: 3.1.2 +- Σκοπός: Γεγονός που επιτρέπει σε άλλες επεκτάσεις να τροποποιήσουν τα δεδομένα του block πριν αποθηκευτεί + +### blitze_sitemaker_show_all_block_positions + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Από: 3.1.2 +- Σκοπός: Γεγονός που επιτρέπει σε άλλες επεκτάσεις να κάνουν κάτι όταν εμφανίζονται όλες οι θέσεις μπλοκ + +### blitze_sitemaker_hide_empty_block_positions + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Από: 3.1.2 +- Σκοπός: Το συμβάν επιτρέπει σε άλλες επεκτάσεις να κάνουν κάτι όταν είναι κρυμμένες οι κενές θέσεις + +### blitze_sitemaker_layout_εκκαθαρίστηκε + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Από: 3.1.2 +- Σκοπός: Γεγονός που επιτρέπει σε άλλες επεκτάσεις να κάνουν κάτι όταν η διάταξη εκκαθαριστεί + +### blitze_sitemaker_layout_updated + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Από: 3.1.2 +- Σκοπός: Γεγονός που επιτρέπει σε άλλες επεκτάσεις να κάνουν κάτι όταν ενημερώνεται η διάταξη + +### blitze_sitemaker_tinymce_options + +- Τοποθεσία: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Από: 3.3.0 +- Σκοπός: Γεγονός για να επιτρέψετε σε άλλες επεκτάσεις να τροποποιήσουν τις επιλογές tinymce diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/dev/overview.md b/website/i18n/el/docusaurus-plugin-content-docs/current/dev/overview.md new file mode 100644 index 000000000000..41ae9e66f0c5 --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/dev/overview.md @@ -0,0 +1,179 @@ +--- +title: Επέκταση phpBB SiteMaker +sidebar_position: 1 +--- + +You can extend/modify phpBB SiteMaker using [service replacement](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [service decoration](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), and [phpBB event system](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Μπορείτε να βρείτε μια λίστα με τις υποστηριζόμενες εκδηλώσεις [εδώ](./events.md). + +## Δημιουργία μπλοκ Κατασκευαστή SiteMaker + +Ένα μπλοκ phpBB SiteMaker είναι απλά μια κλάση που επεκτείνει το blitze\sitemaker\services\blocks\driver\block class και επιστρέφει έναν πίνακα από τη μέθοδο "εμφάνιση" με έναν 'τίτλο' και 'περιεχόμενο'. Όλα τα υπόλοιπα είναι στο χέρι σας. Για να γίνει το block σας αναγνωρίσιμο από το phpBB SiteMaker, θα πρέπει να του δώσετε την ετικέτα "sitemaker.block". + +Πείτε ότι έχουμε μια επέκταση με προμηθευτή/επέκταση ως μου / παράδειγμα. Για να δημιουργήσετε ένα μπλοκ που ονομάζεται "my_block" για το phpBB SiteMaker: + +- Δημιουργία φακέλου "blocks" +- Δημιουργήστε το αρχείο my_block.php στο φάκελο μπλοκ με το ακόλουθο περιεχόμενο + +```php +namespace my\example\blocks; + +χρήση blitze\sitemaker\services\blocks\driver\block; + +class my_block extends block +mptom + /** + * {@inheritdoc} + */ + public function display(array $settings, $edit_mode = false) + mptom + return array( + 'title' => 'my block title', + 'περιεχόμενο' => 'το περιεχόμενό μου', + ); + } +} +``` + +Στη συνέχεια, στο αρχείο config.yml σας, προσθέστε τα εξής: + +```yml +υπηρεσίες: + +... + + my.example.block.my_block: + class: my\example\blocks\my_block + κλήσεις: + - [set_name, [my.example.block.my_block]] + ετικέτες: + - { name: sitemaker.block } + +.... + +``` + +Σε ένα ελάχιστο ελάχιστο, αυτό είναι το μόνο που χρειάζεστε. Αν μεταβείτε σε λειτουργία επεξεργασίας, θα πρέπει να δείτε το μπλοκ που εμφανίζεται ως 'MY_EXAMPLE_BLOCK_MY_BLOCK' που μπορεί να συρθεί και να πέσει σε οποιαδήποτε θέση του μπλοκ. Αλλά αυτό το μπλοκ δεν κάνει τίποτα συναρπαστικό. Δεν έχει ρυθμίσεις και δεν μεταφράζει το όνομα του ταμπλό. Ας το κάνουμε πιο ενδιαφέρον. + +### Ρυθμίσεις Μπλοκ + +Ας τροποποιήσουμε τα blocks/my_block. hp αρχείο και να προσθέσετε μια μέθοδο "get_config" th στο επιστρέφει έναν πίνακα με τα πλήκτρα να είναι οι ρυθμίσεις μπλοκ και οι τιμές να είναι ένας πίνακας που περιγράφει τις ρυθμίσεις όπως έτσι: + +```php + /** + * @inheritdoc + */ + δημόσια συνάρτηση get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + πίνακας επιστροφής ( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false), + 'multi' => πίνακας ('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'αριθμός' => πίνακας ('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'προεπιλογή' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options'προεπιλογή' => '', 'append' => '
Εμφανίζονται μόνο όταν η επιλογή 1 είναι ενεργοποιημένη
'), + ); +} +``` + +Αυτό είναι κατασκευασμένο με τον ίδιο τρόπο που το phpBB χτίζει τη διαμόρφωση για τις ρυθμίσεις του πίνακα στα ACP. Μπορείτε να δείτε περισσότερα παραδείγματα [εδώ](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Αν θέλετε έναν προσαρμοσμένο τύπο πεδίου, μπορείτε να δείτε ένα παράδειγμα [εδώ](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) (ρύθμιση 'content_type'). + +Παρατηρήστε το 'legend1' και το 'legend2': Χρησιμοποιούνται για να διαχωρίσουν τις ρυθμίσεις σε καρτέλες. + +### Μπλοκ Ονόματος + +Η σύμβαση για τα ονόματα μπλοκ είναι ότι το όνομα της υπηρεσίας (π.χ. my.example.block. y*μπλοκ παραπάνω) θα χρησιμοποιηθεί ως κλειδί γλώσσας αντικαθιστώντας τις τελείες (.) με κάτω παύλα (*) (π.χ MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Μετάφραση + +Επίσης παρατηρήσετε ότι έχουμε πολλά κλειδιά γλώσσας που πρέπει να μεταφραστούν. Για να το κάνετε αυτό, δημιουργήστε ένα αρχείο με όνομα "blocks_admin.php" στο φάκελο γλώσσας σας. Αυτό το αρχείο θα φορτωθεί αυτόματα κατά την επεξεργασία μπλοκ και θα πρέπει να έχει μεταφράσεις για τις ρυθμίσεις μπλοκ και τα ονόματα μπλοκ. + +``` +$lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Επιλογή 1', + 'OTHER_LANG_VAR' => 'Επιλογή 2', + 'SOME_LANG_VAR_1' => 'Ρύθμιση 1', +.... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Ο Κύβος μου', +, ); +``` + +Επειδή το 'blocks_admin.php' φορτώνεται μόνο όταν επεξεργάζεστε μπλοκ, θα πρέπει να προσθέσετε άλλες μεταφράσεις (π.χ. αποκλείστε τον τίτλο) φορτώνοντας ένα αρχείο γλώσσας με τη μέθοδο εμφάνισης όπως αυτή `$language->add_lang('my_lang_file', 'my/example');` + +### Αποδίδοντας το μπλοκ + +Το νέο μπλοκ θα εμφανιστεί μόνο αν αποδίδει κάτι. Το μπλοκ σας μπορεί να επιστρέψει οποιαδήποτε συμβολοσειρά ως περιεχόμενο, αλλά στις περισσότερες περιπτώσεις, χρειάζεστε ένα πρότυπο για να αποδώσετε το περιεχόμενό σας. Για να εμφανίσετε το block σας χρησιμοποιώντας πρότυπα, το μπλοκ πρέπει να επιστρέψει έναν πίνακα που κρατά τα δεδομένα που θέλετε να περάσετε στο πρότυπο και πρέπει επίσης να εφαρμόσει τη μέθοδο `get_template` , όπως φαίνεται παρακάτω: + +```php + /** + * @inheritdoc + */ + δημόσια συνάρτηση get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + πίνακας επιστροφής ( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + δημόσια συνάρτηση get_ template() + { + επιστρέφει '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + εμφάνιση δημόσιας λειτουργίας (πίνακας $data, $edit_mode = false) + { + if ($edit_mode) + { + // do something only in edit mode + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'δεδομένα' => πίνακας ( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Στη συνέχεια, το αρχείο styles/all/my_block.html ή στυλ/prosilver/my_block.html μπορεί να μοιάζει κάπως έτσι: + +``` +

Επιλέξατε: {{ some_var }}

+``` + +Συνοπτικά, το ταμπλό σας πρέπει να επιστρέψει έναν πίνακα με ένα `κλειδί τίτλου` (για τον τίτλο του μπλοκ) και ένα κλειδί `περιεχομένου` (αν το μπλοκ εμφανίζει απλά μια συμβολοσειρά και δεν χρησιμοποιεί ένα πρότυπο) ή ένα κλειδί `δεδομένων` (αν το μπλοκ χρησιμοποιεί ένα πρότυπο, σε ποια περίπτωση, θα χρειαστεί επίσης να εφαρμόσετε τη μέθοδο `get_template`). + +### Αποκλεισμός Περιουσιακών Στοιχείων + +Αν το μπλοκ σας χρειάζεται να προσθέσει περιουσιακά στοιχεία (css/js) στη σελίδα, συνιστώ τη χρήση της κλάσης [util](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) του sitemaker για αυτό. Δεδομένου ότι μπορεί να υπάρχουν περισσότερες από μία περιπτώσεις του ίδιου μπλοκ στη σελίδα, ή άλλα μπλοκ μπορεί να προσθέτουν το ίδιο περιουσιακό στοιχείο, η κλάση util εξασφαλίζει ότι το περιουσιακό στοιχείο προστίθεται μόνο αυτά. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some. s', + 100 => '@my_example/assets/other. s', // ορισμός προτεραιότητας + ), + 'css' => array( + '@my_example/assets/some. ss', + ) +)); +``` + +Η κλάση util θα πρέπει, φυσικά, να προστεθεί στους ορισμούς των υπηρεσιών σας στο config.yml όπως τόσο: `- '@blitze.sitemaker. til'` και ορίστηκε στον κατασκευαστή του block's `\blitze\sitemaker\services\util $util`. + +Και αυτό είναι όλο. Είμαστε έτοιμοι! diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/dev/theming.md b/website/i18n/el/docusaurus-plugin-content-docs/current/dev/theming.md new file mode 100644 index 000000000000..c41df6579886 --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/dev/theming.md @@ -0,0 +1,62 @@ +--- +title: Θέμα +sidebar_position: 3 +--- + +Κατανοούμε ότι τα αρχεία προτύπων και τα αρχεία JS/CSS δεν θα λειτουργούν για κάθε στυλ, έτσι παρακάτω είναι μερικοί τρόποι με τους οποίους μπορείτε να χρησιμοποιήσετε τα δικά σας πρότυπα και να δημιουργήσετε αρχεία JS/CSS για το συγκεκριμένο στυλ σας. + +## Χρησιμοποιώντας το δικό σας πρότυπο + +Αν τα προεπιλεγμένα πρότυπα που έρχονται με το phpBB Sitemaker δεν λειτουργούν καλά για το συγκεκριμένο στυλ σας, μπορείτε εύκολα να το αντικαταστήσετε για να χρησιμοποιήσετε το δικό σας πρότυπο αρχείο δημιουργώντας το αντίστοιχο αρχείο στο φάκελο του στυλ σας. + +Για παράδειγμα, λένε ότι το στυλ σας ονομάζεται `Backlash` και έχει ένα συγκεκριμένο τρόπο με τον οποίο ο κώδικας HTML για την ενότητα κεφαλίδας μπλοκ πρέπει να δομηθεί για την [boxed προβολή](/docs/user/blocks/block-views). Μπορείτε να αντικαταστήσετε αυτό το συγκεκριμένο πρότυπο δημιουργώντας ένα αρχείο με το ίδιο όνομα όπως τόσο: `phpBB/ext/blitze/sitemaker/styles/Backlash/template/views/boxed_view.twig`. + +Με άλλα λόγια, για να χρησιμοποιήσετε το δικό σας αρχείο πρότυπο, πρέπει να: +* Προσδιορίστε ποιο αρχείο phpBB Sitemaker πρέπει να αντικατασταθεί +* Δημιουργήστε ένα αρχείο με το ίδιο όνομα στο φάκελο `στυλ Sitemaker` κάτω από το όνομα στυλ σας + +> Σημείωση: Αν δημιουργήσετε τα δικά σας αρχεία προτύπων, να είστε βέβαιος να μην διαγράψει το φάκελο `phpbb/ext/blitze/sitemaker` κατά την ενημέρωση της επέκτασης, καθώς τα προσαρμοσμένα αρχεία σας θα διαγραφούν. Μάλλον, απλά αντικαταστήστε τα υπάρχοντα αρχεία με τα νέα. + +## Δημιουργία αρχείων JS/CSS για το στυλ σας + +Σημείωση: +* Για τους σκοπούς των παρακάτω οδηγιών θα υποθέσουμε ότι έχετε ένα στυλ που ονομάζεται my-style. + +Κλωνοποίηση στο phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Από τη γραμμή εντολών πηγαίνετε στον κατάλογο sitemaker: + + cd phpBB/ext/blitze/sitemaker + +**Εγκατάσταση προμηθευτών** + + εγκατάσταση συνθέτη + +**Εγκατάσταση πακέτων** + +Για τις παρακάτω εντολές μπορείτε να χρησιμοποιήσετε npm ή [νήματα](https://yarnpkg.com) + + εγκατάσταση νήματος + +**Παρακολούθηση Αλλαγών** + + έναρξη νήματος --theme my-style + +**Δημιουργία Αλλαγών** + +* Κάντε τις αλλαγές σας σε αρχεία στο phpBB/ext/blitze/sitemaker/develop φάκελο. +* Κοιτάξτε το phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss για sass μεταβλητές + +**Κατασκευή Αντικειμένων** + + νήματα χτίζουν --θέμα my-style + +**Ανάπτυξη** + +Τώρα μπορείτε να αντιγράψετε τα αρχεία που δημιουργούνται από το phpBB/ext/blitze/sitemaker/styles/my-style και να τα ανεβάσετε στο διακομιστή παραγωγής σας. + +> Αυτή η επέκταση χρησιμοποιεί jQuery UI για καρτέλες, διαλόγους και κουμπιά. Το προεπιλεγμένο jQuery θέμα είναι 'ομαλότητα'. Μπορείτε να χρησιμοποιήσετε ένα διαφορετικό θέμα διεπαφής χρήστη jQuery που ταιριάζει καλύτερα στο θέμα σας. Μπορείτε να καθορίσετε το θέμα διεπαφής χρήστη jQuery χρησιμοποιώντας τη σημαία --jq_ui_theme. Για παράδειγμα: + + yarn build --theme my-style --jq_ui_theme ui-lightness diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/intro/_category_.json b/website/i18n/el/docusaurus-plugin-content-docs/current/intro/_category_.json new file mode 100644 index 000000000000..c77abd5d8549 --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/intro/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Ξεκινώντας", + "position": 1 +} diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/intro/installation.md b/website/i18n/el/docusaurus-plugin-content-docs/current/intro/installation.md new file mode 100644 index 000000000000..3ee1e63e1577 --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/intro/installation.md @@ -0,0 +1,16 @@ +--- +title: "Εγκατάσταση / Αναβάθμιση" +sidebar_position: 2 +--- + +Κατεβάστε την επέκταση από [εδώ](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker +* Εξάγετε και ανεβάστε το στο φάκελο phpBB/ext/ έτσι έχετε το phpBB/ext/blitze/sitemaker +* Πηγαίνετε στο "ACP" > "Προσαρμογή" > "Επεκτάσεις" και ενεργοποιήστε την επέκταση "phpBB Sitemaker". + +## Αναβάθμιση του phpBB SiteMaker +* Δημιουργήστε ένα αντίγραφο ασφαλείας της βάσης δεδομένων σας μόνο σε περίπτωση που κάτι πάει στραβά +* Πηγαίνετε στο "ACP" > "Προσαρμογή" > "Επεκτάσεις" και απενεργοποιήστε (μην καθαρίσετε) "phpBB Sitemaker" +* Κατεβάστε και εξαγάγετε την τελευταία έκδοση του phpBB SiteMaker και ανεβάστε το στο phpBB/ext/ φάκελο σας (αντικατάσταση) +* Πηγαίνετε στο "ACP" > "Προσαρμογή" > "Επεκτάσεις" και ενεργοποιήστε την επέκταση "phpBB Sitemaker". diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/intro/introduction.md b/website/i18n/el/docusaurus-plugin-content-docs/current/intro/introduction.md new file mode 100644 index 000000000000..38cc9bf5c74f --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/intro/introduction.md @@ -0,0 +1,6 @@ +--- +title: Εισαγωγή +sidebar_position: 1 +--- + +phpBB SiteMaker επιδιώκει να μετατρέψει την πλακέτα phpBB σας σε ένα CMS/portal. Αυτό το κάνει με την παροχή σας με μπλοκ και μενού για να σας βοηθήσει να προσαρμόσετε το site σας σύμφωνα με τις προτιμήσεις σας. Υπάρχουν ή θα είναι άλλες επεκτάσεις SiteMaker που παρέχουν πρόσθετη λειτουργικότητα για την επίτευξη αυτού του στόχου. Σας επιτρέπει επίσης να ορίσετε μια σελίδα προορισμού όταν το site σας είναι προσβάσιμο. Έτσι, αν δεν θέλετε οι επισκέπτες στο site σας να δουν αμέσως το φόρουμ phpBB όταν πηγαίνουν στο www. our-site.com, μπορείτε να ορίσετε τη δική σας σελίδα έναρξης. diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/user/_category_.json b/website/i18n/el/docusaurus-plugin-content-docs/current/user/_category_.json new file mode 100644 index 000000000000..8a9374162ea0 --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/user/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Οδηγός Χρήσης", + "position": 2 +} diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/user/blocks/_category_.json b/website/i18n/el/docusaurus-plugin-content-docs/current/user/blocks/_category_.json new file mode 100644 index 000000000000..15800b88d938 --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/user/blocks/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Μπλοκ", + "position": 1 +} diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/user/blocks/block-views.md b/website/i18n/el/docusaurus-plugin-content-docs/current/user/blocks/block-views.md new file mode 100644 index 000000000000..33bad0de7a57 --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/user/blocks/block-views.md @@ -0,0 +1,6 @@ +--- +title: Αποκλεισμός Προβολών +sidebar_position: 2 +--- + +Εργασία σε εξέλιξη... \ No newline at end of file diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md b/website/i18n/el/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md new file mode 100644 index 000000000000..db90f9ce4137 --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md @@ -0,0 +1,24 @@ +--- +title: Προσαρμοσμένο Μπλοκ +sidebar_position: 4 +--- + +Εάν τα διαθέσιμα μπλοκ δεν σας δίνουν την ελευθερία που χρειάζεστε, υπάρχει το `Προσαρμοσμένο Block` που σας επιτρέπει την ελευθερία να εμφανίζετε το δικό σας περιεχόμενο χρησιμοποιώντας BBcode ή HTML. Το μπλοκ έρχεται με έναν επεξεργαστή WYSIWYG (TinyMCE) και έναν διευθυντή σεναρίων: + +## Ο επεξεργαστής κειμένου + +- Μπορείτε να χρησιμοποιήσετε τον επεξεργαστή για να δημιουργήσετε περιεχόμενο HTML +- You can edit the source code if you need that level of control by clicking on the `Source code` icon (`<>`) in the editor +- Ο επεξεργαστής σας επιτρέπει να ανεβάσετε και να τροποποιήσετε εικόνες + - Δημιουργεί ένα νέο φάκελο στο phpBB/images/sitemaker_uploads/ για κάθε χρήστη που έχει πρόσβαση σε αυτό + - Μπορείτε να δείτε/διαχειριστείτε όλους τους φακέλους χρηστών +- Ο επεξεργαστής φιλτράρει τυχόν επικίνδυνα σενάρια όπως javascript, κλπ. Αν χρειαστεί να προσθέσετε περιεχόμενο, όπως το google διαφημίσεις, το javascript θα φιλτραριστούν, αλλά μπορείτε να πάρετε γύρω από αυτό κάνοντας τα εξής: + - Προσθέστε το προσαρμοσμένο μπλοκ στην επιθυμητή τοποθεσία + - Επεξεργαστείτε το Προσαρμοσμένο Φραγμό, κάντε κλικ στην καρτέλα `HTML` και επικολλήστε το Javascript σας + +## Ο Διαχειριστής Σεναρίων + +Το Προσαρμοσμένο Block σας επιτρέπει επίσης να προσθέσετε προσαρμοσμένα αρχεία CSS και Javascript στη σελίδα σας. Για να το κάνετε αυτό: + +- Πρόσθεσε ένα `Προσαρμοσμένο Block` σε οποιαδήποτε θέση μπλοκ. Η θέση δεν έχει σημασία αν δεν εμφανίζετε επίσης περιεχόμενο με το block +- Επεξεργασία του μπλοκ, κάντε κλικ στην καρτέλα `Scripts` και προσθέστε τα αρχεία CSS ή Javascript > Word της προσοχής: Προσθέτοντας πολλά σενάρια στη σελίδα σας μπορεί να επηρεάσει τις ώρες φόρτωσης diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md b/website/i18n/el/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md new file mode 100644 index 000000000000..5797a03af5ab --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md @@ -0,0 +1,51 @@ +--- +title: Διαχείριση Κύβων +sidebar_position: 3 +--- + +Για να διαχειριστείτε τα μπλοκ σε phpBB SiteMaker, πρέπει να είστε σε [Λειτουργία Επεξεργασίας](./overview#edit-mode). + +> Όταν ένα μπλοκ δεν εμφανίζει οποιοδήποτε περιεχόμενο, δεν θα εμφανίζεται, εκτός από τη λειτουργία επεξεργασίας. Με αυτόν τον τρόπο, μπορείτε είτε να του δώσετε περιεχόμενο (στην περίπτωση του Προσαρμοσμένου μπλοκ) είτε να αλλάξετε τις ρυθμίσεις του. + +> Σε λειτουργία επεξεργασίας, τα κάπως διαφανή μπλοκ είναι μπλοκ που διαφορετικά δεν θα εμφανίζονται, αλλά εμφανίζονται μόνο επειδή είμαστε σε λειτουργία επεξεργασίας + +## Προσθήκη μπλοκ +Μπορείτε να προσθέσετε μπλοκ σε οποιαδήποτε σελίδα με μέτωπο εκτός από τον Πίνακα Ελέγχου Χρήστη και τον Πίνακα Ελέγχου Συντονιστή. Για να προσθέσετε ένα μπλοκ, θα πρέπει να: +* κάντε κλικ στο **μπλοκ** στη γραμμή διαχειριστή. Αυτό θα εμφανίσει μια λίστα με τα διαθέσιμα μπλοκ +* Σύρετε και αφήστε το επιθυμητό μπλοκ σε οποιαδήποτε θέση μπλοκ + +## Επεξεργασία μπλοκ +### Προσθήκη εικονιδίου μπλοκ +Στα αριστερά του τίτλου μπλοκ (prosilver), υπάρχει ένα πλαίσιο για το εικονίδιο μπλοκ. Κάντε κλικ σε αυτό το πλαίσιο για να πάρετε τον επιλογέα εικονιδίων. Μπορείτε να επιλέξετε το μέγεθος του εικονιδίου, χρώμα, πλωτήρα, περιστροφή, κλπ. + +### Επεξεργασία τίτλου μπλοκ +Τα μπλοκ phpBB SiteMaker θα έχουν προεπιλεγμένο, μεταφρασμένο τίτλο, αλλά αν ο τίτλος δεν ικανοποιεί τις ανάγκες σας, μπορείτε να τα αλλάξετε. Για να επεξεργαστείτε τον τίτλο του ταμπλό, +* Κάντε κλικ στον τίτλο του ταμπλό για να πάρετε μια ενσωματωμένη φόρμα επεξεργασίας +* Αλλάξτε τον τίτλο σε ό, τι θέλετε +* Αφαιρέστε την εστίαση από το πεδίο ή πατήστε enter για να υποβάλετε αλλαγές + +> Ο τροποποιημένος τίτλος δεν έχει μεταφραστεί + +> Για να επιστρέψετε στον προεπιλεγμένο τίτλο, απλά διαγράψτε τον τίτλο και πατήστε enter + +### Επεξεργασία ρυθμίσεων ταμπλό +Όταν τοποθετείτε το ποντίκι πάνω από ένα μπλοκ, θα εμφανιστεί ένα εικονίδιο γραναζιού στα δεξιά του μπλοκ που μπορεί να χρησιμοποιηθεί για την επεξεργασία του μπλοκ. Στο διάλογο επεξεργασίας μπλοκ, μπορείτε: +- Ενεργοποίηση/απενεργοποίηση μπλοκ [Status] +- Επιλέξτε όταν το μπλοκ πρέπει/δεν πρέπει να εμφανίζεται [Display]. Αυτό ισχύει μόνο στις περιπτώσεις που έχετε ένθετες σελίδες (βλ. [Κατανόηση Κληρονομιάς μπλοκ](/docs/user/site/block-inheritance)): + - **Πάντα**: Να εμφανίζεται πάντα το μπλοκ + - **Απόκρυψη σε θυγατρικές διαδρομές**: Εμφάνιση μόνο αυτού του μπλοκ στη γονική διαδρομή + - **Εμφάνιση μόνο σε θυγατρικές διαδρομές**: Εμφάνιση μόνο αυτού του μπλοκ σε μια θυγατρική διαδρομή +- Επιλέξτε ποιες ομάδες χρηστών μπορούν να δουν το block [Προβολή από]. Χρησιμοποιήστε CTRL + κλικ για να επιλέξετε πολλαπλές ομάδες. +- Ορίστε προσαρμοσμένες κλάσεις για να τροποποιήσετε την εμφάνιση του μπλοκ ή των αντικειμένων (λίστες, εικόνες, φόντο, κλπ) μέσα στο μπλοκ [κατηγορία CSS] +- Εμφάνιση/απόκρυψη τίτλου μπλοκ [Απόκρυψη τίτλου μπλοκ?] +- Επιλέξτε την προβολή ταμπλό [προβολή μπλοκ]. Μπορείτε να επιλέξετε μια προεπιλεγμένη προβολή μπλοκ όταν προστίθενται νέα μπλοκ σε ACP. + - **Προεπιλογή / Απλό**: χρησιμοποιεί την κλάση πάνελ prosilver για να τυλίξει το μπλοκ σε ένα γεμισμένο δοχείο + - **Basic**: το μπλοκ δεν το περιτυλίγει με κανένα δοχείο + - **Boxed**: χρησιμοποιεί την κλάση forabg για να τυλίξει το μπλοκ σε ένα κουτί +- Ορισμός / Ενημέρωση συγκεκριμένων ρυθμίσεων μπλοκ +- Εάν έχετε το ίδιο μπλοκ με τις ίδιες ρυθμίσεις σε πολλαπλές σελίδες, μπορείτε να τα ενημερώσετε όλα ταυτόχρονα, ελέγχοντας το **Ενημέρωση μπλοκ με παρόμοιες ρυθμίσεις** + +## Διαγραφή μπλοκ +- Τοποθετήστε πάνω από το μπλοκ που θα θέλατε να διαγράψετε +- Κάντε κλικ στο εικονίδιο **x** και επιβεβαιώστε ότι θέλετε να διαγράψετε το μπλοκ +- Πηγαίνετε στη γραμμή διαχείρισης και κάντε κλικ στο `Αποθήκευση αλλαγών` diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/user/blocks/overview.md b/website/i18n/el/docusaurus-plugin-content-docs/current/user/blocks/overview.md new file mode 100644 index 000000000000..764c212f4f83 --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/user/blocks/overview.md @@ -0,0 +1,9 @@ +--- +title: Τι είναι τα μπλοκ? +sidebar_position: 1 +--- + +Στην καρδιά του phpBB SiteMaker είναι η έννοια των μπλοκ. Τα μπλοκ είναι μικρά κομμάτια περιεχομένου που μπορείτε να τοποθετήσετε σε διαφορετικές προκαθορισμένες περιοχές (θέσεις μπλοκ) στον ιστότοπό σας. Τα μπλοκ συνήθως έχουν τις ρυθμίσεις που μπορείτε να ορίσετε/αλλάξετε για να ρυθμίσετε λεπτομερώς το περιεχόμενο που θέλετε να εμφανίσετε. Τα περισσότερα μπλοκ, αλλά όχι όλα, θα κάνουν ερωτήματα σε βάση δεδομένων για να πάρετε το επιθυμητό περιεχόμενο. Ας μην τρελαθούμε λοιπόν πάρα πολύ :). Για να διαχειριστείτε τα μπλοκ, θα πρέπει να μεταβείτε σε "λειτουργία επεξεργασίας". + +## Λειτουργία Επεξεργασίας +Ενεργοποιήστε τη λειτουργία επεξεργασίας κάνοντας κλικ στο εικονίδιο του μολυβιού στην επάνω δεξιά γωνία του ιστοτόπου σας. Αυτό θα εμφανίσει τη γραμμή "Admin bar" με τα στοιχεία μενού "Blocks" και "Ρυθμίσεις". Αυτό αναφέρεται ως "κατάσταση επεξεργασίας". diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/user/menus/_category_.json b/website/i18n/el/docusaurus-plugin-content-docs/current/user/menus/_category_.json new file mode 100644 index 000000000000..4259794d53ee --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/user/menus/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Menus", + "position": 2 +} diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md b/website/i18n/el/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md new file mode 100644 index 000000000000..3ec59f026327 --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md @@ -0,0 +1,15 @@ +--- +title: Εμφάνιση Μενού +sidebar_position: 3 +--- + +Τώρα που έχετε δημιουργήσει τα μενού σας, μπορείτε να τα εμφανίσετε με διάφορους τρόπους: + +## Μπλοκ Συνδέσμων +Μπορείτε να χρησιμοποιήσετε αυτό το μπλοκ για να εμφανίσετε μια επίπεδη ή εμφωλευμένη λίστα από στοιχεία μενού. Αυτό το μπλοκ δεν προορίζεται να χρησιμοποιηθεί για πλοήγηση, δηλαδή δεν θα εμφανίζει μια τρέχουσα σελίδα ή κάτι τέτοιο. Προορίζεται για κατάλογο στοιχείων, συμπεριλαμβανομένων των εξωτερικών συνδέσμων. + +## Μπλοκ Μενού +Αυτό το μπλοκ προορίζεται για την πλοήγηση ιστοσελίδων. Κάνει μερικές επιπλέον υπολογισμούς για να καθορίσει την τρέχουσα θέση και δεν προορίζεται να είναι μια πολύ μεγάλη λίστα. + +## Γραμμή πλοήγησης +Παρόμοια με το μπλοκ μενού, η γραμμή πλοήγησης θα εμφανίσει τα στοιχεία μενού ως αναπτυσσόμενο μενού που ανταποκρίνεται για την πλοήγηση ιστοσελίδα. Μπορείτε να το ενεργοποιήσετε σε ACP > Επεκτάσεις > Sitemaker > Ρυθμίσεις > Επιλέξτε μενού diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md b/website/i18n/el/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md new file mode 100644 index 000000000000..2f279eb0e45f --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md @@ -0,0 +1,30 @@ +--- +title: Διαχείριση Στοιχείων Μενού +sidebar_position: 2 +--- + +Το μενού σας είναι άχρηστο εκτός αν έχει στοιχεία μενού. Μπορείτε να προσθέσετε στοιχεία μενού που οδηγούν σε τοπικά ή εξωτερικά αρχεία. + +> Η διεύθυνση URL για τις εξωτερικές τοποθεσίες πρέπει να ξεκινά με http(s)://, ftp://, //, κλπ. + +> Μπορείτε να δημιουργήσετε ένα διαχωριστικό εισάγοντας '-' ως τίτλο του αντικειμένου + +## Προσθήκη στοιχείων μενού +Μπορείτε να προσθέσετε στοιχεία μενού ένα στοιχείο κάθε φορά, ή μπορείτε να προσθέσετε πολλαπλά στοιχεία μενού σε αυτά. + +### Προσθήκη στοιχείων ενός μενού +Για να προσθέσετε ένα στοιχείο μενού, +* κάντε κλικ στο `Προσθήκη στοιχείου μενού` κουμπί +* Συμπληρώστε τις απαιτούμενες πληροφορίες και πατήστε `Αποθήκευση` + +### Προσθήκη πολλαπλών στοιχείων +Για να προσθέσετε πολλαπλά στοιχεία μενού ταυτόχρονα, +* Κάντε κλικ στο κάτω βέλος εικονίδιο δίπλα στο `Προσθήκη στοιχείου μενού` +* Μπορείτε να προσθέσετε στοιχεία με μη αυτόματο τρόπο, τοποθετώντας κάθε στοιχείο σε μια νέα γραμμή και χρησιμοποιώντας τα στοιχεία φωλιάς χαρακτήρων καρτέλας ή +* Μπορείτε να κάνετε κλικ σε μία από τις παρεχόμενες επιλογές στο κάτω μέρος του textarea για να συμπληρώσετε αυτόματα τα στοιχεία του μενού + +## Αναδιάταξη των στοιχείων μενού +Μπορείτε να σύρετε και να αποθέσετε τα στοιχεία μενού πάνω/κάτω για να ορίσετε την σειρά εμφάνισης τους ή να τα σύρετε αριστερά/δεξιά για να ορίσετε την επιθυμητή ιεραρχία. + +## Ανοικοδόμηση στοιχείων μενού +Αν διαπιστώσετε ότι τα στοιχεία μενού δεν εμφανίζονται σωστά, κάντε κλικ στο κουμπί `Αναδόμηση Δέντρου` για να ξαναδημιουργήσετε τα στοιχεία του μενού. diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md b/website/i18n/el/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md new file mode 100644 index 000000000000..8f9e3f33829e --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md @@ -0,0 +1,24 @@ +--- +title: Διαχείριση Μενού +sidebar_position: 1 +--- + +Μπορείτε να δημιουργήσετε μενού στις χώρες ΑΚΕ που μπορείτε να εμφανίσετε χρησιμοποιώντας τα μενού ή τα μπλοκ συνδέσμων ή να εμφανίζεται ως οριζόντια γραμμή πλοήγησης. + +## Διαχείριση Μενού + +Για να διαχειριστείτε τα μενού, πηγαίνετε στο ACP > Επεκτάσεις > Sitemaker > Μενού + +### Δημιουργία Μενού +Για να δημιουργήσετε ένα νέο μενού (ομάδα), κάντε κλικ στο `Προσθήκη μενού`. Μια νέα ομάδα μενού θα δημιουργηθεί με ένα τυχαίο όνομα. Το νέο μενού θα επιλεγεί επίσης ώστε να μπορείτε να αρχίσετε να προσθέτετε στοιχεία μενού σε αυτό. + +### Επεξεργασία Μενού +Αν θέλετε ένα πιο σημαντικό όνομα μενού, +* τοποθετήστε πάνω από το όνομα του μενού και κάντε κλικ στο εικονίδιο του γραναζιού +* εισάγετε το νέο όνομα μενού και πατήστε το enter για να το ενημερώσετε + +### Διαγραφή Μενού +Για να διαγράψετε ένα μενού και τα στοιχεία του, +* Τοποθετήστε το όνομα του μενού και κάντε κλικ στο εικονίδιο **x** +* Εάν το στοιχείο μενού δεν έχει θυγατρικά στοιχεία, θα πρέπει να επιβεβαιώσετε την επιλογή σας για να διαγράψετε το στοιχείο +* Αν το στοιχείο μενού έχει θυγατρικά στοιχεία, Θα χρειαστεί να υποδείξουμε αν θέλουμε να διαγράψουμε μόνο το στοιχείο και να μετακινήσουμε τα θυγατρικά του επάνω ή αν θέλουμε να διαγράψουμε ολόκληρο τον κλάδο diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/user/site/_category_.json b/website/i18n/el/docusaurus-plugin-content-docs/current/user/site/_category_.json new file mode 100644 index 000000000000..e0d3fb5aba16 --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/user/site/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Χτίζοντας το site σας", + "position": 3 +} diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md b/website/i18n/el/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md new file mode 100644 index 000000000000..34a0e0626413 --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md @@ -0,0 +1,46 @@ +--- +title: Κληρονομικότητα Μπλοκ +sidebar_position: 5 +--- + +Έχουμε ήδη δει ότι ορίζοντας μια προεπιλεγμένη διάταξη, άλλες σελίδες που δεν έχουν δικά τους μπλοκ θα κληρονομήσουν τα μπλοκ από την προεπιλεγμένη διάταξη. Υπάρχει, ωστόσο, ένας άλλος τύπος παρωχημένης κληρονομιάς. + +## Γονικές/Παιδικές Διαδρομές +Στο phpBB SiteMaker, μιλάμε για ένθετες διαδρομές από την άποψη των πραγματικών ένθετων (sub) καταλόγων ή σχεδόν ένθετα μονοπάτια / διαδρομές. Παρακαλώ μείνετε μαζί μου :). +* Real Parent/Child routes: Για παράδειγμα, η διαδρομή /some_directory/sub_directory/index.php είναι παιδί του /some_directory/index.php +* Virtual Parent/Child routes: Για παράδειγμα, το viewtopic.php αντιμετωπίζεται ως παιδί του viewforum.php. + +Εδώ είναι μερικά παραδείγματα γονέων/παιδιού διαδρομές: + +| Γονικός | Παιδί | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/my-article | + +## Κληρονομικότητα Σε Γονέα/Παιδί +Για διαδρομές γονέας/παιδιού, η παιδική διαδρομή κληρονομεί τα μπλοκ της γονικής διαδρομής (αν ο γονέας έχει τα δικά του μπλοκ) ή από την προεπιλεγμένη διάταξη (αν έχει οριστεί κάποιο). Με άλλα λόγια, ακόμη και αν υπάρχει μια προεπιλεγμένη διάταξη, η παιδική διαδρομή θα κληρονομήσει μπλοκ από τη γονική διαδρομή αν η γονική διαδρομή έχει τα δικά της μπλοκ. Αλλά δεν πρέπει να κληρονομούνται όλα τα μπλοκ από τη γονική διαδρομή. + +## Έλεγχος Κληρονομιάς Μπλοκ +Σε επίπεδο μπλοκ, μπορείς να ελέγξεις πότε ένα μπλοκ μπορεί να κληρονομηθεί από παιδικές διαδρομές. Το αγγίξαμε αυτό νωρίτερα στις [Ρυθμίσεις Επεξεργασίας Block](/docs/user/blocks/managing-blocks#editing-block-settings). + +Εξετάστε την ακόλουθη πραγματική δομή καταλόγου: +```text +phpBB +- index.php +- Ταινίες / + - index.php + - page.php + - Comedy/ + +``` + +Για τους σκοπούς της κληρονομίας μπλοκ, λέμε: +* Η μητρική διαδρομή του /phpBB/Movies/Comedy/index.php είναι /phpBB/Movies/index.php και όχι /phpBB/Movies/page.php +* Όλες οι σελίδες σε έναν υποκατάλογο σε σχέση με το /phpBB/index.php είναι μια θυγατρική διαδρομή του /phpBB/index.php. Έτσι, το /phpBB/Movies/index.php και το /phpBB/Movies/page.php είναι όλα τα παιδιά του /phpBB/index.php και θα κληρονομήσει τα μπλοκ του αν δεν έχουν δικά τους μπλοκ. Στην περίπτωση αυτή: + * Όταν ένα μπλοκ στο /phpBB/index.php είναι ρυθμισμένο να εμφανίζεται στο **Απόκρυψη σε θυγατρικές διαδρομές**, το μπλοκ θα εμφανίζεται στο /phpBB/index. hp (γονική διαδρομή) αλλά όχι στις παιδικές διαδρομές της + * Όταν ένα μπλοκ στο /phpBB/index.php είναι ρυθμισμένο να εμφανίζεται στο **Εμφάνιση μόνο σε θυγατρικές διαδρομές**, θα εμφανίζεται στο /phpBB/Ταινίες/index. hp and /phpBB/Movies/page.php (child routes) but not on /phpBB/index.php (parent), nor /phpBB/Movies/Comedy/index.php (πηγαίνουμε μόνο ένα επίπεδο βαθιά) + * Όταν ένα block on /phpBB/index.php είναι ρυθμισμένο να εμφανίζει **πάντα** (προεπιλογή), θα εμφανίζεται στο /phpBB/index. hp (parent), /phpBB/Movies/index.php and /phpBB/page.php (child routes) αλλά όχι on /phpBB/Movies/Comedy/index.php (πηγαίνουμε μόνο ένα επίπεδο βαθιά). Σε αυτή την περίπτωση, το /phpBB/Movies/Comedy/index.php θα κληρονομήσει από την προεπιλεγμένη διαδρομή (αν υπάρχει) + +## Πιθανή Μελλοντική Κατάσταση +Ενδιαφέρομαι πραγματικά για τα σχόλιά σας σε αυτόν τον τομέα. Οι περισσότεροι χρήστες phpBB δεν θα έχουν πραγματικούς καταλόγους όπως περιγράφεται παραπάνω. Έτσι σκέφτομαι τη χρήση της δομής που ορίζεται σε ένα μπλοκ μενού ως μια δομή εικονικού καταλόγου και να εφαρμόσει αυτή την κληρονομιά γονέας/παιδιού σε αυτό. Επίσης, σκέφτομαι να πάω πέρα από ένα επίπεδο βαθιά. Παρακαλώ επιτρέψτε μου να ξέρω αν αυτό θα είναι χρήσιμο για σας. \ No newline at end of file diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md b/website/i18n/el/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md new file mode 100644 index 000000000000..5290475548bc --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md @@ -0,0 +1,6 @@ +--- +title: Προσαρμογή Οθόνης Μπλοκ +sidebar_position: 6 +--- + +Εργασία σε εξέλιξη... \ No newline at end of file diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/user/site/default-layout.md b/website/i18n/el/docusaurus-plugin-content-docs/current/user/site/default-layout.md new file mode 100644 index 000000000000..67231ffda03f --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/user/site/default-layout.md @@ -0,0 +1,21 @@ +--- +title: Ορισμός μιας προκαθορισμένης διάταξης +sidebar_position: 4 +--- + +Όταν προσθέτετε ένα μπλοκ, προστίθεται σε αυτή τη συγκεκριμένη σελίδα. Ως εκ τούτου, θα ήταν ένα κουραστικό καθήκον να θέσει μπλοκ για όλες τις σελίδες στην ιστοσελίδα σας. Μπορείτε να ορίσετε όλα τα επιθυμητά μπλοκ για μια συγκεκριμένη σελίδα, και στη συνέχεια να ορίσετε αυτή τη σελίδα ως την προεπιλεγμένη διάταξη. Με άλλα λόγια, οποιαδήποτε σελίδα δεν έχει δικά της μπλοκ, θα κληρονομήσει μπλοκ από αυτή τη σελίδα. + +Για να ορίσετε μια προεπιλεγμένη διάταξη +* Πηγαίνετε στη σελίδα που θα θέλατε να ορίσετε ως προεπιλεγμένη διάταξη +* Κάντε κλικ στο `Ρυθμίσεις` στη γραμμή διαχείρισης +* Κάντε κλικ στο κουμπί `Ορισμός ως προεπιλεγμένη διάταξη` + +Πείτε ότι προσθέτουμε μπλοκ σε μια σελίδα (phpBB/index.php) με μπλοκ στην πλαϊνή μπάρα και στις κορυφαίες θέσεις, για παράδειγμα, και ορίστε την ως προεπιλεγμένη διάταξη μας. Αυτό έχει τα ακόλουθα αποτελέσματα για άλλες σελίδες: +* Οποιαδήποτε σελίδα δεν έχει δικά της μπλοκ, θα κληρονομήσει τα μπλοκ από την προεπιλεγμένη διάταξη. Βλ. [Κατανόηση της Κληρονομιάς](/docs/user/site/block-inheritance) για εξαιρέσεις. +* Μπορείτε ακόμα να κληρονομήσετε μπλοκ από μια προεπιλεγμένη διάταξη (δείκτη. hp) αλλά επιλέξτε να μην εμφανίζονται μπλοκ σε κάποιες θέσεις μπλοκ ή να μην εμφανίζονται καθόλου μπλοκ. Για να το κάνετε αυτό, + * Πηγαίνετε στη σελίδα που δεν θέλετε να εμφανίζονται όλα / μερικά μπλοκ + * Κάντε κλικ στο `Ρυθμίσεις` στη γραμμή διαχείρισης + * Επιλέξτε `Μην εμφανίζετε μπλοκ σε αυτή τη σελίδα` αν δεν θέλετε να κληρονομείτε/εμφανίσετε τυχόν μπλοκ σε αυτή τη σελίδα Ή + * Χρησιμοποιήστε CTRL + κλικ για να επιλέξετε τις θέσεις μπλοκ (στα δεξιά) που δεν θέλετε να εμφανίσετε μπλοκ +* Σε `λειτουργία επεξεργασίας`, μια σελίδα που κληρονομεί μπλοκ από την προεπιλεγμένη διάταξη, δεν θα εμφανίσει κανένα μπλοκ, δίνοντάς σας την ευκαιρία να προσθέσετε μπλοκ στη σελίδα αν θέλετε να +* Οποιαδήποτε σελίδα έχει δικά της μπλοκ δεν θα κληρονομήσει από την προεπιλεγμένη διάταξη diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/user/site/layouts.md b/website/i18n/el/docusaurus-plugin-content-docs/current/user/site/layouts.md new file mode 100644 index 000000000000..fa30e04c4250 --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/user/site/layouts.md @@ -0,0 +1,31 @@ +--- +title: Διατάξεις +sidebar_position: 1 +--- + +"Διατάξεις" καθορίζουν τις διαθέσιμες θέσεις μπλοκ και πώς εμφανίζονται. + +## Αποκλεισμός Θέσεων +Οι θέσεις μπλοκ είναι προκαθορισμένες περιοχές στο site σας όπου μπορεί να υπάρχουν μπλοκ. Οι διαθέσιμες θέσεις μπλοκ καθορίζονται από το στυλ προτύπου που χρησιμοποιείτε. Για prosilver, phpBB SiteMaker έρχεται με τις ακόλουθες θέσεις μπλοκ: +* πίνακας: πλήρες πλάτος σε όλη την κορυφή +* πλαϊνή μπάρα: αριστερά/δεξιά ανάλογα με τη διάταξη παρακάτω +* δευτερεύον περιεχόμενο: παρόμοιο με πλαϊνή μπάρα απλά μεγαλύτερο +* top_hor: οριζόντια μπλοκ σε όλη την κορυφή, που πλαισιώνουν πάνω από πλευρική μπάρα / υποπεριεκτικότητα ανάλογα με τη διάταξη +* κορυφή: πάνω από το κύριο περιεχόμενο +* κουτί: ίσο πλάτος, οριζόντια μπλοκ κάτω από το κύριο περιεχόμενο +* κάτω: κάτω από το κύριο περιεχόμενο +* κάτω μέρος_hor: οριζόντια μπλοκ πάνω από το κάτω μέρος, που πλαισιώνουν την πλευρική μπάρα/υποπεριεκτικότητα ανάλογα με τη διάταξη +* υποσέλιδο: οριζόντια μπλοκ στο υποσέλιδο Μπορείτε να προσθέσετε περισσότερες θέσεις μπλοκ στα δικά σας πρότυπα στυλ αντιγράφοντας και τροποποιώντας τα αντίστοιχα πρότυπα του siteMaker phpBB + +## Διάταξη Ιστοσελίδας +Μπορείτε να επιλέξετε τη διάταξη για τον ιστότοπό σας στη χώρα ΑΚΕ (Παραλλαγές > Ιδιοκτήτης > Ρυθμίσεις): +* **Blog**: υποπεριεχόμενο και πλαϊνή μπάρα το ένα δίπλα στο άλλο, έσπρωξε προς τα δεξιά, top_hor/botom_hor flank subcontent +* **Ιερό Δισκοπότηρο**: πλευρική μπάρα ίσου πλάτους και υποπεριεκτικότητα σε αντίθετες πλευρές, top_hor/botom_hor υποπεριεκτικότητα σε λαγό +* **Portal**: πλαϊνή μπάρα στα αριστερά, subcontent στα δεξιά, top_hor/botom_hor flank subcontent +* **Portal Alt**: subcontent στα αριστερά, sidebar στα δεξιά, top_hor/botom_hor flank sidebar +* **Προσαρμοσμένο**: Ρυθμίστε χειροκίνητα το πλάτος των πλευρικών γραμμών σε px, %, em ή rem. Προεπιλογές σε 200px σε κάθε πλευρά + +## Προσαρμοσμένα πρότυπα/στυλ +Όσο το δυνατόν περισσότερο, προσπαθήσαμε να βάλουμε πρότυπα αρχεία και περιουσιακά στοιχεία σε στυλ/όλους/ φάκελο, έτσι ώστε να μπορείτε να τα αντικαταστήσετε δημιουργώντας ένα αρχείο με το ίδιο όνομα κάτω από το δικό σας πρότυπο θέμα e. . prosilver. Έτσι, αν θέλετε να τροποποιήσετε τον τρόπο εμφάνισης ενός συγκεκριμένου ταμπλό ή αν θέλετε να δημιουργήσετε τη δική σας διάταξη με τις δικές σας θέσεις μπλοκ, απλά πρέπει να δημιουργήσετε ένα αρχείο με το ίδιο όνομα και διαδρομή όπως το πρωτότυπο στο δικό σας στυλ. + +Αν χρειαστεί να προσαρμόσετε τα αρχεία CSS/JS, ρίξτε μια ματιά στην ενότητα [theming](/docs/dev/theming). \ No newline at end of file diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/user/site/navbar.md b/website/i18n/el/docusaurus-plugin-content-docs/current/user/site/navbar.md new file mode 100644 index 000000000000..d7168bf96458 --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/user/site/navbar.md @@ -0,0 +1,6 @@ +--- +title: Γραμμή Πλοήγησης +sidebar_position: 2 +--- + +Δείτε [Εμφάνιση Μενού](/docs/user/menus/displaying-menus#navigation-bar) diff --git a/website/i18n/el/docusaurus-plugin-content-docs/current/user/site/startpage.md b/website/i18n/el/docusaurus-plugin-content-docs/current/user/site/startpage.md new file mode 100644 index 000000000000..1d7a084f33cb --- /dev/null +++ b/website/i18n/el/docusaurus-plugin-content-docs/current/user/site/startpage.md @@ -0,0 +1,11 @@ +--- +title: Ορισμός μιας αρχικής σελίδας +sidebar_position: 3 +--- + +phpBB SiteMaker σας επιτρέπει να επιλέξετε οποιοδήποτε μπροστινό χειριστήριο (σελίδες προσβάσιμες μέσω app.php/... ως προεπιλεγμένη σελίδα εκκίνησης (τη σελίδα που θα εμφανίζεται όταν κάποιος επισκέπτεται τον ιστότοπό σας) αντί για το ευρετήριο του πίνακα. + +Για να το κάνετε αυτό: +* Μεταβείτε στη σελίδα που θέλετε να ορίσετε ως προεπιλεγμένη σελίδα έναρξης +* Κάντε κλικ στο `Ρυθμίσεις` στη γραμμή διαχείρισης. Αν είναι μια επιλέξιμη σελίδα, θα δείτε ένα κουμπί `Ορισμός ως αρχική σελίδα` +* Κάντε κλικ στο `Ορισμός ως αρχική σελίδα` κουμπί \ No newline at end of file diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/contrib/_category_.json b/website/i18n/es/docusaurus-plugin-content-docs/current/contrib/_category_.json new file mode 100644 index 000000000000..023c114dcd48 --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/contrib/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Contribuir", + "position": 4 +} diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/contrib/overview.md b/website/i18n/es/docusaurus-plugin-content-docs/current/contrib/overview.md new file mode 100644 index 000000000000..19e53d081e11 --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/contrib/overview.md @@ -0,0 +1,11 @@ +--- +title: Participar +sidebar_position: 1 +--- + +phpBB SiteMaker es un proyecto de código abierto y da la bienvenida a sus ideas y contribuciones. Así que siéntete libre de participar. Puedes contribuir a este proyecto por: + +* [Proporcionando soporte/retroalimentación](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Reportando bugs](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Ayudando con la traducción](./translators.md) +* [Arreglar errores o añadir características](./pull-requests.md) diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/contrib/pull-requests.md b/website/i18n/es/docusaurus-plugin-content-docs/current/contrib/pull-requests.md new file mode 100644 index 000000000000..8f4ae03671c6 --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/contrib/pull-requests.md @@ -0,0 +1,65 @@ +--- +title: Enviando un Pull Request +sidebar_label: Pull Requests +--- + +`Pull requests le permite informar a otros sobre los cambios que ha introducido en una rama en un repositorio en GitHub. Una vez que un pull request está abierto, puede discutir y revisar los cambios potenciales con los colaboradores y añadir confirmaciones de seguimiento antes de que sus cambios se fusionen en la rama base.` [Leer más](https://help.github.com/articles/about-pull-requests/) + +## Forking/Clonando + +* Crea una cuenta de github si aún no tienes una +* Ve a https://github.com/blitze/phpBB-ext-sitemaker.git y haz clic en "Fork" + +Clona tu fork del repositorio: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Desde línea de comandos ir al directorio sitemaker: + + cd phpBB/ext/blitze/sitemaker + +**Configurar git:** + +Añada su nombre de usuario a Git en su sistema: + + git config --global user.name "Tu nombre aquí" + +Añada su dirección de correo electrónico a Git en su sistema: + + git config --add username@phpbb.com user.email + +Añade el control remoto (puedes cambiar 'upstream' a lo que quieras): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + +**Instalar vendedores** + + instalar composer + +**Instalar paquetes NPM** + + npm install + +También puedes usar [yarn](https://yarnpkg.com): + + instalar yarn + +## Pull Requests + + # Crea una nueva rama para tu característica & cambia a ella + git checkout -b feature/my-fancy-new-feature + + # crea una nueva rama para el problema en el que estás trabajando * cambia a ella (ticket # es desde github tracker) + git checkout -b ticket/1234 + +Realiza tus cambios + + # Etapa los archivos + git add + + # Commit staged files - por favor usa un mensaje de commit correcto + git commit -m "mi mensaje de commit" + +Enviar la rama de vuelta a GitHub git push origin feature/my-fancy-new-feature + +Envía un [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/contrib/translators.md b/website/i18n/es/docusaurus-plugin-content-docs/current/contrib/translators.md new file mode 100644 index 000000000000..6d96979b13ee --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/contrib/translators.md @@ -0,0 +1,17 @@ +--- +title: Traductores +sidebar_position: 2 +--- + +Necesitamos ayuda para traducir esta extensión, así como su documentación. Hemos creado un proyecto en Crowdin para facilitar las traducciones. Crowdin te da una interfaz de traducción que no tiene nada que ver. Puedes contribuir con lo que quieras, pero te recomendamos que utilices Crowdin. + +> Crowdin es una plataforma de administración de localización que ayuda a las empresas a traducir su software. Puedes leer más sobre Crowdin [aquí](https://support.crowdin.com/crowdin-intro/) + +Si estás dispuesto a contribuir con las traducciones, necesitarás: + +* Una cuenta de [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker). +* Seleccione el idioma de destino si existe otra solicitud para ser habilitado. + +Si tu idioma deseado no aparece en la lista, por favor [ponte en contacto conmigo](https://crowdin.com/profile/blitze) y lo añadiré. + +[Comenzar a traducir](https://crowdin.com/project/phpbb-ext-sitemaker) diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/dev/_category_.json b/website/i18n/es/docusaurus-plugin-content-docs/current/dev/_category_.json new file mode 100644 index 000000000000..7cf52b645d0e --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/dev/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Guía de Desarrollador", + "position": 3 +} diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/dev/events.md b/website/i18n/es/docusaurus-plugin-content-docs/current/dev/events.md new file mode 100644 index 000000000000..fce90106d4fd --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/dev/events.md @@ -0,0 +1,120 @@ +--- +title: phpBB Eventos SiteMaker +sidebar_position: 2 +--- + +Puede modificar el comportamiento de phpBB SiteMaker usando el sistema de eventos de phpBB. + +## Eventos PHP + +### añadir opciones de menú + +- Ubicación: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Desde: 3.1.0 +- Propósito: Añadir opciones de menú masivo en el menú de acp + +### configuración de la página web + +- Ubicación: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Desde: 3.1.0 +- Propósito: mostrar configuración de acp (sitemaker) + +### blitze.sitemaker.acp_save_settings + +- Ubicación: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Desde: 3.1.0 +- Propósito: Guardar configuración de acp (sitemaker) + +### establecer.set_activos + +- Ubicación: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Desde: 3.0.1-RC1 +- Propósito: Añadir recursos para los bloques disponibles en modo edición + +### blitze.sitemaker.modify_block_positions + +- Ubicación: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Desde: 3.0.1-RC1 +- Propósito: Modificar posiciones de bloque + +### bloque.sitemaker.modify_rendered_bloque + +- Ubicación: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Desde: 3.0.1-RC1 +- Propósito: Modificar un bloque renderizado + +## Eventos de Plantilla + +### configuración de blitze_sitemaker_acp + +- Ubicación: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Desde: 3.1.0 +- Propósito: Añadir campos de formulario para la configuración del sitemaker + +### admin_bar_admin_admin + +- Ubicación: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Desde: 3.1.0 +- Propósito: Añadir elementos de menú a la barra de administración + +### plantillas de barra blitze_sitemaker_admin + +- Ubicación: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Desde: 3.1.0 +- Propósito: Añadir archivos de plantillas para ser usados en JS para vistas de bloque, etc + +## Eventos Javascript + +### blitze_sitemaker_layout guardado + +- Ubicación: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Desde: 3.1.2 +- Propósito: Evento para permitir que otras extensiones hagan algo cuando se guardan los cambios de diseño + +### bloque_sitemaker_render_bloqueo_antes + +- Ubicación: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Desde: 3.1.2 +- Propósito: Evento para permitir que otras extensiones hagan algo antes de que el bloque sea renderizado o evite que se vuelva a procesar + +### blitze_sitemaker_render_block_después + +- Ubicación: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Desde: 3.1.2 +- Propósito: Evento para permitir que otras extensiones hagan algo después de que se procese el bloque + +### blitze_sitemaker_save_block_antes + +- Ubicación: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Desde: 3.1.2 +- Propósito: Evento para permitir que otras extensiones modifiquen los datos del bloque antes de guardarlos + +### mostrar todas las posiciones de bloqueo + +- Ubicación: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Desde: 3.1.2 +- Propósito: Evento para permitir que otras extensiones hagan algo cuando se muestran todas las posiciones de bloque + +### escondite de posiciones de bloque de sitio + +- Ubicación: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Desde: 3.1.2 +- Propósito: Evento para permitir que otras extensiones hagan algo cuando se ocultan posiciones vacías + +### blitze_sitemaker limpiado + +- Ubicación: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Desde: 3.1.2 +- Propósito: Evento para permitir que otras extensiones hagan algo cuando se borre el diseño + +### blitze_sitemaker_layout_actualizado + +- Ubicación: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Desde: 3.1.2 +- Propósito: Evento para permitir que otras extensiones hagan algo cuando se actualiza el diseño + +### opciones de creación de sitios + +- Ubicación: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Desde: 3.3.0 +- Propósito: Evento para permitir que otras extensiones modifiquen las opciones de tinymce diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/dev/overview.md b/website/i18n/es/docusaurus-plugin-content-docs/current/dev/overview.md new file mode 100644 index 000000000000..065521f66487 --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/dev/overview.md @@ -0,0 +1,179 @@ +--- +title: Extendiendo phpBB SiteMaker +sidebar_position: 1 +--- + +Puede extender/modificar SiteMaker phpBB usando [reemplazo de servicio](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [decoración de servicios](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration)y [sistema de eventos de phpBB](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Puede encontrar una lista de eventos soportados [aquí](./events.md). + +## Crear un bloque SiteMaker + +Un bloque SiteMaker phpBB es simplemente una clase que extiende la clase blitze\sitemaker\services\blocks\driver\block y devuelve un array del método "display" con un 'title' y 'content'. Todo lo demás en medio depende de usted. Para que tu bloque sea detectable por phpBB SiteMaker, necesitarás darle la etiqueta "sitemaker.block". + +Digamos que tenemos una extensión con proveedor/extensión como mi/ejemplo. Para crear un bloque llamado "my_block" para phpBB SiteMaker: + +- Crear una carpeta "bloques" +- Crear archivo my_block.php en la carpeta bloques con el siguiente contenido + +```php +namespace my\example\blocks; + +use blitze\sitemaker\services\blocks\driver\block; + +class my_block extends block +{ + /** + * {@inheritdoc} + */ + public function display(array $settings, $edit_mode = false) + { + return array( + 'title' => 'mi título de bloques', + 'contenido' => 'mi contenido de bloque', + ); + } +} +``` + +Luego, en el archivo config.yml, añada lo siguiente: + +```yml +servicios: + +... + + my.example.block.my_block: + class: mi\example\blocks\my_block + llamadas: + - [set_name, [my.example.block.my_block]] + etiquetas: + - { name: sitemaker.block } + +.... + +``` + +Como mínimo, eso es todo lo que necesitas. Si entra en modo edición, debería ver el bloque como 'MY_EXAMPLE_BLOCK_MY_BLOCK' que puede ser arrastrado y soltado en cualquier posición de bloque. Pero este bloque no hace nada emocionante. No tiene ajustes y no traduce el nombre del bloque. Hagámoslo más interesante. + +### Ajustes del bloque + +Vamos a modificar nuestros bloques/my_block. archivo hp y añadir un método "get_config" devuelve una matriz en la que las claves son la configuración de bloque y los valores son una matriz que describe la configuración así: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + array de retorno( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explicar' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explicar' => false, 'predeterminado' => 'tema'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explicar' => falso), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explicar' => false), + 'legend2' => 'TAB2', + 'número' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explicar' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'tipo' => 'textarea:3:40', 'maxlength' => 2, 'explicar' => true, 'default' => ''), + 'activar' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Mostrar sólo cuando la opción 1 está seleccionada
'), + ); +} +``` + +Esto se construye de la misma manera que phpBB construye la configuración del tablero en ACP. Puedes ver más ejemplos [aquí](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Si quieres un tipo de campo personalizado, puedes ver un ejemplo [aquí](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' setting). + +Nota 'legend1' y 'legend2': Estos se utilizan para separar los ajustes en pestañas. + +### Nombrando bloques + +La convención para nombres de bloque es que el nombre del servicio (por ejemplo, my.example.block. y el bloque*de arriba) se utilizará como la clave de idioma reemplazando los puntos (.) con guión bajo (*) (por ejemplo, MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Traducción + +Tenga en cuenta también que tenemos varias claves de idioma que necesitan ser traducidas. Para ello, crea un archivo llamado "blocks_admin.php" en tu carpeta de idioma. Este archivo se cargará automáticamente al editar bloques, y debería tener traducciones para la configuración de bloques y nombres de bloques. + +``` +$lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Opción 1', + 'Otro_LANG_VAR' => 'Opción 2', + 'SOME_LANG_VAR_1' => 'Ajuste 1', +.... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Mi bloque', +); +``` + +Debido a que 'blocks_admin.php' sólo se carga al editar bloques, tendrás que añadir otras traducciones (p. ej. bloque de título) cargando un archivo de idioma en el método de visualización como `$language->add_lang('my_lang_file', 'mi/ejemplo');` + +### Renderizado el bloque + +El nuevo bloque sólo se mostrará si está renderizando algo. Tu bloque puede devolver cualquier cadena de texto como contenido, pero en la mayoría de los casos, necesitas una plantilla para representar tu contenido. Para renderizar tu bloque usando plantillas, el bloque debe retornar un array que contenga los datos que desea pasar a la plantilla y también debe implementar el método `get_template` como se demuestra a continuación: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + array de retorno( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explicar' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // hacer algo sólo en modo edición + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Entonces tu archivo styles/all/my_block.html o styles/prosilver/my_block.html podría verse algo así: + +``` +

Has seleccionado: {{ some_var }}

+``` + +En resumen, tu bloque debe devolver un array con una clave de `título` (para el título del bloque) y una clave de `contenido` (si el bloque solo muestra una cadena y no utiliza una plantilla) o una clave de `datos` (si el bloque usa una plantilla, en tal caso, también necesitará implementar el método `get_template`. + +### Bloquear activos + +Si tu bloque necesita añadir recursos (css/js) a la página, recomiendo usar la clase utilitario [del sitemaker](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) para eso. Ya que puede haber más de una instancia del mismo bloque en la página, u otros bloques podrían estar añadiendo el mismo activo, la clase util asegura que el activo sólo se añade uno. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/algunos. s', + 100 => '@mi_ejemplo/activos/otro. s', // establecer prioridad + ), + 'css' => array( + '@my_example/assets/algunos. ss', + ) +)); +``` + +Por supuesto, la clase util tendrá que ser añadida a sus definiciones de servicio en config.yml así: `- '@blitze.sitemaker. til'` y definido en el constructor de tu bloque `\blitze\sitemaker\services\util $util`. + +Y eso es todo. ¡Hemos terminado! diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/dev/theming.md b/website/i18n/es/docusaurus-plugin-content-docs/current/dev/theming.md new file mode 100644 index 000000000000..2e4ced31aaa3 --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/dev/theming.md @@ -0,0 +1,62 @@ +--- +title: Tema +sidebar_position: 3 +--- + +Entendemos que los archivos de plantillas y los archivos JS/CSS no funcionarán para cada estilo, así que a continuación puedes usar tus propias plantillas y crear archivos JS/CSS para tu estilo particular. + +## Usando tu propia plantilla + +Si las plantillas por defecto que vienen con phpBB Sitemaker no funcionan bien para tu estilo en particular puede sobreescribirlo fácilmente para usar su propio archivo de plantilla creando el archivo correspondiente en la carpeta de sus estilos. + +Por ejemplo, decir que tu estilo se llama `Backlash` y tiene una manera particular en la que el HTML para la sección de encabezado de bloques necesita ser estructurado para la [vista encadenada](/docs/user/blocks/block-views). Puede sobrescribir esa plantilla en particular creando un archivo con el mismo nombre así: `phpBB/ext/blitze/sitemaker/styles/Backlash/template/views/boxed_view.twig`. + +En otras palabras, para utilizar tu propio archivo de plantilla, necesitas: +* Identificar qué archivo de phpBB debe ser sobrescrito +* Cree un archivo con el mismo nombre en la carpeta `estilos` del sitemaker bajo su nombre de estilo + +> Nota: Si creas tus propios archivos de plantilla, Asegúrese de no eliminar la carpeta `phpbb/ext/blitze/sitemaker` al actualizar la extensión ya que sus archivos personalizados serán borrados. Más bien, sólo sobrescribe los archivos existentes con los nuevos. + +## Creando archivos JS/CSS para tu estilo + +Nota: +* Para el propósito de las instrucciones de abajo asumiremos que usted tiene un estilo llamado mi-estilo. + +Clonar en phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Desde línea de comandos ir al directorio sitemaker: + + cd phpBB/ext/blitze/sitemaker + +**Instalar vendedores** + + instalar composer + +**Instalar paquetes** + +Para los comandos de abajo puedes usar npm o [yarn](https://yarnpkg.com) + + instalar yarn + +**Ver cambios** + + inicio de yarn --tema mi-estilo + +**Hacer Cambios** + +* Haga sus cambios en archivos en la carpeta phpBB/ext/blitze/sitemaker/develop . +* Mira phpBB/ext/blitze/sitemaker/develop/_partials/_globals.sc(debate) para variables sass + +**Construir activos** + + construcción yarn --tema mi-estilo + +**Desplegar** + +Ahora puedes copiar los archivos generados desde phpBB/ext/blitze/sitemaker/styles/my-style y subirlos a tu servidor de producción. + +> Esta extensión utiliza la interfaz de usuario de jQuery para pestañas, diálogos y botones. El tema predeterminado de jQuery es 'suavidad.' Puedes usar un tema diferente de la interfaz de usuario de jQuery que se adapte mejor a tu tema. Puede especificar el tema de la interfaz de usuario de jQuery usando el parámetro --jq_ui_theme. Por ejemplo: + + yarn build --theme my-style --jq_ui_theme ui-lightness diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/intro/_category_.json b/website/i18n/es/docusaurus-plugin-content-docs/current/intro/_category_.json new file mode 100644 index 000000000000..597f60acb465 --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/intro/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Comenzando", + "position": 1 +} diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/intro/installation.md b/website/i18n/es/docusaurus-plugin-content-docs/current/intro/installation.md new file mode 100644 index 000000000000..d732950ea58b --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/intro/installation.md @@ -0,0 +1,16 @@ +--- +title: "Instalar / Actualizar" +sidebar_position: 2 +--- + +Descargar la extensión desde [aquí](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker +* Extraiga y suba a su carpeta phpB/ext/ para que tenga phpBB/ext/blitze/sitemaker +* Vaya a "ACP" > "Personalizar" > "Extensiones" y habilite la extensión "phpBB Sitemaker". + +## Actualizando phpBB SiteMaker +* Crea una copia de seguridad de tu base de datos por si algo sale mal +* Ve a "ACP" > "Personalizar" > "Extensiones" y desactiva (no purgar) "phpBB Sitemaker" +* Descargar y extraer la última versión de phpBB SiteMaker y subirla a tu carpeta phpBB/ext/ (sobrescribir) +* Vaya a "ACP" > "Personalizar" > "Extensiones" y habilite la extensión "phpBB Sitemaker". diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/intro/introduction.md b/website/i18n/es/docusaurus-plugin-content-docs/current/intro/introduction.md new file mode 100644 index 000000000000..b57ade10698e --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/intro/introduction.md @@ -0,0 +1,6 @@ +--- +title: Introducción +sidebar_position: 1 +--- + +phpBB SiteMaker busca transformar tu tablero phpBB en un CMS/portal. Lo hace proporcionándole bloques y menús para ayudarle a personalizar su sitio a su gusto. Hay o habrá otras extensiones de SiteMaker que proporcionan funcionalidad adicional para alcanzar este objetivo. También le permite definir una página de destino cuando su sitio es accedido. Así que si no quieres que los visitantes de tu sitio vean inmediatamente el foro phpBB cuando van a www. our-site.com, usted puede definir su propia página de inicio. diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/user/_category_.json b/website/i18n/es/docusaurus-plugin-content-docs/current/user/_category_.json new file mode 100644 index 000000000000..2d475f77a3ab --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/user/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Guía de usuario", + "position": 2 +} diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/user/blocks/_category_.json b/website/i18n/es/docusaurus-plugin-content-docs/current/user/blocks/_category_.json new file mode 100644 index 000000000000..49bcd269c8a2 --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/user/blocks/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Bloques", + "position": 1 +} diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/user/blocks/block-views.md b/website/i18n/es/docusaurus-plugin-content-docs/current/user/blocks/block-views.md new file mode 100644 index 000000000000..abc188a7d04d --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/user/blocks/block-views.md @@ -0,0 +1,6 @@ +--- +title: Bloquear vistas +sidebar_position: 2 +--- + +Trabajo en curso... \ No newline at end of file diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md b/website/i18n/es/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md new file mode 100644 index 000000000000..3f55bfbe985f --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md @@ -0,0 +1,24 @@ +--- +title: Bloque personalizado +sidebar_position: 4 +--- + +Si los bloques disponibles no le dan la libertad que necesita. hay el `bloque personalizado` que te permite mostrar tu propio contenido usando BBcode o HTML. El bloque viene con un editor WYSIWYG (TinyMCE) y un gestor de scrips: + +## El editor + +- Puede utilizar el editor para crear contenido HTML +- Puedes editar el código fuente si necesitas ese nivel de control haciendo clic en el icono del `código fuente` (`<>`) en el editor +- El editor le permite subir y modificar imágenes + - Crea una nueva carpeta en phpBB/images/sitemaker_uploads/ para cada usuario que tenga acceso a ella + - Puede ver/administrar todas las carpetas de usuario +- El editor filtra cualquier script potencialmente peligroso como javascript, etc. Si necesitas añadir contenido como anuncios de Google, el javascript será filtrado, pero puedes evitarlo haciendo lo siguiente: + - Agrega el bloque personalizado a la ubicación deseada + - Edite el bloque personalizado, haga clic en la pestaña `HTML` y pegue su Javascript + +## El Administrador de Scripts + +El Bloque Personalizado también le permite añadir archivos CSS y Javascript personalizados a su página. Para hacer esto: + +- Añade un `bloque personalizado` a cualquier posición de bloque. La posición no importa a menos que también muestre contenido con el bloque +- Editar el bloque, haga clic en la pestaña `Scripts` y añada sus archivos CSS o Javascript > Palabra de precaución: Añadir a muchos scripts en su página puede afectar a los tiempos de carga diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md b/website/i18n/es/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md new file mode 100644 index 000000000000..b74e8205f439 --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md @@ -0,0 +1,51 @@ +--- +title: Mananaging Blocks +sidebar_position: 3 +--- + +Para gestionar bloques en phpBB SiteMaker, debe estar en [Modo de edición](./overview#edit-mode). + +> Cuando un bloque no muestra ningún contenido, no se mostrará, excepto en modo edición. De esta manera, puede darle contenido (en el caso del bloque personalizado) o cambiar sus ajustes. + +> En modo edición, los bloques algo transparentes son bloques que de otro modo no se mostrarán pero que sólo se muestran porque estamos en modo edición + +## Añadiendo bloques +Puede añadir bloques a cualquier página de cara frontal, excepto el Panel de Control del Usuario y las páginas del Panel de Control del Moderador. Para añadir un bloque, necesitas: +* haga clic en **Bloques** en la barra de administración. Esto mostrará una lista de bloques disponibles +* Arrastra y suelta el bloque deseado a cualquier posición de bloque + +## Editando bloques +### Añadir un icono de bloque +A la izquierda del título del bloque (prosilver), hay una caja para el icono del bloque. Haga clic en esta casilla para obtener el selector de iconos. Puede seleccionar el tamaño del icono, color, flotante, rotación, etc. + +### Editando el título del bloque +Los bloques de phpBB SiteMaker tendrán un título predeterminado y traducido, pero si el título no satisface sus necesidades, puede cambiarlo. Para editar el título del bloque, +* Haga clic en el título del bloque para obtener un formulario de edición en línea +* Cambiar el título a lo que quieras +* Eliminar foco del campo o pulse Enter para enviar cambios + +> El título del bloque modificado no está traducido + +> Para revertir al título predeterminado, simplemente elimine el título y pulse Enter + +### Editando ajustes de bloque +Cuando pasas el cursor sobre un bloque, un icono de engranaje aparecerá a la derecha del bloque que puede ser usado para editar el bloque. En el cuadro de diálogo de bloques de edición, puede: +- Activar/desactivar un bloque [Status] +- Elija cuándo debe o no mostrarse el bloque [Display]. Esto sólo se aplica en los casos en los que has anidado páginas (ver [Herencia de Bloques Enteros](/docs/user/site/block-inheritance)): + - **Siempre**: Mostrar siempre el bloque + - **Ocultar en rutas secundarias**: Mostrar solo este bloque en la ruta padre + - **Mostrar solo en rutas secundarias**: Mostrar solo este bloque en una ruta secundaria +- Elija qué grupos de usuarios pueden ver el bloque [Visible por]. Utilice CTRL + clic para seleccionar varios grupos. +- Establecer clases personalizadas para modificar la apariencia del bloque o elementos (listas, imágenes, fondo, etc.) dentro del bloque [CSS Class] +- Mostrar/ocultar el título del bloque [¿Ocultar título del bloque?] +- Seleccione la vista de bloque [Vista de bloque]. Puede seleccionar una vista de bloque por defecto cuando se agregan nuevos bloques en ACP. + - **Predeterminado / Simple**: utiliza la clase del panel prosilver para envolver el bloque en un contenedor acolchado + - **Basic**: el bloque no tiene ningún contenedor envolviéndolo + - **Cajado**: utiliza la clase forabg prosilver para envolver el bloque en una caja +- Establecer / Actualizar ajustes específicos del bloque +- Si tienes el mismo bloque con la misma configuración en varias páginas, puedes actualizar todos a la vez comprobando los bloques de actualización **con configuraciones similares** + +## Borrando bloques +- Mueve el bloque que quieras eliminar +- Haga clic en el icono **x** y confirme que desea eliminar el bloque +- Sube a la barra de administración y haz clic en `Guardar Cambios` diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/user/blocks/overview.md b/website/i18n/es/docusaurus-plugin-content-docs/current/user/blocks/overview.md new file mode 100644 index 000000000000..33fe81c459df --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/user/blocks/overview.md @@ -0,0 +1,9 @@ +--- +title: '¿Qué son los bloques?' +sidebar_position: 1 +--- + +En el corazón de phpBB SiteMaker se encuentra el concepto de bloques. Los bloques son pequeñas piezas de contenido que puede colocar en diferentes áreas predefinidas (posiciones de bloque) en su sitio. Los bloques normalmente tendrán ajustes que puedes configurar/cambiar para ajustar el contenido que deseas mostrar. La mayoría de los bloques, pero no todos, harán consultas de base de datos para obtener el contenido deseado. Así que no nos pongamos demasiado locos :). Para gestionar los bloques, tendrás que cambiar a "modo de edición". + +## Editar modo +Cambie a modo edición haciendo clic en el icono del lápiz en la parte superior derecha de su sitio. Esto mostrará la "barra de administración" con los elementos del menú "Bloques" y "Configuración". Esto se denomina "modo de edición". diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/user/menus/_category_.json b/website/i18n/es/docusaurus-plugin-content-docs/current/user/menus/_category_.json new file mode 100644 index 000000000000..4259794d53ee --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/user/menus/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Menus", + "position": 2 +} diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md b/website/i18n/es/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md new file mode 100644 index 000000000000..91bb4fa7758f --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md @@ -0,0 +1,15 @@ +--- +title: Mostrando menús +sidebar_position: 3 +--- + +Ahora que has creado tus menús, puedes mostrarlos de varias maneras: + +## Bloque de enlaces +Puede utilizar este bloque para mostrar una lista plana o anidada de elementos de menú. Este bloque no está destinado a ser utilizado para la navegación, es decir, no mostrará una página actual ni nada parecido. Está destinado a una lista de artículos, incluyendo enlaces externos. + +## Bloque de menús +Este bloque está destinado a la navegación del sitio. Hace algunos cálculos adicionales para determinar la ubicación actual y no pretende ser una lista muy grande. + +## Barra de navegación +Similar al bloque de menús, la barra de navegación mostrará los elementos de menú como un menú desplegable receptivo destinado a la navegación del sitio. Puedes activar esto en ACP > Extensiones > Sitemaker > Configuración > Seleccionar menú diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md b/website/i18n/es/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md new file mode 100644 index 000000000000..04c5b310a45b --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md @@ -0,0 +1,30 @@ +--- +title: Gestionar elementos del menú +sidebar_position: 2 +--- + +Su menú es inútil a menos que tenga elementos de menú. Puede añadir elementos de menú que apunten a archivos locales o externos. + +> La URL para sitios externos debe comenzar con http(s)://, ftp://, //, etc. + +> Puede crear un divisor introduciendo '-' como el título del artículo + +## Añadiendo elementos de menú +Puede añadir elementos de menú un elemento a la vez, o puede añadir varios elementos de menú a uno. + +### Añadiendo elementos de menú único +Para añadir un único elemento de menú, +* haga clic en el botón `Añadir elemento de menú` +* Rellena la información necesaria y pulsa `Guardar` + +### Añadiendo múltiples elementos +Para añadir varios elementos de menú a la vez, +* Haga clic en el icono de la flecha hacia abajo junto a `Añadir elemento del menú` +* Puede agregar elementos manualmente colocando cada elemento en una nueva línea y usando los elementos nido de caracteres de la pestaña o +* Puede hacer clic en una de las opciones proporcionadas en la parte inferior del área de texto para rellenar automáticamente los elementos del menú + +## Reordenar los elementos del menú +Puede arrastrar y soltar los elementos del menú hacia arriba/abajo para establecer su orden de visualización, o arrastrarlos hacia la izquierda/derecha para establecer la jerarquía deseada. + +## Reconstruyendo los elementos del menú +Si encuentras que los elementos del menú no se muestran correctamente, haz clic en el botón `Reconstruir el árbol` para reconstruir los elementos del menú. diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md b/website/i18n/es/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md new file mode 100644 index 000000000000..85ab243bd71d --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md @@ -0,0 +1,24 @@ +--- +title: Gestionar Menús +sidebar_position: 1 +--- + +Puede crear menús en la ACP que luego puede mostrar usando los Menús o los Bloques Enlaces o mostrarlos como una barra de navegación horizontal. + +## Gestionar Menús + +Para administrar menús, vaya a ACP > Extensiones > Sitemaker > Menú + +### Creando Menús +Para crear un nuevo menú (grupo), haga clic en el botón `Añadir menú`. Se creará un nuevo grupo de menú con un nombre generado aleatoriamente. El nuevo menú también será seleccionado para que pueda comenzar a añadir elementos de menú a él. + +### Editando Menús +Si quieres un nombre de menú más significativo, +* pase el cursor sobre el nombre del menú y haga clic en el icono del engranaje +* introduce el nuevo nombre del menú y pulsa Enter para actualizarlo + +### Eliminando Menús +Para eliminar un menú, y sus elementos, +* Sube el nombre del menú y haz clic en el ícono **x** +* Si el elemento de menú no tiene elementos secundarios, necesitará confirmar su opción de eliminar el elemento +* Si el elemento de menú tiene elementos secundarios, tendrás que indicar si quieres eliminar sólo el elemento y mover sus hijos hacia arriba o si quieres eliminar toda la rama diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/user/site/_category_.json b/website/i18n/es/docusaurus-plugin-content-docs/current/user/site/_category_.json new file mode 100644 index 000000000000..27ea821d24c3 --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/user/site/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Construyendo tu sitio", + "position": 3 +} diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md b/website/i18n/es/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md new file mode 100644 index 000000000000..dadbb356b835 --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md @@ -0,0 +1,46 @@ +--- +title: Bloquear herencia +sidebar_position: 5 +--- + +Ya lo hemos visto estableciendo un diseño por defecto, otras páginas que no tienen bloques propios heredarán los bloques del diseño predeterminado. Sin embargo, existe otro tipo de herencia de bloques. + +## Rutas padres/hijas +En phpBB SiteMaker, hablamos de rutas anidadas en términos de directorios reales anidados (sub) o rutas virtualmente anidadas. Por favor, permanezca conmigo :). +* Rutas parentes/hijos: Por ejemplo, la ruta /some_directory/sub_directory/index.php es hijo de /some_directory/index.php +* Rutas parentales/infantiles: Por ejemplo, viewtopic.php es tratado como un hijo de viewforum.php. + +Aquí hay algunos ejemplos de rutas padres/hijas: + +| Padre | Hijo | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/my-article | + +## Herencia de bloques padres/hijos +Para rutas padres/hijas, la ruta secundaria hereda los bloques de la ruta padre (si el padre tiene sus propios bloques) o de la disposición predeterminada (si se ha establecido una). En otras palabras, incluso si hay un diseño por defecto, la ruta hijo heredará bloques de su ruta padre si la ruta padre tiene sus propios bloques. Pero no todos los bloques de la ruta padre deben ser heredados. + +## Controlar herencia de bloque +A nivel de bloques, puede controlar cuando un bloque puede ser heredado por rutas hijas. Hemos tocado esto anteriormente en [Editar configuración de bloque](/docs/user/blocks/managing-blocks#editing-block-settings). + +Considere la siguiente estructura real de directorios: +```text +phpBB +► index.php +✫ :/★ Movies/ + ► 4b4bindex.php + ► page.php + → Comedy/ + → → index.php +``` + +A efectos de heredar bloques, decimos: +* La ruta principal de /phpBB/Movies/Comedy/index.php es /phpBB/Movies/index.php y no /phpBB/Movies/page.php +* Todas las páginas en un subdirectorio relativo a /phpBB/index.php es una ruta secundaria de /phpBB/index.php. Así que /phpBB/Movies/index.php y /phpBB/Movies/page.php son todos hijos de /phpBB/index.php y por lo tanto heredarán sus bloques si no tienen bloques propios. En este caso: + * Cuando un bloque en /phpBB/index.php está configurado para que se muestre en **Ocultar en rutas secundarias**, el bloque se mostrará en /phpBB/index. CV (ruta principal) pero no en sus rutas secundarias + * Cuando un bloque en /phpBB/index.php está configurado para que se muestre en **Mostrar sólo en rutas secundarias**, se mostrará en /phpBB/Movies/index. hp y /phpBB/Movies/page.php (rutas infantiles) pero no en /phpBB/index.php (parent), ni /phpBB/Movies/Comedy/index.php (sólo vamos un nivel profundo) + * Cuando un bloque en /phpBB/index.php está configurado para mostrar **siempre** (por defecto), se mostrará en /phpBB/index. hp (parent), /phpBB/Movies/index.php y /phpBBB/page.php (ruta) pero no en /phpBB/Movies/Comedy/index.php (sólo vamos un nivel profundo). En este caso, /phpBB/Movies/Comedy/index.php heredará de la ruta por defecto (si existe) + +## Estado futuro posible +Estoy realmente interesado en sus comentarios en esta área. La mayoría de los usuarios de phpBB no tendrán directorios reales como se ha descrito anteriormente. Así que estoy pensando en usar la estructura que se define en un bloque de menú como una estructura de directorios virtuales y aplicar esta herencia padre/hijo a ella. También estoy considerando ir más allá de un nivel de profundidad. Por favor, háganme saber si esto le será útil. \ No newline at end of file diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md b/website/i18n/es/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md new file mode 100644 index 000000000000..d14a582bd8c6 --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md @@ -0,0 +1,6 @@ +--- +title: Personalizar la pantalla de bloques +sidebar_position: 6 +--- + +Trabajo en curso... \ No newline at end of file diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/user/site/default-layout.md b/website/i18n/es/docusaurus-plugin-content-docs/current/user/site/default-layout.md new file mode 100644 index 000000000000..8f729ce02f64 --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/user/site/default-layout.md @@ -0,0 +1,21 @@ +--- +title: Establecer un diseño predeterminado +sidebar_position: 4 +--- + +Cuando se agrega un bloque, se añade a esa página específica. Por lo tanto, sería una tarea tediosa establecer bloques para todas las páginas de su sitio. Puede establecer todos los bloques deseados para una página en particular, luego establecer esa página como el diseño predeterminado. En otras palabras, cualquier página que no tenga sus propios bloques, heredará bloques de esta página. + +Para establecer un diseño predeterminado +* Ve a la página que quieras establecer como diseño predeterminado +* Haga clic en `Configuración` en la barra de administración +* Haga clic en el botón `Establecer como diseño predeterminado` + +Digamos que añadimos bloques a una página (phpBB/index.php) con bloques en la barra lateral y posiciones superiores, por ejemplo, y establecerla como nuestro diseño predeterminado. Esto tiene los siguientes efectos para otras páginas: +* Cualquier página que no tenga sus propios bloques, heredará los bloques del diseño predeterminado. Ver [Herencia de Bloques Enteros](/docs/user/site/block-inheritance) para excepciones. +* Todavía puede heredar bloques de un diseño predeterminado (índice. hp) pero elija no mostrar bloques en algunas posiciones de bloques o no mostrar ningún bloque en absoluto. Para hacer esto, + * Ir a la página que no quieres que se muestren todos/algunos bloques + * Haga clic en `Configuración` en la barra de administración + * Seleccione `No mostrar bloques en esta página` si no desea heredar/mostrar ningún bloque en esta página O + * Usa CTRL + clic para seleccionar las posiciones de bloque (a la derecha) en las que no quieres mostrar los bloques +* En `modo de edición`, una página que hereda bloques del diseño predeterminado, no mostrará ningún bloque, dándote la oportunidad de añadir bloques a la página si quieres +* Cualquier página que tenga sus propios bloques no heredará del diseño predeterminado diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/user/site/layouts.md b/website/i18n/es/docusaurus-plugin-content-docs/current/user/site/layouts.md new file mode 100644 index 000000000000..0503a88beae8 --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/user/site/layouts.md @@ -0,0 +1,31 @@ +--- +title: Diseños +sidebar_position: 1 +--- + +Los "Diseños" determinan las posiciones de bloque disponibles y cómo se muestran. + +## Bloquear posiciones +Las posiciones del bloque son áreas predefinidas en su sitio donde pueden existir bloques. Las posiciones de bloque disponibles están determinadas por el estilo de plantilla que está utilizando. Para prosilver, phpBB SiteMaker viene con las siguientes posiciones de bloque: +* panel: ancho completo en la parte superior +* barra lateral: izquierda / derecha dependiendo del diseño de abajo +* subcontenido: similar a la barra lateral más grande +* top_hor: bloques horizontales sobre la parte superior, flanqueando sobre la barra lateral/subcontenido dependiendo del diseño +* arriba: sobre contenido principal +* caja: ancho igual, bloques horizontales debajo del contenido principal +* abajo: debajo del contenido principal +* bottom_hor: bloques horizontales a través de la parte inferior, flickear la barra lateral/subcontenido dependiendo del diseño +* pie de página: bloques horizontales en el pie de página Puedes añadir más posiciones en tus propias plantillas de estilo copiando y modificando las plantillas phpBB SiteMaker correspondientes + +## Diseño del sitio +Puede elegir el diseño para su sitio en ACP (Extensiones > Sitemaker > Configuración): +* **Blog**: subcontenido y barra lateral al lado del otro, empujado a la derecha, top_hor/botom_hor flanquea subcontenido +* **Santo Grial**: Barra lateral de ancho igual y subcontenido en lados opuestos, top_hor/botom_hor flanquea subcontenido +* **Portal**: barra lateral a la izquierda, subcontenido a la derecha, top_hor/botom_hor flanquea subcontenido +* **Portal Alt**: subcontenido a la izquierda, barra lateral a la derecha, barra lateral superior / botom_hor flanco +* **Personalizado**: Establecer manualmente el ancho de las barras laterales como px, %, em o rem. Por defecto 200px en cada lado + +## Plantillas/estilos personalizados +Tanto como sea posible, tratamos de poner los archivos de plantillas y los recursos en los estilos/todos/carpeta para que pueda sobreescribirlos creando un archivo con el mismo nombre bajo su propio tema de plantilla. . prosilver. Así que si quieres modificar cómo se muestra un bloque determinado o si quieres crear tu propio diseño con tus propias posiciones de bloques, simplemente necesita crear un archivo con el mismo nombre y ruta que el original en su propio estilo. + +Si necesita personalizar archivos CSS/JS, eche un vistazo a la sección [temática](/docs/dev/theming). \ No newline at end of file diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/user/site/navbar.md b/website/i18n/es/docusaurus-plugin-content-docs/current/user/site/navbar.md new file mode 100644 index 000000000000..a14eaaf8644d --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/user/site/navbar.md @@ -0,0 +1,6 @@ +--- +title: Barra de navegación +sidebar_position: 2 +--- + +Ver [Mostrando menús](/docs/user/menus/displaying-menus#navigation-bar) diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/user/site/startpage.md b/website/i18n/es/docusaurus-plugin-content-docs/current/user/site/startpage.md new file mode 100644 index 000000000000..857148ad2af9 --- /dev/null +++ b/website/i18n/es/docusaurus-plugin-content-docs/current/user/site/startpage.md @@ -0,0 +1,11 @@ +--- +title: Establecer una página de inicio +sidebar_position: 3 +--- + +phpBB SiteMaker te permite elegir cualquier controlador frontal (páginas accedidas a través de app.php/... como su página de inicio por defecto (la página que se mostrará cuando alguien visite su sitio) en lugar del índice del foro. + +Para hacer esto: +* Ir a la página que desea establecer como página de inicio predeterminada +* Haga clic en `Configuración` en la barra de administración. Si es una página elegible, verá un botón `Establecer como página de inicio` +* Haga clic en el botón `Establecer como página de inicio` \ No newline at end of file diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/contrib/_category_.json b/website/i18n/fr/docusaurus-plugin-content-docs/current/contrib/_category_.json new file mode 100644 index 000000000000..8313b2dfaa6b --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/contrib/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Contribuer", + "position": 4 +} diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/contrib/overview.md b/website/i18n/fr/docusaurus-plugin-content-docs/current/contrib/overview.md new file mode 100644 index 000000000000..659b7d16e2ae --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/contrib/overview.md @@ -0,0 +1,11 @@ +--- +title: Impliquez-vous +sidebar_position: 1 +--- + +phpBB SiteMaker est un projet open source et accueille vos idées et contributions. Alors n'hésitez pas à vous impliquer. Vous pouvez contribuer à ce projet par: + +* [Fournir un assistance/un commentaire](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Signaler des bugs](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Aider à la traduction](./translators.md) +* [Correction de bugs ou ajout de fonctionnalités](./pull-requests.md) diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/contrib/pull-requests.md b/website/i18n/fr/docusaurus-plugin-content-docs/current/contrib/pull-requests.md new file mode 100644 index 000000000000..70d17d9eeea1 --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/contrib/pull-requests.md @@ -0,0 +1,65 @@ +--- +title: Soumettre une Pull Request +sidebar_label: Demandes de tirage +--- + +`Les demandes d'ajout vous permettent de parler aux autres des changements que vous avez poussés vers une branche dans un dépôt sur GitHub. Une fois qu'une pull request est ouverte, vous pouvez discuter et examiner les changements potentiels avec des collaborateurs et ajouter des commits de suivi avant que vos changements ne soient fusionnés dans la branche de base.` [Lire la suite](https://help.github.com/articles/about-pull-requests/) + +## Forking/Clonage + +* Créez un compte github si vous n'en avez pas déjà un +* Allez sur https://github.com/blitze/phpBB-ext-sitemaker.git et cliquez sur "Fork" + +Cloner votre fork du référentiel: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +À partir de la ligne de commande, allez dans le répertoire sitemaker : + + cd phpBB/ext/blitze/sitemaker + +**Configurer git:** + +Ajoutez votre nom d'utilisateur à Git sur votre système : + + config git --global user.name "Votre nom ici" + +Ajoutez votre adresse e-mail à Git sur votre système : + + config git --add user.email username@phpbb.com + +Ajouter la télécommande en amont (vous pouvez changer « amont» à ce que vous voulez): + + git remote add git://github.com/blitze/phpBB-ext-sitemaker.git + +**Installer les vendeurs** + + installation de compositeur + +**Installer les paquets NPM** + + npm install + +Vous pouvez également utiliser [yarn](https://yarnpkg.com): + + yarn install + +## Demandes de tirage + + # Créer une nouvelle branche pour votre fonctionnalité & basculer vers elle + git checkout -b feature/my-fancy-new-feature + + # créer une nouvelle branche pour le problème sur lequel vous travaillez sur * (le ticket # provient de github tracker) + git checkout -b ticket/1234 + +Effectuez vos modifications + + # Stage les fichiers + git add + + # Commit les fichiers staged - veuillez utiliser un message de commit correct + git commit -m "my commit message" + +Repousser la branche vers GitHub git push origin feature/my-fancy-new-feature + +Soumettre une [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/contrib/translators.md b/website/i18n/fr/docusaurus-plugin-content-docs/current/contrib/translators.md new file mode 100644 index 000000000000..cd871a7342b1 --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/contrib/translators.md @@ -0,0 +1,17 @@ +--- +title: Traducteurs +sidebar_position: 2 +--- + +Nous avons besoin d'aide pour traduire cette extension, ainsi que sa documentation. Nous avons créé un projet sur Crowdin pour faciliter les traductions. Crowdin vous donne une interface de traduction qui est sans pareille. Vous pouvez contribuer comme vous le souhaitez, mais nous vous recommandons vraiment d'utiliser Crowdin. + +> Crowdin est une plateforme de gestion de traduction qui aide les entreprises à traduire leurs logiciels. Vous pouvez en savoir plus sur Crowdin [ici](https://support.crowdin.com/crowdin-intro/) + +Si vous êtes prêt à contribuer avec des traductions, vous aurez besoin de : + +* Un compte de [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker). +* Choisissez la langue cible si elle existe sinon demander à être activée. + +Si la langue de votre choix n'est pas listée, veuillez [me contacter](https://crowdin.com/profile/blitze) et je l'ajouterai. + +[Commencer à traduire](https://crowdin.com/project/phpbb-ext-sitemaker) diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/dev/_category_.json b/website/i18n/fr/docusaurus-plugin-content-docs/current/dev/_category_.json new file mode 100644 index 000000000000..7096da7cda77 --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/dev/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Guide du développeur", + "position": 3 +} diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/dev/events.md b/website/i18n/fr/docusaurus-plugin-content-docs/current/dev/events.md new file mode 100644 index 000000000000..c6a8bc18f5b4 --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/dev/events.md @@ -0,0 +1,120 @@ +--- +title: Événements phpBB SiteMaker +sidebar_position: 2 +--- + +Vous pouvez modifier le comportement de phpBB SiteMaker en utilisant le système d'événements de phpBB. + +## Événements PHP + +### Vous pouvez ajouter des éléments dans le menu déroulant + +- Lieu: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Depuis : 3.1.0 +- But : Ajouter des options de menu en vrac dans le menu acp + +### Les paramètres de ce site sont affichés dans la liste des paramètres + +- Lieu: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Depuis : 3.1.0 +- But : afficher le formulaire de configuration acp (sitemaker) + +### Les paramètres de ce site sont sauvegardés + +- Lieu: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Depuis : 3.1.0 +- But : Enregistrer les paramètres acp (sitemaker) + +### Définir les actifs de la barre d'administration + +- Lieu: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Depuis : 3.0.1-RC1 +- But : Ajouter des actifs pour les blocs disponibles en mode édition + +### modifier les positions de blocs + +- Lieu: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Depuis : 3.0.1-RC1 +- But : Modifier les positions des blocs + +### Modification du bloc rendu + +- Lieu: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Depuis : 3.0.1-RC1 +- But : Modifier un bloc rendu + +## Événements du modèle + +### Paramètres du sitemaker_blitze_acp + +- Lieu: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Depuis : 3.1.0 +- But : Ajouter des champs de formulaire aux paramètres du sitemaker + +### admin_bar_admin_append + +- Lieu: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Depuis : 3.1.0 +- But : Ajouter des éléments de menu à la barre d'administration + +### Modèles d'administration de la barre de page + +- Lieu: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Depuis : 3.1.0 +- But : Ajouter des fichiers de modèle à utiliser en JS pour les vues de blocs, etc + +## Événements Javascript + +### Mise en page du sitemaker_blitze enregistrée + +- Lieu: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Depuis : 3.1.2 +- But : Événement permettant aux autres extensions de faire quelque chose lorsque les modifications de la mise en page sont enregistrées + +### format@@0 blitze_sitemaker_render_block_before + +- Lieu: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Depuis : 3.1.2 +- But : Événement permettant aux autres extensions de faire quelque chose avant que le bloc ne soit rendu ou d'empêcher son re-rendu + +### format@@0 blitze_sitemaker_render_block_after + +- Lieu: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Depuis : 3.1.2 +- But : Événement permettant aux autres extensions de faire quelque chose après le rendu du bloc + +### format@@0 blitze_sitemaker_save_block_before + +- Lieu: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Depuis : 3.1.2 +- But : Événement permettant aux autres extensions de modifier les données des blocs avant de les enregistrer + +### format@@0 blitze_sitemaker_show_all block_positions + +- Lieu: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Depuis : 3.1.2 +- But : Événement permettant aux autres extensions de faire quelque chose quand toutes les positions de bloc sont affichées + +### masquer les positions de blocs vides + +- Lieu: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Depuis : 3.1.2 +- But : Événement permettant aux autres extensions de faire quelque chose lorsque des positions vides sont cachées + +### format@@0 blitze_sitemaker_layout_cleared + +- Lieu: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Depuis : 3.1.2 +- But : Événement permettant aux autres extensions de faire quelque chose lorsque la mise en page est effacée + +### format@@0 blitze_sitemaker_layout_updated + +- Lieu: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Depuis : 3.1.2 +- But : Événement permettant aux autres extensions de faire quelque chose lorsque la mise à jour de la mise en page est mise à jour. + +### Options de mise à jour du site + +- Lieu: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Depuis : 3.3.0 +- But : Événement permettant aux autres extensions de modifier les options de tinymce diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/dev/overview.md b/website/i18n/fr/docusaurus-plugin-content-docs/current/dev/overview.md new file mode 100644 index 000000000000..72e72f4f9fb2 --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/dev/overview.md @@ -0,0 +1,179 @@ +--- +title: Extension de phpBB SiteMaker +sidebar_position: 1 +--- + +Vous pouvez étendre/modifier phpBB SiteMaker en utilisant [le remplacement de service](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [la décoration de service](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), et [le système d'événements de phpBB](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Vous pouvez trouver une liste des événements pris en charge [ici](./events.md). + +## Création d'un bloc SiteMaker + +Un bloc phpBB SiteMaker est simplement une classe qui étend la classe blitze\sitemaker\services\blocks\driver\block et retourne un tableau de la méthode "display" avec un 'title' et 'content'. Tout le reste entre les deux est à vous. Pour que votre bloc puisse être découvert par phpBB SiteMaker, tu devras lui donner la balise "sitemaker.block". + +Dire que nous avons une extension avec vendor/extension comme mon/exemple. Pour créer un bloc appelé "my_block" pour phpBB SiteMaker: + +- Créer un dossier "blocs" +- Créez mon_block.php dans le dossier des blocs avec le contenu suivant + +```php +espace de noms my\example\blocks; + +utilisez blitze\sitemaker\services\blocks\driver\block; + +la classe my_block étend le bloc +{ + /** + * {@inheritdoc} + */ + public function display(tableau $settings, $edit_mode = false) + { + Retourne le tableau ( + 'title' => 'mon titre de bloc', + 'content' => 'mon contenu de bloc', + ); + } +} +``` + +Ensuite, dans votre fichier config.yml, ajoutez ce qui suit : + +```yml +services : + +... + + my.example.block.my_block: + class: mon\example\blocks\my_block + appels: + - [set_name, [my.example.block.my_block]] + balises : + - { name: sitemaker.block } + +.... + +``` + +Au minimum, c'est tout ce dont vous avez besoin. Si vous passez en mode édition, vous devriez voir le bloc listé comme 'MY_EXAMPLE_BLOCK_MY_BLOCK' qui peut être déplacé et déposé sur n'importe quelle position de bloc. Mais ce bloc ne fait rien de passionnant. Il n'a pas de paramètres et ne traduit pas le nom du bloc. Rendons cela plus intéressant. + +### Paramètres du bloc + +Modifions nos blocs/mon_block. hp file and add a "get_config" method th at return an array with the keys being the block settings and the values being an array describing the settings like so: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Only show when option 1 is selected
'), + ); + } +``` + +Ceci est construit de la même manière que phpBB construit la configuration pour les paramètres de la carte en ACP. Vous pouvez voir plus d'exemples [ici](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Si vous voulez un type de champ personnalisé, vous pouvez voir un exemple [ici](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' setting). + +Note 'legend1' et 'legend2' : Ils sont utilisés pour séparer les paramètres en onglets. + +### Blocs de nommage + +La convention pour les noms de blocs est que le nom du service (par exemple mon.exemple.block. y*bloc ci-dessus) sera utilisé comme clé de langage en remplaçant les points (.) par trait de soulignement (*) (par exemple MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Traduction + +Notez également que nous avons plusieurs clés de langue qui doivent être traduites. Pour cela, créez un fichier nommé "blocks_admin.php" dans votre dossier de langue. Ce fichier sera automatiquement chargé lors de l'édition de blocs, et devrait avoir des traductions pour les paramètres de vos blocs et les noms de blocs. + +``` +$lang = array_merge($lang, tableau( + 'SOME_LANG_VAR' => 'Option 1', + 'OTHER_LANG_VAR' => 'Option 2', + 'SOME_LANG_VAR_1' => 'Réglage 1', +.... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Mon bloc', +); +``` + +Parce que 'blocks_admin.php' n'est chargé que lors de l'édition de blocs, vous devrez ajouter d'autres traductions (par ex. en chargeant un fichier de langue dans votre méthode d'affichage comme `$language->add_lang('my_lang_file', 'my/exemple');` + +### Rendu du bloc + +Le nouveau bloc ne sera affiché que s'il affiche quelque chose. Votre bloc peut renvoyer n'importe quelle chaîne de caractères en tant que contenu, mais dans la plupart des cas, vous avez besoin d'un modèle pour afficher votre contenu. Pour afficher votre bloc en utilisant des modèles, le bloc doit retourner un tableau qui contient les données que vous voulez passer au modèle et doit également implémenter la méthode `get_template` comme démontré ci-dessous : + +```php + /** + * @inheritdoc + */ + fonction publique get_config(table $settings) + { + $options = table(1 => 'SOME_LANG_VAR', 2 => 'AUTRE_LANG_VAR'); + retour tableau( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'chaîne', 'type' => 'checkbox', 'options' => $options, 'default' => tableau(), 'expliquer' => faux), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + public function display(tableau $data, $edit_mode = false) + { + if ($edit_mode) + { + // ne fait quelque chose qu'en mode édition + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Ensuite, votre fichier styles/all/my_block.html ou styles/prosilver/my_block.html pourrait ressembler à ceci : + +``` +

Vous avez sélectionné : {{ some_var }}

+``` + +En résumé, votre bloc doit retourner un tableau avec une clé `titre` (pour le titre du bloc) et une clé `contenu` (si le bloc affiche juste une chaîne de caractères et n'utilise pas de modèle) ou une clé `de données` (si le bloc utilise un modèle, dans ce cas, vous devrez également implémenter la méthode `get_template`). + +### Actifs de bloc + +Si votre bloc doit ajouter des assets (css/js) à la page, je vous recommande d'utiliser la classe [util du sitemaker](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) pour cela. Comme il peut y avoir plus d'une instance du même bloc sur la page, ou d'autres blocs pourraient être d'ajouter le même actif, la classe utilitaire s'assure que l'actif est seulement ajouté. + +```php + $this->util->add_assets(array( + 'js' => array( + '@mon_exemple/assets/une. s', + 100 => '@mon_exemple/assets/autre. s', // définit la priorité + ), + 'css' => tableau( + '@mon_exemple/assets/unes. ss', + ) +)); +``` + +La classe utilitaire devra bien sûr être ajoutée à vos définitions de service dans config.yml comme suit: `- '@blitze.sitemaker. til'` et défini dans le constructeur de votre bloc `\blitze\sitemaker\services\util $util`. + +Et c'est tout. Nous avons terminé ! diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/dev/theming.md b/website/i18n/fr/docusaurus-plugin-content-docs/current/dev/theming.md new file mode 100644 index 000000000000..0e9bb2ccba48 --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/dev/theming.md @@ -0,0 +1,62 @@ +--- +title: Thème +sidebar_position: 3 +--- + +Nous comprenons que les fichiers de modèles et les fichiers JS/CSS ne fonctionneront pas pour tous les styles, ainsi vous pouvez utiliser vos propres modèles et créer des fichiers JS/CSS pour votre style particulier. + +## Utiliser votre propre modèle + +Si les modèles par défaut fournis avec phpBB Sitemaker ne fonctionnent pas correctement pour votre style particulier, vous pouvez facilement l'écraser pour utiliser votre propre fichier de modèle en créant le fichier correspondant dans le dossier de vos styles. + +Par exemple, disons que votre style s'appelle `Backlash` et qu'il a une façon particulière de structurer le HTML de la section d'en-tête de bloc pour la [vue en boîte](/docs/user/blocks/block-views). Vous pouvez écraser ce modèle en créant un fichier sous le même nom que celui-ci : `phpBB/ext/blitze/sitemaker/styles/Backlash/template/views/boxed_view.twig`. + +En d'autres termes, pour utiliser votre propre fichier de modèle, vous devez : +* Identifier quel fichier phpBB Sitemaker doit être écrasé +* Créez un fichier avec le même nom dans le dossier `styles` du Sitemaker sous votre nom de style + +> Remarque : Si vous créez vos propres fichiers de modèles, Assurez-vous de ne pas supprimer le dossier `phpbb/ext/blitze/sitemaker` lors de la mise à jour de l'extension car vos fichiers personnalisés seront supprimés. Plutôt, il suffit d'écraser les fichiers existants avec les nouveaux. + +## Création de fichiers JS/CSS pour votre style + +Note : +* Aux fins des instructions ci-dessous, nous supposerons que vous avez un style appelé mon-style. + +Cloner dans phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +À partir de la ligne de commande, allez dans le répertoire sitemaker : + + cd phpBB/ext/blitze/sitemaker + +**Installer les vendeurs** + + installation de compositeur + +**Installer des paquets** + +Pour les commandes ci-dessous, vous pouvez utiliser npm ou [yarn](https://yarnpkg.com) + + yarn install + +**Regarder les changements** + + yarn start --theme mon-style + +**Effectuer des modifications** + +* Effectuez vos modifications dans le dossier phpBB/ext/blitze/sitemaker/developper. +* Regardez phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss pour les variables sass + +**Actifs de construction** + + yarn build --theme mon-style + +**Déployer** + +Vous pouvez maintenant copier les fichiers générés à partir de phpBB/ext/blitze/sitemaker/styles/mon-style et les télécharger sur votre serveur de production. + +> Cette extension utilise l'interface jQuery pour les onglets, les dialogues et les boutons. Le thème jQuery par défaut est 'smoothness'. Vous pouvez utiliser un thème jQuery différent qui correspond le mieux à votre thème. Vous pouvez spécifier le thème jQuery en utilisant l'option --jq_ui_theme. Par exemple : + + yarn build --theme mon-style --jq_ui_theme ui-lightness diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/intro/_category_.json b/website/i18n/fr/docusaurus-plugin-content-docs/current/intro/_category_.json new file mode 100644 index 000000000000..7ac84e1fadc6 --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/intro/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Commencer", + "position": 1 +} diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/intro/installation.md b/website/i18n/fr/docusaurus-plugin-content-docs/current/intro/installation.md new file mode 100644 index 000000000000..f7c4b213fc85 --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/intro/installation.md @@ -0,0 +1,16 @@ +--- +title: "Installation / Mise à jour" +sidebar_position: 2 +--- + +Télécharger l'extension depuis [ici](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker +* Extraire et télécharger dans votre dossier phpBB/ext/ pour que vous ayez phpBB/ext/blitze/sitemaker +* Allez à "ACP" > "Customiser" > "Extensions" et activez l'extension "phpBB Sitemaker". + +## Mise à jour de phpBB SiteMaker +* Créez une sauvegarde de votre base de données juste au cas où quelque chose se passerait mal +* Allez dans "ACP" > "Customiser" > "Extensions" et désactivez (ne purgeez pas) "phpBB Sitemaker" +* Téléchargez et extrayez la dernière version de phpBB SiteMaker et téléchargez-la dans votre dossier phpBB/ext/ (écrasez) +* Allez à "ACP" > "Customiser" > "Extensions" et activez l'extension "phpBB Sitemaker". diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/intro/introduction.md b/website/i18n/fr/docusaurus-plugin-content-docs/current/intro/introduction.md new file mode 100644 index 000000000000..08547d915b90 --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/intro/introduction.md @@ -0,0 +1,6 @@ +--- +title: Introduction +sidebar_position: 1 +--- + +phpBB SiteMaker cherche à transformer votre tableau phpBB en un CMS/portail. Il le fait en vous fournissant des blocs et des menus pour vous aider à personnaliser votre site à votre goût. Il existe ou sera d'autres extensions SiteMaker qui fournissent des fonctionnalités supplémentaires pour atteindre cet objectif. Il vous permet également de définir une page de destination lors de l'accès à votre site. Donc, si vous ne voulez pas que les visiteurs de votre site voient immédiatement le forum phpBB quand ils vont sur www. our-site.com, vous pouvez définir votre propre page de démarrage. diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/user/_category_.json b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/_category_.json new file mode 100644 index 000000000000..dfc18c31ac5d --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Guide de l'utilisateur", + "position": 2 +} diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/user/blocks/_category_.json b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/blocks/_category_.json new file mode 100644 index 000000000000..99cce30bbd55 --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/blocks/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Blocs", + "position": 1 +} diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/user/blocks/block-views.md b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/blocks/block-views.md new file mode 100644 index 000000000000..25923eaf15b0 --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/blocks/block-views.md @@ -0,0 +1,6 @@ +--- +title: Bloquer les vues +sidebar_position: 2 +--- + +Travail en cours... \ No newline at end of file diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md new file mode 100644 index 000000000000..dd2e4e36e5c6 --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md @@ -0,0 +1,24 @@ +--- +title: Bloc personnalisé +sidebar_position: 4 +--- + +Si les blocs disponibles ne vous donnent pas la liberté dont vous avez besoin, il y a le `Bloc Personnalisé` qui vous permet d'afficher votre propre contenu en utilisant BBcode ou HTML. Le bloc est livré avec un éditeur WYSIWYG (TinyMCE) et un gestionnaire de scripts : + +## L'éditeur + +- Vous pouvez utiliser l'éditeur pour créer du contenu HTML +- Vous pouvez modifier le code source si vous avez besoin de ce niveau de contrôle en cliquant sur l'icône `Code source` (`<>`) dans l'éditeur +- L'éditeur vous permet de télécharger et de modifier des images + - Il crée un nouveau dossier dans phpBB/images/sitemaker_uploads/ pour chaque utilisateur qui y a accès + - Vous pouvez voir/gérer tous les dossiers utilisateur +- L'éditeur filtre tous les scripts potentiellement dangereux comme javascript, etc. Si vous avez besoin d'ajouter du contenu comme les publicités Google, le javascript sera filtré, mais vous pouvez contourner cela en faisant ce qui suit : + - Ajouter le bloc personnalisé à l'emplacement souhaité + - Modifiez le Bloc personnalisé, cliquez sur l'onglet `HTML` et collez votre Javascript + +## Le gestionnaire de scripts + +Le bloc personnalisé vous permet également d'ajouter des fichiers CSS et Javascript personnalisés à votre page. Pour faire ceci : + +- Ajouter un bloc `personnalisé` à n'importe quelle position de bloc. La position n'a pas d'importance sauf si vous affichez également du contenu avec le bloc +- Modifier le bloc, cliquez sur l'onglet `Scripts` et ajoutez vos fichiers CSS ou Javascript > Mot de prudence : ajouter à plusieurs scripts sur votre page peut affecter les temps de chargement diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md new file mode 100644 index 000000000000..8c4c5c12cdd0 --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md @@ -0,0 +1,51 @@ +--- +title: Gestion des blocs +sidebar_position: 3 +--- + +Pour gérer les blocs dans phpBB SiteMaker, vous devez être dans la [mode édition](./overview#edit-mode). + +> Lorsqu'un bloc n'affiche aucun contenu, il ne sera pas affiché, sauf en mode édition. De cette façon, vous pouvez soit lui donner du contenu (dans le cas du bloc Personnalisé) ou modifier ses paramètres. + +> En mode édition, les blocs quelque peu transparents sont des blocs qui ne seront pas affichés mais ne sont affichés que parce que nous sommes en mode édition + +## Ajout des blocs +Vous pouvez ajouter des blocs à n'importe quelle page frontale, à l'exception des pages du panneau de contrôle de l'utilisateur et du panneau de configuration du modérateur. Pour ajouter un bloc, vous devrez : +* cliquez sur **Blocs** dans la barre d'administration. Ceci affichera une liste des blocs disponibles +* Glissez et déposez le bloc désiré à n'importe quelle position de bloc + +## Édition des blocs +### Ajout d'une icône de bloc +À la gauche du titre du bloc (prosilver), il y a une boîte pour l'icône du bloc. Cliquez sur cette case pour obtenir le sélecteur d'icônes. Vous pouvez sélectionner la taille de l'icône, la couleur, le float, la rotation, etc. + +### Modifier le titre du bloc +Les blocs phpBB SiteMaker auront un titre par défaut, traduit mais si le titre ne répond pas à vos besoins, vous pouvez le changer. Pour modifier le titre du bloc, +* Cliquez sur le titre du bloc pour obtenir un formulaire d'édition en ligne +* Remplacer le titre par ce que vous voulez +* Retirer le focus du champ ou appuyer sur Entrée pour soumettre les modifications + +> Votre titre de bloc modifié n'est pas traduit + +> Pour revenir au titre par défaut, supprimez simplement le titre et appuyez sur Entrée + +### Édition des paramètres de blocage +Lorsque tu survoles un bloc, une icône de roue apparaîtra à droite du bloc qui peut être utilisé pour modifier le bloc. Dans la boîte de dialogue d'édition, vous pouvez: +- Activer/désactiver un bloc [Status] +- Choisissez quand le bloc ne devrait pas être affiché [Display]. Cela ne s'applique que dans les cas où vous avez des pages imbriquées (voir [Comprendre l'héritage des blocs](/docs/user/site/block-inheritance) ) : + - **Toujours**: Toujours afficher le bloc + - **Cacher sur les routes enfants**: afficher uniquement ce bloc sur la route parente + - **Afficher uniquement sur les routes enfants**: afficher ce bloc uniquement sur une route enfant +- Choisissez quels groupes d'utilisateurs peuvent voir le bloc [Visible par]. Utilisez CTRL + cliquez pour sélectionner plusieurs groupes. +- Définir des classes personnalisées pour modifier l'apparence du bloc ou des éléments (listes, images, arrière-plan, etc.) dans le bloc [classe CSS] +- Afficher/masquer le titre du bloc [Cacher le titre du bloc ?] +- Sélectionnez la vue bloc [Vue bloc]. Vous pouvez sélectionner une vue de bloc par défaut lorsque de nouveaux blocs sont ajoutés dans ACP. + - **Par défaut / Simple**: utilise la classe du panneau prosilver pour envelopper le bloc dans un conteneur rembourré + - **Basic**: le bloc n'a pas de conteneur le enveloppant + - **Boxed**: utilise la classe prosilver forabg pour envelopper le bloc dans une boîte +- Définir / Mettre à jour les paramètres spécifiques du bloc +- Si vous avez le même bloc avec les mêmes paramètres sur plusieurs pages, vous pouvez tous les mettre à jour en même temps en vérifiant les blocs de mise à jour **avec des paramètres similaires** + +## Suppression des blocs +- Survolez le bloc que vous souhaitez supprimer +- Cliquez sur l'icône **x** et confirmez que vous souhaitez supprimer le bloc +- Montez dans la barre d'administration et cliquez sur `Enregistrer les modifications` diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/user/blocks/overview.md b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/blocks/overview.md new file mode 100644 index 000000000000..f90822ed9b0b --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/blocks/overview.md @@ -0,0 +1,9 @@ +--- +title: Que sont les blocs ? +sidebar_position: 1 +--- + +Au cœur de phpBB SiteMaker est le concept de blocs. Les blocs sont de petits morceaux de contenu que vous pouvez placer dans différentes zones prédéfinies (positions des blocs) sur votre site. Les blocs auront généralement des paramètres que vous pouvez définir/modifier pour affiner le contenu que vous souhaitez afficher. La plupart des blocs, mais pas tous, feront des requêtes de base de données pour obtenir le contenu souhaité. Ne soyons donc pas trop fous :). Pour gérer les blocs, vous devrez passer en mode d'édition. + +## Mode d'édition +Passer en mode édition en cliquant sur l'icône crayon en haut à droite de votre site. Ceci affichera la barre d'administration avec les éléments de menu "Blocs" et "Paramètres". On appelle cela comme étant en mode édition. diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/user/menus/_category_.json b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/menus/_category_.json new file mode 100644 index 000000000000..4259794d53ee --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/menus/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Menus", + "position": 2 +} diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md new file mode 100644 index 000000000000..9c63b757eed7 --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md @@ -0,0 +1,15 @@ +--- +title: Affichage des menus +sidebar_position: 3 +--- + +Maintenant que vous avez créé vos menus, vous pouvez les afficher de plusieurs façons : + +## Bloc de liens +Vous pouvez utiliser ce bloc pour afficher une liste plate ou imbriquée des liens de menu. Ce bloc n'est pas destiné à être utilisé pour la navigation, c'est-à-dire qu'il n'affichera pas de page courante ou quoi que ce soit de ce genre. Il est destiné à une liste d'éléments, y compris des liens externes. + +## Bloc de menus +Ce bloc est destiné à la navigation du site. Il fait quelques calculs supplémentaires pour déterminer l'emplacement actuel et n'est pas destiné à être une liste très grande. + +## Barre de navigation +Similaire au bloc Menus, la barre de navigation affichera les éléments du menu comme un menu déroulant réactif destiné à la navigation du site. Vous pouvez activer ceci dans ACP > Extensions > Sitemaker > Paramètres > Sélectionnez le menu diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md new file mode 100644 index 000000000000..8a4aa0ebf842 --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md @@ -0,0 +1,30 @@ +--- +title: Gestion des liens de menu +sidebar_position: 2 +--- + +Votre menu est inutile à moins d'avoir des liens de menu. Vous pouvez ajouter des éléments de menu qui pointent vers des fichiers locaux ou externes. + +> L'URL des sites externes doit commencer par http(s)://, ftp://, //, etc. + +> Vous pouvez créer un séparateur en entrant '-' comme titre de l'élément + +## Ajout d'éléments de menu +Vous pouvez ajouter des éléments de menu à la fois, ou vous pouvez ajouter plusieurs éléments de menu à l'un d'entre eux. + +### Ajout d'éléments de menu unique +Pour ajouter un lien de menu unique, +* cliquez sur le bouton `Ajouter un lien de menu` +* Remplissez les informations requises et cliquez sur `Enregistrer` + +### Ajout de plusieurs éléments +Pour ajouter plusieurs éléments de menu à la fois, +* Cliquer sur l'icône de la flèche vers le bas à côté de `Ajouter un élément de menu` +* Vous pouvez ajouter manuellement des éléments en plaçant chaque élément sur une nouvelle ligne et en utilisant le nid de caractères d'onglets ou +* Vous pouvez cliquer sur l'une des options fournies au bas de la zone de texte pour remplir automatiquement les éléments du menu + +## Réorganiser les liens de menu +Vous pouvez glisser-déposer les liens de menu vers le haut/bas pour définir leur ordre d'affichage, ou les faire glisser vers la gauche/droite pour définir la hiérarchie souhaitée. + +## Reconstruction des éléments du menu +Si vous trouvez que les liens de menu ne s'affichent pas correctement, cliquez sur le bouton `Reconstruire l'arborescence` pour reconstruire les liens de menu. diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md new file mode 100644 index 000000000000..ce740f150b53 --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md @@ -0,0 +1,24 @@ +--- +title: Gestion des menus +sidebar_position: 1 +--- + +Vous pouvez créer des menus en ACP que vous pouvez ensuite afficher en utilisant les menus ou les blocs Liens ou affichés en tant que barre de navigation horizontale. + +## Gestion des menus + +Pour gérer les menus, allez dans ACP > Extensions > Sitemaker > Menu + +### Création des menus +Pour créer un nouveau menu (groupe), cliquez sur le bouton `Ajouter le menu`. Un nouveau groupe de menus sera créé avec un nom généré aléatoirement. Le nouveau menu sera également sélectionné afin que vous puissiez y ajouter des éléments de menu. + +### Édition des menus +Si vous voulez un nom de menu plus significatif, +* survolez le nom du menu et cliquez sur l'icône de cog +* entrez le nouveau nom de menu et appuyez sur Entrée pour le mettre à jour + +### Suppression des menus +Pour supprimer un menu et ses éléments, +* Survolez le nom du menu et cliquez sur l'icône **x** +* Si l'élément de menu n'a pas d'élément enfant, vous devrez confirmer votre choix pour supprimer l'élément +* Si l'élément de menu a des éléments enfants, vous devrez indiquer si vous voulez supprimer seulement l'élément et déplacer ses enfants vers le haut ou si vous voulez supprimer la branche entière diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/user/site/_category_.json b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/site/_category_.json new file mode 100644 index 000000000000..55217e1435ac --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/site/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Construire votre site", + "position": 3 +} diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md new file mode 100644 index 000000000000..d099b35c023f --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md @@ -0,0 +1,46 @@ +--- +title: Héritage de bloc +sidebar_position: 5 +--- + +Nous l'avons déjà vu en définissant une disposition par défaut, les autres pages qui n'ont pas de blocs propres hériteront des blocs de la disposition par défaut. Il existe cependant un autre type d'héritage de blocs. + +## Routes parents/enfants +Dans phpBB SiteMaker, nous parlons de routes imbriquées en termes de vrais répertoires imbriqués (sous-) ou de chemins virtuellement imbriqués / routes. Veuillez rester avec moi :). +* Routes réelles Parent/Enfant: Par exemple, le chemin /some_directory/sub_directory/index.php est un enfant de /some_directory/index.php +* Routes Virtual Parent/Child : Par exemple, viewtopic.php est traité comme un enfant de viewforum.php. + +Voici quelques exemples de routes parents/enfants: + +| Même page/fenêtre | Enfant | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/mon-article | + +## Bloc parent / enfant de l'héritage +Pour les routes parent/enfant, la route enfant hérite des blocs de la route parente (si le parent a ses propres blocs) ou de la disposition par défaut (si elle a été définie). En d'autres termes, même s'il y a une disposition par défaut, la route enfant héritera des blocs de sa route parente si la route parente a ses propres blocs. Mais tous les blocs de la route parentale ne doivent pas être hérités. + +## Contrôler l'héritage des blocs +Au niveau d'un bloc, le personnage peut contrôler quand un bloc peut être hérité par des routes enfants. Nous avons touché cela plus tôt dans la section [Modifier les paramètres de bloc](/docs/user/blocks/managing-blocks#editing-block-settings). + +Considérez la structure de répertoire réelle: +```text +phpBB +├── index.php +└── Movies/ + ├── index.php + ├── page.php + └── Comedy/ + └── index.php +``` + +Dans le but d'hériter des blocs, nous disons: +* La route parente de /phpBB/Movies/Comedy/index.php est /phpBB/Movies/index.php et non /phpBB/Movies/page.php +* Toutes les pages dans un sous-répertoire relatif à /phpBB/index.php est une route enfant de /phpBB/index.php. Donc /phpBB/Movies/index.php et /phpBB/Movies/page.php sont tous des enfants de /phpBB/index.php et hériteront donc de ses blocs s'ils n'ont pas de blocs propres. Dans ce cas: + * Quand un bloc sur /phpBB/index.php est configuré pour s'afficher sur **Cacher sur les routes des enfants**, le bloc s'affichera sur /phpBB/index. hp (route parentale) mais pas sur ses routes enfants + * Quand un bloc sur /phpBB/index.php est configuré pour s'afficher sur **Afficher sur les routes enfants seulement**, il s'affichera sur /phpBB/Movies/index. hp and /phpBB/Movies/page.php (child routes) but not on /phpBB/index.php (parent), nor /phpBB/Movies/Comedy/index.php (we go only one level deep) + * Quand un bloc sur /phpBB/index.php est configuré pour afficher **toujours** (par défaut), il s'affichera sur /phpBB/index. hp (parent), /phpBB/Movies/index.php and /phpBB/page.php (child routes) but not on /phpBB/Movies/Comedy/index.php (we go only one level deep). Dans ce cas, /phpBB/Movies/Comedy/index.php héritera de la route par défaut (si elle existe) + +## État du futur possible +Je suis vraiment intéressé par vos commentaires dans ce domaine. La plupart des utilisateurs de phpBB n'auront pas de vrais répertoires comme décrit ci-dessus. Donc, je pense à utiliser la structure qui est définie dans un bloc de menu comme une structure de répertoire virtuel et appliquer cet héritage parent/enfant à lui. J'envisage également d'aller au-delà d'un niveau de profondeur. S'il vous plaît, faites-moi savoir si cela vous sera utile. \ No newline at end of file diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md new file mode 100644 index 000000000000..0f586ef6b6c9 --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md @@ -0,0 +1,6 @@ +--- +title: Personnalisation de l'affichage des blocs +sidebar_position: 6 +--- + +Travail en cours... \ No newline at end of file diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/user/site/default-layout.md b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/site/default-layout.md new file mode 100644 index 000000000000..7ebcfa5b22a7 --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/site/default-layout.md @@ -0,0 +1,21 @@ +--- +title: Définir une mise en page par défaut +sidebar_position: 4 +--- + +Lorsque vous ajoutez un bloc, il est ajouté à cette page spécifique. Il serait donc fastidieux de mettre en place des blocs pour toutes les pages de votre site. Vous pouvez définir tous les blocs désirés pour une page particulière, puis définir cette page comme mise en page par défaut. En d'autres termes, toute page qui n'a pas ses propres blocs, héritera des blocs de cette page. + +Pour définir une mise en page par défaut +* Aller à la page que vous souhaitez définir comme mise en page par défaut +* Cliquez sur `Paramètres` dans la barre d'administration +* Cliquez sur le bouton `Définir comme disposition par défaut` + +Dire que nous ajoutons des blocs à une page (phpBB/index.php) avec des blocs dans la barre latérale et les positions supérieures, par exemple, et le définir comme notre disposition par défaut. Ceci a les effets suivants pour les autres pages : +* N'importe quelle page qui n'a pas ses propres blocs, héritera les blocs de la disposition par défaut. Voir [Comprendre le patrimoine des blocs](/docs/user/site/block-inheritance) pour les exceptions. +* Vous pouvez toujours hériter des blocs d'une mise en page par défaut (index. hp) mais choisissez de ne pas afficher les blocs sur certaines positions de blocs ou d'afficher aucun bloc du tout. Pour cela, + * Allez à la page que vous ne voulez pas tous / certains blocs à afficher + * Cliquez sur `Paramètres` dans la barre d'administration + * Sélectionnez `Ne pas afficher les blocs sur cette page` si vous ne voulez pas hériter/afficher de blocs sur cette page OU + * Utilisez CTRL + clic pour sélectionner les positions des blocs (à droite) sur lesquelles vous ne voulez pas afficher les blocs +* En `mode d'édition`, une page qui hérite des blocs de la disposition par défaut, n'affichera aucun bloc, vous donnant la possibilité d'ajouter des blocs à la page si vous voulez +* N'importe quelle page qui a ses propres blocs n'héritera pas de la mise en page par défaut diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/user/site/layouts.md b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/site/layouts.md new file mode 100644 index 000000000000..ff6a38867fab --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/site/layouts.md @@ -0,0 +1,31 @@ +--- +title: Mises en page +sidebar_position: 1 +--- + +Les « mises en page » déterminent la position des blocs disponibles et la façon dont ils sont affichés. + +## Positions du bloc +Les positions de bloc sont des zones prédéfinies sur votre site où des blocs peuvent exister. Les positions de blocs disponibles sont déterminées par le style de modèle que vous utilisez. Pour prosilver, phpBB SiteMaker est livré avec les positions de bloc suivantes : +* panneau: pleine largeur sur le dessus +* sidebar: gauche/droite selon la mise en page ci-dessous +* sous-contenu: similaire à la barre latérale juste plus grande +* top_hor: blocs horizontaux sur le haut, flanking au-dessus de la barre latérale/sous-contenu en fonction de la disposition +* haut: au-dessus du contenu principal +* box : largeur égale, blocs horizontaux en dessous du contenu principal +* bas : en dessous du contenu principal +* bottom_hor: blocs horizontaux à travers le bas, en flanquant la barre latérale/sous-contenu en fonction de la mise en page +* pied de page : blocs horizontaux dans le pied de page Vous pouvez ajouter plus de positions de bloc dans vos propres modèles de style en copiant et modifiant les modèles phpBB SiteMaker correspondants + +## Mise en page du site +Vous pouvez choisir la mise en page de votre site dans ACP (Extensions > Sitemaker > Paramètres): +* **Blog**: sous-contenu et barre latérale à côté l'un de l'autre, poussé à droite, top_hor/botom_hor sous-contenu du flanc +* **Saint Graal**: largeur égale de la barre latérale et du sous-contenu sur les côtés opposés, top_hor/botom_hor sous-contenu du flanc +* **Portail**: barre latérale à gauche, sous-contenu à droite, top_hor/botom_hor sous-contenu du flanc +* **Portail Alt**: sous-contenu à gauche, barre latérale à droite, top_hor/botom_hor barre latérale +* **Personnalisé**: Définissez manuellement la largeur des barres latérales en px, %, em ou rem. La valeur par défaut est 200px de chaque côté + +## Modèles/styles personnalisés +Autant que possible, nous avons essayé de mettre des fichiers modèles et des assets dans le dossier styles/all/ afin que vous puissiez les écraser en créant un fichier avec le même nom sous votre propre thème de modèle e. . - prosil. Donc, si vous voulez modifier comment un certain bloc s'affiche ou si vous voulez créer votre propre mise en page avec vos propres positions de bloc, vous devez simplement créer un fichier avec le même nom et le même chemin que l'original dans votre propre style. + +Si vous avez besoin de personnaliser les fichiers CSS/JS, jetez un œil à la section [thème](/docs/dev/theming). \ No newline at end of file diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/user/site/navbar.md b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/site/navbar.md new file mode 100644 index 000000000000..aeec4ba9ecac --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/site/navbar.md @@ -0,0 +1,6 @@ +--- +title: Barre de navigation +sidebar_position: 2 +--- + +Voir [Afficher les menus](/docs/user/menus/displaying-menus#navigation-bar) diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/user/site/startpage.md b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/site/startpage.md new file mode 100644 index 000000000000..965ff724666a --- /dev/null +++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/user/site/startpage.md @@ -0,0 +1,11 @@ +--- +title: Définir une page de démarrage +sidebar_position: 3 +--- + +phpBB SiteMaker vous permet de choisir n'importe quel contrôleur frontal (pages accédées via app.php/... comme page de démarrage par défaut (la page qui sera affichée lorsque quelqu'un visitera votre site) au lieu de l'index du forum. + +Pour faire ceci : +* Aller à la page que vous voulez définir comme page de démarrage par défaut +* Cliquer sur `Paramètres` dans la barre d'administration. Si c'est une page éligible, vous verrez un bouton `Définir comme page de départ` +* Cliquez sur le bouton `Définir comme page d'accueil` \ No newline at end of file diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/contrib/_category_.json b/website/i18n/he/docusaurus-plugin-content-docs/current/contrib/_category_.json new file mode 100644 index 000000000000..9f09f85c1772 --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/contrib/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Contribute", + "position": 4 +} diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/contrib/overview.md b/website/i18n/he/docusaurus-plugin-content-docs/current/contrib/overview.md new file mode 100644 index 000000000000..de46426e8d48 --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/contrib/overview.md @@ -0,0 +1,11 @@ +--- +title: Get Involved +sidebar_position: 1 +--- + +phpBB SiteMaker is an open source project and welcomes your ideas and contributions. So feel free to get involved. You can contribute to this project by: + +* [Providing Support/Feedback](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Reporting Bugs](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Helping with Translation](./translators.md) +* [Fixing bugs or adding features](./pull-requests.md) diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/contrib/pull-requests.md b/website/i18n/he/docusaurus-plugin-content-docs/current/contrib/pull-requests.md new file mode 100644 index 000000000000..eb49a6f371dc --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/contrib/pull-requests.md @@ -0,0 +1,65 @@ +--- +title: Submitting a Pull Request +sidebar_label: Pull Requests +--- + +`Pull requests let you tell others about changes you've pushed to a branch in a repository on GitHub. Once a pull request is opened, you can discuss and review the potential changes with collaborators and add follow-up commits before your changes are merged into the base branch.` [Read more](https://help.github.com/articles/about-pull-requests/) + +## Forking/Cloning + +* Create a github account if you don't already have one +* Go to https://github.com/blitze/phpBB-ext-sitemaker.git and click on "Fork" + +Clone your fork of the repository: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +From command line go to sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + +**Configure git:** + +Add your Username to Git on your system: + + git config --global user.name "Your Name Here" + +Add your E-mail address to Git on your system: + + git config --add user.email username@phpbb.com + +Add the upstream remote (you can change ‘upstream’ to whatever you like): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + +**Install vendors** + + composer install + +**Install NPM packages** + + npm install + +Alternatively you may use [yarn](https://yarnpkg.com): + + yarn install + +## Pull Requests + + # Create a new branch for your feature & switch to it + git checkout -b feature/my-fancy-new-feature + + # create a new branch for the issue you are working on * switch to it (ticket # is from github tracker) + git checkout -b ticket/1234 + +Make your changes + + # Stage the files + git add + + # Commit staged files - please use a correct commit message + git commit -m "my commit message" + +Push the branch back to GitHub git push origin feature/my-fancy-new-feature + +Submit a [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/contrib/translators.md b/website/i18n/he/docusaurus-plugin-content-docs/current/contrib/translators.md new file mode 100644 index 000000000000..117e8c0cd238 --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/contrib/translators.md @@ -0,0 +1,17 @@ +--- +title: Translators +sidebar_position: 2 +--- + +We need help translating this extension, as well as its documentation. We have created a project on Crowdin to ease translations. Crowdin gives you a translation interface that's second to none. You can contribute how ever you want but we really recommend using Crowdin. + +> Crowdin is a localization management platform that helps companies to translate their software. You can read more about Crowdin [here](https://support.crowdin.com/crowdin-intro/) + +If you are willing to contribute with translations, you will need: + +* A [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) account. +* Chose the target language if exist otherwise request to be enabled. + +If your desired language is not listed, please [contact me](https://crowdin.com/profile/blitze) and I will add it. + +[Start Translating](https://crowdin.com/project/phpbb-ext-sitemaker) diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/dev/_category_.json b/website/i18n/he/docusaurus-plugin-content-docs/current/dev/_category_.json new file mode 100644 index 000000000000..cc7b01abbce9 --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/dev/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Developer Guide", + "position": 3 +} diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/dev/events.md b/website/i18n/he/docusaurus-plugin-content-docs/current/dev/events.md new file mode 100644 index 000000000000..74e789e92ca9 --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/dev/events.md @@ -0,0 +1,120 @@ +--- +title: phpBB SiteMaker Events +sidebar_position: 2 +--- + +You can modify the behavior of phpBB SiteMaker using phpBB's event system. + +## PHP Events + +### blitze.sitemaker.acp_add_bulk_menu_options + +- Location: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Since: 3.1.0 +- Purpose: Add bulk menu options in acp menu + +### blitze.sitemaker.acp_display_settings_form + +- Location: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Since: 3.1.0 +- Purpose: display acp (sitemaker) settings form + +### blitze.sitemaker.acp_save_settings + +- Location: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Since: 3.1.0 +- Purpose: Save acp (sitemaker) settings + +### blitze.sitemaker.admin_bar.set_assets + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Since: 3.0.1-RC1 +- Purpose: Add assets for available blocks in edit mode + +### blitze.sitemaker.modify_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Since: 3.0.1-RC1 +- Purpose: Modify block positions + +### blitze.sitemaker.modify_rendered_block + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Since: 3.0.1-RC1 +- Purpose: Modify a rendered block + +## Template Events + +### blitze_sitemaker_acp_settings + +- Location: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Since: 3.1.0 +- Purpose: Add form fields for sitemaker settings + +### blitze_sitemaker_admin_bar_append + +- Location: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Since: 3.1.0 +- Purpose: Add menu items to admin bar + +### blitze_sitemaker_admin_bar_templates + +- Location: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Since: 3.1.0 +- Purpose: Add template files to be used in JS for block views, etc + +## Javascript Events + +### blitze_sitemaker_layout_saved + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout changes are saved + +### blitze_sitemaker_render_block_before + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something before block is rendered or prevent it from being re-rendered + +### blitze_sitemaker_render_block_after + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something after block is rendered + +### blitze_sitemaker_save_block_before + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to modify block data before it is saved + +### blitze_sitemaker_show_all_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when all block positions are shown + +### blitze_sitemaker_hide_empty_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when empty positions are hidden + +### blitze_sitemaker_layout_cleared + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout is cleared + +### blitze_sitemaker_layout_updated + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout is updated + +### blitze_sitemaker_tinymce_options + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Since: 3.3.0 +- Purpose: Event to allow other extensions to modify tinymce options diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/dev/overview.md b/website/i18n/he/docusaurus-plugin-content-docs/current/dev/overview.md new file mode 100644 index 000000000000..04a34e5ee9c8 --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/dev/overview.md @@ -0,0 +1,179 @@ +--- +title: Extending phpBB SiteMaker +sidebar_position: 1 +--- + +You can extend/modify phpBB SiteMaker using [service replacement](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [service decoration](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), and [phpBB's event system](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). You can find a list of supported events [here](./events.md). + +## Creating a SiteMaker block + +A phpBB SiteMaker block is simply a class that extends the blitze\sitemaker\services\blocks\driver\block class and returns an array from the "display" method with a 'title' and 'content'. Everything else inbetween is up to you. To make your block discoverable by phpBB SiteMaker, you'll need to give it the "sitemaker.block" tag. + +Say we have an extension with vendor/extension as my/example. To create a block called "my_block" for phpBB SiteMaker: + +- Create a "blocks" folder +- Create my_block.php file in the blocks folder with the following content + +```php +namespace my\example\blocks; + +use blitze\sitemaker\services\blocks\driver\block; + +class my_block extends block +{ + /** + * {@inheritdoc} + */ + public function display(array $settings, $edit_mode = false) + { + return array( + 'title' => 'my block title', + 'content' => 'my block content', + ); + } +} +``` + +Then in your config.yml file, add the following: + +```yml +services: + + ... + + my.example.block.my_block: + class: my\example\blocks\my_block + calls: + - [set_name, [my.example.block.my_block]] + tags: + - { name: sitemaker.block } + + .... + +``` + +At a bare minimum, that's all you need. If you go into edit mode, you should see the block listed as 'MY_EXAMPLE_BLOCK_MY_BLOCK' that can be dragged and dropped on any block position. But this block doesn't do anything exciting. It has no settings and does not translate the block name. Let's make it more interesting. + +### Block Settings + +Let's modify our blocks/my_block.php file and add a "get_config" method th at returns an array with the keys being the block settings and the values being an array describing the settings like so: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Only show when option 1 is selected
'), + ); + } +``` + +This is constructed the same way that phpBB builds the configuration for board settings in ACP. You can see more examples [here](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +If you want a custom field type, you can see an example [here](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' setting). + +Notice 'legend1' and 'legend2': These are used to separate the settings into tabs. + +### Naming Blocks + +The convention for block names is that the service name (e.g my.example.block.my*block above) will be used as the language key by replacing the dots (.) with underscore (*) (e.g MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Translation + +Also notice that we have several language keys that need to be translated. To do this, create a file named "blocks_admin.php" in your language folder. This file will be automatically loaded when editing blocks, and should have translations for your blocks settings and block names. + +``` +$lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Option 1', + 'OTHER_LANG_VAR' => 'Option 2', + 'SOME_LANG_VAR_1' => 'Setting 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'My Block', +); +``` + +Because 'blocks_admin.php' is only loaded when editing blocks, you will need to add other translations (e.g. block title) by loading a language file in your display method like so `$language->add_lang('my_lang_file', 'my/example');` + +### Rendering the block + +The new block will only be displayed if it is rendering something. Your block can return any string as content but in most cases, you need a template to render your content. To render your block using templates, the block must return an array that holds the data that you want to pass to the template and must also implement the `get_template` method as demonstrated below: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block.html'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // do something only in edit mode + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); + } +``` + +Then your styles/all/my_block.html or styles/prosilver/my_block.html file might look something like this: + +``` +

You selected: {{ some_var }}

+``` + +In summary, your block must return an array with a `title` key (for the block title) and a `content` key (if the block just displays a string and does not use a template) or a `data` key (if the block uses a template, in which case, you will also need to implement the `get_template` method). + +### Block Assets + +If your block needs to add assets (css/js) to the page, I recommend using the sitemaker [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) for that. Since there can be more than one instance of the same block on the page, or other blocks might be adding the same asset, the util class ensures that the asset is only added ones. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some.js', + 100 => '@my_example/assets/other.js', // set priority + ), + 'css' => array( + '@my_example/assets/some.css', + ) + )); +``` + +The util class will, of course, need to be added to your service definitions in config.yml like so: `- '@blitze.sitemaker.util'` and defined in your block's constructor `\blitze\sitemaker\services\util $util`. + +And that's it. We're done! diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/dev/theming.md b/website/i18n/he/docusaurus-plugin-content-docs/current/dev/theming.md new file mode 100644 index 000000000000..96fa96590958 --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/dev/theming.md @@ -0,0 +1,62 @@ +--- +title: Theming +sidebar_position: 3 +--- + +We understand that the template files and the JS/CSS files will not work for every style, so below are some ways you can use your own templates and create JS/CSS files for your particular style. + +## Using your own template + +If the default templates that come with phpBB Sitemaker don't work well for your particular style, you can easily overwrite it to use your own template file by creating the corresponding file in your styles's folder. + +For example, say your style is called `Backlash` and it has a particular way in which the HTML for the block header section needs to be structured for the [boxed view](/docs/user/blocks/block-views). You can overwrite that particular template by creating a file by the same name like so: `phpBB/ext/blitze/sitemaker/styles/Backlash/template/views/boxed_view.twig`. + +In other words, to use your own template file, you need to: +* Identify which phpBB Sitemaker file needs to be overwritten +* Create a file by the same name in the Sitemaker `styles` folder under your style name + +> Note: If you create your own template files, be sure to not delete the `phpbb/ext/blitze/sitemaker` folder when updating the extension as your custom files will be deleted. Rather, just overwrite the existing files with the new ones. + +## Creating JS/CSS files for your style + +Note: +* For the purpose of the below instructions we will assume that you have a style called my-style. + +Clone into phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +From command line go to sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + +**Install vendors** + + composer install + +**Install packages** + +For the below commands you can use npm or [yarn](https://yarnpkg.com) + + yarn install + +**Watch Changes** + + yarn start --theme my-style + +**Make Changes** + +* Make your changes to files in the phpBB/ext/blitze/sitemaker/develop folder. +* Look at phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss for sass variables + +**Build Assets** + + yarn build --theme my-style + +**Deploy** + +You can now copy the generated files from phpBB/ext/blitze/sitemaker/styles/my-style and uploaded them to your production server. + +> This extension uses jQuery UI for tabs, dialogs and buttons. The default jQuery theme is 'smoothness.' You can use a different jQuery UI theme that best fits your theme. You can specify the jQuery UI theme using the flag --jq_ui_theme. For example: + + yarn build --theme my-style --jq_ui_theme ui-lightness diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/intro/_category_.json b/website/i18n/he/docusaurus-plugin-content-docs/current/intro/_category_.json new file mode 100644 index 000000000000..3562d433d76f --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/intro/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Getting Started", + "position": 1 +} diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/intro/installation.md b/website/i18n/he/docusaurus-plugin-content-docs/current/intro/installation.md new file mode 100644 index 000000000000..e0630f01e6be --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/intro/installation.md @@ -0,0 +1,16 @@ +--- +title: "Installing / Upgrading" +sidebar_position: 2 +--- + +Download the extension from [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker +* Extract and upload it to your phpBB/ext/ folder so you have phpBB/ext/blitze/sitemaker +* Go to "ACP" > "Customise" > "Extensions" and enable the "phpBB Sitemaker" extension. + +## Upgrading phpBB SiteMaker +* Create a backup of your database just in case something goes wrong +* Go to "ACP" > "Customise" > "Extensions" and disable (do not purge) "phpBB Sitemaker" +* Download and extract the latest version of phpBB SiteMaker and upload it to your phpBB/ext/ folder (overwrite) +* Go to "ACP" > "Customise" > "Extensions" and enable the "phpBB Sitemaker" extension. diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/intro/introduction.md b/website/i18n/he/docusaurus-plugin-content-docs/current/intro/introduction.md new file mode 100644 index 000000000000..f3613f50b73c --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/intro/introduction.md @@ -0,0 +1,6 @@ +--- +title: Introduction +sidebar_position: 1 +--- + +phpBB SiteMaker seeks to transform your phpBB board into a CMS/portal. It does so by providing you with blocks and menus to help you customize your site to your liking. There are or will be other SiteMaker extensions that provide additional functionality to meet this goal. It also allows you to define a landing page when your site is accessed. So if you don't want visitors to your site to immediately see the phpBB forum when they go to www.your-site.com, you can define your own start page. diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/user/_category_.json b/website/i18n/he/docusaurus-plugin-content-docs/current/user/_category_.json new file mode 100644 index 000000000000..68ea78e78443 --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/user/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "User Guide", + "position": 2 +} diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/user/blocks/_category_.json b/website/i18n/he/docusaurus-plugin-content-docs/current/user/blocks/_category_.json new file mode 100644 index 000000000000..6aa877545702 --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/user/blocks/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Blocks", + "position": 1 +} diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/user/blocks/block-views.md b/website/i18n/he/docusaurus-plugin-content-docs/current/user/blocks/block-views.md new file mode 100644 index 000000000000..3316541dd929 --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/user/blocks/block-views.md @@ -0,0 +1,6 @@ +--- +title: Block Views +sidebar_position: 2 +--- + +Work in progress... \ No newline at end of file diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md b/website/i18n/he/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md new file mode 100644 index 000000000000..861704f2e76f --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md @@ -0,0 +1,24 @@ +--- +title: Custom Block +sidebar_position: 4 +--- + +If the available blocks do not give you the freedom you need, there is the `Custom Block` which allows you the freedom to display your own content using BBcode or HTML. The block comes with a WYSIWYG editor (TinyMCE) and a scripts manager: + +## The editor + +- You can use the editor to create HTML content +- You can edit the source code if you need that level of control by clicking on the `Source code` icon (`<>`) in the editor +- The editor allows you to upload and modify images + - It creates a new folder in phpBB/images/sitemaker_uploads/ for every user who has access to it + - You can view/manage all user folders +- The editor filters out any potentially dangerous scripts like javascript, etc. If you need to add content like google ads, the javascript will be filtered out, but you can get around that by doing the following: + - Add the Custom Block to desired location + - Edit the Custom Block, click on the `HTML` tab and paste your Javascript + +## The Scripts Manager + +The Custom Block also allows you to add custom CSS and Javascript files to your page. To do this: + +- Add a `Custom Block` to any block position. The position does not matter unless you are also displaying content with the block +- Edit the block, click on the `Scripts` tab and add your CSS or Javascript files > Word of caution though: Adding to many scripts on your page can affect load times diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md b/website/i18n/he/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md new file mode 100644 index 000000000000..395342ad5c12 --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md @@ -0,0 +1,51 @@ +--- +title: Managing Blocks +sidebar_position: 3 +--- + +To manage blocks in phpBB SiteMaker, you must be in [Edit Mode](./overview#edit-mode). + +> When a block does not display any content, it will not be displayed, except in edit mode. That way, you can either give it content (in the case of the Custom block) or change its settings. + +> In edit mode, the somewhat transparent blocks are blocks that will otherwise not be displayed but are only being displayed because we are in edit mode + +## Adding blocks +You can add blocks to any front-facing page, except the User Control Panel and Moderator Control Panel pages. To add a block, you will need to: +* click on **Blocks** in the Admin bar. This will display a list of available blocks +* Drag and drop the desired block to any block position + +## Editing blocks +### Adding a block icon +To the left of the block title (prosilver), there is a box for the block icon. Click on this box to get the icon picker. You can select the icon size, color, float, rotation, etc. + +### Editing the Block Title +phpBB SiteMaker blocks will have a default, translated title but if the title does not meet your needs, you can change it. To edit the block title, +* Click on the block title to get an inline edit form +* Change the title to whatever you want +* Remove focus from the field or hit enter to submit changes + +> Your modified block title is not translated + +> To revert to the default title, simple delete the title and hit enter + +### Editing block settings +When you hover over a block, a cog icon will appear to the right of the block that can be used to edit the block. In the edit block dialog, you can: +- Enable/disable a block [Status] +- Choose when the block should/should not be displayed [Display]. This only applies in cases where you have nested pages (see [Understanding Block Inheritance](/docs/user/site/block-inheritance)): + - **Always**: Always display the block + - **Hide on child routes**: Only show this block on the parent route + - **Show on child routes only**: Only show this block on a child route +- Choose which groups of users can view the block [Viewable by]. Use CTRL + click to select multiple groups. +- Set custom classes to modify the appearance of the block or items (lists, images, background, etc) within the block [CSS Class] +- Show/hide the block title [Hide block title?] +- Select the block view [Block view]. You can select a default block view when new blocks are added in ACP. + - **Default / Simple**: uses the prosilver panel class to wrap the block in a padded container + - **Basic**: block does not have any container wrapping it + - **Boxed**: uses the prosilver forabg class to wrap the block in a box +- Set / Update block specific settings +- If you have the same block with same settings across multiple pages, you can update all of them at once by checking the **Update blocks with similar settings** + +## Deleting blocks +- Hover over the block you'd like to delete +- Click on the **x** icon and confirm that you wish to delete the block +- Go up to the admin bar and click on `Save Changes` diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/user/blocks/overview.md b/website/i18n/he/docusaurus-plugin-content-docs/current/user/blocks/overview.md new file mode 100644 index 000000000000..1b8f0a75c40e --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/user/blocks/overview.md @@ -0,0 +1,9 @@ +--- +title: What are blocks? +sidebar_position: 1 +--- + +At the heart of phpBB SiteMaker is the concept of blocks. Blocks are little pieces of content that you can place in different pre-defined areas (block positions) on your site. The blocks will typically have settings that you can set/change to fine-tune the content that you wish to display. Most blocks, but not all, will make database queries to get the desired content. So let's not get too crazy :). To manage blocks, you will need to switch to "edit mode". + +## Edit Mode +Switch to edit mode by clicking on the pencil icon on the top right of your site. This will display the "Admin bar" with "Blocks" and "Settings" menu items. This is referred to as being in 'edit mode'. diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/user/menus/_category_.json b/website/i18n/he/docusaurus-plugin-content-docs/current/user/menus/_category_.json new file mode 100644 index 000000000000..4259794d53ee --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/user/menus/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Menus", + "position": 2 +} diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md b/website/i18n/he/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md new file mode 100644 index 000000000000..70927b2abece --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md @@ -0,0 +1,15 @@ +--- +title: Displaying Menus +sidebar_position: 3 +--- + +Now that you have create your menus, you can display them in several ways: + +## Links Block +You can use this block to display a flat or nested list of menu items. This block is not intended to be used for navigation i.e. it will not show a current page or anything like that. It is intended for a list of items, including external links. + +## Menus Block +This block is intended for site navigation. It does some additional computations to determine current location and is not intended to be a very large list. + +## Navigation bar +Similar to the Menus block, the navigation bar will display menu items as a responsive dropdown menu intended for site navigation. You can enable this in ACP > Extensions > Sitemaker > Settings > Select menu diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md b/website/i18n/he/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md new file mode 100644 index 000000000000..eb77c62c13d0 --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md @@ -0,0 +1,30 @@ +--- +title: Managing Menu Items +sidebar_position: 2 +--- + +Your menu is useless unless it has menu items. You can add menu items that point to local or external files. + +> The URL for external sites must begin with http(s)://, ftp://, //, etc. + +> You can create a divider by entering '-' as the item title + +## Adding Menu items +You can add menu items one item at a time, or you can add multiple menu items at ones. + +### Adding single menu items +To add a single menu item, +* click on the `Add Menu Item` button +* Fill in the required information and hit `Save` + +### Adding multiple items +To add multiple menu items at once, +* Click on the down arrow icon next to `Add Menu Item` +* You can manually add items by placing each item on a new line and using the tab character nest items or +* You can click on one of the provided options at the bottom of the textarea to automatically fill in the menu items + +## Reorder the menu items +You can drag and drop the menu items up/down to set their display order, or drag them left/right to set the desired hierarchy. + +## Rebuilding the menu items +If you find that the menu items are not displaying correctly, click on the `Rebuild Tree` button to rebuild the menu items. diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md b/website/i18n/he/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md new file mode 100644 index 000000000000..bc7ec16cfbab --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md @@ -0,0 +1,24 @@ +--- +title: Managing Menus +sidebar_position: 1 +--- + +You can create menus in ACP that you can then display using the Menus or the Links blocks or displayed as a horizontal navbar. + +## Managing Menus + +To manage menus, go to ACP > Extensions > Sitemaker > Menu + +### Creating Menus +To create a new menu (group), click on the `Add Menu` button. A new menu group will be created with a randomly generated name. The new menu will also be selected so you can begin adding menu items to it. + +### Editing Menus +If you want a more meaningful menu name, +* hover over the menu name and click on the cog icon +* enter the new menu name and hit enter to update it + +### Deleting Menus +To delete a menu, and its items, +* Hover over the menu name and click on the **x** icon +* If the menu item has no child items, you will need to confirm your choice to delete the item +* If the menu item has child items, you will need to indicate if you want to delete only the item and move its children up or if you want to delete the entire branch diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/user/site/_category_.json b/website/i18n/he/docusaurus-plugin-content-docs/current/user/site/_category_.json new file mode 100644 index 000000000000..c1279944184a --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/user/site/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Building your site", + "position": 3 +} diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md b/website/i18n/he/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md new file mode 100644 index 000000000000..d53ed6cf2f07 --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md @@ -0,0 +1,46 @@ +--- +title: Block Inheritance +sidebar_position: 5 +--- + +We have already seen that by setting a default layout, other pages that do not have blocks of their own will inherit the blocks from the default layout. There is, however, another type of block inheritance. + +## Parent/Child Routes +In phpBB SiteMaker, we speak of nested routes in terms of real nested (sub) directories or virtually nested paths/routes. Please stay with me :). +* Real Parent/Child routes: For example, the path /some_directory/sub_directory/index.php is a child of /some_directory/index.php +* Virtual Parent/Child routes: For example, viewtopic.php is treated as a child of viewforum.php. + +Here are some examples of parent/child routes: + +| Parent | Child | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/my-article | + +## Parent/Child Block Inheritance +For parent/child routes, the child route inherits the blocks of the parent route (if the parent has its own blocks) or from the default layout (if one has been set). In other words, even if there is a default layout, the child route will inherit blocks from its parent route if the parent route has its own blocks. But not all blocks from the parent route must be inherited. + +## Controlling Block Inheritance +At a block level, you can control when a block can be inherited by child routes. We touched on this earlier in the [Editing Block Settings](/docs/user/blocks/managing-blocks#editing-block-settings). + +Consider the following real directory structure: +```text +phpBB +├── index.php +└── Movies/ + ├── index.php + ├── page.php + └── Comedy/ + └── index.php +``` + +For the purposes of inheriting blocks, we say: +* The parent route of /phpBB/Movies/Comedy/index.php is /phpBB/Movies/index.php and not /phpBB/Movies/page.php +* All pages in a sub directory relative to /phpBB/index.php is a child route of /phpBB/index.php. So /phpBB/Movies/index.php and /phpBB/Movies/page.php are all children of /phpBB/index.php and will therefore inherit its blocks if they do not have blocks of their own. In this case: + * When a block on /phpBB/index.php is set to display on **Hide on child routes**, the block will show on /phpBB/index.php (parent route) but not on its child routes + * When a block on /phpBB/index.php is set to display on **Show on child routes only**, it will display on /phpBB/Movies/index.php and /phpBB/Movies/page.php (child routes) but not on /phpBB/index.php (parent), nor /phpBB/Movies/Comedy/index.php (we only go one level deep) + * When a block on /phpBB/index.php is set to display **always** (default), it will display on /phpBB/index.php (parent), /phpBB/Movies/index.php and /phpBB/page.php (child routes) but not on /phpBB/Movies/Comedy/index.php (we only go one level deep). In this case, /phpBB/Movies/Comedy/index.php will inherit from the default route (if it exists) + +## Posible Future State +I'm really interested in your feedback in this area. Most phpBB users will not have real directories as outlined above. So I'm thinking of using the structure that is defined in a menu block as a virtual directory structure and apply this parent/child inheritance to it. I'm also considering going beyond one level deep. Please let me know if this will be useful to you. \ No newline at end of file diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md b/website/i18n/he/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md new file mode 100644 index 000000000000..5c8921307597 --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md @@ -0,0 +1,6 @@ +--- +title: Customizing Blocks Display +sidebar_position: 6 +--- + +Work in progress... \ No newline at end of file diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/user/site/default-layout.md b/website/i18n/he/docusaurus-plugin-content-docs/current/user/site/default-layout.md new file mode 100644 index 000000000000..e0707bde32c9 --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/user/site/default-layout.md @@ -0,0 +1,21 @@ +--- +title: Setting a Default Layout +sidebar_position: 4 +--- + +When you add a block, it is added to that specific page. It would, therefore, be a tedious task to set blocks for all the pages on your site. You can set all the desired blocks for a particular page, then set that page as the default layout. In others words, any page that does not have its own blocks, will inherit blocks from this page. + +To set a default layout +* Go to the page that you'd like to set as default layout +* Click on `Settings` in the admin bar +* Click the `Set as default layout` button + +Say we add blocks to a page (phpBB/index.php) with blocks in the sidebar and top positions, for example, and set it as our default layout. This has the following effects for other pages: +* Any page that does not have its own blocks, will inherit the blocks from the default layout. See [Understanding Block Inheritance](/docs/user/site/block-inheritance) for exceptions. +* You may still inherit blocks from a default layout (index.php) but choose to not display blocks on some block positions or not display any blocks at all. To do this, + * Go to the page that you don't want all/some blocks to display + * Click on `Settings` in the admin bar + * Select `Do not show blocks on this page` if you don't want to inherit/display any blocks on this page OR + * Use CTRL + click to select the block positions (on the right) that you do not want to display blocks on +* In `edit mode`, a page that inherits blocks from the default layout, will not show any blocks, giving you the opportunity to add blocks to the page if you want to +* Any page that has its own blocks will not inherit from the default layout diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/user/site/layouts.md b/website/i18n/he/docusaurus-plugin-content-docs/current/user/site/layouts.md new file mode 100644 index 000000000000..4ee616f81cf7 --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/user/site/layouts.md @@ -0,0 +1,31 @@ +--- +title: Layouts +sidebar_position: 1 +--- + +"Layouts" determine the available block positions and how they are displayed. + +## Block Positions +Block positions are predefined areas on your site where blocks can exist. The available block positions are determined by the template style that you are using. For prosilver, phpBB SiteMaker comes with the following block positions: +* panel: full width across the top +* sidebar: left/right depending on layout below +* subcontent: similar to sidebar just larger +* top_hor: horizontal blocks across the top, flanking above sidebar/subcontent depending on layout +* top: above main content +* box: equal width, horizontal blocks below main content +* bottom: below main content +* bottom_hor: horizontal blocks across the bottom, flanking the sidebar/subcontent depending on layout +* footer: horizontal blocks in the footer You can add more block positions in your own style templates by copying and modifying the corresponding phpBB SiteMaker templates + +## Site Layout +You can choose the layout for your site in ACP (Extensions > Sitemaker > Settings): +* **Blog**: subcontent and sidebar next to each other, pushed to the right, top_hor/botom_hor flank subcontent +* **Holy Grail**: equal width sidebar and subcontent on opposite sides, top_hor/botom_hor flank subcontent +* **Portal**: sidebar on left, subcontent on the right, top_hor/botom_hor flank subcontent +* **Portal Alt**: subcontent on left, sidebar on the right, top_hor/botom_hor flank sidebar +* **Custom**: Manually set the width of the sidebars as px, %, em or rem. Defaults to 200px on each side + +## Custom templates/styles +As much as possible, we tried to put template files and assets in styles/all/ folder so that you can overwrite them by creating a file with same name under your own template theme e.g. prosilver. So if you want to modify how a certain block displays or if you want to create your own layout with your own block positions, you simply need to create a file with the same name and path as the original in your own style. + +If you need to customize CSS/JS files, take a look at the [theming](/docs/dev/theming) section. \ No newline at end of file diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/user/site/navbar.md b/website/i18n/he/docusaurus-plugin-content-docs/current/user/site/navbar.md new file mode 100644 index 000000000000..e5f697c35044 --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/user/site/navbar.md @@ -0,0 +1,6 @@ +--- +title: Navigation Bar +sidebar_position: 2 +--- + +See [Displaying Menus](/docs/user/menus/displaying-menus#navigation-bar) diff --git a/website/i18n/he/docusaurus-plugin-content-docs/current/user/site/startpage.md b/website/i18n/he/docusaurus-plugin-content-docs/current/user/site/startpage.md new file mode 100644 index 000000000000..433400874bd9 --- /dev/null +++ b/website/i18n/he/docusaurus-plugin-content-docs/current/user/site/startpage.md @@ -0,0 +1,11 @@ +--- +title: Setting a Start Page +sidebar_position: 3 +--- + +phpBB SiteMaker allows you to choose any front controller (pages accessed via app.php/...) as your default start page (the page that will be shown when someone visits your site) instead of the board index. + +To do this: +* Go to the page that you want to set as default start page +* Click on `Settings` in the admin bar. If it is an eligible page, you will see a `Set as start page` button +* Click on the `Set as start page` button \ No newline at end of file diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/contrib/_category_.json b/website/i18n/hr/docusaurus-plugin-content-docs/current/contrib/_category_.json new file mode 100644 index 000000000000..9f09f85c1772 --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/contrib/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Contribute", + "position": 4 +} diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/contrib/overview.md b/website/i18n/hr/docusaurus-plugin-content-docs/current/contrib/overview.md new file mode 100644 index 000000000000..de46426e8d48 --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/contrib/overview.md @@ -0,0 +1,11 @@ +--- +title: Get Involved +sidebar_position: 1 +--- + +phpBB SiteMaker is an open source project and welcomes your ideas and contributions. So feel free to get involved. You can contribute to this project by: + +* [Providing Support/Feedback](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Reporting Bugs](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Helping with Translation](./translators.md) +* [Fixing bugs or adding features](./pull-requests.md) diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/contrib/pull-requests.md b/website/i18n/hr/docusaurus-plugin-content-docs/current/contrib/pull-requests.md new file mode 100644 index 000000000000..eb49a6f371dc --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/contrib/pull-requests.md @@ -0,0 +1,65 @@ +--- +title: Submitting a Pull Request +sidebar_label: Pull Requests +--- + +`Pull requests let you tell others about changes you've pushed to a branch in a repository on GitHub. Once a pull request is opened, you can discuss and review the potential changes with collaborators and add follow-up commits before your changes are merged into the base branch.` [Read more](https://help.github.com/articles/about-pull-requests/) + +## Forking/Cloning + +* Create a github account if you don't already have one +* Go to https://github.com/blitze/phpBB-ext-sitemaker.git and click on "Fork" + +Clone your fork of the repository: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +From command line go to sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + +**Configure git:** + +Add your Username to Git on your system: + + git config --global user.name "Your Name Here" + +Add your E-mail address to Git on your system: + + git config --add user.email username@phpbb.com + +Add the upstream remote (you can change ‘upstream’ to whatever you like): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + +**Install vendors** + + composer install + +**Install NPM packages** + + npm install + +Alternatively you may use [yarn](https://yarnpkg.com): + + yarn install + +## Pull Requests + + # Create a new branch for your feature & switch to it + git checkout -b feature/my-fancy-new-feature + + # create a new branch for the issue you are working on * switch to it (ticket # is from github tracker) + git checkout -b ticket/1234 + +Make your changes + + # Stage the files + git add + + # Commit staged files - please use a correct commit message + git commit -m "my commit message" + +Push the branch back to GitHub git push origin feature/my-fancy-new-feature + +Submit a [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/contrib/translators.md b/website/i18n/hr/docusaurus-plugin-content-docs/current/contrib/translators.md new file mode 100644 index 000000000000..117e8c0cd238 --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/contrib/translators.md @@ -0,0 +1,17 @@ +--- +title: Translators +sidebar_position: 2 +--- + +We need help translating this extension, as well as its documentation. We have created a project on Crowdin to ease translations. Crowdin gives you a translation interface that's second to none. You can contribute how ever you want but we really recommend using Crowdin. + +> Crowdin is a localization management platform that helps companies to translate their software. You can read more about Crowdin [here](https://support.crowdin.com/crowdin-intro/) + +If you are willing to contribute with translations, you will need: + +* A [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) account. +* Chose the target language if exist otherwise request to be enabled. + +If your desired language is not listed, please [contact me](https://crowdin.com/profile/blitze) and I will add it. + +[Start Translating](https://crowdin.com/project/phpbb-ext-sitemaker) diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/dev/_category_.json b/website/i18n/hr/docusaurus-plugin-content-docs/current/dev/_category_.json new file mode 100644 index 000000000000..cc7b01abbce9 --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/dev/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Developer Guide", + "position": 3 +} diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/dev/events.md b/website/i18n/hr/docusaurus-plugin-content-docs/current/dev/events.md new file mode 100644 index 000000000000..74e789e92ca9 --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/dev/events.md @@ -0,0 +1,120 @@ +--- +title: phpBB SiteMaker Events +sidebar_position: 2 +--- + +You can modify the behavior of phpBB SiteMaker using phpBB's event system. + +## PHP Events + +### blitze.sitemaker.acp_add_bulk_menu_options + +- Location: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Since: 3.1.0 +- Purpose: Add bulk menu options in acp menu + +### blitze.sitemaker.acp_display_settings_form + +- Location: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Since: 3.1.0 +- Purpose: display acp (sitemaker) settings form + +### blitze.sitemaker.acp_save_settings + +- Location: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Since: 3.1.0 +- Purpose: Save acp (sitemaker) settings + +### blitze.sitemaker.admin_bar.set_assets + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Since: 3.0.1-RC1 +- Purpose: Add assets for available blocks in edit mode + +### blitze.sitemaker.modify_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Since: 3.0.1-RC1 +- Purpose: Modify block positions + +### blitze.sitemaker.modify_rendered_block + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Since: 3.0.1-RC1 +- Purpose: Modify a rendered block + +## Template Events + +### blitze_sitemaker_acp_settings + +- Location: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Since: 3.1.0 +- Purpose: Add form fields for sitemaker settings + +### blitze_sitemaker_admin_bar_append + +- Location: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Since: 3.1.0 +- Purpose: Add menu items to admin bar + +### blitze_sitemaker_admin_bar_templates + +- Location: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Since: 3.1.0 +- Purpose: Add template files to be used in JS for block views, etc + +## Javascript Events + +### blitze_sitemaker_layout_saved + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout changes are saved + +### blitze_sitemaker_render_block_before + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something before block is rendered or prevent it from being re-rendered + +### blitze_sitemaker_render_block_after + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something after block is rendered + +### blitze_sitemaker_save_block_before + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to modify block data before it is saved + +### blitze_sitemaker_show_all_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when all block positions are shown + +### blitze_sitemaker_hide_empty_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when empty positions are hidden + +### blitze_sitemaker_layout_cleared + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout is cleared + +### blitze_sitemaker_layout_updated + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout is updated + +### blitze_sitemaker_tinymce_options + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Since: 3.3.0 +- Purpose: Event to allow other extensions to modify tinymce options diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/dev/overview.md b/website/i18n/hr/docusaurus-plugin-content-docs/current/dev/overview.md new file mode 100644 index 000000000000..04a34e5ee9c8 --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/dev/overview.md @@ -0,0 +1,179 @@ +--- +title: Extending phpBB SiteMaker +sidebar_position: 1 +--- + +You can extend/modify phpBB SiteMaker using [service replacement](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [service decoration](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), and [phpBB's event system](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). You can find a list of supported events [here](./events.md). + +## Creating a SiteMaker block + +A phpBB SiteMaker block is simply a class that extends the blitze\sitemaker\services\blocks\driver\block class and returns an array from the "display" method with a 'title' and 'content'. Everything else inbetween is up to you. To make your block discoverable by phpBB SiteMaker, you'll need to give it the "sitemaker.block" tag. + +Say we have an extension with vendor/extension as my/example. To create a block called "my_block" for phpBB SiteMaker: + +- Create a "blocks" folder +- Create my_block.php file in the blocks folder with the following content + +```php +namespace my\example\blocks; + +use blitze\sitemaker\services\blocks\driver\block; + +class my_block extends block +{ + /** + * {@inheritdoc} + */ + public function display(array $settings, $edit_mode = false) + { + return array( + 'title' => 'my block title', + 'content' => 'my block content', + ); + } +} +``` + +Then in your config.yml file, add the following: + +```yml +services: + + ... + + my.example.block.my_block: + class: my\example\blocks\my_block + calls: + - [set_name, [my.example.block.my_block]] + tags: + - { name: sitemaker.block } + + .... + +``` + +At a bare minimum, that's all you need. If you go into edit mode, you should see the block listed as 'MY_EXAMPLE_BLOCK_MY_BLOCK' that can be dragged and dropped on any block position. But this block doesn't do anything exciting. It has no settings and does not translate the block name. Let's make it more interesting. + +### Block Settings + +Let's modify our blocks/my_block.php file and add a "get_config" method th at returns an array with the keys being the block settings and the values being an array describing the settings like so: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Only show when option 1 is selected
'), + ); + } +``` + +This is constructed the same way that phpBB builds the configuration for board settings in ACP. You can see more examples [here](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +If you want a custom field type, you can see an example [here](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' setting). + +Notice 'legend1' and 'legend2': These are used to separate the settings into tabs. + +### Naming Blocks + +The convention for block names is that the service name (e.g my.example.block.my*block above) will be used as the language key by replacing the dots (.) with underscore (*) (e.g MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Translation + +Also notice that we have several language keys that need to be translated. To do this, create a file named "blocks_admin.php" in your language folder. This file will be automatically loaded when editing blocks, and should have translations for your blocks settings and block names. + +``` +$lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Option 1', + 'OTHER_LANG_VAR' => 'Option 2', + 'SOME_LANG_VAR_1' => 'Setting 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'My Block', +); +``` + +Because 'blocks_admin.php' is only loaded when editing blocks, you will need to add other translations (e.g. block title) by loading a language file in your display method like so `$language->add_lang('my_lang_file', 'my/example');` + +### Rendering the block + +The new block will only be displayed if it is rendering something. Your block can return any string as content but in most cases, you need a template to render your content. To render your block using templates, the block must return an array that holds the data that you want to pass to the template and must also implement the `get_template` method as demonstrated below: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block.html'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // do something only in edit mode + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); + } +``` + +Then your styles/all/my_block.html or styles/prosilver/my_block.html file might look something like this: + +``` +

You selected: {{ some_var }}

+``` + +In summary, your block must return an array with a `title` key (for the block title) and a `content` key (if the block just displays a string and does not use a template) or a `data` key (if the block uses a template, in which case, you will also need to implement the `get_template` method). + +### Block Assets + +If your block needs to add assets (css/js) to the page, I recommend using the sitemaker [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) for that. Since there can be more than one instance of the same block on the page, or other blocks might be adding the same asset, the util class ensures that the asset is only added ones. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some.js', + 100 => '@my_example/assets/other.js', // set priority + ), + 'css' => array( + '@my_example/assets/some.css', + ) + )); +``` + +The util class will, of course, need to be added to your service definitions in config.yml like so: `- '@blitze.sitemaker.util'` and defined in your block's constructor `\blitze\sitemaker\services\util $util`. + +And that's it. We're done! diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/dev/theming.md b/website/i18n/hr/docusaurus-plugin-content-docs/current/dev/theming.md new file mode 100644 index 000000000000..96fa96590958 --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/dev/theming.md @@ -0,0 +1,62 @@ +--- +title: Theming +sidebar_position: 3 +--- + +We understand that the template files and the JS/CSS files will not work for every style, so below are some ways you can use your own templates and create JS/CSS files for your particular style. + +## Using your own template + +If the default templates that come with phpBB Sitemaker don't work well for your particular style, you can easily overwrite it to use your own template file by creating the corresponding file in your styles's folder. + +For example, say your style is called `Backlash` and it has a particular way in which the HTML for the block header section needs to be structured for the [boxed view](/docs/user/blocks/block-views). You can overwrite that particular template by creating a file by the same name like so: `phpBB/ext/blitze/sitemaker/styles/Backlash/template/views/boxed_view.twig`. + +In other words, to use your own template file, you need to: +* Identify which phpBB Sitemaker file needs to be overwritten +* Create a file by the same name in the Sitemaker `styles` folder under your style name + +> Note: If you create your own template files, be sure to not delete the `phpbb/ext/blitze/sitemaker` folder when updating the extension as your custom files will be deleted. Rather, just overwrite the existing files with the new ones. + +## Creating JS/CSS files for your style + +Note: +* For the purpose of the below instructions we will assume that you have a style called my-style. + +Clone into phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +From command line go to sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + +**Install vendors** + + composer install + +**Install packages** + +For the below commands you can use npm or [yarn](https://yarnpkg.com) + + yarn install + +**Watch Changes** + + yarn start --theme my-style + +**Make Changes** + +* Make your changes to files in the phpBB/ext/blitze/sitemaker/develop folder. +* Look at phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss for sass variables + +**Build Assets** + + yarn build --theme my-style + +**Deploy** + +You can now copy the generated files from phpBB/ext/blitze/sitemaker/styles/my-style and uploaded them to your production server. + +> This extension uses jQuery UI for tabs, dialogs and buttons. The default jQuery theme is 'smoothness.' You can use a different jQuery UI theme that best fits your theme. You can specify the jQuery UI theme using the flag --jq_ui_theme. For example: + + yarn build --theme my-style --jq_ui_theme ui-lightness diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/intro/_category_.json b/website/i18n/hr/docusaurus-plugin-content-docs/current/intro/_category_.json new file mode 100644 index 000000000000..3562d433d76f --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/intro/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Getting Started", + "position": 1 +} diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/intro/installation.md b/website/i18n/hr/docusaurus-plugin-content-docs/current/intro/installation.md new file mode 100644 index 000000000000..e0630f01e6be --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/intro/installation.md @@ -0,0 +1,16 @@ +--- +title: "Installing / Upgrading" +sidebar_position: 2 +--- + +Download the extension from [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker +* Extract and upload it to your phpBB/ext/ folder so you have phpBB/ext/blitze/sitemaker +* Go to "ACP" > "Customise" > "Extensions" and enable the "phpBB Sitemaker" extension. + +## Upgrading phpBB SiteMaker +* Create a backup of your database just in case something goes wrong +* Go to "ACP" > "Customise" > "Extensions" and disable (do not purge) "phpBB Sitemaker" +* Download and extract the latest version of phpBB SiteMaker and upload it to your phpBB/ext/ folder (overwrite) +* Go to "ACP" > "Customise" > "Extensions" and enable the "phpBB Sitemaker" extension. diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/intro/introduction.md b/website/i18n/hr/docusaurus-plugin-content-docs/current/intro/introduction.md new file mode 100644 index 000000000000..f3613f50b73c --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/intro/introduction.md @@ -0,0 +1,6 @@ +--- +title: Introduction +sidebar_position: 1 +--- + +phpBB SiteMaker seeks to transform your phpBB board into a CMS/portal. It does so by providing you with blocks and menus to help you customize your site to your liking. There are or will be other SiteMaker extensions that provide additional functionality to meet this goal. It also allows you to define a landing page when your site is accessed. So if you don't want visitors to your site to immediately see the phpBB forum when they go to www.your-site.com, you can define your own start page. diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/user/_category_.json b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/_category_.json new file mode 100644 index 000000000000..68ea78e78443 --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "User Guide", + "position": 2 +} diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/user/blocks/_category_.json b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/blocks/_category_.json new file mode 100644 index 000000000000..6aa877545702 --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/blocks/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Blocks", + "position": 1 +} diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/user/blocks/block-views.md b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/blocks/block-views.md new file mode 100644 index 000000000000..3316541dd929 --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/blocks/block-views.md @@ -0,0 +1,6 @@ +--- +title: Block Views +sidebar_position: 2 +--- + +Work in progress... \ No newline at end of file diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md new file mode 100644 index 000000000000..861704f2e76f --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md @@ -0,0 +1,24 @@ +--- +title: Custom Block +sidebar_position: 4 +--- + +If the available blocks do not give you the freedom you need, there is the `Custom Block` which allows you the freedom to display your own content using BBcode or HTML. The block comes with a WYSIWYG editor (TinyMCE) and a scripts manager: + +## The editor + +- You can use the editor to create HTML content +- You can edit the source code if you need that level of control by clicking on the `Source code` icon (`<>`) in the editor +- The editor allows you to upload and modify images + - It creates a new folder in phpBB/images/sitemaker_uploads/ for every user who has access to it + - You can view/manage all user folders +- The editor filters out any potentially dangerous scripts like javascript, etc. If you need to add content like google ads, the javascript will be filtered out, but you can get around that by doing the following: + - Add the Custom Block to desired location + - Edit the Custom Block, click on the `HTML` tab and paste your Javascript + +## The Scripts Manager + +The Custom Block also allows you to add custom CSS and Javascript files to your page. To do this: + +- Add a `Custom Block` to any block position. The position does not matter unless you are also displaying content with the block +- Edit the block, click on the `Scripts` tab and add your CSS or Javascript files > Word of caution though: Adding to many scripts on your page can affect load times diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md new file mode 100644 index 000000000000..bd11686979ac --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md @@ -0,0 +1,51 @@ +--- +title: Mananaging Blocks +sidebar_position: 3 +--- + +To manage blocks in phpBB SiteMaker, you must be in [Edit Mode](./overview#edit-mode). + +> When a block does not display any content, it will not be displayed, except in edit mode. That way, you can either give it content (in the case of the Custom block) or change its settings. + +> In edit mode, the somewhat transparent blocks are blocks that will otherwise not be displayed but are only being displayed because we are in edit mode + +## Adding blocks +You can add blocks to any front-facing page, except the User Control Panel and Moderator Control Panel pages. To add a block, you will need to: +* click on **Blocks** in the Admin bar. This will display a list of available blocks +* Drag and drop the desired block to any block position + +## Editing blocks +### Adding a block icon +To the left of the block title (prosilver), there is a box for the block icon. Click on this box to get the icon picker. You can select the icon size, color, float, rotation, etc. + +### Editing the Block Title +phpBB SiteMaker blocks will have a default, translated title but if the title does not meet your needs, you can change it. To edit the block title, +* Click on the block title to get an inline edit form +* Change the title to whatever you want +* Remove focus from the field or hit enter to submit changes + +> Your modified block title is not translated + +> To revert to the default title, simple delete the title and hit enter + +### Editing block settings +When you hover over a block, a cog icon will appear to the right of the block that can be used to edit the block. In the edit block dialog, you can: +- Enable/disable a block [Status] +- Choose when the block should/should not be displayed [Display]. This only applies in cases where you have nested pages (see [Understanding Block Inheritance](/docs/user/site/block-inheritance)): + - **Always**: Always display the block + - **Hide on child routes**: Only show this block on the parent route + - **Show on child routes only**: Only show this block on a child route +- Choose which groups of users can view the block [Viewable by]. Use CTRL + click to select multiple groups. +- Set custom classes to modify the appearance of the block or items (lists, images, background, etc) within the block [CSS Class] +- Show/hide the block title [Hide block title?] +- Select the block view [Block view]. You can select a default block view when new blocks are added in ACP. + - **Default / Simple**: uses the prosilver panel class to wrap the block in a padded container + - **Basic**: block does not have any container wrapping it + - **Boxed**: uses the prosilver forabg class to wrap the block in a box +- Set / Update block specific settings +- If you have the same block with same settings across multiple pages, you can update all of them at once by checking the **Update blocks with similar settings** + +## Deleting blocks +- Hover over the block you'd like to delete +- Click on the **x** icon and confirm that you wish to delete the block +- Go up to the admin bar and click on `Save Changes` diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/user/blocks/overview.md b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/blocks/overview.md new file mode 100644 index 000000000000..1b8f0a75c40e --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/blocks/overview.md @@ -0,0 +1,9 @@ +--- +title: What are blocks? +sidebar_position: 1 +--- + +At the heart of phpBB SiteMaker is the concept of blocks. Blocks are little pieces of content that you can place in different pre-defined areas (block positions) on your site. The blocks will typically have settings that you can set/change to fine-tune the content that you wish to display. Most blocks, but not all, will make database queries to get the desired content. So let's not get too crazy :). To manage blocks, you will need to switch to "edit mode". + +## Edit Mode +Switch to edit mode by clicking on the pencil icon on the top right of your site. This will display the "Admin bar" with "Blocks" and "Settings" menu items. This is referred to as being in 'edit mode'. diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/user/menus/_category_.json b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/menus/_category_.json new file mode 100644 index 000000000000..4259794d53ee --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/menus/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Menus", + "position": 2 +} diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md new file mode 100644 index 000000000000..70927b2abece --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md @@ -0,0 +1,15 @@ +--- +title: Displaying Menus +sidebar_position: 3 +--- + +Now that you have create your menus, you can display them in several ways: + +## Links Block +You can use this block to display a flat or nested list of menu items. This block is not intended to be used for navigation i.e. it will not show a current page or anything like that. It is intended for a list of items, including external links. + +## Menus Block +This block is intended for site navigation. It does some additional computations to determine current location and is not intended to be a very large list. + +## Navigation bar +Similar to the Menus block, the navigation bar will display menu items as a responsive dropdown menu intended for site navigation. You can enable this in ACP > Extensions > Sitemaker > Settings > Select menu diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md new file mode 100644 index 000000000000..eb77c62c13d0 --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md @@ -0,0 +1,30 @@ +--- +title: Managing Menu Items +sidebar_position: 2 +--- + +Your menu is useless unless it has menu items. You can add menu items that point to local or external files. + +> The URL for external sites must begin with http(s)://, ftp://, //, etc. + +> You can create a divider by entering '-' as the item title + +## Adding Menu items +You can add menu items one item at a time, or you can add multiple menu items at ones. + +### Adding single menu items +To add a single menu item, +* click on the `Add Menu Item` button +* Fill in the required information and hit `Save` + +### Adding multiple items +To add multiple menu items at once, +* Click on the down arrow icon next to `Add Menu Item` +* You can manually add items by placing each item on a new line and using the tab character nest items or +* You can click on one of the provided options at the bottom of the textarea to automatically fill in the menu items + +## Reorder the menu items +You can drag and drop the menu items up/down to set their display order, or drag them left/right to set the desired hierarchy. + +## Rebuilding the menu items +If you find that the menu items are not displaying correctly, click on the `Rebuild Tree` button to rebuild the menu items. diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md new file mode 100644 index 000000000000..bc7ec16cfbab --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md @@ -0,0 +1,24 @@ +--- +title: Managing Menus +sidebar_position: 1 +--- + +You can create menus in ACP that you can then display using the Menus or the Links blocks or displayed as a horizontal navbar. + +## Managing Menus + +To manage menus, go to ACP > Extensions > Sitemaker > Menu + +### Creating Menus +To create a new menu (group), click on the `Add Menu` button. A new menu group will be created with a randomly generated name. The new menu will also be selected so you can begin adding menu items to it. + +### Editing Menus +If you want a more meaningful menu name, +* hover over the menu name and click on the cog icon +* enter the new menu name and hit enter to update it + +### Deleting Menus +To delete a menu, and its items, +* Hover over the menu name and click on the **x** icon +* If the menu item has no child items, you will need to confirm your choice to delete the item +* If the menu item has child items, you will need to indicate if you want to delete only the item and move its children up or if you want to delete the entire branch diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/user/site/_category_.json b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/site/_category_.json new file mode 100644 index 000000000000..c1279944184a --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/site/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Building your site", + "position": 3 +} diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md new file mode 100644 index 000000000000..d53ed6cf2f07 --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md @@ -0,0 +1,46 @@ +--- +title: Block Inheritance +sidebar_position: 5 +--- + +We have already seen that by setting a default layout, other pages that do not have blocks of their own will inherit the blocks from the default layout. There is, however, another type of block inheritance. + +## Parent/Child Routes +In phpBB SiteMaker, we speak of nested routes in terms of real nested (sub) directories or virtually nested paths/routes. Please stay with me :). +* Real Parent/Child routes: For example, the path /some_directory/sub_directory/index.php is a child of /some_directory/index.php +* Virtual Parent/Child routes: For example, viewtopic.php is treated as a child of viewforum.php. + +Here are some examples of parent/child routes: + +| Parent | Child | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/my-article | + +## Parent/Child Block Inheritance +For parent/child routes, the child route inherits the blocks of the parent route (if the parent has its own blocks) or from the default layout (if one has been set). In other words, even if there is a default layout, the child route will inherit blocks from its parent route if the parent route has its own blocks. But not all blocks from the parent route must be inherited. + +## Controlling Block Inheritance +At a block level, you can control when a block can be inherited by child routes. We touched on this earlier in the [Editing Block Settings](/docs/user/blocks/managing-blocks#editing-block-settings). + +Consider the following real directory structure: +```text +phpBB +├── index.php +└── Movies/ + ├── index.php + ├── page.php + └── Comedy/ + └── index.php +``` + +For the purposes of inheriting blocks, we say: +* The parent route of /phpBB/Movies/Comedy/index.php is /phpBB/Movies/index.php and not /phpBB/Movies/page.php +* All pages in a sub directory relative to /phpBB/index.php is a child route of /phpBB/index.php. So /phpBB/Movies/index.php and /phpBB/Movies/page.php are all children of /phpBB/index.php and will therefore inherit its blocks if they do not have blocks of their own. In this case: + * When a block on /phpBB/index.php is set to display on **Hide on child routes**, the block will show on /phpBB/index.php (parent route) but not on its child routes + * When a block on /phpBB/index.php is set to display on **Show on child routes only**, it will display on /phpBB/Movies/index.php and /phpBB/Movies/page.php (child routes) but not on /phpBB/index.php (parent), nor /phpBB/Movies/Comedy/index.php (we only go one level deep) + * When a block on /phpBB/index.php is set to display **always** (default), it will display on /phpBB/index.php (parent), /phpBB/Movies/index.php and /phpBB/page.php (child routes) but not on /phpBB/Movies/Comedy/index.php (we only go one level deep). In this case, /phpBB/Movies/Comedy/index.php will inherit from the default route (if it exists) + +## Posible Future State +I'm really interested in your feedback in this area. Most phpBB users will not have real directories as outlined above. So I'm thinking of using the structure that is defined in a menu block as a virtual directory structure and apply this parent/child inheritance to it. I'm also considering going beyond one level deep. Please let me know if this will be useful to you. \ No newline at end of file diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md new file mode 100644 index 000000000000..5c8921307597 --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md @@ -0,0 +1,6 @@ +--- +title: Customizing Blocks Display +sidebar_position: 6 +--- + +Work in progress... \ No newline at end of file diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/user/site/default-layout.md b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/site/default-layout.md new file mode 100644 index 000000000000..e0707bde32c9 --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/site/default-layout.md @@ -0,0 +1,21 @@ +--- +title: Setting a Default Layout +sidebar_position: 4 +--- + +When you add a block, it is added to that specific page. It would, therefore, be a tedious task to set blocks for all the pages on your site. You can set all the desired blocks for a particular page, then set that page as the default layout. In others words, any page that does not have its own blocks, will inherit blocks from this page. + +To set a default layout +* Go to the page that you'd like to set as default layout +* Click on `Settings` in the admin bar +* Click the `Set as default layout` button + +Say we add blocks to a page (phpBB/index.php) with blocks in the sidebar and top positions, for example, and set it as our default layout. This has the following effects for other pages: +* Any page that does not have its own blocks, will inherit the blocks from the default layout. See [Understanding Block Inheritance](/docs/user/site/block-inheritance) for exceptions. +* You may still inherit blocks from a default layout (index.php) but choose to not display blocks on some block positions or not display any blocks at all. To do this, + * Go to the page that you don't want all/some blocks to display + * Click on `Settings` in the admin bar + * Select `Do not show blocks on this page` if you don't want to inherit/display any blocks on this page OR + * Use CTRL + click to select the block positions (on the right) that you do not want to display blocks on +* In `edit mode`, a page that inherits blocks from the default layout, will not show any blocks, giving you the opportunity to add blocks to the page if you want to +* Any page that has its own blocks will not inherit from the default layout diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/user/site/layouts.md b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/site/layouts.md new file mode 100644 index 000000000000..4ee616f81cf7 --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/site/layouts.md @@ -0,0 +1,31 @@ +--- +title: Layouts +sidebar_position: 1 +--- + +"Layouts" determine the available block positions and how they are displayed. + +## Block Positions +Block positions are predefined areas on your site where blocks can exist. The available block positions are determined by the template style that you are using. For prosilver, phpBB SiteMaker comes with the following block positions: +* panel: full width across the top +* sidebar: left/right depending on layout below +* subcontent: similar to sidebar just larger +* top_hor: horizontal blocks across the top, flanking above sidebar/subcontent depending on layout +* top: above main content +* box: equal width, horizontal blocks below main content +* bottom: below main content +* bottom_hor: horizontal blocks across the bottom, flanking the sidebar/subcontent depending on layout +* footer: horizontal blocks in the footer You can add more block positions in your own style templates by copying and modifying the corresponding phpBB SiteMaker templates + +## Site Layout +You can choose the layout for your site in ACP (Extensions > Sitemaker > Settings): +* **Blog**: subcontent and sidebar next to each other, pushed to the right, top_hor/botom_hor flank subcontent +* **Holy Grail**: equal width sidebar and subcontent on opposite sides, top_hor/botom_hor flank subcontent +* **Portal**: sidebar on left, subcontent on the right, top_hor/botom_hor flank subcontent +* **Portal Alt**: subcontent on left, sidebar on the right, top_hor/botom_hor flank sidebar +* **Custom**: Manually set the width of the sidebars as px, %, em or rem. Defaults to 200px on each side + +## Custom templates/styles +As much as possible, we tried to put template files and assets in styles/all/ folder so that you can overwrite them by creating a file with same name under your own template theme e.g. prosilver. So if you want to modify how a certain block displays or if you want to create your own layout with your own block positions, you simply need to create a file with the same name and path as the original in your own style. + +If you need to customize CSS/JS files, take a look at the [theming](/docs/dev/theming) section. \ No newline at end of file diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/user/site/navbar.md b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/site/navbar.md new file mode 100644 index 000000000000..e5f697c35044 --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/site/navbar.md @@ -0,0 +1,6 @@ +--- +title: Navigation Bar +sidebar_position: 2 +--- + +See [Displaying Menus](/docs/user/menus/displaying-menus#navigation-bar) diff --git a/website/i18n/hr/docusaurus-plugin-content-docs/current/user/site/startpage.md b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/site/startpage.md new file mode 100644 index 000000000000..433400874bd9 --- /dev/null +++ b/website/i18n/hr/docusaurus-plugin-content-docs/current/user/site/startpage.md @@ -0,0 +1,11 @@ +--- +title: Setting a Start Page +sidebar_position: 3 +--- + +phpBB SiteMaker allows you to choose any front controller (pages accessed via app.php/...) as your default start page (the page that will be shown when someone visits your site) instead of the board index. + +To do this: +* Go to the page that you want to set as default start page +* Click on `Settings` in the admin bar. If it is an eligible page, you will see a `Set as start page` button +* Click on the `Set as start page` button \ No newline at end of file diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/contrib/_category_.json b/website/i18n/it/docusaurus-plugin-content-docs/current/contrib/_category_.json new file mode 100644 index 000000000000..c6e54b74f19d --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/contrib/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Contribuisci", + "position": 4 +} diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/contrib/overview.md b/website/i18n/it/docusaurus-plugin-content-docs/current/contrib/overview.md new file mode 100644 index 000000000000..37497769dc38 --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/contrib/overview.md @@ -0,0 +1,11 @@ +--- +title: Partecipa +sidebar_position: 1 +--- + +phpBB SiteMaker è un progetto open source e accoglie le vostre idee e contributi. Quindi sentitevi liberi di farsi coinvolgere. Puoi contribuire a questo progetto tramite: + +* [Fornire Supporto/Feedback](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Segnalazione Errori](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Aiutare con traduzione](./translators.md) +* [Correggere bug o aggiungere funzionalità](./pull-requests.md) diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/contrib/pull-requests.md b/website/i18n/it/docusaurus-plugin-content-docs/current/contrib/pull-requests.md new file mode 100644 index 000000000000..a8775bf1c905 --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/contrib/pull-requests.md @@ -0,0 +1,65 @@ +--- +title: Inviare una richiesta Pull +sidebar_label: Richieste Pull +--- + +`Le richieste di pull ti permettono di comunicare agli altri i cambiamenti che hai portato in un ramo in un repository su GitHub. Una volta aperta una pull request è possibile discutere e rivedere i potenziali cambiamenti con i collaboratori e aggiungere i commit di follow-up prima che i cambiamenti siano uniti nel ramo base.` [Per saperne di più](https://help.github.com/articles/about-pull-requests/) + +## Forking/Cloning + +* Crea un account github se non ne hai già uno +* Vai su https://github.com/blitze/phpBB-ext-sitemaker.git e clicca su "Fork" + +Clona il tuo fork del repository: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Dalla riga di comando vai alla directory sitemaker: + + cd phpBB/ext/blitze/sitemaker + +**Configura git:** + +Aggiungi il tuo nome utente a Git sul tuo sistema: + + git config --global user.name "Il tuo nome qui" + +Aggiungi il tuo indirizzo e-mail a Git sul tuo sistema: + + git config --add user.email username@phpbb.com + +Aggiungi il telecomando a monte (puoi cambiare 'upstream' a quello che ti piace): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + +**Installa i fornitori** + + installazione compositore + +**Installa pacchetti NPM** + + npm install + +In alternativa è possibile utilizzare [yarn](https://yarnpkg.com): + + yarn install + +## Richieste Pull + + # Crea un nuovo ramo per la tua funzione & passa ad esso + git checkout -b funzionalità/my-fancy-new-feature + + # crea un nuovo ramo per il problema su cui stai lavorando * passa ad esso (il ticket # è da github tracker) + git checkout -b ticket/1234 + +Effettua le modifiche + + # Stage the files + git add + + # Commit staged files - si prega di utilizzare un messaggio di commit corretto + git commit -m "my commit message" + +Spingere nuovamente il ramo su GitHub git push origin feature/my-fancy-new-feature + +Invia una [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/contrib/translators.md b/website/i18n/it/docusaurus-plugin-content-docs/current/contrib/translators.md new file mode 100644 index 000000000000..aa3a4b11da93 --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/contrib/translators.md @@ -0,0 +1,17 @@ +--- +title: Traduttori +sidebar_position: 2 +--- + +Abbiamo bisogno di aiuto per tradurre questa estensione, così come la sua documentazione. Abbiamo creato un progetto su Crowdin per facilitare le traduzioni. Crowdin ti dà un'interfaccia di traduzione che non è seconda a nessuno. Puoi contribuire come vuoi ma ti consigliamo di usare Crowdin. + +> Crowdin è una piattaforma di gestione della localizzazione che aiuta le aziende a tradurre il loro software. Puoi leggere di più su Crowdin [qui](https://support.crowdin.com/crowdin-intro/) + +Se siete disposti a contribuire con le traduzioni, avrete bisogno di: + +* Un account [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker). +* Scegli la lingua di destinazione se esiste altrimenti la richiesta di essere abilitata. + +Se la lingua desiderata non è elencata, si prega di [contattarmi](https://crowdin.com/profile/blitze) e la aggiungerò. + +[Inizia A Tradurre](https://crowdin.com/project/phpbb-ext-sitemaker) diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/dev/_category_.json b/website/i18n/it/docusaurus-plugin-content-docs/current/dev/_category_.json new file mode 100644 index 000000000000..a0609339f9de --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/dev/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Guida Per Sviluppatori", + "position": 3 +} diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/dev/events.md b/website/i18n/it/docusaurus-plugin-content-docs/current/dev/events.md new file mode 100644 index 000000000000..3f4bf342cec3 --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/dev/events.md @@ -0,0 +1,120 @@ +--- +title: Eventi phpBB SiteMaker +sidebar_position: 2 +--- + +È possibile modificare il comportamento di phpBB SiteMaker utilizzando il sistema di eventi di phpBB. + +## Eventi PHP + +### blitze.sitemaker.acp_add_bulk_menu_options + +- Ubicazione: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Poiché: 3.1.0 +- Scopo: Aggiungi opzioni del menu bulk nel menu acp + +### blitze.sitemaker.acp_display_settings_form + +- Ubicazione: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Poiché: 3.1.0 +- Scopo: display modulo di impostazioni acp (sitemaker) + +### blitze.sitemaker.acp_save_settings + +- Ubicazione: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Poiché: 3.1.0 +- Scopo: Salva impostazioni acp (sitemaker) + +### blitze.sitemaker.admin_bar.set_assets + +- Ubicazione: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Poiché: 3.0.1-RC1 +- Scopo: Aggiungi asset per i blocchi disponibili in modalità modifica + +### blitze.sitemaker.modify_block_positions + +- Posizione: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Poiché: 3.0.1-RC1 +- Scopo: Modificare le posizioni del blocco + +### blitze.sitemaker.modify_rendered_block + +- Posizione: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Poiché: 3.0.1-RC1 +- Scopo: Modificare un blocco renderizzato + +## Eventi Template + +### blitze_sitemaker_acp_settings + +- Posizione: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Poiché: 3.1.0 +- Scopo: Aggiungi campi modulo per le impostazioni del sitemaker + +### blitze_sitemaker_admin_bar_append + +- Ubicazione: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Poiché: 3.1.0 +- Scopo: Aggiungi voci di menu alla barra di amministrazione + +### blitze_sitemaker_admin_bar_template + +- Ubicazione: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Poiché: 3.1.0 +- Scopo: Aggiungere i file di modello da usare in JS per le viste a blocchi, ecc + +## Eventi Javascript + +### blitze_sitemaker_layout_saved + +- Ubicazione: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Poiché: 3.1.2 +- Scopo: Evento per consentire ad altre estensioni di fare qualcosa quando i cambiamenti di layout vengono salvati + +### blitze_sitemaker_render_block_before + +- Ubicazione: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Poiché: 3.1.2 +- Scopo: Evento per consentire ad altre estensioni di fare qualcosa prima che il blocco venga renderizzato o impedire che venga ri-renderizzato + +### blitze_sitemaker_render_block_after + +- Ubicazione: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Poiché: 3.1.2 +- Scopo: Evento per consentire ad altre estensioni di fare qualcosa dopo che il blocco è renderizzato + +### blitze_sitemaker_save_block_before + +- Ubicazione: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Poiché: 3.1.2 +- Scopo: Evento per consentire ad altre estensioni di modificare i dati del blocco prima di essere salvato + +### blitze_sitemaker_show_all_block_positions + +- Ubicazione: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Poiché: 3.1.2 +- Scopo: Evento per consentire ad altre estensioni di fare qualcosa quando tutte le posizioni dei blocchi sono mostrate + +### blitze_sitemaker_hide_empty_block_positions + +- Ubicazione: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Poiché: 3.1.2 +- Scopo: Evento per consentire ad altre estensioni di fare qualcosa quando le posizioni vuote sono nascoste + +### blitze_sitemaker_layout_cleared + +- Ubicazione: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Poiché: 3.1.2 +- Scopo: Evento per consentire ad altre estensioni di fare qualcosa quando il layout viene cancellato + +### blitze_sitemaker_layout_updated + +- Ubicazione: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Poiché: 3.1.2 +- Scopo: Evento per consentire ad altre estensioni di fare qualcosa quando il layout viene aggiornato + +### blitze_sitemaker_tinymce_options + +- Ubicazione: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Poiché: 3.3.0 +- Scopo: Evento per consentire ad altre estensioni di modificare le opzioni di timo diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/dev/overview.md b/website/i18n/it/docusaurus-plugin-content-docs/current/dev/overview.md new file mode 100644 index 000000000000..fb7d1053d0b7 --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/dev/overview.md @@ -0,0 +1,179 @@ +--- +title: Estendere phpBB SiteMaker +sidebar_position: 1 +--- + +È possibile estendere / modificare phpBB SiteMaker utilizzando [service replacement](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [service decoration](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), e [phpBB event system](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Puoi trovare una lista di eventi supportati [qui](./events.md). + +## Creare un blocco SiteMaker + +Un blocco phpBB SiteMaker è semplicemente una classe che estende la classe blitze\sitemaker\services\blocks\driver\block e restituisce un array dal metodo "display" con un 'title' e 'content'. Tutto il resto intra dipende da te. Per rendere il tuo blocco scopribile da phpBB SiteMaker, dovrai dargli il tag "sitemaker.block". + +Diciamo che abbiamo un'estensione con vendor/extension come mio/esempio. Per creare un blocco chiamato "my_block" per phpBB SiteMaker: + +- Crea una cartella "blocchi" +- Crea file my_block.php nella cartella dei blocchi con il seguente contenuto + +```php +namespace my\example\blocks; + +use blitze\sitemaker\services\blocks\driver\block; + +class my_block extends block +{ + /** + * {@inheritdoc} + */ + public function display(array $settings, $edit_mode = false) + { + return array( + 'title' => 'my block title', + 'contenuto' => 'contenuto del mio blocco', + ); + } +} +``` + +Quindi nel tuo file config.yml, aggiungi quanto segue: + +```yml +servizi: + +... + + my.example.block.my_block: + class: my\example\blocks\my_block + calls: + - [set_name, [my.example.block.my_block]] + tags: + - { name: sitemaker.block } + +.... + +``` + +Al minimo nudo è tutto quello che ti serve. Se si entra in modalità modifica, si dovrebbe vedere il blocco elencato come 'MY_EXAMPLE_BLOCK_MY_BLOCK' che può essere trascinato e lasciato cadere in qualsiasi posizione di blocco. Ma questo blocco non fa nulla di eccitante. Non ha impostazioni e non traduce il nome del blocco. La rendiamo più interessante. + +### Impostazioni Blocco + +Modifichiamo i nostri blocchi/mio_blocco. hp file e aggiungere un metodo "get_config" th a restituisce un array con le chiavi che sono le impostazioni del blocco e i valori che sono un array che descrive le impostazioni in questo modo: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'spiegare' => falso), + 'sì_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'spiegare' => falso, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'spiegare' => falso), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Mostra solo quando è selezionata l'opzione 1
'), + ); +} +``` + +Questo è costruito nello stesso modo in cui phpBB costruisce la configurazione per le impostazioni della scheda in ACP. Puoi vedere altri esempi [qui](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Se si desidera un tipo di campo personalizzato, si può vedere un esempio [qui](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' impostazione). + +Nota 'legend1' e 'legend2': questi sono usati per separare le impostazioni in schede. + +### Blocchi Naming + +La convenzione per i nomi dei blocchi è che il nome del servizio (ad esempio my.example.block. y*block above) sarà usato come chiave della lingua sostituendo i punti (.) con underscore (*) (e.g MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Traduzione + +Notate anche che abbiamo diverse chiavi di lingua che devono essere tradotte. Per fare questo, creare un file chiamato "blocks_admin.php" nella cartella della lingua. Questo file verrà caricato automaticamente quando si modificano i blocchi, e dovrebbe avere traduzioni per le impostazioni dei blocchi e i nomi dei blocchi. + +``` +$lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Opzione 1', + 'OTHER_LANG_VAR' => 'Opzione 2', + 'SOME_LANG_VAR_1' => 'Setting 1', +.... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'My Block', +); +``` + +Poiché 'blocks_admin.php' è caricato solo quando si modificano i blocchi, è necessario aggiungere altre traduzioni (ad es. titolo del blocco) caricando un file di lingua nel tuo metodo di visualizzazione come `$language->add_lang('my_lang_file', 'my/example');` + +### Rendering del blocco + +Il nuovo blocco verrà visualizzato solo se sta rendendo qualcosa. Il tuo blocco può restituire qualsiasi stringa come contenuto, ma nella maggior parte dei casi hai bisogno di un modello per rendere i tuoi contenuti. Per rendere il tuo blocco usando i modelli, il blocco deve restituire un array che contiene i dati che si desidera passare al modello e deve anche implementare il metodo `get_template` come dimostrato di seguito: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // do something only in edit mode + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Quindi i tuoi styles/all/my_block.html o styles/prosilver/my_block.html file potrebbero assomigliare a questo: + +``` +

Hai selezionato: {{ some_var }}

+``` + +In sintesi, il tuo blocco deve restituire un array con una chiave `title` (per il titolo del blocco) e una chiave `content` (se il blocco visualizza solo una stringa e non utilizza un modello) o una chiave `dati` (se il blocco utilizza un modello, in questo caso, dovrai anche implementare il metodo `get_template`). + +### Blocca Attività + +Se il tuo blocco ha bisogno di aggiungere asset (css/js) alla pagina, ti consiglio di usare la sitemaker [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) per questo. Dal momento che ci può essere più di un'istanza dello stesso blocco sulla pagina, o altri blocchi potrebbero essere l'aggiunta della stessa attività, la classe util assicura che l'asset è solo aggiunto. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some. s', + 100 => '@my_example/assets/other. s', // imposta priorità + ), + 'css' => array( + '@my_example/assets/some. s', + ) +)); +``` + +La classe util dovrà, ovviamente, essere aggiunta alle definizioni del servizio in config.yml così: `- '@blitze.sitemaker. til'` e definito nel costruttore del blocco `\blitze\sitemaker\services\util $util`. + +E questo è tutto. Abbiamo finito! diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/dev/theming.md b/website/i18n/it/docusaurus-plugin-content-docs/current/dev/theming.md new file mode 100644 index 000000000000..408cc8716147 --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/dev/theming.md @@ -0,0 +1,62 @@ +--- +title: Temi +sidebar_position: 3 +--- + +Comprendiamo che i file modello e i file JS/CSS non funzioneranno per ogni stile, così di seguito sono alcuni modi in cui è possibile utilizzare i propri modelli e creare file JS/CSS per il vostro stile particolare. + +## Usare il proprio modello + +Se i modelli predefiniti che vengono con phpBB Sitemaker non funzionano bene per il vostro particolare stile, puoi facilmente sovrascriverlo per usare il tuo modello di file creando il file corrispondente nella cartella dei tuoi stili. + +Ad esempio, say your style is called `Backlash` and it has a particular way in which the HTML for the block header section need to be structured for the [boxed view](/docs/user/blocks/block-views). È possibile sovrascrivere quel particolare modello creando un file con lo stesso nome così: `phpBB/ext/blitze/sitemaker/styles/Backlash/template/views/boxed_view.twig`. + +In altre parole, per utilizzare il proprio file modello, è necessario: +* Identifica quale file phpBB Sitemaker deve essere sovrascritto +* Crea un file con lo stesso nome nella cartella Sitemaker `stili` sotto il tuo nome di stile + +> Nota: Se crei i tuoi file di modello, assicurati di non eliminare la cartella `phpbb/ext/blitze/sitemaker` durante l'aggiornamento dell'estensione come i file personalizzati verranno eliminati. Piuttosto, sovrascrivere i file esistenti con quelli nuovi. + +## Creazione di file JS/CSS per il tuo stile + +Nota: +* Con lo scopo delle istruzioni di seguito supponiamo che avete uno stile chiamato mio-stile. + +Clona in phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Dalla riga di comando vai alla directory sitemaker: + + cd phpBB/ext/blitze/sitemaker + +**Installa i fornitori** + + installazione compositore + +**Installa pacchetti** + +Per i comandi sottostanti puoi usare npm o [yarn](https://yarnpkg.com) + + yarn install + +**Guarda Le Modifiche** + + yarn start --theme mio-stile + +**Effettua Modifiche** + +* Effettua le modifiche ai file nella cartella phpBB/ext/blitze/sitemaker/developing. +* Guardate phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss per le variabili di sass + +**Costruisci Risorse** + + yarn build --theme mio-stile + +**Dispiega** + +Ora puoi copiare i file generati da phpBB/ext/blitze/sitemaker/styles/my-style e caricarli sul tuo server di produzione. + +> Questa estensione utilizza jQuery UI per schede, finestre di dialogo e pulsanti. Il tema jQuery predefinito è 'scorrevolezza.' È possibile utilizzare un diverso tema jQuery UI che meglio si adatta al tuo tema. È possibile specificare il tema jQuery UI utilizzando il flag --jq_ui_theme. Per esempio: + + yarn build --theme my-style --jq_ui_theme ui-lightness diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/intro/_category_.json b/website/i18n/it/docusaurus-plugin-content-docs/current/intro/_category_.json new file mode 100644 index 000000000000..042f33f71403 --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/intro/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Per Iniziare", + "position": 1 +} diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/intro/installation.md b/website/i18n/it/docusaurus-plugin-content-docs/current/intro/installation.md new file mode 100644 index 000000000000..8a8ae6882245 --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/intro/installation.md @@ -0,0 +1,16 @@ +--- +title: "Installazione / Aggiornamento" +sidebar_position: 2 +--- + +Scarica l'estensione da [qui](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker +* Estrai e caricalo nella cartella phpBB/ext/ in modo da avere phpBB/ext/blitze/sitemaker +* Vai a "ACP" > "Personalizza" > "Estensioni" e abilita l'estensione "phpBB Sitemaker". + +## Aggiornamento phpBB SiteMaker +* Crea un backup del tuo database nel caso in cui qualcosa vada storto +* Vai a "ACP" > "Personalizza" > "Estensioni" e disabilita (non purga) "phpBB Sitemaker" +* Scaricare ed estrarre l'ultima versione di phpBB SiteMaker e caricarla nella cartella phpBB/ext/ (sovrascrivere) +* Vai a "ACP" > "Personalizza" > "Estensioni" e abilita l'estensione "phpBB Sitemaker". diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/intro/introduction.md b/website/i18n/it/docusaurus-plugin-content-docs/current/intro/introduction.md new file mode 100644 index 000000000000..ae9225dbe961 --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/intro/introduction.md @@ -0,0 +1,6 @@ +--- +title: Introduzione +sidebar_position: 1 +--- + +phpBB SiteMaker cerca di trasformare la tua scheda phpBB in un CMS/portale. Lo fa fornendo blocchi e menu per aiutarti a personalizzare il tuo sito a tuo piacimento. Ci sono o saranno altre estensioni di SiteMaker che forniscono funzionalità aggiuntive per raggiungere questo obiettivo. Ti permette anche di definire una pagina di destinazione quando il tuo sito è accesso. Quindi, se non vuoi che i visitatori del tuo sito vedano immediatamente il forum phpBB quando vanno a www. il nostro site.com, è possibile definire la propria pagina iniziale. diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/user/_category_.json b/website/i18n/it/docusaurus-plugin-content-docs/current/user/_category_.json new file mode 100644 index 000000000000..0fc6607aed58 --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/user/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Guida Utente", + "position": 2 +} diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/user/blocks/_category_.json b/website/i18n/it/docusaurus-plugin-content-docs/current/user/blocks/_category_.json new file mode 100644 index 000000000000..a188c9984f66 --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/user/blocks/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Blocchi", + "position": 1 +} diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/user/blocks/block-views.md b/website/i18n/it/docusaurus-plugin-content-docs/current/user/blocks/block-views.md new file mode 100644 index 000000000000..d7618ef60b0b --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/user/blocks/block-views.md @@ -0,0 +1,6 @@ +--- +title: Blocca Viste +sidebar_position: 2 +--- + +Lavoro in corso... \ No newline at end of file diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md b/website/i18n/it/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md new file mode 100644 index 000000000000..9c05d3a1baf6 --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md @@ -0,0 +1,24 @@ +--- +title: Blocco Personalizzato +sidebar_position: 4 +--- + +Se i blocchi disponibili non ti danno la libertà di cui hai bisogno, c'è il blocco personalizzato `` che ti permette la libertà di visualizzare i tuoi contenuti utilizzando BBcode o HTML. Il blocco viene fornito con un editor WYSIWYG (TinyMCE) e un gestore di script: + +## L'editor + +- È possibile utilizzare l'editor per creare contenuti HTML +- Puoi modificare il codice sorgente se hai bisogno di quel livello di controllo facendo clic sull'icona `Codice sorgente` (`<>`) nell'editor +- L'editor consente di caricare e modificare le immagini + - Crea una nuova cartella in phpBB/images/sitemaker_uploads/ per ogni utente che ha accesso ad essa + - È possibile visualizzare/gestire tutte le cartelle utente +- L'editor filtra tutti gli script potenzialmente pericolosi come javascript, ecc. Se avete bisogno di aggiungere contenuti come annunci google, il javascript sarà filtrato, ma è possibile aggirare questo facendo il seguente: + - Aggiungi il blocco personalizzato alla posizione desiderata + - Modifica il blocco personalizzato, clicca sulla scheda `HTML` e incolla il tuo Javascript + +## Il Gestore Degli Script + +Il blocco personalizzato consente anche di aggiungere file CSS e Javascript personalizzati alla tua pagina. Per fare questo: + +- Aggiungi un `blocco personalizzato` a qualsiasi posizione di blocco. La posizione non importa a meno che non si visualizzano anche contenuti con il blocco +- Modifica il blocco, fare clic sulla scheda `Script` e aggiungere i file CSS o Javascript > Parola di cautela però: Aggiungere a molti script sulla tua pagina può influenzare i tempi di caricamento diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md b/website/i18n/it/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md new file mode 100644 index 000000000000..8208fcf576a6 --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md @@ -0,0 +1,51 @@ +--- +title: Gestione Dei Blocchi +sidebar_position: 3 +--- + +Per gestire i blocchi in phpBB SiteMaker, devi essere in [Modalità Modifica](./overview#edit-mode). + +> Quando un blocco non visualizza alcun contenuto, non verrà visualizzato, tranne in modalità modifica. In questo modo, puoi dargli il contenuto (nel caso del blocco personalizzato) o modificarne le impostazioni. + +> In modalità modifica, i blocchi un po' trasparenti sono blocchi che altrimenti non verranno visualizzati ma vengono visualizzati solo perché siamo in modalità di modifica + +## Aggiunta blocchi +È possibile aggiungere blocchi a qualsiasi pagina frontale tranne il Pannello di controllo utente e le pagine del Pannello di controllo moderato. Per aggiungere un blocco, è necessario: +* clicca su **Blocchi** nella barra di amministrazione. Questo mostrerà un elenco di blocchi disponibili +* Trascinare e rilasciare il blocco desiderato in qualsiasi posizione di blocco + +## Modifica blocchi +### Aggiunta di un'icona di blocco +A sinistra del titolo del blocco (prosilver), c'è una casella per l'icona del blocco. Fare clic su questa casella per ottenere il selettore di icone. È possibile selezionare la dimensione dell'icona, il colore, il float, la rotazione, ecc. + +### Modificare il Titolo del Blocco +phpBB SiteMaker blocchi avranno un titolo tradotto predefinito, ma se il titolo non soddisfa le vostre esigenze, potete cambiarlo. Per modificare il titolo del blocco, +* Fare clic sul titolo del blocco per ottenere un modulo di modifica in linea +* Cambia il titolo con quello che vuoi +* Rimuovi il focus dal campo o premi Invio per inviare le modifiche + +> Il titolo del blocco modificato non è tradotto + +> Per tornare al titolo predefinito, basta eliminare il titolo e premere Invio + +### Modifica impostazioni blocco +Quando si passa sopra un blocco, un'icona di cog apparirà alla destra del blocco che può essere usato per modificare il blocco. Nella finestra di dialogo blocco di modifica, è possibile: +- Attiva/disattiva un blocco [Status] +- Scegli quando il blocco dovrebbe/non dovrebbe essere visualizzato [Display]. Questo si applica solo nei casi in cui hai annidato pagine (vedi [Capire l'eredità del blocco](/docs/user/site/block-inheritance)): + - **Always**: Mostra sempre il blocco + - **Nascondi su percorsi figli**: Mostra solo questo blocco sul percorso genitore + - **Mostra solo sugli itinerari figli**: Mostra solo questo blocco su un percorso figlio +- Scegli quali gruppi di utenti possono visualizzare il blocco [Visualizzabile da]. Utilizzare CTRL + fare clic per selezionare più gruppi. +- Imposta classi personalizzate per modificare l'aspetto del blocco o degli elementi (elenchi, immagini, sfondo, ecc) all'interno del blocco [Classe CSS] +- Mostra/nascondi il titolo del blocco [Nascondi titolo del blocco?] +- Seleziona la vista blocco [Vista blocco]. È possibile selezionare una visualizzazione di blocco predefinita quando nuovi blocchi sono aggiunti in ACP. + - **Default / Simple**: usa la classe del pannello prosilver per avvolgere il blocco in un contenitore imbottito + - **Basic**: il blocco non ha alcun contenitore che lo avvolga + - **Boxed**: usa la classe prosilver forabg per avvolgere il blocco in una scatola +- Imposta / Aggiorna impostazioni specifiche del blocco +- Se hai lo stesso blocco con le stesse impostazioni su più pagine, è possibile aggiornare tutti in una sola volta controllando i **Aggiorna blocchi con impostazioni simili** + +## Eliminazione di blocchi +- Passa sopra il blocco che vuoi eliminare +- Fare clic sull'icona **x** e confermare che si desidera eliminare il blocco +- Vai alla barra di amministrazione e clicca su `Salva modifiche` diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/user/blocks/overview.md b/website/i18n/it/docusaurus-plugin-content-docs/current/user/blocks/overview.md new file mode 100644 index 000000000000..884d396af565 --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/user/blocks/overview.md @@ -0,0 +1,9 @@ +--- +title: Cosa sono i blocchi? +sidebar_position: 1 +--- + +Al centro di phpBB SiteMaker è il concetto di blocchi. I blocchi sono piccoli pezzi di contenuto che puoi inserire in diverse aree predefinite (posizioni dei blocchi) sul tuo sito. I blocchi avranno tipicamente le impostazioni che è possibile impostare/modificare per affinare il contenuto che si desidera visualizzare. La maggior parte dei blocchi, ma non tutti, farà le query del database per ottenere il contenuto desiderato. Quindi non impazziamo troppo :). Per gestire i blocchi, è necessario passare alla "modalità di modifica". + +## Modalità Modifica +Passa alla modalità di modifica facendo clic sull'icona della matita in alto a destra del tuo sito. Questo visualizzerà la "barra di amministrazione" con le voci di menu "Blocchi" e "Impostazioni". Questo è indicato come in 'modalità modifica'. diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/user/menus/_category_.json b/website/i18n/it/docusaurus-plugin-content-docs/current/user/menus/_category_.json new file mode 100644 index 000000000000..4259794d53ee --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/user/menus/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Menus", + "position": 2 +} diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md b/website/i18n/it/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md new file mode 100644 index 000000000000..c5edbcd710ac --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md @@ -0,0 +1,15 @@ +--- +title: Visualizzazione Menù +sidebar_position: 3 +--- + +Ora che hai creato i tuoi menu, puoi visualizzarli in diversi modi: + +## Blocco Collegamenti +È possibile utilizzare questo blocco per visualizzare una lista piatta o annidata di voci di menu. Questo blocco non è destinato ad essere usato per la navigazione, cioè non mostrerà una pagina corrente o qualcosa del genere. È destinato a un elenco di articoli, compresi i collegamenti esterni. + +## Blocco Menu +Questo blocco è destinato alla navigazione del sito. Fa alcuni calcoli aggiuntivi per determinare la posizione corrente e non è inteso per essere un elenco molto grande. + +## Barra di navigazione +Simile al blocco Menu, la barra di navigazione mostrerà le voci di menu come un menu a discesa reattivo destinato alla navigazione del sito. Puoi abilitarlo in ACP > Estensioni > Sitemaker > Impostazioni > Seleziona menu diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md b/website/i18n/it/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md new file mode 100644 index 000000000000..e44dcca9dbf8 --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md @@ -0,0 +1,30 @@ +--- +title: Gestire Gli Elementi Del Menu +sidebar_position: 2 +--- + +Il tuo menu è inutile a meno che non abbia voci di menu. È possibile aggiungere voci di menu che puntano a file locali o esterni. + +> L'URL per i siti esterni deve iniziare con http(s)://, ftp://, //, ecc. + +> Puoi creare un divisore inserendo '-' come titolo dell'elemento + +## Aggiunta elementi del menu +È possibile aggiungere voci di menu una voce alla volta, o è possibile aggiungere più voci di menu a uno. + +### Aggiunta di singole voci di menu +Per aggiungere una singola voce di menu, +* clicca sul pulsante `Aggiungi elemento menu` +* Compila le informazioni richieste e premi `Salva` + +### Aggiunta di elementi multipli +Per aggiungere più voci di menu contemporaneamente, +* Fare clic sull'icona della freccia verso il basso accanto a `Aggiungi elemento del menu` +* È possibile aggiungere manualmente gli elementi posizionando ogni elemento su una nuova riga e utilizzando gli elementi nido del carattere della scheda o +* Puoi fare clic su una delle opzioni fornite in fondo all'area di testo per riempire automaticamente le voci di menu + +## Riordina le voci di menu +È possibile trascinare e rilasciare le voci di menu su/giù per impostare il loro ordine di visualizzazione, o trascinarle a sinistra/destra per impostare la gerarchia desiderata. + +## Ricostruire le voci di menu +Se trovi che le voci di menu non vengono visualizzate correttamente, fai clic sul pulsante `Ricostruisci Albero` per ricostruire le voci di menu. diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md b/website/i18n/it/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md new file mode 100644 index 000000000000..98a98e2b484f --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md @@ -0,0 +1,24 @@ +--- +title: Gestire I Menu +sidebar_position: 1 +--- + +È possibile creare menu in ACP che è quindi possibile visualizzare utilizzando i menu o i blocchi Link o visualizzati come barra di navigazione orizzontale. + +## Gestire I Menu + +Per gestire i menu, vai a ACP > Estensioni > Sitemaker > Menu + +### Creazione Menù +Per creare un nuovo menu (gruppo), fare clic sul pulsante `Aggiungi menu`. Un nuovo gruppo di menu verrà creato con un nome generato casualmente. Il nuovo menu sarà anche selezionato in modo da poter iniziare ad aggiungere voci di menu ad esso. + +### Modifica Menù +Se vuoi un nome di menu più significativo, +* passa sopra il nome del menu e fai clic sull'icona del cog +* inserisci il nuovo nome del menu e premi Invio per aggiornarlo + +### Eliminazione Menù +Per eliminare un menu e i suoi elementi, +* Passa sopra il nome del menu e clicca sull'icona **x** +* Se la voce di menu non ha elementi figli, dovrai confermare la tua scelta per eliminare la voce +* Se la voce di menu ha elementi figli, è necessario indicare se si desidera eliminare solo l'elemento e spostare i suoi figli in su o se si desidera eliminare l'intero ramo diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/user/site/_category_.json b/website/i18n/it/docusaurus-plugin-content-docs/current/user/site/_category_.json new file mode 100644 index 000000000000..0baccad3940d --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/user/site/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Costruire il tuo sito", + "position": 3 +} diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md b/website/i18n/it/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md new file mode 100644 index 000000000000..f734f2dfa9dd --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md @@ -0,0 +1,46 @@ +--- +title: Blocca Ereditarietà +sidebar_position: 5 +--- + +Lo abbiamo già visto impostando un layout predefinito, altre pagine che non hanno blocchi propri erediteranno i blocchi dal layout predefinito. C'è però un altro tipo di eredità di blocco. + +## Percorsi Genitori/Bambino +In phpBB SiteMaker, parliamo di percorsi nidificati in termini di vere e proprie directory (sub) o virtualmente annidate percorsi/percorsi. Per favore, restate con me :). +* Percorsi Genitore/Figlio reali: Per esempio, il percorso /some_directory/sub_directory/index.php è figlio di /some_directory/index.php +* Virtual Parent/Child routes: Ad esempio, viewtopic.php è trattato come un figlio di viewforum.php. + +Ecco alcuni esempi di itinerari genitori/figli: + +| Genitore | Figlio | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articoli/mio-articolo | + +## Ereditarietà Parente/Blocco Bambino +Per itinerari genitori/figli il percorso figlio eredita i blocchi del percorso genitore (se il genitore ha i propri blocchi) o dal layout predefinito (se uno è stato impostato). In altre parole, anche se c'è un layout predefinito, il percorso figlio erediterà blocchi dal percorso genitore se il percorso genitore ha i suoi blocchi. Ma non tutti i blocchi dal percorso genitore devono essere ereditati. + +## Controllare L'Ereditarietà Del Blocco +A un livello di blocco, puoi controllare quando un blocco può essere ereditato da percorsi figli. Lo abbiamo toccato in precedenza nelle [Impostazioni blocco di modifica](/docs/user/blocks/managing-blocks#editing-block-settings). + +Considera la seguente struttura di directory reale: +```text +phpBB +├ index.php + film/ + index.php + page.php + Comedy/ + index.php +``` + +Ai fini dell'eredità dei blocchi, diciamo: +* Il percorso principale di /phpBB/Movies/Comedy/index.php è /phpBB/Movies/index.php e non /phpBB/Movies/page.php +* Tutte le pagine in una sotto-directory relativa a /phpBB/index.php è un percorso figlio di /phpBB/index.php. Quindi /phpBB/Movies/index.php e /phpBB/Movies/page.php sono tutti figli di /phpBB/index.php e quindi erediteranno i suoi blocchi se non hanno blocchi propri. In questo caso: + * Quando un blocco su /phpBB/index.php è impostato per visualizzare su **Hide on child route**, il blocco verrà visualizzato su /phpBB/index. hp (percorso principale) ma non sui suoi percorsi figli + * Quando un blocco su /phpBB/index.php è impostato per visualizzare su **Mostra solo su percorsi figli**, verrà visualizzato su /phpBB/Movies/index. hp e /phpBB/Movies/page.php (percorsi figli) ma non su /phpBB/index.php (parent), né /phpBB/Movies/Comedy/index.php (andiamo solo un livello profondo) + * Quando un blocco su /phpBB/index.php è impostato per visualizzare **sempre** (predefinito), verrà visualizzato su /phpBB/index. hp (genitore), /phpBB/Movies/index.php e /phpBB/page.php (itinerari figli) ma non su /phpBB/Movies/Comedy/index.php (andiamo solo un livello profondo). In questo caso, /phpBB/Movies/Comedy/index.php erediterà dal percorso predefinito (se esiste) + +## Stato Futuro Posibile +Sono davvero interessato al tuo feedback in questa zona. La maggior parte degli utenti di phpBB non avrà directory reali come descritto sopra. Così sto pensando di usare la struttura che è definita in un blocco di menu come una struttura di directory virtuale e applicare questa eredità genitore/figlio ad esso. Sto anche considerando di andare oltre un livello profondo. Per piacere, fatemi sapere se questo sarà utile per voi. \ No newline at end of file diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md b/website/i18n/it/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md new file mode 100644 index 000000000000..f1d76282ccc2 --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md @@ -0,0 +1,6 @@ +--- +title: Personalizzazione Visualizzazione Blocchi +sidebar_position: 6 +--- + +Lavoro in corso... \ No newline at end of file diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/user/site/default-layout.md b/website/i18n/it/docusaurus-plugin-content-docs/current/user/site/default-layout.md new file mode 100644 index 000000000000..9ed755ba3d07 --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/user/site/default-layout.md @@ -0,0 +1,21 @@ +--- +title: Impostazione di un layout predefinito +sidebar_position: 4 +--- + +Quando si aggiunge un blocco, viene aggiunto a quella pagina specifica. Sarebbe quindi un compito noioso impostare blocchi per tutte le pagine sul tuo sito. È possibile impostare tutti i blocchi desiderati per una particolare pagina, quindi impostare quella pagina come layout predefinito. In altre parole, qualsiasi pagina che non abbia blocchi propri, erediterà blocchi da questa pagina. + +Per impostare un layout predefinito +* Vai alla pagina che vuoi impostare come layout predefinito +* Clicca su `Impostazioni` nella barra di amministrazione +* Fare clic sul pulsante `Imposta come layout predefinito` + +Diciamo che aggiungiamo blocchi a una pagina (phpBB/index.php) con blocchi nella barra laterale e nelle posizioni superiori, ad esempio, e lo impostiamo come layout predefinito. Questo ha i seguenti effetti per altre pagine: +* Qualsiasi pagina che non abbia i propri blocchi, erediterà i blocchi dal layout predefinito. Vedi [Comprendere l'eredità di blocco](/docs/user/site/block-inheritance) per le eccezioni. +* Puoi ancora ereditare blocchi da un layout predefinito (indice. hp) ma scegliere di non visualizzare blocchi su alcune posizioni di blocco o non visualizzare alcun blocco a tutti. Per fare questo, + * Vai alla pagina che non vuoi che vengano visualizzati tutti/alcuni blocchi + * Clicca su `Impostazioni` nella barra di amministrazione + * Seleziona `Non mostrare blocchi su questa pagina` se non vuoi ereditare/visualizzare nessun blocco su questa pagina O + * Usa CTRL + clicca per selezionare le posizioni del blocco (a destra) su cui non vuoi visualizzare i blocchi +* In `edit mode`, una pagina che eredita blocchi dal layout predefinito, non mostrerà alcun blocco, dandoti la possibilità di aggiungere blocchi alla pagina se vuoi +* Qualsiasi pagina che ha i suoi blocchi non erediterà dal layout predefinito diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/user/site/layouts.md b/website/i18n/it/docusaurus-plugin-content-docs/current/user/site/layouts.md new file mode 100644 index 000000000000..d6e26ef7ac03 --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/user/site/layouts.md @@ -0,0 +1,31 @@ +--- +title: Layout +sidebar_position: 1 +--- + +"Layouts" determina le posizioni dei blocchi disponibili e come vengono visualizzate. + +## Posizioni A Blocchi +Le posizioni di blocco sono aree predefinite sul tuo sito dove i blocchi possono esistere. Le posizioni dei blocchi disponibili sono determinate dallo stile del modello che stai utilizzando. Per prosilver, phpBB SiteMaker viene fornito con le seguenti posizioni di blocco: +* pannello: tutta la larghezza in alto +* barra laterale: sinistra/destra a seconda del layout sottostante +* contenuto: simile alla barra laterale appena più grande +* top_hor: blocchi orizzontali in alto, fiancheggiando sopra la barra laterale/sotto-contenuto a seconda del layout +* top: sopra il contenuto principale +* scatola: larghezza uguale, blocchi orizzontali sotto il contenuto principale +* in basso: sotto il contenuto principale +* bottom_hor: blocchi orizzontali attraverso il fondo, affiancando la barra laterale/il sotto-contenuto a seconda del layout +* piè di pagina: blocchi orizzontali nel piè di pagina Puoi aggiungere più posizioni di blocco nei tuoi modelli di stile copiando e modificando i modelli phpBB SiteMaker corrispondenti + +## Layout Del Sito +È possibile scegliere il layout per il vostro sito in ACP (Estensioni > Sitemaker > Impostazioni): +* **Blog**: sotto-contenuto e barra laterale uno accanto all'altro, spinti a destra, sotto-contenuto top_hor/botom_hor +* **Santo Graal**: pari larghezza sidebar e sotto-contenuto sui lati opposti, sotto-contenuto top_hor/botom_hor +* **Portale**: barra laterale a sinistra, sotto-contenuto a destra, sotto-contenuto top_hor/botom_hor +* **Portal Alt**: sotto-contenuto a sinistra, barra laterale a destra, top_hor/botom_hor barra laterale +* **Personalizzato**: Imposta manualmente la larghezza delle barre laterali come px, %, em o rem. Predefiniti a 200px su ogni lato + +## Modelli/stili personalizzati +Per quanto possibile, abbiamo cercato di mettere i file di template e le risorse in stili/all/ cartella in modo che tu possa sovrascriverli creando un file con lo stesso nome sotto il tuo tema template e. . prosilver. Quindi, se si desidera modificare come un determinato blocco visualizza o se si desidera creare il proprio layout con le proprie posizioni di blocchi, devi semplicemente creare un file con lo stesso nome e lo stesso percorso dell'originale nel tuo stile. + +Se hai bisogno di personalizzare i file CSS/JS, dai un'occhiata alla sezione [theming](/docs/dev/theming). \ No newline at end of file diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/user/site/navbar.md b/website/i18n/it/docusaurus-plugin-content-docs/current/user/site/navbar.md new file mode 100644 index 000000000000..1a0ef8afc0a5 --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/user/site/navbar.md @@ -0,0 +1,6 @@ +--- +title: Barra Di Navigazione +sidebar_position: 2 +--- + +Vedi [Menu di visualizzazione](/docs/user/menus/displaying-menus#navigation-bar) diff --git a/website/i18n/it/docusaurus-plugin-content-docs/current/user/site/startpage.md b/website/i18n/it/docusaurus-plugin-content-docs/current/user/site/startpage.md new file mode 100644 index 000000000000..2c95be536962 --- /dev/null +++ b/website/i18n/it/docusaurus-plugin-content-docs/current/user/site/startpage.md @@ -0,0 +1,11 @@ +--- +title: Impostazione di una pagina iniziale +sidebar_position: 3 +--- + +phpBB SiteMaker consente di scegliere qualsiasi controller frontale (pagine accessibili tramite app.php/... come la tua pagina iniziale predefinita (la pagina che verrà mostrata quando qualcuno visita il tuo sito) invece dell'indice della scheda. + +Per fare questo: +* Va alla pagina che si desidera impostare come pagina iniziale predefinita +* Clicca su `Impostazioni` nella barra di amministrazione. Se è una pagina idonea, vedrai un pulsante `Imposta come pagina iniziale` +* Clicca sul pulsante `Imposta come pagina iniziale` \ No newline at end of file diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/contrib/_category_.json b/website/i18n/ja/docusaurus-plugin-content-docs/current/contrib/_category_.json new file mode 100644 index 000000000000..3bdc08ef5abf --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/contrib/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "貢献", + "position": 4 +} diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/contrib/overview.md b/website/i18n/ja/docusaurus-plugin-content-docs/current/contrib/overview.md new file mode 100644 index 000000000000..76dd2e057941 --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/contrib/overview.md @@ -0,0 +1,11 @@ +--- +title: 参加する +sidebar_position: 1 +--- + +phpBB SiteMakerはオープンソースプロジェクトであり、あなたのアイデアや貢献を歓迎します。 だから自由に参加してください。 このプロジェクトに貢献することができます: + +* [サポート/フィードバックの提供](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [バグの報告](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [翻訳を支援する](./translators.md) +* [バグの修正や機能の追加](./pull-requests.md) diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/contrib/pull-requests.md b/website/i18n/ja/docusaurus-plugin-content-docs/current/contrib/pull-requests.md new file mode 100644 index 000000000000..22d4e6b440fa --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/contrib/pull-requests.md @@ -0,0 +1,65 @@ +--- +title: プルリクエストを送信中 +sidebar_label: 取得リクエスト +--- + +`プルリクエストを使用すると、GitHub 上のリポジトリのブランチにプッシュした変更を他の人に知らせることができます。 プルリクエストが開かれると、 コラボレーターとの潜在的な変化について議論したり確認したりできますし、変更がベースブランチにマージされる前にフォローアップコミットを追加できます。` [続きを読む](https://help.github.com/articles/about-pull-requests/) + +## フォーク/複製 + +* Github アカウントをまだお持ちでない場合は作成してください +* https://github.com/blitze/phpBB-ext-sitemaker.git に移動し、"Fork" をクリックしてください。 + +リポジトリのフォークをクローン: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +コマンドラインから sitemaker ディレクトリに移動します: + + cd phpBB/ext/blitze/sitemaker + +**gitを設定:** + +システムの Git にユーザー名を追加します。 + + git config --global user.name "Your Name Here" + +システムの Git にメールアドレスを追加します。 + + git config --add user.email username@phpbb.com + +上流のリモートを追加します(「upstream」を好きなように変更できます): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + +**ベンダのインストール** + + composer install + +**NPMパッケージのインストール** + + npm install + +あるいは、 [yarn](https://yarnpkg.com) を使用することもできます。 + + yarn install + +## 取得リクエスト + + # あなたの機能 & に切り替えるための新しいブランチを作成します。 + git checkout -b feature/my-fancy-new-feature + + # あなたが取り組んでいる課題の新しいブランチを作成します(チケット # github trackerからのものです)。 + git checkout -b ticket/1234 + +変更を加えてください + + # Stage the files + git add + + # Commit steded files - Please use a correct commit message + git commit -m "my commit message" + +ブランチをGitHub に押し戻します git push origin feature/my-fancy-new-feature + +[プルリクエスト](https://github.com/blitze/phpBB-ext-sitemaker/pulls)を送信 diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/contrib/translators.md b/website/i18n/ja/docusaurus-plugin-content-docs/current/contrib/translators.md new file mode 100644 index 000000000000..efcfc995d3af --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/contrib/translators.md @@ -0,0 +1,17 @@ +--- +title: 翻訳 +sidebar_position: 2 +--- + +この拡張機能の翻訳とドキュメントが必要です。 翻訳を容易にするためにCrowdinでプロジェクトを作成しました。 Crowdinは誰にも負けない翻訳インターフェースを提供します。 あなたはいつでも貢献することができますが、Crowdinを使用することをお勧めします。 + +> Crowdin は企業がソフトウェアを翻訳するのに役立つローカライズマネージメントプラットフォームです。 Crowdin [についてはこちら](https://support.crowdin.com/crowdin-intro/) をご覧ください。 + +翻訳に貢献したい場合は、以下が必要になります: + +* [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) アカウント +* それ以外の場合に有効にするために、ターゲット言語を選択します。 + +ご希望の言語が記載されていない場合は、 [私に連絡してください](https://crowdin.com/profile/blitze) そして私は追加します。 + +[翻訳を開始](https://crowdin.com/project/phpbb-ext-sitemaker) diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/dev/_category_.json b/website/i18n/ja/docusaurus-plugin-content-docs/current/dev/_category_.json new file mode 100644 index 000000000000..89461a3ee916 --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/dev/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "開発者ガイド", + "position": 3 +} diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/dev/events.md b/website/i18n/ja/docusaurus-plugin-content-docs/current/dev/events.md new file mode 100644 index 000000000000..d5b40d19abec --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/dev/events.md @@ -0,0 +1,120 @@ +--- +title: phpBBサイトメーカーのイベント +sidebar_position: 2 +--- + +phpBBのイベントシステムを使ってphpBB SiteMakerの動作を変更できます。 + +## PHPイベント + +### blitze.sitemaker.acp_add_bulk_menu_options + +- 場所: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- 以降: 3.1.0 +- 目的: 一括メニューオプションを acp メニューに追加 + +### blitze.sitemaker.acp_display_settings_form + +- 場所: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- 以降: 3.1.0 +- 目的: acp (sitemaker) 設定フォームの表示 + +### blitze.sitemaker.acp_save_settings + +- 場所: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- 以降: 3.1.0 +- 目的: acp (sitemaker) 設定を保存 + +### blitze.sitemaker.admin_bar.set_assets + +- 場所: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- 以降: 3.0.1-RC1 +- 目的: 編集モードで利用可能なブロックにアセットを追加 + +### blitze.sitemaker.modify_block_positions + +- 場所: /phpBB/ext/blitze/sitemaker/services/blocks.php +- 以降: 3.0.1-RC1 +- 目的: ブロック位置の変更 + +### blitze.sitemaker.modify_rendered_block + +- 場所: /phpBB/ext/blitze/sitemaker/services/blocks.php +- 以降: 3.0.1-RC1 +- 目的: レンダリングされたブロックを変更 + +## テンプレートイベント + +### blitze_sitemaker_acp_settings + +- 場所: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- 以降: 3.1.0 +- 目的: サイトマッカー設定用のフォームフィールドを追加 + +### blitze_sitemaker_admin_bar_append + +- 場所: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- 以降: 3.1.0 +- 目的: 管理バーにメニュー項目を追加 + +### blitze_sitemaker_admin_bar_templates + +- 場所: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- 以降: 3.1.0 +- 目的: ブロックビューなどの JS で使用するテンプレートファイルを追加 + +## Javascriptイベント + +### blitze_sitemaker_layout_saved + +- 場所: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- 以降: 3.1.2 +- 目的: レイアウトの変更が保存されたときに他の拡張機能が何かを行うことを許可するイベント + +### blitze_sitemaker_render_block_before + +- 場所: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- 以降: 3.1.2 +- 目的: ブロックがレンダリングされる前に他の拡張機能が何かを行えるようにするイベント、または再レンダリングされないようにするイベント + +### blitze_sitemaker_render_block_after + +- 場所: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- 以降: 3.1.2 +- 目的: ブロックがレンダリングされた後に他の拡張機能が何かを行えるようにするイベント + +### blitze_sitemaker_save_block_before + +- 場所: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- 以降: 3.1.2 +- 目的: 他の拡張機能がブロックデータを保存する前に変更できるイベント + +### blitze_sitemaker_show_all_block_positions + +- 場所: /phpBB/ext/blitze/sitemaker/develop/components/Positions.js +- 以降: 3.1.2 +- 目的: すべてのブロック位置が表示されているときに他の拡張機能が何かを行うことを許可するイベント + +### blitze_sitemaker_hide_empty_block_positions + +- 場所: /phpBB/ext/blitze/sitemaker/develop/components/Positions.js +- 以降: 3.1.2 +- 目的: 空の位置が非表示の場合、他の拡張機能が何かを行えるようにするイベント + +### blitze_sitemaker_layout_clear + +- 場所: /phpBB/ext/blitze/sitemaker/develop/components/Positions.js +- 以降: 3.1.2 +- 目的: レイアウトがクリアされたときに他の拡張機能が何かを行えるようにするイベント + +### blitze_sitemaker_layout_updated + +- 場所: /phpBB/ext/blitze/sitemaker/develop/components/Positions.js +- 以降: 3.1.2 +- 目的: レイアウトが更新されたときに他の拡張機能が何かを行うことを許可するイベント + +### blitze_sitemaker_tinymce_options + +- 場所: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- 以降: 3.3.0 +- 目的: 他のエクステンションがtinymceオプションを変更できるようにするイベント diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/dev/overview.md b/website/i18n/ja/docusaurus-plugin-content-docs/current/dev/overview.md new file mode 100644 index 000000000000..9ea22e08b41d --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/dev/overview.md @@ -0,0 +1,179 @@ +--- +title: phpBBサイトメーカーを拡張 +sidebar_position: 1 +--- + +phpBB SiteMakerは、 [サービス交換](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement)、 [サービスデコレーション](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration)、および [phpBBのイベントシステム](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html)を使用して拡張/変更できます。 サポートされているイベントのリストは [](./events.md) をご覧ください。 + +## SiteMaker ブロックの作成 + +phpBB SiteMaker ブロックは、blitze\sitemaker\services\blocks\driver\block クラスを拡張し、「display」メソッドから 'title' と 'content' の配列を返す単なるクラスです。 他のすべてはあなた次第です。 phpBB SiteMakerでブロックを検出できるようにするには、「sitemaker.block」タグを指定する必要があります。 + +例えば、vendor/extension を my/example とする拡張子があるとします。 phpBB SiteMakerの「my_block」というブロックを作成するには: + +- "blocks" フォルダを作成 +- 以下の内容のmy_block.phpファイルをblockフォルダに作成します + +```php +namespace my\example\blocks; + +use blitze\sitemaker\services\blocks\driver\block; + +class my_block extends block +{ + /** + * {@inheritdoc} + */ + public function display(array $settings, $edit_mode = false) + { + return array( + 'title' => 'my block title', + 'content' => 'my block content', + ); + } +} +``` + +次に、config.yml ファイルに以下を追加します。 + +```yml +サービス: + +... + + my.example.block.my_block: + class: my\example\blocks\my_block + calls: + - [set_name, [my.example.block.my_block]] + tags: + - { name: sitemaker.block } + +.... + +``` + +最低限必要なのはそれだけです 編集モードに入ると、任意のブロック位置にドラッグ&ドロップできる「MY_EXAMPLE_BLOCK_MY_BLOCK」と表示されているブロックが表示されます。 しかし、このブロックはエキサイティングではありません。 これは設定を持たず、ブロック名を変換しません。 もっと面白くしましょう。 + +### ブロック設定 + +ブロック/my_blockを修正しましょう。 hpファイルと追加「get_config」メソッドでは、ブロック設定とそのような設定を説明する配列であるキーを持つ配列を返します。 + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Only show when option 1 is selected
'), + ); + } +``` + +これは、phpBBがACPのボード設定用の構成を構築するのと同じ方法で構成されています。 さらに多くの例 [はこちら](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php) をご覧ください。 + +カスタムフィールドタイプが必要な場合は、 [の例](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' の設定) を参照できます。 + +'legend1' と 'legend2' に注意してください: これらは設定をタブに分割するために使用されます。 + +### 名前を付けるブロック + +ブロック名の規則は、サービス名 (e.g my.example.block) というものです。 y*block above)は、ドット(.)をアンダースコア(*)に置き換えることで言語キーとして使用されます(例:MY_EXAMPLE_BLOCK_MY_BLOCK)。 + +### 翻訳 + +また、翻訳が必要な言語キーがいくつかあります。 これを行うには、言語フォルダに「blocks_admin.php」という名前のファイルを作成します。 このファイルは、ブロックを編集するときに自動的に読み込まれます。あなたのブロックの設定とブロック名の翻訳が必要です。 + +``` +$lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Option 1', + 'OTHER_LANG_VAR' => 'Option 2', + 'SOME_LANG_VAR_1' => 'Setting 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'マイブロック', +); +``` + +'blocks_admin.php' はブロックを編集するときにのみ読み込まれるので、他の翻訳を追加する必要があります(例: `$language->add_lang('my_lang_file', 'my/example'); のようにdisplayメソッドに言語ファイルを読み込んでください。` + +### ブロックのレンダリング + +新しいブロックは、何かをレンダリングしている場合にのみ表示されます。 ブロックは任意の文字列をコンテンツとして返すことができますが、ほとんどの場合、コンテンツをレンダリングするためのテンプレートが必要です。 テンプレートを使用してブロックをレンダリングするには、 ブロックは、テンプレートに渡すデータを保持する配列を返し、 `get_template` メソッドを以下に示すように実装する必要があります。 + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block.html'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // do something only in edit mode + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); + } +``` + +styles/all/my_block.htmlまたはstyles/prosilver/my_block.htmlファイルは次のようになります: + +``` +

選択済: {{ some_var }}

+``` + +In summary, your block must return an array with a `title` key (for the block title) and a `content` key (if the block just displays a string and does not use a template) or a `data` key (if the block uses a template, in which case, you will also need to implement the `get_template` method). + +### 資産をブロック + +ページにアセット(css/js)を追加する必要がある場合は、サイトメーカー [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) を使用することをお勧めします。 ページ上に同じブロックのインスタンスが複数ある場合があるので、 または他のブロックが同じ資産を追加している可能性がありますutilクラスは、資産が追加されたもののみを保証します。 + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some.js', + 100 => '@my_example/assets/other.js', // set priority + ), + 'css' => array( + '@my_example/assets/some.css', + ) + )); +``` + +The util class will, of course, need to be added to your service definitions in config.yml like so: `- '@blitze.sitemaker.util'` and defined in your block's constructor `\blitze\sitemaker\services\util $util`. + +以上です 完了! diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/dev/theming.md b/website/i18n/ja/docusaurus-plugin-content-docs/current/dev/theming.md new file mode 100644 index 000000000000..3a84bb6304fd --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/dev/theming.md @@ -0,0 +1,62 @@ +--- +title: テーマ +sidebar_position: 3 +--- + +テンプレートファイルとJS/CSSファイルがすべてのスタイルで動作しないことを理解しています。 以下に、独自のテンプレートを使用し、特定のスタイルに合わせてJS/CSSファイルを作成する方法を示します。 + +## 自分のテンプレートを使う + +phpBB Sitemaker に付属するデフォルトテンプレートが、特定のスタイルでうまく動作しない場合。 スタイルフォルダに対応するファイルを作成することで、独自のテンプレートファイルを簡単に上書きすることができます。 + +例えば、 たとえば、あなたのスタイルが `Backlash` と呼ばれ、ブロックヘッダーセクションの HTML を [boxed view](/docs/user/blocks/block-views) 用に構造化する必要がある特定の方法があるとします。 以下のような名前のファイルを作成することで、特定のテンプレートを上書きすることができます: `phpBB/ext/blitz/sitemaker/styles/Backlash/template/views/boxed_view.twig`. + +言い換えれば、独自のテンプレートファイルを使用するには、次のようにする必要があります。 +* 上書きする必要があるphpBBサイトマッカーファイルを特定します +* 同じ名前のファイルをSitemaker `styles` フォルダに作成します + +> 注意: 独自のテンプレートファイルを作成する場合 拡張機能の更新時に、 `phpbb/ext/blitze/sitemaker` フォルダを削除しないようにしてください。カスタムファイルが削除されます。 むしろ、新しいファイルで既存のファイルを上書きするだけです。 + +## スタイルの JS/CSS ファイルを作成する + +メモ: +* 以下の説明では、my-styleと呼ばれるスタイルがあると仮定します。 + +phpBB/ext/blitze/sitemakerにクローン: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +コマンドラインから sitemaker ディレクトリに移動します: + + cd phpBB/ext/blitze/sitemaker + +**ベンダのインストール** + + composer install + +**パッケージのインストール** + +以下のコマンドでは、npm または [yarn](https://yarnpkg.com) を使用できます。 + + yarn install + +**ウォッチの変更** + + yarn start --theme my-style + +**変更する** + +* phpBB/ext/blitze/sitemaker/developmentフォルダ内のファイルに変更を加えます。 +* sass 変数の phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss を参照してください。 + +**資産を構築** + + yarn build --theme my-style + +**デプロイ** + +phpBB/ext/blitze/sitemaker/styles/my-styleから生成されたファイルをコピーして、本番サーバーにアップロードできるようになりました。 + +> この拡張機能は、タブ、ダイアログ、ボタンにjQuery UIを使用します。 デフォルトのjQueryテーマは「滑らかさ」です。 テーマに最適なjQuery UIの異なるテーマを使用できます。 jQuery UI テーマは、--jq_ui_themeフラグを使用して指定できます。 例: + + yarn build --theme my-style -jq_ui_theme ui-lightness diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/intro/_category_.json b/website/i18n/ja/docusaurus-plugin-content-docs/current/intro/_category_.json new file mode 100644 index 000000000000..d182f9eec5e2 --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/intro/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "はじめに", + "position": 1 +} diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/intro/installation.md b/website/i18n/ja/docusaurus-plugin-content-docs/current/intro/installation.md new file mode 100644 index 000000000000..9da7f9db36f1 --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/intro/installation.md @@ -0,0 +1,16 @@ +--- +title: "インストール/アップグレード" +sidebar_position: 2 +--- + +[から](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) 拡張機能をダウンロードする + +## Installing phpBB SiteMaker +* phpBB/ext/blitze/sitemaker があるように、phpBB/ext/ext/ext/sitemaker にそれを抽出してアップロードします +* "ACP" > "Customize" > "Extensions" に移動し、"phpBB Sitemaker" extension を有効にします。 + +## phpBB SiteMaker をアップグレードする +* 何か問題が発生した場合に備えてデータベースのバックアップを作成します +* "ACP" > "カスタマイズ" > "エクステンション" に移動し、無効化 (パージしない) "phpBB サイトマッカー" +* 最新バージョンのphpBB SiteMakerをダウンロードして抽出し、phpBB/ext/フォルダにアップロードしてください(上書き) +* "ACP" > "Customize" > "Extensions" に移動し、"phpBB Sitemaker" extension を有効にします。 diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/intro/introduction.md b/website/i18n/ja/docusaurus-plugin-content-docs/current/intro/introduction.md new file mode 100644 index 000000000000..3eacf88f989f --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/intro/introduction.md @@ -0,0 +1,6 @@ +--- +title: はじめに +sidebar_position: 1 +--- + +phpBB SiteMakerは、phpBBボードをCMS/ポータルに変換しようとしています。 それはあなたがあなたの好みに合わせてあなたのサイトをカスタマイズするのを助けるためにブロックとメニューを提供することによってそうします。 この目標を達成するための追加機能を提供する他のSiteMakerエクステンションがあります。 また、サイトにアクセスしたときにランディングページを定義することもできます。 だから、彼らがwwwに行くとき、あなたのサイトへの訪問者がすぐにphpBBフォーラムを見たいと思わない場合。 私たちの site.com、あなた自身のスタートページを定義することができます。 diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/user/_category_.json b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/_category_.json new file mode 100644 index 000000000000..89c488e5115c --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "ユーザーガイド", + "position": 2 +} diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/user/blocks/_category_.json b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/blocks/_category_.json new file mode 100644 index 000000000000..11263707c139 --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/blocks/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "ブロック", + "position": 1 +} diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/user/blocks/block-views.md b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/blocks/block-views.md new file mode 100644 index 000000000000..79c2143a644a --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/blocks/block-views.md @@ -0,0 +1,6 @@ +--- +title: ブロックビュー +sidebar_position: 2 +--- + +作業中... \ No newline at end of file diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md new file mode 100644 index 000000000000..25eba3efa004 --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md @@ -0,0 +1,24 @@ +--- +title: カスタムブロック +sidebar_position: 4 +--- + +利用可能なブロックが必要な自由を与えてくれない場合 BBcodeやHTMLを使って自由に自分のコンテンツを表示できる `カスタムブロック` があります。 ブロックには WYSIWYG エディタ(TinyMCE)とスクリプトマネージャーが付属しています。 + +## エディタ + +- エディタを使用してHTMLコンテンツを作成することができます +- エディタの `ソース コード` アイコン (`<>`) をクリックして、そのレベルの制御が必要な場合は、ソースコードを編集できます。 +- このエディターでは、画像をアップロードおよび変更することができます + - phpBB/images/sitemaker_uploads/ に新しいフォルダを作成します。 + - すべてのユーザーフォルダを表示/管理できます +- エディタは、javascriptなどの危険なスクリプトをフィルタリングします。 google 広告のようなコンテンツを追加する必要がある場合は、javascript は除外されますが、次の操作を行うことで回避できます。 + - 目的の場所にカスタムブロックを追加 + - カスタムブロックを編集し、 `HTML` タブをクリックしてJavascriptを貼り付けます。 + +## スクリプトマネージャー + +カスタムブロックでは、カスタム CSS と Javascript ファイルをページに追加することもできます。 以下を行うには: + +- 任意のブロック位置に `カスタムブロック` を追加します。 ブロックの内容を表示しない限り、位置は関係ありません +- ブロックを編集 `スクリプト` タブをクリックし、CSSまたはJavascriptファイルを追加してください。 > 注意事項: ページの多くのスクリプトに追加すると、読み込み時間に影響を与える可能性があります。 diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md new file mode 100644 index 000000000000..8a053b779f33 --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md @@ -0,0 +1,51 @@ +--- +title: ブロックの管理 +sidebar_position: 3 +--- + +phpBB SiteMakerでブロックを管理するには、 [編集モード](./overview#edit-mode)にする必要があります。 + +> ブロックがコンテンツを表示しない場合、編集モード以外は表示されません。 これにより、(format@@0ブロックの場合)コンテンツを与えるか、設定を変更することができます。 + +> 編集モード やや透明なブロックは、表示されないブロックですが、編集モードになっているためにのみ表示されます + +## ブロックを追加中 +ユーザーコントロールパネルとモデレーターコントロールパネルページを除き、フロントページにブロックを追加できます。 ブロックを追加するには、次のようにします。 +* 管理者バーの **ブロック** をクリックします。 利用可能なブロックの一覧が表示されます +* 任意のブロック位置にドラッグ&ドロップします + +## ブロックの編集 +### ブロックアイコンを追加する +ブロックタイトルの左側には、ブロックアイコンのボックスがあります。 アイコンピッカーを取得するには、このボックスをクリックしてください。 アイコンのサイズ、色、フロート、回転などを選択できます。 + +### ブロックタイトルの編集 +phpBB SiteMakerブロックにはデフォルトで翻訳されたタイトルがありますが、タイトルがニーズを満たしていない場合は変更できます。 ブロックのタイトルを編集する +* ブロックのタイトルをクリックしてインライン編集フォームを取得します +* タイトルを好きなものに変更する +* フィールドからフォーカスを削除するか、Enterキーを押して変更を送信します + +> 変更されたブロックのタイトルは翻訳されていません + +> デフォルトのタイトルに戻すには、単純にタイトルを削除してEnterキーを押します。 + +### ブロック設定の編集 +ブロックにカーソルを合わせると、コグアイコンがブロックの右側に表示され、ブロックを編集できます。 format@@0 ダイアログで、次のことができます: +- ブロックを有効/無効にする [Status] +- ブロックを表示すべき/非表示にするタイミングを選択します [Display]。 これは、ネストされたページがある場合にのみ適用されます( [ブロック継承についての理解](/docs/user/site/block-inheritance) を参照してください): + - **Always**: 常にブロックを表示 + - **子ルートで隠す**: 親ルートでこのブロックのみ表示 + - **子ルートのみに表示**: 子ルート上にこのブロックのみ表示 +- format@@0ブロックを表示できるグループを選択します。 複数のグループを選択するには、Ctrl + クリックを使用します。 +- カスタムクラスを設定して、ブロック内のブロックまたはアイテム(リスト、画像、背景など)の外観を変更します [CSS クラス] +- ブロックタイトルを表示/非表示 format@@0 +- ブロックビューformat@@0を選択します。 ACPに新しいブロックが追加されると、デフォルトのブロックビューを選択できます。 + - **デフォルト / Simple**: プロシルバーパネルクラスを使用して、ブロックをパッド入り容器にラップする + - **Basic**: ブロックにはコンテナがありません。 + - **Boxed**: prosilver forabg クラスを使用してブロックをボックスにラップする +- ブロック固有の設定の設定 / 更新 +- 同じブロックが複数のページで同じ設定をしている場合。 **同様の設定で**ブロックを更新することで、すべてを一度に更新できます。 + +## ブロックを削除中 +- 削除したいブロックにカーソルを合わせます +- **x** アイコンをクリックし、ブロックを削除することを確認します +- 管理者バーに移動し、 `変更を保存` をクリックします diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/user/blocks/overview.md b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/blocks/overview.md new file mode 100644 index 000000000000..b5a90f8fa243 --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/blocks/overview.md @@ -0,0 +1,9 @@ +--- +title: ブロックとは? +sidebar_position: 1 +--- + +phpBB SiteMakerの中心にはブロックの概念があります。 ブロックとは、サイト上のさまざまな事前定義されたエリア(ブロック位置)に配置できる小さなコンテンツのことです。 ブロックには通常、表示したいコンテンツを微調整するように設定/変更できる設定があります。 ほとんどのブロックは、すべてではありませんが、所望のコンテンツを取得するためにデータベースクエリを行います。 だから、あまりにもクレイジーにしないようにしましょう :)。 ブロックを管理するには、「編集モード」に切り替える必要があります。 + +## 編集モード +サイトの右上にある鉛筆アイコンをクリックして編集モードに切り替えます。 これにより、"ブロック" と "設定" のメニュー項目が表示されます。 これは「編集モード」と呼ばれます。 diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/user/menus/_category_.json b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/menus/_category_.json new file mode 100644 index 000000000000..4259794d53ee --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/menus/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Menus", + "position": 2 +} diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md new file mode 100644 index 000000000000..cb35acddc4ad --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md @@ -0,0 +1,15 @@ +--- +title: メニューを表示 +sidebar_position: 3 +--- + +メニューを作成したので、いくつかの方法で表示できます。 + +## リンクブロック +このブロックを使用して、メニュー項目のフラットまたはネストされたリストを表示できます。 このブロックはナビゲーションに使用されることを意図していません。つまり、現在のページやそのようなものは表示されません。 これは外部リンクを含む項目のリストを対象としています。 + +## メニューブロック +このブロックはサイトナビゲーションを目的としています。 現在位置を決定するためにいくつかの追加の計算を行い、非常に大きなリストであることを意図していません。 + +## ナビゲーションバー +format@@0 ブロックと同様に、ナビゲーション バーには、サイト ナビゲーション用の応答性の高いドロップダウン メニューとしてメニュー アイテムが表示されます。 ACP > エクステンション > サイトマカー > 設定 > メニューを選択して有効にできます diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md new file mode 100644 index 000000000000..e0bdf3cde218 --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md @@ -0,0 +1,30 @@ +--- +title: メニューアイテムの管理 +sidebar_position: 2 +--- + +メニューにメニューアイテムがない限り、メニューは役に立ちません。 ローカルまたは外部ファイルをポイントするメニュー項目を追加できます。 + +> 外部サイトの URL は、http(s)://、ftp://、などで始まる必要があります。 + +> 項目名として「-」を入力することで区切り文字を作成することができます + +## メニューアイテムを追加中 +一度に1つの項目を追加したり、複数のメニュー項目を一度に追加したりできます。 + +### 単一のメニュー項目を追加 +単一のメニューアイテムを追加するには +* `メニューアイテムを追加` ボタンをクリックします +* 必要な情報を入力し、 `保存`を押してください + +### 複数のアイテムを追加中 +一度に複数のメニュー項目を追加する。 +* `メニューアイテムを追加` の横にある下矢印アイコンをクリックします。 +* 各項目を新しい行に配置し、タブ文字のネスト項目を使用して手動で項目を追加することができます。 +* テキストエリアの下部にある提供されたオプションのいずれかをクリックして、メニュー項目を自動的に入力することができます + +## メニュー項目を並び替え +メニュー項目を上下にドラッグ&ドロップして表示順序を設定したり、左右にドラッグして目的の階層を設定したりできます。 + +## メニューアイテムの再構築 +メニュー項目が正しく表示されていない場合は、 `Rebuild Tree` ボタンをクリックしてメニュー項目を再構築します。 diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md new file mode 100644 index 000000000000..5a4277e5aec1 --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md @@ -0,0 +1,24 @@ +--- +title: メニューの管理 +sidebar_position: 1 +--- + +ACPでメニューを作成し、メニューやリンクブロックを使って表示したり、水平ナビゲーションバーとして表示したりできます。 + +## メニューの管理 + +メニューを管理するには、ACP > エクステンション > サイトマカー > メニュー + +### メニューの作成 +新しいメニュー (グループ) を作成するには、 `メニューの追加` ボタンをクリックします。 ランダムに生成された名前で新しいメニューグループが作成されます。 新しいメニューも選択されるので、メニュー項目を追加することができます。 + +### メニューの編集 +もっと意味のあるメニュー名が欲しい場合 +* メニュー名にカーソルを合わせ、歯車アイコンをクリックします +* 新しいメニュー名を入力してEnterキーを押して更新します + +### メニューの削除 +メニューとそのアイテムを削除する +* メニュー名にカーソルを合わせて、 **x** アイコンをクリックします +* メニュー項目に子項目がない場合、項目を削除するには選択を確認する必要があります +* メニュー項目に子項目がある場合。 アイテムのみを削除して子を上に移動するか、ブランチ全体を削除するかを指定する必要があります diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/user/site/_category_.json b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/site/_category_.json new file mode 100644 index 000000000000..7a4074c3a842 --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/site/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "サイトを構築する", + "position": 3 +} diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md new file mode 100644 index 000000000000..43863423a5f7 --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md @@ -0,0 +1,46 @@ +--- +title: ブロックの継承 +sidebar_position: 5 +--- + +既定のレイアウトを設定することによって、既にそれを見ています。 独自のブロックを持たない他のページは、既定のレイアウトからブロックを継承します。 しかし、別のタイプのブロック継承があります。 + +## 親/子ルート +phpBB SiteMakerでは、ネストされたルートについて、実際のネストされた(サブ)ディレクトリ、または事実上ネストされたパス/ルートについて述べています。 私と一緒にいてください :). +* Real Parent/Child routes: 例えば、/some_directory/sub_directory/index.phpパスは/some_directory/index.phpの子です。 +* 仮想親/子ルート: たとえば、viewtopic.phpはviewforum.phpの子として扱われます。 + +以下に、親/子ルートの例を示します。 + +| 親 | 子要素 | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/my-article | + +## 親/子ブロックの継承 +親/子ルートの場合 子ルートは、親ルート(親が独自のブロックを持っている場合)またはデフォルトレイアウト(設定されている場合)から親ルートのブロックを継承します。 つまり、デフォルトのレイアウトがあっても。 親ルートに独自のブロックがある場合、子ルートはその親ルートからブロックを継承します。 しかし、親ルートからのすべてのブロックが継承されるわけではありません。 + +## ブロック継承の制御 +ブロックレベルでは、ブロックを子ルートに継承できるタイミングを制御できます。 これについては、 [ブロック設定](/docs/user/blocks/managing-blocks#editing-block-settings) を編集しています。 + +次の実際のディレクトリ構造を考えてみましょう。 +```text +phpBB +├── index.php +├── Movies/ + ├── index.php + ├── page.php + ├── Comedy/ + ├── index.php +``` + +ブロックを継承するために、次のように言います。 +* /phpBB/Movies/Comedy/index.phpの親ルートは/phpBB/Movies/index.phpで、/phpBB/Movies/page.phpではありません。 +* /phpBB/index.phpに対するサブディレクトリ内のすべてのページは、/phpBB/index.phpの子ルートです。 ですから、/phpBB/Movies/index.phpと/phpBB/Movies/page.phpはすべて/phpBB/index.phpの子であり、自分のブロックがない場合はブロックを継承します。 この場合: + * /phpBB/index.phpのブロックを **子ルートで非表示**に設定すると、/phpBB/indexにブロックが表示されます。 HP(親ルート)ではありませんが、その子ルートではありません + * /phpBB/index.phpのブロックを **子ルートのみで表示**に設定すると、/phpBB/Movies/indexに表示されます。 hpと/phpBB/Movies/page.php(子ルート)ではなく/phpBB/index.php(親ルート)でも/phpBB/Movies/Comedy/index.php(私たちは1つのレベルだけ深く行く) + * /phpBB/index.phpのブロックを **always** (デフォルト)に設定すると、/phpBB/indexに表示されます。 hp (親), /phpBB/Movies/index.php, /phpBB/page.php (子ルート) ではありませんが、 /phpBB/Movies/Comedy/index.php (私たちは 1 つのレベルを深く行く). この場合、/phpBB/Movies/Comedy/index.phpはデフォルトのルート(存在する場合)から継承されます。 + +## Posible Future State +私はこの分野であなたのフィードバックに本当に興味があります。 ほとんどのphpBBユーザーは、上記のような実際のディレクトリを持っていません。 そこで、メニューブロックで定義されている構造を仮想ディレクトリ構造として使用し、この親/子継承を適用しようと考えています。 私はまた、1つのレベルの深さを超えることを検討しています. これが役に立つかどうか教えてください。 \ No newline at end of file diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md new file mode 100644 index 000000000000..b1149aaa8a67 --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md @@ -0,0 +1,6 @@ +--- +title: ブロックの表示をカスタマイズ +sidebar_position: 6 +--- + +作業中... \ No newline at end of file diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/user/site/default-layout.md b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/site/default-layout.md new file mode 100644 index 000000000000..e3431f5d9f52 --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/site/default-layout.md @@ -0,0 +1,21 @@ +--- +title: デフォルトレイアウトの設定 +sidebar_position: 4 +--- + +ブロックを追加すると、その特定のページに追加されます。 従って、あなたの場所のすべてのページのためのブロックをセットすることは退屈な仕事である。 特定のページに必要なすべてのブロックを設定し、そのページをデフォルトのレイアウトとして設定できます。 つまり、独自のブロックを持たないページは、このページからブロックを継承します。 + +既定のレイアウトを設定する +* 既定のレイアウトとして設定したいページに移動します +* 管理者バーの `設定` をクリックします +* `Set as default layout` ボタンをクリックします + +たとえば、サイドバーと最上位の位置にブロックを含むページ(phpBB/index.php)にブロックを追加し、デフォルトのレイアウトとして設定します。 他のページには以下のような効果があります: +* 独自のブロックを持たないページは、デフォルトのレイアウトからブロックを継承します。 例外については、 [ブロック継承の理解](/docs/user/site/block-inheritance) を参照してください。 +* デフォルトのレイアウト(インデックス)からブロックを継承することができます。 hp) しかし、一部のブロック位置にブロックを表示しないように選択するか、まったくブロックを表示しません。 これを行うには + * すべて/いくつかのブロックを表示したくないページに移動します + * 管理者バーの `設定` をクリックします + * このページにブロックを継承/表示したくない場合は、 `このページにブロックを表示しない` を選択してください + * Ctrl + クリックでブロックを表示しないブロック位置(右側)を選択します +* `編集モード`では、デフォルトのレイアウトからブロックを継承するページ。 ブロックは表示されません。ページにブロックを追加する機会を与えます。 +* 独自のブロックを持つページは、デフォルトのレイアウトから継承されません。 diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/user/site/layouts.md b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/site/layouts.md new file mode 100644 index 000000000000..0995c1613c42 --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/site/layouts.md @@ -0,0 +1,31 @@ +--- +title: レイアウト +sidebar_position: 1 +--- + +"レイアウト" は、使用可能なブロックの位置と表示方法を決定します。 + +## ブロックの位置 +ブロック位置は、ブロックが存在できるサイト上の事前定義された領域です。 使用可能なブロックの位置は、使用しているテンプレートスタイルによって決まります。 prosilverの場合、phpBB SiteMakerには以下のブロック位置があります。 +* パネル:上部の全幅 +* サイドバー: 下のレイアウトに応じて左/右 +* subcontent: sidebar と似ています +* top_hor: 上部の水平ブロック、レイアウトに応じてサイドバー/サブコンテンツの上側に平坦化 +* 上部: メインコンテンツの上 +* ボックス: メインコンテンツの下の幅、水平方向のブロック +* 下: メインコンテンツの下 +* bottom_hor: 下部を横切るブロック、レイアウトに応じてサイドバー/サブコンテンツを平坦化する +* footer: フッターの水平ブロック 対応するphpBB SiteMakerテンプレートをコピーして変更することで、独自のスタイルテンプレートでより多くのブロック位置を追加できます。 + +## サイトレイアウト +ACP(エクステンション > サイトマッカー > 設定)でサイトのレイアウトを選択できます。 +* **ブログ**: サブコンテンツとサイドバーが隣り合って右、top_hor/botom_hor 側面のサブコンテンツ +* **聖杯**: 反対側の幅サイドバーとサブコンテンツが等しい, top_hor/botom_hor 側面のサブコンテンツ +* **Portal**: 左側のサイドバー, 右側のサブコンテンツ top_hor/botom_hor +* **Portal Alt**: 左側のサブコンテンツ, 右側のサイドバー, top_hor/botom_hor サイドバー. +* **カスタム**: サイドバーの幅を px, %, em, rem に手動で設定する。 デフォルトは、各側面で 200px です。 + +## カスタムテンプレート/スタイル +できるだけ多くの テンプレートファイルとアセットをstyles/all/フォルダに入れて、自分のテンプレートテーマeの下に同じ名前のファイルを作成することで上書きできるようにしました。 プロシルバーだ そのため、特定のブロックの表示方法を変更したい場合や、独自のブロックの位置を使用して独自のレイアウトを作成したい場合に使用します。 オリジナルと同じ名前とパスを持つファイルを独自のスタイルで作成する必要があります + +CSS/JS ファイルをカスタマイズする必要がある場合は、 [テーマ](/docs/dev/theming) セクションを参照してください。 \ No newline at end of file diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/user/site/navbar.md b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/site/navbar.md new file mode 100644 index 000000000000..7d093cb6f9ea --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/site/navbar.md @@ -0,0 +1,6 @@ +--- +title: ナビゲーションバー +sidebar_position: 2 +--- + +[メニューの表示](/docs/user/menus/displaying-menus#navigation-bar) を参照 diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/user/site/startpage.md b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/site/startpage.md new file mode 100644 index 000000000000..bf819e7627b2 --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/user/site/startpage.md @@ -0,0 +1,11 @@ +--- +title: スタートページの設定 +sidebar_position: 3 +--- + +phpBB SiteMakerでは、任意のフロントコントローラー(app.php/char@@0からアクセスするページ)を選択できます。 をデフォルトのスタートページ(誰かがサイトにアクセスしたときに表示されるページ)として、ボードインデックスの代わりに表示されます。 + +以下を行うには: +* デフォルトのスタートページとして設定したいページに移動します +* 管理者バーの `設定` をクリックします。 該当するページの場合は、 `スタートページ` ボタンが表示されます。 +* `開始ページとして設定` ボタンをクリックします \ No newline at end of file diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/contrib/_category_.json b/website/i18n/nb/docusaurus-plugin-content-docs/current/contrib/_category_.json new file mode 100644 index 000000000000..83589cc934fd --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/contrib/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Bidra", + "position": 4 +} diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/contrib/overview.md b/website/i18n/nb/docusaurus-plugin-content-docs/current/contrib/overview.md new file mode 100644 index 000000000000..70dc89694cd8 --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/contrib/overview.md @@ -0,0 +1,11 @@ +--- +title: Engasjer deg +sidebar_position: 1 +--- + +phpBB SiteMaker er er et åpen kildekode-prosjekt og ønsker ideer og bidrag velkommen. Du kan derfor føle deg fri til å rammes. Du kan bidra til dette prosjektet ved å: + +* [Tilbud om støtte/tilbakemelding](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Rapporter feil](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Hjelpe med oversettelse](./translators.md) +* [Fikser bugs eller legge til funksjoner](./pull-requests.md) diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/contrib/pull-requests.md b/website/i18n/nb/docusaurus-plugin-content-docs/current/contrib/pull-requests.md new file mode 100644 index 000000000000..2368014a0726 --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/contrib/pull-requests.md @@ -0,0 +1,65 @@ +--- +title: Sender en trekkforespørsel +sidebar_label: Rull Requests +--- + +`Pull forespørsler lar deg fortelle andre om endringer du har trykket på en gren i et område på GitHub. Når en forespørselsforespørsel er åpnet, Du kan diskutere og gjennomgå mulige endringer med samarbeidspartnere, og legge til en oppfølging før endringene fusjoneres i grunngrenen.` [Les mer](https://help.github.com/articles/about-pull-requests/) + +## Tår/Kloning + +* Opprett en github konto hvis du ikke allerede har en +* Gå til https://github.com/blitze/phpBB-ext-sitemaker.git og klikk på "Fork" + +Klon din gren av depoet: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Fra kommandolinjen går til sitemaker mappen: + + cd phpBB/ext/blitze/sitemaker + +**Konfigurer siden:** + +Legg brukernavnet ditt til Git i systemet: + + git config --global bruker.navn "Ditt navn her" + +Legg til din e-postadresse til Git på ditt system: + + git config --legg til bruker.email brukernavn@phpbbb.com + +Legg til fjernkontrollen oppstrøms (du kan endre "oppstrøm" til hva du vil): + + git ekstern legg til oppstrøms git://github.com/blitze/phpBB-ext-sitemaker.git + +**Installer leverandører** + + installering av komponist + +**Installer NPM pakker** + + npm install + +Alternativt kan du bruke [garn](https://yarnpkg.com): + + garn installer + +## Rull Requests + + # Lag en ny gren for din funksjon & bytt til den + git checkout -b funksjon/my-fancy-new-feature + + # Opprett en ny filial for feilen du arbeider på * bytt til den (billett # er fra github tracker) + git sjekk -b ticket/1234 + +Gjør dine endringer + + # Scene filene + git legg til + + # Send inn staged filer - Vennligst bruk en korrekt commit melding + git commit -m "my commit message" + +Skyv gren tilbake til GitHub git push-origin funksjon/my-fancy-new-feature + +Send inn en [trekk-forespørsel](https://github.com/blitze/phpBB-ext-sitemaker/pulls) diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/contrib/translators.md b/website/i18n/nb/docusaurus-plugin-content-docs/current/contrib/translators.md new file mode 100644 index 000000000000..b23cf1feb0ec --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/contrib/translators.md @@ -0,0 +1,17 @@ +--- +title: Oversettere +sidebar_position: 2 +--- + +Vi må bidra til å oversette denne utvidelsen, samt dokumentasjon. Vi har laget et prosjekt på Crowdin for å lette oversettelsene. Crowdin gir deg et oversettelsesgrensesnitt som er sekund til ingen. Du kan bidra til hvordan du vil, men vi anbefaler å bruke Crowdin. + +> Crowdin er en lokaliseringsstyringsplattform som hjelper selskaper med å oversette programvaren. Du kan lese mer om Crowdin [her](https://support.crowdin.com/crowdin-intro/) + +Hvis du er villig til å bidra med oversettelser, trenger du: + +* En [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) konto. +* Velg målspråket dersom ønsker å bli aktivert på annen måte. + +Hvis det ønskede språket ditt ikke er oppført på listen, vennligst [kontakt meg](https://crowdin.com/profile/blitze) og jeg vil legge det til. + +[Begynn å oversette](https://crowdin.com/project/phpbb-ext-sitemaker) diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/dev/_category_.json b/website/i18n/nb/docusaurus-plugin-content-docs/current/dev/_category_.json new file mode 100644 index 000000000000..a70f0239f7f2 --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/dev/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Utvikler Guide", + "position": 3 +} diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/dev/events.md b/website/i18n/nb/docusaurus-plugin-content-docs/current/dev/events.md new file mode 100644 index 000000000000..7e07f50b823d --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/dev/events.md @@ -0,0 +1,120 @@ +--- +title: phpBB SiteMaker Hendelser +sidebar_position: 2 +--- + +Du kan endre adferden til phpBB SiteMaker ved hjelp av phpBB's hendelsessystem. + +## PHP hendelser + +### blitze.sitemaker.acp_add_bulk_menu_options + +- Sted: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Siden: 3.1.0 +- Formål: Legg til massealternativer i blokk-menyen + +### blitze.sitemaker.acp_display_settings_form + +- Sted: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Siden: 3.1.0 +- Formål: vis acp (sitemaker) innstillingsskjema + +### blitze.sitemaker.acp_save_settings + +- Sted: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Siden: 3.1.0 +- Formål: Lagre acp (sitemaker) innstillinger + +### blitze.sitemaker.admin_bar.set_assets + +- Sted: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Siden: 3.0.1-RC1 +- Formål: Legg til ressurser for tilgjengelige blokker i redigeringsmodus + +### blitze.sitemaker.modify_block_posier + +- Sted: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Siden: 3.0.1-RC1 +- Formål: posisjoner endre blokker + +### blitze.sitemaker.modify_rendered_block + +- Sted: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Siden: 3.0.1-RC1 +- Formål: endre en rendret blokk + +## Mal hendelser + +### blitze_sitemaker_acp_innstillinger + +- Sted: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Siden: 3.1.0 +- Formål: Legg til skjemafelter for sidemaker innstillinger + +### blitze_sitemaker_admin_bar_append + +- Sted: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Siden: 3.1.0 +- Formål: Legg til menyelementer i adminbar + +### blitze_sitemaker_admin_bar_maler + +- Sted: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Siden: 3.1.0 +- Formål: Legg til malfiler som skal brukes i JS for blokkvisning, osv + +## Javascript hendelser + +### blitze_sitemaker_layout_lagret + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Sid: 3.1.2 +- Formål: Hendelse for å tillate andre utvidelser å gjøre noe når endringer i oppsett blir lagret + +### blitze_sitemaker_render_block_før + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Sid: 3.1.2 +- Formål: Hendelse som tillater andre utvidelser å gjøre noe før blokk gjengis eller forhindre at den blir gjengitt + +### blitze_sitemaker_render_block_etter + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Sid: 3.1.2 +- Formål: Hendelse for å tillate andre utvidelser å gjøre noe etter at blokk er gjengitt + +### blitze_sitemaker_save_block_før + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Sid: 3.1.2 +- Formål: Hendelse for å tillate andre utvidelser å endre blokkdata før den blir lagret + +### blitze_sitemaker_show_all_block_positions + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/Positions.js +- Sid: 3.1.2 +- Formål: Hendelse for å tillate andre utvidelser å gjøre noe når alle blokkposisjoner vises + +### blitze_sitemaker_hide_empty_block_posier + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/Positions.js +- Sid: 3.1.2 +- Formål: Hendelse som tillater andre utvidelser å gjøre noe når tomme posisjoner er skjult + +### blitze_sitemaker_layout_cleared + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/Positions.js +- Sid: 3.1.2 +- Formål: Hendelse for å tillate andre utvidelser å gjøre noe når oppsettet er tømt + +### blitze_sitemaker_oppsett_oppdatert + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/Positions.js +- Sid: 3.1.2 +- Formål: Hendelse som tillater andre utvidelser å gjøre noe når oppsett blir oppdatert + +### blitze_sitemaker_tinymce_innstillinger + +- Sted: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Siden: 3.3.0 +- Formål: Hendelse for å tillate andre utvidelser å endre tinymce alternativer diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/dev/overview.md b/website/i18n/nb/docusaurus-plugin-content-docs/current/dev/overview.md new file mode 100644 index 000000000000..2c082809bc5b --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/dev/overview.md @@ -0,0 +1,179 @@ +--- +title: Utvide phpBB SiteMaker +sidebar_position: 1 +--- + +Du kan utvide/endre phpBB SiteMaker ved hjelp av [tjeneste erstatting](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [servicedekorasjon](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), og [phpBB's hendelsessystem](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Du finner en liste over støttede hendelser [her](./events.md). + +## Oppretter en SiteMaker-blokk + +En phpBB SiteMaker blokk er ganske enkelt en klasse som utvider blitze\sitemaker\services\blocks\driver\block class og returnerer en array fra "display" metoden med en 'title' og 'content'. Alt annet i mellom er opp til deg. For å gjøre blokken din synlig av phpBB SiteMaker, må du gi den "sitemaker.block" -taggen. + +Si at vi har en utvidelse med leverandør/utvidelse som min/eksempel. For å opprette en blokk kalt "my_block" for phpBB SiteMaker: + +- Opprett en "blocks" mappe +- Lag filen my_block.php i blokkmappen med følgende innhold + +```php +navneområde my\example\blocks; + +bruk blitze\sitemaker\services\blocks\driver\block; + +klasse my_block utvider blokk +{ + /** + * {@inheritdoc} + */ + public function display(array $settings $edit_mode = false) + { + returarray( + 'title' => 'min blokktittel', + 'content' => 'mitt blokkinnhold', + ); + } +} +``` + +Så i din config.yml fil, legg til følgende: + +```yml +Tjenester: + +... + + mitt.example.block.my_block: + klasse: mitt\example\blocks\my_block + calls: + - [set_name, [my.example.block.my_block]] + koder: + - { name: sitemaker.block } + +.... + +``` + +På et bart minimum er alt du trenger. Hvis du går i redigeringsmodus, bør du se blokken listet som 'MY_EXAMPLE_BLOCK_MY_BLOCK' som kan dras og slippes på en hvilken som helst blokkposisjon. Men denne blokken gjør ikke noe spennende. Den har ingen innstillinger og har ikke oversette blokknavnet. La oss gjøre det mer interessant. + +### Blokker innstillinger + +La oss endre våre blokker/my_block. hp fil og legg til en "get_config" metode i å returnere en liste med tastene som blokkinnstillingene og verdiene som en liste beskriver innstillinger som: + +```php + /** + * @inheritdoc + */ + offentlig funksjon get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + returarray( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'valider' => 'streng', 'type' => 'avkrysningsboks', 'valg' => $options, 'standard' => matrise(), 'Forklarer' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validere' => 'bool', 'type' => 'radio:yes_no', 'Forklarer' => false, 'default' => usann), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'valider' => 'bool', 'type' => 'radio', 'valg' => $options, 'Forklarer' => usann, 'default' => 'emne'), + 'valg' => array('lang' => 'SOME_LANG_VAR_4', 'valider' => 'string', 'type' => 'select', 'valg' => $options, 'default' => '', 'Forklarer' => usann), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'valider' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'Forklarer' => usann), + 'legend2' => 'TAB2', + 'nummer' => array('lang' => 'SOME_LANG_VAR_6', 'Godkjenn' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'Forklarer' => feil, 'standard' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'valider' => 'string', 'type' => 'tekstfelt:3:40', 'makslengde' => 2, 'Forklarer' => sann, 'standard' => ''), + «aktiverbar» => array('lang' => 'SOME_TOGGLABLE_VAR', 'valider' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'standard' => '', 'lagt til' => '
Vis bare når valg 1 er valgt
'), + +} +``` + +Denne er konstruert på samme måte som phpBB bygger konfigurasjonen for bordinnstillinger i ACP. Du kan se flere eksempler [her](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Dersom du ønsker en egendefinert felttype, kan du se et eksempel [her](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type'-innstillingen. + +Merk 'legend1' og 'legend2': Disse blir brukt til å skille innstillingene i faner. + +### Navngi blokker + +Konvensjonen om blokknavn er at tjenestenavnet (f.eks my.example.block. y*blokk ovenfor) vil bli brukt som språkkode ved å erstatte prikkene (.) med understreking (*) (f.eks MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Oversettelse + +Legg også merke til at vi har flere språknøkler som må oversettes. For å gjøre dette, må du opprette en fil som heter "blocks_admin.php" i språkmappen. Denne filen vil automatisk bli lastet når du redigerer blokker, og bør ha oversettelser for blokkene innstillingene og blokkér navn. + +``` +$lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Alternativ 1', + 'OTHER_LANG_VAR' => 'Alternativ 2', + 'SOME_LANG_VAR_1' => 'Innstilling 1', +.... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Min blokk', +); +``` + +Fordi 'blocks_admin.php' bare er lastet inn når du redigerer blokker, må du legge til andre oversettelser (f.eks. blokk tittel) ved å laste en språkfil i din visningsmetode så `$language->add_lang('my_lang_file', 'mitt/eksempel');` + +### Gjengir blokken + +Den nye blokken vises bare hvis den gjengir noe. Blokken din kan returnere en streng som innhold, men du trenger i de fleste tilfeller en mal for å gjengi innholdet. For å gjengi blokka din bruk av maler, blokken må returnere en liste med dataene du vil sende til malen, og også implementere `get_template` metoden som vist nedenfor: + +```php + /** + * @inheritdoc + */ + offentlig funksjon get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + returarray( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'valider' => 'streng', 'type' => 'avkrysningsboks', 'valg' => $options, 'standard' => matrise(), 'forklarende' => false), + ); + } + + /** + * {@inheritdoc} + */ + offentlige funksjoner get_template() + { + return '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + hvis ($edit_mode) + { + // gjør noe bare i redigeringsmodus + } + + returarray( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Deretter kan dine stiler/all/my_block.html eller styles/prosilver/my_block.html se omtrent slik ut: + +``` +

Du valgte: {{ some_var }}

+``` + +Kort fattet, blokken må returnere en liste med en `tittel` tast (for blokktittelen) og en `innhold` nøkkel (hvis blokken akkurat viser en streng og ikke bruker en mal) eller en `data` nøkkel (hvis blokken bruker en mal i så fall må du også implementere metoden, `get_template`). + +### Blokker Eiendeler + +Hvis blokken din trenger å legge til eiendeler (css/js) til siden, anbefaler jeg å bruke sitemaker [util klasse](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) for det. Siden det kan være mer enn én forekomst av samme blokk på siden, eller andre blokker kan legge til samme aktivum, util klassen sikrer at aktivumet bare blir lagt til. + +```php + $this->benytt->add_assets(array( + 'js' => array( + '@my_example/assets/som. s', + 100 => '@my_example/assets/other. s', // sett prioritet + ), + 'css' => array( + '@my_example/assets/som. s', + ) +)); +``` + +Selvsagt må util klassen dine legges til i tjenestedefinisjonene dine i config.yml: `- '@blitze.sitemaker. til'` og definert i din blokks konstruktør `\blitze\sitemaker\services\util $util`. + +Og det er det. Vi er ferdig! diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/dev/theming.md b/website/i18n/nb/docusaurus-plugin-content-docs/current/dev/theming.md new file mode 100644 index 000000000000..9c3a44003477 --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/dev/theming.md @@ -0,0 +1,62 @@ +--- +title: Utseende +sidebar_position: 3 +--- + +Vi forstår at designmalfilene og JS/CSS ikke vil fungere for alle stiler, så under er noen måter du kan bruke dine egne maler og opprette JS/CSS-filer for din aktuelle stil. + +## Bruker din egen mal + +Hvis standardmalene som kommer med phpBB Sitemaker ikke fungerer bra for din aktuelle stil, du kan enkelt overskrive den til å bruke din egen malfil ved å lage den tilsvarende filen i stilmappen din. + +For eksempel, si at stilen din er `Backlash` og den har en spesiell måte hvor HTML for overskriften i blokkoverskriften må struktureres for [kodet visning](/docs/user/blocks/block-views). Du kan overskrive den bestemte malen ved å opprette en fil av samme navn, som: `phpBB/ext/blitze/sitemaker/styles/Backlash/template/views/boxed_view.twig`. + +Med andre ord, for å bruke din egen malfil, må du: +* Identifiser hvilken phpBB Sitemaker-fil som må overskrives +* Opprett en fil med samme navn i lokalisering `stiler` mappen under ditt stilnavn + +> Merk: Hvis du lager dine egne malfiler, at du ikke sletter `phpbb/ext/blitze/sitemaker` mappen når du oppdaterer utvidelsen, som dine egendefinerte filer vil bli slettet. Bare overskriv de nye filene med dem. + +## Oppretter JS/CSS-filer for din stil + +Merk: +* I de nedenfor instruksene vil vi anta at du har en stil kalt mystil. + +Klon inn i phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Fra kommandolinjen går til sitemaker mappen: + + cd phpBB/ext/blitze/sitemaker + +**Installer leverandører** + + installering av komponist + +**Installer pakker** + +For kommandoene under kan du bruke npm eller [garn](https://yarnpkg.com) + + garn installer + +**Se Endringer** + + garn start --tema min-stil + +**Gjøre endringer** + +* Gjør endringer i filen i phpBB/ext/blitze/sitemaker/utviklingsmappen +* Se på phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss for sass variabler + +**Bygg Eiendeler** + + garn bygg --theme min-stil + +**Installer** + +Nå kan du kopiere de genererte filene fra phpBB/ext/blitze/sitemaker/stiler/my-stil og laste dem opp i din produksjonsserver. + +> Denne utvidelsen bruker jQuery UI for faner, dialoger og knapper. Det standard jQuery temaet er 'glatt'. Du kan bruke et annet jQuery UI tema som passer ditt beste tema. Du kan spesifisere jQuery UI temaet ved hjelp av flagget --jq_ui_theme. For eksempel: + + garn bygge --theme min-style --jq_ui_theme ui-lightness diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/intro/_category_.json b/website/i18n/nb/docusaurus-plugin-content-docs/current/intro/_category_.json new file mode 100644 index 000000000000..c350c0ea4345 --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/intro/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Komme i gang", + "position": 1 +} diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/intro/installation.md b/website/i18n/nb/docusaurus-plugin-content-docs/current/intro/installation.md new file mode 100644 index 000000000000..e9a6dc95e011 --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/intro/installation.md @@ -0,0 +1,16 @@ +--- +title: "Installerer / oppgradering" +sidebar_position: 2 +--- + +Last ned utvidelsen fra [her](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker +* Pakk ut og last opp til din phpBB/ext/mappe så du har phpBB/ext/blitze/sitemaker +* Gå til "ACP" > "Tilpass" > "Utvidelser" og aktiver "phpBB Siden"-utvidelsen. + +## Oppgraderer phpBB SiteMaker +* Opprett en sikkerhetskopi av databasen bare i tilfelle noe går galt +* Gå til "ACP" > "Tilpass" > "Utvidelser" og deaktiver (ikke fjerne) "phpBB sidaker" +* Last ned og trekk ut den siste versjonen av phpBB SiteMaker og last den opp til din phpBB/ext/folder (overskrive) +* Gå til "ACP" > "Tilpass" > "Utvidelser" og aktiver "phpBB Siden"-utvidelsen. diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/intro/introduction.md b/website/i18n/nb/docusaurus-plugin-content-docs/current/intro/introduction.md new file mode 100644 index 000000000000..1967af898abf --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/intro/introduction.md @@ -0,0 +1,6 @@ +--- +title: Introduksjon +sidebar_position: 1 +--- + +phpBB SiteMaker søker å transformere din phpBB brett til en CMS/portal. Det gjør dette ved å gi deg blokker og menyer som hjelper deg å tilpasse nettstedet ditt til din smak. Det finnes eller vil være andre utvidelser fra SiteMaker som tilbyr ytterligere funksjonalitet for å nå dette målet. Du kan også definere en landingsside når nettstedet ditt har tilgang. Så hvis du ikke vil at besøkende på nettstedet ditt umiddelbart skal se phpBB forum når de går til www. vår-nettsted.com, kan du definere din egen startside. diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/user/_category_.json b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/_category_.json new file mode 100644 index 000000000000..8c42432aef43 --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Bruker Guide", + "position": 2 +} diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/user/blocks/_category_.json b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/blocks/_category_.json new file mode 100644 index 000000000000..f65a7af98f55 --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/blocks/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Blokker", + "position": 1 +} diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/user/blocks/block-views.md b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/blocks/block-views.md new file mode 100644 index 000000000000..2db94e910ab0 --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/blocks/block-views.md @@ -0,0 +1,6 @@ +--- +title: Blokker Visninger +sidebar_position: 2 +--- + +Jobb pågår... \ No newline at end of file diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md new file mode 100644 index 000000000000..f37e7ea78ceb --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md @@ -0,0 +1,24 @@ +--- +title: Egendefinert blokk +sidebar_position: 4 +--- + +Hvis tilgjengelige blokker ikke gir deg den friheten du trenger, Det er `Egendefinerte blokker` som lar deg friheten til å vise ditt eget innhold ved hjelp av BBcode eller HTML. Blokken kommer med en WYSIWYG editor (TinyMCE) og administrerer: + +## Redaktør + +- Du kan bruke redigeringsprogrammet for å lage HTML-innhold +- Du kan redigere kildekoden hvis du trenger det kontrollnivået ved å klikke på `Kildekode` -ikonet (`<>`) i editoren +- Redigeringsprogrammet lar deg laste opp og endre bilder + - Det oppretter en ny mappe i phpBB/images/sitemaker_uploads/ for alle brukere som har tilgang til den + - Du kan se/behandle alle brukermapper +- Redigeringsprogrammet filtrerer ut potensielt farlige skripter som javascript, osv. Hvis du trenger å legge til innhold som google annonser, vil JavaScript filtreres ut, men det kan du komme deg rundt ved å gjøre følgende: + - Legg til den egendefinerte blokken til ønsket sted + - Rediger egendefinert blokk, klikk på `HTML` og lim inn Javascript + +## Skript behandler + +Den egendefinerte blokken lar deg også legge til egendefinerte CSS-filer til siden din. Å gjøre dette: + +- Legg til en `egendefinert blokk` i hvilken som helst blokkposisjon. Denne posisjonen spiller ingen rolle med mindre du også viser innhold med blokken +- Rediger blokken, klikk på `Scripts` fanen og legg til dine CSS eller Javascript-filer > Derfor: Legge til mange skript på siden kan påvirke innlastingstiden diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md new file mode 100644 index 000000000000..06a6215fcc94 --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md @@ -0,0 +1,51 @@ +--- +title: Mananaging Blocks +sidebar_position: 3 +--- + +For å behandle blokker i phpBB SiteMaker, må du være i [Redigeringsmodus](./overview#edit-mode). + +> Når en blokk ikke viser noe innhold, vises den ikke unntatt i redigeringsmodus. På den måten kan du enten gi det innhold (i tilfelle av "Tilpasset"-blokken) eller endre innstillingene. + +> I redigeringsmodus, de litt gjennomsiktige blokkene er blokker som ellers ikke vil vises, men bare vises fordi vi er i redigeringsmodus + +## Legger til blokker +Du kan legge til blokker til alle sider på siden, unntatt Brukerkontrollpanelet og Moderator kontrollpanelet. For å legge til en blokk må du: +* klikk på **Blokker** i Admin-linjen. Dette vil vise en liste over tilgjengelige blokker +* Dra og slipp den ønskede blokken til en hvilken som helst blokkplassering + +## Redigerer blokker +### Legge til et blokk-ikon +Til venstre for blokktittelen (prosilver) er det en boks for blokkens ikon. Klikk på denne boksen for å få ikonvelgeren. Du kan velge ikonstørrelsen, farge, gulv, rotasjon, osv. + +### Redigering av tittel på blokken +phpBB SiteMaker blokker vil ha en standard, oversatt tittel, men hvis tittelen ikke oppfyller dine behov, kan du endre den. For å redigere blokktittelen, +* Klikk på blokktittelen for å få et innebygd redigeringsskjema +* Endre tittelen til hva du vil +* Fjern fokus fra feltet eller treff enter for å sende endringer + +> Din modifisert blokk tittel er ikke oversatt + +> For å gå tilbake til standardtittelen, enkelt slett tittelen og treff angi + +### Redigerer blokkinnstillinger +Når du holder musepekeren over en blokk, vil det se ut et cog-ikon til høyre for blokken som kan brukes til å redigere blokken. I dialogboksen for redigering kan du: +- Aktiver/deaktiver en blokk [Status] +- Velg når blokken bør /skal ikke vises [Display]. Dette gjelder bare i tilfeller hvor du har nestede sider (se [Understanding Block Inheritance](/docs/user/site/block-inheritance)): + - **Alltid**: vis alltid blokken + - **Skjul på underordnede ruter**: Vis bare denne blokken på overordnet rute + - **Vis bare på underordnede ruter**: Bare vis denne blokken på en underrute +- Velg hvilke brukergrupper som kan vise blokken [Visbar av]. Bruk CTRL + klikk for å velge flere grupper. +- Velg egendefinerte klasser for å endre utseendet til blokken eller elementer (lister, bilder, bakgrunn, osv.) i blokken [CSS Class] +- Vis/Skjul blokkens tittel [Skjul blokk tittel?] +- Velg blokkvisning [Block view]. Du kan velge en standard blokkvisning når nye blokker er lagt til i ACP. + - **Standard / Simple**: bruker spennviddens panelklasse til å pakke inn blokken i en polert beholder + - **Basis**: blokken har ingen endosebeholder innpakking + - **Bokset**: bruker prositveren forkortelse til å pakke inn blokken i en boks +- Angi / oppdater blokk spesifikke innstillinger +- Hvis du har samme blokk med samme innstillinger på tvers av flere sider, du kan oppdatere alle samtidig ved å sjekke **Oppdateringsblokkene med lignende innstillinger** + +## Sletter blokker +- Hold over blokken du ønsker å slette +- Klikk på **x** -ikonet og bekreft at du ønsker å slette blokken +- Gå opp til admin-baren og klikk på `Lagre endringer` diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/user/blocks/overview.md b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/blocks/overview.md new file mode 100644 index 000000000000..a01ad693005f --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/blocks/overview.md @@ -0,0 +1,9 @@ +--- +title: Hva er blokker? +sidebar_position: 1 +--- + +I hjertet av phpBB SiteMaker er konseptet blokker. Blokker er små innholdsdeler som du kan plassere i forskjellige forhåndsdefinerte områder (blokkposisjoner) på ditt nettsted. Blokkene vil vanligvis ha innstillinger som du kan sette/endre til å finjustere innholdet du ønsker å vise. De fleste blokker, men ikke alle, vil foreta databasespørringer for å få ønsket innhold. Så la oss ikke bli for gale :). For å administrere blokker må du bytte til "redigeringsmodus". + +## Rediger modus +Bytt til redigeringsmodus ved å klikke på blyant-ikonet øverst til høyre på nettstedet. Dette vil vise "Administratorlinje" med "Blokker" og "Innstillinger" menypunkter. Dette kalles for å være i 'redigeringsmodus'. diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/user/menus/_category_.json b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/menus/_category_.json new file mode 100644 index 000000000000..4259794d53ee --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/menus/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Menus", + "position": 2 +} diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md new file mode 100644 index 000000000000..a26781a756be --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md @@ -0,0 +1,15 @@ +--- +title: Viser menyer +sidebar_position: 3 +--- + +Nå som du har opprettet dine menn, kan du vise dem på flere måter: + +## Lenker blokk +Du kan bruke denne blokken til å vise en flat eller nestet liste over menyelementer. Denne blokken er ikke ment å bli brukt til navigasjon, det vil si at den ikke viser en gjeldende side eller noe sånt. Den er beregnet på en liste over objekter, inkludert eksterne koblinger. + +## Blokker menyer +Denne blokken er beregnet på stedsnavigasjon. Det gjør enkelte ekstra beregninger for å bestemme gjeldende sted, og er ikke ment å være en svært stor liste. + +## Navigasjonsfelt +I likhet med menyblokkeringen vil navigasjonslinjen vise menypunkter som en responsiv nedtrekksmeny beregnet for stedsnavigasjon. Du kan aktivere dette i ACP > Utvidelser > Lokaler > Innstillinger > Velg meny diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md new file mode 100644 index 000000000000..007b3f39c640 --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md @@ -0,0 +1,30 @@ +--- +title: Administrere menyelementer +sidebar_position: 2 +--- + +Menyen er ubrukelig med mindre den har menyelementer. Du kan legge til menyelementer som peker til lokale eller eksterne filer. + +> URL-adressen for eksterne nettsteder må begynne med http(s)://, ftp://, //, osv. + +> Du kan lage en skilder ved å skrive inn ' ' som artikkeltittel + +## Legger til menypunkter +Du kan legge til et element om gangen eller du kan legge til flere menypunkter på et menypunkt. + +### Legger til et menypunkt +For å legge til et enkelt menypunkt, +* klikk på `Legg til menyelement` knappen +* Fyll inn nødvendig informasjon og trykk `Lagre` + +### Legger til flere elementer +For å legge til flere menyelementer samtidig. +* Klikk på pilikonet nede ved siden av `Legg til menyelement` +* Du kan manuelt legge til elementer ved å plassere en ny linje ved å bruke fanetegnslister eller ved å plassere hver gjenstand på en ny linje +* Du kan klikke på et av valgene nederst i tekstområdet for å automatisk fylle ut i menyelementene + +## Omorganiser menyelementer +Du kan dra og slippe menyelementene opp/ned for å angi visningsrekkefølgen, eller dra dem til venstre/høyre for å angi ønsket hierarki. + +## Gjenopprette menyelementer +Hvis du finner at menyelementene ikke vises riktig, klikk på `Gjenoppbygg tre` -knappen for å gjenoppbygge menyelementene. diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md new file mode 100644 index 000000000000..c2f11d20d06c --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md @@ -0,0 +1,24 @@ +--- +title: Administrere menyer +sidebar_position: 1 +--- + +Du kan opprette menyer i ACP som du deretter kan vise ved hjelp av menyen, koblingsblokkene eller vises som en horisontal navnelinje. + +## Administrere menyer + +For å håndtere menyer, gå til ACP > Utvidelser > Selskaper > Meny + +### Oppretter menyer +For å opprette en ny meny (gruppe), klikk på `Legg til meny` knappen. En ny menygruppe vil bli opprettet med et tilfeldig generert navn. Den nye menyen vil også bli valgt, så du kan begynne å legge til menyelementer i den. + +### Redigerer menyer +Dersom du ønsker et mer meningsfylt menynavn, +* sveve over menynavnet og klikk på cog ikonet +* tast inn det nye menynavnet og trykk trykk på for å oppdatere det + +### Sletter menyer +Du kan slette en meny med gjenstander, +* Overgang menynavnet og klikk på **x** ikonet +* Hvis menyelementet ikke har noen underelementer, må du bekrefte valget for å slette elementet +* Om menyoppføringen har underelementer, du må indikere hvis du bare ønsker å slette elementet og flytte barna oppover, eller hvis du vil slette hele grenen diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/user/site/_category_.json b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/site/_category_.json new file mode 100644 index 000000000000..b1d2ca1506dc --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/site/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Bygger din side", + "position": 3 +} diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md new file mode 100644 index 000000000000..f566cb5ef615 --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md @@ -0,0 +1,46 @@ +--- +title: Blokker Arv +sidebar_position: 5 +--- + +Vi har allerede sett at ved å sette et standardoppsett, andre sider som ikke har egne blokker vil arve blokkene fra standardoppsettet. Det finnes imidlertid en annen form for arv. + +## Foreldre/Underordnede ruter +I phpBB SiteMaker snakker vi om nestede ruter i form av ekte nested (sub) kataloger eller tilnærmet nested paths/routes. Bli med meg :). +* Virkelige foreldre/barn-veier: For eksempel er stien /some_directory/sub_directory/index.php et barn av /some_directory/index.php +* Virtuelle foreldre/barn-veier: For eksempel behandles viewtopic.php som barn i viewforum.php. + +Her er noen eksempler på foreldre/barn-veier: + +| Forelder | Barn | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/artikler | /app.php/articles/my-article | + +## Foreldre/Barn blokkerer Inheritance +For foreldre/barn-veier, barnetruten arver blokker av overordnet rute (hvis overordnet har egne blokker) eller fra standardoppsettet (hvis den er angitt). Med andre ord, selv om det er standardutforming, Barneveien vil arve blokker fra overordnet rute dersom overordnet rute har egne blokker. Men ikke alle blokker av morsveien skal arves. + +## Styring av blokker arving +På et blokknivå kan du kontrollere når en blokk kan arves av underordnede ruter. Vi berørte dette tidligere i [Redigeringsblokkinnstillinger](/docs/user/blocks/managing-blocks#editing-block-settings). + +Ta i betraktning følgende virkelige mappestruktur: +```text +phpBB +LaborLabor″index.php +iNatur″εεεεε″Movies/ + AtriAtriindex.php + ephal″Side page.php + 1993-¦ Comedy/ + ¤ index.php +``` + +I forbindelse med arving av blokker, sier vi: +* Overordnet rute i /phpBB/Movies/Comedy/index.php er /phpBB/Movies/index.php og ikke /phpBB/Movies/page.php +* Alle sider i en underkatalog relativ til /phpBB/index.php er en underrute i /phpBB/index.php. Så /phpBB/Movies/index.php og /phpBB/Movies/page.php er alle barn på /phpBB/index.php og vil derfor arve blokker dersom de ikke har blokker av sine egen. I dette tilfellet: + * Når en blokk på /phpBB/index.php er satt til å vise på **Skjul på underordnede ruter**, vil blokken vises på /phpBB/index. hp (overordnet rute) men ikke på underveiene + * Når en blokk på /phpBB/index.php er satt til å vise på **Vis bare på underordnede ruter**, vil den vises på /phpBB/Movies/index. hp and /phpBB/Movies/page.php (barn-ruter) men ikke i /phpBB/index.php (foreldr), eller /phpBBBB/Movies/Comedy/index.php (vi går bare et nivå dypt) + * Når en blokk på /phpBB/index.php er satt til å vise **alltid** (standard), vil den vises på /phpBB/index. hp (foreldr), /phpBB/Movies/index.php og /phpBB/page.php (barn-ruter) men ikke på /phpBB/Movies/Comedy/index.php (vi går bare et nivå dyp). I dette tilfellet, /phpBB/Movies/Comedy/index.php vil arve fra standard rute (hvis den eksisterer) + +## Tillatt status over fremtid +Jeg har stor interesse av deres tilbakemeldinger på dette feltet. De fleste phpBB brukere vil ikke ha ekte mapper som beskrevet ovenfor. Så jeg tenker på å bruke strukturen som er definert i en menyblokk som en virtuell mappestruktur, og bruke denne forelderen/barnet arv på den. Jeg vurderer også å gå videre utover ett nivå dypt. Vennligst gi meg beskjed om dette vil være nyttig for deg. \ No newline at end of file diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md new file mode 100644 index 000000000000..534149c620c1 --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md @@ -0,0 +1,6 @@ +--- +title: Tilpasse visning av blokker +sidebar_position: 6 +--- + +Jobb pågår... \ No newline at end of file diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/user/site/default-layout.md b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/site/default-layout.md new file mode 100644 index 000000000000..b4a6c9aca3b3 --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/site/default-layout.md @@ -0,0 +1,21 @@ +--- +title: Angi en standard oppsett +sidebar_position: 4 +--- + +Når du legger til en blokk, er den lagt til den bestemte siden. Det vil derfor være en kjedelig oppgave å sette blokker for alle sidene på ditt nettsted. Du kan angi alle ønskede blokker for en bestemt side, og deretter angi denne siden som standardoppsett. Med andre ord vil hvilken som helst side som ikke har sine egne blokker arve blokker fra denne siden. + +Hvis du vil angi et standardoppsett +* Gå til siden du ønsker å sette som standardoppsett +* Klikk på `Innstillinger` i admin-linjen +* Klikk på `Sett som standard oppsett` -knappen + +Si vi legger til blokker til en side (phpBB/index.php) med blokker i sidepanelet og de øverste posisjonene, for eksempel, og sett den som standard oppsett. Dette har følgende effekter for andre sider: +* Hvilken som helst side ikke har egne blokker, vil arve blokkene fra standardoppsettet. Se [Understå blokkarving](/docs/user/site/block-inheritance) for unntak. +* Du kan fremdeles arve blokker fra et standardoppsett (index. hp) men velg å ikke vise blokker på enkelte blokkposisjoner, eller ikke vise noen blokker i det hele tatt. To do this + * Gå til siden du ikke vil at alle / noen blokker skal vises + * Klikk på `Innstillinger` i admin-linjen + * Velg `Ikke vis blokker på denne siden` hvis du ikke vil arve/vise noen blokker på denne siden ELLER + * Bruk CTRL + klikk for å velge blokkposisjonene (til høyre) som du ikke vil vise blokker på +* I `redigeringsmodus`kan en side som arver blokker fra standardoppsettet. vil ikke vise noen blokker, noe som gir deg muligheten til å legge til blokker til siden om du ønsker å +* Enhver side som har egne blokker vil ikke arve fra standardoppsettet diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/user/site/layouts.md b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/site/layouts.md new file mode 100644 index 000000000000..2f7ec8b13cfb --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/site/layouts.md @@ -0,0 +1,31 @@ +--- +title: Oppsett +sidebar_position: 1 +--- + +«Oppsett» bestemmer de tilgjengelige blokkposisjonene og hvordan de vises. + +## Blokker posisjoner +Blokkposisjonene er forhåndsdefinerte områder på nettstedet ditt der det finnes blokker De tilgjengelige blokkposisjonene bestemmes av malens stil du bruker. For prosilver følger phpBB SiteMaker med følgende blokkposisjoner: +* full bredde på tvers av toppsiden +* sidelinje: venstre/høyre, avhengig av oppsettet nedenfor +* underinnhold: lik sidepanelet bare større +* topp_hest: horisontale blokker over toppen, flankene over sidestolpen/delinnhold avhengig av oppsettet +* topp: over hovedinnhold +* boks: lik bredde, horisontale blokker under hovedinnhold +* bunn: under hovedinnhold +* bunn_hest: horisontale blokker over bunnen, flankere sidelinjen/delinnhold avhengig av oppsettet +* bunntekst: horisontale blokker i bunnteksten Du kan legge til flere blokkposisjoner i dine egne stilmaler ved å kopiere og endre de tilsvarende phpBB SiteMaker malene + +## Side Oppsett +You can choose the layout for your site in ACP (Extensions > Sitemaker > Settings): +* **Blog**: underinnhold og sidestolpe ved siden av hverandre, dyttet til høyre, topp_hor/botom_hor flanke delinnhold +* **Den Hellige Grå**: lik bredde sidestolpe og underinnhold på motsatte sider, tover/hor/botom_hor flank subinnhold +* **Portal**: sidepanel til venstre, underinnhold til høyre, topp_hor/botom_hor flank underinnhold +* **Portal ALT**: underinnhold til venstre, sidepanelet til høyre, top_hor/botom_hor flank sidestolpe +* **Egendefinert**: Angi sidestolpebredden som px, %, em eller rem. Standardverdi for 200 px på hver side + +## Egendefinerte maler/stiler +Så mye som mulig Vi forsøkte å legge til designmalfiler og filer i stiler/alle/mappe slik at du kan overskrive dem ved å opprette en fil med samme navn under ditt eget maltema . . proselver. Hvis du ønsker å endre hvordan et bestemt blokkskjermer, eller hvis du vil lage ditt eget oppsett med dine egne blokkposisjoner, du trenger bare å opprette en fil med samme navn og sti som originalen i din egen stil. + +Hvis du trenger å tilpasse CSS/JS-filer, ta en titt på [tema](/docs/dev/theming) delen. \ No newline at end of file diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/user/site/navbar.md b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/site/navbar.md new file mode 100644 index 000000000000..a6c7ace21327 --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/site/navbar.md @@ -0,0 +1,6 @@ +--- +title: Navigasjonsfelt (Automatic Translation) +sidebar_position: 2 +--- + +Se [Viser menyer](/docs/user/menus/displaying-menus#navigation-bar) diff --git a/website/i18n/nb/docusaurus-plugin-content-docs/current/user/site/startpage.md b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/site/startpage.md new file mode 100644 index 000000000000..6517bea7fdd9 --- /dev/null +++ b/website/i18n/nb/docusaurus-plugin-content-docs/current/user/site/startpage.md @@ -0,0 +1,11 @@ +--- +title: Angi en startside +sidebar_position: 3 +--- + +phpBB SiteMaker tillater deg å velge hvilken som helst frontkontroller(sider som er akset via app.php/... som din standard startside (siden som blir vist når noen besøker siden din) i stedet for tavleindeks. + +Å gjøre dette: +* Gå til siden du ønsker å sette som standard startside +* Klikk på `Innstillinger` i adminfeltet. Hvis den er en kvalifisert side, vil du se en `Sett som startside` knapp +* Klikk på `Sett som startside` knappen \ No newline at end of file diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/contrib/_category_.json b/website/i18n/nl/docusaurus-plugin-content-docs/current/contrib/_category_.json new file mode 100644 index 000000000000..c2374d35f589 --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/contrib/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Meedoen", + "position": 4 +} diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/contrib/overview.md b/website/i18n/nl/docusaurus-plugin-content-docs/current/contrib/overview.md new file mode 100644 index 000000000000..4f2fe0f29f06 --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/contrib/overview.md @@ -0,0 +1,11 @@ +--- +title: Doe mee +sidebar_position: 1 +--- + +phpBB SiteMaker is een open source project en verwelkomt uw ideeën en bijdragen. Dus voel je vrij om in te grijpen. U kunt aan dit project bijdragen door: + +* [Ondersteuning/Feedback verstrekken](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Fouten rapporteren](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Helpen met vertaling](./translators.md) +* [Bugs oplossen of functies toevoegen](./pull-requests.md) diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/contrib/pull-requests.md b/website/i18n/nl/docusaurus-plugin-content-docs/current/contrib/pull-requests.md new file mode 100644 index 000000000000..5b126b585802 --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/contrib/pull-requests.md @@ -0,0 +1,65 @@ +--- +title: Een pull-aanvraag indienen +sidebar_label: Pull Requests +--- + +`Pull requests laten je anderen vertellen over wijzigingen die je naar een branch in een repository op GitHub hebt gepusht. Zodra een pull-aanvraag is geopend, je kan de potentiële wijzigingen bespreken en bekijken met medewerkers en follow-up commits toevoegen voordat je wijzigingen worden samengevoegd in de basis branch.` [Lees meer](https://help.github.com/articles/about-pull-requests/) + +## Toon/Klonen + +* Maak een github account aan als je er nog geen hebt +* Ga naar https://github.com/blitze/phpBB-ext-sitemaker.git en klik op "Fork" + +Kopieer uw vork van de repository: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Van opdrachtregel ga naar sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + +**Git configureren:** + +Voeg uw gebruikersnaam toe aan uw systeem: + + git config --global user.name "Your Name Here" + +Voeg uw e-mailadres toe aan Git op uw systeem: + + git configuratie --voeg user.email username@phpbb.com toe + +Voeg de afstandsbediening stroomopwaarts toe (je kunt ‘upstream’ veranderen naar wat je wilt): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + +**Leveranciers installeren** + + installatie van componist + +**Installeer NPM pakketten** + + npm install + +U kunt ook [yarn](https://yarnpkg.com) gebruiken: + + yarn installatie + +## Pull Requests + + # Maak een nieuw filiaal aan voor uw functie & schakel er naar toe + git checkout -b functie/my-fancy-new-feature + + # maak een nieuwe branch aan voor het issue waaraan u werkt * wissel (ticket # is van github tracker) + git checkout -b ticket/1234 + +Maak uw wijzigingen + + # Fase de bestanden + git add + + # Commit staged bestanden - gebruik een juist commit bericht + git commit -m "my commit message" + +Duw de branch terug naar GitHub git push origin functie/mijn-fancy-new-functie + +Verstuur een [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/contrib/translators.md b/website/i18n/nl/docusaurus-plugin-content-docs/current/contrib/translators.md new file mode 100644 index 000000000000..b3b93dd60884 --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/contrib/translators.md @@ -0,0 +1,17 @@ +--- +title: Vertalers +sidebar_position: 2 +--- + +We hebben hulp nodig bij het vertalen van deze extensie en de documentatie ervan. We hebben een project aangemaakt op Crowdin om de vertalingen te vergemakkelijken. Crowdin geeft u een vertaalinterface die geen seconde telt. U kunt bijdragen zoals u wilt, maar we raden het gebruik van Crowdin echt aan. + +> Crowdin is een platform voor lokalisatiebeheer dat bedrijven helpt hun software te vertalen. U kunt meer lezen over Crowdin [hier](https://support.crowdin.com/crowdin-intro/) + +Als u bereid bent bij te dragen met vertalingen, moet u: + +* Een [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) account. +* Kies de taal van het doel als er anders een verzoek bestaat om te worden ingeschakeld. + +Als je gewenste taal niet wordt vermeld, [neem dan contact met me op](https://crowdin.com/profile/blitze) en ik zal het toevoegen. + +[Begin met vertalen](https://crowdin.com/project/phpbb-ext-sitemaker) diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/dev/_category_.json b/website/i18n/nl/docusaurus-plugin-content-docs/current/dev/_category_.json new file mode 100644 index 000000000000..86ef4fef8c88 --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/dev/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Ontwikkelaars gids", + "position": 3 +} diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/dev/events.md b/website/i18n/nl/docusaurus-plugin-content-docs/current/dev/events.md new file mode 100644 index 000000000000..7a3937eeedb6 --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/dev/events.md @@ -0,0 +1,120 @@ +--- +title: phpBB SiteMaker Gebeurtenissen +sidebar_position: 2 +--- + +Je kunt het gedrag van phpBB SiteMaker aanpassen met behulp van phpBB's event systeem. + +## PHP gebeurtenissen + +### blitze.sitemaker.acp_add_bulk_menu_options + +- Locatie: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Sinds: 3.1.0 +- Doel: Voeg bulk menu opties toe in acp menu + +### blitze.sitemaker.acp_display_settings_form + +- Locatie: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Sinds: 3.1.0 +- Purpose: acp (sitemaker) instellingen formulier + +### blitze.sitemaker.acp_save_settings + +- Locatie: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Sinds: 3.1.0 +- Doel: acp (sitemaker) instellingen opslaan + +### blitze.sitemaker.admin_bar.set_assets + +- Locatie: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Sinds: 3.0.1-RC1 +- Doel: Voeg assets toe voor beschikbare blokken in bewerkingsmodus + +### blitze.sitemaker.modify_block_positions + +- Locatie: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Sinds: 3.0.1-RC1 +- Doel: Wijzig blokposities + +### blitze.sitemaker.modify_rendered_blok + +- Locatie: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Sinds: 3.0.1-RC1 +- Doel: Wijzig een weergegeven blok + +## Sjabloon gebeurtenissen + +### blitze_sitemaker_acp_instellingen + +- Locatie: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Sinds: 3.1.0 +- Doel: Formuliervelden toevoegen voor sitemakerinstellingen + +### blitze_sitemaker_admin_append + +- Locatie: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Sinds: 3.1.0 +- Doel: menu-items toevoegen aan de beheerbalk + +### blitze_sitemaker_admin_sjablonen + +- Locatie: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Sinds: 3.1.0 +- Doel: sjabloonbestanden toevoegen die worden gebruikt in JS voor blokweergaven, enz + +## Javascript gebeurtenissen + +### blitze_sitemaker_layout_opgeslagen + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Sinds: 3.1.2 +- Doel: Event om andere extensies iets te laten doen wanneer de lay-out verandert + +### blitze_sitemaker_render_block_vóór + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Sinds: 3.1.2 +- Doel: Event toestaan om iets te doen voordat het blok wordt weergegeven of voorkomen dat het opnieuw wordt weergegeven + +### blitze_sitemaker_render_block_na + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Sinds: 3.1.2 +- Doel: Event toestaan om iets te doen nadat het blok is weergegeven + +### blitze_sitemaker_save_block_voor + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Sinds: 3.1.2 +- Doel: Event toestaan om blokgegevens te wijzigen voordat het wordt opgeslagen + +### blitze_sitemaker_show_all_block_positions + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/components/Positions.js +- Sinds: 3.1.2 +- Doel: Event om andere extensies toe te staan iets te doen wanneer alle blokposities worden getoond + +### blitze_sitemaker_hide_empty_block_positions + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/components/Positions.js +- Sinds: 3.1.2 +- Doel: Event toestaan om andere extensies iets te laten doen wanneer lege posities worden verborgen + +### blitze_sitemaker_layout_gewist + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/components/Positions.js +- Sinds: 3.1.2 +- Doel: Event om andere extensies iets te laten doen wanneer de lay-out is gewist + +### blitze_sitemaker_layout_geüpdatet + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/components/Positions.js +- Sinds: 3.1.2 +- Doel: Gebeurtenis toestaan dat andere extensies iets doen wanneer de lay-out wordt bijgewerkt + +### blitze_sitemaker_tinymce_opties + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Sinds: 3.0 +- Doel: Gebeurtenis toestaan dat andere extensies tinymce opties wijzigen diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/dev/overview.md b/website/i18n/nl/docusaurus-plugin-content-docs/current/dev/overview.md new file mode 100644 index 000000000000..a0c166177715 --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/dev/overview.md @@ -0,0 +1,179 @@ +--- +title: Uitbreiding phpBB SiteMaker +sidebar_position: 1 +--- + +U kunt phpBB SiteMaker uitbreiden/wijzigen met behulp van [service vervanging](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [service decoration](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), en [phpBB's event systeem](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Je vindt een lijst van ondersteunde gebeurtenissen [hier](./events.md). + +## SiteMaker blok maken + +Een phpBB SiteMaker blok is gewoon een klasse die de blitze\sitemaker\services\blocks\driver\block klasse uitbreidt en een array geeft van de "weergave" methode met een 'titel' en 'inhoud'. Al het andere onderling hangt van u af. Om je blok via phpBB SiteMaker te laten ontdekken, moet je hem de tag "sitemaker.block" geven. + +Zeg dat we een extensie hebben met verkoper/extensie als mij/voorbeeld. Om een blok te maken genaamd "my_block" voor phpBB SiteMaker: + +- Maak een map "blokken" +- Maak my_block.php bestand aan in de blokken map met de volgende inhoud + +```php +namespace my\example\blocks; + +gebruik blitze\sitemaker\services\blocks\driver\block; + +class my_block breidt blok +{ + /** + * {@inheritdoc} + */ + openbare functie display(array $settings, $edit_mode = onwaar) + { + return array( + 'title' => 'mijn blok titel', + 'inhoud' => 'mijn blokinhoud', + ); + } +} +``` + +Voeg dan in uw config.yml bestand het volgende toe: + +```yml +Diensten: + +... + + my.example.block.my_block: + class: mijn\blocks\blocks\my_block + roept: + - [set_name, [my.example.block.my_block]] + tags: + - { name: sitemaker.block } + +.... + +``` + +Op een absoluut minimum niveau is alles wat je nodig hebt. Als je in de bewerkingsmodus gaat, zie je het blok opgesomd als 'MY_EXAMPLE_BLOCK_MY_BLOCK' dat kan worden gesleept en geplaatst op elke block positie. Maar dit blok doet niets spannends. Het heeft geen instellingen en vertaalt de naam van het blok niet. Laten we het interessanter maken. + +### Blok instellingen + +Laten we ons blokken/my_block aanpassen. hp bestand en voeg een "get_config" methode toe op een array waarvan de sleutels de blok-instellingen zijn en de waarden een array zijn die de instellingen als volgt beschrijven: + +```php + /** + * @inheritdoc + */ + openbare functie get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + retourarray( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'standaard' => array(), 'verklaren' => false), + 'ja' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'leg uit' => false, 'standaard' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => onwaar, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'standaard' => '', 'uitleggen' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'opties' => $options, 'standaard' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'toelichten' => false, 'standaard' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'toelichten' => waar, 'standaard' => ''), + 'schakellable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'standaard' => '', 'append' => '
Toon alleen wanneer optie 1 is geselecteerd
'), + ); +} +``` + +Dit is dezelfde manier waarop phpBB de configuratie voor boardinstellingen in ACP opbouwt. Je kunt meer voorbeelden [hier](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php) zien. + +Als je een aangepast veld type wilt, kan je een voorbeeld [hier](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' instelling zien). + +Let op 'legend1' en 'legend2': Deze worden gebruikt om instellingen te scheiden in tabbladen. + +### Naamgeving Blokken + +De conventie voor bloknamen is dat de servicenaam (bijv. mijn.example.blok. y*blok hierboven) zal worden gebruikt als de taalsleutel door de stippen (.) te vervangen door de underscore (*) (e.g MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Vertaling + +Merk ook op dat we meerdere taalsleutels hebben die moeten worden vertaald. Maak hiervoor een bestand aan met de naam "blocks_admin.php" in je taalmap. Dit bestand wordt automatisch geladen bij het bewerken van blokken, en moet vertalingen hebben voor uw blokinstellingen en bloknamen. + +``` +$lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Optie 1', + 'OTHER_LANG_VAR' => 'Optie 2', + 'SOME_LANG_VAR_1' => 'Instelling 1', +.... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Mijn blok', +); +``` + +Omdat 'blocks_admin.php' alleen geladen is bij het bewerken van blokken, moet je andere vertalingen toevoegen (bijv. blok titel) door het laden van een taalbestand in je weergavemethode zoals `$language->add_lang('my_lang_file', 'my/example');` + +### Blok renderen + +Het nieuwe blok wordt alleen weergegeven als het iets weergeeft. Je blok kan tekenreeksen als inhoud teruggeven, maar in de meeste gevallen heb je een sjabloon nodig om de inhoud te renderen. Om je blok te tonen met behulp van sjablonen, het blok moet een array retourneren dat de gegevens die je wilt doorgeven aan de template bevat en moet ook de `get_template` methode implementeren, zoals hieronder getoond: + +```php + /** + * @inheritdoc + */ + openbare functie get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + retourarray( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'standaard' => array(), 'verklaren' => false), + ); + } + + /** + * {@inheritdoc} + */ + openbare functie get_template() + { + return '@my_example/my_blok. tml'; + } + + /** + * {@inheritdoc} + */ + openbare functie weergave (array $data, $edit_mode = false) + { + als ($edit_mode) + { + // doe iets alleen in bewerkingsmodus + } + + retourarray( + 'title' => 'MY_BLOCK_TITLE', + 'gegevens' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Dan zou je stijl/alle/my_block.html of styles/prosilver/my_block.html bestand er ongeveer zo uit kunnen zien: + +``` +

Je hebt geselecteerd: {{ some_var }}

+``` + +Samenvattend je blok moet een array retourneren met een `titel` sleutel (voor de bloktitel) en een `content` toets (als het blok gewoon een string weergeeft en geen sjabloon gebruikt) of `data` sleutel (als het blok een template gebruikt, in dat geval moet u ook de `get_template` methode implementeren. + +### Blokkeer Activa + +Als je blok content (css/js) aan de pagina moet toevoegen, raad ik aan om de sitemaker [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) daarvoor te gebruiken. Omdat er meer dan één exemplaar van hetzelfde blok op de pagina kan zijn of andere blokken kunnen hetzelfde materiaal toevoegen, de util klasse zorgt ervoor dat de activa alleen toegevoegde zijn. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some. s', + 100 => '@my_example/assets/other. s', // stel prioriteit + in ), + 'css' => array( + '@my_example/assets/some. ss', + ) +)); +``` + +De util class zal natuurlijk moeten worden toegevoegd aan uw servicedefinities in config.yml zoals so: `- '@blitze.sitemaker. tot'` en gedefinieerd in de constructor van uw blok `\blitze\sitemaker\services\util $util`. + +En dat is het. We zijn klaar! diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/dev/theming.md b/website/i18n/nl/docusaurus-plugin-content-docs/current/dev/theming.md new file mode 100644 index 000000000000..9c29aa940118 --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/dev/theming.md @@ -0,0 +1,62 @@ +--- +title: Thematisering +sidebar_position: 3 +--- + +We begrijpen dat de sjabloonbestanden en de JS/CSS-bestanden niet voor elke stijl zullen werken, dus hieronder vind je een aantal manieren om je eigen templates te gebruiken en JS/CSS-bestanden te maken voor je specifieke stijl. + +## Gebruik van uw eigen template + +Als de standaard templates met phpBB Sitemaker niet goed werken voor uw specifieke stijl, U kunt het eenvoudig overschrijven om gebruik te maken van uw eigen sjabloonbestand door het bijbehorende bestand aan te maken in de map van uw stijl. + +Bijvoorbeeld zegt dat je stijl `Backlash` wordt genoemd en het heeft een bepaalde manier waarop de HTML voor de blok header sectie moet worden gestructureerd voor de [boxed weergave](/docs/user/blocks/block-views). U kunt dit sjabloon overschrijven door een bestand aan te maken met dezelfde naam als bij: `phpBB/ext/sitemaker/styles/Backlash/template/views/boxed_view.twig`. + +Met andere woorden, om uw eigen sjabloonbestand te gebruiken, moet u: +* Identificeren welke phpBB Sitemaker bestand moet worden overschreven +* Maak een bestand met dezelfde naam in de Sitemaker `styles` map onder uw style name + +> Opmerking: Als u uw eigen sjabloonbestanden aanmaakt, zorg ervoor dat u de map `phpbb/ext/blitze/sitemaker` niet verwijdert bij het bijwerken van de extensie, omdat uw aangepaste bestanden zullen worden verwijderd. Veeleer overschrijft u de bestaande bestanden met de nieuwe. + +## JS/CSS-bestanden voor uw stijl maken + +Opmerking: +* Voor de onderstaande instructies gaan we ervan uit dat je een stijl hebt met de naam mijn-stijl. + +Kloon in phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Van opdrachtregel ga naar sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + +**Leveranciers installeren** + + installatie van componist + +**Installeer pakketten** + +Voor onderstaande commando's kan je npm of [yarn](https://yarnpkg.com) gebruiken + + yarn installatie + +**Wijzigingen bekijken** + + yarn start --thema mijn-stijl + +**Wijzigingen aanbrengen** + +* Verander uw wijzigingen in de bestanden in de phpBB/ext/blitze/sitemaker/develop map. +* Kijk naar phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss voor sass variabelen + +**Bouw Activa** + + yarn build --thema mijn-stijl + +**Implementeren** + +U kunt nu de gegenereerde bestanden kopiëren van phpBB/ext/blitze/sitemaker/styles/mijn-stijl en ze uploaden naar uw productieserver. + +> Deze extensie maakt gebruik van jQuery UI voor tabs, dialogen en knoppen. Het standaard jQuery thema is 'gladheid'. U kunt een ander jQuery UI thema gebruiken dat het beste bij uw thema past. U kunt het jQuery UI thema specificeren met behulp van de vlag --jq_ui_thema. Bijvoorbeeld: + + yarn build --theme mijn-stijl --jq_ui_theme ui-lightness diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/intro/_category_.json b/website/i18n/nl/docusaurus-plugin-content-docs/current/intro/_category_.json new file mode 100644 index 000000000000..f3c86dd42424 --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/intro/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Aan de slag", + "position": 1 +} diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/intro/installation.md b/website/i18n/nl/docusaurus-plugin-content-docs/current/intro/installation.md new file mode 100644 index 000000000000..56f743bf001e --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/intro/installation.md @@ -0,0 +1,16 @@ +--- +title: "Installeren / upgraden" +sidebar_position: 2 +--- + +Download de extensie van [hier](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker +* Pak het uit en upload het naar uw phpBB/ext/ map zodat u phpBB/ext/blitze/sitemaker heeft +* Ga naar "ACP" > "Aanpassen" > "Extensies" en schakel de "phpBB Sitemaker" extensie in. + +## Upgraden van phpBB SiteMaker +* Maak een reservekopie van uw database voor het geval er iets misgaat +* Ga naar "ACP" > "Aanpassen" > "Extensies" en schakel "phpBB Sitemaker" uit +* Download en pak de laatste versie van phpBB SiteMaker en upload deze naar uw phpBB/ext/ map (overschrijven) +* Ga naar "ACP" > "Aanpassen" > "Extensies" en schakel de "phpBB Sitemaker" extensie in. diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/intro/introduction.md b/website/i18n/nl/docusaurus-plugin-content-docs/current/intro/introduction.md new file mode 100644 index 000000000000..bee24f6e26cf --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/intro/introduction.md @@ -0,0 +1,6 @@ +--- +title: Introductie +sidebar_position: 1 +--- + +phpBB SiteMaker probeert uw phpBB board te veranderen in een CMS/portal. Het doet dit door je te voorzien van blokken en menu's om je site naar je zin aan te passen. Er zijn of zullen andere SiteMaker extensies zijn die extra functionaliteit bieden om dit doel te bereiken. Het geeft je ook de mogelijkheid om een landingspagina te definiëren wanneer je je site benadert. Dus als u niet wilt dat bezoekers naar uw site gaan om onmiddellijk het phpBB forum te zien wanneer ze naar www gaan. onzesite.com, u kunt uw eigen startpagina definiëren. diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/user/_category_.json b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/_category_.json new file mode 100644 index 000000000000..7b1634931d46 --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Gebruikers gids", + "position": 2 +} diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/user/blocks/_category_.json b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/blocks/_category_.json new file mode 100644 index 000000000000..07e8472edffd --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/blocks/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Blokken", + "position": 1 +} diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/user/blocks/block-views.md b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/blocks/block-views.md new file mode 100644 index 000000000000..2ab199943368 --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/blocks/block-views.md @@ -0,0 +1,6 @@ +--- +title: Blok weergaven +sidebar_position: 2 +--- + +Bezig met werken... \ No newline at end of file diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md new file mode 100644 index 000000000000..a26180f5c96b --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md @@ -0,0 +1,24 @@ +--- +title: Aangepaste blok +sidebar_position: 4 +--- + +Als de beschikbare blokken u niet de vrijheid geven die u nodig heeft. er is het `Custom Block` waarmee u de vrijheid krijgt om uw eigen inhoud weer te geven met BBcode of HTML. Het blok wordt geleverd met een WYSIWYG-editor (TinyMCE) en een scriptmanager: + +## De editor + +- Je kunt de editor gebruiken om HTML-inhoud te maken +- Je kunt de broncode bewerken als je dat besturingsniveau nodig hebt door te klikken op het pictogram `Broncode` (`<>`) in de editor +- Met de editor kunt u afbeeldingen uploaden en wijzigen + - Het maakt een nieuwe map aan in phpBB/images/sitemaker_uploads/ voor elke gebruiker die er toegang toe heeft + - U kunt alle gebruikersmappen bekijken/beheren +- De editor filtert alle potentieel gevaarlijke scripts zoals javascript, enz. Als je inhoud wilt toevoegen zoals google advertenties, wordt het javascript uitgefilterd, maar je kunt daar omheen door het volgende te doen: + - Voeg het aangepaste blok toe aan de gewenste locatie + - Bewerk het aangepaste blok, klik op het tabblad `HTML` en plak uw Javascript + +## De Scripts Manager + +Met het aangepaste blok kunt u ook aangepaste CSS-- en Javascript-bestanden aan uw pagina toevoegen. Om dit te doen: + +- Voeg een `Eigen blok` toe aan elke block positie. De positie maakt niet uit tenzij je ook inhoud met het blok weergeeft +- Pas het blok aan klik op het tabblad `Scripts` en voeg je CSS of Javascript bestanden toe > Wees voorzichtig: Toevoegen aan veel scripts op je pagina kan de laadtijden beïnvloeden diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md new file mode 100644 index 000000000000..802426a0dcde --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md @@ -0,0 +1,51 @@ +--- +title: Blokken beheren +sidebar_position: 3 +--- + +Om blokken in phpBB SiteMaker te beheren, moet je in [Wijzig modus](./overview#edit-mode). + +> Wanneer een blok geen inhoud weergeeft, wordt deze niet weergegeven, behalve in de bewerkingsmodus. Op die manier kunt u de inhoud geven (in het geval van het eigen blok) of de instellingen ervan wijzigen. + +> In bewerkingsmodus, de enigszins transparante blokken zijn blokken die anders niet worden weergegeven maar alleen worden weergegeven omdat we in bewerkingsmodus zijn + +## Blokken toevoegen +U kunt blokken toevoegen aan elke voorkant pagina, behalve het User Control Panel en Moderator Control Panel pagina's. Om een blok toe te voegen moet je: +* klik op **Blokken** in de beheerbalk. Dit zal een lijst met beschikbare blokken weergeven +* Slepen en neerzetten van het gewenste blok naar elke blok positie + +## Blokken bewerken +### Een blokpictogram toevoegen +Aan de linkerkant van de bloktitel (prozilver) is er een vak voor het blokpictogram. Klik op deze box om de icoon kiezer te krijgen. Je kunt de pictogramgrootte selecteren, kleur, float, rotatie, enz. + +### Wijzigt de bloktitel +phpBB SiteMaker blokken hebben een standaard, vertaalde titel, maar als de titel niet aan uw behoeften voldoet, kunt u het veranderen. Om de titel van het blok te bewerken +* Klik op de bloktitel om een inline wijzigingsformulier te krijgen +* Verander de titel naar wat je maar wilt +* Verwijder focus van het veld of druk op enter om wijzigingen in te dienen + +> De aangepaste bloktitel is niet vertaald + +> Om terug te keren naar de standaard titel, verwijder eenvoudig de titel en druk op enter + +### Blok instellingen bewerken +Wanneer je over een blok beweegt, verschijnt er een tandrad-icoontje rechts van het blok dat kan worden gebruikt om het blok te bewerken. In het block-dialoogvenster kunt u: +- Inschakelen/uitschakelen van een blok [Status] +- Kies wanneer het blok niet moet worden weergegeven/weergegeven [Display]. Dit geldt alleen in gevallen waar u geneste pagina's hebt (zie [Begrijp Blok Overerving](/docs/user/site/block-inheritance)): + - **Altijd**: Toon altijd het blok + - **Verberg bij subroutes**: Toon dit blok alleen op de bovenliggende route + - **Toon alleen bij onderliggende routes**: Toon dit blok alleen op een onderliggende route +- Kies welke groepen gebruikers het blok kunnen bekijken [Weergeven door]. Gebruik CTRL + klik om meerdere groepen te selecteren. +- Stel aangepaste klassen in om het uiterlijk van het blok of items te wijzigen (lijsten, afbeeldingen, achtergrond, enz.) binnen het blok [CSS Class] +- Toon/Verberg de bloktitel [Verberg bloktitel?] +- Selecteer de blok weergave [Blok weergave]. U kunt een standaard blokweergave selecteren wanneer nieuwe blokken worden toegevoegd aan ACP. + - **Standaard / Eenvoudig**: gebruik de klasse van het prozilveren paneel om het blok in een gewatteerde container te omhullen + - **Basis**: Blok heeft geen containerverpakking + - **Ingeschakeld**: gebruikt de prozilver forabg class om het blok in een doos te wikkelen +- Set / Update blok specifieke instellingen +- Als je hetzelfde blok met dezelfde instellingen over meerdere pagina's hebt, je kan ze allemaal tegelijk bijwerken door de **Update blokken met vergelijkbare instellingen** te controleren + +## Blokken verwijderen +- Beweeg over het blok dat u wilt verwijderen +- Klik op het pictogram **x** en bevestig dat je het blok wilt verwijderen +- Ga omhoog naar de admin balk en klik op `Wijzigingen opslaan` diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/user/blocks/overview.md b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/blocks/overview.md new file mode 100644 index 000000000000..5c13e006eaac --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/blocks/overview.md @@ -0,0 +1,9 @@ +--- +title: Wat zijn blokken? +sidebar_position: 1 +--- + +In het hart van phpBB SiteMaker is het concept van blokken. Blokken zijn kleine stukjes inhoud die je in verschillende vooraf gedefinieerde gebieden (blokkeer posities) op je site kunt plaatsen. De blokken hebben meestal instellingen die je kunt instellen of wijzigen om de inhoud die je wilt weergeven te verfijnen. De meeste blokken, maar niet alle, zullen database vragen stellen om de gewenste inhoud te krijgen. Laten we dus niet te gek worden :). Om blokken te beheren, moet je overschakelen op "wijzig modus". + +## Bewerk modus +Schakel over naar bewerken door te klikken op het potloodpictogram rechtsboven op je site. Dit toont de "Admin bar" met "Blokkeren" en "Instellingen" menu-items. Dit wordt aangeduid als "editmode”. diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/user/menus/_category_.json b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/menus/_category_.json new file mode 100644 index 000000000000..4259794d53ee --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/menus/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Menus", + "position": 2 +} diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md new file mode 100644 index 000000000000..edcfbff7465d --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md @@ -0,0 +1,15 @@ +--- +title: Menu's weergeven +sidebar_position: 3 +--- + +Nu je je menu's hebt gemaakt, kun je ze op verschillende manieren weergeven: + +## Links Blok +U kunt dit blok gebruiken om een platte of geneste lijst van menu-items weer te geven. Dit blok is niet bedoeld om te worden gebruikt voor navigatie, d.w.z. het zal geen huidige pagina of iets dergelijks tonen. Het is bedoeld voor een lijst van artikelen, met inbegrip van externe verbindingen. + +## Menukaarten blok +Dit blok is bedoeld voor sitenavigatie. Het doet enkele extra berekeningen om de huidige locatie te bepalen en is niet bedoeld om een zeer grote lijst te zijn. + +## Navigatie balk +Net als bij de Menu's Blok zal de navigatiebalk menu-items weergeven als een responsive dropdown menu bedoeld voor sitenavigatie. Je kunt dit inschakelen in ACS > Extensies > Sitemaker > Instellingen > Selecteer menu diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md new file mode 100644 index 000000000000..d0ddd3947e3b --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md @@ -0,0 +1,30 @@ +--- +title: Menu-items beheren +sidebar_position: 2 +--- + +Uw menu is nutteloos, tenzij het menu-items bevat. U kunt menu-items toevoegen die verwijzen naar lokale of externe bestanden. + +> De URL voor externe sites moet beginnen met http(s)://, ftp://, //, etc. + +> Je kan een delvider aanmaken door '-' als artikeltitel in te voeren + +## Menu-items toevoegen +U kunt menu-items één item per keer toevoegen, of u kunt meerdere menu-items aan één item toevoegen. + +### Enkelvoudige menu-items toevoegen +Om één menu-item toe te voegen, +* klik op de `Menu Item toevoegen` knop +* Vul de vereiste informatie in en klik op `Opslaan` + +### Meerdere items toevoegen +Om meerdere menu-items in één keer toe te voegen +* Klik op het pijltje naar beneden naast `Menu-item` +* Je kunt handmatig items toevoegen door elk item op een nieuwe regel te plaatsen en het tabteken nest items of +* U kunt klikken op een van de opgegeven opties onderaan het tekstvak om de menu-items automatisch in te vullen + +## De menu-items opnieuw sorteren +U kunt de menu-items omhoog/omlaag slepen om hun weergavevolgorde in te stellen, of slepen ze naar links/rechts om de gewenste hiërarchie in te stellen. + +## De menu-items opnieuw opbouwen +Als u vindt dat de menu-items niet correct worden weergegeven, klikt u op de knop `Tree` opnieuw opbouwen om de menu-items opnieuw op te bouwen. diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md new file mode 100644 index 000000000000..fc42fa9dabc2 --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md @@ -0,0 +1,24 @@ +--- +title: Menu's beheren +sidebar_position: 1 +--- + +Je kunt menu's maken in de ACS die je vervolgens kunt weergeven met behulp van de menu's of de links blokken of weergegeven als een horizontale navigatiebalk. + +## Menu's beheren + +Ga voor het beheren van menu's naar ACS > Extensies > Sitemaker > Menu + +### Menu's creëren +Om een nieuw menu (groep) te maken, klik je op de knop `Menu` toevoegen. Een nieuwe menu groep wordt gemaakt met een willekeurig gegenereerde naam. Het nieuwe menu wordt ook geselecteerd zodat u menu-items eraan kunt toevoegen. + +### Menu's bewerken +Als u een zinvollere menunaam wilt +* Beweeg over de menunaam en klik op het tandwielpictogram +* voer de nieuwe menu naam in en druk op enter om deze bij te werken + +### Menu's verwijderen +Om een menu en items te verwijderen, +* Beweeg over de menunaam en klik op het **x** pictogram +* Als het menu-item geen onderliggende items heeft, moet u uw keuze om het item te verwijderen bevestigen +* Als het menu-item onderliggende items heeft, u moet aangeven of u alleen het item wilt verwijderen en de kinderen naar boven wilt verplaatsen of dat u de hele branch wilt verwijderen diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/user/site/_category_.json b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/site/_category_.json new file mode 100644 index 000000000000..17a23d6b0750 --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/site/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Bouw uw site", + "position": 3 +} diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md new file mode 100644 index 000000000000..ae3f8ce16a53 --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md @@ -0,0 +1,48 @@ +--- +title: Blok erfenis +sidebar_position: 5 +--- + +We hebben dit al gezien door het instellen van een standaard lay-out, andere pagina's die geen eigen blokken hebben, erven de blokken van de standaard lay-out. Er is echter nog een ander soort blokkades. + +## Ouder/Kind Routes +In phpBB SiteMaker hebben we het over geneste routes in de vorm van echt geneste (sub) directories of vrijwel geneste paden/routes. Blijf bij mij :). +* Real Parent/Child routes: Bijvoorbeeld, het pad /some_directory/sub_directory/index.php is een kind van /some_directory/index.php +* Virtuele ouder/Kindroutes: Bijvoorbeeld, viewtopic.php wordt behandeld als een kind van viewforum.php. + +Hier zijn enkele voorbeelden van ouder/kinderroutes: + +| Bovenliggende | Kind | +| ------------------ | ------------------------------- | +| /index.php | /viewforum.php, //dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/artikelen | /app.php/articles/mijn-artikel | + +## Ouder/Kinderblok overerving +Voor ouder/onderliggende routes, de child route erft de blokken van de bovenliggende route (als de ouder zijn eigen blokken heeft) of van de standaard lay-out (als er één is ingesteld). Met andere woorden, zelfs als er een standaardweergave is, de kindroute erft blokken van zijn bovenliggende route als de bovenliggende route zijn eigen blokken heeft. Maar niet alle blokken van de bovenliggende route moeten worden geërfd. + +## Beheer Blok overerving +Op een blokniveau kun je controleren wanneer een blok kan worden overgenomen door kindroutes. We hebben dit eerder aangestipt in de [Instellingen voor bewerken blok](/docs/user/blocks/managing-blocks#editing-block-settings). + +Zie de volgende echte directory structuur: +```text +phpBB +taxes, taxes, index.php +½ ½ Movies/ + ########ies/ + Ο±index index.php + CE CE CE page.php + CE CE leading page.php + taxes, Comedy/ + enquete/6 index.php +``` + +Om blokken te erven zeggen we: +* De bovenliggende route van /phpBB/Movies/Comedy/index.php is /phpBB/Movies/index.php en niet /phpBB/Movies/page.php +* Alle pagina's in een submap relatief aan /phpBB/index.php is een kindroute van /phpBB/index.php. Dus /phpBB/Movies/index.php en /phpBB/Movies/page.php zijn alle kinderen van /phpBB/index.php en zullen hun blokken erven als ze geen eigen blokken hebben. In dit geval: + * Wanneer een blok op /phpBB/index.php is ingesteld op **Verberg op onderliggende routes**, wordt het blok weergegeven op /phpBB/index. hp (bovenliggende route) maar niet op onderliggende routes + * Wanneer een blok op /phpBB/index.php is ingesteld op **Toon alleen op onderliggende routes**, wordt het getoond op /phpBB/Movies/index. hp and /phpBB/Movies/page.php (child routes) maar niet op /phpBB/index.php (parent), noch /phpBB/Movies/Comedy/index.php (we gaan slechts één niveau diep ) + * Wanneer een blok op /phpBB/index.php is ingesteld om **altijd** (standaard) weer te geven, wordt het getoond op /phpBB/index. hp (parent), /phpBB/Movies/index.php en /phpBB/page.php (child routes) maar niet op /phpBB/Movies/Comedy/index.php (we gaan slechts één niveau diep). In dit geval zullen /phpBB/Movies/Comedy/index.php van de standaardroute erven (als deze bestaat) + +## Positieve toekomstige staat +Ik ben echt geïnteresseerd in jouw feedback op dit gebied. De meeste phpBB-gebruikers zullen geen echte mappen hebben zoals hierboven beschreven. Dus denk aan het gebruik van de structuur die in een menublok is gedefinieerd als een virtuele mapstructuur en het toepassen van deze ouder/kind erfenis. Ik overweeg ook om verder te gaan dan één niveau diep. Laat me weten of dit nuttig voor jou zal zijn. \ No newline at end of file diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md new file mode 100644 index 000000000000..764640ff355f --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md @@ -0,0 +1,6 @@ +--- +title: Blokken weergave aanpassen +sidebar_position: 6 +--- + +Bezig met werken... \ No newline at end of file diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/user/site/default-layout.md b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/site/default-layout.md new file mode 100644 index 000000000000..fbd49ef8005a --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/site/default-layout.md @@ -0,0 +1,21 @@ +--- +title: Instellen van een standaard lay-out +sidebar_position: 4 +--- + +Wanneer je een blok toevoegt, wordt deze toegevoegd aan die specifieke pagina. Het zou daarom een vervelende taak zijn om blokken in te stellen voor alle pagina's op je site. Je kunt alle gewenste blokken voor een bepaalde pagina instellen en die pagina dan als standaard lay-out instellen. In andere woorden, elke pagina die geen eigen blokken heeft, zal deze pagina blokkeren. + +Om een standaard lay-out in te stellen +* Ga naar de pagina die u wilt instellen als standaard layout +* Klik op `Instellingen` in de admin balk +* Klik op de `Set as default layout` button + +Zeg dat we blokken toevoegen aan een pagina (phpBB/index.php) met blokken in bijvoorbeeld de sidebar en top posities, en stel het in als onze standaard lay-out. Dit heeft de volgende effecten voor andere pagina's: +* Elke pagina die geen eigen blokken heeft, erft de blokken van de standaard lay-out. Zie [Blok Overerving](/docs/user/site/block-inheritance) voor uitzonderingen. +* Je kan nog steeds blokken erven van een standaard lay-out (index. hp) maar kies ervoor om geen blokken op sommige blok posities weer te geven of helemaal geen blokken weer te geven. Om dit te doen + * Ga naar de pagina waarvan je niet wilt dat alle/sommige blokken worden weergegeven + * Klik op `Instellingen` in de admin balk + * Selecteer `Laat geen blokken op deze pagina` zien als je geen blokken op deze pagina wilt overnemen of weergeven + * Gebruik CTRL + klik om de blokposities te selecteren (aan de rechterkant) waar je geen blokken op wilt weergeven +* In `bewerkingsmodus`, een pagina die blokken erft van de standaard lay-out, zal geen blokken tonen, wat je de mogelijkheid geeft om blokken toe te voegen aan de pagina als je wilt +* Een pagina met eigen blokken erft niet van de standaard lay-out diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/user/site/layouts.md b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/site/layouts.md new file mode 100644 index 000000000000..ff4b204fa914 --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/site/layouts.md @@ -0,0 +1,31 @@ +--- +title: Lay-outs +sidebar_position: 1 +--- + +"Lay-outs" bepalen de beschikbare blok posities en hoe ze worden weergegeven. + +## Blok posities +Blok posities zijn vooraf gedefinieerde gebieden op je website waar blokken kunnen bestaan. De beschikbare block posities worden bepaald door de template stijl die je gebruikt. Voor prozilver wordt phpBB SiteMaker geleverd met de volgende blokposities: +* paneel: volledige breedte over de bovenkant +* sidebar: links/rechts afhankelijk van onderstaande lay-out +* subcontent: vergelijkbaar met de zijbalk net groter +* top_hor: horizontale blokken over de boven, flanking boven de zijbalk/subinhoud afhankelijk van de lay-out +* bovenkant: boven de hoofdinhoud +* box: gelijke breedte, horizontale blokken onder de hoofdinhoud +* onder: onder de hoofdinhoud +* bottom_hor: horizontale blokken over de onderkant, flanker/subinhoud afhankelijk van de lay-out +* voettekst: horizontale blokken in de voettekst Je kunt meer blok posities toevoegen aan uw eigen stijl templates door de bijbehorende phpBB SiteMaker sjablonen te kopiëren en aan te passen + +## Site lay-out +U kunt de layout kiezen voor uw site in ACS-landen (Extensions > Sitemaker > Instellingen): +* **Blog**: subinhoud en zijbalk naast elkaar, push naar rechts, top_hor/botom_hor flank subinhoud +* **Heilige Grail**: gelijke breedte zijbalk en subinhoud aan andere zijden, boven_hor/botom_hor flank subinhoud +* **Portaal**: Sidebar aan links, subinhoud aan de rechterkant, top_hor/botom_hor flank subinhoud +* **Portal Alt**: subcontent aan links, sidebar aan de rechterkant, top_hor/botom_hor flank sidebar +* **Aangepaste**: Handmatig de breedte van de zijbalk instellen als px, %, em of rem. Standaard tot 200px aan elke kant + +## Aangepaste templates/stijlen +Zo veel mogelijk we hebben geprobeerd sjabloonbestanden en content in de styles/alle/map te zetten, zodat je ze kunt overschrijven door een bestand met dezelfde naam te maken onder je eigen template-thema. . prozilver. Dus als je wilt aanpassen hoe een bepaald blok wordt weergegeven of als je je eigen lay-out wilt maken met je eigen blokposities, je moet gewoon een bestand maken met dezelfde naam en pad als het origineel in je eigen stijl. + +Als u CSS/JS bestanden wilt aanpassen, neem een kijkje naar de [theming](/docs/dev/theming) sectie. \ No newline at end of file diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/user/site/navbar.md b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/site/navbar.md new file mode 100644 index 000000000000..0134bb983f78 --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/site/navbar.md @@ -0,0 +1,6 @@ +--- +title: Navigatie balk +sidebar_position: 2 +--- + +Zie [Menu's weergeven](/docs/user/menus/displaying-menus#navigation-bar) diff --git a/website/i18n/nl/docusaurus-plugin-content-docs/current/user/site/startpage.md b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/site/startpage.md new file mode 100644 index 000000000000..7586aa550e85 --- /dev/null +++ b/website/i18n/nl/docusaurus-plugin-content-docs/current/user/site/startpage.md @@ -0,0 +1,11 @@ +--- +title: Een startpagina instellen +sidebar_position: 3 +--- + +phpBB SiteMaker stelt u in staat om elk front controller te kiezen (pagina's benaderd via app.php/... als je standaard startpagina (de pagina die wordt weergegeven wanneer iemand je site bezoekt) in plaats van de board-index. + +Om dit te doen: +* Ga naar de pagina die u wilt instellen als standaard startpagina +* Klik op `Instellingen` in de beheerbalk. Als het een geschikte pagina is, zie je een `Set als startpagina` knop +* Klik op de `Instellen als startpagina` knop \ No newline at end of file diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/contrib/_category_.json b/website/i18n/pl/docusaurus-plugin-content-docs/current/contrib/_category_.json new file mode 100644 index 000000000000..7973f7effa3e --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/contrib/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Wesprzyj", + "position": 4 +} diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/contrib/overview.md b/website/i18n/pl/docusaurus-plugin-content-docs/current/contrib/overview.md new file mode 100644 index 000000000000..bbd1909007b1 --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/contrib/overview.md @@ -0,0 +1,11 @@ +--- +title: Zaangażuj się +sidebar_position: 1 +--- + +phpBB SiteMaker jest projektem open source i z zadowoleniem przyjmuje Twoje pomysły i wkłady. A więc czuj się swobodnie zaangażować. Możesz przyczynić się do tego projektu poprzez: + +* [Zapewnianie wsparcia/Opinie](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Zgłaszanie błędów](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Pomoc w tłumaczeniu](./translators.md) +* [Naprawianie błędów lub dodawanie funkcji](./pull-requests.md) diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/contrib/pull-requests.md b/website/i18n/pl/docusaurus-plugin-content-docs/current/contrib/pull-requests.md new file mode 100644 index 000000000000..21f389cde6d1 --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/contrib/pull-requests.md @@ -0,0 +1,65 @@ +--- +title: Przesyłanie Pull Request +sidebar_label: Pull Requesty +--- + +`Pull requesty pozwalają informować innych o zmianach, które przepchnąłeś do gałęzi w repozytorium na GitHub. Po otwarciu pull request, możesz przedyskutować i przeglądać potencjalne zmiany z współtwórcami i dodać kolejne commity zanim Twoje zmiany zostaną scalone do gałęzi bazowej.` [Czytaj więcej](https://help.github.com/articles/about-pull-requests/) + +## Rozwinięcie/klonowanie + +* Utwórz konto github jeśli jeszcze go nie posiadasz +* Przejdź do https://github.com/blitze/phpBB-ext-sitemaker.git i kliknij "Fork" + +Sklonuj swój fork repozytorium: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Z wiersza poleceń przejdź do katalogu sitemaker: + + cd phpBB/ext/blitze/sitemaker + +**Konfiguruj git:** + +Dodaj swoją nazwę użytkownika do Git w systemie: + + git config --global user.name "Twoja nazwa tutaj" + +Dodaj swój adres e-mail do Git w systemie: + + git config --add user.email username@phpbb.com + +Dodaj pilota wyższego szczebla (można zmienić „upstream” na dowolny z chcesz): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + +**Zainstaluj dostawców** + + instalacja kompozytora + +**Zainstaluj pakiety NPM** + + npm install + +Alternatywnie możesz użyć [yarn](https://yarnpkg.com): + + yarn instalacja + +## Pull Requesty + + # Utwórz nową gałąź dla swojej funkcji & przełącz na nią + git checkout -b feature/my-fancy-new-feature + + # utwórz nową gałąź dla problemu, nad którym pracujesz* przełącz się na nią (ticket # jest z github tracker) + git checkout -b ticket/1234 + +Dokonaj zmian + + # Scenariusz plików + git add + + # Zatwierdzone pliki - użyj poprawnego komunikatu commita + git commit -m "moja wiadomość commit" + +Wciśnij gałąź z powrotem do GitHub funkcji pochodzenia git push push + +Prześlij [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/contrib/translators.md b/website/i18n/pl/docusaurus-plugin-content-docs/current/contrib/translators.md new file mode 100644 index 000000000000..74b9da6b8eaf --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/contrib/translators.md @@ -0,0 +1,17 @@ +--- +title: Tłumacze +sidebar_position: 2 +--- + +Potrzebujemy pomocy w tłumaczeniu tego rozszerzenia oraz jego dokumentacji. Stworzyliśmy projekt na Crowdin w celu ułatwienia tłumaczeń. Crowdin daje Ci interfejs tłumaczeń, który jest drugi do żadnego. Możesz przyczynić się jak kiedykolwiek chcesz, ale naprawdę zalecamy używanie Crowdin. + +> Crowdin jest platformą zarządzania lokalizacją, która pomaga firmom tłumaczyć swoje oprogramowanie. Więcej informacji na temat Crowdin [znajdziesz tutaj](https://support.crowdin.com/crowdin-intro/) + +Jeśli chcesz przyczynić się do tłumaczenia, potrzebujesz: + +* Konto [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker). +* Wybierz język docelowy, jeśli istnieje prośba o włączenie. + +Jeśli Twój język nie jest na liście, proszę [skontaktuj się ze mną](https://crowdin.com/profile/blitze) i dodam go. + +[Rozpocznij tłumaczenie](https://crowdin.com/project/phpbb-ext-sitemaker) diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/dev/_category_.json b/website/i18n/pl/docusaurus-plugin-content-docs/current/dev/_category_.json new file mode 100644 index 000000000000..e198be226840 --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/dev/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Przewodnik dla programistów", + "position": 3 +} diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/dev/events.md b/website/i18n/pl/docusaurus-plugin-content-docs/current/dev/events.md new file mode 100644 index 000000000000..433f0d26e5ff --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/dev/events.md @@ -0,0 +1,120 @@ +--- +title: Wydarzenia phpBB SiteMaker +sidebar_position: 2 +--- + +Możesz zmodyfikować zachowanie phpBB SiteMaker za pomocą systemu wydarzeń phpBB. + +## Wydarzenia PHP + +### blitze.sitemaker.acp_add_bulk_menu + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Odp.: 3.1.0 +- Przeznaczenie: Dodaj opcje menu zbiorczego w menu acp + +### blitze.sitemaker + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Odp.: 3.1.0 +- Przeznaczenie: wyświetl formularz ustawień acp (sitemaker) + +### Ustawienia zapisu + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Odp.: 3.1.0 +- Przeznaczenie: Zapisz ustawienia acp (sitemaker) + +### Blitze.sitemaker.admin_bar.set_assets + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Odp.: 3.0.1-RC1 +- Przeznaczenie: Dodaj zasoby dla dostępnych bloków w trybie edycji + +### Modyfikacja pozycji + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Odp.: 3.0.1-RC1 +- Przeznaczenie: Modyfikowanie pozycji bloku + +### Edycja bloków + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Odp.: 3.0.1-RC1 +- Przeznaczenie: Modyfikuj renderowany blok + +## Wydarzenia szablonu + +### ustawienia_strony + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Odp.: 3.1.0 +- Przeznaczenie: Dodaj pola formularza dla ustawień strony + +### 1201***blitze_sitemer_admin_bar_append + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Odp.: 3.1.0 +- Przeznaczenie: Dodaj pozycje menu do paska administratora + +### Szablony + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Odp.: 3.1.0 +- Przeznaczenie: Dodaj pliki szablonów do użycia w JS dla widoków bloków, itp + +## Zdarzenia Javascript + +### Zapisano układ_strony + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Odp.: 3.1.2 +- Przeznaczenie: Wydarzenie pozwalające innym rozszerzeniom zrobić coś po zapisaniu zmian w układzie + +### Blitze_aktor_witryna_blok_przed + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Odp.: 3.1.2 +- Przeznaczenie: Zdarzenie pozwalające innym rozszerzeniom zrobić coś przed renderowaniem bloku lub uniemożliwieniem jego ponownego renderowania + +### Blitze_aktor_witryny_render_po + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Odp.: 3.1.2 +- Przeznaczenie: Wydarzenie pozwalające innym rozszerzeniom zrobić coś po renderowaniu bloku + +### Blitze_aker_strony przed + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Odp.: 3.1.2 +- Przeznaczenie: Zdarzenie umożliwiające innym rozszerzeniom modyfikację danych blokowych przed zapisaniem + +### Pokaż wszystkie pozycje_blok_strony + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Odp.: 3.1.2 +- Przeznaczenie: Wydarzenie pozwala innym rozszerzeniom zrobić coś, gdy wszystkie pozycje bloków są wyświetlane + +### Blitze_aktor_witryny_ukryj_puste pozycje + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Odp.: 3.1.2 +- Przeznaczenie: Wydarzenie pozwalające innym rozszerzeniom zrobić coś gdy puste pozycje są ukryte + +### Wyczyszczono układ_strony + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Odp.: 3.1.2 +- Przeznaczenie: Zdarzenie pozwalające innym rozszerzeniom zrobić coś po usunięciu układu + +### Zaktualizowano układ strony blitze_strony + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Odp.: 3.1.2 +- Przeznaczenie: Wydarzenie pozwala innym rozszerzeniom zrobić coś po aktualizacji układu + +### [PLACEHOLDER] blitze_sitemera + +- Lokalizacja: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Od: 3.3.0 +- Przeznaczenie: Wydarzenie umożliwiające innym rozszerzeniom modyfikowanie opcji tinymce diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/dev/overview.md b/website/i18n/pl/docusaurus-plugin-content-docs/current/dev/overview.md new file mode 100644 index 000000000000..7a17787cb628 --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/dev/overview.md @@ -0,0 +1,179 @@ +--- +title: Rozszerzanie phpBB SiteMaker +sidebar_position: 1 +--- + +Możesz rozszerzyć/zmodyfikować phpBB SiteMaker używając [wymiany usług](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [dekoracji usług](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration)i [systemu wydarzeń phpBB](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Tutaj znajdziesz listę obsługiwanych wydarzeń [](./events.md). + +## Tworzenie bloku SiteMaker + +Blok phpBB SiteMaker jest po prostu klasą, która rozszerza blitze\sitemaker\services\blocks\driver\block class i zwraca tablicę z metody "display" z 'title' i 'content'. Wszystko inne między sobą należy do Ciebie. Aby twój blok mógł zostać odkryty przez phpBB SiteMaker, musisz nadać mu znacznik "sitemaker.block". + +Powiedz nam, że mamy rozszerzenie z vendor/extension jako moje/przykład. Aby utworzyć blok o nazwie "my_block" dla phpBB SiteMaker: + +- Utwórz folder "blocks" +- Utwórz plik my_block.php w folderze bloków z następującą zawartością + +```php +przestrzeń nazw my\example\blocks; + +użyj blitze\sitemaker\services\blocks\driver\block; + +class my_block extends block +{ + /** + * {@inheritdoc} + */ + public function display(tablica $settings, $edit_mode = false) + { + zwraca tablicę ( + 'title' => 'mój tytuł bloku', + 'content' => 'moja zawartość bloku', + ); + } +} +``` + +Następnie w pliku config.yml dodaj następujące dane: + +```yml +usługi: + +... + + my.example.block.my_block: + klasa: my\example\blocks\my_block + wywołania: + - [set_name, [my.example.block.my_block]] + tagi: + - { name: sitemaker.block } + +.... + +``` + +Na pustym minimum, to wszystko, czego potrzebujesz. Jeśli przejdziesz do trybu edycji, powinieneś zobaczyć blok wymieniony jako 'MY_EXAMPLE_BLOCK_MY_BLOCK', który może być ciągnięty i upuszczony na dowolnej pozycji bloku. Ale ten blok nie robi nic ekscytującego. Nie ma żadnych ustawień i nie tłumaczy nazwy bloku. Zróbmy to bardziej interesująco. + +### Ustawienia bloku + +Zmodyfikuj nasze bloki/my_block. plik hp i dodaj metodę "get_config" zwracając tablicę z kluczami będącymi ustawieniami bloku, a wartościami będącymi tablicą opisującą ustawienia takie jak tak: + +```php + /** + * @inheritdoc + */ + funkcja publiczna get_config(tablica $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + zwróć tablicę ( + 'legend1' => 'TAB1', + 'pole wyboru' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'temat'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false), + 'multi' => tablica ('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'włączalny' => tablica ('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options'default' => '', 'append' => '
Pokaż tylko, gdy wybrano opcję 1
'), + ); +} +``` + +Jest to zbudowane w taki sam sposób, jak phpBB buduje konfigurację ustawień płyt w ACP. Możesz zobaczyć więcej przykładów [tutaj](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Jeśli chcesz typ pola niestandardowego, możesz zobaczyć przykład [tutaj](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) (ustawienie 'content_type'). + +Zgłoś 'legenda1' i 'legend2': Są one używane do oddzielania ustawień na karty. + +### Nazewnictwo bloków + +Konwencja dla nazw bloków jest taka, że nazwa usługi (np. my.example.block. y*blok powyżej) będzie używany jako klucz językowy, zastępując kropki (.) podkreśleniem (*) (np. MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Tłumaczenie + +Zauważ, że mamy kilka kluczy językowych, które trzeba przetłumaczyć. Aby to zrobić, utwórz plik o nazwie "blocks_admin.php" w folderze językowym. Ten plik zostanie automatycznie załadowany podczas edycji bloków i powinien mieć tłumaczenia dla ustawień bloków i nazw bloków. + +``` +$lang = array_merge($lang, tablica( + 'SOME_LANG_VAR' => 'Opcja 1', + 'OTHER_LANG_VAR' => 'Wariant 2', + 'SOME_LANG_VAR_1' => 'Ustawienie 1', +.... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Mój blok', +); +``` + +Ponieważ 'blocks_admin.php' jest ładowany tylko podczas edycji bloków, musisz dodać inne tłumaczenia (np. blokuj tytuł) wczytywając plik językowy w metodzie wyświetlania, tak jak `$language->add_lang('my_lang_file', 'my/example');` + +### Renderowanie bloku + +Nowy blok będzie wyświetlany tylko wtedy, gdy coś renderowuje. Twój blok może zwrócić dowolny ciąg znaków jako treść, ale w większości przypadków potrzebujesz szablonu, aby renderować zawartość. Aby wyrenderować swój blok za pomocą szablonów, blok musi zwracać tablicę zawierającą dane, które chcesz przekazać do szablonu i musi również zaimplementować metodę `get_template` , jak pokazano poniżej: + +```php + /** + * @inheritdoc + */ + funkcja publiczna get_config(tablica $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + zwróć tablicę ( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + wyświetlacz funkcji publicznych (tablica $data, $edit_mode = false) + { + if ($edit_mode) + { + // zrób coś tylko w trybie edycji + } + + zwraca tablicę ( + 'title' => 'MY_BLOCK_TITLE', + 'data' => tablica ( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Następnie plik styles/all/my_block.html lub styles/prosilver/my_block.html może wyglądać tak: + +``` +

Wybrałeś: {{ some_var }}

+``` + +Podsumowując, twój blok musi zwracać tablicę z kluczem `tytuł` (dla tytułu bloku) i kluczem `treści` (jeśli blok wyświetla tylko ciąg znaków i nie używa szablonu) lub kluczem `data` (jeśli blok używa szablonu, W takim przypadku musisz również wdrożyć metodę `get_template`. + +### Blokuj zasoby + +Jeśli twój blok musi dodać aktywa (css/js) do strony, zalecam użycie do tego narzędzia [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php). Ponieważ na stronie może być więcej niż jedna instancja tego samego bloku, lub inne bloki mogą dodawać ten sam składnik aktywów, klasa util zapewnia, że składnik jest dodany tylko do niego. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some. s', + 100 => '@my_example/assets/other. s', // ustaw priorytet + ), + 'css' => tablica( + '@my_example/assets/some. ss', + ) +)); +``` + +Klasa util będzie oczywiście musiała zostać dodana do definicji usług w pliku config.yml jak tak: `- '@blitze.sitemaker. do` i zdefiniowane w konstruktorze twojego bloku `\blitze\sitemaker\services\util $util`. + +I tak jest. Udało się! diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/dev/theming.md b/website/i18n/pl/docusaurus-plugin-content-docs/current/dev/theming.md new file mode 100644 index 000000000000..f9632444fda5 --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/dev/theming.md @@ -0,0 +1,62 @@ +--- +title: Motyw +sidebar_position: 3 +--- + +Rozumiemy, że pliki szablonów i pliki JS/CSS nie będą działać dla każdego stylu, więc poniżej możesz użyć własnych szablonów i utworzyć pliki JS/CSS dla Twojego konkretnego stylu. + +## Używanie własnego szablonu + +Jeśli domyślne szablony z phpBB Sitemaker nie działają dobrze dla Twojego konkretnego stylu, możesz łatwo nadpisać plik, aby użyć własnego pliku szablonu, tworząc odpowiedni plik w folderze stylów. + +Na przykład powiedz że twój styl jest nazywany `Backlash` i ma on szczególny sposób, w jaki HTML dla sekcji nagłówka bloku musi być ustrukturyzowany dla [widoku pól](/docs/user/blocks/block-views). Możesz nadpisać ten konkretny szablon tworząc plik o tej samej nazwie jak tak: `phpBB/ext/blitze/sitemaker/styles/Backlash/template/views/boxed_view.twig`. + +Innymi słowy, aby użyć własnego pliku szablonu, musisz: +* Określ który plik phpBB Sitemaker musi być nadpisany +* Utwórz plik o tej samej nazwie w folderze Sitemaker `style` pod nazwą Twojego stylu + +> Uwaga: Jeśli utworzysz własne pliki szablonu, upewnij się, że nie usuń folderu `phpbb/ext/blitze/sitemaker` podczas aktualizacji rozszerzenia, ponieważ twoje niestandardowe pliki zostaną usunięte. Zamiast tego po prostu nadpisz istniejące pliki nowymi plikami. + +## Tworzenie plików JS/CSS dla twojego stylu + +Uwaga: +* Do celów poniższych instrukcji zakładamy, że masz styl zwany my-stylem. + +Sklonuj do phpBB/ext/blitze/sitemaker: + + Klon git https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Z wiersza poleceń przejdź do katalogu sitemaker: + + cd phpBB/ext/blitze/sitemaker + +**Zainstaluj dostawców** + + instalacja kompozytora + +**Instaluj pakiety** + +Dla poniższych poleceń możesz użyć npm lub [yarn](https://yarnpkg.com) + + yarn instalacja + +**Obejrzyj zmiany** + + yarn start --theme my-style + +**Dokonaj zmian** + +* Dokonaj zmian w plikach w folderze phpBB/ext/blitze/sitemaker/rozwiń folder. +* Spójrz na phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss dla zmiennych sass + +**Zbuduj zasoby** + + yarn kompilacja --theme my-style + +**Wdrożenie** + +Teraz możesz skopiować wygenerowane pliki z phpBB/ext/blitze/sitemaker/styles/my-style i przesłać je na serwer produkcyjny. + +> To rozszerzenie używa jQuery UI dla kart, dialogów i przycisków. Domyślny motyw jQuery to 'gładkość'. Możesz użyć innego szablonu jQuery UI, który najlepiej pasuje do twojego motywu. Możesz określić motyw jQuery UI za pomocą flagi --jq_ui_theme. Na przykład: + + yarn build --theme my-style --jq_ui_theme ui-lightness diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/intro/_category_.json b/website/i18n/pl/docusaurus-plugin-content-docs/current/intro/_category_.json new file mode 100644 index 000000000000..e1c9d6e8b1a4 --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/intro/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Rozpoczęcie", + "position": 1 +} diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/intro/installation.md b/website/i18n/pl/docusaurus-plugin-content-docs/current/intro/installation.md new file mode 100644 index 000000000000..6301bcd80549 --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/intro/installation.md @@ -0,0 +1,16 @@ +--- +title: "Instalacja / aktualizacja" +sidebar_position: 2 +--- + +Pobierz rozszerzenie z [tutaj](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker +* Wyodrębnij i prześlij do folderu phpBB/ext/ aby mieć phpBB/ext/blitze/sitemaker +* Przejdź do "ACP" > "Dostosuj się" > "Rozszerzenia" i włącz rozszerzenie "phpBB Sitemaker". + +## Uaktualnianie phpBB SiteMaker +* Utwórz kopię zapasową bazy danych na wypadek, gdyby coś poszło nie tak +* Przejdź do "ACP" > "Dostosuj się" > "Rozszerzenia" i wyłącz "phpBB Sitemaker" +* Pobierz i wypakuj najnowszą wersję phpBB SiteMaker i prześlij ją do folderu phpBB/ext/ (nadpisz) +* Przejdź do "ACP" > "Dostosuj się" > "Rozszerzenia" i włącz rozszerzenie "phpBB Sitemaker". diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/intro/introduction.md b/website/i18n/pl/docusaurus-plugin-content-docs/current/intro/introduction.md new file mode 100644 index 000000000000..0ddfa82163a8 --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/intro/introduction.md @@ -0,0 +1,6 @@ +--- +title: Wprowadzanie +sidebar_position: 1 +--- + +phpBB SiteMaker stara się przekształcić Twoją tablicę phpBB w CMS/portal. Czyni to, dostarczając Ci bloki i menu, aby pomóc Ci dostosować swoją witrynę do swoich potrzeb. Istnieją lub będą inne rozszerzenia SiteMaker, które zapewnią dodatkowe funkcje do osiągnięcia tego celu. Pozwala również na zdefiniowanie strony docelowej, gdy strona jest dostępna. Więc jeśli nie chcesz, aby odwiedzający na Twojej stronie natychmiast zobaczyli forum phpBB kiedy odwiedzają stronę www. nasza strona.com, możesz zdefiniować własną stronę startową. diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/user/_category_.json b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/_category_.json new file mode 100644 index 000000000000..4bc84749f9a2 --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Poradnik użytkownika", + "position": 2 +} diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/user/blocks/_category_.json b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/blocks/_category_.json new file mode 100644 index 000000000000..1c696016723b --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/blocks/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Bloki", + "position": 1 +} diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/user/blocks/block-views.md b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/blocks/block-views.md new file mode 100644 index 000000000000..632f9ba675d9 --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/blocks/block-views.md @@ -0,0 +1,6 @@ +--- +title: Blokuj widoki +sidebar_position: 2 +--- + +Praca w toku... \ No newline at end of file diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md new file mode 100644 index 000000000000..8ffd43478831 --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md @@ -0,0 +1,24 @@ +--- +title: Własny blok +sidebar_position: 4 +--- + +Jeśli dostępne bloki nie dają Ci wolności, której potrzebujesz, jest `niestandardowy blok` , który pozwala na swobodne wyświetlanie własnych treści za pomocą BBcode lub HTML. Blok jest wyposażony w edytor WYSIWYG (TinyMCE) i menedżer skryptów: + +## Edytor + +- Możesz użyć edytora do tworzenia treści HTML +- Możesz edytować kod źródłowy, jeśli potrzebujesz tego poziomu kontroli, klikając ikonę `kodu źródłowego` (`<>`) w edytorze +- Edytor pozwala na przesyłanie i modyfikowanie obrazów + - Tworzy nowy folder w phpBB/images/sitemaker_uploads/ dla każdego użytkownika, który ma do niego dostęp. + - Możesz przeglądać/zarządzać wszystkimi folderami użytkowników +- Edytor filtruje wszelkie potencjalnie niebezpieczne skrypty, takie jak javascript, itp. Jeśli chcesz dodać treści takie jak reklamy google, javascript zostanie odfiltrowany, ale możesz dostrzec to wykonując następujące czynności: + - Dodaj blok niestandardowy do wybranej lokalizacji + - Edytuj blok niestandardowy, kliknij na zakładkę `HTML` i wklej swój Javascript + +## Menedżer skryptów + +Niestandardowy blok pozwala również na dodawanie niestandardowych plików CSS i Javascript do twojej strony. Aby to zrobić: + +- Dodaj `niestandardowy blok` do każdej pozycji bloku. Pozycja nie ma znaczenia, chyba że wyświetlasz również zawartość z blokiem +- Edytuj blok, kliknij na karcie `Skrypty` i dodaj pliki CSS lub Javascript > Uważne słowo: Dodanie do wielu skryptów na twojej stronie może mieć wpływ na czas ładowania diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md new file mode 100644 index 000000000000..5b180a110886 --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md @@ -0,0 +1,51 @@ +--- +title: Mananaging Blocks +sidebar_position: 3 +--- + +Aby zarządzać blokami w phpBB SiteMaker, musisz być w [Tryb edycji](./overview#edit-mode). + +> Gdy blok nie wyświetla żadnych treści, nie będzie wyświetlany, z wyjątkiem trybu edycji. W ten sposób możesz nadać jej zawartość (w przypadku bloku niestandardowego) lub zmienić jej ustawienia. + +> W trybie edycji, nieco przezroczyste bloki to bloki, które w przeciwnym razie nie będą wyświetlane, ale będą wyświetlane tylko dlatego, że jesteśmy w trybie edycji + +## Dodawanie bloków +Możesz dodawać bloki do każdej strony skierowanej przodem do kierunku jazdy, z wyjątkiem panelu sterowania użytkownika i stron panelu zarządzania. Aby dodać blok, musisz: +* kliknij na **bloków** w pasku administratora. To wyświetli listę dostępnych bloków +* Przeciągnij i upuść żądany blok do dowolnej pozycji bloku + +## Edycja bloków +### Dodawanie ikony bloku +Po lewej stronie tytułu bloku (przysłowia) znajduje się pole dla ikony bloku. Kliknij na to pole, aby pobrać wybieranie ikon. Możesz wybrać rozmiar ikony, kolor, zmienny, obrót, itp. + +### Edycja tytułu bloku +Bloki phpBB SiteMaker będą miały domyślny, przetłumaczony tytuł, ale jeśli tytuł nie spełnia Twoich potrzeb, możesz go zmienić. Aby edytować tytuł bloku, +* Kliknij na tytuł bloku, aby uzyskać formularz edycji w linii +* Zmień tytuł na cokolwiek chcesz +* Usuń ostrość z pola lub wpisz aby przesłać zmiany + +> Twój zmodyfikowany tytuł bloku nie jest przetłumaczony + +> Aby powrócić do domyślnego tytułu, usuń tytuł i wciśnij enter + +### Edycja ustawień bloku +Po najechaniu kursorem nad blokiem, ikona kursora pojawi się po prawej stronie bloku, który może być użyty do edycji bloku. W oknie bloku edycji możesz: +- Włącz/wyłącz blok [Status] +- Wybierz, kiedy blok nie powinien/nie powinien być wyświetlany [Display]. Dotyczy to tylko przypadków, w których masz zagnieżdżone strony (patrz [Zrozumienie dziedziczenia bloku](/docs/user/site/block-inheritance)): + - **Zawsze**: Zawsze wyświetlaj blok + - **Ukryj na podrzędnych trasach**: Pokaż tylko ten blok na trasie nadrzędnej + - **Pokaż tylko na trasach podrzędnych**: Pokaż tylko ten blok na trasie podrzędnej +- Wybierz, które grupy użytkowników mogą przeglądać blok [Wyświetlane przez]. Użyj CTRL + kliknij, aby wybrać wiele grup. +- Ustaw klasy niestandardowe, aby modyfikować wygląd bloku lub elementów (listy, obrazy, tło itp.) w bloku [klasa CSS] +- Pokaż/ukryj tytuł bloku [Ukryj tytuł bloku?] +- Wybierz widok bloku [Widok bloku]. Możesz wybrać domyślny widok bloku, gdy nowe bloki zostaną dodane do AKP. + - **Domyślne / Proste**: użyj klasy panelu prosbra do zawijania bloku w wypełnionym kontenerem + - **Basic**: blok nie ma opakowania kontenerowego + - **Boxed**: użyj klasy forabg do zawijania bloku w pudełku +- Ustaw / aktualizuj specyficzne ustawienia bloku +- Jeśli masz ten sam blok z tymi samymi ustawieniami na wielu stronach, możesz zaktualizować wszystkie na raz, sprawdzając **bloki aktualizacji z podobnymi ustawieniami** + +## Usuwanie bloków +- Najedź kursorem nad blokiem, który chcesz usunąć +- Kliknij na ikonę **x** i potwierdź, że chcesz usunąć blok +- Przejdź do paska administratora i kliknij `Zapisz zmiany` diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/user/blocks/overview.md b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/blocks/overview.md new file mode 100644 index 000000000000..c9406eec938a --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/blocks/overview.md @@ -0,0 +1,9 @@ +--- +title: Czym są bloki? +sidebar_position: 1 +--- + +W sercu phpBB SiteMaker jest koncepcją bloków. Bloki są małymi częściami treści, które możesz umieścić w różnych wstępnie określonych obszarach (blokowanie pozycji) na twojej stronie. Bloki będą miały ustawienia, które możesz ustawić/zmienić w celu dopracowania zawartości, którą chcesz wyświetlić. Większość bloków, ale nie wszystkie, wykona zapytania do bazy danych, aby uzyskać żądaną zawartość. Tak więc nie stajmy się zbyt szalonymi :). Aby zarządzać blokami, musisz przełączyć się na "tryb edycji". + +## Tryb edycji +Przełącz na tryb edycji klikając na ikonę ołówka w prawym górnym rogu strony. Ta opcja wyświetli "Pasek administracyjny" za pomocą pozycji menu "Bloki" i "Ustawienia". Nazywa się to "trybem edycji". diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/user/menus/_category_.json b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/menus/_category_.json new file mode 100644 index 000000000000..4259794d53ee --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/menus/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Menus", + "position": 2 +} diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md new file mode 100644 index 000000000000..1aa8e18ae276 --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md @@ -0,0 +1,15 @@ +--- +title: Wyświetlanie menu +sidebar_position: 3 +--- + +Teraz, gdy stworzyłeś swoje menu, możesz je wyświetlić na kilka sposobów: + +## Blok linków +Możesz użyć tego bloku, aby wyświetlić płaską lub zagnieżdżoną listę pozycji menu. Ten blok nie jest przeznaczony do nawigacji tzn. nie będzie wyświetlał bieżącej strony ani czegokolwiek innego. Jest on przeznaczony do wykazu pozycji, w tym linków zewnętrznych. + +## Blok menu +Ten blok jest przeznaczony do nawigacji w witrynie. Dokonuje pewnych dodatkowych obliczeń w celu określenia bieżącej lokalizacji i nie ma być bardzo dużą listą. + +## Pasek nawigacji +Podobnie jak w bloku menu, pasek nawigacji wyświetli pozycje menu jako elastyczne menu rozwijane przeznaczone do nawigacji witryny. Możesz to włączyć w AKP > Rozszerzenia > Sitemaker > Ustawienia > Wybierz menu diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md new file mode 100644 index 000000000000..1716a908e08f --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md @@ -0,0 +1,30 @@ +--- +title: Zarządzanie pozycjami menu +sidebar_position: 2 +--- + +Twoje menu jest bezużyteczne, chyba że posiada pozycje menu. Możesz dodać pozycje menu, które wskazują do plików lokalnych lub zewnętrznych. + +> Adres URL dla zewnętrznych witryn musi zaczynać się od http(s)://, ftp://, //, itp. + +> Możesz utworzyć separator wpisując '-' jako tytuł przedmiotu + +## Dodawanie pozycji menu +Możesz dodać jedną pozycję menu na raz, lub dodać wiele pozycji menu na jednym. + +### Dodawanie pojedynczych pozycji menu +Aby dodać pojedynczą pozycję menu, +* kliknij przycisk `Dodaj pozycję menu` +* Wypełnij wymagane informacje i wciśnij `Zapisz` + +### Dodawanie wielu elementów +Aby dodać wiele elementów menu jednocześnie, +* Kliknij ikonę strzałki w dół obok `Dodaj element menu` +* Możesz ręcznie dodawać elementy, umieszczając każdy element w nowej linii i używając elementów gniazda tabulatora lub +* Możesz kliknąć na jedną z dostępnych opcji u dołu obszaru tekstowego, aby automatycznie wypełnić pozycje menu + +## Zmień kolejność pozycji menu +Możesz przeciągnąć i upuścić pozycje menu w górę/dół, aby ustawić ich kolejność wyświetlania, lub przeciągnąć je w lewo/prawo, aby ustawić pożądaną hierarchię. + +## Przebudowa elementów menu +Jeśli znajdziesz że pozycje menu nie są wyświetlane poprawnie, kliknij przycisk `Odbuduj drzewo` , aby odbudować pozycje menu. diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md new file mode 100644 index 000000000000..ceb7b8b879e3 --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md @@ -0,0 +1,24 @@ +--- +title: Zarządzanie Menem +sidebar_position: 1 +--- + +Możesz utworzyć menu w AKP, które możesz następnie wyświetlić za pomocą bloków Menu lub Linków lub wyświetlać jako poziomy pasek nawigacyjny. + +## Zarządzanie Menem + +Aby zarządzać menem, przejdź do AKP > Rozszerzenia > Sitemaker > Menu + +### Tworzenie menu +Aby utworzyć nowe menu (grupa), kliknij przycisk `Dodaj menu`. Nowa grupa menu zostanie utworzona z losowo wygenerowaną nazwą. Nowe menu zostanie również wybrane, abyś mógł zacząć dodawać do niego elementy menu. + +### Edycja menu +Jeśli chcesz mieć bardziej znaczącą nazwę menu, +* najechaj kursorem nad nazwą menu i kliknij ikonę kursora +* wprowadź nową nazwę menu i naciśnij Enter, aby go zaktualizować + +### Usuwanie menu +Aby usunąć menu i jego elementy, +* Najedź kursorem nad nazwą menu i kliknij na ikonę **x** +* Jeśli pozycja menu nie zawiera elementów podrzędnych, musisz potwierdzić swój wybór, aby usunąć pozycję +* Jeśli element menu zawiera elementy podrzędne, musisz wskazać, czy chcesz usunąć tylko element i przenieść jego podrzędne w górę lub jeśli chcesz usunąć całą gałąź diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/user/site/_category_.json b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/site/_category_.json new file mode 100644 index 000000000000..1e6d63cb9370 --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/site/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Budowanie witryny", + "position": 3 +} diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md new file mode 100644 index 000000000000..369a17c474be --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md @@ -0,0 +1,46 @@ +--- +title: Blokuj dziedziczenie +sidebar_position: 5 +--- + +Już to widzieliśmy, ustawiając domyślny układ, inne strony, które nie mają własnych bloków, odziedziczą bloki z domyślnego układu. Istnieje jednak inny rodzaj dziedziczenia grupowego. + +## Trasy rodzica/potomne +W phpBB SiteMaker mówimy o zagnieżdżonych trasach w postaci prawdziwych zagnieżdżonych (pod) katalogów lub praktycznie zagnieżdżonych tras. Proszę zostań ze mną :). +* Prawdziwe trasy rodzicielskie/podrzędne: Na przykład ścieżka /some_directory/sub_directory/index.php jest dzieckiem /some_directory/index.php +* Wirtualny rodzic/podrzędne: Na przykład viewtopic.php jest traktowany jako dziecko viewforum.php. + +Oto kilka przykładów tras nadrzędnych/podrzędnych: + +| Rodzic | Dziecko | +| ------------------ | -------------------------------- | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/artykuły | /pl/app.php/articles/moj-article | + +## Dziedzictwo rodzica/bloku podrzędnego +dla tras nadrzędnych/podrzędnych, trasa potomna dziedziczy bloki trasy nadrzędnej (jeżeli rodzic ma własne bloki) lub domyślny układ (jeżeli jeden został ustawiony). Innymi słowy, nawet jeśli istnieje domyślny układ, trasa potomna będzie dziedziczyć bloki z trasy nadrzędnej, jeśli trasa nadrzędna ma własne bloki. Ale nie wszystkie bloki z trasy nadrzędnej muszą być dziedziczone. + +## Kontrolowanie dziedziczenia bloku +Na poziomie bloku, możesz kontrolować, kiedy blok może być dziedziczony przez podrzędne trasy. Dotknęliśmy na to wcześniej w [Edytujących ustawieniach bloku](/docs/user/blocks/managing-blocks#editing-block-settings). + +Rozważ następującą strukturę prawdziwego katalogu: +```text +phpBB +↑ index.php +↑ Movies/ + ↑ ↑ index.php + page.php + Comedy/ + index.php +``` + +Dla celów odziedziczenia bloków mówimy: +* Trasa nadrzędna /phpBB/Movies/Comedy/index.php to /phpBB/Movies/index.php i nie /phpBB/Movies/page.php +* Wszystkie strony w podkatalogu względem /phpBB/index.php są podrzędną trasą /phpBB/index.php. Dlatego /phpBB/Movies/index.php i /phpBB/Movies/page.php są dziećmi /phpBB/index.php i w związku z tym odziedziczą jego bloki, jeśli nie mają własnych bloków. W tym przypadku: + * Gdy blok na /phpBB/index.php jest ustawiony na **Ukryj na podrzędnych trasach**, blok pojawi się na /phpBB/index. hp (droga nadrzędna), ale nie na jej drogach podrzędnych + * Gdy blok na /phpBB/index.php jest ustawiony na **Pokaż tylko na podrzędnych trasach**, wyświetli się na /phpBB/Movies/index. hp i /phpBB/Movies/page.php (podrzędne trasy), ale nie na /phpBB/index.php (parent), ani /phpBB/Movies/Comedy/index.php (podajemy tylko jeden poziom głębokości) + * Gdy blok na /phpBB/index.php jest ustawiony na **zawsze** (domyślnie), będzie wyświetlany na /phpBB/index. hp (parent), /phpBB/Movies/index.php oraz /phpBB/page.php (podrzędne trasy), ale nie na /phpBB/Movies/Comedy/index.php (podrzędne są tylko jeden poziom). W tym przypadku /phpBB/Movies/Comedy/index.php odziedziczy z domyślnej trasy (jeżeli istnieje) + +## Posible Future State +Jestem bardzo zainteresowany twoją opinią w tym obszarze. Większość użytkowników phpBB nie będzie miała prawdziwych katalogów jak opisano powyżej. Myślę więc o użyciu struktury, która jest zdefiniowana w bloku menu jako wirtualna struktura katalogów i zastosuj do niej dziedziczenie rodzica/dzieci. Rozważam również głębsze wyjście poza jeden poziom. Daj mi znać, czy będzie to przydatne dla Ciebie. \ No newline at end of file diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md new file mode 100644 index 000000000000..8bf181246165 --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md @@ -0,0 +1,6 @@ +--- +title: Dostosowywanie wyświetlania bloków +sidebar_position: 6 +--- + +Praca w toku... \ No newline at end of file diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/user/site/default-layout.md b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/site/default-layout.md new file mode 100644 index 000000000000..0244666a8df8 --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/site/default-layout.md @@ -0,0 +1,21 @@ +--- +title: Ustawianie domyślnego układu +sidebar_position: 4 +--- + +Po dodaniu bloku zostanie on dodany do tej konkretnej strony. Ustawianie bloków dla wszystkich stron na Twojej stronie byłoby zatem żmudnym zadaniem. Możesz ustawić wszystkie pożądane bloki dla danej strony, a następnie ustawić tę stronę jako domyślny układ. Innymi słowy, każda strona, która nie ma własnych bloków, odziedziczy bloki z tej strony. + +Aby ustawić domyślny układ +* Przejdź do strony, którą chcesz ustawić jako domyślny układ +* Kliknij na `Ustawienia` w pasku admina +* Kliknij przycisk `Ustaw jako domyślny układ` + +Powiedz nam, że dodajemy bloki do strony (phpBB/index.php) z blokami w pasku bocznym i górnych pozycjach, na przykład i ustawiamy je jako nasz domyślny układ. Ma to następujące skutki dla innych stron: +* Każda strona, która nie ma własnych bloków, odziedziczy bloki z domyślnego układu. Zobacz [Zrozumienie dziedziczenia bloku](/docs/user/site/block-inheritance) dla wyjątków. +* Nadal możesz dziedziczyć bloki z domyślnego układu (indeks. hp), ale nie wyświetlaj bloków na niektórych pozycjach bloków lub w ogóle nie wyświetlaj żadnych bloków. W tym celu + * Przejdź do strony, której nie chcesz wyświetlić wszystkie/kilka bloków + * Kliknij na `Ustawienia` w pasku admina + * Wybierz `Nie pokazuj bloków na tej stronie` jeśli nie chcesz dziedziczać/wyświetlać bloków na tej stronie LUB + * Użyj CTRL + kliknij aby wybrać pozycje bloków (z prawej), na których nie chcesz wyświetlać bloków +* W `trybie edycji`, strona, która dziedziczy bloki z układu domyślnego, nie wyświetli żadnych bloków, dając Ci możliwość dodawania bloków do strony jeśli chcesz +* Żadna strona, która ma własne bloki, nie będzie dziedziczyć z domyślnego układu diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/user/site/layouts.md b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/site/layouts.md new file mode 100644 index 000000000000..79294fcb1f58 --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/site/layouts.md @@ -0,0 +1,31 @@ +--- +title: Układy +sidebar_position: 1 +--- + +"Układy" określają dostępne pozycje bloków i sposób ich wyświetlania. + +## Zablokuj pozycje +Pozycje bloków są wstępnie zdefiniowanymi obszarami na twojej stronie, gdzie mogą istnieć bloki. Dostępne pozycje bloków są określone przez styl szablonu, którego używasz. Dla srebra phpBB SiteMaker posiada następujące pozycje bloku: +* panel: pełna szerokość na górze +* pasek boczny: lewy/prawo w zależności od układu poniżej +* podzawartość: podobna do paska bocznego tylko większa +* Góra_hor: poziome bloki na górze, flankujące nad paskiem bocznym/podzawartością w zależności od układu +* góra: powyżej głównej zawartości +* pola: równa szerokość, bloki poziome poniżej głównej zawartości +* na dole: poniżej głównej zawartości +* dolny_hor: poziome bloki na dole, flankujące pasek boczny/podzawartość w zależności od układu +* stopka: poziome bloki w stopce Możesz dodać więcej pozycji bloków we własnych szablonach stylu, kopiując i modyfikując odpowiednie szablony phpBB SiteMaker + +## Układ witryny +Możesz wybrać układ swojej witryny w AKP (Rozszerzenia > Sitemaker > Ustawienia): +* **Blog**: podzawartość i pasek boczny obok siebie, popychane w prawo, top_hor/botom_hor flank +* **Święty Grail**: pasek boczny o tej samej szerokości i subzawartość po przeciwnych stronach, top_hor/botom_hor flank +* **Portal**: pasek boczny po lewej stronie, podzawartość po prawej, top_hor/botom_hor flank +* **Portal Alt**: subzawartość po lewej stronie, pasek boczny po prawej, top_hor/botom_hor flank +* **Niestandardowy**: ręcznie ustaw szerokość pasków bocznych jako px, %, em lub rem. Domyślnie 200 px po każdej stronie + +## Niestandardowe szablony / style +O ile to możliwe, próbowaliśmy umieścić pliki szablonu i zasoby w stylu/wszystkie/folderze tak, aby można je nadpisać, tworząc plik o tej samej nazwie pod własnym szablonem. . potwierdź. Więc jeśli chcesz zmodyfikować sposób wyświetlania określonych bloków lub jeśli chcesz utworzyć własny układ z własnymi pozycjami bloków, po prostu musisz utworzyć plik o tej samej nazwie i ścieżce co oryginał w swoim własnym stylu. + +Jeśli potrzebujesz dostosować pliki CSS/JS, zajrzyj do sekcji [motywu](/docs/dev/theming). \ No newline at end of file diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/user/site/navbar.md b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/site/navbar.md new file mode 100644 index 000000000000..5c905e3fa833 --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/site/navbar.md @@ -0,0 +1,6 @@ +--- +title: Pasek nawigacji +sidebar_position: 2 +--- + +Zobacz [Wyświetlane Menu](/docs/user/menus/displaying-menus#navigation-bar) diff --git a/website/i18n/pl/docusaurus-plugin-content-docs/current/user/site/startpage.md b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/site/startpage.md new file mode 100644 index 000000000000..f48fb85dc8cb --- /dev/null +++ b/website/i18n/pl/docusaurus-plugin-content-docs/current/user/site/startpage.md @@ -0,0 +1,11 @@ +--- +title: Ustawianie strony startowej +sidebar_position: 3 +--- + +phpBB SiteMaker pozwala wybrać dowolny kontroler (strony dostępne za pośrednictwem app.php/... jako domyślna strona startowa (strona, która będzie wyświetlana, gdy ktoś odwiedza Twoją stronę) zamiast indeksu działu. + +Aby to zrobić: +* Przejdź do strony, którą chcesz ustawić jako domyślną stronę startową +* Kliknij na `Ustawienia` w pasku admina. Jeśli jest to kwalifikująca się strona, zobaczysz przycisk `Ustaw jako stronę startową` +* Kliknij przycisk `Ustaw jako stronę startową` \ No newline at end of file diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/contrib/_category_.json b/website/i18n/pt/docusaurus-plugin-content-docs/current/contrib/_category_.json new file mode 100644 index 000000000000..023c114dcd48 --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/contrib/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Contribuir", + "position": 4 +} diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/contrib/overview.md b/website/i18n/pt/docusaurus-plugin-content-docs/current/contrib/overview.md new file mode 100644 index 000000000000..9b69cddeafa7 --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/contrib/overview.md @@ -0,0 +1,11 @@ +--- +title: Envolva-se +sidebar_position: 1 +--- + +phpBB SiteMaker é um projeto de código aberto e agradece suas ideias e contribuições. Por isso, sinta-se livre para participar. Você pode contribuir para este projeto por: + +* [Fornecendo suporte/feedback](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Relatando erros](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Ajudar com a tradução](./translators.md) +* [Corrigir bugs ou adicionar recursos](./pull-requests.md) diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/contrib/pull-requests.md b/website/i18n/pt/docusaurus-plugin-content-docs/current/contrib/pull-requests.md new file mode 100644 index 000000000000..07aa6c18961d --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/contrib/pull-requests.md @@ -0,0 +1,65 @@ +--- +title: Enviando um Pull Request +sidebar_label: Pull Requests +--- + +`Pull requests permitem que você informe aos outros sobre as alterações que você fez push em um branch no repositório do GitHub. Quando um pull request for aberto, você pode discutir e rever as mudanças potenciais com colaboradores e adicionar commits de acompanhamento antes que suas alterações sejam mescladas na branch base.` [Leia mais](https://help.github.com/articles/about-pull-requests/) + +## Forking/Clonagem + +* Criar uma conta no github se você ainda não tiver uma +* Vá para https://github.com/blitze/phpBB-ext-sitemaker.git e clique em "Fork" + +Clone seu fork do repositório: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Da linha de comando vá para o diretório sitemaker: + + cd phpBB/ext/blitze/sitemaker + +**Configurar git:** + +Adicione seu nome de usuário ao Git no seu sistema: + + git config --global user.name "Seu Nome Aqui" + +Adicione seu endereço de e-mail ao Git no seu sistema: + + git config --add user.email username@phpbb.com + +Adicione o controle remoto do upstream (você pode mudar o 'upstream' para o que quiser): + + adicione git://github.com/blitze/phpBB-ext-sitemaker.git remotamente + +**Instalar fornecedores** + + instalar compositor + +**Instalar pacotes NPM** + + npm install + +Como alternativa, você pode usar o [yarn](https://yarnpkg.com): + + instalar Yarn + +## Pull Requests + + # Crie uma nova branch para o seu recurso & mude para ela + git check-b feature/my-fancy-new-feature + + # crie uma nova branch para a issue em que você está trabalhando * mudar para ela (ticket # é do github tracker) + git check-b ticket/1234 + +Faça suas alterações + + # Estágio + git add + + # Commit arquivos staged - por favor, use uma mensagem de commit + git commit -m "minha mensagem de commit" + +Faça um push do branch de volta ao GitHub git push out feature/meu-meu-novo-recurso + +Submeter um pull request [](https://github.com/blitze/phpBB-ext-sitemaker/pulls) diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/contrib/translators.md b/website/i18n/pt/docusaurus-plugin-content-docs/current/contrib/translators.md new file mode 100644 index 000000000000..4e2a161b97f4 --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/contrib/translators.md @@ -0,0 +1,17 @@ +--- +title: Tradutores +sidebar_position: 2 +--- + +Precisamos de ajuda para traduzir essa extensão, bem como a sua documentação. Criamos um projeto no Crowdin para facilitar as traduções. Crowdin dá-lhe uma interface de tradução que não é igual a nenhuma. Você pode contribuir como sempre quer, mas realmente recomendamos usar o Crowdin. + +> O Crowdin é uma plataforma de gestão de localização que ajuda as empresas a traduzir o seu software. Você pode ler mais sobre o Crowdin [aqui](https://support.crowdin.com/crowdin-intro/) + +Se você estiver disposto a contribuir com as traduções, você precisará: + +* Uma conta no [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker). +* Escolha o idioma de destino se existir caso contrário o pedido para ser habilitado. + +Se o idioma desejado não estiver listado, [entre em contato comigo](https://crowdin.com/profile/blitze) e eu o adicionarei. + +[Iniciar tradução](https://crowdin.com/project/phpbb-ext-sitemaker) diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/dev/_category_.json b/website/i18n/pt/docusaurus-plugin-content-docs/current/dev/_category_.json new file mode 100644 index 000000000000..be8ab78ae3fb --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/dev/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Guia do Desenvolvedor", + "position": 3 +} diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/dev/events.md b/website/i18n/pt/docusaurus-plugin-content-docs/current/dev/events.md new file mode 100644 index 000000000000..76643c989e28 --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/dev/events.md @@ -0,0 +1,120 @@ +--- +title: phpBB SiteMaker Eventos +sidebar_position: 2 +--- + +Você pode modificar o comportamento do phpBB SiteMaker usando o sistema de eventos do phpBB. + +## Eventos PHP + +### blitze.sitemaker.acp_adicionar_opções_de_menu_bulk + +- Localização: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Desde: 3.1.0 +- Objetivo: Adicionar opções de menu em massa no menu acp + +### blitze.sitemaker.acp_form_de_configurações_do_site + +- Localização: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Desde: 3.1.0 +- Formulário de configurações do acp (sitemaker) + +### blitze.sitemaker.acp_salvar_configurações + +- Localização: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Desde: 3.1.0 +- Purpose: Salvar configurações do acp (sitemaker) + +### blitze.sitemaker.admin_bar.set_assets + +- Localização: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Desde: 3.0.1-RC1 +- Carteira: Adicionar ativos para blocos disponíveis no modo de edição + +### blitze.sitemaker.momodifique_posição_de_blocos + +- Localização: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Desde: 3.0.1-RC1 +- Purpo: Modificar posições do bloco + +### blitze.sitemaker.modify_rendered_block + +- Localização: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Desde: 3.0.1-RC1 +- Purpo: Modifica um bloco renderizado + +## Eventos de Modelo + +### blitze_sitemaker_acp_settings + +- Localização: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Desde: 3.1.0 +- Purpo: Adicionar campos de formulário para configurações do sitemaker + +### blitze_sitemaker_barra_anexar + +- Localização: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Desde: 3.1.0 +- Carteira: Adicionar itens de menu na barra de administração + +### blitze_sitemaker_templates + +- Localização: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Desde: 3.1.0 +- Purpose: Adicionar arquivos de modelo a serem usados em JS para exibições de blocos, etc + +## Eventos de Javascript + +### blitze_sitemaker_layout_saved + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Desde: 3.1.2 +- Carteira: Evento para permitir que outras extensões façam algo quando as alterações no layout são salvas + +### blitze_sitemaker_render_block_antes + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Desde: 3.1.2 +- Purpo: O evento permite que outras extensões façam algo antes que o bloco seja renderizado ou impeça que ele seja re-renderizado + +### blitze_sitemaker_render_block_after + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Desde: 3.1.2 +- Purpo: O Evento para permitir que outras extensões façam algo após o bloco é renderizado + +### blitze_sitemaker_salvar_bloco_antes + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Desde: 3.1.2 +- Purpo: Evento para permitir que outras extensões modifiquem dados do bloco antes de serem salvos + +### blitze_sitemaker_mostrar_todas_as_posição_de_blocos + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Desde: 3.1.2 +- Purpo: Evento para permitir que outras extensões façam algo quando todas as posições de blocos forem mostradas + +### blitze_sitemaker_hide_empty_posição_de_bloco_ + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Desde: 3.1.2 +- Purpo: Evento para permitir que outras extensões façam algo quando posições vazias estiverem ocultas + +### blitze_layouker_de_site_limpo + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Desde: 3.1.2 +- Carteira: Evento para permitir que outras extensões façam algo quando o layout estiver limpo + +### blitze_sitemaker_layout_atualizado + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Desde: 3.1.2 +- Carteira: Evento para permitir que outras extensões façam algo quando o layout é atualizado + +### opções_do_sitemaker_tinymce_blitze_site + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Desde: 3.3.0 +- Objetivo: Evento para permitir que outras extensões modifiquem opções de tinymce diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/dev/overview.md b/website/i18n/pt/docusaurus-plugin-content-docs/current/dev/overview.md new file mode 100644 index 000000000000..b58f79d380b7 --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/dev/overview.md @@ -0,0 +1,179 @@ +--- +title: Estendendo phpBB SiteMaker +sidebar_position: 1 +--- + +Você pode estender/modificar o phpBB SiteMaker usando [substituição de serviço](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [decoração de serviço](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration)e [sistema de eventos do phpBB](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Você pode encontrar uma lista dos eventos suportados [aqui](./events.md). + +## Criando um bloco SiteMaker + +Um bloco do phpBB SiteMaker é simplesmente uma classe que estende a classe blitze\sitemaker\services\blocks\blocks\block e retorna uma matriz do método "display" com um 'title' e 'content'. Tudo o resto entre nós é com você. Para tornar seu bloco detectável pelo phpBB SiteMaker, você precisará fornecer-lhe a tag "sitemaker.block". + +Diga que temos uma extensão com o fornecedor / extensão como meu/exemplo. Para criar um bloco chamado "my_block" para o phpBB SiteMaker: + +- Criar uma pasta "blocos" +- Crie o arquivo my_block.php na pasta de blocos com o seguinte conteúdo + +```php +namespace meu\exemplo\blocks; + +use blitze\sitemaker\services\blocks\driver\block; + +class my_block estende o bloco +{ + /** + * {@inheritdoc} + */ + função pública display(array $settings, $edit_mode = false) + { + return array( + 'title' => 'meu título de bloco', + 'conteúdo' => 'conteúdo do meu bloco', + ); + } +} +``` + +Então no arquivo config.yml, adicione o seguinte: + +```yml +serviços: + +... + + my.example.block.my_block: + class: meu\example\blocks\my_block + chamadas: + - [set_name, [my.example.block.my_block]] + tags: + - { name: sitemaker.block } + +... + +``` + +No mínimo, isso é tudo que você precisa. Se você entrar no modo de edição, deverá ver o bloco listado como 'MY_EXAMPLE_BLOCK_MY_BLOCK' que pode ser arrastado e solto em qualquer posição de bloco. Mas esse bloco não faz nada excitante. Não tem configurações e não traduz o nome do bloco. Vamos fazer isso mais interessante. + +### Configurações do Bloco + +Vamos modificar nossos blocos/meu_block. arquivo hp e adicione um método "get_config" em retorna uma matriz com as teclas sendo as configurações do bloco e os valores sendo um array descrevendo as configurações da seguinte forma: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Only show when option 1 is selected
'), + ); + } +``` + +Isso é construído da mesma forma que o phpBB compila a configuração para as configurações do board nos ACP. Você pode ver mais exemplos [aqui](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Se você quiser um tipo de campo personalizado, você pode ver um exemplo [aqui](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' setting). + +Observe 'legenda1' e 'legenda2': Elas são usadas para separar as configurações em guias. + +### Blocos de Nomes + +A convenção para nomes de blocos é que o nome do serviço (ex. meu.exemplo.block. y*bloco acima) será usado como a chave de idioma, substituindo os pontos (.) pelo underscore (*) (por exemplo, MY_EXAMPLE_BLOCK_MY_BLOCK_BLOCK). + +### Tradução + +Observe também que temos várias chaves de idioma que precisam ser traduzidas. Para fazer isso, crie um arquivo chamado "blocks_admin.php" em sua pasta de idioma. Este arquivo será carregado automaticamente durante a edição de blocos e deve ter traduções para as suas configurações de blocos e nomes de blocos. + +``` +$lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Opção 1', + 'OTHER_LANG_VAR' => 'Opção 2', + 'SOME_LANG_VAR_1' => 'Configuração 1', +.... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Meu Bloco', +); +``` + +Como 'blocks_admin.php' só é carregado ao editar blocos, você precisará adicionar outras traduções (por exemplo, bloco título) carregando um arquivo de idioma em seu método de exibição como tal `$language->add_lang('my_lang_file', 'meu/exemplo');` + +### Renderizando o bloco + +O novo bloco só será exibido se ele estiver renderizando algo. Seu bloco pode retornar qualquer string como conteúdo, mas, na maioria dos casos, você precisa de um template para renderizar seu conteúdo. Para renderizar seu bloco usando modelos, o bloco deve retornar um array que contém os dados que você deseja passar para o template e também deve implementar o método `get_template` como demonstrado abaixo: + +```php + /** + * @inheritdoc + */ + function pública get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + array de retorno( + 'legenda1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'caixa de seleção', 'opções' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + função pública get_template() + { + return '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + display de função pública(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // faz algo apenas no modo de edição + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'dados' => matriz( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Então o arquivo de estilos/all/my_block.html ou estilos/prosilver/my_block.html pode parecer algo como isto: + +``` +

Você selecionou: {{ some_var }}

+``` + +Em resumo, seu bloco deve retornar uma matriz com uma `chave de título` (para o título do bloco) e uma `chave de conteúdo` (se o bloco apenas exibir uma string e não usa um template) ou uma chave `data` (se o bloco usar um template, em que caso, você também precisará implementar o método `get_template`). + +### Bloquear Ativos + +If your block needs to add assets (css/js) to the page, I recommend using the sitemaker [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) for that. Como pode haver mais de uma instância do mesmo bloco na página, ou outros blocos podem estar adicionando o mesmo recurso, a classe de util garante que o ativo é apenas adicionado. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some s', + 100 => '@meu_exemplo/ativos/outros. s', // defina prioridade + ), + 'css' => array( + '@meu_exemplo/ativos/alguns. ss', + ) +)); +``` + +A classe util precisará, é claro, ser adicionada às suas definições de serviço em config.yml assim: `- '@blitze.sitemaker. até` e definido no construtor do seu bloco `\blitze\sitemaker\services\util $util`. + +E é isso. Estamos prontos! diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/dev/theming.md b/website/i18n/pt/docusaurus-plugin-content-docs/current/dev/theming.md new file mode 100644 index 000000000000..508722e1da26 --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/dev/theming.md @@ -0,0 +1,62 @@ +--- +title: Temas +sidebar_position: 3 +--- + +Entendemos que os arquivos de template e JS/CSS não funcionarão para todos os estilos, portanto, abaixo estão algumas maneiras de usar seus próprios templates e criar arquivos JS/CSS para seu estilo específico. + +## Usando o seu próprio modelo + +Se os templates padrão que vêm com o phpBB Sitemaker não funcionarem bem para o seu estilo em particular, você pode facilmente substituí-lo para usar o próprio arquivo de template, criando o arquivo correspondente na pasta de estilos. + +Por exemplo, diz que o seu estilo é chamado de `Backlash` e tem uma maneira particular de estruturar o HTML para a seção de cabeçalho do bloco para a visão de [boxed](/docs/user/blocks/block-views). Você pode substituir esse modelo em particular criando um arquivo pelo mesmo nome assim: `phpBB/ext/blitze/sitemaker/styles/Backlash/template/views/boxed_view.twig`. + +Em outras palavras, para usar seu próprio arquivo de template, você precisa: +* Identificar qual arquivo do phpBB Sitemaker precisa ser substituído +* Crie um arquivo pelo mesmo nome na pasta `estilos` do Sitemaker sob seu nome de estilo + +> Nota: Se você criar seus próprios arquivos de template, certifique-se de não excluir a pasta `phpbb/ext/blitze/sitemaker` quando atualizar a extensão como seus arquivos personalizados serão excluídos. Em vez disso, basta sobrescrever os arquivos existentes com os novos. + +## Criando arquivos JS/CSS para seu estilo + +Nota: +* Para propósito das instruções abaixo, assumimos que você tem um estilo chamado meu-estilo. + +Clonar em phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Da linha de comando vá para o diretório sitemaker: + + cd phpBB/ext/blitze/sitemaker + +**Instalar fornecedores** + + instalar compositor + +**Instalar pacotes** + +Para os comandos abaixo você pode usar o npm ou o [yarn](https://yarnpkg.com) + + instalar Yarn + +**Ver alterações** + + yarn start --theme meu-estilo + +**Fazer alterações** + +* Faça suas alterações nos arquivos na pasta phpBB/ext/blitze/sitemaker/desenvolver. +* Veja o phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss para variáveis de sass + +**Compilar ativos** + + yarn build --theme meu-estilo + +**Implantar** + +Agora você pode copiar os arquivos gerados do phpBB/ext/blitze/sitemaker/styles/meu-estilo e enviá-los para o seu servidor de produção. + +> Esta extensão usa jQuery UI para abas, diálogos e botões. O tema padrão do jQuery é 'suave'. Você pode usar um tema jQuery UI diferente que melhor se encaixa ao seu tema. Você pode especificar o tema da UI do jQuery usando a flag --jq_ui_theme. Por exemplo: + + yarn build --theme meu-style --jq_ui_theme ui-lightness diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/intro/_category_.json b/website/i18n/pt/docusaurus-plugin-content-docs/current/intro/_category_.json new file mode 100644 index 000000000000..7b17860be35e --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/intro/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Primeiros passos", + "position": 1 +} diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/intro/installation.md b/website/i18n/pt/docusaurus-plugin-content-docs/current/intro/installation.md new file mode 100644 index 000000000000..480d1fc224b7 --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/intro/installation.md @@ -0,0 +1,16 @@ +--- +title: "Instalando / Atualizando" +sidebar_position: 2 +--- + +Baixar a extensão de [aqui](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker +* Extraia e envie-o para a pasta phpBB/ext/ para que você tenha phpBB/ext/blitze/sitemaker +* Vá para "ACP" > "Personalizar" > "Extensões" e ative a extensão "phpBB Sitemaker". + +## Atualizando o site phpBB SiteMaker +* Crie um backup do seu banco de dados caso algo dê errado +* Vá para "ACP" > "Personalizado" > "Extensões" e desabilite (do zero) "phpBB Sitemaker" +* Baixe e extraia a versão mais recente do phpBB SiteMaker e envie para a sua pasta phpBB/ext/ (sobrescrever) +* Vá para "ACP" > "Personalizar" > "Extensões" e ative a extensão "phpBB Sitemaker". diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/intro/introduction.md b/website/i18n/pt/docusaurus-plugin-content-docs/current/intro/introduction.md new file mode 100644 index 000000000000..213be5ef48df --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/intro/introduction.md @@ -0,0 +1,6 @@ +--- +title: Introdução +sidebar_position: 1 +--- + +phpBB SiteMaker procura transformar a sua seção phpBB em um portal CMS/CMS. Isso é feito fornecendo blocos e menus para ajudá-lo a personalizar seu site de acordo com o seu gosto. Existem ou será outras extensões do SiteMaker que oferecem funcionalidades adicionais para atingir esse objetivo. Ele também permite que você defina uma página inicial quando seu site for acessado. Então, se você não quiser que os visitantes do seu site vejam imediatamente o fórum do phpBB quando forem para o www. nosso site.com, você pode definir sua própria página inicial. diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/user/_category_.json b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/_category_.json new file mode 100644 index 000000000000..f115c841b2dd --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Manual do Usuário", + "position": 2 +} diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/user/blocks/_category_.json b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/blocks/_category_.json new file mode 100644 index 000000000000..78143727ba3d --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/blocks/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "blocos", + "position": 1 +} diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/user/blocks/block-views.md b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/blocks/block-views.md new file mode 100644 index 000000000000..e6b57919f3e9 --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/blocks/block-views.md @@ -0,0 +1,6 @@ +--- +title: Visualizações do Bloco +sidebar_position: 2 +--- + +Trabalho em andamento... \ No newline at end of file diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md new file mode 100644 index 000000000000..2b3fd97ed706 --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md @@ -0,0 +1,24 @@ +--- +title: Bloco personalizado +sidebar_position: 4 +--- + +Se os blocos disponíveis não lhe derem a liberdade de que precisa. existe o `Bloco Customizado` que lhe permite exibir seu próprio conteúdo usando BBcode ou HTML. O bloco vem com um editor WYSIWYG (TinyMCE) e um gerenciador de scripts: + +## O editor + +- Você pode usar o editor para criar conteúdo HTML +- Você pode editar o código fonte se você precisar desse nível de controle clicando no ícone do
Código Fonte `(<>`) no editor +- O editor permite que você envie e modifique imagens + - Cria uma nova pasta no phpBB/images/sitemaker_uploads/ para todos os usuários que têm acesso a ela + - Você pode ver/gerenciar todas as pastas do usuário +- O editor filtra quaisquer scripts potencialmente perigosos como javascript, etc. Se você precisar adicionar conteúdo como anúncios do google, o javascript será filtrado, mas você pode contornar isso fazendo o seguinte: + - Adicione o bloco personalizado ao local desejado + - Edite o Bloco Personalizado, clique na aba `HTML` e cole o seu Javascript + +## O Gerenciador de Scripts + +O Bloco Personalizado também permite que você adicione arquivos CSS e Javascript personalizados à sua página. Para fazer isso: + +- Adicione um `Bloco Personalizado` a qualquer posição do bloco. A posição não importa a menos que você também esteja exibindo conteúdo com o bloco +- Edite o bloco, clique na guia `Scripts` e adicione seus arquivos CSS ou Javascript > Cuidado: Adicionar a vários scripts em sua página pode afetar os tempos de carregamento diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md new file mode 100644 index 000000000000..422fedd82592 --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md @@ -0,0 +1,51 @@ +--- +title: Mananaging Blocks +sidebar_position: 3 +--- + +Para gerenciar os blocos no phpBB SiteMaker, você precisa estar no [Modo de Edição](./overview#edit-mode). + +> Quando um bloco não exibe nenhum conteúdo, ele não será exibido, exceto no modo de edição. Dessa forma, você pode ou dar-lhe conteúdo (no caso do bloco Personalizado) ou alterar suas configurações. + +> No modo de edição, os blocos um pouco transparentes são blocos que, de outra forma, não serão exibidos, mas estão sendo exibidos apenas porque estamos no modo de edição + +## Adicionando blocos +Você pode adicionar blocos a qualquer página frontal, exceto ao Painel de Controle do Usuário e Painel de Controle do Moderador. Para adicionar um bloco, você precisará: +* clique em **Blocos** na barra Admin. Isto irá exibir uma lista de blocos disponíveis +* Arraste e solte o bloco desejado para qualquer posição de bloco + +## Editando blocos +### Adicionando um ícone de bloco +À esquerda do título do bloco (prosilver), há uma caixa para o ícone do bloco. Clique nesta caixa para obter a seleção de ícone. Você pode selecionar o tamanho do ícone, cor, flutuação, rotação, etc. + +### Editando o título do bloco +Os blocos phpBB SiteMaker terão um título padrão, traduzido mas se o título não atender às suas necessidades, você pode alterá-lo. Para editar o título do bloco, +* Clique no título do bloco para obter um formulário de edição embutido +* Altere o título para o que quiser +* Remover o foco do campo ou aperte enter para submeter alterações + +> Seu título de bloco modificado não foi traduzido + +> Para reverter para o título padrão, exclua simplesmente o título e aperte enter + +### Editando configurações do bloco +Quando você passar o mouse sobre um bloco, um ícone de cog aparecerá à direita do bloco que pode ser usado para editar o bloco. Na caixa de diálogo Editar o bloco você pode: +- Ativar/desativar um bloco [Status] +- Escolha quando o bloco deve/não deve ser exibido [Display]. Isso só se aplica nos casos em que você tenha páginas aninhadas (veja [Compreensão de Herança de Bloco](/docs/user/site/block-inheritance)): + - **Sempre**: exibir sempre o bloco + - **Ocultar em rotas filhas**: Apenas mostrar este bloco na rota principal + - **Mostrar apenas as rotas filhas**: Mostrar este bloco em uma rota filha +- Escolha quais grupos de usuários podem ver o bloco [Visível por]. Use CTRL + clique para selecionar múltiplos grupos. +- Defina classes personalizadas para modificar a aparência do bloco ou itens (listas, imagens, fundo, etc.) dentro do bloco [Classe CSS] +- Mostrar/ocultar o título do bloco [Ocultar título do bloco?] +- Selecione a vista de bloco [Visualização de bloco]. Você pode selecionar uma visualização de bloco padrão quando novos blocos são adicionados em ACP. + - **Padrão / Simples**: usa a classe de painel da próprata para encapsular o bloco em um container preenchido + - **Básico**: bloco não tem nenhum container embrulhado + - **Boxed**: usa a classe de prosilver forabg para encapsular o bloco em uma caixa +- Definir / Atualizar configurações específicas do bloco +- Se você tiver o mesmo bloco com as mesmas configurações em múltiplas páginas, Você pode atualizar todos eles de uma vez, verificando os **blocos de atualização com configurações similares** + +## Excluindo blocos +- Passe o mouse sobre o bloco que deseja excluir +- Clique no ícone **x** e confirme que você deseja excluir o bloco +- Vá até a barra de administração e clique em `Salvar Mudanças` diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/user/blocks/overview.md b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/blocks/overview.md new file mode 100644 index 000000000000..8bcb45997178 --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/blocks/overview.md @@ -0,0 +1,9 @@ +--- +title: O que são blocos? +sidebar_position: 1 +--- + +No âmago do phpBB SiteMaker está o conceito de blocos. Blocos são pequenos pedaços de conteúdo que você pode colocar em diferentes áreas pré-definidas (posições de blocos) em seu site. Os blocos normalmente terão configurações que você pode definir/alterar para ajustar o conteúdo que você deseja exibir. A maioria dos blocos, mas nem todos, fará consultas de banco de dados para obter o conteúdo desejado. Então não vamos ficar loucos demais :). Para gerenciar os blocos, você precisará alternar para "modo de edição". + +## Modo de edição +Alterne para o modo de edição clicando no ícone do lápis no canto superior direito do seu site. Isto irá exibir a "Barra de Admin" com "Blocos" e "Configurações" do menu. Isto é referido como estando no "modo de edição". diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/user/menus/_category_.json b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/menus/_category_.json new file mode 100644 index 000000000000..4259794d53ee --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/menus/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Menus", + "position": 2 +} diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md new file mode 100644 index 000000000000..f04cec78c3c0 --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md @@ -0,0 +1,15 @@ +--- +title: Exibindo Menus +sidebar_position: 3 +--- + +Agora que você criou seus menus, você pode exibi-los de várias maneiras: + +## Bloco de links +Você pode usar este bloco para exibir uma lista plana ou aninhada de itens de menu. Este bloco não se destina a ser usado para navegação, ou seja, não irá mostrar uma página atual ou nada parecido. Destina-se a uma lista de itens, incluindo links externos. + +## Bloco de menus +Este bloco é destinado à navegação no site. Ele faz alguns cálculos adicionais para determinar a localização atual e não pretende ser uma lista muito grande. + +## Barra de navegação +Semelhante ao bloco Menus, a barra de navegação exibirá os itens de menu como um menu suspenso responsivo destinado a navegação do site. Você pode ativar isto em ACP > Extensões > Sitemaker > Configurações > Menu Seletor diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md new file mode 100644 index 000000000000..d110e7c88b5a --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md @@ -0,0 +1,30 @@ +--- +title: Gerenciando itens de menu +sidebar_position: 2 +--- + +Seu menu é inútil a menos que tenha itens de menu. Você pode adicionar itens de menu que apontem para arquivos locais ou externos. + +> A URL para sites externos deve começar com http(s)://, ftp://, //, etc. + +> Você pode criar um divisor digitando '-' como o título do item + +## Adicionando itens de menu +Você pode adicionar um item de menu de cada vez, ou você pode adicionar vários itens de menu. + +### Adicionando itens de menu único +Para adicionar um único item de menu, +* clique no botão `Adicionar Item de Menu` +* Preencha as informações necessárias e aperte `Salvar` + +### Adicionando múltiplos itens +Para adicionar vários itens de menu de uma só vez, +* Clique no ícone da seta para baixo ao lado de `Adicionar Item de Menu` +* Você pode adicionar itens manualmente colocando cada item em uma nova linha e usando o ninho de itens da aba ou +* Você pode clicar em uma das opções fornecidas na parte inferior da caixa de texto para preencher automaticamente os itens do menu + +## Reordenar os itens do menu +Você pode arrastar e soltar os itens de menu para cima/baixo para definir sua ordem de exibição, ou arrastá-los para a esquerda/direita para definir a hierarquia desejada. + +## Reconstruir os itens do menu +Se você achar que os itens de menu não estão sendo exibidos corretamente, clique no botão `Reconstruir a Árvore` para reconstruir os itens de menu. diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md new file mode 100644 index 000000000000..191022877d09 --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md @@ -0,0 +1,24 @@ +--- +title: Gerenciando Menus +sidebar_position: 1 +--- + +Você pode criar menus nos ACP que você pode exibir usando os blocos Menus ou Links ou exibidos como uma barra de navegação horizontal. + +## Gerenciando Menus + +Para gerenciar menus, vá para ACP > Extensões > Sitemaker > Menu + +### Criando menus +Para criar um novo menu (grupo), clique no botão `Adicionar Menu`. Um novo grupo de menu será criado com um nome gerado aleatoriamente. O novo menu também será selecionado para que você possa começar a adicionar itens de menu a ele. + +### Editando Menus +Se você quer um nome de menu mais significativo, +* passe o mouse sobre o nome do menu e clique no ícone da engrenagem +* digite o novo nome do menu e pressione enter para atualizá-lo + +### Excluindo menus +Para excluir um menu, e seus itens, +* Passe o mouse sobre o nome do menu e clique no ícone **x** +* Se o item de menu não tem itens filhos, você precisará confirmar sua escolha para excluir o item +* Se o item de menu tiver itens filhos, você precisará indicar se você deseja excluir apenas o item e mover seus filhos para cima ou se você deseja excluir a branch inteira diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/user/site/_category_.json b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/site/_category_.json new file mode 100644 index 000000000000..555bf780041e --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/site/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Construindo seu site", + "position": 3 +} diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md new file mode 100644 index 000000000000..b7f41af1a129 --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md @@ -0,0 +1,47 @@ +--- +title: Bloco herança +sidebar_position: 5 +--- + +Já vimos isso definindo um layout padrão, outras páginas que não possuem blocos próprios herdarão os blocos do layout padrão. Existe, no entanto, um outro tipo de herança de blocos. + +## Rotas pai/filho +No phpBB SiteMaker, falamos de rotas aninhadas em termos de diretórios (sub) aninhados ou caminhos/rotas virtualmente aninhadas. Por favor, fique comigo :). +* Rotas reais pasta/filho: Por exemplo, o caminho /some_directory/sub_directory/index.php é filho de /some_directory/index.php +* Rotas virtuais pasta/filho: Por exemplo, viewtopic.php é tratado como um filho de viewforum.php. + +Aqui estão alguns exemplos de rotas parentais/filho: + +| Antecessor | Filho(a) | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/artigos | /app.php/articles/meu-artigo | + +## Herança do Bloco Pai/Criança +Para rotas pai/filho, a rota filho herda os blocos da rota pai (se o pai tiver seus próprios blocos) ou do layout padrão (se uma foi definida). Em outras palavras, mesmo que haja um layout padrão, a rota filho herdará blocos da rota pai se a rota pai tiver seus próprios blocos. Mas nem todos os blocos da rota pai devem ser herdados. + +## Controlando Herança de Blocos +A nível de blocos, você pode controlar quando um bloco pode ser herdado por rotas filhas. Nós tocamos nisso anteriormente na [Edição das Configurações do Bloco](/docs/user/blocks/managing-blocks#editing-block-settings). + +Considere a seguinte estrutura real de diretórios: +```text +phpBB +── index.php +── filmes/ + ── index.php + ── page.php + ├── page.php + ── Comedy/ + ── index.php +``` + +Para fins de herança de blocos, dizemos: +* A rota principal do /phpBB/Movies/Comedy/index.php é /phpBB/Movies/index.php e não /phpBB/Movies/page.php +* Todas as páginas em um sub-diretório relativo ao /phpBB/index.php são uma rota filha do /phpBB/index.php. Então /phpBB/Movies/index.php e /phpBB/Movies/page.php são filhos de /phpBB/index.php e, portanto, herdarão seus blocos se não tiverem blocos próprios. Neste caso: + * Quando um bloco do /phpBB/index.php está definido para ser exibido em **Ocultar em rotas filhas**, o bloco será exibido em /phpBB/index. hp (rota pai) mas não em suas rotas filhas + * Quando um bloco do /phpBB/index.php está definido para ser exibido em **Mostrar somente em rotas filhas**, ele será exibido em /phpBB/Movies/index. hp e /phpBB/Movies/page.php (rotas filhas) mas não em /phpBB/index.php (pai), nem em /phpBB/Movies/Comedy/index.php (nós só usamos um nível de profundidade) + * Quando um bloco no /phpBB/index.php está configurado para exibir **sempre** (padrão), ele será exibido em /phpBB/index. hp (principal), /phpBB/Movies/index.php e /phpBB/page.php (rotas filhas) mas não em /phpBB/Movies/Comedy/index.php (só vamos a um nível de profundidade). Neste caso, /phpBB/Movies/Comedy/index.php herdará da rota padrão (se existir) + +## Estado futuro possível +Estou muito interessado em seu feedback nesta área. A maioria dos usuários do phpBB não terão diretórios reais conforme descrito acima. Então estou pensando em usar a estrutura definida em um bloco de menu como uma estrutura virtual de diretórios e aplicar esta herança pai ou filho a ela. Também estou pensando em ir além de um nível de profundidade. Por favor, deixe-me saber se isso será útil para você. \ No newline at end of file diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md new file mode 100644 index 000000000000..94ec9de30650 --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md @@ -0,0 +1,6 @@ +--- +title: Personalizando exibição de blocos +sidebar_position: 6 +--- + +Trabalho em andamento... \ No newline at end of file diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/user/site/default-layout.md b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/site/default-layout.md new file mode 100644 index 000000000000..033c7bb202d3 --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/site/default-layout.md @@ -0,0 +1,21 @@ +--- +title: Definindo um Layout Padrão +sidebar_position: 4 +--- + +Quando você adiciona um bloco, ele é adicionado a essa página específica. Por conseguinte, seria uma tarefa tediosa estabelecer blocos para todas as páginas do seu site. Você pode definir todos os blocos desejados para uma determinada página e, em seguida, definir essa página como o layout padrão. Em outras palavras, qualquer página que não tenha seus próprios blocos, herdará blocos desta página. + +Para definir um layout padrão +* Vá para a página que você gostaria de definir como layout padrão +* Clique em `Configurações` na barra de administração +* Clique no botão `Definir como layout` padrão + +Digamos que adicionamos blocos a uma página (phpBB/index.php) com blocos na barra lateral e nas posições principais, por exemplo, e definimos como nosso layout padrão. Isto tem os seguintes efeitos para outras páginas: +* Qualquer página que não tiver seus próprios blocos, herdará os blocos do layout padrão. Veja [Compreender a herança de blocos](/docs/user/site/block-inheritance) para exceções. +* Você ainda pode herdar blocos de um layout padrão (índice. hp) mas escolha não exibir blocos em algumas posições de bloco ou não exibir nenhum bloco. Para fazer isso, + * Vá para a página que você não quer que todos/alguns blocos sejam exibidos + * Clique em `Configurações` na barra de administração + * Selecione `Não mostrar blocos nesta página` se você não quiser herdar / exibir nenhum bloco nesta página OU + * Use CTRL + clique para selecionar as posições do bloco (à direita) onde você não deseja exibir os blocos em +* No `modo de edição`, uma página que herda os blocos do layout padrão, não mostrará nenhum bloco, dando-lhe a oportunidade de adicionar blocos à página, se você quiser +* Qualquer página que tenha seus próprios blocos não herdará do layout padrão diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/user/site/layouts.md b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/site/layouts.md new file mode 100644 index 000000000000..4e5ea25db4f3 --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/site/layouts.md @@ -0,0 +1,31 @@ +--- +title: Layouts +sidebar_position: 1 +--- + +"Layouts" determinam as posições de blocos disponíveis e como elas são exibidas. + +## Posições do Bloco +Posições do bloco são áreas predefinidas em seu site onde blocos podem existir. As posições de blocos disponíveis são determinadas pelo estilo de modelo que você está usando. Para prosilver, phpBB SiteMaker vem com as seguintes posições de bloco: +* painel: largura total através do topo +* barra lateral: esquerda/direita dependendo do layout abaixo +* subconteúdo: similar à barra lateral maior +* top_hor: blocos horizontais no topo, flanqueando acima da barra lateral/subconteúdo dependendo do layout +* topo: acima do conteúdo principal +* caixa: largura igual, blocos horizontais abaixo do conteúdo principal +* abaixo: abaixo do conteúdo principal +* bottom_hor: blocos horizontais na parte inferior, flanqueando a barra lateral/subconteúdo dependendo do layout +* rodapé: blocos horizontais no rodapé Você pode adicionar mais posições de blocos em seus próprios modelos de estilo copiando e modificando os correspondentes modelos phpBB SiteMaker + +## Layout do site +Você pode escolher o layout para o seu site em ACP (Extensões > Sitemaker > Configurações): +* **Blog**: subcontent e sidebar lado a lado, empurrado para a direita, de topo_hor/botom_hor subconteúdo de flank +* **Grau Sagrada**: barra lateral de largura igual e subconteúdo nos lados opostos, top_hor/botom_hor flank subcontent +* **Portal**: barra lateral à esquerda, subconteúdo à direita, top_hor/botom_hor flank subcontent +* **Portal Alternativo**: subconteúdo à esquerda, barra lateral à direita, top_hor/botom_hor sidebar +* **Personalizado**: Definir manualmente a largura das barras laterais como px, %, em ou h. O padrão é 200px em cada lado + +## Temas/estilos personalizados +Tanto quanto possível, nós tentamos colocar arquivos de template e assets em estilos/todos/ pastas para que você possa substituí-los criando um arquivo com o mesmo nome sob o seu próprio tema de template. . prosilver. Portanto, se você quiser modificar a forma como um determinado bloco é exibido ou se você quiser criar seu próprio layout com suas próprias posições de bloco, você precisa simplesmente criar um arquivo com o mesmo nome e caminho do original no seu próprio estilo. + +Se você precisar customizar arquivos CSS/JS, dê uma olhada na seção [de temas](/docs/dev/theming). \ No newline at end of file diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/user/site/navbar.md b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/site/navbar.md new file mode 100644 index 000000000000..d2ac40d91a89 --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/site/navbar.md @@ -0,0 +1,6 @@ +--- +title: Barra de Navegação +sidebar_position: 2 +--- + +Ver [Exibir Menus](/docs/user/menus/displaying-menus#navigation-bar) diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/user/site/startpage.md b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/site/startpage.md new file mode 100644 index 000000000000..2069c1358b4e --- /dev/null +++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/user/site/startpage.md @@ -0,0 +1,11 @@ +--- +title: Configurando uma página inicial +sidebar_position: 3 +--- + +phpBB SiteMaker permite que você escolha qualquer controlador frontal (páginas acessadas via app.php/... como sua página inicial padrão (a página que será mostrada quando alguém visita o seu site) em vez do índice do fórum. + +Para fazer isso: +* Vá para a página que você deseja definir como página inicial padrão +* Clique em `Configurações` na barra de administração. Se é uma página elegível, você verá um botão `Definir como página inicial` +* Clique no botão `Definir como página inicial` \ No newline at end of file diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/contrib/_category_.json b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/contrib/_category_.json new file mode 100644 index 000000000000..023c114dcd48 --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/contrib/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Contribuir", + "position": 4 +} diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/contrib/overview.md b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/contrib/overview.md new file mode 100644 index 000000000000..9b69cddeafa7 --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/contrib/overview.md @@ -0,0 +1,11 @@ +--- +title: Envolva-se +sidebar_position: 1 +--- + +phpBB SiteMaker é um projeto de código aberto e agradece suas ideias e contribuições. Por isso, sinta-se livre para participar. Você pode contribuir para este projeto por: + +* [Fornecendo suporte/feedback](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Relatando erros](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Ajudar com a tradução](./translators.md) +* [Corrigir bugs ou adicionar recursos](./pull-requests.md) diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/contrib/pull-requests.md b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/contrib/pull-requests.md new file mode 100644 index 000000000000..07aa6c18961d --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/contrib/pull-requests.md @@ -0,0 +1,65 @@ +--- +title: Enviando um Pull Request +sidebar_label: Pull Requests +--- + +`Pull requests permitem que você informe aos outros sobre as alterações que você fez push em um branch no repositório do GitHub. Quando um pull request for aberto, você pode discutir e rever as mudanças potenciais com colaboradores e adicionar commits de acompanhamento antes que suas alterações sejam mescladas na branch base.` [Leia mais](https://help.github.com/articles/about-pull-requests/) + +## Forking/Clonagem + +* Criar uma conta no github se você ainda não tiver uma +* Vá para https://github.com/blitze/phpBB-ext-sitemaker.git e clique em "Fork" + +Clone seu fork do repositório: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Da linha de comando vá para o diretório sitemaker: + + cd phpBB/ext/blitze/sitemaker + +**Configurar git:** + +Adicione seu nome de usuário ao Git no seu sistema: + + git config --global user.name "Seu Nome Aqui" + +Adicione seu endereço de e-mail ao Git no seu sistema: + + git config --add user.email username@phpbb.com + +Adicione o controle remoto do upstream (você pode mudar o 'upstream' para o que quiser): + + adicione git://github.com/blitze/phpBB-ext-sitemaker.git remotamente + +**Instalar fornecedores** + + instalar compositor + +**Instalar pacotes NPM** + + npm install + +Como alternativa, você pode usar o [yarn](https://yarnpkg.com): + + instalar Yarn + +## Pull Requests + + # Crie uma nova branch para o seu recurso & mude para ela + git check-b feature/my-fancy-new-feature + + # crie uma nova branch para a issue em que você está trabalhando * mudar para ela (ticket # é do github tracker) + git check-b ticket/1234 + +Faça suas alterações + + # Estágio + git add + + # Commit arquivos staged - por favor, use uma mensagem de commit + git commit -m "minha mensagem de commit" + +Faça um push do branch de volta ao GitHub git push out feature/meu-meu-novo-recurso + +Submeter um pull request [](https://github.com/blitze/phpBB-ext-sitemaker/pulls) diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/contrib/translators.md b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/contrib/translators.md new file mode 100644 index 000000000000..4e2a161b97f4 --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/contrib/translators.md @@ -0,0 +1,17 @@ +--- +title: Tradutores +sidebar_position: 2 +--- + +Precisamos de ajuda para traduzir essa extensão, bem como a sua documentação. Criamos um projeto no Crowdin para facilitar as traduções. Crowdin dá-lhe uma interface de tradução que não é igual a nenhuma. Você pode contribuir como sempre quer, mas realmente recomendamos usar o Crowdin. + +> O Crowdin é uma plataforma de gestão de localização que ajuda as empresas a traduzir o seu software. Você pode ler mais sobre o Crowdin [aqui](https://support.crowdin.com/crowdin-intro/) + +Se você estiver disposto a contribuir com as traduções, você precisará: + +* Uma conta no [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker). +* Escolha o idioma de destino se existir caso contrário o pedido para ser habilitado. + +Se o idioma desejado não estiver listado, [entre em contato comigo](https://crowdin.com/profile/blitze) e eu o adicionarei. + +[Iniciar tradução](https://crowdin.com/project/phpbb-ext-sitemaker) diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/dev/_category_.json b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/dev/_category_.json new file mode 100644 index 000000000000..be8ab78ae3fb --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/dev/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Guia do Desenvolvedor", + "position": 3 +} diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/dev/events.md b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/dev/events.md new file mode 100644 index 000000000000..76643c989e28 --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/dev/events.md @@ -0,0 +1,120 @@ +--- +title: phpBB SiteMaker Eventos +sidebar_position: 2 +--- + +Você pode modificar o comportamento do phpBB SiteMaker usando o sistema de eventos do phpBB. + +## Eventos PHP + +### blitze.sitemaker.acp_adicionar_opções_de_menu_bulk + +- Localização: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Desde: 3.1.0 +- Objetivo: Adicionar opções de menu em massa no menu acp + +### blitze.sitemaker.acp_form_de_configurações_do_site + +- Localização: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Desde: 3.1.0 +- Formulário de configurações do acp (sitemaker) + +### blitze.sitemaker.acp_salvar_configurações + +- Localização: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Desde: 3.1.0 +- Purpose: Salvar configurações do acp (sitemaker) + +### blitze.sitemaker.admin_bar.set_assets + +- Localização: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Desde: 3.0.1-RC1 +- Carteira: Adicionar ativos para blocos disponíveis no modo de edição + +### blitze.sitemaker.momodifique_posição_de_blocos + +- Localização: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Desde: 3.0.1-RC1 +- Purpo: Modificar posições do bloco + +### blitze.sitemaker.modify_rendered_block + +- Localização: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Desde: 3.0.1-RC1 +- Purpo: Modifica um bloco renderizado + +## Eventos de Modelo + +### blitze_sitemaker_acp_settings + +- Localização: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Desde: 3.1.0 +- Purpo: Adicionar campos de formulário para configurações do sitemaker + +### blitze_sitemaker_barra_anexar + +- Localização: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Desde: 3.1.0 +- Carteira: Adicionar itens de menu na barra de administração + +### blitze_sitemaker_templates + +- Localização: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Desde: 3.1.0 +- Purpose: Adicionar arquivos de modelo a serem usados em JS para exibições de blocos, etc + +## Eventos de Javascript + +### blitze_sitemaker_layout_saved + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Desde: 3.1.2 +- Carteira: Evento para permitir que outras extensões façam algo quando as alterações no layout são salvas + +### blitze_sitemaker_render_block_antes + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Desde: 3.1.2 +- Purpo: O evento permite que outras extensões façam algo antes que o bloco seja renderizado ou impeça que ele seja re-renderizado + +### blitze_sitemaker_render_block_after + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Desde: 3.1.2 +- Purpo: O Evento para permitir que outras extensões façam algo após o bloco é renderizado + +### blitze_sitemaker_salvar_bloco_antes + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Desde: 3.1.2 +- Purpo: Evento para permitir que outras extensões modifiquem dados do bloco antes de serem salvos + +### blitze_sitemaker_mostrar_todas_as_posição_de_blocos + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Desde: 3.1.2 +- Purpo: Evento para permitir que outras extensões façam algo quando todas as posições de blocos forem mostradas + +### blitze_sitemaker_hide_empty_posição_de_bloco_ + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Desde: 3.1.2 +- Purpo: Evento para permitir que outras extensões façam algo quando posições vazias estiverem ocultas + +### blitze_layouker_de_site_limpo + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Desde: 3.1.2 +- Carteira: Evento para permitir que outras extensões façam algo quando o layout estiver limpo + +### blitze_sitemaker_layout_atualizado + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Desde: 3.1.2 +- Carteira: Evento para permitir que outras extensões façam algo quando o layout é atualizado + +### opções_do_sitemaker_tinymce_blitze_site + +- Localização: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Desde: 3.3.0 +- Objetivo: Evento para permitir que outras extensões modifiquem opções de tinymce diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/dev/overview.md b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/dev/overview.md new file mode 100644 index 000000000000..b58f79d380b7 --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/dev/overview.md @@ -0,0 +1,179 @@ +--- +title: Estendendo phpBB SiteMaker +sidebar_position: 1 +--- + +Você pode estender/modificar o phpBB SiteMaker usando [substituição de serviço](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [decoração de serviço](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration)e [sistema de eventos do phpBB](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Você pode encontrar uma lista dos eventos suportados [aqui](./events.md). + +## Criando um bloco SiteMaker + +Um bloco do phpBB SiteMaker é simplesmente uma classe que estende a classe blitze\sitemaker\services\blocks\blocks\block e retorna uma matriz do método "display" com um 'title' e 'content'. Tudo o resto entre nós é com você. Para tornar seu bloco detectável pelo phpBB SiteMaker, você precisará fornecer-lhe a tag "sitemaker.block". + +Diga que temos uma extensão com o fornecedor / extensão como meu/exemplo. Para criar um bloco chamado "my_block" para o phpBB SiteMaker: + +- Criar uma pasta "blocos" +- Crie o arquivo my_block.php na pasta de blocos com o seguinte conteúdo + +```php +namespace meu\exemplo\blocks; + +use blitze\sitemaker\services\blocks\driver\block; + +class my_block estende o bloco +{ + /** + * {@inheritdoc} + */ + função pública display(array $settings, $edit_mode = false) + { + return array( + 'title' => 'meu título de bloco', + 'conteúdo' => 'conteúdo do meu bloco', + ); + } +} +``` + +Então no arquivo config.yml, adicione o seguinte: + +```yml +serviços: + +... + + my.example.block.my_block: + class: meu\example\blocks\my_block + chamadas: + - [set_name, [my.example.block.my_block]] + tags: + - { name: sitemaker.block } + +... + +``` + +No mínimo, isso é tudo que você precisa. Se você entrar no modo de edição, deverá ver o bloco listado como 'MY_EXAMPLE_BLOCK_MY_BLOCK' que pode ser arrastado e solto em qualquer posição de bloco. Mas esse bloco não faz nada excitante. Não tem configurações e não traduz o nome do bloco. Vamos fazer isso mais interessante. + +### Configurações do Bloco + +Vamos modificar nossos blocos/meu_block. arquivo hp e adicione um método "get_config" em retorna uma matriz com as teclas sendo as configurações do bloco e os valores sendo um array descrevendo as configurações da seguinte forma: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Only show when option 1 is selected
'), + ); + } +``` + +Isso é construído da mesma forma que o phpBB compila a configuração para as configurações do board nos ACP. Você pode ver mais exemplos [aqui](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Se você quiser um tipo de campo personalizado, você pode ver um exemplo [aqui](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' setting). + +Observe 'legenda1' e 'legenda2': Elas são usadas para separar as configurações em guias. + +### Blocos de Nomes + +A convenção para nomes de blocos é que o nome do serviço (ex. meu.exemplo.block. y*bloco acima) será usado como a chave de idioma, substituindo os pontos (.) pelo underscore (*) (por exemplo, MY_EXAMPLE_BLOCK_MY_BLOCK_BLOCK). + +### Tradução + +Observe também que temos várias chaves de idioma que precisam ser traduzidas. Para fazer isso, crie um arquivo chamado "blocks_admin.php" em sua pasta de idioma. Este arquivo será carregado automaticamente durante a edição de blocos e deve ter traduções para as suas configurações de blocos e nomes de blocos. + +``` +$lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Opção 1', + 'OTHER_LANG_VAR' => 'Opção 2', + 'SOME_LANG_VAR_1' => 'Configuração 1', +.... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Meu Bloco', +); +``` + +Como 'blocks_admin.php' só é carregado ao editar blocos, você precisará adicionar outras traduções (por exemplo, bloco título) carregando um arquivo de idioma em seu método de exibição como tal `$language->add_lang('my_lang_file', 'meu/exemplo');` + +### Renderizando o bloco + +O novo bloco só será exibido se ele estiver renderizando algo. Seu bloco pode retornar qualquer string como conteúdo, mas, na maioria dos casos, você precisa de um template para renderizar seu conteúdo. Para renderizar seu bloco usando modelos, o bloco deve retornar um array que contém os dados que você deseja passar para o template e também deve implementar o método `get_template` como demonstrado abaixo: + +```php + /** + * @inheritdoc + */ + function pública get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + array de retorno( + 'legenda1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'caixa de seleção', 'opções' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + função pública get_template() + { + return '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + display de função pública(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // faz algo apenas no modo de edição + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'dados' => matriz( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Então o arquivo de estilos/all/my_block.html ou estilos/prosilver/my_block.html pode parecer algo como isto: + +``` +

Você selecionou: {{ some_var }}

+``` + +Em resumo, seu bloco deve retornar uma matriz com uma `chave de título` (para o título do bloco) e uma `chave de conteúdo` (se o bloco apenas exibir uma string e não usa um template) ou uma chave `data` (se o bloco usar um template, em que caso, você também precisará implementar o método `get_template`). + +### Bloquear Ativos + +If your block needs to add assets (css/js) to the page, I recommend using the sitemaker [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) for that. Como pode haver mais de uma instância do mesmo bloco na página, ou outros blocos podem estar adicionando o mesmo recurso, a classe de util garante que o ativo é apenas adicionado. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some s', + 100 => '@meu_exemplo/ativos/outros. s', // defina prioridade + ), + 'css' => array( + '@meu_exemplo/ativos/alguns. ss', + ) +)); +``` + +A classe util precisará, é claro, ser adicionada às suas definições de serviço em config.yml assim: `- '@blitze.sitemaker. até` e definido no construtor do seu bloco `\blitze\sitemaker\services\util $util`. + +E é isso. Estamos prontos! diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/dev/theming.md b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/dev/theming.md new file mode 100644 index 000000000000..508722e1da26 --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/dev/theming.md @@ -0,0 +1,62 @@ +--- +title: Temas +sidebar_position: 3 +--- + +Entendemos que os arquivos de template e JS/CSS não funcionarão para todos os estilos, portanto, abaixo estão algumas maneiras de usar seus próprios templates e criar arquivos JS/CSS para seu estilo específico. + +## Usando o seu próprio modelo + +Se os templates padrão que vêm com o phpBB Sitemaker não funcionarem bem para o seu estilo em particular, você pode facilmente substituí-lo para usar o próprio arquivo de template, criando o arquivo correspondente na pasta de estilos. + +Por exemplo, diz que o seu estilo é chamado de `Backlash` e tem uma maneira particular de estruturar o HTML para a seção de cabeçalho do bloco para a visão de [boxed](/docs/user/blocks/block-views). Você pode substituir esse modelo em particular criando um arquivo pelo mesmo nome assim: `phpBB/ext/blitze/sitemaker/styles/Backlash/template/views/boxed_view.twig`. + +Em outras palavras, para usar seu próprio arquivo de template, você precisa: +* Identificar qual arquivo do phpBB Sitemaker precisa ser substituído +* Crie um arquivo pelo mesmo nome na pasta `estilos` do Sitemaker sob seu nome de estilo + +> Nota: Se você criar seus próprios arquivos de template, certifique-se de não excluir a pasta `phpbb/ext/blitze/sitemaker` quando atualizar a extensão como seus arquivos personalizados serão excluídos. Em vez disso, basta sobrescrever os arquivos existentes com os novos. + +## Criando arquivos JS/CSS para seu estilo + +Nota: +* Para propósito das instruções abaixo, assumimos que você tem um estilo chamado meu-estilo. + +Clonar em phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Da linha de comando vá para o diretório sitemaker: + + cd phpBB/ext/blitze/sitemaker + +**Instalar fornecedores** + + instalar compositor + +**Instalar pacotes** + +Para os comandos abaixo você pode usar o npm ou o [yarn](https://yarnpkg.com) + + instalar Yarn + +**Ver alterações** + + yarn start --theme meu-estilo + +**Fazer alterações** + +* Faça suas alterações nos arquivos na pasta phpBB/ext/blitze/sitemaker/desenvolver. +* Veja o phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss para variáveis de sass + +**Compilar ativos** + + yarn build --theme meu-estilo + +**Implantar** + +Agora você pode copiar os arquivos gerados do phpBB/ext/blitze/sitemaker/styles/meu-estilo e enviá-los para o seu servidor de produção. + +> Esta extensão usa jQuery UI para abas, diálogos e botões. O tema padrão do jQuery é 'suave'. Você pode usar um tema jQuery UI diferente que melhor se encaixa ao seu tema. Você pode especificar o tema da UI do jQuery usando a flag --jq_ui_theme. Por exemplo: + + yarn build --theme meu-style --jq_ui_theme ui-lightness diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/intro/_category_.json b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/intro/_category_.json new file mode 100644 index 000000000000..7b17860be35e --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/intro/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Primeiros passos", + "position": 1 +} diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/intro/installation.md b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/intro/installation.md new file mode 100644 index 000000000000..480d1fc224b7 --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/intro/installation.md @@ -0,0 +1,16 @@ +--- +title: "Instalando / Atualizando" +sidebar_position: 2 +--- + +Baixar a extensão de [aqui](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker +* Extraia e envie-o para a pasta phpBB/ext/ para que você tenha phpBB/ext/blitze/sitemaker +* Vá para "ACP" > "Personalizar" > "Extensões" e ative a extensão "phpBB Sitemaker". + +## Atualizando o site phpBB SiteMaker +* Crie um backup do seu banco de dados caso algo dê errado +* Vá para "ACP" > "Personalizado" > "Extensões" e desabilite (do zero) "phpBB Sitemaker" +* Baixe e extraia a versão mais recente do phpBB SiteMaker e envie para a sua pasta phpBB/ext/ (sobrescrever) +* Vá para "ACP" > "Personalizar" > "Extensões" e ative a extensão "phpBB Sitemaker". diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/intro/introduction.md b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/intro/introduction.md new file mode 100644 index 000000000000..213be5ef48df --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/intro/introduction.md @@ -0,0 +1,6 @@ +--- +title: Introdução +sidebar_position: 1 +--- + +phpBB SiteMaker procura transformar a sua seção phpBB em um portal CMS/CMS. Isso é feito fornecendo blocos e menus para ajudá-lo a personalizar seu site de acordo com o seu gosto. Existem ou será outras extensões do SiteMaker que oferecem funcionalidades adicionais para atingir esse objetivo. Ele também permite que você defina uma página inicial quando seu site for acessado. Então, se você não quiser que os visitantes do seu site vejam imediatamente o fórum do phpBB quando forem para o www. nosso site.com, você pode definir sua própria página inicial. diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/_category_.json b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/_category_.json new file mode 100644 index 000000000000..f115c841b2dd --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Manual do Usuário", + "position": 2 +} diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/blocks/_category_.json b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/blocks/_category_.json new file mode 100644 index 000000000000..78143727ba3d --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/blocks/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "blocos", + "position": 1 +} diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/blocks/block-views.md b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/blocks/block-views.md new file mode 100644 index 000000000000..e6b57919f3e9 --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/blocks/block-views.md @@ -0,0 +1,6 @@ +--- +title: Visualizações do Bloco +sidebar_position: 2 +--- + +Trabalho em andamento... \ No newline at end of file diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md new file mode 100644 index 000000000000..2b3fd97ed706 --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md @@ -0,0 +1,24 @@ +--- +title: Bloco personalizado +sidebar_position: 4 +--- + +Se os blocos disponíveis não lhe derem a liberdade de que precisa. existe o `Bloco Customizado` que lhe permite exibir seu próprio conteúdo usando BBcode ou HTML. O bloco vem com um editor WYSIWYG (TinyMCE) e um gerenciador de scripts: + +## O editor + +- Você pode usar o editor para criar conteúdo HTML +- Você pode editar o código fonte se você precisar desse nível de controle clicando no ícone do
Código Fonte `(<>`) no editor +- O editor permite que você envie e modifique imagens + - Cria uma nova pasta no phpBB/images/sitemaker_uploads/ para todos os usuários que têm acesso a ela + - Você pode ver/gerenciar todas as pastas do usuário +- O editor filtra quaisquer scripts potencialmente perigosos como javascript, etc. Se você precisar adicionar conteúdo como anúncios do google, o javascript será filtrado, mas você pode contornar isso fazendo o seguinte: + - Adicione o bloco personalizado ao local desejado + - Edite o Bloco Personalizado, clique na aba `HTML` e cole o seu Javascript + +## O Gerenciador de Scripts + +O Bloco Personalizado também permite que você adicione arquivos CSS e Javascript personalizados à sua página. Para fazer isso: + +- Adicione um `Bloco Personalizado` a qualquer posição do bloco. A posição não importa a menos que você também esteja exibindo conteúdo com o bloco +- Edite o bloco, clique na guia `Scripts` e adicione seus arquivos CSS ou Javascript > Cuidado: Adicionar a vários scripts em sua página pode afetar os tempos de carregamento diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md new file mode 100644 index 000000000000..422fedd82592 --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md @@ -0,0 +1,51 @@ +--- +title: Mananaging Blocks +sidebar_position: 3 +--- + +Para gerenciar os blocos no phpBB SiteMaker, você precisa estar no [Modo de Edição](./overview#edit-mode). + +> Quando um bloco não exibe nenhum conteúdo, ele não será exibido, exceto no modo de edição. Dessa forma, você pode ou dar-lhe conteúdo (no caso do bloco Personalizado) ou alterar suas configurações. + +> No modo de edição, os blocos um pouco transparentes são blocos que, de outra forma, não serão exibidos, mas estão sendo exibidos apenas porque estamos no modo de edição + +## Adicionando blocos +Você pode adicionar blocos a qualquer página frontal, exceto ao Painel de Controle do Usuário e Painel de Controle do Moderador. Para adicionar um bloco, você precisará: +* clique em **Blocos** na barra Admin. Isto irá exibir uma lista de blocos disponíveis +* Arraste e solte o bloco desejado para qualquer posição de bloco + +## Editando blocos +### Adicionando um ícone de bloco +À esquerda do título do bloco (prosilver), há uma caixa para o ícone do bloco. Clique nesta caixa para obter a seleção de ícone. Você pode selecionar o tamanho do ícone, cor, flutuação, rotação, etc. + +### Editando o título do bloco +Os blocos phpBB SiteMaker terão um título padrão, traduzido mas se o título não atender às suas necessidades, você pode alterá-lo. Para editar o título do bloco, +* Clique no título do bloco para obter um formulário de edição embutido +* Altere o título para o que quiser +* Remover o foco do campo ou aperte enter para submeter alterações + +> Seu título de bloco modificado não foi traduzido + +> Para reverter para o título padrão, exclua simplesmente o título e aperte enter + +### Editando configurações do bloco +Quando você passar o mouse sobre um bloco, um ícone de cog aparecerá à direita do bloco que pode ser usado para editar o bloco. Na caixa de diálogo Editar o bloco você pode: +- Ativar/desativar um bloco [Status] +- Escolha quando o bloco deve/não deve ser exibido [Display]. Isso só se aplica nos casos em que você tenha páginas aninhadas (veja [Compreensão de Herança de Bloco](/docs/user/site/block-inheritance)): + - **Sempre**: exibir sempre o bloco + - **Ocultar em rotas filhas**: Apenas mostrar este bloco na rota principal + - **Mostrar apenas as rotas filhas**: Mostrar este bloco em uma rota filha +- Escolha quais grupos de usuários podem ver o bloco [Visível por]. Use CTRL + clique para selecionar múltiplos grupos. +- Defina classes personalizadas para modificar a aparência do bloco ou itens (listas, imagens, fundo, etc.) dentro do bloco [Classe CSS] +- Mostrar/ocultar o título do bloco [Ocultar título do bloco?] +- Selecione a vista de bloco [Visualização de bloco]. Você pode selecionar uma visualização de bloco padrão quando novos blocos são adicionados em ACP. + - **Padrão / Simples**: usa a classe de painel da próprata para encapsular o bloco em um container preenchido + - **Básico**: bloco não tem nenhum container embrulhado + - **Boxed**: usa a classe de prosilver forabg para encapsular o bloco em uma caixa +- Definir / Atualizar configurações específicas do bloco +- Se você tiver o mesmo bloco com as mesmas configurações em múltiplas páginas, Você pode atualizar todos eles de uma vez, verificando os **blocos de atualização com configurações similares** + +## Excluindo blocos +- Passe o mouse sobre o bloco que deseja excluir +- Clique no ícone **x** e confirme que você deseja excluir o bloco +- Vá até a barra de administração e clique em `Salvar Mudanças` diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/blocks/overview.md b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/blocks/overview.md new file mode 100644 index 000000000000..8bcb45997178 --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/blocks/overview.md @@ -0,0 +1,9 @@ +--- +title: O que são blocos? +sidebar_position: 1 +--- + +No âmago do phpBB SiteMaker está o conceito de blocos. Blocos são pequenos pedaços de conteúdo que você pode colocar em diferentes áreas pré-definidas (posições de blocos) em seu site. Os blocos normalmente terão configurações que você pode definir/alterar para ajustar o conteúdo que você deseja exibir. A maioria dos blocos, mas nem todos, fará consultas de banco de dados para obter o conteúdo desejado. Então não vamos ficar loucos demais :). Para gerenciar os blocos, você precisará alternar para "modo de edição". + +## Modo de edição +Alterne para o modo de edição clicando no ícone do lápis no canto superior direito do seu site. Isto irá exibir a "Barra de Admin" com "Blocos" e "Configurações" do menu. Isto é referido como estando no "modo de edição". diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/menus/_category_.json b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/menus/_category_.json new file mode 100644 index 000000000000..4259794d53ee --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/menus/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Menus", + "position": 2 +} diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md new file mode 100644 index 000000000000..f04cec78c3c0 --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md @@ -0,0 +1,15 @@ +--- +title: Exibindo Menus +sidebar_position: 3 +--- + +Agora que você criou seus menus, você pode exibi-los de várias maneiras: + +## Bloco de links +Você pode usar este bloco para exibir uma lista plana ou aninhada de itens de menu. Este bloco não se destina a ser usado para navegação, ou seja, não irá mostrar uma página atual ou nada parecido. Destina-se a uma lista de itens, incluindo links externos. + +## Bloco de menus +Este bloco é destinado à navegação no site. Ele faz alguns cálculos adicionais para determinar a localização atual e não pretende ser uma lista muito grande. + +## Barra de navegação +Semelhante ao bloco Menus, a barra de navegação exibirá os itens de menu como um menu suspenso responsivo destinado a navegação do site. Você pode ativar isto em ACP > Extensões > Sitemaker > Configurações > Menu Seletor diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md new file mode 100644 index 000000000000..d110e7c88b5a --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md @@ -0,0 +1,30 @@ +--- +title: Gerenciando itens de menu +sidebar_position: 2 +--- + +Seu menu é inútil a menos que tenha itens de menu. Você pode adicionar itens de menu que apontem para arquivos locais ou externos. + +> A URL para sites externos deve começar com http(s)://, ftp://, //, etc. + +> Você pode criar um divisor digitando '-' como o título do item + +## Adicionando itens de menu +Você pode adicionar um item de menu de cada vez, ou você pode adicionar vários itens de menu. + +### Adicionando itens de menu único +Para adicionar um único item de menu, +* clique no botão `Adicionar Item de Menu` +* Preencha as informações necessárias e aperte `Salvar` + +### Adicionando múltiplos itens +Para adicionar vários itens de menu de uma só vez, +* Clique no ícone da seta para baixo ao lado de `Adicionar Item de Menu` +* Você pode adicionar itens manualmente colocando cada item em uma nova linha e usando o ninho de itens da aba ou +* Você pode clicar em uma das opções fornecidas na parte inferior da caixa de texto para preencher automaticamente os itens do menu + +## Reordenar os itens do menu +Você pode arrastar e soltar os itens de menu para cima/baixo para definir sua ordem de exibição, ou arrastá-los para a esquerda/direita para definir a hierarquia desejada. + +## Reconstruir os itens do menu +Se você achar que os itens de menu não estão sendo exibidos corretamente, clique no botão `Reconstruir a Árvore` para reconstruir os itens de menu. diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md new file mode 100644 index 000000000000..191022877d09 --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md @@ -0,0 +1,24 @@ +--- +title: Gerenciando Menus +sidebar_position: 1 +--- + +Você pode criar menus nos ACP que você pode exibir usando os blocos Menus ou Links ou exibidos como uma barra de navegação horizontal. + +## Gerenciando Menus + +Para gerenciar menus, vá para ACP > Extensões > Sitemaker > Menu + +### Criando menus +Para criar um novo menu (grupo), clique no botão `Adicionar Menu`. Um novo grupo de menu será criado com um nome gerado aleatoriamente. O novo menu também será selecionado para que você possa começar a adicionar itens de menu a ele. + +### Editando Menus +Se você quer um nome de menu mais significativo, +* passe o mouse sobre o nome do menu e clique no ícone da engrenagem +* digite o novo nome do menu e pressione enter para atualizá-lo + +### Excluindo menus +Para excluir um menu, e seus itens, +* Passe o mouse sobre o nome do menu e clique no ícone **x** +* Se o item de menu não tem itens filhos, você precisará confirmar sua escolha para excluir o item +* Se o item de menu tiver itens filhos, você precisará indicar se você deseja excluir apenas o item e mover seus filhos para cima ou se você deseja excluir a branch inteira diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/site/_category_.json b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/site/_category_.json new file mode 100644 index 000000000000..555bf780041e --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/site/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Construindo seu site", + "position": 3 +} diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md new file mode 100644 index 000000000000..b7f41af1a129 --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md @@ -0,0 +1,47 @@ +--- +title: Bloco herança +sidebar_position: 5 +--- + +Já vimos isso definindo um layout padrão, outras páginas que não possuem blocos próprios herdarão os blocos do layout padrão. Existe, no entanto, um outro tipo de herança de blocos. + +## Rotas pai/filho +No phpBB SiteMaker, falamos de rotas aninhadas em termos de diretórios (sub) aninhados ou caminhos/rotas virtualmente aninhadas. Por favor, fique comigo :). +* Rotas reais pasta/filho: Por exemplo, o caminho /some_directory/sub_directory/index.php é filho de /some_directory/index.php +* Rotas virtuais pasta/filho: Por exemplo, viewtopic.php é tratado como um filho de viewforum.php. + +Aqui estão alguns exemplos de rotas parentais/filho: + +| Antecessor | Filho(a) | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/artigos | /app.php/articles/meu-artigo | + +## Herança do Bloco Pai/Criança +Para rotas pai/filho, a rota filho herda os blocos da rota pai (se o pai tiver seus próprios blocos) ou do layout padrão (se uma foi definida). Em outras palavras, mesmo que haja um layout padrão, a rota filho herdará blocos da rota pai se a rota pai tiver seus próprios blocos. Mas nem todos os blocos da rota pai devem ser herdados. + +## Controlando Herança de Blocos +A nível de blocos, você pode controlar quando um bloco pode ser herdado por rotas filhas. Nós tocamos nisso anteriormente na [Edição das Configurações do Bloco](/docs/user/blocks/managing-blocks#editing-block-settings). + +Considere a seguinte estrutura real de diretórios: +```text +phpBB +── index.php +── filmes/ + ── index.php + ── page.php + ├── page.php + ── Comedy/ + ── index.php +``` + +Para fins de herança de blocos, dizemos: +* A rota principal do /phpBB/Movies/Comedy/index.php é /phpBB/Movies/index.php e não /phpBB/Movies/page.php +* Todas as páginas em um sub-diretório relativo ao /phpBB/index.php são uma rota filha do /phpBB/index.php. Então /phpBB/Movies/index.php e /phpBB/Movies/page.php são filhos de /phpBB/index.php e, portanto, herdarão seus blocos se não tiverem blocos próprios. Neste caso: + * Quando um bloco do /phpBB/index.php está definido para ser exibido em **Ocultar em rotas filhas**, o bloco será exibido em /phpBB/index. hp (rota pai) mas não em suas rotas filhas + * Quando um bloco do /phpBB/index.php está definido para ser exibido em **Mostrar somente em rotas filhas**, ele será exibido em /phpBB/Movies/index. hp e /phpBB/Movies/page.php (rotas filhas) mas não em /phpBB/index.php (pai), nem em /phpBB/Movies/Comedy/index.php (nós só usamos um nível de profundidade) + * Quando um bloco no /phpBB/index.php está configurado para exibir **sempre** (padrão), ele será exibido em /phpBB/index. hp (principal), /phpBB/Movies/index.php e /phpBB/page.php (rotas filhas) mas não em /phpBB/Movies/Comedy/index.php (só vamos a um nível de profundidade). Neste caso, /phpBB/Movies/Comedy/index.php herdará da rota padrão (se existir) + +## Estado futuro possível +Estou muito interessado em seu feedback nesta área. A maioria dos usuários do phpBB não terão diretórios reais conforme descrito acima. Então estou pensando em usar a estrutura definida em um bloco de menu como uma estrutura virtual de diretórios e aplicar esta herança pai ou filho a ela. Também estou pensando em ir além de um nível de profundidade. Por favor, deixe-me saber se isso será útil para você. \ No newline at end of file diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md new file mode 100644 index 000000000000..94ec9de30650 --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md @@ -0,0 +1,6 @@ +--- +title: Personalizando exibição de blocos +sidebar_position: 6 +--- + +Trabalho em andamento... \ No newline at end of file diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/site/default-layout.md b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/site/default-layout.md new file mode 100644 index 000000000000..033c7bb202d3 --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/site/default-layout.md @@ -0,0 +1,21 @@ +--- +title: Definindo um Layout Padrão +sidebar_position: 4 +--- + +Quando você adiciona um bloco, ele é adicionado a essa página específica. Por conseguinte, seria uma tarefa tediosa estabelecer blocos para todas as páginas do seu site. Você pode definir todos os blocos desejados para uma determinada página e, em seguida, definir essa página como o layout padrão. Em outras palavras, qualquer página que não tenha seus próprios blocos, herdará blocos desta página. + +Para definir um layout padrão +* Vá para a página que você gostaria de definir como layout padrão +* Clique em `Configurações` na barra de administração +* Clique no botão `Definir como layout` padrão + +Digamos que adicionamos blocos a uma página (phpBB/index.php) com blocos na barra lateral e nas posições principais, por exemplo, e definimos como nosso layout padrão. Isto tem os seguintes efeitos para outras páginas: +* Qualquer página que não tiver seus próprios blocos, herdará os blocos do layout padrão. Veja [Compreender a herança de blocos](/docs/user/site/block-inheritance) para exceções. +* Você ainda pode herdar blocos de um layout padrão (índice. hp) mas escolha não exibir blocos em algumas posições de bloco ou não exibir nenhum bloco. Para fazer isso, + * Vá para a página que você não quer que todos/alguns blocos sejam exibidos + * Clique em `Configurações` na barra de administração + * Selecione `Não mostrar blocos nesta página` se você não quiser herdar / exibir nenhum bloco nesta página OU + * Use CTRL + clique para selecionar as posições do bloco (à direita) onde você não deseja exibir os blocos em +* No `modo de edição`, uma página que herda os blocos do layout padrão, não mostrará nenhum bloco, dando-lhe a oportunidade de adicionar blocos à página, se você quiser +* Qualquer página que tenha seus próprios blocos não herdará do layout padrão diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/site/layouts.md b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/site/layouts.md new file mode 100644 index 000000000000..4e5ea25db4f3 --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/site/layouts.md @@ -0,0 +1,31 @@ +--- +title: Layouts +sidebar_position: 1 +--- + +"Layouts" determinam as posições de blocos disponíveis e como elas são exibidas. + +## Posições do Bloco +Posições do bloco são áreas predefinidas em seu site onde blocos podem existir. As posições de blocos disponíveis são determinadas pelo estilo de modelo que você está usando. Para prosilver, phpBB SiteMaker vem com as seguintes posições de bloco: +* painel: largura total através do topo +* barra lateral: esquerda/direita dependendo do layout abaixo +* subconteúdo: similar à barra lateral maior +* top_hor: blocos horizontais no topo, flanqueando acima da barra lateral/subconteúdo dependendo do layout +* topo: acima do conteúdo principal +* caixa: largura igual, blocos horizontais abaixo do conteúdo principal +* abaixo: abaixo do conteúdo principal +* bottom_hor: blocos horizontais na parte inferior, flanqueando a barra lateral/subconteúdo dependendo do layout +* rodapé: blocos horizontais no rodapé Você pode adicionar mais posições de blocos em seus próprios modelos de estilo copiando e modificando os correspondentes modelos phpBB SiteMaker + +## Layout do site +Você pode escolher o layout para o seu site em ACP (Extensões > Sitemaker > Configurações): +* **Blog**: subcontent e sidebar lado a lado, empurrado para a direita, de topo_hor/botom_hor subconteúdo de flank +* **Grau Sagrada**: barra lateral de largura igual e subconteúdo nos lados opostos, top_hor/botom_hor flank subcontent +* **Portal**: barra lateral à esquerda, subconteúdo à direita, top_hor/botom_hor flank subcontent +* **Portal Alternativo**: subconteúdo à esquerda, barra lateral à direita, top_hor/botom_hor sidebar +* **Personalizado**: Definir manualmente a largura das barras laterais como px, %, em ou h. O padrão é 200px em cada lado + +## Temas/estilos personalizados +Tanto quanto possível, nós tentamos colocar arquivos de template e assets em estilos/todos/ pastas para que você possa substituí-los criando um arquivo com o mesmo nome sob o seu próprio tema de template. . prosilver. Portanto, se você quiser modificar a forma como um determinado bloco é exibido ou se você quiser criar seu próprio layout com suas próprias posições de bloco, você precisa simplesmente criar um arquivo com o mesmo nome e caminho do original no seu próprio estilo. + +Se você precisar customizar arquivos CSS/JS, dê uma olhada na seção [de temas](/docs/dev/theming). \ No newline at end of file diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/site/navbar.md b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/site/navbar.md new file mode 100644 index 000000000000..d2ac40d91a89 --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/site/navbar.md @@ -0,0 +1,6 @@ +--- +title: Barra de Navegação +sidebar_position: 2 +--- + +Ver [Exibir Menus](/docs/user/menus/displaying-menus#navigation-bar) diff --git a/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/site/startpage.md b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/site/startpage.md new file mode 100644 index 000000000000..2069c1358b4e --- /dev/null +++ b/website/i18n/pt_br/docusaurus-plugin-content-docs/current/user/site/startpage.md @@ -0,0 +1,11 @@ +--- +title: Configurando uma página inicial +sidebar_position: 3 +--- + +phpBB SiteMaker permite que você escolha qualquer controlador frontal (páginas acessadas via app.php/... como sua página inicial padrão (a página que será mostrada quando alguém visita o seu site) em vez do índice do fórum. + +Para fazer isso: +* Vá para a página que você deseja definir como página inicial padrão +* Clique em `Configurações` na barra de administração. Se é uma página elegível, você verá um botão `Definir como página inicial` +* Clique no botão `Definir como página inicial` \ No newline at end of file diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/contrib/_category_.json b/website/i18n/ro/docusaurus-plugin-content-docs/current/contrib/_category_.json new file mode 100644 index 000000000000..f90edfc7ed3d --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/contrib/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Contribuie", + "position": 4 +} diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/contrib/overview.md b/website/i18n/ro/docusaurus-plugin-content-docs/current/contrib/overview.md new file mode 100644 index 000000000000..7456682dcb4c --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/contrib/overview.md @@ -0,0 +1,11 @@ +--- +title: Implicați +sidebar_position: 1 +--- + +phpBB SiteMaker este un proiect open source și salută ideile și contribuțiile dumneavoastră. Aşa că nu ezitaţi să vă implicaţi. Puteți contribui la acest proiect prin: + +* [Furnizarea de suport/feedback](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Raportează erorile](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Ajutor cu Traducerea](./translators.md) +* [Remedierea erorilor sau adăugarea de caracteristici](./pull-requests.md) diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/contrib/pull-requests.md b/website/i18n/ro/docusaurus-plugin-content-docs/current/contrib/pull-requests.md new file mode 100644 index 000000000000..c5fca3ffa50c --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/contrib/pull-requests.md @@ -0,0 +1,65 @@ +--- +title: Trimiterea unei cereri de tragere +sidebar_label: Trageți cererile +--- + +`Trageți cererile pentru a le spune celorlalți despre modificările pe care le-ați împins la o sucursală dintr-un depozit pe GitHub. Odată ce cererea de tragere este deschisă, puteți discuta și analiza schimbările potențiale cu colaboratori și adăuga angajamente de monitorizare înainte ca modificările să fie îmbinate în sucursala de bază.` [Citește mai mult](https://help.github.com/articles/about-pull-requests/) + +## Forjare/Clonare + +* Creează un cont github dacă nu ai deja unul +* Mergeți la https://github.com/blitze/phpBB-ext-sitemaker.git și faceți clic pe "Fork" + +Clonați furculița din depozit: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +De la linia de comandă mergeți la directorul sitemaker: + + cd phpBB/ext/blitze/sitemaker + +**Configurare git:** + +Adaugă numele tău de utilizator la Git în sistemul tău: + + git config --global user.name "Numele dvs aici" + +Adaugă adresa ta de e-mail la Git pe sistem: + + git config --add user.email username@phpbb.com + +Adaugă telecomanda din amonte (poți schimba 'în amonte' în orice dorești): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + +**Instalare furnizor** + + Instalare compozitor + +**Instalaţi pachetele NPM** + + npm install + +Alternativ, poți folosi [yarn](https://yarnpkg.com): + + instalare yarn + +## Trageți cererile + + # Creați o sucursală nouă pentru caracteristica dvs. & comutați la aceasta + caracteristica git checkout -b /my-fancy-new-feature + + # creați o sucursală nouă pentru problema la care lucrați * comutați la ea (ticket # is from github tracker) + git checkout -b ticket/1234 + +Efectuați modificările + + # Etapa fișierelor + git add + + # Fișiere de angajament în etape - vă rugăm să utilizați un mesaj de comitere corect + git commit -m "Mesajul meu de comitere" + +Apăsați sucursala înapoi la GitHub git push origin feature/my-fancy-new-feature + +Trimite o [cerere de tragere](https://github.com/blitze/phpBB-ext-sitemaker/pulls) diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/contrib/translators.md b/website/i18n/ro/docusaurus-plugin-content-docs/current/contrib/translators.md new file mode 100644 index 000000000000..61762e14351f --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/contrib/translators.md @@ -0,0 +1,17 @@ +--- +title: Traducători +sidebar_position: 2 +--- + +Avem nevoie de ajutor pentru traducerea acestei prelungiri, precum şi a documentaţiei sale. Am creat un proiect pe Crowdin pentru a uşura traducerile. Crowdin vă oferă o interfaţă de traducere care este secundară pentru nimeni. Poți contribui cât de mult vrei, dar îți recomandăm să folosești Crowdin. + +> Crowdin este o platformă de management al localizării care ajută companiile să îşi traducă software-ul. Poti citi mai multe despre Crowdin [aici](https://support.crowdin.com/crowdin-intro/) + +Dacă ești dispus să contribui cu traduceri, vei avea nevoie de: + +* Un cont de [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker). +* Alegeţi limba ţintă dacă există altă solicitare pentru a fi activată. + +Dacă limba dorită nu este listată, vă rugăm [să mă contactaţi](https://crowdin.com/profile/blitze) şi o voi adăuga. + +[Începe traducerea](https://crowdin.com/project/phpbb-ext-sitemaker) diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/dev/_category_.json b/website/i18n/ro/docusaurus-plugin-content-docs/current/dev/_category_.json new file mode 100644 index 000000000000..1dc935578f81 --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/dev/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Ghid pentru dezvoltatori", + "position": 3 +} diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/dev/events.md b/website/i18n/ro/docusaurus-plugin-content-docs/current/dev/events.md new file mode 100644 index 000000000000..bd1afb99218f --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/dev/events.md @@ -0,0 +1,120 @@ +--- +title: Evenimente fpBB SiteMaker +sidebar_position: 2 +--- + +Puteți modifica comportamentul phpBB SiteMaker folosind sistemul de evenimente al phpBB. + +## Evenimente PHP + +### blitze.sitemaker.acp_add_bulk_menu + +- Locatie: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- De la: 3.1.0 +- Scop : Adăugare opţiuni meniu în meniul acp + +### blitze.sitemaker.acp_display_settings_form + +- Locatie: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- De la: 3.1.0 +- Scopul: display acp (sitemaker) setări formular + +### blitze.sitemaker.acp_save_settings + +- Locatie: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- De la: 3.1.0 +- Scop : Salvare acp (sitemaker) setări + +### blitze.sitemaker.admin_bar.set_assets + +- Locatie: /phpBB/ext/blitze/sitemaker/servicii/blocuri/admin_bar.php +- De la: 3,0,1 RC1 +- Scopul: Adaugă active pentru blocurile disponibile în modul editare + +### blitze.sitemaker.modify_block_positions + +- Locatie: /phpBB/ext/blitze/sitemaker/servicii/blocuri/blocks.php +- De la: 3,0,1 RC1 +- Scopul: Modifică pozițiile blocului + +### blitze.sitemaker.modify_rendered_block + +- Locatie: /phpBB/ext/blitze/sitemaker/servicii/blocuri/blocks.php +- De la: 3,0,1 RC1 +- Scop : Modifică un bloc randat + +## Evenimente șablon + +### setari blitze_sitemaker_acp_ + +- Locatie: /phpBB/ext/blitze/sitemaker/ad/style/acp_settings.html +- De la: 3.1.0 +- Scopul: Adăugați câmpuri formular pentru setările de sitemaker + +### blitze_sitemaker_admin_bar_append + +- Locație: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- De la: 3.1.0 +- Scop : Adaugă elemente de meniu în bara de administrare + +### blitze_sitemaker_admin_bar_template-uri + +- Locație: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- De la: 3.1.0 +- Scop : Adauga sablon fisiere pentru a fi folosite in JS pentru vizualizari blocate, etc + +## Evenimente Javascript + +### blitze_sitemaker_layout_saved + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/componente/AdminBar/SaveLayout/index.js +- De la: 3.1.2 +- Scopul: Eveniment pentru a permite altor extensii să facă ceva atunci când modificările de aspect sunt salvate + +### blitze_sitemaker_render_block_înainte + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/componente/BlockRenderer/index.js +- De la: 3.1.2 +- Scopul: Eveniment pentru a permite altor extensii să facă ceva înainte ca blocul să fie randat sau să împiedice reredarea lui + +### blitze_sitemaker_render_block_after + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/componente/BlockRenderer/index.js +- De la: 3.1.2 +- Scopul: Eveniment pentru a permite altor extensii să facă ceva după bloc este randat + +### blitze_sitemaker_save_block_înainte + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/componente/BlocksManager/Edit/index.js +- De la: 3.1.2 +- Scop : Eveniment pentru a permite altor extensii să modifice datele blocului înainte de a fi salvat + +### blitze_sitemaker_show_all_block_positions + +- Locație: /phpBB/ext/blitze/sitemaker/develop/componente/poziții/poziții.js +- De la: 3.1.2 +- Scopul: Eveniment pentru a permite altor extensii să facă ceva atunci când toate pozițiile blocului sunt afișate + +### blitze_sitemaker_hide_empty_block_positions + +- Locație: /phpBB/ext/blitze/sitemaker/develop/componente/poziții/poziții.js +- De la: 3.1.2 +- Scopul: Eveniment pentru a permite altor extensii să facă ceva atunci când pozițiile goale sunt ascunse + +### blitze_sitemaker_layout_cleared + +- Locație: /phpBB/ext/blitze/sitemaker/develop/componente/poziții/poziții.js +- De la: 3.1.2 +- Scopul: Eveniment pentru a permite altor extensii să facă ceva atunci când aspectul este eliminat + +### blitze_sitemaker_layout_actualizat + +- Locație: /phpBB/ext/blitze/sitemaker/develop/componente/poziții/poziții.js +- De la: 3.1.2 +- Scopul: Eveniment pentru a permite altor extensii să facă ceva atunci când layout este actualizat + +### opțiuni blitze_sitemaker_tinymce_optiones + +- Locatie: /phpBB/ext/blitze/sitemaker/develop/componente/CustomBlock/index.js +- De la: 3,0 +- Scopul: Eveniment pentru a permite altor extensii să modifice opțiunile tinymce diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/dev/overview.md b/website/i18n/ro/docusaurus-plugin-content-docs/current/dev/overview.md new file mode 100644 index 000000000000..81eb7bd6e49b --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/dev/overview.md @@ -0,0 +1,179 @@ +--- +title: Extindere fpBB SiteMaker +sidebar_position: 1 +--- + +Puteți extinde/modifica phpBB SiteMaker folosind [înlocuirea serviciului](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [decor serviciu](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), și [sistemul de evenimente phpBB](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Poți găsi o listă de evenimente acceptate [aici](./events.md). + +## Crearea unui bloc SiteMaker + +Un bloc phpBB SiteMaker este pur și simplu o clasă care extinde blitze\sitemaker\services\blocks\driver\block class și returnează un array din metoda "display" cu 'title' și 'content'. Orice altceva între tine depinde de tine. Pentru a face blocul tău să poată fi descoperit de către phpBB SiteMaker, va trebui să-i dai eticheta "sitemaker.block". + +Spune că avem o extensie cu vânzător/extensie ca exemplu/exemplu. Pentru a crea un bloc numit "my_block" pentru phpBB SiteMaker: + +- Creați un dosar "blocuri" +- Creaza fisierul my_block.php in folderul blocurilor cu urmatorul continut + +```php +namespace me\exemplu\blocks; + +folosește blitze\sitemaker\services\blocks\driver\block; + +clasa my_block extinde blocul +{ + /** + * {@inheritdoc} + */ + functie publica display(array $settings, $edit_mode = false) + { + return array( + 'title' => 'titlul blocului meu', + 'conținut' => 'Conținutul meu de bloc', + ); + } +} +``` + +Apoi in fisierul config.yml, adauga urmatoarele: + +```yml +servicii: + +... + + my.example.block.my_block: + class: my\example\blocks\my_block + apeluri: + - [set_name, [my.example.block.my_block]] + etichete: + - { name: sitemaker.block } + +.... + +``` + +La un nivel minim, asta e tot ce ai nevoie. Dacă mergeți în modul de editare, trebuie să vedeți blocul listat ca 'MY_EXAMPLE_BLOCK_MY_BLOCK' care poate fi mutat și scăpat pe orice poziție de bloc. Dar acest bloc nu face nimic captivant. Nu are setări și nu traduce numele blocului. Hai să-l facem mai interesant. + +### Setări Bloc + +Hai să ne modificăm blocurile/blocurile. hp fişier şi adaugă o metodă "get_config" la returnează un array cu tastele fiind setările blocului şi valorile fiind un array care descrie setările astfel: + +```php + /** + * @inheritdoc + */ + funcție publică get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'casetă' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'implicit' => array(, 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explică' => false, 'implicit' => 'subiect'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explică' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'opțiuni' => $options, 'implicit' => array(), 'explicați' => false), + 'legendă2' => 'TAB2', + 'număr' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'implicit' => 5), + 'zona text' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'implicit' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'implicit' => '', 'append' => '
Arată numai când opțiunea 1 este selectată
'), + ); +} +``` + +Aceasta este construită în acelaşi mod în care phpBB construieşte configuraţia pentru setările de secţiune în ACP. Mai multe exemple [aici](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Dacă doriţi un tip de câmp personalizat, puteţi vedea un exemplu [aici](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) (setarea ('content_type'). + +Observați 'legend1' și 'legend2': Acestea sunt folosite pentru a separa setările în file. + +### Blocuri de nume + +Convenţia pentru numele blocului este că numele serviciului (de ex. my.example.block. y*blocul de mai sus) va fi folosit ca tasta de limbă prin înlocuirea punctelor (.) cu underscore (*(ex. MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Traducere + +Observați de asemenea că avem mai multe chei lingvistice care trebuie traduse. Pentru a face acest lucru, creați un fișier numit "blocks_admin.php" în folderul de limbă. Acest fisier va fi incarcat automat la editarea blocurilor, si ar trebui sa aiba traduceri pentru setarile blocurilor si numele blocurilor. + +``` +$lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Opțiunea 1', + 'OTHER_LANG_VAR' => 'Opțiunea 2', + 'SOME_LANG_VAR_1' => 'Setting 1', +.... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Blocul meu', +); +``` + +Deoarece 'blocks_admin.php' este încărcat doar când editezi blocuri, va trebui să adaugi alte traduceri (de ex. blochează titlul) prin încărcarea unui fișier de limbă în metoda afișată ca `$language->add_lang('my_lang_file', 'my/exemplu');` + +### Redare bloc + +Noul bloc va fi afișat doar în cazul în care randează ceva. Blocul tău poate returna orice șir de caractere ca conținut, dar în majoritatea cazurilor, ai nevoie de un șablon pentru a reda conținutul tău. Pentru a reda blocul tău folosind șabloane, blocul trebuie să returneze un array care conține datele pe care doriți să le transmiteți la șablon și trebuie, de asemenea, să implementeze metoda `get_template` după cum se arată mai jos: + +```php + /** + * @inheritdoc + */ + funcție publică get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + funcție publică get_template() + { + return '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // face ceva numai în modul de editare + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Apoi fişierul styles/all/my_block.html sau styles/prosilver/my_block.html ar putea arăta astfel: + +``` +

Ai selectat: {{ some_var }}

+``` + +Pe scurt, blocul tău trebuie să returneze un array cu o cheie `titlu` (pentru titlul blocului) și o tastă `conținut` (dacă blocul doar afișează un șir de caractere și nu folosește un șablon) sau o cheie `de date` (dacă blocul folosește un șablon, caz în care va trebui de asemenea să implementați metoda `get_template`). + +### Blochează active + +În cazul în care blocul dvs. trebuie să adauge active (css/js) la pagină, vă recomand să folosiți sitemaker [util clasa](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) pentru asta. Deoarece pot exista mai multe instanțe ale aceluiași bloc pe pagină, sau alte blocuri ar putea adăuga același activ, clasa util asigură că activul este adăugat doar unu. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/unele. s', + 100 => '@my_example/assets/other. s', // setează prioritatea + ), + 'css' => array( + '@my_example/assets/unele. ss', + ) +)); +``` + +Clasa util va trebui, desigur, să fie adăugată la definițiile serviciului în config.yml astfel: `- '@blitze.sitemaker. til'` și definit în constructorul blocului `\blitze\sitemaker\services\util $util`. + +Şi asta e tot. Am terminat! diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/dev/theming.md b/website/i18n/ro/docusaurus-plugin-content-docs/current/dev/theming.md new file mode 100644 index 000000000000..69c9e0ad8a22 --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/dev/theming.md @@ -0,0 +1,62 @@ +--- +title: Tema +sidebar_position: 3 +--- + +Înţelegem că fişierele şablon şi fişierele JS/CSS nu vor funcţiona pentru fiecare stil, mai jos sunt câteva moduri prin care puteți folosi propriile șabloane și crea fișiere JS/CSS pentru stilul dvs. specific. + +## Folosind propriul șablon + +Daca sabloanele implicite care vin cu fisierul Sitemaker phpBB nu functioneaza bine pentru stilul tau, îl poți suprascrie cu ușurință pentru a utiliza propriul fișier șablon prin crearea fișierului corespunzător în dosarul stilurilor tale. + +De exemplu, spune că stilul tău se numește `Backlash` și are un mod special în care codul HTML pentru secțiunea antetului blocului trebuie să fie structurat pentru [vizualizarea introdusă](/docs/user/blocks/block-views). Puteți suprascrie acel șablon prin crearea unui fișier cu același nume: `phpBB/ext/blitze/sitemaker/backlash/template/views/boxed_view.twig`. + +Cu alte cuvinte, pentru a folosi propriul fișier șablon, trebuie să: +* Identificati ce fisier Sitemaker phpBB trebuie sa fie suprascris +* Creați un fișier cu același nume în folderul `stiluri` sub stilul dvs + +> Notă: Dacă vă creați propriile fișiere șablon, asigurați-vă că nu ștergeți folderul `phpbb/ext/blitze/sitemaker` atunci când actualizați extensia ca fișierele dvs. personalizate vor fi șterse. Mai degrabă, trebuie doar să suprascrieți fișierele existente cu cele noi. + +## Se creează fişiere JS/CSS pentru stilul tău + +Notă: +* Pentru scopul instrucțiunilor de mai jos vom presupune că ai un stil numit stilul meu. + +Clonați în phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +De la linia de comandă mergeți la directorul sitemaker: + + cd phpBB/ext/blitze/sitemaker + +**Instalare furnizor** + + Instalare compozitor + +**Instalare pachete** + +Pentru comenzile de mai jos poți folosi npm sau [yarn](https://yarnpkg.com) + + instalare yarn + +**Urmărește modificările** + + yarn start --stil temă mea + +**Efectuează modificări** + +* Fă modificările tale la fișierele din folderul phpBB/ext/blitze/sitemaker/dezvoltă. +* Uita-te la phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss pentru variabilele sass + +**Construiește active** + + yarn build --theme my-style + +**Desfășurare** + +Acum puteţi copia fişierele generate din phpBB/ext/blitze/sitemaker/styles/my-style şi să le încărcaţi pe serverul de producţie. + +> Această extensie folosește jQuery UI pentru file, dialoguri și butoane. Tema implicită jQuery este 'uniformitate'. Puteţi utiliza o altă temă a interfeţei jQuery care se potriveşte cel mai bine temei. Puteţi specifica tema jQuery UI folosind steagul --jq_ui_theme. De exemplu: + + yarn build --theme my-style --jq_ui_theme ui-light diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/intro/_category_.json b/website/i18n/ro/docusaurus-plugin-content-docs/current/intro/_category_.json new file mode 100644 index 000000000000..55fc9758189b --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/intro/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Noțiuni de bază", + "position": 1 +} diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/intro/installation.md b/website/i18n/ro/docusaurus-plugin-content-docs/current/intro/installation.md new file mode 100644 index 000000000000..4bf2be938e58 --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/intro/installation.md @@ -0,0 +1,16 @@ +--- +title: "Instalare / Actualizare" +sidebar_position: 2 +--- + +Descarcă extensia de la [aici](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker +* Extrage și încarcă în dosarul tău phpBB/ext/ pentru a avea phpBB/ext/blitze/sitemaker +* Mergeți la "ACP" > "Personalizare" > "Extensii" și activați extensia "phpBB Sitemaker". + +## Actualizând fpBB SiteMaker +* Creați o copie de rezervă a bazei de date doar în cazul în care ceva nu merge bine +* Mergeți la "ACP" > "Personalizare" > "Extensii" și dezactivați (nu purificați) "phpBB Sitemaker" +* Descărcați și extrageți cea mai recentă versiune de siteMaker phpBB și încărcați-o în folderul phpBB/ext/ (suprascriere) +* Mergeți la "ACP" > "Personalizare" > "Extensii" și activați extensia "phpBB Sitemaker". diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/intro/introduction.md b/website/i18n/ro/docusaurus-plugin-content-docs/current/intro/introduction.md new file mode 100644 index 000000000000..93be2f0331f0 --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/intro/introduction.md @@ -0,0 +1,6 @@ +--- +title: Introducere +sidebar_position: 1 +--- + +phpBB SiteMaker caută să transforme tab-ul phpBB într-un CMS/portal. Face acest lucru oferindu-vă blocuri și meniuri pentru a vă ajuta să vă personalizați site-ul după preferințele dvs. Există sau va exista alte extensii SiteMaker care oferă funcționalități suplimentare pentru a îndeplini acest obiectiv. De asemenea, vă permite să definiți o pagină de aterizare atunci când este accesat site-ul dvs. Așadar, dacă nu doriți ca vizitatorii de pe site-ul dvs. să vadă imediat forumul phpBB atunci când se duc la www. our-site.com, îți poți defini propria pagină de început. diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/user/_category_.json b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/_category_.json new file mode 100644 index 000000000000..1b820417ce6b --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Ghid de utilizator", + "position": 2 +} diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/user/blocks/_category_.json b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/blocks/_category_.json new file mode 100644 index 000000000000..a6e8ecd6015f --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/blocks/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Blocuri", + "position": 1 +} diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/user/blocks/block-views.md b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/blocks/block-views.md new file mode 100644 index 000000000000..653ee4304155 --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/blocks/block-views.md @@ -0,0 +1,6 @@ +--- +title: Vizualizari bloc +sidebar_position: 2 +--- + +Lucrări în desfășurare... \ No newline at end of file diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md new file mode 100644 index 000000000000..064a639e747b --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md @@ -0,0 +1,24 @@ +--- +title: Bloc personalizat +sidebar_position: 4 +--- + +Dacă blocurile disponibile nu vă oferă libertatea de care aveţi nevoie, există `blocul personalizat` care vă permite libertatea de a afişa propriul conţinut folosind BBcode sau HTML. Blocul vine cu un editor WYSIWYG (TinyMCE) și un manager de script-uri: + +## Editorul + +- Poți folosi editorul pentru a crea conținut HTML +- Poți edita codul sursă dacă ai nevoie de acel nivel de control făcând clic pe pictograma `codul sursă` (`<>`) din editor +- Editorul vă permite să încărcaţi şi să modificaţi imaginile + - Creează un dosar nou în phpBB/images/sitemaker_uploads/ pentru fiecare utilizator care are acces la el + - Puteți vizualiza/gestiona toate dosarele utilizatorilor +- Editorul filtrează orice script-uri potențial periculoase cum ar fi javascript, etc. Dacă aveţi nevoie să adăugaţi conţinut ca Google Ads, javascript va fi filtrat, dar puteţi trece peste asta făcând următoarele: + - Adaugă blocul personalizat la locația dorită + - Editați blocul personalizat, faceți clic pe tab-ul `HTML` și lipiți Javascript + +## Managerul de scripturi + +Blocul personalizat vă permite, de asemenea, să adăugați fișiere CSS și Javascript la pagina dvs. Pentru a face acest lucru: + +- Adaugă un `bloc personalizat` în orice poziție de bloc. Poziția nu contează decât dacă afișezi și conținut cu blocul +- Editează blocul, faceți clic pe tab-ul `Scripturi` și adăugați fișiere CSS sau Javascript > Cuvânt de precauție în: Adăugarea la mai multe scripturi de pe pagina dvs. poate afecta timpii de încărcare diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md new file mode 100644 index 000000000000..dcf9ae33e1c5 --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md @@ -0,0 +1,51 @@ +--- +title: Mananaging Blocks +sidebar_position: 3 +--- + +Pentru a gestiona blocurile în phpBB SiteMaker, trebuie să fiți în [Editare Mod](./overview#edit-mode). + +> Cand un bloc nu afiseaza nici un continut, nu va fi afisat, cu exceptia modului de editare. În acest fel, fie îi poți da conținut (în cazul blocului personalizat) fie îi poți schimba setările. + +> În modul de editare blocurile oarecum transparente sunt blocuri care altfel nu vor fi afișate, dar sunt afișate doar pentru că suntem în modul de editare + +## Adăugarea de blocuri +Puteți adăuga blocuri la orice pagină frontală, cu excepția paginilor Panoului de Control al Utilizatorilor și Panoului de Control Moderator. Pentru a adăuga un bloc, va trebui să: +* click pe **Blocurile** din bara de administrare. Acest lucru va afișa o listă de blocuri disponibile +* Trageți și plasați blocul dorit în orice poziție de bloc + +## Editare blocuri +### Adăugare pictogramă bloc +În stânga titlului blocului (prosilver), există o casetă pentru iconița blocului. Faceţi clic pe această casetă pentru a obţine selectorul de icoane. Poți selecta dimensiunea pictogramelor, culoarea, pluta, rotația, etc. + +### Editează titlul blocului +blocurile SiteMaker phpBB vor avea un titlu implicit tradus, dar dacă titlul nu satisface nevoile tale, îl poți modifica. Pentru a edita titlul blocului, +* Faceți clic pe titlul blocului pentru a obține un formular de editare în linie +* Schimbă titlul la orice vrei +* Elimină focalizarea din câmp sau lovește enter pentru a trimite modificări + +> Titlul blocului modificat nu este tradus + +> Pentru a reveni la titlul implicit, simpla ștergere a titlului și apăsați enter + +### Editare setări bloc +Când plutești peste un bloc, o pictogramă de ceață va apărea în dreapta blocului care poate fi folosit pentru a edita blocul. În dialogul blocului de editare, puteți: +- Activează/dezactivează un bloc [Status] +- Alegeți când ar trebui/nu ar trebui afișat blocul [Display]. Acest lucru se aplică numai în cazurile în care ai pagini imbricate (vezi [Înțelegerea Legăturii Blocului](/docs/user/site/block-inheritance)): + - **Întotdeauna**: Afișează mereu blocul + - **Ascundere pe rutele copii**: Arată doar acest bloc pe ruta părinte + - **Arată doar pe rutele copiilor**: Arată doar acest bloc pe o rută de copil +- Alegeți grupurile de utilizatori care pot vizualiza blocul [Vizualizabil]. Utilizați CTRL + faceți clic pentru a selecta mai multe grupuri. +- Setați clasele personalizate pentru a modifica aspectul blocului sau al elementelor (liste, imagini, fundal, etc) în interiorul blocului [clasa CSS] +- Arată/ascunde titlul blocului [Ascunde titlul blocului?] +- Selectaţi vizualizarea blocului [Vizualizare bloc]. Puteți selecta o vizualizare implicită a blocului atunci când sunt adăugate blocuri noi în ACP. + - **Implicit / Simplu**: folosește clasa panourilor de prosilver pentru a înfășura blocul într-un container căptușit + - **Basic**: block-ul nu are nici un container de ambalare + - **Cuprins**: folosește clasa forabg prosilver pentru a înfășura blocul într-o casetă +- Setare / Actualizare setări specifice blocului +- Dacă aveţi acelaşi bloc cu aceleaşi setări pe mai multe pagini, le puteți actualiza imediat verificând **Actualizați blocurile cu setări similare** + +## Ştergere blocuri +- Treci peste blocul pe care dorești să îl ștergi +- Faceți clic pe pictograma **x** și confirmați că doriți să ștergeți blocul +- Mergeți în sus la bara de administrare și faceți clic pe `Salvează Modificările` diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/user/blocks/overview.md b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/blocks/overview.md new file mode 100644 index 000000000000..72b6e221a27d --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/blocks/overview.md @@ -0,0 +1,9 @@ +--- +title: Ce sunt blocurile? +sidebar_position: 1 +--- + +În inima phpBB SiteMaker este conceptul blocurilor. Blocurile sunt bucăți mici de conținut pe care le poți plasa în diferite zone predefinite (poziții blocate) pe site-ul tău. De obicei, blocurile vor avea setări pe care le puteți seta/modifica pentru a regla conținutul pe care doriți să îl afișați. Cele mai multe blocuri, dar nu toate, vor face interogări de baze de date pentru a obține conținutul dorit. Deci să nu ne înnebunim prea mult :). Pentru a gestiona blocurile, va trebui să comutați la "modul de editare". + +## Mod editare +Comutați la modul de editare făcând clic pe pictograma creion din dreapta sus a site-ului dvs. Acest lucru va afişa "Bara de administrare" cu "Blocks" şi elementele de meniu "Setări". Acest lucru este denumit „modul de editare”. diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/user/menus/_category_.json b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/menus/_category_.json new file mode 100644 index 000000000000..4259794d53ee --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/menus/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Menus", + "position": 2 +} diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md new file mode 100644 index 000000000000..3a10bc34b431 --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md @@ -0,0 +1,15 @@ +--- +title: Afișare Meniuri +sidebar_position: 3 +--- + +Acum că v-aţi creat meniurile, le puteţi afişa în mai multe moduri: + +## Bloc: Link-uri +Puteți utiliza acest bloc pentru a afișa o listă plană sau imbricată de elemente de meniu. Acest bloc nu este destinat pentru navigare, adică nu va afișa o pagină curentă sau ceva asemănător. Acesta este destinat pentru o listă de articole, inclusiv linkuri externe. + +## Bloc: Meniuri +Acest bloc este destinat pentru navigarea site-ului. Face unele calcule suplimentare pentru a determina locaţia curentă şi nu se intenţionează a fi o listă foarte mare. + +## Bara de navigare +Similar cu blocul Menus, bara de navigare va afișa elementele de meniu ca un meniu vertical responsiv destinat navigării pe site. Puteți activa acest lucru în ACP > Extensii > Articol > Setări > Selectați meniul diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md new file mode 100644 index 000000000000..7adbc455ca77 --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md @@ -0,0 +1,30 @@ +--- +title: Elemente de meniu gestionat +sidebar_position: 2 +--- + +Meniul tău este inutil dacă nu are elemente de meniu. Puteţi adăuga elemente de meniu care indică fişierele locale sau externe. + +> URL-ul pentru siturile externe trebuie să înceapă cu http(s)://, ftp://, //, etc. + +> Puteți crea o despărțitoare prin introducerea '-' ca titlu articol + +## Adăugarea elementelor din meniu +Puteți adăuga elemente de meniu câte un dată, sau puteți adăuga mai multe elemente de meniu la unu. + +### Adăugarea unui singur meniu +Pentru a adăuga un singur element de meniu, +* faceţi clic pe butonul `Adăugare Element de meniu` +* Completează informațiile necesare și apasă `Salvează` + +### Adăugarea mai multor elemente +Pentru a adăuga mai multe elemente de meniu simultan, +* Faceți clic pe pictograma săgeată în jos lângă `Adăugare Element de meniu` +* Puteți adăuga manual elemente plasând fiecare element pe o linie nouă și folosind elementele cuponului pentru tab-uri sau +* Puteți da click pe una dintre opțiunile furnizate în partea de jos a zonei de text pentru a completa automat elementele meniului + +## Reordonați elementele meniului +Puteți trage și plasa elementele din meniu în sus/jos pentru a seta ordinea de afișare, sau trage-le la stânga/dreapta pentru a seta ierarhia dorită. + +## Reconstruieşte elementele de meniu +Dacă găsiți că elementele de meniu nu sunt afișate corect, faceți clic pe butonul `Reconstruiește arborele` pentru a reconstrui elementele de meniu. diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md new file mode 100644 index 000000000000..b77ff5bf85a9 --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md @@ -0,0 +1,24 @@ +--- +title: Meniuri de gestionare +sidebar_position: 1 +--- + +Puteți crea meniuri în ACP pe care le puteți afișa apoi folosind blocurile de meniuri sau link-urile sau afișate ca bară de navigare orizontală. + +## Meniuri de gestionare + +Pentru a gestiona meniurile, du-te la ACP > Extensii > Articol > Meniu + +### Crearea meniurilor +Pentru a crea un meniu nou (grup), faceți clic pe butonul `Adaugă meniu`. Un nou grup de meniuri va fi creat cu un nume generat aleator. Noul meniu va fi de asemenea selectat astfel încât să puteți începe să adăugați elemente de meniu la el. + +### Editare Meniuri +Dacă doriţi un nume de meniu mai semnificativ, +* plutește peste numele meniului și dă click pe pictograma cog +* introduceți noul nume de meniu și apăsați enter pentru a-l actualiza + +### Ştergere meniuri +Pentru a șterge un meniu, și elementele lui, +* Treci peste numele meniului și apasă pe pictograma **x** +* Dacă elementul de meniu nu are elemente copil, va trebui să confirmați alegerea dvs. pentru a șterge elementul +* Dacă elementul de meniu are elemente copil, trebuie să indicați dacă doriți să ștergeți numai elementul și să mutați copiii acestuia în sus sau dacă doriți să ștergeți întreaga ramură diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/user/site/_category_.json b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/site/_category_.json new file mode 100644 index 000000000000..fb4df635a203 --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/site/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Construirea site-ului tău", + "position": 3 +} diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md new file mode 100644 index 000000000000..e9f88d634241 --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md @@ -0,0 +1,46 @@ +--- +title: Blochează moștenirea +sidebar_position: 5 +--- + +Am văzut deja acest lucru prin setarea unui layout implicit, alte pagini care nu au blocuri proprii vor moșteni blocurile de la layout-ul implicit. Există, totuşi, un alt tip de moştenire în bloc. + +## Rute părinte/copil +In phpBB SiteMaker, vorbim de rute imbricate in termeni de directoarele imbricate reale (sub) sau practic imbricate pe rute. Te rog să stai cu mine :). +* Adevărate trasee părinte/copil: De exemplu, calea /unul_directory/sub_directory/index.php este un copil al /unui_directory/index.php +* Căile virtuale pentru părinte/copii: De exemplu, viewtopic.php este tratat ca un copil de vizualizare.php. + +Iată câteva exemple de piste pentru părinți/copii: + +| Părinte | Copil | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/my-article | + +## Moștenire părinte/bloc copil +Pentru rutele părinte/copil, ruta copil moștenește blocurile rutei părinte (dacă părintele are propriile blocuri) sau din aspectul implicit (dacă unul a fost stabilit). Cu alte cuvinte, chiar dacă există un aspect implicit, ruta copil va moșteni blocuri de pe ruta sa părinte, în cazul în care ruta părinte are propriile blocuri. Dar nu toate blocurile din ruta părinte trebuie moştenite. + +## Controlul moștenirii blocului +La un nivel de bloc, poți controla când un bloc poate fi moștenit de trasee pentru copii. Am atins acest lucru mai devreme în [Editarea Setări blocului](/docs/user/blocks/managing-blocks#editing-block-settings). + +Luați în considerare următoarea structură de directoare reală: +```text +phpBB +Ribavirin ─ index.php +Ribavirin ─ filme/ + • ─ index.php + ß ─ pagină.php + 3.2.3 ─ Comedie/ + Ribavirin ─ index.php +``` + +În scopul moştenirii blocurilor, afirmă: +* Calea principală a /phpBB/Movies/Comedy/index.php este /phpBB/Movies/index.php fără /phpBB/Movies/page.php +* Toate paginile dintr-un subdirector relativ la /phpBB/index.php este o rută copil de /phpBB/index.php. Așadar /phpBB/Movies/index.php și /phpBB/Movies/page.php sunt copii de /phpBB/index.php și, prin urmare, își va moșteni blocurile dacă nu au blocuri proprii. În acest caz: + * Atunci când un bloc pe /phpBB/index.php este setat să fie afișat pe **Ascuns pe rutele pentru copii**, blocul va apărea pe /phpBB/index. hp (ruta părinte), dar nu pe rutele pentru copii + * Când un bloc pe /phpBB/index.php este setat să fie afișat pe **Numai pe rutele copii**, va fi afișat pe /phpBB/Movies/index. hp and /phpBB/Movies/page.php (rute copii), dar nu pe /phpBB/index.php (părinte), nici /phpBB/Movies/Comedy/index.php (mergem doar un nivel de adâncime) + * Atunci când un bloc pe /phpBB/index.php este setat să afișeze **întotdeauna** (implicit), va fi afișat pe /phpBB/index. hp (părinte), /phpBB/Movies/index.php și /phpBB/page.php (rute copii), dar nu și pe /phpBB/Movies/Comedy/index.php (mergem doar un singur nivel adânc). În acest caz, /phpBB/Movies/Comedy/index.php va moșteni de pe ruta implicită (dacă există) + +## Starea Posibil a viitorului +Sunt foarte interesat de feedback-ul tău în acest domeniu. Majoritatea utilizatorilor phpBB nu vor avea directoare reale, așa cum se subliniază mai sus. Așa că mă gândesc să folosesc structura care este definită într-un bloc de meniu ca o structură de director virtual și să aplicați această moștenire părinte/copil la ea. Mă gândesc, de asemenea, să depăşim un nivel mai adânc. Te rog spune-mi dacă acest lucru îți va fi util. \ No newline at end of file diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md new file mode 100644 index 000000000000..9eed725103ba --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md @@ -0,0 +1,6 @@ +--- +title: Particularizare blocuri afişate +sidebar_position: 6 +--- + +Lucrări în desfășurare... \ No newline at end of file diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/user/site/default-layout.md b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/site/default-layout.md new file mode 100644 index 000000000000..fc8539444436 --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/site/default-layout.md @@ -0,0 +1,21 @@ +--- +title: Setarea unui Layout implicit +sidebar_position: 4 +--- + +Atunci când adăugați un bloc, acesta este adăugat la acea pagină specifică. Prin urmare, ar fi o sarcină obositoare să setezi blocuri pentru toate paginile de pe site-ul tău. Puteți seta toate blocurile dorite pentru o anumită pagină, apoi setați acea pagină ca aspect implicit. În alte cuvinte, orice pagină care nu are propriile blocuri, va moșteni blocuri de pe această pagină. + +Pentru a seta un aspect implicit +* Mergeți la pagina pe care doriți să o setați ca aspect implicit +* Faceți clic pe `Setări` din bara de administrare +* Faceți clic pe butonul `Setare ca layout implicit` + +Spune că am adăugat blocuri unei pagini (phpBB/index.php) cu blocuri în bara laterală și pozițiile de sus, de exemplu, și am setat-o ca aspect implicit. Acesta are următoarele efecte pentru alte pagini: +* Orice pagină care nu are propriile blocuri, va moșteni blocurile din layout-ul implicit. Vezi [Înțelegerea moștenirii blocului](/docs/user/site/block-inheritance) pentru excepții. +* Încă poți moșteni blocuri de la un aspect implicit (index). hp) dar alege să nu afișeze blocuri pe unele poziții din bloc sau să nu afișeze niciun bloc. În acest scop, + * Mergeți la pagina pe care nu doriți să o afișați toate/câteva blocuri + * Faceți clic pe `Setări` din bara de administrare + * Selectaţi `Nu arăta blocuri pe această pagină` dacă nu doriţi să moşteniţi/afişaţi nici un bloc pe această pagină SAU + * Utilizați CTRL + faceți clic pentru a selecta pozițiile blocului (în dreapta) pe care nu doriți să afișați blocurile +* În modul `de editare`, o pagină care moștenește blocuri din aspectul implicit, nu va afișa nici un bloc, oferindu-vă oportunitatea de a adăuga blocuri la pagină dacă doriți +* Orice pagină care are propriile blocuri nu va moșteni de la aspectul implicit diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/user/site/layouts.md b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/site/layouts.md new file mode 100644 index 000000000000..cd3dcfb14bb1 --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/site/layouts.md @@ -0,0 +1,31 @@ +--- +title: Aranjări +sidebar_position: 1 +--- + +"Schemele" determină pozițiile disponibile ale blocului și modul în care acestea sunt afișate. + +## Poziții bloc +Pozițiile blocului sunt zone predefinite pe site-ul tău unde blocurile pot exista. Pozițiile disponibile ale blocului sunt determinate de stilul șablonului pe care îl utilizați. Pentru prosilver, fpBB SiteMaker vine cu următoarele poziții ale blocului: +* panou: lăţime completă peste tot +* sidebar: stânga/dreapta în funcție de aspectul de mai jos +* subconţinut: similar barei laterale doar mai mari +* top_hor: blocuri orizontale deasupra capului, atașate peste sidebar/subconținut în funcție de aspect +* sus: deasupra conținutului principal +* casetă: lățime egală, blocuri orizontale sub conținutul principal +* jos: sub conţinutul principal +* jos_cal: blocuri orizontale dedesubt, alăturând sidebar/subconținutul în funcție de aspect +* subsol: blocuri orizontale în subsol Puteţi adăuga mai multe poziţii de bloc în stilul dvs prin copierea şi modificarea şabloanelor corespunzătoare phpBB SiteMaker + +## Aspect site +Puteți alege aspectul site-ului dvs. în ACP (Extensii > Sitemaker > Setări): +* **Blog**: subconținut și bară laterală, împins la dreapta, top_hor/botom_hor flank subconținut +* **Gri Sfânt**: lățime laterală și subconținut pe laturile opuse, subconținut în flanc top_hor/botom_hor +* **Portal**: bara laterală în stânga, subconținut în dreapta, top_hor/botom_hor flank subconținut +* **Portal Alt**: subconținut pe partea stângă a barei laterale, partea de sus a barelor_botom_hor +* **Personalizat**: Setează manual lățimea sidebarurilor ca px, %, em sau rem. Implicit este 200px pe fiecare parte + +## Sabloane/stiluri personalizate +cât mai mult posibil, am încercat să punem fișiere șablon și active în stiluri/toți/folderul pentru a le putea suprascrie creând un fișier cu același nume în tema dvs. temă. . prosilver. Așa că dacă doriți să modificați modul în care se afișează un anumit bloc sau dacă doriți să vă creați propriul layout cu propriile dvs. poziții blocate, trebuie doar să creați un fișier cu același nume și aceeași cale ca și originalul din propriul stil. + +Dacă trebuie să personalizați fișierele CSS/JS, aruncați o privire la secțiunea [Tema](/docs/dev/theming). \ No newline at end of file diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/user/site/navbar.md b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/site/navbar.md new file mode 100644 index 000000000000..5f8d47d9e151 --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/site/navbar.md @@ -0,0 +1,6 @@ +--- +title: Bara de navigare +sidebar_position: 2 +--- + +Vezi [Afișarea meniurilor](/docs/user/menus/displaying-menus#navigation-bar) diff --git a/website/i18n/ro/docusaurus-plugin-content-docs/current/user/site/startpage.md b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/site/startpage.md new file mode 100644 index 000000000000..ede744741e5d --- /dev/null +++ b/website/i18n/ro/docusaurus-plugin-content-docs/current/user/site/startpage.md @@ -0,0 +1,11 @@ +--- +title: Setarea unei pagini de start +sidebar_position: 3 +--- + +phpBB SiteMaker vă permite să alegeți orice controlor din față (paginile accesate prin app.php/... ca pagină de start implicită (pagina care va fi afișată atunci când cineva vizitează site-ul tău) în locul indexului forumului. + +Pentru a face acest lucru: +* Mergeți la pagina pe care doriți să o setați ca implicită pagină de start +* Faceți clic pe `Setări` din bara de administrare. Dacă este o pagină eligibilă, vei vedea un buton `Setează ca pagina de start` +* Dă click pe butonul `Setează ca pagină de start` \ No newline at end of file diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/contrib/_category_.json b/website/i18n/ru/docusaurus-plugin-content-docs/current/contrib/_category_.json new file mode 100644 index 000000000000..23854db0c954 --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/contrib/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Внести вклад", + "position": 4 +} diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/contrib/overview.md b/website/i18n/ru/docusaurus-plugin-content-docs/current/contrib/overview.md new file mode 100644 index 000000000000..6af1353c8534 --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/contrib/overview.md @@ -0,0 +1,11 @@ +--- +title: Принять участие +sidebar_position: 1 +--- + +phpBB SiteMaker является проектом с открытым исходным кодом и приветствует ваши идеи и вклады. Так что не стесняйтесь принимать участие. Вы можете внести свой вклад в этот проект: + +* [Предоставление поддержки/обратной связи](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Сообщить об ошибках](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Помощь с переводом](./translators.md) +* [Исправление ошибок или добавление функций](./pull-requests.md) diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/contrib/pull-requests.md b/website/i18n/ru/docusaurus-plugin-content-docs/current/contrib/pull-requests.md new file mode 100644 index 000000000000..09dc08ef18d9 --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/contrib/pull-requests.md @@ -0,0 +1,65 @@ +--- +title: Отправка Pull Request +sidebar_label: Запросы на слияние +--- + +`Pull requests позволяют рассказать другим о изменениях, внесенных вами в ветку в репозиторий на GitHub. После открытия Pull Request вы можете обсудить и просмотреть потенциальные изменения с соавторами и добавить коммиты, прежде чем ваши изменения будут объединены в базовую ветку.` [Читать больше](https://help.github.com/articles/about-pull-requests/) + +## Форкинг/Клонирование + +* Создайте аккаунт github, если у вас еще нет его +* Перейдите на https://github.com/blitze/phpBB-ext-sitemaker.git и нажмите на "Fork" + +Клонировать ваш форк репозитория: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Из командной строки перейдите в директорию sitemaker: + + cd phpBB/ext/blitze/sitemaker + +**Настроить git:** + +Добавьте ваше имя пользователя в Git в вашу систему: + + git config --global user.name "Ваше имя здесь" + +Добавьте ваш адрес электронной почты в Git в системе: + + git config --add user.email username@phpbb.com + +Добавьте вверх (вы можете изменить «вверх» на то, что вам нравится): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + +**Установить поставщиков** + + установка исполнителя + +**Установить пакеты NPM** + + npm install + +Кроме того, вы можете использовать [yarn](https://yarnpkg.com): + + Установка yarn + +## Запросы на слияние + + # Создайте новую ветку для вашей функции & переключитесь на нее + git checkout -b feature/my-fancy-new-feature + + # создать новую ветку для проблемы, над которой вы работаете * переключатель (тикет # из github tracker) + git checkout -b ticket/1234 + +Внести изменения + + # Этап файлов + git add + + # Зафиксировать staged файлы - пожалуйста, используйте сообщение о подтверждении + git commit -m "мое сообщение о подтверждении" + +Отправка ветки обратно в GitHub git push origin feature/my-fancy-new-feature + +Отправить [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/contrib/translators.md b/website/i18n/ru/docusaurus-plugin-content-docs/current/contrib/translators.md new file mode 100644 index 000000000000..0923db13884d --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/contrib/translators.md @@ -0,0 +1,17 @@ +--- +title: Переводители +sidebar_position: 2 +--- + +Нам нужна помощь в переводе этого расширения, а также его документации. Мы создали проект на Crowdin, чтобы облегчить перевод. Crowdin предоставляет вам интерфейс перевода, который является вторым по счету. Вы можете внести свой вклад, но мы действительно рекомендуем использовать Crowdin. + +> Crowdin - это платформа для управления локализацией, которая помогает компаниям переводить их программное обеспечение. Вы можете прочитать больше о Crowdin [здесь](https://support.crowdin.com/crowdin-intro/) + +Если вы желаете внести свой вклад в перевод, вам понадобится: + +* [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) аккаунт. +* Выберите целевой язык, если он существует, иначе запрос будет включен. + +Если ваш желаемый язык не в списке, пожалуйста, [свяжитесь со мной](https://crowdin.com/profile/blitze) и я добавлю его. + +[Начать перевод](https://crowdin.com/project/phpbb-ext-sitemaker) diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/dev/_category_.json b/website/i18n/ru/docusaurus-plugin-content-docs/current/dev/_category_.json new file mode 100644 index 000000000000..d778e5c96766 --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/dev/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Руководство разработчика", + "position": 3 +} diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/dev/events.md b/website/i18n/ru/docusaurus-plugin-content-docs/current/dev/events.md new file mode 100644 index 000000000000..a406a5a9cc6d --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/dev/events.md @@ -0,0 +1,120 @@ +--- +title: phpBB События чайник сайта +sidebar_position: 2 +--- + +Вы можете изменить поведение phpBB SiteMaker с помощью системы событий phpBB. + +## События PHP + +### blitze.sitemaker.acp_add_bulk_menu_options + +- Местонахождение: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- с: 3.1.0 +- Цель: добавить массовые параметры меню в acp меню + +### blitze.sitemaker.acp_display_settings_form + +- Местонахождение: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- с: 3.1.0 +- Цель: отображение acp (sitemaker) настройки формы + +### blitze.sitemaker.acp_save_settings + +- Местонахождение: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- с: 3.1.0 +- Цель: Сохранить acp (сайт-мейкер) + +### blitze.sitemaker.admin_bar.set_assets + +- Расположение: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- с: 3.0.1-RC1 +- Цель: Добавить медиафайлы для доступных блоков в режиме редактирования + +### blitze.sitemaker.modify_block_positions + +- Расположение: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- с: 3.0.1-RC1 +- Цель: Изменение позиций блока + +### blitze.sitemaker.modify_rendered_block + +- Расположение: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- с: 3.0.1-RC1 +- Цель: изменить рендеринг блока + +## События шаблона + +### blitze_sitemaker_acp_settings + +- Расположение: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- с: 3.1.0 +- Цель: Добавить поля формы для настройки sitemaker + +### blitze_sitemaker_admin_bar_add + +- Расположение: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- с: 3.1.0 +- Цель: Добавить пункты меню в панель администратора + +### blitze_sitemaker_admin_bar_templates + +- Расположение: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- с: 3.1.0 +- Цель: Добавить файлы шаблонов для использования в JS для просмотра блоков и т.д. + +## События JavaScript + +### blitze_sitemaker_layout_сохранен + +- Местонахождение: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- с: 3.1.2 +- Цель: событие, позволяющее другим расширениям делать что-то при сохранении изменений + +### blitze_sitemaker_render_block_перед + +- Местонахождение: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- с: 3.1.2 +- Цель: событие, позволяющее другим расширениям сделать что-нибудь, прежде чем блок будет отображен или не будет отображен повторно + +### blitze_sitemaker_render_block_после + +- Местонахождение: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- с: 3.1.2 +- Цель: событие для разрешения другим расширениям сделать что-то после отображения блока + +### blitze_sitemaker_save_block_раньше + +- Местонахождение: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- с: 3.1.2 +- Цель: событие для разрешения другим расширениям изменять данные блока перед сохранением + +### blitze_sitemaker_show_all_block_positions + +- Местонахождение: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- с: 3.1.2 +- Цель: событие, позволяющее другим расширениям делать что-нибудь, когда отображаются все позиции блока + +### blitze_sitemaker_hide_empty_block_positions + +- Местонахождение: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- с: 3.1.2 +- Цель: событие, позволяющее другим расширениям делать что-нибудь, когда пустые позиции скрыты + +### blitze_sitemaker_layout_очищено + +- Местонахождение: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- с: 3.1.2 +- Цель: событие, позволяющее другим расширениям делать что-нибудь, когда макет очищен + +### blitze_sitemaker_layout_обновлено + +- Местонахождение: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- с: 3.1.2 +- Цель: событие, позволяющее другим расширениям делать что-то при обновлении макета + +### blitze_sitemaker_tinymce_options + +- Местонахождение: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- с: 3.3.0 +- Цель: событие для разрешения других расширений для изменения параметров на тиме diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/dev/overview.md b/website/i18n/ru/docusaurus-plugin-content-docs/current/dev/overview.md new file mode 100644 index 000000000000..edf47ba20cde --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/dev/overview.md @@ -0,0 +1,179 @@ +--- +title: Расширение phpBB SiteMaker +sidebar_position: 1 +--- + +Вы можете расширить/изменить phpBB SiteMaker, используя [сервисную замену](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [украшение сервиса](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), и [систему событий phpBB](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Вы можете найти список поддерживаемых событий [здесь](./events.md). + +## Создание блока SiteMaker + +Блок phpBB SiteMaker - это просто класс, расширяющий blitze\sitemaker\services\blocks\driver\block класс и возвращает массив из метода "display" с именем "title" и "content". Все остальное между собой зависит от вас. Чтобы ваш блок phpBB SiteMaker, вам нужно ввести тэг "sitemaker.block". + +Скажем, у нас есть расширение с vendor/extension в качестве мои/примера. Создавать блок "my_block" для phpBB SiteMaker: + +- Создать папку "блоки" +- Создайте файл my_block.php в папке блоков со следующим содержимым + +```php +namespace my\example\blocks; + +use blitze\sitemaker\services\blocks\driver\block; + +класс my_block extends block +{ + /** + * {@inheritdoc} + */ + public function display(array $settings, $edit_mode = false) + { + return array( + 'title' => 'my block title', + 'content' => 'мое содержимое блока', + ); + } +} +``` + +Затем в файле config.yml, добавьте следующее: + +```yml +услуг: + +... + + my.example.block.my_block: + class: my\example\blocks\my_block + вызовы: + - [set_name, [my.example.block.my_block]] + теги: + - { name: sitemaker.block } + +.... + +``` + +Как минимум, это все, что вам нужно. Если вы заходите в режим редактирования, вы должны увидеть блок в виде 'MY_EXAMPLE_BLOCK_MY_BLOCK', который можно перетащить и вытащить на любую позицию блока. Но этот блок не делает ничего интересного. Он не имеет настроек и не переводит название блока. Давайте сделаем его более интересным. + +### Настройки блока + +Давайте изменим наши блоки/my_block. hp файл и добавьте метод "get_config" на возвращает массив с ключами настроек блока и значениями, представляющими собой массив, описывающий такие параметры, как + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + возвращаемый массив( + 'legend1' => 'TAB1', + 'checkbox' => массив('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'По умолчанию' => массив(), 'объяснять' => ложь), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => массив('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'объяснить' => false, 'default' => 'тема'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'объяснить' => false), + 'multi' => массив('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => массив('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'по умолчанию' => 5), + 'textarea' => массив('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'по умолчанию' => ''), + 'Переключатель' => массив('lang' => 'SOME_TOGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'по умолчанию' => '', 'append' => '
показывать только при выборе варианта 1
'), + ); +} +``` + +Это так же, как phpBB строит конфигурацию форумов в ACP. Вы можете посмотреть больше примеров [здесь](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Если вы хотите настраиваемый тип поля, вы можете увидеть пример [здесь](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) (параметр 'content_type'). + +Обратите внимание на "legend1" и "legend2" - это разделение настроек на вкладки. + +### Именованные блоки + +Конвенция о именах блоков заключается в том, что сервис имени (например my.example.block. y*блок выше) будет использоваться в качестве ключа языка, заменив точки (.) на подчеркивание (*) (например, MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Перевод + +Также обратите внимание, что у нас есть несколько языковых ключей, которые необходимо перевести. Чтобы сделать это, создайте файл с именем "blocks_admin.php" в папке языка. Этот файл будет автоматически загружен при редактировании блоков и должен иметь переводы для настроек блоков и названия. + +``` +$lang = array_merge($lang, массив( + 'SOME_LANG_VAR' => 'Option 1', + 'OTHER_LANG_VAR' => 'Option 2', + 'SOME_LANG_VAR_1' => 'Настройки 1', +.... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Мой блок', +); +``` + +Поскольку 'blocks_admin.php' загружается только при редактировании блоков, вам нужно будет добавить другие переводы (напр. block title), загрузив языковой файл в вашем методе отображения, например `$language->add_lang('my_lang_file', 'my/example');` + +### Отображение блока + +Новый блок будет отображаться только если он что-то рендерует. Блок может вернуть любую строку как содержимое, но в большинстве случаев вам нужен шаблон, чтобы отобразить содержимое. Чтобы отобразить ваш блок с помощью шаблонов, блок должен возвращать массив, содержащий данные, которые вы хотите передать в шаблон, и должен также использовать метод `get_template` , как показано ниже: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + возвращаемый массив( + 'legend1' => 'TAB1', + 'some_setting' => массив('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'По умолчанию' => массив(), 'объяснять' => ложь), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // делаем что-то только в режиме редактирования + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => массив( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Затем файл styles/all/my_block.html или styles/prosilver/my_block.html может выглядеть следующим образом: + +``` +

Вы выбрали: {{ some_var }}

+``` + +In summary, your block must return an array with a `title` key (for the block title) and a `content` key (if the block just displays a string and does not use a template) or a `data` key (if the block uses a template, in which case, you will also need to implement the `get_template` method). + +### Блокировать активы + +Если вашему блоку нужно добавить на страницу ресурсы (css/js), я рекомендую использовать для этого инструмент [утилита класса](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php). Поскольку на странице может быть несколько экземпляров одного и того же блока, или другие блоки могут добавить один и тот же актив, утилита класса гарантирует, что актив добавляется только только. + +```php + $this->утилита>add_assets(array( + 'js' => array( + '@my_example/assets/some. s', + 100 => '@my_example/assets/other. s', // установить приоритет + ), + 'css' => array( + '@my_example/assets/some. ss', + ) +)); +``` + +Класс util должен, конечно, быть добавлен в ваши служебные определения в config.yml, как так: `- '@blitze.sitemaker. til'` и определено конструктором вашего блока `\blitze\sitemaker\services\util $util`. + +Вот и всё. Мы закончили! diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/dev/theming.md b/website/i18n/ru/docusaurus-plugin-content-docs/current/dev/theming.md new file mode 100644 index 000000000000..61f4094a307e --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/dev/theming.md @@ -0,0 +1,62 @@ +--- +title: Темы +sidebar_position: 3 +--- + +Мы понимаем, что файлы шаблонов и JS/CSS не будут работать для каждого стиля, поэтому ниже приведены некоторые способы использования собственных шаблонов и создания JS/CSS файлов для вашего конкретного стиля. + +## Использование собственного шаблона + +Если шаблоны по умолчанию, поставляемые с phpBB Sitemaker, не хорошо работают в вашем конкретном стиле, вы можете легко перезаписать файл шаблона, создав соответствующий файл в папке стилей. + +Например, говорят, что ваш стиль называется `Backlash` и имеет особый способ, с помощью которого HTML для раздела блоков заголовка должен быть структурирован для [окна вида](/docs/user/blocks/block-views). Вы можете перезаписать конкретный шаблон, создав файл на такое же имя: `phpBB/ext/blitze/sitemaker/styles/Backlash/template/views/boxed_view.twig`. + +Другими словами, чтобы использовать свой собственный файл шаблона, необходимо: +* Определить, какой файл phpBB Sitemaker должен быть перезаписан +* Создайте файл по одному и тому же имени в папке Sitemaker `стилей` под вашим именем стиля + +> Примечание: Если вы создаете свои собственные файлы шаблона, не удаляйте папку `phpbb/ext/blitze/sitemaker` при обновлении расширения, так как ваши пользовательские файлы будут удалены. Напротив, просто перезаписать существующие файлы новыми. + +## Создание JS/CSS файлов для вашего стиля + +Примечание: +* Для целей приведенных ниже инструкций мы предполагаем, что у вас есть стиль под названием my-style. + +Клонировать в phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Из командной строки перейдите в директорию sitemaker: + + cd phpBB/ext/blitze/sitemaker + +**Установить поставщиков** + + установка исполнителя + +**Установить пакеты** + +Для команд ниже вы можете использовать npm или [yarn](https://yarnpkg.com) + + Установка yarn + +**Смотреть изменения** + + yarn start --theme my-style + +**Сделать изменения** + +* Внесите изменения в файлы в папку phpBB/ext/blitze/sitemaker/developer. +* Посмотрите на phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss для переменных sass + +**Создать активы** + + yarn build --theme my-style + +**Развертывание** + +Теперь вы можете скопировать созданные файлы с phpBB/ext/blitze/sitemaker/styles/my-style и загрузить их на ваш производственный сервер. + +> Это расширение использует jQuery UI для вкладок, диалогов и кнопок. Тема jQuery по умолчанию: 'гладкость.' Вы можете использовать различные jQuery UI темы, которые лучше всего подходят для вашей темы. Вы можете указать jQuery UI тему, используя флаг --jq_ui_theme. Например: + + yarn build --theme my-style --jq_ui_theme ui-lightness diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/intro/_category_.json b/website/i18n/ru/docusaurus-plugin-content-docs/current/intro/_category_.json new file mode 100644 index 000000000000..a73a7b173c27 --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/intro/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Начало работы", + "position": 1 +} diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/intro/installation.md b/website/i18n/ru/docusaurus-plugin-content-docs/current/intro/installation.md new file mode 100644 index 000000000000..43357404c6e8 --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/intro/installation.md @@ -0,0 +1,16 @@ +--- +title: "Установка / модернизация" +sidebar_position: 2 +--- + +Скачать расширение от [здесь](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker +* Извлечь и загрузить его в папку phpBB/ext/ так что у вас есть phpBB/ext/blitze/sitemaker +* Перейдите в "ACP" > "Customise" > "Extensions" и включите расширение "phpBB Sitemaker". + +## Обновление phpBB SiteMaker +* Создайте резервную копию базы данных на случай, если что-то пойдет не так +* Перейдите в "ACP" > "Customise" > "Extensions" и выключите (не очистить) "phpBB Sitemaker" +* Скачайте и распакуйте последнюю версию phpBB SiteMaker и загрузите его в папку phpBB/ext/ (перезапись) +* Перейдите в "ACP" > "Customise" > "Extensions" и включите расширение "phpBB Sitemaker". diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/intro/introduction.md b/website/i18n/ru/docusaurus-plugin-content-docs/current/intro/introduction.md new file mode 100644 index 000000000000..8a0564a13221 --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/intro/introduction.md @@ -0,0 +1,6 @@ +--- +title: Введение +sidebar_position: 1 +--- + +phpBB SiteMaker стремится преобразовать ваш phpBB форум в CMS/портал. Оно делает это, предоставляя блоки и меню, чтобы помочь вам настроить ваш сайт по своему усмотрению. Существуют или будут другие расширения SiteMaker, которые предоставляют дополнительные возможности для достижения этой цели. Она также позволяет определить целевую страницу при доступе к сайту. Так что если вы не хотите, чтобы посетители вашего сайта сразу же увидели phpBB форум, когда они идут на www. our-site.com, вы можете определить свою собственную стартовую страницу. diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/user/_category_.json b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/_category_.json new file mode 100644 index 000000000000..5e9d76e0a054 --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Руководство пользователя", + "position": 2 +} diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/user/blocks/_category_.json b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/blocks/_category_.json new file mode 100644 index 000000000000..d0f179d349b7 --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/blocks/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Блоки", + "position": 1 +} diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/user/blocks/block-views.md b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/blocks/block-views.md new file mode 100644 index 000000000000..0c9abce227b5 --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/blocks/block-views.md @@ -0,0 +1,6 @@ +--- +title: Виды блоков +sidebar_position: 2 +--- + +Идёт работа... \ No newline at end of file diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md new file mode 100644 index 000000000000..d4b46c96c248 --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md @@ -0,0 +1,24 @@ +--- +title: Пользовательский блок +sidebar_position: 4 +--- + +Если доступные блоки не дают вам необходимую свободу, есть `Пользовательский блок` , который позволяет вам свободно отображать ваш собственный контент с помощью BBcode или HTML. Блок поставляется с WYSIWYG редактором (TinyMCE) и менеджером скриптов: + +## Редактор + +- Вы можете использовать редактор для создания HTML контента +- Вы можете редактировать исходный код, если вам нужен уровень управления, нажав на значок `Исходный код` (`<>`) в редакторе +- Редактор позволяет вам загружать и изменять изображения + - Создает новую папку в phpBB/images/sitemaker_uploads/ для каждого пользователя, имеющего к ней доступ + - Вы можете просматривать/управлять всеми папками пользователей +- Редактор фильтрует любые потенциально опасные скрипты, такие как javascript и т.д. Если вам нужно добавить контент, как Google объявлений, JavaScript будет отфильтрован, но вы можете обойти это, делая следующее: + - Добавить пользовательский блок в нужное место + - Редактировать пользовательский блок, нажмите на вкладку `HTML` и вставьте ваш Javascript + +## Менеджер скриптов + +Пользовательский блок также позволяет добавлять на вашу страницу пользовательские файлы CSS и Javascript. Для этого: + +- Добавить `Пользовательский блок` в любую позицию блока. Позиция не имеет значения, если вы также отображаете содержимое с блоком +- Редактировать блок, нажмите на вкладку `Скрипты` и добавьте ваши файлы CSS или Javascript > Скрипт осторожности: добавление ко многим скриптам на вашей странице может повлиять на время загрузки diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md new file mode 100644 index 000000000000..032d8d8e8930 --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md @@ -0,0 +1,51 @@ +--- +title: Mananaging Blocks +sidebar_position: 3 +--- + +Чтобы управлять блоками в phpBB SiteMaker, вы должны быть в [режиме редактирования](./overview#edit-mode). + +> Если блок не отображает ни одного контента, он не будет отображаться, кроме как в режиме редактирования. Таким образом, вы можете либо дать ему контент (в случае Пользовательского блока) либо изменить его настройки. + +> В режиме редактирования несколько прозрачные блоки являются блоками, которые в противном случае не будут показаны, но будут отображаться только потому, что мы в режиме редактирования + +## Добавление блоков +Вы можете добавить блоки на любую главную страницу, за исключением пользовательской панели управления и панели управления. Чтобы добавить блок, вам необходимо: +* нажмите на **Блоки** в панели администратора. Отображается список доступных блоков +* Перетащите нужный блок в любую позицию блока + +## Редактирование блоков +### Добавление значка блока +Слева от названия блока (проселения) находится окно для значка блока. Щелкните на этом окне, чтобы получить выбор значков. Вы можете выбрать размер иконки, цвет, пол, вращение и т.д. + +### Редактирование заголовка блока +phpBB блоки SiteMaker будут иметь по умолчанию, переведенное название, но если заголовок не соответствует вашим потребностям, вы можете изменить его. Чтобы изменить заголовок блока, +* Нажмите на заголовок блока, чтобы получить встроенную форму редактирования +* Изменить заголовок на то, что вы хотите +* Удалить фокус из поля или нажмите Enter для отправки изменений + +> Ваше измененное название блока не переведено + +> Чтобы вернуться к заголовку по умолчанию, просто удалите заголовок и нажмите enter + +### Редактирование настроек блока +Когда вы наведите курсор на блок, иконка появится справа от блока, который может быть использован для редактирования блока. В диалоговом окне редактирования блока вы можете: +- Включить/выключить блок [Status] +- Выберите, когда блок должен / не отображаться [Display]. Это применимо только в тех случаях, когда у вас есть вложенные страницы (см. [Понимание блоков наследования](/docs/user/site/block-inheritance)): + - **Всегда**: Всегда показывать блок + - **Скрыть по дочерним маршрутам**: Показывать этот блок только на родительском маршруте + - **Показывать на дочерних маршрутах только**: показывать этот блок только на дочернем маршруте +- Выберите, какие группы пользователей могут просматривать блок [Видимым]. Используйте CTRL + клик, чтобы выбрать несколько групп. +- Установить пользовательские классы для изменения внешнего вида блока или предметов (списки, изображения, фон и т. д.) в блоке [CSS класс] +- Показать/скрыть заголовок блока [Скрыть название блока?] +- Выберите вид блока [Блок просмотра]. Вы можете выбрать вид блока по умолчанию при добавлении новых блоков в АШП. + - **По умолчанию / Простой**: использует класс проселка панели, чтобы обернуть блок в пасечный контейнер + - **Основной**: блок не имеет контейнеров, обертывающих его + - **Коробка**: использует класс проребро, чтобы обернуть блок в коробку +- Установить / Обновить специфические настройки блока +- Если у вас один и тот же блок с одинаковыми настройками на нескольких страницах, вы можете обновить все их одновременно, отметив **блоки обновления с аналогичными настройками** + +## Удаление блоков +- Наведите курсор на блок, который вы хотите удалить +- Нажмите на значок **x** и подтвердите удаление блока +- Перейдите вверх на панель администратора и нажмите на `Сохранить изменения` diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/user/blocks/overview.md b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/blocks/overview.md new file mode 100644 index 000000000000..b6ef13310d00 --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/blocks/overview.md @@ -0,0 +1,9 @@ +--- +title: Что такое блоки? +sidebar_position: 1 +--- + +В основе phpBB SiteMaker лежит концепция блоков. Блоки - это небольшие части контента, которые можно размещать в различных заранее определенных областях (блочных позициях) на вашем сайте. В блоках обычно есть настройки, которые вы можете установить/изменить на тонкую настройку содержимого, которое вы хотите отобразить. Большинство блоков, но не все, создадут запросы к базе данных для получения желаемого содержимого. Так что давайте не будем слишком сумасшедшим :). Для управления блоками вам нужно переключиться в режим редактирования. + +## Режим редактирования +Переключитесь в режим редактирования, нажав на значок карандаша в правом верхнем углу сайта. Отображать "Панель администратора" с элементами меню "Блокиров" и "Настройки". Это называется режимом редактирования. diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/user/menus/_category_.json b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/menus/_category_.json new file mode 100644 index 000000000000..4259794d53ee --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/menus/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Menus", + "position": 2 +} diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md new file mode 100644 index 000000000000..219e2d0b9d5c --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md @@ -0,0 +1,15 @@ +--- +title: Отображение меню +sidebar_position: 3 +--- + +Теперь, когда у вас есть меню вы можете отображать их несколькими способами: + +## Блок ссылок +Вы можете использовать этот блок для отображения плоского или вложенного списка пунктов меню. Этот блок не предназначен для навигации, т.е. он не будет показывать текущую страницу или что-либо подобное. Предназначена для списка элементов, включая внешние ссылки. + +## Блок меню +Блок предназначен для навигации по сайту. Он делает некоторые дополнительные вычисления для определения текущего местоположения и не предназначен для очень большого списка. + +## Панель навигации +Подобно блоку меню, панель навигации будет отображать пункты меню как отзывчивое выпадающее меню, предназначенное для навигации по сайту. Вы можете включить это в ACP > Расширения > Sitemaker > Настройки > Выбрать меню diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md new file mode 100644 index 000000000000..e7cfc427da6f --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md @@ -0,0 +1,30 @@ +--- +title: Управление пунктами меню +sidebar_position: 2 +--- + +Ваше меню бесполезно, если в нём нет пунктов меню. Вы можете добавить пункты меню, которые указывают на локальные или внешние файлы. + +> URL для внешних сайтов должен начинаться с http(s)://, ftp://, //. + +> Вы можете создать разделитель, введя '-' в качестве заголовка пункта + +## Добавление пунктов меню +Вы можете добавить пункты меню по одному элементу за раз, или вы можете добавить несколько пунктов меню на них. + +### Добавление отдельных пунктов меню +Чтобы добавить один пункт меню, +* нажмите на кнопку `Добавить пункт меню` +* Заполните необходимую информацию и нажмите `Сохранить` + +### Добавление нескольких элементов +Чтобы добавить несколько пунктов меню сразу, +* Нажмите на иконку со стрелкой вниз рядом с `Добавить пункт меню` +* Вы можете вручную добавлять элементы, размещая каждый элемент на новой строке и используя элементы табуляции +* Вы можете нажать на один из предложенных вариантов в нижней части текстового поля для автоматического заполнения пунктов меню + +## Изменить порядок пунктов меню +Вы можете перетащить пункты меню вверх/вниз, чтобы задать порядок отображения или перетащить их влево/вправо, чтобы задать нужную иерархию. + +## Восстановление пунктов меню +Если вы обнаружили, что пункты меню отображаются некорректно, нажмите на кнопку `Перестроить дерево` для пересборки пунктов меню. diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md new file mode 100644 index 000000000000..96349183c6d4 --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md @@ -0,0 +1,24 @@ +--- +title: Управление меню +sidebar_position: 1 +--- + +Вы можете создавать меню в АШП, которые затем можно отображать с помощью меню или блоков Ссылки или отображать как горизонтальную панель навигации. + +## Управление меню + +Для управления меню перейдите в ACP > Расширения > Sitemaker > Меню + +### Создание меню +Чтобы создать новое меню (группа), нажмите на кнопку `Добавить меню`. Будет создана новая группа меню с произвольно сгенерированным именем. Новое меню также будет выбрано, чтобы вы могли начать добавлять к нему пункты меню. + +### Редактирование меню +Если вы хотите более понятное название меню, +* наведите курсор на название меню и нажмите на кодовую иконку +* введите новое название меню и нажмите enter для его обновления + +### Удаление меню +Удалить меню, и его элементы, +* Наведите курсор на название меню и нажмите на значок **x** +* Если в пункте меню нет дочерних элементов, вам нужно будет подтвердить ваш выбор, чтобы удалить элемент +* Если пункт меню содержит дочерние элементы, вам нужно указать, если вы хотите удалить только элемент и переместить его вверх или удалить всю ветку diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/user/site/_category_.json b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/site/_category_.json new file mode 100644 index 000000000000..097818d61d33 --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/site/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Построение сайта", + "position": 3 +} diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md new file mode 100644 index 000000000000..2947eaf38cbf --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md @@ -0,0 +1,46 @@ +--- +title: Заблокировать наследование +sidebar_position: 5 +--- + +Мы уже видели это, установив стандартный макет, другие страницы, которые не имеют собственных блоков, будут наследовать блоки из макета по умолчанию. Однако существует еще один вид наследования кварталов. + +## Родитель/дочерний маршрут +В phpBB SiteMaker мы говорим о вложенных маршрутах с точки зрения реальных вложенных (под) каталогов или практически вложенных путей/маршрутов. Оставайтесь со мной :). +* Real Parent/Child маршруты: Например, путь /some_directory/sub_directory/index.php является потомком /some_directory/index.php +* Виртуальные маршруты Родитель/Дочерние маршруты: Например, viewtopic.php считается потомком viewforum.php. + +Вот несколько примеров маршрутов родителя/дочернего маршрута: + +| Родитель | Дочерний | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/my-article | + +## Наследование родительских/детских блоков +Для маршрутов родителя/ребенка, дочерний маршрут наследует блоки родительского маршрута (если родительский имеет свои собственные блоки) или из макета по умолчанию (если он был установлен). Другими словами, даже если есть макет по умолчанию, дочерний маршрут наследует блоки из родительского маршрута, если родительский маршрут имеет свои собственные блоки. Но не все кварталы от родительского маршрута должны быть унаследованы. + +## Управление наследованием блоков +На уровне блоков можно контролировать, когда блок можно унаследовать от дочерних маршрутов. Мы коснулись этого ранее в [Настройки блока редактирования](/docs/user/blocks/managing-blocks#editing-block-settings). + +Рассмотрим следующую реальную структуру каталогов: +```text +phpBB +├── index.php +└── Movies/ + ├── index.php + ├── page.php + └── Comedy/ + └── index.php +``` + +Для целей наследования блоков мы говорим: +* Родительский маршрут /phpBB/Movies/Comedy/index.php - это /phpBB/Movies/index.php, а не /phpBB/Movies/page.php +* Все страницы в подкаталоге по отношению к /phpBB/index.php - это дочерний маршрут /phpBB/index.php. Таким образом, /phpBB/Movies/index.php и /phpBB/Movies/page.php являются детьми /phpBB/index.php и поэтому они наследуют свои блоки, если у них нет собственных блоков. В данном случае: + * Когда на /phpBB/index.php установлен блок для отображения на **Скрыть на дочерних маршрутах**, блок будет отображаться на /phpBB/index. hp (родительский маршрут), но не на дочерних маршрутах + * Когда на /phpBB/index.php установлен блок для отображения **Показать только на дочерних маршрутах**, он будет отображаться на /phpBB/Movies/index. hp и /phpBB/Movies/page.php (дочерние маршруты), но не на /phpBB/index.php (parent), ни /phpBB/Movies/Comedy/index.php (мы только занимаемся углубленным уровне) + * Когда на /phpBB/index.php установлен блок для отображения **всегда** (по умолчанию), он будет отображаться на /phpBB/index. hp (parent), /phpBB/Movies/index.php и /phpBB/page.php (дочерние маршруты), но не на /phpBB/Movies/Comedy/index.php (мы только переходим на один уровень). В этом случае /phpBB/Movies/Comedy/index.php будет наследовать из маршрута по умолчанию (если он существует) + +## Потенциальное будущее состояние +Меня интересует ваша обратная связь в этой области. Большинство пользователей phpBB не будут иметь реальных каталогов, как указано выше. Поэтому я подумываю использовать структуру, которая определяется в блоке меню как виртуальная структура каталогов и применять ее родитель/ребенок наследование к нему. Я также рассматриваю возможность выходить за пределы глубины одного уровня. Пожалуйста, сообщите мне, если это будет полезно для вас. \ No newline at end of file diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md new file mode 100644 index 000000000000..1c5221497ee2 --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md @@ -0,0 +1,6 @@ +--- +title: Настройка отображения блоков +sidebar_position: 6 +--- + +Идёт работа... \ No newline at end of file diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/user/site/default-layout.md b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/site/default-layout.md new file mode 100644 index 000000000000..114892ac2764 --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/site/default-layout.md @@ -0,0 +1,21 @@ +--- +title: Установка макета по умолчанию +sidebar_position: 4 +--- + +Когда вы добавляете блок, он добавляется на эту страницу. Поэтому было бы утомительным заданием установить блоки для всех страниц вашего сайта. Вы можете установить все нужные блоки для конкретной страницы, а затем установить эту страницу в качестве макета по умолчанию. Другими словами, любая страница, которая не имеет своих собственных блоков, будет наследовать блоки с этой страницы. + +Установить макет по умолчанию +* Перейти на страницу, которую вы хотите установить в качестве макета по умолчанию +* Нажмите `Настройки` в панели администрирования +* Нажмите кнопку `Установить как макет по умолчанию` + +Скажем, что мы добавляем блоки к странице (phpBB/index.php) с блоками в боковой панели и топовых позициях, например, и устанавливаем их как макет по умолчанию. Это имеет следующие последствия для других страниц: +* Любая страница, которая не имеет собственных блоков, наследует блоки из макета по умолчанию. Смотрите [Понимание Наследования Блоков](/docs/user/site/block-inheritance) для исключений. +* Вы можете наследовать блоки из макета по умолчанию (индекс). hp), но не отображать блоки на некоторых позициях блоков или вообще не отображать блоки. Для этого + * Перейти на страницу, которую вы не хотите, чтобы все блоки отображались + * Нажмите `Настройки` в панели администрирования + * Выберите `Не показывать блоки на этой странице` , если вы не хотите наследование/отображать какие-либо блоки на этой странице ИЛИ + * Используйте CTRL + клик, чтобы выбрать расположение блока (справа), что вы не хотите отображать блоки на +* В режиме редактирования ``, страница, которая наследует блоки из макета по умолчанию, не будет показывать блоки, давая вам возможность добавлять блоки на страницу, если вы хотите +* Любая страница, которая имеет свои собственные блоки, не будет наследовать из макета по умолчанию diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/user/site/layouts.md b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/site/layouts.md new file mode 100644 index 000000000000..bc0e5aae4a29 --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/site/layouts.md @@ -0,0 +1,31 @@ +--- +title: Макеты +sidebar_position: 1 +--- + +"Макеты" определяют доступные позиции блока и то, как они отображаются. + +## Позиции блока +Позиции блоков - это предопределенные области на вашем сайте, где могут существовать блоки. Доступные позиции блока определяются стилем шаблона, который вы используете. Для prosilver, phpBB SiteMaker поставляется со следующими позициями: +* панель: полная ширина по верхней части +* боковая панель: влево/вправо в зависимости от расположения ниже +* subcontent: похожие на боковую панель только больше +* top_hor: горизонтальные блоки сверху, вверху/вниз по боковой панели/подсодержимому в зависимости от расположения +* вверху: выше основного содержимого +* коробка: ровная ширина, горизонтальные блоки под основным контентом +* снизу: ниже основного содержимого +* снизу_гор: горизонтальные блоки по нижней части, фланги боковой панели/субконтента в зависимости от расположения +* футер: горизонтальные блоки в нижнем колонтитуле Вы можете добавить больше блоков позиций в шаблонах стиля, копируя и изменяя соответствующие шаблоны phpBB SiteMaker + +## Макет сайта +Вы можете выбрать макет для вашего сайта в ACP (Расширения > Sitemaker > Настройки): +* **Блог**: подконтент и боковая панель рядом друг с другом, толкнули вправо, top_hor/botom_hor фланг подконтента +* **Святая грань**: ширина боковой панели и подконтент на противоположных сторонах, top_hor/botom_hor фланг подконтента +* **Портал**: боковая панель слева, подсодержимое справа, сверху_hor/botom_hor фланга +* **Портал Alt**: подсодержимое слева, боковая панель справа, сверху_hor/botom_hor фланга +* **Пользовательский**: Ручно установить ширину боковых панелей как px, %, em или rem. По умолчанию 200px с каждой стороны + +## Пользовательские шаблоны/стили +насколько это возможно, мы пытались поместить файлы шаблонов и активы в папку стилей/все/, чтобы вы могли перезаписать их, создавая файл с тем же именем в вашем собственном шаблоне темы. . prosilver. Так что если вы хотите изменить как определенный блок отображает или вы хотите создать свой собственный макет с собственными позициями блоков, просто создайте файл с тем же именем и путем, что и оригинал в своём собственном стиле. + +Если вам нужно настроить CSS/JS файлы, ознакомьтесь с разделом [тема](/docs/dev/theming). \ No newline at end of file diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/user/site/navbar.md b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/site/navbar.md new file mode 100644 index 000000000000..a15461d9e877 --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/site/navbar.md @@ -0,0 +1,6 @@ +--- +title: Панель навигации +sidebar_position: 2 +--- + +Посмотреть [Отображаемые Меню](/docs/user/menus/displaying-menus#navigation-bar) diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/user/site/startpage.md b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/site/startpage.md new file mode 100644 index 000000000000..cbc3a48911c1 --- /dev/null +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/user/site/startpage.md @@ -0,0 +1,11 @@ +--- +title: Установка начальной страницы +sidebar_position: 3 +--- + +phpBB SiteMaker позволяет вам выбрать любой фронт-контроллер (страницы доступны через app.php/... как стартовая страница по умолчанию (страница, которая будет показана при посещении вашего сайта) вместо индекса форума. + +Для этого: +* Перейти на страницу, которую вы хотите установить начальной страницей по умолчанию +* Нажмите `Настройки` в панели администратора. Если это допустимая страница, вы увидите кнопку `Set как стартовая страница` +* Нажмите на кнопку `Установить как стартовую страницу` \ No newline at end of file diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/contrib/_category_.json b/website/i18n/sk/docusaurus-plugin-content-docs/current/contrib/_category_.json new file mode 100644 index 000000000000..9f09f85c1772 --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/contrib/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Contribute", + "position": 4 +} diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/contrib/overview.md b/website/i18n/sk/docusaurus-plugin-content-docs/current/contrib/overview.md new file mode 100644 index 000000000000..de46426e8d48 --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/contrib/overview.md @@ -0,0 +1,11 @@ +--- +title: Get Involved +sidebar_position: 1 +--- + +phpBB SiteMaker is an open source project and welcomes your ideas and contributions. So feel free to get involved. You can contribute to this project by: + +* [Providing Support/Feedback](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Reporting Bugs](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Helping with Translation](./translators.md) +* [Fixing bugs or adding features](./pull-requests.md) diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/contrib/pull-requests.md b/website/i18n/sk/docusaurus-plugin-content-docs/current/contrib/pull-requests.md new file mode 100644 index 000000000000..eb49a6f371dc --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/contrib/pull-requests.md @@ -0,0 +1,65 @@ +--- +title: Submitting a Pull Request +sidebar_label: Pull Requests +--- + +`Pull requests let you tell others about changes you've pushed to a branch in a repository on GitHub. Once a pull request is opened, you can discuss and review the potential changes with collaborators and add follow-up commits before your changes are merged into the base branch.` [Read more](https://help.github.com/articles/about-pull-requests/) + +## Forking/Cloning + +* Create a github account if you don't already have one +* Go to https://github.com/blitze/phpBB-ext-sitemaker.git and click on "Fork" + +Clone your fork of the repository: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +From command line go to sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + +**Configure git:** + +Add your Username to Git on your system: + + git config --global user.name "Your Name Here" + +Add your E-mail address to Git on your system: + + git config --add user.email username@phpbb.com + +Add the upstream remote (you can change ‘upstream’ to whatever you like): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + +**Install vendors** + + composer install + +**Install NPM packages** + + npm install + +Alternatively you may use [yarn](https://yarnpkg.com): + + yarn install + +## Pull Requests + + # Create a new branch for your feature & switch to it + git checkout -b feature/my-fancy-new-feature + + # create a new branch for the issue you are working on * switch to it (ticket # is from github tracker) + git checkout -b ticket/1234 + +Make your changes + + # Stage the files + git add + + # Commit staged files - please use a correct commit message + git commit -m "my commit message" + +Push the branch back to GitHub git push origin feature/my-fancy-new-feature + +Submit a [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/contrib/translators.md b/website/i18n/sk/docusaurus-plugin-content-docs/current/contrib/translators.md new file mode 100644 index 000000000000..117e8c0cd238 --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/contrib/translators.md @@ -0,0 +1,17 @@ +--- +title: Translators +sidebar_position: 2 +--- + +We need help translating this extension, as well as its documentation. We have created a project on Crowdin to ease translations. Crowdin gives you a translation interface that's second to none. You can contribute how ever you want but we really recommend using Crowdin. + +> Crowdin is a localization management platform that helps companies to translate their software. You can read more about Crowdin [here](https://support.crowdin.com/crowdin-intro/) + +If you are willing to contribute with translations, you will need: + +* A [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) account. +* Chose the target language if exist otherwise request to be enabled. + +If your desired language is not listed, please [contact me](https://crowdin.com/profile/blitze) and I will add it. + +[Start Translating](https://crowdin.com/project/phpbb-ext-sitemaker) diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/dev/_category_.json b/website/i18n/sk/docusaurus-plugin-content-docs/current/dev/_category_.json new file mode 100644 index 000000000000..cc7b01abbce9 --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/dev/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Developer Guide", + "position": 3 +} diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/dev/events.md b/website/i18n/sk/docusaurus-plugin-content-docs/current/dev/events.md new file mode 100644 index 000000000000..74e789e92ca9 --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/dev/events.md @@ -0,0 +1,120 @@ +--- +title: phpBB SiteMaker Events +sidebar_position: 2 +--- + +You can modify the behavior of phpBB SiteMaker using phpBB's event system. + +## PHP Events + +### blitze.sitemaker.acp_add_bulk_menu_options + +- Location: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Since: 3.1.0 +- Purpose: Add bulk menu options in acp menu + +### blitze.sitemaker.acp_display_settings_form + +- Location: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Since: 3.1.0 +- Purpose: display acp (sitemaker) settings form + +### blitze.sitemaker.acp_save_settings + +- Location: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Since: 3.1.0 +- Purpose: Save acp (sitemaker) settings + +### blitze.sitemaker.admin_bar.set_assets + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Since: 3.0.1-RC1 +- Purpose: Add assets for available blocks in edit mode + +### blitze.sitemaker.modify_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Since: 3.0.1-RC1 +- Purpose: Modify block positions + +### blitze.sitemaker.modify_rendered_block + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Since: 3.0.1-RC1 +- Purpose: Modify a rendered block + +## Template Events + +### blitze_sitemaker_acp_settings + +- Location: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Since: 3.1.0 +- Purpose: Add form fields for sitemaker settings + +### blitze_sitemaker_admin_bar_append + +- Location: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Since: 3.1.0 +- Purpose: Add menu items to admin bar + +### blitze_sitemaker_admin_bar_templates + +- Location: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Since: 3.1.0 +- Purpose: Add template files to be used in JS for block views, etc + +## Javascript Events + +### blitze_sitemaker_layout_saved + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout changes are saved + +### blitze_sitemaker_render_block_before + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something before block is rendered or prevent it from being re-rendered + +### blitze_sitemaker_render_block_after + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something after block is rendered + +### blitze_sitemaker_save_block_before + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to modify block data before it is saved + +### blitze_sitemaker_show_all_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when all block positions are shown + +### blitze_sitemaker_hide_empty_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when empty positions are hidden + +### blitze_sitemaker_layout_cleared + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout is cleared + +### blitze_sitemaker_layout_updated + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout is updated + +### blitze_sitemaker_tinymce_options + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Since: 3.3.0 +- Purpose: Event to allow other extensions to modify tinymce options diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/dev/overview.md b/website/i18n/sk/docusaurus-plugin-content-docs/current/dev/overview.md new file mode 100644 index 000000000000..04a34e5ee9c8 --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/dev/overview.md @@ -0,0 +1,179 @@ +--- +title: Extending phpBB SiteMaker +sidebar_position: 1 +--- + +You can extend/modify phpBB SiteMaker using [service replacement](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [service decoration](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), and [phpBB's event system](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). You can find a list of supported events [here](./events.md). + +## Creating a SiteMaker block + +A phpBB SiteMaker block is simply a class that extends the blitze\sitemaker\services\blocks\driver\block class and returns an array from the "display" method with a 'title' and 'content'. Everything else inbetween is up to you. To make your block discoverable by phpBB SiteMaker, you'll need to give it the "sitemaker.block" tag. + +Say we have an extension with vendor/extension as my/example. To create a block called "my_block" for phpBB SiteMaker: + +- Create a "blocks" folder +- Create my_block.php file in the blocks folder with the following content + +```php +namespace my\example\blocks; + +use blitze\sitemaker\services\blocks\driver\block; + +class my_block extends block +{ + /** + * {@inheritdoc} + */ + public function display(array $settings, $edit_mode = false) + { + return array( + 'title' => 'my block title', + 'content' => 'my block content', + ); + } +} +``` + +Then in your config.yml file, add the following: + +```yml +services: + + ... + + my.example.block.my_block: + class: my\example\blocks\my_block + calls: + - [set_name, [my.example.block.my_block]] + tags: + - { name: sitemaker.block } + + .... + +``` + +At a bare minimum, that's all you need. If you go into edit mode, you should see the block listed as 'MY_EXAMPLE_BLOCK_MY_BLOCK' that can be dragged and dropped on any block position. But this block doesn't do anything exciting. It has no settings and does not translate the block name. Let's make it more interesting. + +### Block Settings + +Let's modify our blocks/my_block.php file and add a "get_config" method th at returns an array with the keys being the block settings and the values being an array describing the settings like so: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Only show when option 1 is selected
'), + ); + } +``` + +This is constructed the same way that phpBB builds the configuration for board settings in ACP. You can see more examples [here](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +If you want a custom field type, you can see an example [here](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' setting). + +Notice 'legend1' and 'legend2': These are used to separate the settings into tabs. + +### Naming Blocks + +The convention for block names is that the service name (e.g my.example.block.my*block above) will be used as the language key by replacing the dots (.) with underscore (*) (e.g MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Translation + +Also notice that we have several language keys that need to be translated. To do this, create a file named "blocks_admin.php" in your language folder. This file will be automatically loaded when editing blocks, and should have translations for your blocks settings and block names. + +``` +$lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Option 1', + 'OTHER_LANG_VAR' => 'Option 2', + 'SOME_LANG_VAR_1' => 'Setting 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'My Block', +); +``` + +Because 'blocks_admin.php' is only loaded when editing blocks, you will need to add other translations (e.g. block title) by loading a language file in your display method like so `$language->add_lang('my_lang_file', 'my/example');` + +### Rendering the block + +The new block will only be displayed if it is rendering something. Your block can return any string as content but in most cases, you need a template to render your content. To render your block using templates, the block must return an array that holds the data that you want to pass to the template and must also implement the `get_template` method as demonstrated below: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block.html'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // do something only in edit mode + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); + } +``` + +Then your styles/all/my_block.html or styles/prosilver/my_block.html file might look something like this: + +``` +

You selected: {{ some_var }}

+``` + +In summary, your block must return an array with a `title` key (for the block title) and a `content` key (if the block just displays a string and does not use a template) or a `data` key (if the block uses a template, in which case, you will also need to implement the `get_template` method). + +### Block Assets + +If your block needs to add assets (css/js) to the page, I recommend using the sitemaker [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) for that. Since there can be more than one instance of the same block on the page, or other blocks might be adding the same asset, the util class ensures that the asset is only added ones. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some.js', + 100 => '@my_example/assets/other.js', // set priority + ), + 'css' => array( + '@my_example/assets/some.css', + ) + )); +``` + +The util class will, of course, need to be added to your service definitions in config.yml like so: `- '@blitze.sitemaker.util'` and defined in your block's constructor `\blitze\sitemaker\services\util $util`. + +And that's it. We're done! diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/dev/theming.md b/website/i18n/sk/docusaurus-plugin-content-docs/current/dev/theming.md new file mode 100644 index 000000000000..96fa96590958 --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/dev/theming.md @@ -0,0 +1,62 @@ +--- +title: Theming +sidebar_position: 3 +--- + +We understand that the template files and the JS/CSS files will not work for every style, so below are some ways you can use your own templates and create JS/CSS files for your particular style. + +## Using your own template + +If the default templates that come with phpBB Sitemaker don't work well for your particular style, you can easily overwrite it to use your own template file by creating the corresponding file in your styles's folder. + +For example, say your style is called `Backlash` and it has a particular way in which the HTML for the block header section needs to be structured for the [boxed view](/docs/user/blocks/block-views). You can overwrite that particular template by creating a file by the same name like so: `phpBB/ext/blitze/sitemaker/styles/Backlash/template/views/boxed_view.twig`. + +In other words, to use your own template file, you need to: +* Identify which phpBB Sitemaker file needs to be overwritten +* Create a file by the same name in the Sitemaker `styles` folder under your style name + +> Note: If you create your own template files, be sure to not delete the `phpbb/ext/blitze/sitemaker` folder when updating the extension as your custom files will be deleted. Rather, just overwrite the existing files with the new ones. + +## Creating JS/CSS files for your style + +Note: +* For the purpose of the below instructions we will assume that you have a style called my-style. + +Clone into phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +From command line go to sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + +**Install vendors** + + composer install + +**Install packages** + +For the below commands you can use npm or [yarn](https://yarnpkg.com) + + yarn install + +**Watch Changes** + + yarn start --theme my-style + +**Make Changes** + +* Make your changes to files in the phpBB/ext/blitze/sitemaker/develop folder. +* Look at phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss for sass variables + +**Build Assets** + + yarn build --theme my-style + +**Deploy** + +You can now copy the generated files from phpBB/ext/blitze/sitemaker/styles/my-style and uploaded them to your production server. + +> This extension uses jQuery UI for tabs, dialogs and buttons. The default jQuery theme is 'smoothness.' You can use a different jQuery UI theme that best fits your theme. You can specify the jQuery UI theme using the flag --jq_ui_theme. For example: + + yarn build --theme my-style --jq_ui_theme ui-lightness diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/intro/_category_.json b/website/i18n/sk/docusaurus-plugin-content-docs/current/intro/_category_.json new file mode 100644 index 000000000000..3562d433d76f --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/intro/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Getting Started", + "position": 1 +} diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/intro/installation.md b/website/i18n/sk/docusaurus-plugin-content-docs/current/intro/installation.md new file mode 100644 index 000000000000..e0630f01e6be --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/intro/installation.md @@ -0,0 +1,16 @@ +--- +title: "Installing / Upgrading" +sidebar_position: 2 +--- + +Download the extension from [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker +* Extract and upload it to your phpBB/ext/ folder so you have phpBB/ext/blitze/sitemaker +* Go to "ACP" > "Customise" > "Extensions" and enable the "phpBB Sitemaker" extension. + +## Upgrading phpBB SiteMaker +* Create a backup of your database just in case something goes wrong +* Go to "ACP" > "Customise" > "Extensions" and disable (do not purge) "phpBB Sitemaker" +* Download and extract the latest version of phpBB SiteMaker and upload it to your phpBB/ext/ folder (overwrite) +* Go to "ACP" > "Customise" > "Extensions" and enable the "phpBB Sitemaker" extension. diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/intro/introduction.md b/website/i18n/sk/docusaurus-plugin-content-docs/current/intro/introduction.md new file mode 100644 index 000000000000..f3613f50b73c --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/intro/introduction.md @@ -0,0 +1,6 @@ +--- +title: Introduction +sidebar_position: 1 +--- + +phpBB SiteMaker seeks to transform your phpBB board into a CMS/portal. It does so by providing you with blocks and menus to help you customize your site to your liking. There are or will be other SiteMaker extensions that provide additional functionality to meet this goal. It also allows you to define a landing page when your site is accessed. So if you don't want visitors to your site to immediately see the phpBB forum when they go to www.your-site.com, you can define your own start page. diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/user/_category_.json b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/_category_.json new file mode 100644 index 000000000000..68ea78e78443 --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "User Guide", + "position": 2 +} diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/user/blocks/_category_.json b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/blocks/_category_.json new file mode 100644 index 000000000000..6aa877545702 --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/blocks/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Blocks", + "position": 1 +} diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/user/blocks/block-views.md b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/blocks/block-views.md new file mode 100644 index 000000000000..3316541dd929 --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/blocks/block-views.md @@ -0,0 +1,6 @@ +--- +title: Block Views +sidebar_position: 2 +--- + +Work in progress... \ No newline at end of file diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md new file mode 100644 index 000000000000..861704f2e76f --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md @@ -0,0 +1,24 @@ +--- +title: Custom Block +sidebar_position: 4 +--- + +If the available blocks do not give you the freedom you need, there is the `Custom Block` which allows you the freedom to display your own content using BBcode or HTML. The block comes with a WYSIWYG editor (TinyMCE) and a scripts manager: + +## The editor + +- You can use the editor to create HTML content +- You can edit the source code if you need that level of control by clicking on the `Source code` icon (`<>`) in the editor +- The editor allows you to upload and modify images + - It creates a new folder in phpBB/images/sitemaker_uploads/ for every user who has access to it + - You can view/manage all user folders +- The editor filters out any potentially dangerous scripts like javascript, etc. If you need to add content like google ads, the javascript will be filtered out, but you can get around that by doing the following: + - Add the Custom Block to desired location + - Edit the Custom Block, click on the `HTML` tab and paste your Javascript + +## The Scripts Manager + +The Custom Block also allows you to add custom CSS and Javascript files to your page. To do this: + +- Add a `Custom Block` to any block position. The position does not matter unless you are also displaying content with the block +- Edit the block, click on the `Scripts` tab and add your CSS or Javascript files > Word of caution though: Adding to many scripts on your page can affect load times diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md new file mode 100644 index 000000000000..bd11686979ac --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md @@ -0,0 +1,51 @@ +--- +title: Mananaging Blocks +sidebar_position: 3 +--- + +To manage blocks in phpBB SiteMaker, you must be in [Edit Mode](./overview#edit-mode). + +> When a block does not display any content, it will not be displayed, except in edit mode. That way, you can either give it content (in the case of the Custom block) or change its settings. + +> In edit mode, the somewhat transparent blocks are blocks that will otherwise not be displayed but are only being displayed because we are in edit mode + +## Adding blocks +You can add blocks to any front-facing page, except the User Control Panel and Moderator Control Panel pages. To add a block, you will need to: +* click on **Blocks** in the Admin bar. This will display a list of available blocks +* Drag and drop the desired block to any block position + +## Editing blocks +### Adding a block icon +To the left of the block title (prosilver), there is a box for the block icon. Click on this box to get the icon picker. You can select the icon size, color, float, rotation, etc. + +### Editing the Block Title +phpBB SiteMaker blocks will have a default, translated title but if the title does not meet your needs, you can change it. To edit the block title, +* Click on the block title to get an inline edit form +* Change the title to whatever you want +* Remove focus from the field or hit enter to submit changes + +> Your modified block title is not translated + +> To revert to the default title, simple delete the title and hit enter + +### Editing block settings +When you hover over a block, a cog icon will appear to the right of the block that can be used to edit the block. In the edit block dialog, you can: +- Enable/disable a block [Status] +- Choose when the block should/should not be displayed [Display]. This only applies in cases where you have nested pages (see [Understanding Block Inheritance](/docs/user/site/block-inheritance)): + - **Always**: Always display the block + - **Hide on child routes**: Only show this block on the parent route + - **Show on child routes only**: Only show this block on a child route +- Choose which groups of users can view the block [Viewable by]. Use CTRL + click to select multiple groups. +- Set custom classes to modify the appearance of the block or items (lists, images, background, etc) within the block [CSS Class] +- Show/hide the block title [Hide block title?] +- Select the block view [Block view]. You can select a default block view when new blocks are added in ACP. + - **Default / Simple**: uses the prosilver panel class to wrap the block in a padded container + - **Basic**: block does not have any container wrapping it + - **Boxed**: uses the prosilver forabg class to wrap the block in a box +- Set / Update block specific settings +- If you have the same block with same settings across multiple pages, you can update all of them at once by checking the **Update blocks with similar settings** + +## Deleting blocks +- Hover over the block you'd like to delete +- Click on the **x** icon and confirm that you wish to delete the block +- Go up to the admin bar and click on `Save Changes` diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/user/blocks/overview.md b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/blocks/overview.md new file mode 100644 index 000000000000..1b8f0a75c40e --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/blocks/overview.md @@ -0,0 +1,9 @@ +--- +title: What are blocks? +sidebar_position: 1 +--- + +At the heart of phpBB SiteMaker is the concept of blocks. Blocks are little pieces of content that you can place in different pre-defined areas (block positions) on your site. The blocks will typically have settings that you can set/change to fine-tune the content that you wish to display. Most blocks, but not all, will make database queries to get the desired content. So let's not get too crazy :). To manage blocks, you will need to switch to "edit mode". + +## Edit Mode +Switch to edit mode by clicking on the pencil icon on the top right of your site. This will display the "Admin bar" with "Blocks" and "Settings" menu items. This is referred to as being in 'edit mode'. diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/user/menus/_category_.json b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/menus/_category_.json new file mode 100644 index 000000000000..4259794d53ee --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/menus/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Menus", + "position": 2 +} diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md new file mode 100644 index 000000000000..70927b2abece --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md @@ -0,0 +1,15 @@ +--- +title: Displaying Menus +sidebar_position: 3 +--- + +Now that you have create your menus, you can display them in several ways: + +## Links Block +You can use this block to display a flat or nested list of menu items. This block is not intended to be used for navigation i.e. it will not show a current page or anything like that. It is intended for a list of items, including external links. + +## Menus Block +This block is intended for site navigation. It does some additional computations to determine current location and is not intended to be a very large list. + +## Navigation bar +Similar to the Menus block, the navigation bar will display menu items as a responsive dropdown menu intended for site navigation. You can enable this in ACP > Extensions > Sitemaker > Settings > Select menu diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md new file mode 100644 index 000000000000..eb77c62c13d0 --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md @@ -0,0 +1,30 @@ +--- +title: Managing Menu Items +sidebar_position: 2 +--- + +Your menu is useless unless it has menu items. You can add menu items that point to local or external files. + +> The URL for external sites must begin with http(s)://, ftp://, //, etc. + +> You can create a divider by entering '-' as the item title + +## Adding Menu items +You can add menu items one item at a time, or you can add multiple menu items at ones. + +### Adding single menu items +To add a single menu item, +* click on the `Add Menu Item` button +* Fill in the required information and hit `Save` + +### Adding multiple items +To add multiple menu items at once, +* Click on the down arrow icon next to `Add Menu Item` +* You can manually add items by placing each item on a new line and using the tab character nest items or +* You can click on one of the provided options at the bottom of the textarea to automatically fill in the menu items + +## Reorder the menu items +You can drag and drop the menu items up/down to set their display order, or drag them left/right to set the desired hierarchy. + +## Rebuilding the menu items +If you find that the menu items are not displaying correctly, click on the `Rebuild Tree` button to rebuild the menu items. diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md new file mode 100644 index 000000000000..bc7ec16cfbab --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md @@ -0,0 +1,24 @@ +--- +title: Managing Menus +sidebar_position: 1 +--- + +You can create menus in ACP that you can then display using the Menus or the Links blocks or displayed as a horizontal navbar. + +## Managing Menus + +To manage menus, go to ACP > Extensions > Sitemaker > Menu + +### Creating Menus +To create a new menu (group), click on the `Add Menu` button. A new menu group will be created with a randomly generated name. The new menu will also be selected so you can begin adding menu items to it. + +### Editing Menus +If you want a more meaningful menu name, +* hover over the menu name and click on the cog icon +* enter the new menu name and hit enter to update it + +### Deleting Menus +To delete a menu, and its items, +* Hover over the menu name and click on the **x** icon +* If the menu item has no child items, you will need to confirm your choice to delete the item +* If the menu item has child items, you will need to indicate if you want to delete only the item and move its children up or if you want to delete the entire branch diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/user/site/_category_.json b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/site/_category_.json new file mode 100644 index 000000000000..c1279944184a --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/site/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Building your site", + "position": 3 +} diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md new file mode 100644 index 000000000000..d53ed6cf2f07 --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md @@ -0,0 +1,46 @@ +--- +title: Block Inheritance +sidebar_position: 5 +--- + +We have already seen that by setting a default layout, other pages that do not have blocks of their own will inherit the blocks from the default layout. There is, however, another type of block inheritance. + +## Parent/Child Routes +In phpBB SiteMaker, we speak of nested routes in terms of real nested (sub) directories or virtually nested paths/routes. Please stay with me :). +* Real Parent/Child routes: For example, the path /some_directory/sub_directory/index.php is a child of /some_directory/index.php +* Virtual Parent/Child routes: For example, viewtopic.php is treated as a child of viewforum.php. + +Here are some examples of parent/child routes: + +| Parent | Child | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/my-article | + +## Parent/Child Block Inheritance +For parent/child routes, the child route inherits the blocks of the parent route (if the parent has its own blocks) or from the default layout (if one has been set). In other words, even if there is a default layout, the child route will inherit blocks from its parent route if the parent route has its own blocks. But not all blocks from the parent route must be inherited. + +## Controlling Block Inheritance +At a block level, you can control when a block can be inherited by child routes. We touched on this earlier in the [Editing Block Settings](/docs/user/blocks/managing-blocks#editing-block-settings). + +Consider the following real directory structure: +```text +phpBB +├── index.php +└── Movies/ + ├── index.php + ├── page.php + └── Comedy/ + └── index.php +``` + +For the purposes of inheriting blocks, we say: +* The parent route of /phpBB/Movies/Comedy/index.php is /phpBB/Movies/index.php and not /phpBB/Movies/page.php +* All pages in a sub directory relative to /phpBB/index.php is a child route of /phpBB/index.php. So /phpBB/Movies/index.php and /phpBB/Movies/page.php are all children of /phpBB/index.php and will therefore inherit its blocks if they do not have blocks of their own. In this case: + * When a block on /phpBB/index.php is set to display on **Hide on child routes**, the block will show on /phpBB/index.php (parent route) but not on its child routes + * When a block on /phpBB/index.php is set to display on **Show on child routes only**, it will display on /phpBB/Movies/index.php and /phpBB/Movies/page.php (child routes) but not on /phpBB/index.php (parent), nor /phpBB/Movies/Comedy/index.php (we only go one level deep) + * When a block on /phpBB/index.php is set to display **always** (default), it will display on /phpBB/index.php (parent), /phpBB/Movies/index.php and /phpBB/page.php (child routes) but not on /phpBB/Movies/Comedy/index.php (we only go one level deep). In this case, /phpBB/Movies/Comedy/index.php will inherit from the default route (if it exists) + +## Posible Future State +I'm really interested in your feedback in this area. Most phpBB users will not have real directories as outlined above. So I'm thinking of using the structure that is defined in a menu block as a virtual directory structure and apply this parent/child inheritance to it. I'm also considering going beyond one level deep. Please let me know if this will be useful to you. \ No newline at end of file diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md new file mode 100644 index 000000000000..5c8921307597 --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md @@ -0,0 +1,6 @@ +--- +title: Customizing Blocks Display +sidebar_position: 6 +--- + +Work in progress... \ No newline at end of file diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/user/site/default-layout.md b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/site/default-layout.md new file mode 100644 index 000000000000..e0707bde32c9 --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/site/default-layout.md @@ -0,0 +1,21 @@ +--- +title: Setting a Default Layout +sidebar_position: 4 +--- + +When you add a block, it is added to that specific page. It would, therefore, be a tedious task to set blocks for all the pages on your site. You can set all the desired blocks for a particular page, then set that page as the default layout. In others words, any page that does not have its own blocks, will inherit blocks from this page. + +To set a default layout +* Go to the page that you'd like to set as default layout +* Click on `Settings` in the admin bar +* Click the `Set as default layout` button + +Say we add blocks to a page (phpBB/index.php) with blocks in the sidebar and top positions, for example, and set it as our default layout. This has the following effects for other pages: +* Any page that does not have its own blocks, will inherit the blocks from the default layout. See [Understanding Block Inheritance](/docs/user/site/block-inheritance) for exceptions. +* You may still inherit blocks from a default layout (index.php) but choose to not display blocks on some block positions or not display any blocks at all. To do this, + * Go to the page that you don't want all/some blocks to display + * Click on `Settings` in the admin bar + * Select `Do not show blocks on this page` if you don't want to inherit/display any blocks on this page OR + * Use CTRL + click to select the block positions (on the right) that you do not want to display blocks on +* In `edit mode`, a page that inherits blocks from the default layout, will not show any blocks, giving you the opportunity to add blocks to the page if you want to +* Any page that has its own blocks will not inherit from the default layout diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/user/site/layouts.md b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/site/layouts.md new file mode 100644 index 000000000000..4ee616f81cf7 --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/site/layouts.md @@ -0,0 +1,31 @@ +--- +title: Layouts +sidebar_position: 1 +--- + +"Layouts" determine the available block positions and how they are displayed. + +## Block Positions +Block positions are predefined areas on your site where blocks can exist. The available block positions are determined by the template style that you are using. For prosilver, phpBB SiteMaker comes with the following block positions: +* panel: full width across the top +* sidebar: left/right depending on layout below +* subcontent: similar to sidebar just larger +* top_hor: horizontal blocks across the top, flanking above sidebar/subcontent depending on layout +* top: above main content +* box: equal width, horizontal blocks below main content +* bottom: below main content +* bottom_hor: horizontal blocks across the bottom, flanking the sidebar/subcontent depending on layout +* footer: horizontal blocks in the footer You can add more block positions in your own style templates by copying and modifying the corresponding phpBB SiteMaker templates + +## Site Layout +You can choose the layout for your site in ACP (Extensions > Sitemaker > Settings): +* **Blog**: subcontent and sidebar next to each other, pushed to the right, top_hor/botom_hor flank subcontent +* **Holy Grail**: equal width sidebar and subcontent on opposite sides, top_hor/botom_hor flank subcontent +* **Portal**: sidebar on left, subcontent on the right, top_hor/botom_hor flank subcontent +* **Portal Alt**: subcontent on left, sidebar on the right, top_hor/botom_hor flank sidebar +* **Custom**: Manually set the width of the sidebars as px, %, em or rem. Defaults to 200px on each side + +## Custom templates/styles +As much as possible, we tried to put template files and assets in styles/all/ folder so that you can overwrite them by creating a file with same name under your own template theme e.g. prosilver. So if you want to modify how a certain block displays or if you want to create your own layout with your own block positions, you simply need to create a file with the same name and path as the original in your own style. + +If you need to customize CSS/JS files, take a look at the [theming](/docs/dev/theming) section. \ No newline at end of file diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/user/site/navbar.md b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/site/navbar.md new file mode 100644 index 000000000000..e5f697c35044 --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/site/navbar.md @@ -0,0 +1,6 @@ +--- +title: Navigation Bar +sidebar_position: 2 +--- + +See [Displaying Menus](/docs/user/menus/displaying-menus#navigation-bar) diff --git a/website/i18n/sk/docusaurus-plugin-content-docs/current/user/site/startpage.md b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/site/startpage.md new file mode 100644 index 000000000000..433400874bd9 --- /dev/null +++ b/website/i18n/sk/docusaurus-plugin-content-docs/current/user/site/startpage.md @@ -0,0 +1,11 @@ +--- +title: Setting a Start Page +sidebar_position: 3 +--- + +phpBB SiteMaker allows you to choose any front controller (pages accessed via app.php/...) as your default start page (the page that will be shown when someone visits your site) instead of the board index. + +To do this: +* Go to the page that you want to set as default start page +* Click on `Settings` in the admin bar. If it is an eligible page, you will see a `Set as start page` button +* Click on the `Set as start page` button \ No newline at end of file diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/contrib/_category_.json b/website/i18n/sv/docusaurus-plugin-content-docs/current/contrib/_category_.json new file mode 100644 index 000000000000..83589cc934fd --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/contrib/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Bidra", + "position": 4 +} diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/contrib/overview.md b/website/i18n/sv/docusaurus-plugin-content-docs/current/contrib/overview.md new file mode 100644 index 000000000000..a0449c79d492 --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/contrib/overview.md @@ -0,0 +1,11 @@ +--- +title: Engagera dig +sidebar_position: 1 +--- + +phpBB SiteMaker är ett projekt med öppen källkod och välkomnar dina idéer och bidrag. Så känn dig fri att engagera dig. Du kan bidra till detta projekt genom att: + +* [Ge support/feedback](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Rapporterar fel](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Hjälper med översättning](./translators.md) +* [Fixa buggar eller lägga till funktioner](./pull-requests.md) diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/contrib/pull-requests.md b/website/i18n/sv/docusaurus-plugin-content-docs/current/contrib/pull-requests.md new file mode 100644 index 000000000000..aa75ef81dfbd --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/contrib/pull-requests.md @@ -0,0 +1,65 @@ +--- +title: Skicka in en Pull-förfrågan +sidebar_label: Pull förfrågningar +--- + +`Dra förfrågningar låter dig berätta för andra om ändringar som du har skjutit till en gren i ett utvecklingskatalog på GitHub. När en pull-förfrågan har öppnats, du kan diskutera och granska eventuella ändringar med samarbetspartners och lägga till uppföljningskontroller innan dina ändringar slås samman till basgrenen.` [Läs mer](https://help.github.com/articles/about-pull-requests/) + +## Forkar/Kloning + +* Skapa ett github-konto om du inte redan har ett +* Gå till https://github.com/blitze/phpBB-ext-sitemaker.git och klicka på "Fork" + +Klona din gaffel av utvecklingskatalogen: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Från kommandoraden gå till sitemaker katalog: + + cd phpBB/ext/blitze/sitemaker + +**Konfigurera git:** + +Lägg till ditt användarnamn till Git på ditt system: + + git config --global user.name "Ditt namn här" + +Lägg till din e-postadress till Git på ditt system: + + git config --add user.email användarnamn@phpbb.com + +Lägg till uppströms fjärrkontroll (du kan ändra 'uppströms' till vad du vill): + + git remote lägg till uppströms git://github.com/blitze/phpBB-ext-sitemaker.git + +**Installera leverantörer** + + installation av kompositör + +**Installera NPM-paket** + + npm install + +Alternativt kan du använda [garn](https://yarnpkg.com): + + yarn installation + +## Pull förfrågningar + + # Skapa en ny affärsenhet för din funktion & växla till den + git kassan -b funktion/my-fancy-new-feature + + # skapa en ny affärsenhet för problemet du arbetar med * växla till det (ärende# är från github tracker) + git kassan -b biljett/1234 + +Gör dina ändringar + + # Steg filerna + git add + + # Commit iscensatta filer - använd ett korrekt commit meddelande + git commit -m "my commit message" + +Tryck tillbaka affärsenheten till GitHub git push-ursprung funktion/my-fancy-new-feature + +Skicka in en [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/contrib/translators.md b/website/i18n/sv/docusaurus-plugin-content-docs/current/contrib/translators.md new file mode 100644 index 000000000000..ed79c2359b69 --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/contrib/translators.md @@ -0,0 +1,17 @@ +--- +title: Översättare +sidebar_position: 2 +--- + +Vi behöver hjälp med att översätta denna förlängning och dess dokumentation. Vi har skapat ett projekt på Crowdin för att underlätta översättningar. Crowdin ger dig ett översättningsgränssnitt som inte är oöverträffat. Du kan bidra med hur du än vill men vi rekommenderar verkligen att du använder Crowdin. + +> Crowdin är en localization management plattform som hjälper företag att översätta deras programvara. Du kan läsa mer om Crowdin [här](https://support.crowdin.com/crowdin-intro/) + +Om du är villig att bidra med översättningar behöver du: + +* Ett [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) konto. +* Välj målspråket om det finns en begäran om att bli aktiverad. + +Om ditt språk inte är listat, vänligen [kontakta mig](https://crowdin.com/profile/blitze) så lägger jag till det. + +[Börja översätta](https://crowdin.com/project/phpbb-ext-sitemaker) diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/dev/_category_.json b/website/i18n/sv/docusaurus-plugin-content-docs/current/dev/_category_.json new file mode 100644 index 000000000000..ee511b920d4d --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/dev/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Guide för utvecklare", + "position": 3 +} diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/dev/events.md b/website/i18n/sv/docusaurus-plugin-content-docs/current/dev/events.md new file mode 100644 index 000000000000..831d57fcde6a --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/dev/events.md @@ -0,0 +1,120 @@ +--- +title: SiteMaker Evenemang för phpBB +sidebar_position: 2 +--- + +Du kan ändra beteendet hos phpBB SiteMaker med phpBB: s händelsesystem. + +## PHP-händelser + +### bulk.sitemaker.acp_add_bulk_menu_options + +- Plats: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Sedan dess : 3.1.0 +- Syfte: Lägg till bulk menyalternativ i acp meny + +### Sidansvarig: acp_display_settings_form + +- Plats: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Sedan dess : 3.1.0 +- Syfte: display-acp (sitemaker) inställningsformulär + +### blitze.sitemaker.acp_save_settings + +- Plats: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Sedan dess : 3.1.0 +- Syfte: Spara acp (sitemaker) inställningar + +### blitze.sitemaker.admin_bar.set_assets + +- Plats: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Sedan dess : 3.0.1-RC1 +- Syfte: Lägg till tillgångar för tillgängliga block i redigeringsläge + +### plats.sitemaker.modify_block_positioner + +- Plats: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Sedan dess : 3.0.1-RC1 +- Syfte: Ändra blockpositioner + +### blitze.sitemaker.modify_rendered_block + +- Plats: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Sedan dess : 3.0.1-RC1 +- Syfte: Ändra ett renderat block + +## Mall Händelser + +### Inställningar + +- Plats: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Sedan dess : 3.1.0 +- Syfte: Lägg till formulärfält för sitemaker inställningar + +### Bifoga + +- Plats: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Sedan dess : 3.1.0 +- Syfte: Lägg till menyobjekt till administratörsfältet + +### Sidmallar + +- Plats: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Sedan dess : 3.1.0 +- Syfte: Lägg till mallfiler som ska användas i JS för blockvyer etc + +## Javascript händelser + +### Sparad + +- Plats: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Sedan dess : 3.1.2 +- Syfte: Händelse för att tillåta andra tillägg att göra något när layoutändringar sparas + +### Före + +- Plats: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Sedan dess : 3.1.2 +- Syfte: Händelse för att tillåta andra tillägg att göra något innan blocket renderas eller förhindra det från att återges + +### Efter + +- Plats: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Sedan dess : 3.1.2 +- Syfte: Händelse för att tillåta andra tillägg att göra något efter blocket renderas + +### Före + +- Plats: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Sedan dess : 3.1.2 +- Syfte: Händelse för att tillåta andra tillägg att ändra blockdata innan den sparas + +### Alla positioner + +- Plats: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Sedan dess : 3.1.2 +- Syfte: Händelse för att tillåta andra tillägg att göra något när alla blockpositioner visas + +### Dölj + +- Plats: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Sedan dess : 3.1.2 +- Syfte: Händelse för att tillåta andra tillägg att göra något när tomma positioner är dolda + +### Rensa + +- Plats: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Sedan dess : 3.1.2 +- Syfte: Händelse för att tillåta andra tillägg att göra något när layouten rensas + +### Uppdaterad + +- Plats: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Sedan dess : 3.1.2 +- Syfte: Händelse för att tillåta andra tillägg att göra något när layouten uppdateras + +### Alternativ + +- Plats: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Sedan dess : 3.3.0 +- Syfte: Händelse för att tillåta andra tillägg att ändra tinymce alternativ diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/dev/overview.md b/website/i18n/sv/docusaurus-plugin-content-docs/current/dev/overview.md new file mode 100644 index 000000000000..a0189936ba6c --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/dev/overview.md @@ -0,0 +1,179 @@ +--- +title: Utöka phpBB SiteMaker +sidebar_position: 1 +--- + +Du kan förlänga/ändra phpBB SiteMaker genom att använda [service replacement](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [service decoration](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), och [phpBB's event system](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). Du kan hitta en lista över händelser som stöds [här](./events.md). + +## Skapa ett SiteMaker-block + +En phpBB SiteMaker block är helt enkelt en klass som utökar blitze\sitemaker\services\blocks\driver\block klass och returnerar en array från "visa" metod med en "titel" och "innehåll". Allt annat mellan er är upp till er. För att göra ditt block upptäckbart av phpBB SiteMaker, måste du ge det "sitemaker.block" taggen. + +Säg att vi har en förlängning med leverantör/förlängning som min/exempel. För att skapa ett block som heter "my_block" för phpBB SiteMaker: + +- Skapa en "block"-mapp +- Skapa my_block.php fil i blockmappen med följande innehåll + +```php +namespace my\example\blocks; + +använd blitze\sitemaker\services\blocks\driver\block; + +class my_block extends block +{ + /** + * {@inheritdoc} + */ + public function display (array $settings, $edit_mode = false) + { + returnera array( + 'title' => 'min blocktitel', + 'innehåll' => 'mitt blockinnehåll', + ) + } +} +``` + +Sedan i din config.yml fil, lägg till följande: + +```yml +tjänster: + +... + + my.example.block.my_block: + class: my\exempel\blocks\my_block + ringer: + - [set_name, [my.example.block.my_block]] + taggar: + - { name: sitemaker.block } + +.... + +``` + +På ett minimum, det är allt du behöver. Om du går in i redigeringsläge bör du se blocket listat som 'MY_EXAMPLE_BLOCK_MY_BLOCK' som kan dras och släppas på alla blockpositioner. Men detta block gör ingenting spännande. Den har inga inställningar och översätter inte blockets namn. Låt oss göra det mer intressant. + +### Blockera inställningar + +Låt oss ändra våra block/my_block. HK fil och lägg till en "get_config" metod th vid returnerar en array med tangenterna är blockinställningar och värdena är en array som beskriver inställningar som så: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + returarray( + 'legend1' => 'TAB1', + 'kryssruta' => array('lang' => 'SOME_LANG_VAR_1', 'validera' => 'sträng', 'typ' => 'kryssruta', 'alternativ' => $options, 'default' => array(), 'förklara' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'typ' => 'radio:yes_no', 'förklara' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validera' => 'bool', 'typ' => 'radio', 'alternativ' => $options, 'förklara' => falskt, 'standard' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validera' => 'sträng', 'typ' => 'select', 'alternativ' => $options, 'standard' => '', 'förklara' => falskt), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validerad' => 'sträng', 'typ' => 'multi_select', 'alternativ' => $options, 'standard' => array(), 'förklara' => falskt), + 'legend2' => 'TAB2', + 'nummer' => array('lang' => 'SOME_LANG_VAR_6', 'validera' => 'int:0:20', 'typ' => 'nummer:0:20', 'maxlength' => 2, 'förklara' => false, 'standard' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validera' => 'sträng', 'typ' => 'textarea:3:40', 'maxlength' => 2, 'förklara' => sant, 'standard' => '), + 'växla' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validera' => 'sträng', 'typ' => 'select:1:0:toggle_key', 'alternativ' => $options, 'standard' => '', 'append' => '
Visa endast när alternativ 1 är markerat
'), + ); +} +``` + +Detta är konstruerat på samma sätt som phpBB bygger konfigurationen för kortinställningar i ACP. Du kan se fler exempel [här](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +Om du vill ha en anpassad fälttyp, kan du se ett exempel [här](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' inställning). + +Lägg märke till 'legend1' och 'legend2': Dessa används för att separera inställningarna i flikar. + +### Namnge block + +Konventionen för blocknamn är att tjänstens namn (t.ex. my.example.block. y*block ovan) kommer att användas som språklyckel genom att ersätta prickarna (.) med understreck (*) (t.ex. MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Översättning + +Notera också att vi har flera språknycklar som behöver översättas. För att göra detta, skapa en fil som heter "blocks_admin.php" i din språkmapp. Den här filen kommer att laddas automatiskt vid redigering av block, och bör ha översättningar för dina blockinställningar och blocknamn. + +``` +$lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Option 1', + 'OTHER_LANG_VAR' => 'Alternativ 2', + 'SOME_LANG_VAR_1' => 'Ställa in 1', +.... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'Mitt Block', +); +``` + +Eftersom 'blocks_admin.php' endast laddas vid redigering av block, måste du lägga till andra översättningar (t.ex. blockera titel) genom att läsa in en språkfil i din visningsmetod som så `$language->add_lang('my_lang_file', 'my/exempel');` + +### Renderar blocket + +Det nya blocket kommer endast att visas om det renderar något. Ditt block kan returnera vilken sträng som helst som innehåll, men i de flesta fall behöver du en mall för att återge ditt innehåll. För att rendera ditt block med hjälp av mallar, blocket måste returnera en array som innehåller data som du vill skicka till mallen och måste även implementera metoden `get_template` som visas nedan: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + returarray( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validera' => 'sträng', 'typ' => 'kryssruta', 'alternativ' => $options, 'default' => array(), 'förklara' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + returnera '@my_exempel/my_block. tml'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // do something only in edit mode + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); +} +``` + +Då kan din styles/all/my_block.html eller styles/prosilver/my_block.html fil se ut ungefär så här: + +``` +

Du valde: {{ some_var }}

+``` + +Sammanfattningsvis blocket måste returnera en array med en `titel` nyckel (för blockets titel) och en `innehåll` nyckel (om blocket bara visar en sträng och inte använder en mall) eller en `data` nyckel (om blocket använder en mall, I vilket fall måste du också implementera `get_template` metoden). + +### Blockera tillgångar + +Om ditt block behöver lägga till tillgångar (css/js) på sidan, rekommenderar jag att du använder sitemaker [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) för det. Eftersom det kan finnas mer än en instans av samma block på sidan, eller andra block kan lägga till samma tillgång, säkerställer util-klassen att tillgången bara läggs till. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_exempel/assets/vissa. s', + 100 => '@my_exempel/tillgångar/annat. s', // ange prioritet + ), + 'css' => array( + '@my_exempel/assets/vissa. ss', + ) +) +``` + +Den util-klassen kommer naturligtvis att behöva läggas till dina tjänstedefinitioner i config.yml som så: `- '@blitze.sitemaker. til'` och definieras i blockets konstruktör `\blitze\sitemaker\services\util $util`. + +Och det är det. Vi är klara! diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/dev/theming.md b/website/i18n/sv/docusaurus-plugin-content-docs/current/dev/theming.md new file mode 100644 index 000000000000..107cd44875a3 --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/dev/theming.md @@ -0,0 +1,62 @@ +--- +title: Tema +sidebar_position: 3 +--- + +Vi förstår att mallfilerna och JS/CSS-filerna inte kommer att fungera för varje stil, så nedan är några sätt du kan använda dina egna mallar och skapa JS/CSS-filer för just din stil. + +## Använda din egen mall + +Om standardmallar som kommer med phpBB Sitemaker fungerar inte bra för just din stil, du kan enkelt skriva över den för att använda din egen mallfil genom att skapa motsvarande fil i din stilmapp. + +Till exempel, säg att din stil heter `Backlash` och det har ett visst sätt på vilket HTML-koden för blockets header-sektion måste struktureras för [boxade vyn](/docs/user/blocks/block-views). Du kan skriva över den mallen genom att skapa en fil med samma namn som så: `phpBB/ext/blitze/sitemaker/styles/Backlash/template/views/boxed_view.twig`. + +Med andra ord, för att använda din egen mallfil måste du: +* Identifiera vilken phpBB Sitemaker fil måste skrivas över +* Skapa en fil med samma namn i mappen Sitemaker `stilar` under ditt stilnamn + +> Obs: Om du skapar dina egna mallfiler, se till att inte ta bort mappen `phpbb/ext/blitze/sitemaker` när du uppdaterar tillägget som dina anpassade filer kommer att raderas. Snarare bara skriva över befintliga filer med de nya. + +## Skapa JS/CSS-filer för din stil + +Notera: +* För syftet med nedanstående instruktioner kommer vi att anta att du har en stil som kallas min-stil. + +Klona in i phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Från kommandoraden gå till sitemaker katalog: + + cd phpBB/ext/blitze/sitemaker + +**Installera leverantörer** + + installation av kompositör + +**Installera paket** + +För nedanstående kommandon kan du använda npm eller [garn](https://yarnpkg.com) + + yarn installation + +**Titta på ändringar** + + yarn start --tema min stil + +**Gör ändringar** + +* Gör dina ändringar i filerna i mappen phpBB/ext/blitze/sitemaker. +* Titta på phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss för sassvariabler + +**Bygg tillgångar** + + yarn bygga --tema min stil + +**Distribuera** + +Du kan nu kopiera de genererade filerna från phpBB/ext/blitze/sitemaker/styles/my-style och ladda upp dem till din produktionsserver. + +> Detta tillägg använder jQuery UI för flikar, dialogrutor och knappar. Standardtemat för jQuery är "smoothness". Du kan använda en annan jQuery UI tema som bäst passar ditt tema. Du kan ange jQuery UI tema med flaggan --jq_ui_theme. Till exempel: + + yarn bygga --tema min stil --jq_ui_theme ui-lätthet diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/intro/_category_.json b/website/i18n/sv/docusaurus-plugin-content-docs/current/intro/_category_.json new file mode 100644 index 000000000000..76a23ea4e68c --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/intro/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Kom igång", + "position": 1 +} diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/intro/installation.md b/website/i18n/sv/docusaurus-plugin-content-docs/current/intro/installation.md new file mode 100644 index 000000000000..899423c54414 --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/intro/installation.md @@ -0,0 +1,16 @@ +--- +title: "Installerar / uppgraderar" +sidebar_position: 2 +--- + +Ladda ner tillägget från [här](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker +* Extrahera och ladda upp den till din phpBB/ext/ mapp så att du har phpBB/ext/blitze/sitemaker +* Gå till "ACP" > "Anpassa" > "Tillägg" och aktivera tillägget "phpBB Sitemaker". + +## Uppgradera phpBB SiteMaker +* Skapa en säkerhetskopia av din databas om något skulle gå fel +* Gå till "ACP" > "Anpassa" > "Tillägg" och inaktivera (rensa inte) "phpBB Sitemaker" +* Ladda ner och extrahera den senaste versionen av phpBB SiteMaker och ladda upp den till mappen phpBB/ext/ (skriva) +* Gå till "ACP" > "Anpassa" > "Tillägg" och aktivera tillägget "phpBB Sitemaker". diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/intro/introduction.md b/website/i18n/sv/docusaurus-plugin-content-docs/current/intro/introduction.md new file mode 100644 index 000000000000..6d4157cfe3b9 --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/intro/introduction.md @@ -0,0 +1,6 @@ +--- +title: Introduktion +sidebar_position: 1 +--- + +phpBB SiteMaker syftar till att omvandla din phpBB styrelse till en CMS/portal. Det gör det genom att ge dig block och menyer för att hjälpa dig anpassa din webbplats till dina önskemål. Det finns eller kommer att finnas andra SiteMaker-tillägg som ger ytterligare funktionalitet för att uppfylla detta mål. Det gör också att du kan definiera en landningssida när din webbplats är tillgänglig. Så om du inte vill att besökare till din webbplats att omedelbart se phpBB forum när de går till www. vår-site.com kan du definiera din egen startsida. diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/user/_category_.json b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/_category_.json new file mode 100644 index 000000000000..9f63de41d7b5 --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Användarhandbok", + "position": 2 +} diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/user/blocks/_category_.json b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/blocks/_category_.json new file mode 100644 index 000000000000..086cae0e2312 --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/blocks/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Block", + "position": 1 +} diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/user/blocks/block-views.md b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/blocks/block-views.md new file mode 100644 index 000000000000..e58def70758d --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/blocks/block-views.md @@ -0,0 +1,6 @@ +--- +title: Blockera visningar +sidebar_position: 2 +--- + +Arbetet pågår... \ No newline at end of file diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md new file mode 100644 index 000000000000..1660619bc210 --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md @@ -0,0 +1,24 @@ +--- +title: Anpassat block +sidebar_position: 4 +--- + +Om de tillgängliga blocken inte ger dig den frihet du behöver, det finns `Anpassade Block` som låter dig visa ditt eget innehåll med BBcode eller HTML. Blocket kommer med en WYSIWYG editor (TinyMCE) och en skript manager: + +## Redigeraren + +- Du kan använda redigeraren för att skapa HTML-innehåll +- Du kan redigera källkoden om du behöver den kontrollnivån genom att klicka på `källkod` ikonen (`<>`) i redigeraren +- Redigeraren låter dig ladda upp och ändra bilder + - Det skapar en ny mapp i phpBB/images/sitemaker_uploads/ för varje användare som har tillgång till den + - Du kan visa/hantera alla användarmappar +- Redigeraren filtrerar bort eventuella potentiellt farliga skript som javascript, etc. Om du behöver lägga till innehåll som Google annonser, javascript kommer att filtreras ut, men du kan komma runt det genom att göra följande: + - Lägg till det anpassade blocket till önskad plats + - Redigera Custom Block, klicka på fliken `HTML` och klistra in Javascript + +## Skript Manager + +Anpassade blocket låter dig också lägga till anpassade CSS och Javascript-filer på din sida. Att göra detta: + +- Lägg till ett `anpassat block` till valfri blockposition. Positionen spelar ingen roll om du också visar innehåll med blocket +- Redigera blocket, Klicka på fliken `skript` och lägg till dina CSS eller Javascript-filer > Varningens ord dock: Lägga till många skript på din sida kan påverka laddningstiderna diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md new file mode 100644 index 000000000000..68c41d5b6e2d --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md @@ -0,0 +1,51 @@ +--- +title: Mananaging Blocks +sidebar_position: 3 +--- + +För att hantera block i phpBB SiteMaker, måste du vara i [Redigera läge](./overview#edit-mode). + +> När ett block inte visar något innehåll visas det inte, förutom i redigeringsläge. På så sätt kan du antingen ge det innehåll (i fallet med Anpassat block) eller ändra dess inställningar. + +> I redigeringsläge de något transparenta blocken är block som annars inte kommer att visas men som bara visas eftersom vi är i redigeringsläge + +## Lägger till block +Du kan lägga till block på alla framsidor, förutom användarkontrollpanelen och moderator Kontrollpanelen. För att lägga till ett block måste du: +* klicka på **Block** i administratörsfältet. Detta visar en lista över tillgängliga block +* Dra och släpp önskat block till alla blockpositioner + +## Redigerar block +### Lägger till en block-ikon +Till vänster om blockets titel (prosilver) finns en låda för block-ikonen. Klicka på den här rutan för att få ikonen väljare. Du kan välja ikonens storlek, färg, float, rotation, etc. + +### Redigerar blockets titel +phpBB SiteMaker block kommer att ha en standard, översatt titel, men om titeln inte uppfyller dina behov, kan du ändra det. Redigera blockets titel, +* Klicka på blockets titel för att få ett inline redigera formulär +* Ändra titeln till vad du vill +* Ta bort fokus från fältet eller träff enter för att skicka ändringar + +> Din ändrade blocktitel är inte översatt + +> För att återgå till standardtiteln tar du enkelt bort titeln och trycker på enter + +### Redigerar blockinställningar +När du svävar över ett block visas en kugghjulsikon, till höger om blocket som kan användas för att redigera blocket. I dialogrutan redigera block kan du: +- Aktivera/inaktivera ett block [Status] +- Välj när blocket inte ska visas [Display]. Detta gäller endast i de fall du har nästlat sidor (se [Understanding Block Inheritance](/docs/user/site/block-inheritance)): + - **Alltid**: Visa alltid blocket + - **Dölj på underordnade rutter**: Visa endast detta block på överordnade rutten + - **Visa endast på underordnade rutter**: Visa endast detta block på underordnade rutter +- Välj vilka grupper av användare som kan visa blocket [Visas av]. Använd CTRL + klicka för att välja flera grupper. +- Sätt anpassade klasser för att ändra utseendet på blocket eller objekt (listor, bilder, bakgrund, etc) i blocket [CSS-klassen] +- Visa/dölj blockets titel [Dölj blockets titel?] +- Välj blockvyn [Blockvy]. Du kan välja en standard blockvy när nya block läggs till i ACP. + - **Standard / Enkel**: använder prosilver panel klass för att linda in blocket i en vadderad behållare + - **Basic**: blocket har inte någon behållare inslagning det + - **Boxad**: använder prosilver forabg klassen för att linda in blocket i en låda +- Ange / Uppdatera blockspecifika inställningar +- Om du har samma block med samma inställningar på flera sidor, du kan uppdatera dem alla på en gång genom att kontrollera **Uppdateringsblocken med liknande inställningar** + +## Tar bort block +- Håll muspekaren över blocket du vill ta bort +- Klicka på ikonen **x** och bekräfta att du vill ta bort blocket +- Gå upp till administratörsfältet och klicka på `Spara ändringar` diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/user/blocks/overview.md b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/blocks/overview.md new file mode 100644 index 000000000000..dbdf98d23457 --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/blocks/overview.md @@ -0,0 +1,9 @@ +--- +title: Vad är block? +sidebar_position: 1 +--- + +I hjärtat av phpBB SiteMaker är begreppet block. Block är små bitar av innehåll som du kan placera i olika fördefinierade områden (blockpositioner) på din webbplats. Blocken kommer vanligtvis att ha inställningar som du kan ställa in/ändra för att finjustera det innehåll som du vill visa. De flesta block, men inte alla, kommer att göra databasfrågor för att få det önskade innehållet. Så låt oss inte bli för galna :). För att hantera block måste du växla till "redigeringsläge". + +## Redigera läge +Växla till redigeringsläge genom att klicka på pennikonen längst upp till höger på din webbplats. Detta kommer att visa "Admin bar" med "Block" och "Inställningar" menyobjekt. Detta kallas att vara i "redigeringsläge". diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/user/menus/_category_.json b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/menus/_category_.json new file mode 100644 index 000000000000..4259794d53ee --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/menus/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Menus", + "position": 2 +} diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md new file mode 100644 index 000000000000..7f530c0c3d6b --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md @@ -0,0 +1,15 @@ +--- +title: Visar menyer +sidebar_position: 3 +--- + +Nu när du har skapat dina menyer kan du visa dem på flera sätt: + +## Block för länkar +Du kan använda detta block för att visa en platt eller nästlad lista över menyobjekt. Detta block är inte avsett att användas för navigering dvs det kommer inte att visa en aktuell sida eller något liknande. Den är avsedd för en lista över objekt, inklusive externa länkar. + +## Menyer Block +Detta block är avsett för navigering. Det gör några ytterligare beräkningar för att bestämma aktuell plats och är inte avsedd att vara en mycket stor lista. + +## Navigeringsfält +I likhet med menyblocket kommer navigeringsfältet att visa menyalternativ som en responsiv rullgardinsmeny avsedd för navigering. Du kan aktivera detta i AVS > Tillägg > Sitemaker > Inställningar > Välj meny diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md new file mode 100644 index 000000000000..9c5e6844dda6 --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md @@ -0,0 +1,30 @@ +--- +title: Hantera menyobjekt +sidebar_position: 2 +--- + +Din meny är värdelös om den inte har menyobjekt. Du kan lägga till menyalternativ som pekar på lokala eller externa filer. + +> URL för externa webbplatser måste börja med http(s)://, ftp://, //, etc. + +> Du kan skapa en avdelare genom att ange '-' som artikelns titel + +## Lägger till menyobjekt +Du kan lägga till menyalternativ ett objekt åt gången, eller så kan du lägga till flera menyalternativ åt gången. + +### Lägger till enskilda menyalternativ +Lägga till ett enda menyobjekt +* klicka på `Lägg till menyobjekt` -knappen +* Fyll i nödvändig information och tryck `Spara` + +### Lägger till flera objekt +Lägga till flera menyalternativ på en gång, +* Klicka på nedpilen bredvid `Lägg till menyobjekt` +* Du kan manuellt lägga till objekt genom att placera varje objekt på en ny rad och använda fliken tecken bo objekt eller +* Du kan klicka på ett av de angivna alternativen längst ner i textfältet för att automatiskt fylla i menyalternativ + +## Ordna om menyobjekten +Du kan dra och släppa menyobjekten upp/ner för att ställa in sin visningsordning eller dra dem åt vänster/höger för att ställa in önskad hierarki. + +## Bygger om menyobjekt +Om du upptäcker att menyobjekten inte visas korrekt, klicka på knappen `Bygg om träd` för att bygga om menyobjekten. diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md new file mode 100644 index 000000000000..cf5a46e6169c --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md @@ -0,0 +1,24 @@ +--- +title: Hantera menyer +sidebar_position: 1 +--- + +Du kan skapa menyer i AVS som du sedan kan visa med hjälp av menyerna eller länkblocken eller som visas som ett horisontellt navigationsfält. + +## Hantera menyer + +För att hantera menyer, gå till AVS > Extensions > Sitemaker > Meny + +### Skapar menyer +För att skapa en ny meny (grupp), klicka på knappen `Lägg till meny`. En ny menygrupp kommer att skapas med ett slumpmässigt genererat namn. Den nya menyn kommer också att väljas så att du kan börja lägga till menyalternativ till den. + +### Redigerar menyer +Om du vill ha ett mer meningsfullt menynamn, +* hovra över menynamnet och klicka på kugghjulsikonen +* ange det nya menynamnet och tryck på enter för att uppdatera det + +### Tar bort menyer +Ta bort en meny och dess objekt, +* Håll muspekaren över menynamnet och klicka på ikonen **x** +* Om menyobjektet inte har några underordnade objekt måste du bekräfta ditt val för att ta bort objektet +* Om menyobjektet har underordnade objekt, du måste ange om du bara vill ta bort objektet och flytta dess barn uppåt eller om du vill ta bort hela affärsenheten diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/user/site/_category_.json b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/site/_category_.json new file mode 100644 index 000000000000..84feb98811a6 --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/site/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Bygga din webbplats", + "position": 3 +} diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md new file mode 100644 index 000000000000..67a7a9dbb5f7 --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md @@ -0,0 +1,46 @@ +--- +title: Blockera arv +sidebar_position: 5 +--- + +Vi har redan sett att genom att ställa in en standardlayout, andra sidor som inte har egna block kommer att ärva blocken från standardlayouten. Det finns dock en annan typ av blockarv. + +## Föräldra/underordnade rutter +I phpBB SiteMaker talar vi om nästlade rutter i form av riktiga nästlade (sub) kataloger eller praktiskt taget nästlade vägar/rutter. Var snäll och stanna hos mig :). +* Real Parent/Child routes: Till exempel är sökvägen /some_directory/sub_directory/index.php ett barn till /some_directory/index.php +* Virtual Parent/Child routes: Till exempel, viewtopic.php behandlas som ett barn till viewforum.php. + +Här är några exempel på rutter för föräldrar/barn: + +| Överordnad | Barn | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/artiklar | /app.php/articles/my-article | + +## Föräldra/Barn Blockera Arv +För förälder/barnrutter, underordnad rutt ärver blocken på överordnad rutt (om överordnad rutt har egna block) eller från standardlayouten (om en är inställd). Med andra ord, även om det finns en standardlayout, underordnad rutt ärver block från överordnad rutt om överordnad rutt har egna block. Men inte alla block från föräldravägen måste ärvas. + +## Styrande Block Arv +På en blocknivå kan du styra när ett block kan ärvas av underordnade rutter. Vi berörde detta tidigare i [redigering Block Settings](/docs/user/blocks/managing-blocks#editing-block-settings). + +Tänk på följande verkliga katalogstruktur: +```text +phpBB +wegment ─ index.php + ─ Movies/ + wegment ─ index.php + wegment -page.php + ˃ ─ Comedy/ + -─ index.php +``` + +I syfte att ärva block, säger vi: +* Den överordnade rutten för /phpBB/Movies/Comedy/index.php är /phpBB/Movies/index.php och inte /phpBB/Movies/page.php +* Alla sidor i en underkatalog i förhållande till /phpBB/index.php är en underordnad rutt för /phpBB/index.php. Så /phpBB/Movies/index.php och /phpBB/Movies/page.php är alla barn till /phpBB/index.php och kommer därför att ärva dess block om de inte har egna block. I detta fall: + * När ett block på /phpBB/index.php är inställt på att visas på **Dölj på underordnade rutter**visas blocket på /phpBB/index. hk (föräldraväg) men inte på sina barnvägar + * När ett block på /phpBB/index.php är inställt på att visas på **Visa endast på underordnade rutter**visas det på /phpBB/Movies/index. hp och /phpBB/Movies/page.php (barnrutter) men inte på /phpBB/index.php (förälder), inte heller /phpBB/Movies/Comedy/index.php (vi går bara en nivå djup) + * När ett block på /phpBB/index.php är inställt på att visa **alltid** (standard) visas det på /phpBB/index. hp (föräldrar), /phpBB/Movies/index.php och /phpBB/page.php (barnvägar) men inte på /phpBB/Movies/Comedy/index.php (vi går bara en nivå djup). I detta fall ärver /phpBB/Movies/Comedy/index.php från standardrutten (om den finns) + +## Positivt framtida tillstånd +Jag är verkligen intresserad av din feedback på detta område. De flesta phpBB-användare kommer inte att ha riktiga kataloger som beskrivs ovan. Så jag tänker på att använda den struktur som definieras i ett menyblock som en virtuell katalogstruktur och tillämpa detta förälder/barnarv på den. Jag funderar också på att gå bortom en nivå djup. Låt mig veta om detta kommer att vara till nytta för dig. \ No newline at end of file diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md new file mode 100644 index 000000000000..4cc6b1cf9742 --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md @@ -0,0 +1,6 @@ +--- +title: Anpassa Blocks Display +sidebar_position: 6 +--- + +Arbetet pågår... \ No newline at end of file diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/user/site/default-layout.md b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/site/default-layout.md new file mode 100644 index 000000000000..53c129cc144a --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/site/default-layout.md @@ -0,0 +1,21 @@ +--- +title: Ställa in en standardlayout +sidebar_position: 4 +--- + +När du lägger till ett block läggs det till på den specifika sidan. Det skulle därför vara en mödosam uppgift att sätta block för alla sidor på din webbplats. Du kan ställa in alla önskade block för en viss sida, och sedan ställa in den sidan som standard layout. Med andra ord, någon sida som inte har sina egna block, kommer att ärva block från denna sida. + +Ange en standardlayout +* Gå till den sida som du vill ställa in som standardlayout +* Klicka på `Inställningar` i administratörsfältet +* Klicka på `Ange som standard layout` -knappen + +Säg att vi lägger till block till en sida (phpBB/index.php) med block i sidofältet och topppositioner, till exempel, och ange det som vår standard layout. Detta har följande effekter för andra sidor: +* Alla sidor som inte har sina egna block, kommer att ärva blocken från standardlayouten. Se [Förstå Block Arv](/docs/user/site/block-inheritance) för undantag. +* Du kan fortfarande ärva block från en standardlayout (index. hp) men välj att inte visa block på vissa blockpositioner eller att inte visa några block alls. För att göra detta, + * Gå till sidan som du inte vill att alla/några block ska visas + * Klicka på `Inställningar` i administratörsfältet + * Välj `Visa inte block på denna sida` om du inte vill ärva / visa några block på denna sida ELLER + * Använd CTRL + klicka för att välja de blockpositioner (till höger) som du inte vill visa block på +* I `redigeringsläge`, en sida som ärver block från standard layout, kommer inte att visa några block, vilket ger dig möjlighet att lägga till block på sidan om du vill +* Alla sidor som har egna block kommer inte att ärva från standardlayouten diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/user/site/layouts.md b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/site/layouts.md new file mode 100644 index 000000000000..18507bbe13ac --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/site/layouts.md @@ -0,0 +1,31 @@ +--- +title: Layouter +sidebar_position: 1 +--- + +"Layouts" bestämmer de tillgängliga blockpositionerna och hur de visas. + +## Blockera positioner +Blockpositioner är fördefinierade områden på din webbplats där block kan existera. De tillgängliga blockpositionerna bestäms av mallens stil som du använder. För prosilver, kommer phpBB SiteMaker med följande blockpositioner: +* panel: full bredd över toppen +* sidofält: vänster/höger beroende på layout nedan +* underinnehåll: liknar sidofältet bara större +* top_hor: horisontella block över toppen, flankerar ovanför sidofältet/underinnehållet beroende på layout +* Topp: ovanför huvudinnehållet +* låda: lika bredd, horisontella block under huvudinnehållet +* botten: under huvudinnehållet +* bottom_hor: horisontella block över botten, flankerar sidofältet/underinnehållet beroende på layout +* sidfot: horisontella block i sidfoten Du kan lägga till fler blockpositioner i dina egna stilmallar genom att kopiera och modifiera motsvarande phpBB SiteMaker-mallar + +## Webbplatsens layout +Du kan välja layout för din webbplats i AVS (tillägg > Sitemaker > Inställningar): +* **Blogg**: underinnehåll och sidofält bredvid varandra, pressas till höger, top_hor/botom_hor flank underinnehåll +* **Holy Grail**: lika bredd sidofält och underinnehåll på motsatta sidor, top_hor/botom_hor flank underinnehåll +* **Portal**: sidofält till vänster, underinnehåll till höger, top_hor/botom_hor flank underinnehåll +* **Portal Alt**: underinnehåll till vänster, sidofält till höger, top_hor/botom_hor flank sidofält +* **Anpassad**: Ställ manuellt in bredden på sidofälten som px, %, em eller rem. Standard är 200px på varje sida + +## Anpassade mallar/stilar +Så mycket som möjligt, vi försökte sätta mallfiler och tillgångar i stilar / alla / mapp så att du kan skriva över dem genom att skapa en fil med samma namn under ditt eget malltema e. . Prosilver. Så om du vill ändra hur ett visst block visar eller om du vill skapa din egen layout med dina egna blockpositioner, du behöver helt enkelt skapa en fil med samma namn och sökväg som originalet i din egen stil. + +Om du behöver anpassa CSS/JS-filer, ta en titt på avsnittet [theming](/docs/dev/theming). \ No newline at end of file diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/user/site/navbar.md b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/site/navbar.md new file mode 100644 index 000000000000..183759f3edd4 --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/site/navbar.md @@ -0,0 +1,6 @@ +--- +title: Navigeringsfält +sidebar_position: 2 +--- + +Se [Visningsmenyer](/docs/user/menus/displaying-menus#navigation-bar) diff --git a/website/i18n/sv/docusaurus-plugin-content-docs/current/user/site/startpage.md b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/site/startpage.md new file mode 100644 index 000000000000..d2bcd8a3d2d2 --- /dev/null +++ b/website/i18n/sv/docusaurus-plugin-content-docs/current/user/site/startpage.md @@ -0,0 +1,11 @@ +--- +title: Ställer in en startsida +sidebar_position: 3 +--- + +Med phpBB SiteMaker kan du välja någon frontstyrenhet (sidor som nås via app.php/... som standard startsida (sidan som visas när någon besöker din webbplats) istället för forumets index. + +Att göra detta: +* Gå till den sida som du vill ställa in som standard startsida +* Klicka på `Inställningar` i administratörsfältet. Om det är en berättigad sida, kommer du att se en `Ange som startsida` knappen +* Klicka på `Ställ in som startsida` -knappen \ No newline at end of file diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/contrib/_category_.json b/website/i18n/tr/docusaurus-plugin-content-docs/current/contrib/_category_.json new file mode 100644 index 000000000000..a1446a7b4599 --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/contrib/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Katkıda bulun", + "position": 4 +} diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/contrib/overview.md b/website/i18n/tr/docusaurus-plugin-content-docs/current/contrib/overview.md new file mode 100644 index 000000000000..c6268c90dd5b --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/contrib/overview.md @@ -0,0 +1,11 @@ +--- +title: Katkıda Bulun +sidebar_position: 1 +--- + +phpBB SiteMaker açık kaynaklı bir projedir ve fikirlerinizi ve katkılarınızı memnuniyetle karşılar. Bu yüzden katılmaktan çekinmeyin. Bu projeye şu yollarla katkıda bulunabilirsiniz: + +* [Destek/Geri Bildirim Sağlamak](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Hata Bildirimi](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Çeviri konusunda yardımcı olmak](./translators.md) +* [Hata giderilmesi veya özellik eklenmesi](./pull-requests.md) diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/contrib/pull-requests.md b/website/i18n/tr/docusaurus-plugin-content-docs/current/contrib/pull-requests.md new file mode 100644 index 000000000000..441fcd4da681 --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/contrib/pull-requests.md @@ -0,0 +1,65 @@ +--- +title: Submitting a Pull Request +sidebar_label: Pull Requests +--- + +`Pull requests let you tell others about changes you've pushed to a branch in a repository on GitHub. Once a pull request is opened, you can discuss and review the potential changes with collaborators and add follow-up commits before your changes are merged into the base branch.` [Read more](https://help.github.com/articles/about-pull-requests/) + +## Forking/Cloning + +* Henüz bir tane yoksa bir github hesabı oluşturun +* https://github.com/blitze/phpBB-ext-sitemaker.git adresine gidin ve "Fork"a tıklayın + +Clone your fork of the repository: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +Komut satırından sitemaker dizinine gidin: + + cd phpBB/ext/blitze/sitemaker + +**Configure git:** + +Add your Username to Git on your system: + + git config --global user.name "Your Name Here" + +Add your E-mail address to Git on your system: + + git config --add user.email username@phpbb.com + +Add the upstream remote (you can change ‘upstream’ to whatever you like): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + +**Install vendors** + + composer install + +**NPM paketlerini kurun** + + npm install + +Alternatif olarak [yarn](https://yarnpkg.com) kullanabilirsiniz: + + yarn install + +## Pull Requests + + # Create a new branch for your feature & switch to it + git checkout -b feature/my-fancy-new-feature + + # create a new branch for the issue you are working on * switch to it (ticket # is from github tracker) + git checkout -b ticket/1234 + +Make your changes + + # Stage the files + git add + + # Commit staged files - please use a correct commit message + git commit -m "my commit message" + +Push the branch back to GitHub git push origin feature/my-fancy-new-feature + +Submit a [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/contrib/translators.md b/website/i18n/tr/docusaurus-plugin-content-docs/current/contrib/translators.md new file mode 100644 index 000000000000..cc4b10252258 --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/contrib/translators.md @@ -0,0 +1,17 @@ +--- +title: Çevirmenler +sidebar_position: 2 +--- + +Bu uzantıyı ve belgelerini tercüme için yardıma ihtiyacımız var. Çevirileri kolaylaştırmak için Crowdin üzerinde bir proje oluşturduk. Crowdin size rakipsiz bir çeviri arayüzü sunar. İstediğiniz kadar katkıda bulunabilirsiniz ancak gerçekten Crowdin'i kullanmanızı öneririz. + +> Crowdin, şirketlerin yazılımlarını tercüme etmelerine yardımcı olan bir yerelleştirme yönetim platformudur. Crowdin hakkında daha fazla bilgiyi [burada](https://support.crowdin.com/crowdin-intro/) bulabilirsiniz + +Çevirilerle katkıda bulunmak istiyorsanız, şuna ihtiyacınız olacak: + +* Bir [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) hesabı. +* Varsa hedef dili seçin, aksi takdirde etkinleştirilmesini isteyin. + +İstediğiniz dil listede yoksa, lütfen [bana ulaşın](https://crowdin.com/profile/blitze), ben de ekleyeyim. + +[Çeviriye Başlayın](https://crowdin.com/project/phpbb-ext-sitemaker) diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/dev/_category_.json b/website/i18n/tr/docusaurus-plugin-content-docs/current/dev/_category_.json new file mode 100644 index 000000000000..9043725d93d6 --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/dev/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Geliştirme Kılavuzu", + "position": 3 +} diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/dev/events.md b/website/i18n/tr/docusaurus-plugin-content-docs/current/dev/events.md new file mode 100644 index 000000000000..38af8de28126 --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/dev/events.md @@ -0,0 +1,120 @@ +--- +title: phpBB SiteMaker Olayları +sidebar_position: 2 +--- + +phpBB'nin olay sistemini kullanarak phpBB SiteMaker'ın davranışını düzenleyebilirsiniz. + +## PHP Olayları + +### blitze.sitemaker.acp_add_bulk_menu_options + +- Konum: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Şu sürümden beri: 3.1.0 +- Amaç: ykp menüsüne toplu menü seçenekleri eklemek + +### blitze.sitemaker.acp_display_settings_form + +- Konum: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Şu sürümden beri: 3.1.0 +- Amaç: ykp (sitemaker) ayarları formunu görüntüle + +### blitze.sitemaker.acp_save_settings + +- Konum: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Şu sürümden beri: 3.1.0 +- Amaç: ykp (sitemaker) ayarlarını kaydet + +### blitze.sitemaker.admin_bar.set_assets + +- Konum: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Şu sürümden beri: 3.0.1-RC1 +- Amaç: Düzenleme modunda mevcut bloklar için varlıklar ekleyin + +### blitze.sitemaker.modify_block_positions + +- Konum: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Şu sürümden beri: 3.0.1-RC1 +- Amaç: Blok konumlarını düzenle + +### blitze.sitemaker.modify_rendered_block + +- Konum: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Şu sürümden beri: 3.0.1-RC1 +- Amaç: İşlenmiş bir bloğu değiştirin + +## Şablon Olayları + +### blitze_sitemaker_acp_settings + +- Konum: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Şu sürümden beri: 3.1.0 +- Amaç: Site oluşturucu ayarları için form alanları ekleyin + +### blitze_sitemaker_admin_bar_append + +- Konum: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Şu sürümden beri: 3.1.0 +- Amaç: Yönetici çubuğuna menü öğeleri eklemek + +### blitze_sitemaker_admin_bar_templates + +- Konum: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Şu sürümden beri: 3.1.0 +- Amaç: JS'de blok görünümler vb. için kullanılacak şablon dosyaları ekleyin + +## Javascript Olayları + +### blitze_sitemaker_layout_saved + +- Konum: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Şu sürümden beri: 3.1.2 +- Amaç: Düzen değişiklikleri kaydedildiğinde diğer uzantıların bir şeyler yapmasına izin veren olay + +### blitze_sitemaker_render_block_before + +- Konum: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Şu sürümden beri: 3.1.2 +- Amaç: Blok oluşturulmadan önce diğer uzantıların bir şeyler yapmasına izin veren veya yeniden oluşturulmasını engelleyen olay + +### blitze_sitemaker_render_block_after + +- Konum: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Şu sürümden beri: 3.1.2 +- Amaç: Blok oluşturulduktan sonra diğer uzantıların bir şeyler yapmasına izin verme olayı + +### blitze_sitemaker_save_block_before + +- Konum: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Şu sürümden beri: 3.1.2 +- Amaç: Diğer uzantıların kaydedilmeden önce blok verilerini değiştirmesine izin veren olay + +### blitze_sitemaker_show_all_block_positions + +- Konum: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Şu sürümden beri: 3.1.2 +- Amaç: Tüm blok pozisyonları gösterildiğinde diğer uzantıların bir şeyler yapmasına izin veren olay + +### blitze_sitemaker_hide_empty_block_positions + +- Konum: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Şu sürümden beri: 3.1.2 +- Amaç: Boş pozisyonlar gizlendiğinde diğer uzantıların bir şeyler yapmasına izin veren olay + +### blitze_sitemaker_layout_cleared + +- Konum: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Şu sürümden beri: 3.1.2 +- Amaç: Düzen temizlendiğinde diğer uzantıların bir şeyler yapmasına izin veren olay + +### blitze_sitemaker_layout_updated + +- Konum: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Şu sürümden beri: 3.1.2 +- Amaç: Düzen güncellendiğinde diğer uzantıların bir şeyler yapmasına izin veren olay + +### blitze_sitemaker_tinymce_options + +- Konum: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Şu sürümden beri: 3.3.0 +- Amaç: Diğer uzantıların tinymce seçeneklerini değiştirmesine izin vermek için olay diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/dev/overview.md b/website/i18n/tr/docusaurus-plugin-content-docs/current/dev/overview.md new file mode 100644 index 000000000000..94f38fbfde03 --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/dev/overview.md @@ -0,0 +1,179 @@ +--- +title: phpBB SiteMaker'ı genişletme +sidebar_position: 1 +--- + +phpBB SiteMaker'ı [servis değiştirme](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [servis dekorasyonu](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration) ve [phpBB'nin etkinlik sistemi](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html)ni kullanarak genişletebilir/değiştirebilirsiniz. Desteklenen etkinliklerin listesini [burada](./events.md) bulabilirsiniz. + +## Bir SiteMaker bloğu oluşturmak + +Bir phpBB SiteMaker bloğu, basitçe, blitze\sitemaker\services\blocks\driver\block sınıfını genişleten ve "görüntüleme" yönteminden bir "başlık" ve "içerik" içeren bir dizi döndüren bir sınıftır. Aradaki diğer her şey size kalmış. Bloğunuzu phpBB SiteMaker tarafından keşfedilebilir kılmak için, ona "sitemaker.block" etiketini vermeniz gerekir. + +Benim/ornek olarak vendor/extension ile bir uzantımız olduğunu varsayalım. phpBB SiteMaker için "my_block" adlı bir blok oluşturmak için: + +- Bir "bloklar" klasörü oluşturun +- Aşağıdaki içerikle bloklar klasöründe my_block.php dosyasını oluşturun + +```php +namespace my\example\blocks; + +use blitze\sitemaker\services\blocks\driver\block; + +class my_block extends block +{ + /** + * {@inheritdoc} + */ + public function display(array $settings, $edit_mode = false) + { + return array( + 'title' => 'my block title', + 'content' => 'my block content', + ); + } +} +``` + +Ardından config.yml dosyanıza aşağıdakileri ekleyin: + +```yml +servisler: + + ... + + my.example.block.my_block: + class: my\example\blocks\my_block + calls: + - [set_name, [my.example.block.my_block]] + tags: + - { name: sitemaker.block } + + .... + +``` + +En azından, ihtiyacınız olan tek şey bu. Düzenleme moduna girerseniz, herhangi bir blok pozisyonunda sürüklenip bırakılabilen 'MY_EXAMPLE_BLOCK_MY_BLOCK' olarak listelenen bloğu görmelisiniz. Ama bu blok heyecan verici bir şey yapmıyor. Hiçbir ayarı yoktur ve blok adını tercüme etmez. Daha ilginç hale getirelim. + +### Blok Ayarları + +blocks/my_block.php dosyamızı değiştirelim ve bir dizi döndüren bir "get_config" yöntemi ekleyelim, anahtarlar blok ayarları ve değerler aşağıdaki gibi ayarları tanımlayan bir dizidir: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Yalnızca seçenek 1 seçildiğinde göster
'), + ); + } +``` + +Bu, phpBB'nin YKP'ndeki pano ayarları için yapılandırmayı oluşturmasıyla aynı şekilde oluşturulmuştur. Daha fazla örneği [burada](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php) görebilirsiniz. + +Özel bir alan türü istiyorsanız, [burada](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) bir örnek görebilirsiniz. ('content_type' setting). + +Not 'legend1' ve 'legend2': Bunlar ayarları sekmelere ayırmak için kullanılır. + +### Blokları İsimlendirmek + +Blok adları için kural, hizmet adının (örn. my.example.block.my*yukarıdaki blok), noktaların (.) alt çizgi (*) ile değiştirilmesiyle dil anahtarı olarak kullanılmasıdır. (örn. MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Tercüme + +Ayrıca çevrilmesi gereken birkaç dil anahtarımız olduğuna dikkat edin. Bunu yapmak için dil klasörünüzde "blocks_admin.php" adlı bir dosya oluşturun. Bu dosya, blokları düzenlerken otomatik olarak yüklenecektir ve blok ayarlarınız ve blok adlarınız için çevirileri olmalıdır. + +``` +$lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Seçenek 1', + 'OTHER_LANG_VAR' => 'Seçenek 2', + 'SOME_LANG_VAR_1' => 'Ayar 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'My Block', +); +``` + +'blocks_admin.php' yalnızca blokları düzenlerken yüklendiğinden, görüntüleme yönteminize bir dil dosyası yükleyerek başka çeviriler (ör. blok başlığı) eklemeniz gerekecek `$language->add_lang('my_lang_file', 'my/example');` + +### Blok oluşturma + +Yeni blok yalnızca bir şey oluşturuyorsa görüntülenecektir. Bloğunuz herhangi bir dizeyi içerik olarak döndürebilir, ancak çoğu durumda içeriğinizi oluşturmak için bir şablona ihtiyacınız vardır. Şablonları kullanarak bloğunuzu oluşturmak için, bloğun şablona iletmek istediğiniz verileri tutan bir dizi döndürmesi ve ayrıca aşağıda gösterildiği gibi `get_template` yöntemini uygulaması gerekir: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block.html'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // sadece düzenleme modunda bir şeyler yap + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); + } +``` + +Then your styles/all/my_block.html or styles/prosilver/my_block.html file might look something like this: + +``` +

Şunu seçtiniz: {{ some_var }}

+``` + +In summary, your block must return an array with a `title` key (for the block title) and a `content` key (if the block just displays a string and does not use a template) or a `data` key (if the block uses a template, in which case, you will also need to implement the `get_template` method). + +### Blok Varlıkları + +If your block needs to add assets (css/js) to the page, I recommend using the sitemaker [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) for that. Sayfada aynı bloğun birden fazla örneği olabileceğinden veya başka bloklar aynı yapıyı ekliyor olabileceğinden util sınıfı, varlığın yalnızca eklenenler olmasını sağlar. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some.js', + 100 => '@my_example/assets/other.js', // set priority + ), + 'css' => array( + '@my_example/assets/some.css', + ) + )); +``` + +The util class will, of course, need to be added to your service definitions in config.yml like so: `- '@blitze.sitemaker.util'` and defined in your block's constructor `\blitze\sitemaker\services\util $util`. + +Ve bu kadar. Yaptık! diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/dev/theming.md b/website/i18n/tr/docusaurus-plugin-content-docs/current/dev/theming.md new file mode 100644 index 000000000000..893e44afc963 --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/dev/theming.md @@ -0,0 +1,62 @@ +--- +title: Theming +sidebar_position: 3 +--- + +Şablon dosyalarının ve JS/CSS dosyalarının her stil için çalışmayacağını anlıyoruz, bu nedenle aşağıda kendi şablonlarınızı kullanmanın ve kendi stiliniz için JS/CSS dosyaları oluşturmanın bazı yolları verilmiştir. + +## Kendi şablonunuzu kullanmak + +If the default templates that come with phpBB Sitemaker don't work well for your particular style, you can easily overwrite it to use your own template file by creating the corresponding file in your styles's folder. + +For example, say your style is called `Backlash` and it has a particular way in which the HTML for the block header section needs to be structured for the [boxed view](/docs/user/blocks/block-views). You can overwrite that particular template by creating a file by the same name like so: `phpBB/ext/blitze/sitemaker/styles/Backlash/template/views/boxed_view.twig`. + +In other words, to use your own template file, you need to: +* Identify which phpBB Sitemaker file needs to be overwritten +* Create a file by the same name in the Sitemaker `styles` folder under your style name + +> Note: If you create your own template files, be sure to not delete the `phpbb/ext/blitze/sitemaker` folder when updating the extension as your custom files will be deleted. Rather, just overwrite the existing files with the new ones. + +## Creating JS/CSS files for your style + +Note: +* For the purpose of the below instructions we will assume that you have a style called my-style. + +Clone into phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +From command line go to sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + +**Install vendors** + + composer install + +**Install packages** + +For the below commands you can use npm or [yarn](https://yarnpkg.com) + + yarn install + +**Watch Changes** + + yarn start --theme my-style + +**Make Changes** + +* Make your changes to files in the phpBB/ext/blitze/sitemaker/develop folder. +* Look at phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss for sass variables + +**Build Assets** + + yarn build --theme my-style + +**Deploy** + +You can now copy the generated files from phpBB/ext/blitze/sitemaker/styles/my-style and uploaded them to your production server. + +> This extension uses jQuery UI for tabs, dialogs and buttons. The default jQuery theme is 'smoothness.' You can use a different jQuery UI theme that best fits your theme. You can specify the jQuery UI theme using the flag --jq_ui_theme. Örneğin: + + yarn build --theme my-style --jq_ui_theme ui-lightness diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/intro/_category_.json b/website/i18n/tr/docusaurus-plugin-content-docs/current/intro/_category_.json new file mode 100644 index 000000000000..71f89740a6a7 --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/intro/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Başlangıç", + "position": 1 +} diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/intro/installation.md b/website/i18n/tr/docusaurus-plugin-content-docs/current/intro/installation.md new file mode 100644 index 000000000000..ba0ba8440c8c --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/intro/installation.md @@ -0,0 +1,16 @@ +--- +title: "Yükleme / Yükseltme" +sidebar_position: 2 +--- + +Eklentiyi [buradan](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) indirin + +## phpBB SiteMaker'ı yüklemek +* Onu çıkarın ve phpBB/ext/ klasörünüze yükleyin, böylece phpBB/ext/blitze/sitemaker'a sahip olursunuz +* "YKP"ye git > "Düzenle" > "Uzantılar" ve "phpBB Sitemaker" uzantısını etkinleştir. + +## phpBB SiteMaker'ı yükseltmek +* Bir şeyler ters giderse diye veritabanınızın yedeğini oluşturun +* "YKP"ye git > "Düzenle" > "Uzantılar" ve "phpBB Sitemaker"ı devre dışı bırak (temizleme) +* phpBB SiteMaker'ın en son sürümünü indirip ayıklayın ve phpBB/ext/ klasörünüze yükleyin (üzerine yazın) +* "YKP"ye git > "Düzenle" > "Uzantılar" ve "phpBB Sitemaker" uzantısını etkinleştir. diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/intro/introduction.md b/website/i18n/tr/docusaurus-plugin-content-docs/current/intro/introduction.md new file mode 100644 index 000000000000..ce4064bfba50 --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/intro/introduction.md @@ -0,0 +1,6 @@ +--- +title: Giriş +sidebar_position: 1 +--- + +phpBB SiteMaker, phpBB panonuzu bir CMS/portal'a dönüştürmeyi amaçlar. Bunu, sitenizi beğeninize göre özelleştirmenize yardımcı olacak bloklar ve menüler sağlayarak yapar. Bu amaca ulaşmak için ek işlevsellik sağlayan başka SiteMaker eklentileri vardır veya olacaktır. Ayrıca sitenize erişildiğinde bir açılış sayfası tanımlamanıza da olanak tanır. Bu nedenle, sitenize gelen ziyaretçilerin www.kendi-siteniz.com'a gittiklerinde hemen phpBB forumunu görmelerini istemiyorsanız, kendi başlangıç sayfanızı tanımlayabilirsiniz. diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/user/_category_.json b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/_category_.json new file mode 100644 index 000000000000..b57be779169a --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Kullanım Kılavuzu", + "position": 2 +} diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/user/blocks/_category_.json b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/blocks/_category_.json new file mode 100644 index 000000000000..cc9a8e7602a1 --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/blocks/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Bloklar", + "position": 1 +} diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/user/blocks/block-views.md b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/blocks/block-views.md new file mode 100644 index 000000000000..fa10c0c20e8e --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/blocks/block-views.md @@ -0,0 +1,6 @@ +--- +title: Blok Görüntüsü +sidebar_position: 2 +--- + +Yapım aşamasında... \ No newline at end of file diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md new file mode 100644 index 000000000000..b2d3a98949f2 --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md @@ -0,0 +1,24 @@ +--- +title: Özel Blok +sidebar_position: 4 +--- + +Mevcut bloklar size ihtiyacınız olan özgürlüğü vermiyorsa, BBcode veya HTML kullanarak kendi içeriğinizi görüntüleme özgürlüğünü sağlayan `Özel Blok` vardır. Blok bir WYSIWYG editör (TİNYMCE) ve bir script yöneticisi ile birlikte gelir: + +## Düzenleyici + +- HTML içeriği oluşturmak için editörü kullanabilirsin +- Bu düzeyde bir kontrole ihtiyacınız varsa, düzenleyicideki `Kaynak kodu` simgesine (`<>`) tıklayarak kaynak kodunu düzenleyebilirsiniz +- Editör sizin görsel yüklemenize ve modifiye etmenize izin verir + - Ona erişimi olan her kullanıcı için phpBB/images/sitemaker_uploads/ içinde yeni bir klasör oluşturur + - Tüm kullanıcıların klamsrlerini görebilir/yönetebilirsiniz +- Düzenleyici, javascript vb. gibi potansiyel olarak tehlikeli komut dosyalarını filtreler. Google reklamları gibi bir içerik eklemeniz gerekirse, javascript filtrelenir, ancak aşağıdakileri yaparak bunu aşabilirsiniz: + - Özel Bloğu istenen konuma ekleyin + - Özel Bloğu düzenleyin, `HTML` sekmesine tıklayın ve Javascript'inizi yapıştırın + +## Kod Yöneticisi + +Özel Blok, sayfanıza özel CSS ve Javascript dosyaları eklemenize de olanak tanır. Bunu yapmak için: + +- Herhangi bir blok pozisyonuna bir `Özel Blok` ekleyin. Blokla içerik de görüntülemiyorsanız, konum önemli değildir +- Bloğu düzenleyin, `Scripts` sekmesine tıklayın ve CSS veya Javascript dosyalarınızı ekleyin > Yine de dikkatli olun: Sayfanıza birçok komut dosyası eklemek, yükleme sürelerini etkileyebilir diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md new file mode 100644 index 000000000000..2493a6f5c509 --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md @@ -0,0 +1,51 @@ +--- +title: Mananaging Blocks +sidebar_position: 3 +--- + +phpBB SiteMaker'da blokları yönetmek için [Düzenleme Modu](./overview#edit-mode)nda olmalısınız. + +> Bir blok herhangi bir içerik göstermediğinde, düzenleme modu dışında görüntülenmez. Bu şekilde, ona içerik verebilir (Özel blok durumunda) veya ayarlarını değiştirebilirsiniz. + +> Düzenleme modunda, şeffaf bloklar yalnızca düzenleme modunda olduğumuz için görüntülenen bloklardır, aksi takdirde görüntülenmeyeceklerdir + +## Blok Ekleme +Kullanıcı Kontrol Paneli ve Moderatör Kontrol Paneli sayfaları dışında, ön yüz herhangi bir sayfaya blok ekleyebilirsiniz. Blok eklemek için şu gereklidir: +* Yönetici Çubuğundaki **Blocklar** yazısına tıklayın. Bu, mevcut blokların bir listesini görüntüler +* İstediğiniz bloğu herhangi bir blok konumuna sürükleyip bırakın + +## Blokları Düzenleme +### Bir Blok Simgesi Ekleme +Blok başlığının (prosilver) solunda blok simgesi için bir kutu vardır. Simge seçiciyi almak için bu kutuya tıklayın. Simge boyutunu, rengini, kayan noktayı, dönüşü vb. seçebilirsiniz. + +### Blok Başlığını Düzenleme +phpBB SiteMaker bloklarının varsayılan, çevrilmiş bir başlığı olacaktır, ancak başlık ihtiyaçlarınızı karşılamıyorsa değiştirebilirsiniz. Blok başlığını düzenlemek için, +* Satır içi düzenleme formu almak için blok başlığına tıklayın +* Başlığı istediğiniz gibi değiştirin +* Odağı alandan kaldırın veya değişiklikleri göndermek için enter tuşuna basın + +> Değiştirilen blok başlığınız tercüme edilmedi + +> Varsayılan başlığa dönmek için başlığı silin ve enter tuşuna basın + +### Blok ayarlarını düzenlemek +Bir bloğun üzerine geldiğinizde, bloğu düzenlemek için kullanılabilecek bloğun sağında bir dişli simgesi görünecektir. Blok düzenleme iletişim kutusunda şunları yapabilirsiniz: +- Bir bloğu etkinleştir/devre dışı bırak [Status] +- Bloğun ne zaman görüntüleneceğini/gösterilmeyeceğini seçin [Display]. Bu, yalnızca iç içe sayfalarınız olduğunda geçerlidir (bkz. [Blok Devralmasını Anlama](/docs/user/site/block-inheritance)): + - **Her zaman**: Bloğu her zaman göster + - **Alt rotalarda gizle**: Bu bloğu yalnızca üst rotada göster + - **Yalnızca alt rotalarda göster**: Bu bloğu yalnızca bir alt rotada göster +- Bloğunu hangi kullanıcı gruplarının görüntüleyebileceğini seçin [Görüntülenebilir]. Birden çok grup seçmek için CTRL + tıklama tuşlarını kullanın. +- Blok veya blok içindeki öğelerin (listeler, resimler, arka plan, vb.) görünümünü değiştirmek için özel sınıflar ayarlayın [CSS Sınıfı] +- Blok başlığını göster/gizle [Blok başlığını gizle?] +- Blok görünümünü seçin [Blok görünümü]. YKP'de yeni bloklar eklendiğinde varsayılan bir blok görünümü seçebilirsiniz. + - **Varsayılan / Basit**: bloğu dolgulu bir kapta sarmak için prosilver panel sınıfını kullanır + - **Temel**: bloğu saran herhangi bir kapsayıcı yok + - **Kutulu**: bloğu bir kutuya sarmak için prosilver forabg sınıfını kullanır +- Bloka özel ayarları Ayarla / Güncelle +- Birden fazla sayfada aynı ayarlara sahip aynı bloğa sahipseniz, **Blokları benzer ayarlarla güncelle** seçeneğini işaretleyerek hepsini bir kerede güncelleyebilirsiniz + +## Blokları Silme +- Silmek istediğiniz bloğun üstüne gelin +- **x** simgesine tıklayın ve bloğu silmek istediğinizi onaylayın +- Yönetici çubuğuna gidin ve `Değişiklikleri Kaydet`'i tıklayın diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/user/blocks/overview.md b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/blocks/overview.md new file mode 100644 index 000000000000..94b177ea0933 --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/blocks/overview.md @@ -0,0 +1,9 @@ +--- +title: Bloklar Nedir? +sidebar_position: 1 +--- + +phpBB SiteMaker'ın kalbinde blok kavramı vardır. Bloklar, sitenizde önceden tanımlanmış farklı alanlara (blok konumları) yerleştirebileceğiniz küçük içerik parçalarıdır. Bloklar tipik olarak, görüntülemek istediğiniz içeriğe ince ayar yapmak için ayarlayabileceğiniz/değiştirebileceğiniz ayarlara sahip olacaktır. Blokların çoğu, ancak tümü değil, istenen içeriği elde etmek için veritabanı sorguları yapacaktır. O zaman fazla çıldırmayalım :). Blokları yönetmek için "düzenleme moduna" geçmeniz gerekir. + +## Düzenleme Modu +Sitenizin sağ üst köşesindeki kurşun kalem simgesine tıklayarak düzenleme moduna geçin. Bu, "Bloklar" ve "Ayarlar" menü öğeleriyle "Yönetici çubuğu"nu görüntüler. Buna 'düzenleme modu'nda denir. diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/user/menus/_category_.json b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/menus/_category_.json new file mode 100644 index 000000000000..e1745e54e779 --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/menus/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Menüler", + "position": 2 +} diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md new file mode 100644 index 000000000000..70927b2abece --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md @@ -0,0 +1,15 @@ +--- +title: Displaying Menus +sidebar_position: 3 +--- + +Now that you have create your menus, you can display them in several ways: + +## Links Block +You can use this block to display a flat or nested list of menu items. This block is not intended to be used for navigation i.e. it will not show a current page or anything like that. It is intended for a list of items, including external links. + +## Menus Block +This block is intended for site navigation. It does some additional computations to determine current location and is not intended to be a very large list. + +## Navigation bar +Similar to the Menus block, the navigation bar will display menu items as a responsive dropdown menu intended for site navigation. You can enable this in ACP > Extensions > Sitemaker > Settings > Select menu diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md new file mode 100644 index 000000000000..eb77c62c13d0 --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md @@ -0,0 +1,30 @@ +--- +title: Managing Menu Items +sidebar_position: 2 +--- + +Your menu is useless unless it has menu items. You can add menu items that point to local or external files. + +> The URL for external sites must begin with http(s)://, ftp://, //, etc. + +> You can create a divider by entering '-' as the item title + +## Adding Menu items +You can add menu items one item at a time, or you can add multiple menu items at ones. + +### Adding single menu items +To add a single menu item, +* click on the `Add Menu Item` button +* Fill in the required information and hit `Save` + +### Adding multiple items +To add multiple menu items at once, +* Click on the down arrow icon next to `Add Menu Item` +* You can manually add items by placing each item on a new line and using the tab character nest items or +* You can click on one of the provided options at the bottom of the textarea to automatically fill in the menu items + +## Reorder the menu items +You can drag and drop the menu items up/down to set their display order, or drag them left/right to set the desired hierarchy. + +## Rebuilding the menu items +If you find that the menu items are not displaying correctly, click on the `Rebuild Tree` button to rebuild the menu items. diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md new file mode 100644 index 000000000000..dda6eaf20b52 --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md @@ -0,0 +1,24 @@ +--- +title: Menüleri Yönet +sidebar_position: 1 +--- + +You can create menus in ACP that you can then display using the Menus or the Links blocks or displayed as a horizontal navbar. + +## Menüleri Yönet + +To manage menus, go to ACP > Extensions > Sitemaker > Menu + +### Menü Oluşturmak +To create a new menu (group), click on the `Add Menu` button. A new menu group will be created with a randomly generated name. The new menu will also be selected so you can begin adding menu items to it. + +### Menüleri düzenleme +If you want a more meaningful menu name, +* hover over the menu name and click on the cog icon +* enter the new menu name and hit enter to update it + +### Menüleri Sil +Bir menüyü ve öğelerini silmek için, +* Menü adının üzerine gelin ve **x** simgesine tıklayın +* Menü öğesinde alt öğe yoksa öğeyi silmek için seçiminizi onaylamanız gerekir +* Menü öğesinin alt öğeleri varsa, yalnızca öğeyi silmek ve alt öğelerini yukarı taşımak mı yoksa tüm dalı silmek mi istediğinizi belirtmeniz gerekir diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/user/site/_category_.json b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/site/_category_.json new file mode 100644 index 000000000000..2a15ac5bdd3a --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/site/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Siteni Oluştur", + "position": 3 +} diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md new file mode 100644 index 000000000000..27401c0136dd --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md @@ -0,0 +1,46 @@ +--- +title: Block Inheritance +sidebar_position: 5 +--- + +We have already seen that by setting a default layout, other pages that do not have blocks of their own will inherit the blocks from the default layout. There is, however, another type of block inheritance. + +## Parent/Child Routes +In phpBB SiteMaker, we speak of nested routes in terms of real nested (sub) directories or virtually nested paths/routes. Please stay with me :). +* Real Parent/Child routes: For example, the path /some_directory/sub_directory/index.php is a child of /some_directory/index.php +* Virtual Parent/Child routes: For example, viewtopic.php is treated as a child of viewforum.php. + +Here are some examples of parent/child routes: + +| Üst | Child | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/my-article | + +## Parent/Child Block Inheritance +For parent/child routes, the child route inherits the blocks of the parent route (if the parent has its own blocks) or from the default layout (if one has been set). In other words, even if there is a default layout, the child route will inherit blocks from its parent route if the parent route has its own blocks. But not all blocks from the parent route must be inherited. + +## Controlling Block Inheritance +At a block level, you can control when a block can be inherited by child routes. We touched on this earlier in the [Editing Block Settings](/docs/user/blocks/managing-blocks#editing-block-settings). + +Consider the following real directory structure: +```text +phpBB +├── index.php +└── Movies/ + ├── index.php + ├── page.php + └── Comedy/ + └── index.php +``` + +For the purposes of inheriting blocks, we say: +* The parent route of /phpBB/Movies/Comedy/index.php is /phpBB/Movies/index.php and not /phpBB/Movies/page.php +* All pages in a sub directory relative to /phpBB/index.php is a child route of /phpBB/index.php. So /phpBB/Movies/index.php and /phpBB/Movies/page.php are all children of /phpBB/index.php and will therefore inherit its blocks if they do not have blocks of their own. In this case: + * When a block on /phpBB/index.php is set to display on **Hide on child routes**, the block will show on /phpBB/index.php (parent route) but not on its child routes + * When a block on /phpBB/index.php is set to display on **Show on child routes only**, it will display on /phpBB/Movies/index.php and /phpBB/Movies/page.php (child routes) but not on /phpBB/index.php (parent), nor /phpBB/Movies/Comedy/index.php (we only go one level deep) + * When a block on /phpBB/index.php is set to display **always** (default), it will display on /phpBB/index.php (parent), /phpBB/Movies/index.php and /phpBB/page.php (child routes) but not on /phpBB/Movies/Comedy/index.php (we only go one level deep). In this case, /phpBB/Movies/Comedy/index.php will inherit from the default route (if it exists) + +## Posible Future State +I'm really interested in your feedback in this area. Most phpBB users will not have real directories as outlined above. So I'm thinking of using the structure that is defined in a menu block as a virtual directory structure and apply this parent/child inheritance to it. I'm also considering going beyond one level deep. Please let me know if this will be useful to you. \ No newline at end of file diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md new file mode 100644 index 000000000000..8efe83651bb9 --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md @@ -0,0 +1,6 @@ +--- +title: Blok Görüntüsünü Özelleştirme +sidebar_position: 6 +--- + +Yapım aşamasında... \ No newline at end of file diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/user/site/default-layout.md b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/site/default-layout.md new file mode 100644 index 000000000000..df9bc9d75a4b --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/site/default-layout.md @@ -0,0 +1,21 @@ +--- +title: Varsayılan Bir Düzen Ayarla +sidebar_position: 4 +--- + +Bir blok eklediğinizde, o belirli sayfaya eklenir. Bu nedenle, sitenizdeki tüm sayfalar için bloklar ayarlamak sıkıcı bir iş olacaktır. Belirli bir sayfa için istediğiniz tüm blokları ayarlayabilir, ardından o sayfayı varsayılan düzen olarak ayarlayabilirsiniz. Başka bir deyişle, kendi blokları olmayan herhangi bir sayfa, bu sayfadan blokları devralır. + +Varsayılan bir düzen ayarlamak için +* Varsayılan düzen olarak ayarlamak istediğiniz sayfaya gidin +* Yönetici çubuğundaki `Ayarlar`'ı tıklayın +* `Varsayılan düzen olarak ayarla` düğmesini tıklayın + +Örneğin, kenar çubuğunda ve üst konumlarda bloklar bulunan bir sayfaya (phpBB/index.php) bloklar eklediğimizi ve bunu varsayılan düzenimiz olarak ayarladığımızı varsayalım. Bunun diğer sayfalar için aşağıdaki etkileri vardır: +* Kendi blokları olmayan herhangi bir sayfa, blokları varsayılan düzenden devralır. İstisnalar için [Blok Aktrımı'nı Anlama](/docs/user/site/block-inheritance) konusuna bakın. +* Yine de varsayılan bir düzenden (index.php) blokları devralabilirsiniz, ancak bazı blok konumlarında blokları görüntülememeyi veya hiç blok görüntülememeyi seçebilirsiniz. Bunu yapmak için, + * Tüm/bazı blokların görüntülenmesini istemediğiniz sayfaya gidin + * Yönetici çubuğundaki `Ayarlar`a tıklayın + * Bu sayfadaki herhangi bir bloğu devralmak/görüntülemek istemiyorsanız `Bu sayfada blokları gösterme`'yi seçin VEYA + * Blokları görüntülemek istemediğiniz blok konumlarını (sağda) seçmek için CTRL + tıklama tuşlarını kullanın +* `Düzenleme modunda`, varsayılan düzenden blokları devralan bir sayfa herhangi bir blok göstermez ve isterseniz sayfaya blok ekleme fırsatı verir +* Kendi bloklarına sahip hiçbir sayfa, varsayılan düzenden miras almaz diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/user/site/layouts.md b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/site/layouts.md new file mode 100644 index 000000000000..42c51f31315c --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/site/layouts.md @@ -0,0 +1,31 @@ +--- +title: Görünümler +sidebar_position: 1 +--- + +"Görünümler" mevcut blok konumlarını ve bunların nasıl görüntüleneceğini belirler. + +## Blok Konumları +Blok konumları, sitenizde blokların bulunabileceği önceden tanımlanmış alanlardır. Kullanılabilir blok konumları, kullandığınız şablon stiline göre belirlenir. Prosilver için phpBB SiteMaker aşağıdaki blok konumlarıyla birlikte gelir: +* panel: üst kısımda tam genişlik +* kenar çubuğu: aşağıdaki düzene bağlı olarak sol/sağ +* subcontent: kenar çubuğuna benzer sadece daha büyük +* top_hor: üstte yatay bloklar, yerleşime bağlı olarak kenar çubuğunun/alt içeriğin üzerinde yan yana +* top: ana içeriğin üstünde +* box: eşit genişlikte, ana içeriğin altında yatay bloklar +* bottom: ana içeriğin altında +* bottom_hor: düzene bağlı olarak kenar çubuğunu/alt içeriği çevreleyen alt kısımdaki yatay bloklar +* footer: altbilgideki yatay bloklar İlgili phpBB SiteMaker şablonlarını kopyalayıp değiştirerek kendi stil şablonlarınıza daha fazla blok konumu ekleyebilirsiniz + +## Site Düzeni +YKP'de sitenizin düzenini seçebilirsiniz (Uzantılar > Sitemaker > Ayarlar): +* **Blog**: subcontent and sidebar next to each other, pushed to the right, top_hor/botom_hor flank subcontent +* **Holy Grail**: equal width sidebar and subcontent on opposite sides, top_hor/botom_hor flank subcontent +* **Portal**: sidebar on left, subcontent on the right, top_hor/botom_hor flank subcontent +* **Portal Alt**: subcontent on left, sidebar on the right, top_hor/botom_hor flank sidebar +* **Custom**: Manually set the width of the sidebars as px, %, em or rem. Defaults to 200px on each side + +## Özel şablonlar/stiller +As much as possible, we tried to put template files and assets in styles/all/ folder so that you can overwrite them by creating a file with same name under your own template theme e.g. prosilver. So if you want to modify how a certain block displays or if you want to create your own layout with your own block positions, you simply need to create a file with the same name and path as the original in your own style. + +If you need to customize CSS/JS files, take a look at the [theming](/docs/dev/theming) section. \ No newline at end of file diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/user/site/navbar.md b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/site/navbar.md new file mode 100644 index 000000000000..a41b62da2794 --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/site/navbar.md @@ -0,0 +1,6 @@ +--- +title: Gezinme Çubuğu +sidebar_position: 2 +--- + +[Görüntüleme Menülerini](/docs/user/menus/displaying-menus#navigation-bar) gör diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/user/site/startpage.md b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/site/startpage.md new file mode 100644 index 000000000000..0e6e8d003ced --- /dev/null +++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/user/site/startpage.md @@ -0,0 +1,11 @@ +--- +title: Bir başlangıç Sayfası Ayarlamak +sidebar_position: 3 +--- + +phpBB SiteMaker, pano dizini yerine varsayılan başlangıç sayfanız (birisi sitenizi ziyaret ettiğinde gösterilecek sayfa) olarak herhangi bir ön denetleyiciyi (app.php/... aracılığıyla erişilen sayfalar) seçmenize olanak tanır. + +Bunu yapmak için: +* Varsayılan başlangıç sayfası yapmak istediğiniz sayfaya gidin +* Yönetici Çubuğundaki `Ayarlar` kısmına tıkayın. Uygun bir sayfaysa, bir `Başlangıç sayfası olarak ayarla` düğmesi görürsünüz +* `Başlangıç Sayfası olarak Ayarla` düğmesine tıklayın \ No newline at end of file diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/contrib/_category_.json b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/contrib/_category_.json new file mode 100644 index 000000000000..b9887af8cc88 --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/contrib/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "贡献", + "position": 4 +} diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/contrib/overview.md b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/contrib/overview.md new file mode 100644 index 000000000000..0311546fbc35 --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/contrib/overview.md @@ -0,0 +1,11 @@ +--- +title: 参与了 +sidebar_position: 1 +--- + +phpBB 网站是一个开源项目,欢迎您的想法和贡献。 所以可以随时参与。 您可以通过以下方式为此项目做出贡献: + +* [提供支持/反馈](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [报告错误](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [帮助翻译](./translators.md) +* [修复错误或添加功能](./pull-requests.md) diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/contrib/pull-requests.md b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/contrib/pull-requests.md new file mode 100644 index 000000000000..c972653f850d --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/contrib/pull-requests.md @@ -0,0 +1,65 @@ +--- +title: 提交拉取请求 +sidebar_label: 拉取请求 +--- + +`拉取请求让你告诉他人你已经推送到 GitHub 版本库中的分支的变更。 打开拉取请求后, 您可以与合作者讨论和审查潜在的更改,并在您的更改合并到基础分支之前添加后续提交。` [阅读更多](https://help.github.com/articles/about-pull-requests/) + +## 叉/正在处理 + +* 如果您还没有一个 github 帐户,请创建一个 +* 访问 https://github.com/blitze/phpBB-ext-sitemaker.git 并点击“Fork” + +克隆你的仓库派生: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +从命令行转到站点制作目录: + + cd phpBB/ext/blitze/sitemaker + +**配置g:** + +将您的用户名添加到 Git 上的系统: + + git config --global user.name "你的名字在这里" + +将您的电子邮件地址添加到 Git 上的系统: + + git config --add user.email username@phpbb.com + +添加上游远程(您可以将'上游'更改为您喜欢的东西): + + git 远程添加上行 git://github.com/blitze/phpBB-ext-sitemaker.git + +**安装供应商** + + 作曲家安装 + +**安装 NPM软件包** + + npm install + +或者,您可以使用 [yarn](https://yarnpkg.com): + + yarn 安装 + +## 拉取请求 + + # 为您的功能创建一个新的分支 & 切换到它 + git checkout -b feature/my-fancy-new-feature + + # 为您正在处理的问题创建一个新分支* 切换到它(工单#来自github Tracker) + git 签出-b ticket/1234 + +进行更改 + + # 分阶段文件 + git 添加 + + # 提交了文件-请使用正确的提交信息 + git 提交-m "我的提交信息" + +将分支推回到GitHub git 推送源功能/my-fancy-new-feature + +提交一个 [拉取请求](https://github.com/blitze/phpBB-ext-sitemaker/pulls) diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/contrib/translators.md b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/contrib/translators.md new file mode 100644 index 000000000000..301e141e9787 --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/contrib/translators.md @@ -0,0 +1,17 @@ +--- +title: 翻译者 +sidebar_position: 2 +--- + +我们需要帮助翻译这一延期及其文件。 我们在 Crowdin 上创建了一个项目,以方便翻译。 Crowdin 给你一个翻译接口,这个接口不会是第二个翻译接口。 你可以贡献你想做什么,但我们真的建议使用Crowdin。 + +> Crowdin 是一个本地化管理平台,帮助公司翻译其软件。 您可以在这里阅读更多关于 Crowdin [的信息](https://support.crowdin.com/crowdin-intro/) + +如果您愿意贡献翻译,您将需要: + +* 一个 [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) 帐户。 +* 选择目标语言,如果存在其他请求被启用。 + +如果您想要的语言未列出, 请 [联系我](https://crowdin.com/profile/blitze) 并添加它。 + +[开始翻译](https://crowdin.com/project/phpbb-ext-sitemaker) diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/dev/_category_.json b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/dev/_category_.json new file mode 100644 index 000000000000..999af8e69b92 --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/dev/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "开发者指南", + "position": 3 +} diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/dev/events.md b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/dev/events.md new file mode 100644 index 000000000000..24c50ef81691 --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/dev/events.md @@ -0,0 +1,120 @@ +--- +title: phpBB 站点Maker 事件 +sidebar_position: 2 +--- + +您可以使用 phpBB 的事件系统修改 phpBB 站点Maker 的行为。 + +## PHP 事件 + +### bulk_menu_options + +- 位置: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- 自: 3.1.0 +- 目的:在acp 菜单中添加批量菜单选项 + +### 显示设置 + +- 位置: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- 自: 3.1.0 +- 目的:显示acp (站点制造商) 设置表 + +### sitemaker.acp_save_save_settings, + +- 位置: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- 自: 3.1.0 +- 目的: 保存acp (站点制作者) 设置 + +### beyrouth.sitemaker.admin_bar.set_assets + +- 位置: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- 自: 3.0.1-RC1 +- 目的:在编辑模式下为可用方块添加资源 + +### 修改方块位置 + +- 位置: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php。 +- 自: 3.0.1-RC1 +- 目的:修改方块位置 + +### 修改渲染块 + +- 位置: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php。 +- 自: 3.0.1-RC1 +- 目的:修改渲染块 + +## 模板事件 + +### 闪电_sitemaker_acp_settings + +- 位置: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- 自: 3.1.0 +- 目的:为站点制造商设置添加表单字段 + +### 闪电_sitemaker_admin_bar_追加方案 + +- 位置: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- 自: 3.1.0 +- 目的:将菜单项添加到管理栏 + +### 闪电_sitemaker_admin_bar_templates + +- 位置: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- 自: 3.1.0 +- 目的:添加用于块视图的 JS 模板文件等 + +## Javascript 事件 + +### 已保存的 sitemaker_layout + +- 位置: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- 自:3.1.2 +- 目的:当布局更改被保存时,允许其他扩展进行某些操作 + +### 之前闪电_sitemaker_render_block_force + +- 位置: /phpBB/ext/blitze/sitemaker/develop/components/BlockRender/index.js +- 自:3.1.2 +- 目的:允许其它扩展在方块呈现之前做一些事情或防止其被重新渲染的事件 + +### 闪电_sitemaker_render_block_after + +- 位置: /phpBB/ext/blitze/sitemaker/develop/components/BlockRender/index.js +- 自:3.1.2 +- 目的:允许其它扩展在块呈现后做某件事的事件 + +### 之前闪电_sitemaker_save_block_bloc + +- 位置: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- 自:3.1.2 +- 目的:事件允许其他扩展在保存前修改块数据 + +### 闪电_sitemaker_show_all_block_位置 + +- 位置: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- 自:3.1.2 +- 目的:当所有方块位置显示时,允许其他扩展做某些事情的事件 + +### 闪电_sitemaker_hide_empty_block_position + +- 位置: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- 自:3.1.2 +- 目的:当空白位置被隐藏时,允许其他扩展进行某些操作的事件 + +### 闪电_sitemaker_layout_cleared + +- 位置: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- 自:3.1.2 +- 目的:当布局被清理时,允许其他扩展进行某些操作 + +### 闪电_sitemaker_layout_updated + +- 位置: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- 自:3.1.2 +- 目的:当布局更新时,允许其他扩展做某些事情的事件 + +### 闪烁_sitemaker_tinymce_options + +- 位置: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- 自: 3.3.0 +- 目的:允许其他扩展修改tinymce选项的事件 diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/dev/overview.md b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/dev/overview.md new file mode 100644 index 000000000000..1046acb82aa1 --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/dev/overview.md @@ -0,0 +1,179 @@ +--- +title: 扩展 phpBB 站点插件 +sidebar_position: 1 +--- + +您可以使用 [服务替换](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement)。 [服务装饰](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration)和 [phpBB 的事件系统](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html) 来延长/修改 phpBB SiteMaker。 You can find a list of supported events [here](./events.md). + +## 创建站点Maker块 + +一个 phpBB 站点Maker 块只是一个可以扩展闪烁\sitemaker\services\blocks\driver\blockclass 并返回一个 "显示" 方法中的 "title" 和 "content" 的数组。 所有其他东西都取决于你。 要让你的 phpBB 站点Maker 发现你的方块,你需要给予它"sitemaker.block" 标签。 + +说我们可以用供应商/扩展作为我的例子。 为 phpBB 站点决策者创建一个名为 "my_block" 的块: + +- 创建"块"文件夹 +- 在方块文件夹中创建带有以下内容的 my_block.php文件 + +```php +命名空间我\示例\blocks; + +使用blitze\sitemaker\services\blocks\driver\block; + +class my_blockexts block + + /** + * {@inheritdoc} + */ + 公共函数显示(array $settings, $edit_mode = false) + * + return array( + 'title' => '我的块标题', + 'content' => '我的块内容', + ; + } +} +``` + +然后在您的 config.yml 文件中添加以下内容: + +```yml +服务: + +... + + my.example.block.my_block: + class: my\example\blocks\my_block + calls: + - [set_name, [my.example.block.my_block]] + 标签: + - { name: sitemaker.block } + + ...... + +``` + +最起码,这是你所需要的。 如果您进入编辑模式,您应该看到列表中的方块“MY_EXAMPER_BLOCK_MY_BLOCK”可以拖放到任何方块位置上。 但这个块没有任何诱惑力。 它没有设置,不会翻译方块名称。 让我们让它更加有趣。 + +### 方块设置 + +让我们修改我们的块/my_block。 hp 文件并添加一个“get_config”方法返回一个数组,键是方块设置,值是一个描述类似设置的数组: + +```php + /** + * @heritdoc + */ + public function get_config(array $settings) + * + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + 返回 数组( + 'legend1' => 'TAB1', + '复选框' => 数组('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'exerin' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explanin' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options'explorin' => false, 'default' => 'topic'), + '选择' => 数组('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => ', 'explorin' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'exerin' => false), + '传说2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'exerin' => false, '默认' => 5, + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'exerin' => true 'default' => '), + 'togglable' => 数组('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, '默认' => ', 'append' => '
仅在选择选项1 时显示
'), + ; +} +``` + +这与phpBB构建ACP棋盘设置的配置相同。 You can see more examples [here](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +If you want a custom field type, you can see an example [here](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' setting). + +注意“legend1”和“legend2”:用来将设置分隔成标签。 + +### 命名块 + +区块名称的惯例是服务名称(eg my.example.block)。 y*以上方块将被用作语言键,将点(.) 替换为下划线 (*) (e.g.g MY_EXAMPER_BLOCK_MY_BLOCK)。 + +### 翻译 + +还注意到我们有几个需要翻译的语言键。 要做到这一点,请在您的语言文件夹中创建一个名为“blocks_admin.php”的文件。 此文件将在编辑块时自动加载,并且应该有你的块设置和块名的翻译。 + +``` +$lang = array_merge($lang, 数组( + 'SOME_LANG_VAR' => '选项1', + 'OTHER_LANG_VAR' => '选项2', + 'SOME_LANG_VAR_1' => '设置1', + ...... + 'MY_EXAMPEL_BLOCK_MY_BLOCK' => '我的方块', +); +``` + +因为“blocks_admin.php”只在编辑模块时加载,您需要添加其他翻译 (例如) 通过在您的显示方法中加载语言文件来阻止标题,所以 `$language->add_lang('my_lang_file', 'my/example');` + +### 渲染块 + +新方块只会在呈现某些东西时显示。 您的方块可以返回任何字符串,但在大多数情况下,您需要一个模板来渲染您的内容。 使用模板渲染您的块, 方块必须返回一个拥有您想要传递到模板的数据的数组,并且还必须实现下面展示的 `get_template` 方法: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block.html'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // do something only in edit mode + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); + } +``` + +然后您的样式/all/my_block.html或样式/prosilver/my_block.html文件看起来像这样: + +``` +

您选择了: {{ some_var }}

+``` + +概括而言, 您的方块必须返回一个包含 `标题` 密钥(对于方块标题) 和 `内容` 密钥(如果方块只显示字符串而不使用模板) 或 `数据` 键(如果方块使用模板) 在这种情况下,您还需要实现 `get_template` 方法)。 + +### 屏蔽资产 + +如果您的方块需要将素材 (css/js) 添加到页面中,我建议使用站点制造商 [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) 类。 因为页面上可能有一个以上的同一个块的实例, 或其他模块可能添加相同的资产。升级类可以确保该资产只是添加的。 + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some). s', + 100 => '@my_example/assets/other s', // 设置优先级 + ), + 'css' => 数组( + '@my_example/assets/some. ss', + ) +); +``` + +当然,需要将 util 类添加到您在 config.yml 中的服务定义中: `- '@blicze.sitemaker。 直到` 并在你的方块的构造函数 `\blitze\sitemaker\services\util $util` 中定义. + +就是这样。 我们已完成! diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/dev/theming.md b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/dev/theming.md new file mode 100644 index 000000000000..cb25b7c2a512 --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/dev/theming.md @@ -0,0 +1,62 @@ +--- +title: 主题 +sidebar_position: 3 +--- + +我们理解模板文件和 JS/CSS 文件对每个样式都不起作用。 以下是您可以使用自己的模板并为您的特定样式创建 JS/CSS 文件的方式。 + +## 使用您自己的模板 + +如果使用 phpBB 站点制作器的默认模板不适合您的特定风格, 您可以通过在样式文件夹中创建相应的文件,轻松地覆盖它来使用您自己的模板文件。 + +例如, 说您的样式叫做 `反向` 并且它有一种特殊的方式,用于块标题部分的 HTML 需要根据 [盒式视图](/docs/user/blocks/block-views) 来构造。 您可以通过创建相同名称的文件覆盖特定模板: `phpBB/ext/blitze/sitemaker/styles/Backlash/template/views/boxed_view.twig`。 + +换言之,要使用您自己的模板文件,您需要: +* 识别需要覆盖的phpBB 站点文件 +* 在网站 `样式名称` 文件夹中用相同名称创建一个文件 + +> 注意:如果您创建了自己的模板文件, 更新扩展时不会删除 `phpbb/ext/blitze/sitemaker` 文件夹,因为您的自定义文件将被删除。 相反,只要用新的文件覆盖现有的文件。 + +## 为您的样式创建 JS/CSS 文件 + +注: +* 为了下面的说明,我们将假设你有一种风格,称为我样式。 + +克隆到 phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +从命令行转到站点制作目录: + + cd phpBB/ext/blitze/sitemaker + +**安装供应商** + + 作曲家安装 + +**安装软件包** + +对于下面的命令,您可以使用 npm 或 [yarn](https://yarnpkg.com) + + yarn 安装 + +**监视更改** + + yarn 开始 --theme my-style + +**进行更改** + +* 在 phpBB/ext/blitze/sitemaker/development文件夹中更改文件。 +* 查看 phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss + +**构建资源** + + yarn build--theme my-style + +**部署** + +您现在可以复制从 phpBB/ext/blitze/sitemaker/styles/my-style 生成的文件并上传到您的生产服务器。 + +> 此扩展使用 jQuery 界面作为标签、对话框和按钮。 默认的 jQuery 主题是“顺畅的”。 您可以使用不同的 jQuery 界面主题,最适合您的主题。 您可以使用标志 --jq_ui_theme来指定 jQuery UI 主题。 例如: + + yarn building --theme my-style --jq_ui_theme ui-lightness diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/intro/_category_.json b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/intro/_category_.json new file mode 100644 index 000000000000..74b87d70d324 --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/intro/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "正在开始", + "position": 1 +} diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/intro/installation.md b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/intro/installation.md new file mode 100644 index 000000000000..c5eb581b38fd --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/intro/installation.md @@ -0,0 +1,16 @@ +--- +title: "正在安装/升级" +sidebar_position: 2 +--- + +从 [这里下载扩展](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker +* 提取并上传到你的 phpBB/ext/文件夹,所以你有 phpBB/ext/blitze/sitemaker +* 转到"ACP" > "Customise" > "Extensions" 并启用"phpBB sitemaker" 扩展。 + +## 升级 phpBB 网站 +* 在出现错误时创建数据库备份 +* 转到"ACP" > "自定义" > "扩展" 并禁用 (不需要净化) "phpBB 网站制造商" +* 下载并提取最新版本的 phpBB SiteMaker 并上传到您的 phpBB/ext/文件夹(覆盖) +* 转到"ACP" > "Customise" > "Extensions" 并启用"phpBB sitemaker" 扩展。 diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/intro/introduction.md b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/intro/introduction.md new file mode 100644 index 000000000000..93a041712dfe --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/intro/introduction.md @@ -0,0 +1,6 @@ +--- +title: 一. 导言 +sidebar_position: 1 +--- + +phpBB SiteMaker寻求将你的 phpBB 板转换为 CMS/portal。 它通过为您提供方块和菜单来帮助您根据您的喜好定制您的网站。 有或将会有其他网站扩展为实现此目标提供额外功能。 它还允许您在访问您的网站时定义一个登陆页面。 所以,如果您不希望访问您的网站的人立即看到phpBB论坛来www. 我们的 site.com,您可以定义自己的起始页面。 diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/_category_.json b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/_category_.json new file mode 100644 index 000000000000..c3e48d60407c --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "用户指南", + "position": 2 +} diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/blocks/_category_.json b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/blocks/_category_.json new file mode 100644 index 000000000000..5428f381694a --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/blocks/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "块", + "position": 1 +} diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/blocks/block-views.md b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/blocks/block-views.md new file mode 100644 index 000000000000..34291ddd0422 --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/blocks/block-views.md @@ -0,0 +1,6 @@ +--- +title: 屏蔽视图 +sidebar_position: 2 +--- + +正在进行中... \ No newline at end of file diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md new file mode 100644 index 000000000000..890a53bd29a7 --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md @@ -0,0 +1,24 @@ +--- +title: 自定义块 +sidebar_position: 4 +--- + +如果可用的方块不能给予您所需的自由。 有 `个自定义块` 允许您自由使用BBcode 或 HTML显示自己的内容。 方块有一个WYSIWYG 编辑器 (TinyMCE) 和脚本管理器: + +## 编辑器 + +- 您可以使用编辑器创建 HTML 内容 +- 如果你需要通过点击编辑器中的 `源代码` 图标(`<>`),你可以编辑源代码。 +- 编辑器允许您上传和修改图像 + - 它在 phpBB/images/sitemaker_uploads/中为每个用户创建一个新文件夹 + - 您可以查看/管理所有用户文件夹 +- 编辑器过滤任何可能危险的脚本,如javascript等。 如果您需要添加像谷歌广告这样的内容,javascript将被过滤出来,但您可以通过以下方式来做到这一点: + - 添加自定义方块到所需位置 + - 编辑自定义方块,点击 `HTML` 标签页并粘贴您的 Javascript + +## 脚本管理器 + +自定义方块还允许您将自定义的 CSS 和 Javascript 文件添加到您的页面。 要这样做: + +- 将 `个自定义块` 添加到任何方块位置。 位置不重要,除非您也在该方块中显示内容 +- 编辑区块, 点击 `脚本` 标签,添加您的 CSS 或 Javascript 文件 > 警告词:添加到您页面上的许多脚本可能会影响加载时间 diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md new file mode 100644 index 000000000000..f240eeaf3885 --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md @@ -0,0 +1,51 @@ +--- +title: 管理块 +sidebar_position: 3 +--- + +要在 phpBB 站点Maker 中管理方块,您必须在 [编辑模式](./overview#edit-mode) 中。 + +> 当一个方块没有显示任何内容时,除编辑模式外,它将不会显示。 这样,您可以给它提供内容(在自定义方块中),或者更改它的设置。 + +> 编辑模式, 有些透明的块是否则将不会显示的块,但仅显示因为我们处于编辑模式 + +## 添加块 +除了用户控制面板和版主控制面板页面外,您可以将块添加到任何前面页面中。 要添加一个模块,您需要: +* 点击管理栏中的 **块** 这将显示可用方块列表 +* 拖放所需方块到任何方块位置 + +## 编辑块 +### 添加方块图标 +方块标题左边(prosilver),有一个方块图标的框。 点击此框获取图标选择器。 您可以选择图标大小、颜色、浮点型、旋转等。 + +### 编辑方块标题 +phpBB 站点Maker 块将有默认的翻译标题,但如果标题不能满足您的需要,您可以更改它。 编辑块标题 +* 点击方块标题获得内联编辑表单 +* 将标题更改为你想要的 +* 从字段移除焦点或按回车键以提交更改 + +> 您已修改的块标题未被翻译 + +> 若要恢复到默认标题,简单删除标题并按回车键输入 + +### 编辑方块设置 +当你悬停在一个方块上时,鼠标图标将出现在方块右侧,可用于编辑方块。 在编辑块对话框中,您可以: +- 启用/禁用块 [Status] +- 选择方块何时应该/不应该显示 [Display]。 这仅适用于您有嵌套页面的情况(见 [Understanding Block Inheriting](/docs/user/site/block-inheritance)): + - **始终**: 总是显示块 + - **隐藏在子路由**上:仅在父路由中显示此块 + - **仅在子路上显示**: 仅在子路上显示此方块。 +- 选择哪个用户组可以查看块 [可查看]。 使用 CTRL + 点击选择多个组。 +- 设置自定义类来修改块或块中项目的外观 (列表、图像、背景等) [CSS 类] +- 显示/隐藏方块标题 [隐藏方块标题?] +- 选择方块视图 [方块视图]。 当新方块添加到 ACP 时,您可以选择默认方块视图。 + - **默认 / 简单**: 使用 prosilver 面板类将方块包装在填充容器中 + - **基本**: 方块没有任何容器包装它 + - **boxed**: 使用 prosilver forabg 类将方块包装在方框中 +- 设置/更新块特定设置 +- 如果你有相同的区块在多个页面上具有相同的设置, 您可以通过检查有相似设置的 **更新块来一次更新所有这些** + +## 删除块 +- 悬停在你想要删除的块 +- 点击 **x** 图标并确认你想要删除方块 +- 转到管理员栏并点击 `保存更改` diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/blocks/overview.md b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/blocks/overview.md new file mode 100644 index 000000000000..0179fc905781 --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/blocks/overview.md @@ -0,0 +1,9 @@ +--- +title: 什么是块? +sidebar_position: 1 +--- + +phpBB SiteMaker的中心是方块概念。 块是几乎没有什么内容可以放置在不同的预定义区域(方块位置)。 块通常有您可以设置/更改的设置来调整您想要显示的内容。 大多数方块,但不是所有方块都会进行数据库查询以获得所需的内容。 所以让我们不要太疯狂了 :)。 要管理模块,您需要切换到“编辑模式”。 + +## 编辑模式 +点击站点右上角的铅笔图标,切换到编辑模式。 这将显示带有"块"和"设置"菜单项的“管理栏”。 这被称为“编辑模式”。 diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/menus/_category_.json b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/menus/_category_.json new file mode 100644 index 000000000000..4259794d53ee --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/menus/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Menus", + "position": 2 +} diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md new file mode 100644 index 000000000000..ff3b5e536927 --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md @@ -0,0 +1,15 @@ +--- +title: 显示菜单 +sidebar_position: 3 +--- + +既然你已经创建了你的菜单,你可以通过多种方式显示它们: + +## 链接块 +您可以使用此块来显示一个平坦或嵌套的菜单项列表。 此方块不打算用于导航,即它不会显示当前页面或任何类似页面。 它打算包括外部链接在内的项目清单。 + +## 菜单块 +此模块用于网站导航。 它还进行一些额外的计算,以确定目前的位置,并不是一个非常大的清单。 + +## 导航栏 +与菜单模块相似,导航栏将显示菜单项作为站点导航的响应式下拉菜单。 您可以在 ACP > 扩展 > 网站 > 设置 > 选择菜单中启用此选项 diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md new file mode 100644 index 000000000000..840d473edec0 --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md @@ -0,0 +1,30 @@ +--- +title: 管理菜单项 +sidebar_position: 2 +--- + +除非有菜单项,否则您的菜单是没有用的。 您可以添加指向本地或外部文件的菜单项。 + +> 外部站点的 URL 必须以 http(s)://、ftp://、//等开头。 + +> 您可以通过输入“-”作为项目标题创建分隔符 + +## 添加菜单项 +您可以一次性添加菜单项或者在菜单项中添加多项。 + +### 添加单个菜单项 +添加单项菜单项 +* 点击 `添加菜单项` 按钮 +* 填写所需信息并点击 `保存` + +### 添加多个项目 +一次添加多个菜单项, +* 点击旁边的箭头图标 `添加菜单项` +* 您可以手动添加项目,把每个项目放在新行上,使用标签字符排料项目或 +* 您可以点击文本底部提供的选项之一自动填充菜单项 + +## 重新排序菜单项 +您可以将菜单项向上/向下拖放以设置其显示顺序,或向左/向右拖动以设置所需的层次结构。 + +## 重建菜单项 +如果您发现菜单项未正确显示,点击 `重建树` 按钮重建菜单项。 diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md new file mode 100644 index 000000000000..de652d257b77 --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md @@ -0,0 +1,24 @@ +--- +title: 管理菜单 +sidebar_position: 1 +--- + +您可以在 ACP 中创建菜单,然后您可以使用菜单或链接块显示,或作为水平导航栏显示。 + +## 管理菜单 + +若要管理菜单,请前往ACP > 扩展 > 网站制造商 > 菜单 + +### 创建菜单 +要创建一个新菜单(分组),点击 `添加菜单` 按钮。 将用随机生成的名称创建一个新的菜单组。 新菜单也将被选中,以便您可以开始添加菜单项。 + +### 编辑菜单 +如果你想要一个更有意义的菜单名称, +* 悬停在菜单名称上面,然后单击曲线图标 +* 输入新的菜单名称并按回车键以更新它 + +### 正在删除菜单 +删除菜单及其条目, +* 悬停在菜单名称上,然后点击 **x** 图标 +* 如果菜单项没有子项,您需要确认您的选择以删除该项 +* 如果菜单项包含子项, 您需要指明是否只要删除该项并将其子项上移,或者是否要删除整个分支 diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/site/_category_.json b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/site/_category_.json new file mode 100644 index 000000000000..045fbc22beb3 --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/site/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "构建您的网站", + "position": 3 +} diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md new file mode 100644 index 000000000000..63ad494900c0 --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md @@ -0,0 +1,46 @@ +--- +title: 方块继承权 +sidebar_position: 5 +--- + +我们已经通过设置默认布局来看到, 其他没有自己的模块的页面将继承默认布局中的模块。 然而,还有另一种类型的区块继承。 + +## 父/子路由 +在phpBB SiteMaker中,我们用真正嵌套(子)目录或几乎嵌套的路径/路线来谈论嵌套路线。 请留在我 :)。 +* 真正的父母/儿童路由:例如,路径/some_directory/sub_directory/index.php是/some_directory/index.php的子节点 +* 虚拟父母/儿童路由:例如,viewtopop.php 被视为视图forum.php 的下属。 + +以下是父母/子女路径的一些例子: + +| 父级 | 儿童 | +| ------------------ | ----------------------------- | +| /index.php | /viewforum.php /dir/index.php | +| /viewforum.php?f=2 | /viewtop.php?f=2&t=1 | +| /app.php/文章 | /app.php/articles/my-article | + +## 父母/子女方块继承权 +对于父/子路由, 子路由继承父路由的方块(如果父路由有自己的方块),或从默认布局(如果设置了一个方块)。 换句话说,即使有默认布局, 如果父路由有自己的路由,子路由将从父路由继承方块。 但并非所有上级路线的区块都必须继承。 + +## 控制方块的继承权 +在一个区块级别,你可以控制一个区块可以由子路由继承。 我们早些时候在 [编辑块设置](/docs/user/blocks/managing-blocks#editing-block-settings) 中触及了这个问题。 + +请考虑以下真实目录结构: +```text +phpBB +├── index.php +└── Movies/ + ├── index.php + ├── page.php + └── Comedy/ + └── index.php +``` + +为了继承这些块,我们说: +* /phpBB/Movies/Comedy/index.php的父路径是/phpBB/Movies/index.php,而不是/phpBB/Movies/page.php。 +* 相对于/php/phpBB/index.php的子目录中的所有页面都是一个子路径的 /phpBB/index.php。 所以/php/phpB/Movies/index.php和phpBB/Movies/page.php都是/php的子女,如果他们没有自己的区块,则将继承其区块。 在这种情况下: + * 当一个在 /phpBB/index.php上的方块被设置为 **在子路上隐藏**时,方块将在 /phpBB/index上显示。 hp (父路由),但不在子路上 + * 当一个在 /phpBB/index.php 上的方块被设置为 **只能在子路上显示**时,它将在 /phpBB/Movies/index上显示。 hp and /php/phpBB/Movies/page.php(儿童路由),但不是在 /phpBB/index.php(父),也不是/phpBB/Movies/Comedy/index.php(我们只能深入一层) + * 当一个在 /phpBB/index.php 上的方块设置为始终显示 **** (默认),它将在 /phpBB/index上显示。 hp (parent), /phpBB/Movies/index.php和 phpBB/page.php(儿童路由器),但不在 /phpBB/Movies/Comedy/index.php(我们只能深入一层)。 在这种情况下,/phpBB/Movies/Comedy/index.php将继承默认路径(如果存在) + +## 有毒的未来状态 +我真的对您在这个领域的反馈很感兴趣。 大多数phpBB用户将不会有上文概述的真正目录。 所以我想使用菜单块中定义的结构作为虚拟目录结构,并将此父/子继承权应用到它。 我也正在考虑超越一层深度。 请让我知道这对你是否有用。 \ No newline at end of file diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md new file mode 100644 index 000000000000..40295eaac46d --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md @@ -0,0 +1,6 @@ +--- +title: 自定义方块显示 +sidebar_position: 6 +--- + +正在进行中... \ No newline at end of file diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/site/default-layout.md b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/site/default-layout.md new file mode 100644 index 000000000000..36fff0d60709 --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/site/default-layout.md @@ -0,0 +1,21 @@ +--- +title: 设置默认布局 +sidebar_position: 4 +--- + +当您添加一个块时,它将被添加到该特定页面。 因此,为你网站上的所有页面设置块将是一项艰巨的任务。 您可以设置特定页面的所有所需方块,然后将该页面设置为默认布局。 用其他语言来说,没有自己的模块的任何页面都将继承此页面中的模块。 + +设置默认布局 +* 转到您想要设置为默认布局的页面 +* 点击管理栏中的 `设置` +* 点击 `设置为默认布局` 按钮 + +说我们添加块到一个页面 (phpBB/index.php),例如侧边栏和顶部位置中的块,并将其设置为我们的默认布局。 这对其他页面具有以下效果: +* 没有自己的模块的任何页面都将继承默认布局中的模块。 若有异常,请参阅 [理解方块继承](/docs/user/site/block-inheritance)。 +* 您仍然可以继承默认布局中的块 (索引)。 hp) 但选择不在某些方块位置显示方块或根本不显示任何方块。 要做到这一点, + * 转到您不想要全部/部分块显示的页面 + * 点击管理栏中的 `设置` + * 选择 `不要在此页面上显示块` 如果您不想继承/显示此页面上的任何块或 + * 使用 CTRL + 点击以选择您不想显示方块的方块位置(右侧) +* 在 `编辑模式`,一个从默认布局继承方块的页面 将不会显示任何块,如果你想要添加块到页面给你的机会 +* 任何有自己块的页面都不会继承默认布局 diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/site/layouts.md b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/site/layouts.md new file mode 100644 index 000000000000..f984a0047049 --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/site/layouts.md @@ -0,0 +1,31 @@ +--- +title: 布局 +sidebar_position: 1 +--- + +“布局”决定可用的方块位置和它们的显示方式。 + +## 方块位置 +区块位置是你网站上可以存在方块的预定义区域。 可用的方块位置由您使用的模板风格决定。 对于prosilver, phpBB SiteMaker 带有以下方块位置: +* 面板:顶部全宽度 +* 侧边栏:左/右视下方布局 +* 子内容:类似于侧边栏大小 +* 顶部马:横跨顶部的水平方块,根据布局在侧边栏/子内容上侧侧边栏 +* 顶部:高于主要内容 +* 框:等宽,主内容下面的水平块 +* 底部:低于主要内容 +* 底部马:横跨底部的水平方块,根据布局平滑侧边栏/子内容 +* 页脚:页脚中的水平块 你可以通过复制和修改相应的 phpBB 站点Maker 模板,在自己样式模板中添加更多的方块位置 + +## 站点布局 +您可以在 ACP 中选择您网站的布局(扩展 > 站点 > 设置): +* **博客**: 子内容和侧边栏互相推到右边, 顶部_hor/botom_hor flank子内容 +* **圣杯**: 侧边侧边栏和子内容等于宽度, 顶部_hor/botom_hor flank子内容 +* **Portal**: 左边侧边栏, 右边的子内容, top_hor/botom_hor flank子内容 +* **Portal Alt**: 左边的子内容,右边的侧边栏,顶部_hor/botom_hor 侧边栏 +* **自定义**:手动将侧边栏的宽度设置为px、%、em 或 rem。 默认为每边的 200px + +## 自定义模板/样式 +1. 尽可能多的国家 我们试图将模板文件和资源放入样式/all/文件夹,以便您可以通过在您自己的模板主题下创建一个具有相同名称的文件来覆盖它们。 . prosilver。 所以,如果你想要修改某个块如何显示或者如果你想要用自己的块位置创建自己的布局 您只需创建一个与您自己样式中的原始名称和路径相同的文件。 + +如果您需要自定义 CSS/JS 文件,请查看 [主题](/docs/dev/theming) 部分。 \ No newline at end of file diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/site/navbar.md b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/site/navbar.md new file mode 100644 index 000000000000..2d8467446a77 --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/site/navbar.md @@ -0,0 +1,6 @@ +--- +title: 导航栏 +sidebar_position: 2 +--- + +查看 [显示菜单](/docs/user/menus/displaying-menus#navigation-bar) diff --git a/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/site/startpage.md b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/site/startpage.md new file mode 100644 index 000000000000..81ca72c2a0bf --- /dev/null +++ b/website/i18n/zh-cmn-hans/docusaurus-plugin-content-docs/current/user/site/startpage.md @@ -0,0 +1,11 @@ +--- +title: 设置起始页 +sidebar_position: 3 +--- + +phpBB 网站允许您选择任何前台控制器(通过app.php/访问页面... 作为您的默认起始页(当有人访问您的网站时会显示的页面),而不是棋盘索引。 + +要这样做: +* 转到您想要设置为默认起始页面的页面 +* 单击管理栏中的 `设置`。 如果它是合格的页面,您将看到 `设置为起始页面` 按钮 +* 点击 `设置为起始页` 按钮 \ No newline at end of file diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/contrib/_category_.json b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/contrib/_category_.json new file mode 100644 index 000000000000..9f09f85c1772 --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/contrib/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Contribute", + "position": 4 +} diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/contrib/overview.md b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/contrib/overview.md new file mode 100644 index 000000000000..de46426e8d48 --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/contrib/overview.md @@ -0,0 +1,11 @@ +--- +title: Get Involved +sidebar_position: 1 +--- + +phpBB SiteMaker is an open source project and welcomes your ideas and contributions. So feel free to get involved. You can contribute to this project by: + +* [Providing Support/Feedback](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2) +* [Reporting Bugs](https://github.com/blitze/phpBB-ext-sitemaker/issues) +* [Helping with Translation](./translators.md) +* [Fixing bugs or adding features](./pull-requests.md) diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/contrib/pull-requests.md b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/contrib/pull-requests.md new file mode 100644 index 000000000000..eb49a6f371dc --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/contrib/pull-requests.md @@ -0,0 +1,65 @@ +--- +title: Submitting a Pull Request +sidebar_label: Pull Requests +--- + +`Pull requests let you tell others about changes you've pushed to a branch in a repository on GitHub. Once a pull request is opened, you can discuss and review the potential changes with collaborators and add follow-up commits before your changes are merged into the base branch.` [Read more](https://help.github.com/articles/about-pull-requests/) + +## Forking/Cloning + +* Create a github account if you don't already have one +* Go to https://github.com/blitze/phpBB-ext-sitemaker.git and click on "Fork" + +Clone your fork of the repository: + + git clone git://github.com//phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +From command line go to sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + +**Configure git:** + +Add your Username to Git on your system: + + git config --global user.name "Your Name Here" + +Add your E-mail address to Git on your system: + + git config --add user.email username@phpbb.com + +Add the upstream remote (you can change ‘upstream’ to whatever you like): + + git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.git + +**Install vendors** + + composer install + +**Install NPM packages** + + npm install + +Alternatively you may use [yarn](https://yarnpkg.com): + + yarn install + +## Pull Requests + + # Create a new branch for your feature & switch to it + git checkout -b feature/my-fancy-new-feature + + # create a new branch for the issue you are working on * switch to it (ticket # is from github tracker) + git checkout -b ticket/1234 + +Make your changes + + # Stage the files + git add + + # Commit staged files - please use a correct commit message + git commit -m "my commit message" + +Push the branch back to GitHub git push origin feature/my-fancy-new-feature + +Submit a [pull-request](https://github.com/blitze/phpBB-ext-sitemaker/pulls) diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/contrib/translators.md b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/contrib/translators.md new file mode 100644 index 000000000000..117e8c0cd238 --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/contrib/translators.md @@ -0,0 +1,17 @@ +--- +title: Translators +sidebar_position: 2 +--- + +We need help translating this extension, as well as its documentation. We have created a project on Crowdin to ease translations. Crowdin gives you a translation interface that's second to none. You can contribute how ever you want but we really recommend using Crowdin. + +> Crowdin is a localization management platform that helps companies to translate their software. You can read more about Crowdin [here](https://support.crowdin.com/crowdin-intro/) + +If you are willing to contribute with translations, you will need: + +* A [crowdin](https://crowdin.com/project/phpbb-ext-sitemaker) account. +* Chose the target language if exist otherwise request to be enabled. + +If your desired language is not listed, please [contact me](https://crowdin.com/profile/blitze) and I will add it. + +[Start Translating](https://crowdin.com/project/phpbb-ext-sitemaker) diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/dev/_category_.json b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/dev/_category_.json new file mode 100644 index 000000000000..cc7b01abbce9 --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/dev/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Developer Guide", + "position": 3 +} diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/dev/events.md b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/dev/events.md new file mode 100644 index 000000000000..74e789e92ca9 --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/dev/events.md @@ -0,0 +1,120 @@ +--- +title: phpBB SiteMaker Events +sidebar_position: 2 +--- + +You can modify the behavior of phpBB SiteMaker using phpBB's event system. + +## PHP Events + +### blitze.sitemaker.acp_add_bulk_menu_options + +- Location: /phpBB/ext/blitze/sitemaker/acp/menu_module.php +- Since: 3.1.0 +- Purpose: Add bulk menu options in acp menu + +### blitze.sitemaker.acp_display_settings_form + +- Location: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Since: 3.1.0 +- Purpose: display acp (sitemaker) settings form + +### blitze.sitemaker.acp_save_settings + +- Location: /phpBB/ext/blitze/sitemaker/acp/settings_module.php +- Since: 3.1.0 +- Purpose: Save acp (sitemaker) settings + +### blitze.sitemaker.admin_bar.set_assets + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/admin_bar.php +- Since: 3.0.1-RC1 +- Purpose: Add assets for available blocks in edit mode + +### blitze.sitemaker.modify_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Since: 3.0.1-RC1 +- Purpose: Modify block positions + +### blitze.sitemaker.modify_rendered_block + +- Location: /phpBB/ext/blitze/sitemaker/services/blocks/blocks.php +- Since: 3.0.1-RC1 +- Purpose: Modify a rendered block + +## Template Events + +### blitze_sitemaker_acp_settings + +- Location: /phpBB/ext/blitze/sitemaker/adm/style/acp_settings.html +- Since: 3.1.0 +- Purpose: Add form fields for sitemaker settings + +### blitze_sitemaker_admin_bar_append + +- Location: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Since: 3.1.0 +- Purpose: Add menu items to admin bar + +### blitze_sitemaker_admin_bar_templates + +- Location: /phpBB/ext/blitze/sitemaker/styles/all/template/admin_bar.html +- Since: 3.1.0 +- Purpose: Add template files to be used in JS for block views, etc + +## Javascript Events + +### blitze_sitemaker_layout_saved + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/AdminBar/SaveLayout/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout changes are saved + +### blitze_sitemaker_render_block_before + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something before block is rendered or prevent it from being re-rendered + +### blitze_sitemaker_render_block_after + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlockRenderer/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something after block is rendered + +### blitze_sitemaker_save_block_before + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/BlocksManager/Edit/index.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to modify block data before it is saved + +### blitze_sitemaker_show_all_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when all block positions are shown + +### blitze_sitemaker_hide_empty_block_positions + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when empty positions are hidden + +### blitze_sitemaker_layout_cleared + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout is cleared + +### blitze_sitemaker_layout_updated + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/Positions/Positions.js +- Since: 3.1.2 +- Purpose: Event to allow other extensions to do something when layout is updated + +### blitze_sitemaker_tinymce_options + +- Location: /phpBB/ext/blitze/sitemaker/develop/components/CustomBlock/index.js +- Since: 3.3.0 +- Purpose: Event to allow other extensions to modify tinymce options diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/dev/overview.md b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/dev/overview.md new file mode 100644 index 000000000000..04a34e5ee9c8 --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/dev/overview.md @@ -0,0 +1,179 @@ +--- +title: Extending phpBB SiteMaker +sidebar_position: 1 +--- + +You can extend/modify phpBB SiteMaker using [service replacement](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-replacement), [service decoration](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_advanced.html#using-service-decoration), and [phpBB's event system](https://area51.phpbb.com/docs/dev/3.2.x/extensions/tutorial_events.html). You can find a list of supported events [here](./events.md). + +## Creating a SiteMaker block + +A phpBB SiteMaker block is simply a class that extends the blitze\sitemaker\services\blocks\driver\block class and returns an array from the "display" method with a 'title' and 'content'. Everything else inbetween is up to you. To make your block discoverable by phpBB SiteMaker, you'll need to give it the "sitemaker.block" tag. + +Say we have an extension with vendor/extension as my/example. To create a block called "my_block" for phpBB SiteMaker: + +- Create a "blocks" folder +- Create my_block.php file in the blocks folder with the following content + +```php +namespace my\example\blocks; + +use blitze\sitemaker\services\blocks\driver\block; + +class my_block extends block +{ + /** + * {@inheritdoc} + */ + public function display(array $settings, $edit_mode = false) + { + return array( + 'title' => 'my block title', + 'content' => 'my block content', + ); + } +} +``` + +Then in your config.yml file, add the following: + +```yml +services: + + ... + + my.example.block.my_block: + class: my\example\blocks\my_block + calls: + - [set_name, [my.example.block.my_block]] + tags: + - { name: sitemaker.block } + + .... + +``` + +At a bare minimum, that's all you need. If you go into edit mode, you should see the block listed as 'MY_EXAMPLE_BLOCK_MY_BLOCK' that can be dragged and dropped on any block position. But this block doesn't do anything exciting. It has no settings and does not translate the block name. Let's make it more interesting. + +### Block Settings + +Let's modify our blocks/my_block.php file and add a "get_config" method th at returns an array with the keys being the block settings and the values being an array describing the settings like so: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'checkbox' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + 'yes_no' => array('lang' => 'SOME_LANG_VAR_2', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false, 'default' => false), + 'radio' => array('lang' => 'SOME_LANG_VAR_3', 'validate' => 'bool', 'type' => 'radio', 'options' => $options, 'explain' => false, 'default' => 'topic'), + 'select' => array('lang' => 'SOME_LANG_VAR_4', 'validate' => 'string', 'type' => 'select', 'options' => $options, 'default' => '', 'explain' => false), + 'multi' => array('lang' => 'SOME_LANG_VAR_5', 'validate' => 'string', 'type' => 'multi_select', 'options' => $options, 'default' => array(), 'explain' => false), + 'legend2' => 'TAB2', + 'number' => array('lang' => 'SOME_LANG_VAR_6', 'validate' => 'int:0:20', 'type' => 'number:0:20', 'maxlength' => 2, 'explain' => false, 'default' => 5), + 'textarea' => array('lang' => 'SOME_LANG_VAR_7', 'validate' => 'string', 'type' => 'textarea:3:40', 'maxlength' => 2, 'explain' => true, 'default' => ''), + 'togglable' => array('lang' => 'SOME_TOGGLABLE_VAR', 'validate' => 'string', 'type' => 'select:1:0:toggle_key', 'options' => $options, 'default' => '', 'append' => '
Only show when option 1 is selected
'), + ); + } +``` + +This is constructed the same way that phpBB builds the configuration for board settings in ACP. You can see more examples [here](https://github.com/phpbb/phpbb/blob/master/phpBB/includes/acp/acp_board.php). + +If you want a custom field type, you can see an example [here](https://github.com/blitze/phpBB-ext-sitemaker_content/blob/develop/blocks/recent.php) ('content_type' setting). + +Notice 'legend1' and 'legend2': These are used to separate the settings into tabs. + +### Naming Blocks + +The convention for block names is that the service name (e.g my.example.block.my*block above) will be used as the language key by replacing the dots (.) with underscore (*) (e.g MY_EXAMPLE_BLOCK_MY_BLOCK). + +### Translation + +Also notice that we have several language keys that need to be translated. To do this, create a file named "blocks_admin.php" in your language folder. This file will be automatically loaded when editing blocks, and should have translations for your blocks settings and block names. + +``` +$lang = array_merge($lang, array( + 'SOME_LANG_VAR' => 'Option 1', + 'OTHER_LANG_VAR' => 'Option 2', + 'SOME_LANG_VAR_1' => 'Setting 1', + .... + 'MY_EXAMPLE_BLOCK_MY_BLOCK' => 'My Block', +); +``` + +Because 'blocks_admin.php' is only loaded when editing blocks, you will need to add other translations (e.g. block title) by loading a language file in your display method like so `$language->add_lang('my_lang_file', 'my/example');` + +### Rendering the block + +The new block will only be displayed if it is rendering something. Your block can return any string as content but in most cases, you need a template to render your content. To render your block using templates, the block must return an array that holds the data that you want to pass to the template and must also implement the `get_template` method as demonstrated below: + +```php + /** + * @inheritdoc + */ + public function get_config(array $settings) + { + $options = array(1 => 'SOME_LANG_VAR', 2 => 'OTHER_LANG_VAR'); + return array( + 'legend1' => 'TAB1', + 'some_setting' => array('lang' => 'SOME_LANG_VAR_1', 'validate' => 'string', 'type' => 'checkbox', 'options' => $options, 'default' => array(), 'explain' => false), + ); + } + + /** + * {@inheritdoc} + */ + public function get_template() + { + return '@my_example/my_block.html'; + } + + /** + * {@inheritdoc} + */ + public function display(array $data, $edit_mode = false) + { + if ($edit_mode) + { + // do something only in edit mode + } + + return array( + 'title' => 'MY_BLOCK_TITLE', + 'data' => array( + 'some_var' => $data['settings']['some_setting'], + ), + ); + } +``` + +Then your styles/all/my_block.html or styles/prosilver/my_block.html file might look something like this: + +``` +

You selected: {{ some_var }}

+``` + +In summary, your block must return an array with a `title` key (for the block title) and a `content` key (if the block just displays a string and does not use a template) or a `data` key (if the block uses a template, in which case, you will also need to implement the `get_template` method). + +### Block Assets + +If your block needs to add assets (css/js) to the page, I recommend using the sitemaker [util class](https://github.com/blitze/phpBB-ext-sitemaker/blob/develop/services/util.php) for that. Since there can be more than one instance of the same block on the page, or other blocks might be adding the same asset, the util class ensures that the asset is only added ones. + +```php + $this->util->add_assets(array( + 'js' => array( + '@my_example/assets/some.js', + 100 => '@my_example/assets/other.js', // set priority + ), + 'css' => array( + '@my_example/assets/some.css', + ) + )); +``` + +The util class will, of course, need to be added to your service definitions in config.yml like so: `- '@blitze.sitemaker.util'` and defined in your block's constructor `\blitze\sitemaker\services\util $util`. + +And that's it. We're done! diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/dev/theming.md b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/dev/theming.md new file mode 100644 index 000000000000..96fa96590958 --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/dev/theming.md @@ -0,0 +1,62 @@ +--- +title: Theming +sidebar_position: 3 +--- + +We understand that the template files and the JS/CSS files will not work for every style, so below are some ways you can use your own templates and create JS/CSS files for your particular style. + +## Using your own template + +If the default templates that come with phpBB Sitemaker don't work well for your particular style, you can easily overwrite it to use your own template file by creating the corresponding file in your styles's folder. + +For example, say your style is called `Backlash` and it has a particular way in which the HTML for the block header section needs to be structured for the [boxed view](/docs/user/blocks/block-views). You can overwrite that particular template by creating a file by the same name like so: `phpBB/ext/blitze/sitemaker/styles/Backlash/template/views/boxed_view.twig`. + +In other words, to use your own template file, you need to: +* Identify which phpBB Sitemaker file needs to be overwritten +* Create a file by the same name in the Sitemaker `styles` folder under your style name + +> Note: If you create your own template files, be sure to not delete the `phpbb/ext/blitze/sitemaker` folder when updating the extension as your custom files will be deleted. Rather, just overwrite the existing files with the new ones. + +## Creating JS/CSS files for your style + +Note: +* For the purpose of the below instructions we will assume that you have a style called my-style. + +Clone into phpBB/ext/blitze/sitemaker: + + git clone https://github.com/blitze/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemaker + +From command line go to sitemaker directory: + + cd phpBB/ext/blitze/sitemaker + +**Install vendors** + + composer install + +**Install packages** + +For the below commands you can use npm or [yarn](https://yarnpkg.com) + + yarn install + +**Watch Changes** + + yarn start --theme my-style + +**Make Changes** + +* Make your changes to files in the phpBB/ext/blitze/sitemaker/develop folder. +* Look at phpBB/ext/blitze/sitemaker/develop/_partials/_globals.scss for sass variables + +**Build Assets** + + yarn build --theme my-style + +**Deploy** + +You can now copy the generated files from phpBB/ext/blitze/sitemaker/styles/my-style and uploaded them to your production server. + +> This extension uses jQuery UI for tabs, dialogs and buttons. The default jQuery theme is 'smoothness.' You can use a different jQuery UI theme that best fits your theme. You can specify the jQuery UI theme using the flag --jq_ui_theme. For example: + + yarn build --theme my-style --jq_ui_theme ui-lightness diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/intro/_category_.json b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/intro/_category_.json new file mode 100644 index 000000000000..3562d433d76f --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/intro/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Getting Started", + "position": 1 +} diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/intro/installation.md b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/intro/installation.md new file mode 100644 index 000000000000..e0630f01e6be --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/intro/installation.md @@ -0,0 +1,16 @@ +--- +title: "Installing / Upgrading" +sidebar_position: 2 +--- + +Download the extension from [here](https://www.phpbb.com/customise/db/extension/phpbb_sitemaker_2/) + +## Installing phpBB SiteMaker +* Extract and upload it to your phpBB/ext/ folder so you have phpBB/ext/blitze/sitemaker +* Go to "ACP" > "Customise" > "Extensions" and enable the "phpBB Sitemaker" extension. + +## Upgrading phpBB SiteMaker +* Create a backup of your database just in case something goes wrong +* Go to "ACP" > "Customise" > "Extensions" and disable (do not purge) "phpBB Sitemaker" +* Download and extract the latest version of phpBB SiteMaker and upload it to your phpBB/ext/ folder (overwrite) +* Go to "ACP" > "Customise" > "Extensions" and enable the "phpBB Sitemaker" extension. diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/intro/introduction.md b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/intro/introduction.md new file mode 100644 index 000000000000..f3613f50b73c --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/intro/introduction.md @@ -0,0 +1,6 @@ +--- +title: Introduction +sidebar_position: 1 +--- + +phpBB SiteMaker seeks to transform your phpBB board into a CMS/portal. It does so by providing you with blocks and menus to help you customize your site to your liking. There are or will be other SiteMaker extensions that provide additional functionality to meet this goal. It also allows you to define a landing page when your site is accessed. So if you don't want visitors to your site to immediately see the phpBB forum when they go to www.your-site.com, you can define your own start page. diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/_category_.json b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/_category_.json new file mode 100644 index 000000000000..68ea78e78443 --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "User Guide", + "position": 2 +} diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/blocks/_category_.json b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/blocks/_category_.json new file mode 100644 index 000000000000..6aa877545702 --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/blocks/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Blocks", + "position": 1 +} diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/blocks/block-views.md b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/blocks/block-views.md new file mode 100644 index 000000000000..3316541dd929 --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/blocks/block-views.md @@ -0,0 +1,6 @@ +--- +title: Block Views +sidebar_position: 2 +--- + +Work in progress... \ No newline at end of file diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md new file mode 100644 index 000000000000..861704f2e76f --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/blocks/custom-blocks.md @@ -0,0 +1,24 @@ +--- +title: Custom Block +sidebar_position: 4 +--- + +If the available blocks do not give you the freedom you need, there is the `Custom Block` which allows you the freedom to display your own content using BBcode or HTML. The block comes with a WYSIWYG editor (TinyMCE) and a scripts manager: + +## The editor + +- You can use the editor to create HTML content +- You can edit the source code if you need that level of control by clicking on the `Source code` icon (`<>`) in the editor +- The editor allows you to upload and modify images + - It creates a new folder in phpBB/images/sitemaker_uploads/ for every user who has access to it + - You can view/manage all user folders +- The editor filters out any potentially dangerous scripts like javascript, etc. If you need to add content like google ads, the javascript will be filtered out, but you can get around that by doing the following: + - Add the Custom Block to desired location + - Edit the Custom Block, click on the `HTML` tab and paste your Javascript + +## The Scripts Manager + +The Custom Block also allows you to add custom CSS and Javascript files to your page. To do this: + +- Add a `Custom Block` to any block position. The position does not matter unless you are also displaying content with the block +- Edit the block, click on the `Scripts` tab and add your CSS or Javascript files > Word of caution though: Adding to many scripts on your page can affect load times diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md new file mode 100644 index 000000000000..395342ad5c12 --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/blocks/managing-blocks.md @@ -0,0 +1,51 @@ +--- +title: Managing Blocks +sidebar_position: 3 +--- + +To manage blocks in phpBB SiteMaker, you must be in [Edit Mode](./overview#edit-mode). + +> When a block does not display any content, it will not be displayed, except in edit mode. That way, you can either give it content (in the case of the Custom block) or change its settings. + +> In edit mode, the somewhat transparent blocks are blocks that will otherwise not be displayed but are only being displayed because we are in edit mode + +## Adding blocks +You can add blocks to any front-facing page, except the User Control Panel and Moderator Control Panel pages. To add a block, you will need to: +* click on **Blocks** in the Admin bar. This will display a list of available blocks +* Drag and drop the desired block to any block position + +## Editing blocks +### Adding a block icon +To the left of the block title (prosilver), there is a box for the block icon. Click on this box to get the icon picker. You can select the icon size, color, float, rotation, etc. + +### Editing the Block Title +phpBB SiteMaker blocks will have a default, translated title but if the title does not meet your needs, you can change it. To edit the block title, +* Click on the block title to get an inline edit form +* Change the title to whatever you want +* Remove focus from the field or hit enter to submit changes + +> Your modified block title is not translated + +> To revert to the default title, simple delete the title and hit enter + +### Editing block settings +When you hover over a block, a cog icon will appear to the right of the block that can be used to edit the block. In the edit block dialog, you can: +- Enable/disable a block [Status] +- Choose when the block should/should not be displayed [Display]. This only applies in cases where you have nested pages (see [Understanding Block Inheritance](/docs/user/site/block-inheritance)): + - **Always**: Always display the block + - **Hide on child routes**: Only show this block on the parent route + - **Show on child routes only**: Only show this block on a child route +- Choose which groups of users can view the block [Viewable by]. Use CTRL + click to select multiple groups. +- Set custom classes to modify the appearance of the block or items (lists, images, background, etc) within the block [CSS Class] +- Show/hide the block title [Hide block title?] +- Select the block view [Block view]. You can select a default block view when new blocks are added in ACP. + - **Default / Simple**: uses the prosilver panel class to wrap the block in a padded container + - **Basic**: block does not have any container wrapping it + - **Boxed**: uses the prosilver forabg class to wrap the block in a box +- Set / Update block specific settings +- If you have the same block with same settings across multiple pages, you can update all of them at once by checking the **Update blocks with similar settings** + +## Deleting blocks +- Hover over the block you'd like to delete +- Click on the **x** icon and confirm that you wish to delete the block +- Go up to the admin bar and click on `Save Changes` diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/blocks/overview.md b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/blocks/overview.md new file mode 100644 index 000000000000..1b8f0a75c40e --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/blocks/overview.md @@ -0,0 +1,9 @@ +--- +title: What are blocks? +sidebar_position: 1 +--- + +At the heart of phpBB SiteMaker is the concept of blocks. Blocks are little pieces of content that you can place in different pre-defined areas (block positions) on your site. The blocks will typically have settings that you can set/change to fine-tune the content that you wish to display. Most blocks, but not all, will make database queries to get the desired content. So let's not get too crazy :). To manage blocks, you will need to switch to "edit mode". + +## Edit Mode +Switch to edit mode by clicking on the pencil icon on the top right of your site. This will display the "Admin bar" with "Blocks" and "Settings" menu items. This is referred to as being in 'edit mode'. diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/menus/_category_.json b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/menus/_category_.json new file mode 100644 index 000000000000..4259794d53ee --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/menus/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Menus", + "position": 2 +} diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md new file mode 100644 index 000000000000..70927b2abece --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/menus/displaying-menus.md @@ -0,0 +1,15 @@ +--- +title: Displaying Menus +sidebar_position: 3 +--- + +Now that you have create your menus, you can display them in several ways: + +## Links Block +You can use this block to display a flat or nested list of menu items. This block is not intended to be used for navigation i.e. it will not show a current page or anything like that. It is intended for a list of items, including external links. + +## Menus Block +This block is intended for site navigation. It does some additional computations to determine current location and is not intended to be a very large list. + +## Navigation bar +Similar to the Menus block, the navigation bar will display menu items as a responsive dropdown menu intended for site navigation. You can enable this in ACP > Extensions > Sitemaker > Settings > Select menu diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md new file mode 100644 index 000000000000..eb77c62c13d0 --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/menus/managing-menu-items.md @@ -0,0 +1,30 @@ +--- +title: Managing Menu Items +sidebar_position: 2 +--- + +Your menu is useless unless it has menu items. You can add menu items that point to local or external files. + +> The URL for external sites must begin with http(s)://, ftp://, //, etc. + +> You can create a divider by entering '-' as the item title + +## Adding Menu items +You can add menu items one item at a time, or you can add multiple menu items at ones. + +### Adding single menu items +To add a single menu item, +* click on the `Add Menu Item` button +* Fill in the required information and hit `Save` + +### Adding multiple items +To add multiple menu items at once, +* Click on the down arrow icon next to `Add Menu Item` +* You can manually add items by placing each item on a new line and using the tab character nest items or +* You can click on one of the provided options at the bottom of the textarea to automatically fill in the menu items + +## Reorder the menu items +You can drag and drop the menu items up/down to set their display order, or drag them left/right to set the desired hierarchy. + +## Rebuilding the menu items +If you find that the menu items are not displaying correctly, click on the `Rebuild Tree` button to rebuild the menu items. diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md new file mode 100644 index 000000000000..bc7ec16cfbab --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/menus/managing-menus.md @@ -0,0 +1,24 @@ +--- +title: Managing Menus +sidebar_position: 1 +--- + +You can create menus in ACP that you can then display using the Menus or the Links blocks or displayed as a horizontal navbar. + +## Managing Menus + +To manage menus, go to ACP > Extensions > Sitemaker > Menu + +### Creating Menus +To create a new menu (group), click on the `Add Menu` button. A new menu group will be created with a randomly generated name. The new menu will also be selected so you can begin adding menu items to it. + +### Editing Menus +If you want a more meaningful menu name, +* hover over the menu name and click on the cog icon +* enter the new menu name and hit enter to update it + +### Deleting Menus +To delete a menu, and its items, +* Hover over the menu name and click on the **x** icon +* If the menu item has no child items, you will need to confirm your choice to delete the item +* If the menu item has child items, you will need to indicate if you want to delete only the item and move its children up or if you want to delete the entire branch diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/site/_category_.json b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/site/_category_.json new file mode 100644 index 000000000000..c1279944184a --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/site/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Building your site", + "position": 3 +} diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md new file mode 100644 index 000000000000..d53ed6cf2f07 --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/site/block-inheritance.md @@ -0,0 +1,46 @@ +--- +title: Block Inheritance +sidebar_position: 5 +--- + +We have already seen that by setting a default layout, other pages that do not have blocks of their own will inherit the blocks from the default layout. There is, however, another type of block inheritance. + +## Parent/Child Routes +In phpBB SiteMaker, we speak of nested routes in terms of real nested (sub) directories or virtually nested paths/routes. Please stay with me :). +* Real Parent/Child routes: For example, the path /some_directory/sub_directory/index.php is a child of /some_directory/index.php +* Virtual Parent/Child routes: For example, viewtopic.php is treated as a child of viewforum.php. + +Here are some examples of parent/child routes: + +| Parent | Child | +| ------------------ | ------------------------------ | +| /index.php | /viewforum.php, /dir/index.php | +| /viewforum.php?f=2 | /viewtopic.php?f=2&t=1 | +| /app.php/articles | /app.php/articles/my-article | + +## Parent/Child Block Inheritance +For parent/child routes, the child route inherits the blocks of the parent route (if the parent has its own blocks) or from the default layout (if one has been set). In other words, even if there is a default layout, the child route will inherit blocks from its parent route if the parent route has its own blocks. But not all blocks from the parent route must be inherited. + +## Controlling Block Inheritance +At a block level, you can control when a block can be inherited by child routes. We touched on this earlier in the [Editing Block Settings](/docs/user/blocks/managing-blocks#editing-block-settings). + +Consider the following real directory structure: +```text +phpBB +├── index.php +└── Movies/ + ├── index.php + ├── page.php + └── Comedy/ + └── index.php +``` + +For the purposes of inheriting blocks, we say: +* The parent route of /phpBB/Movies/Comedy/index.php is /phpBB/Movies/index.php and not /phpBB/Movies/page.php +* All pages in a sub directory relative to /phpBB/index.php is a child route of /phpBB/index.php. So /phpBB/Movies/index.php and /phpBB/Movies/page.php are all children of /phpBB/index.php and will therefore inherit its blocks if they do not have blocks of their own. In this case: + * When a block on /phpBB/index.php is set to display on **Hide on child routes**, the block will show on /phpBB/index.php (parent route) but not on its child routes + * When a block on /phpBB/index.php is set to display on **Show on child routes only**, it will display on /phpBB/Movies/index.php and /phpBB/Movies/page.php (child routes) but not on /phpBB/index.php (parent), nor /phpBB/Movies/Comedy/index.php (we only go one level deep) + * When a block on /phpBB/index.php is set to display **always** (default), it will display on /phpBB/index.php (parent), /phpBB/Movies/index.php and /phpBB/page.php (child routes) but not on /phpBB/Movies/Comedy/index.php (we only go one level deep). In this case, /phpBB/Movies/Comedy/index.php will inherit from the default route (if it exists) + +## Posible Future State +I'm really interested in your feedback in this area. Most phpBB users will not have real directories as outlined above. So I'm thinking of using the structure that is defined in a menu block as a virtual directory structure and apply this parent/child inheritance to it. I'm also considering going beyond one level deep. Please let me know if this will be useful to you. \ No newline at end of file diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md new file mode 100644 index 000000000000..5c8921307597 --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/site/block-modifiers.md @@ -0,0 +1,6 @@ +--- +title: Customizing Blocks Display +sidebar_position: 6 +--- + +Work in progress... \ No newline at end of file diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/site/default-layout.md b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/site/default-layout.md new file mode 100644 index 000000000000..e0707bde32c9 --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/site/default-layout.md @@ -0,0 +1,21 @@ +--- +title: Setting a Default Layout +sidebar_position: 4 +--- + +When you add a block, it is added to that specific page. It would, therefore, be a tedious task to set blocks for all the pages on your site. You can set all the desired blocks for a particular page, then set that page as the default layout. In others words, any page that does not have its own blocks, will inherit blocks from this page. + +To set a default layout +* Go to the page that you'd like to set as default layout +* Click on `Settings` in the admin bar +* Click the `Set as default layout` button + +Say we add blocks to a page (phpBB/index.php) with blocks in the sidebar and top positions, for example, and set it as our default layout. This has the following effects for other pages: +* Any page that does not have its own blocks, will inherit the blocks from the default layout. See [Understanding Block Inheritance](/docs/user/site/block-inheritance) for exceptions. +* You may still inherit blocks from a default layout (index.php) but choose to not display blocks on some block positions or not display any blocks at all. To do this, + * Go to the page that you don't want all/some blocks to display + * Click on `Settings` in the admin bar + * Select `Do not show blocks on this page` if you don't want to inherit/display any blocks on this page OR + * Use CTRL + click to select the block positions (on the right) that you do not want to display blocks on +* In `edit mode`, a page that inherits blocks from the default layout, will not show any blocks, giving you the opportunity to add blocks to the page if you want to +* Any page that has its own blocks will not inherit from the default layout diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/site/layouts.md b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/site/layouts.md new file mode 100644 index 000000000000..4ee616f81cf7 --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/site/layouts.md @@ -0,0 +1,31 @@ +--- +title: Layouts +sidebar_position: 1 +--- + +"Layouts" determine the available block positions and how they are displayed. + +## Block Positions +Block positions are predefined areas on your site where blocks can exist. The available block positions are determined by the template style that you are using. For prosilver, phpBB SiteMaker comes with the following block positions: +* panel: full width across the top +* sidebar: left/right depending on layout below +* subcontent: similar to sidebar just larger +* top_hor: horizontal blocks across the top, flanking above sidebar/subcontent depending on layout +* top: above main content +* box: equal width, horizontal blocks below main content +* bottom: below main content +* bottom_hor: horizontal blocks across the bottom, flanking the sidebar/subcontent depending on layout +* footer: horizontal blocks in the footer You can add more block positions in your own style templates by copying and modifying the corresponding phpBB SiteMaker templates + +## Site Layout +You can choose the layout for your site in ACP (Extensions > Sitemaker > Settings): +* **Blog**: subcontent and sidebar next to each other, pushed to the right, top_hor/botom_hor flank subcontent +* **Holy Grail**: equal width sidebar and subcontent on opposite sides, top_hor/botom_hor flank subcontent +* **Portal**: sidebar on left, subcontent on the right, top_hor/botom_hor flank subcontent +* **Portal Alt**: subcontent on left, sidebar on the right, top_hor/botom_hor flank sidebar +* **Custom**: Manually set the width of the sidebars as px, %, em or rem. Defaults to 200px on each side + +## Custom templates/styles +As much as possible, we tried to put template files and assets in styles/all/ folder so that you can overwrite them by creating a file with same name under your own template theme e.g. prosilver. So if you want to modify how a certain block displays or if you want to create your own layout with your own block positions, you simply need to create a file with the same name and path as the original in your own style. + +If you need to customize CSS/JS files, take a look at the [theming](/docs/dev/theming) section. \ No newline at end of file diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/site/navbar.md b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/site/navbar.md new file mode 100644 index 000000000000..e5f697c35044 --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/site/navbar.md @@ -0,0 +1,6 @@ +--- +title: Navigation Bar +sidebar_position: 2 +--- + +See [Displaying Menus](/docs/user/menus/displaying-menus#navigation-bar) diff --git a/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/site/startpage.md b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/site/startpage.md new file mode 100644 index 000000000000..433400874bd9 --- /dev/null +++ b/website/i18n/zh-cmn-hant/docusaurus-plugin-content-docs/current/user/site/startpage.md @@ -0,0 +1,11 @@ +--- +title: Setting a Start Page +sidebar_position: 3 +--- + +phpBB SiteMaker allows you to choose any front controller (pages accessed via app.php/...) as your default start page (the page that will be shown when someone visits your site) instead of the board index. + +To do this: +* Go to the page that you want to set as default start page +* Click on `Settings` in the admin bar. If it is an eligible page, you will see a `Set as start page` button +* Click on the `Set as start page` button \ No newline at end of file