Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dragomano committed Feb 6, 2025
1 parent 1a7ea65 commit 4dec466
Show file tree
Hide file tree
Showing 90 changed files with 1,394 additions and 132 deletions.
7 changes: 1 addition & 6 deletions docs/.vitepress/locales/ar.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ export default {
label: 'العربية',
// https://gist.github.com/Josantonius/b455e315bc7f790d14b136d61d9ae469
lang: 'ar',
dir: 'rtl',
title: 'وثائق Light Portal',
description: 'الوثائق عبر الإنترنت Light Portal',
themeConfig: {
Expand All @@ -20,11 +19,7 @@ export default {
link: '/examples'
},
{
text: 'تجريبي',
link: 'https://demo.dragomano.ru/'
},
{
text: 'تغيير',
text: 'Changelog',
link: '/changelog'
}
],
Expand Down
4 changes: 0 additions & 4 deletions docs/.vitepress/locales/de.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ export default {
text: 'Beispiele',
link: '/examples'
},
{
text: 'Demo',
link: 'https://demo.dragomano.ru/'
},
{
text: 'Changelog',
link: '/changelog'
Expand Down
6 changes: 1 addition & 5 deletions docs/.vitepress/locales/el.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ export default {
link: '/examples'
},
{
text: 'Δοκιμή',
link: 'https://demo.dragomano.ru/'
},
{
text: 'Καταγραφή αλλαγών',
text: 'Αρχείο καταγραφής αλλαγών',
link: '/changelog'
}
],
Expand Down
1 change: 0 additions & 1 deletion docs/.vitepress/locales/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export default {
{ text: 'Home', link: '/' },
{ text: 'Introduction', link: '/intro' },
{ text: 'Examples', link: '/examples' },
{ text: 'Demo', link: 'https://demo.dragomano.ru/' },
{ text: 'Changelog', link: '/changelog' },
],
outline: {
Expand Down
6 changes: 1 addition & 5 deletions docs/.vitepress/locales/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ export default {
link: '/examples'
},
{
text: 'Demo',
link: 'https://demo.dragomano.ru/'
},
{
text: 'Cambios',
text: 'Changelog',
link: '/changelog'
}
],
Expand Down
6 changes: 1 addition & 5 deletions docs/.vitepress/locales/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ export default {
link: '/examples'
},
{
text: 'Démo',
link: 'https://demo.dragomano.ru/'
},
{
text: 'Historique des modifications',
text: 'Changelog',
link: '/changelog'
}
],
Expand Down
2 changes: 2 additions & 0 deletions docs/.vitepress/locales/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import pl from './pl';
import uk from './uk';
import fr from './fr';
import tr from './tr';
import sl from './sl';

function addPrefixToLinks(prefix, obj) {
for (const key in obj) {
Expand All @@ -36,4 +37,5 @@ export default {
uk: addPrefixToLinks('uk', uk),
fr: addPrefixToLinks('fr', fr),
tr: addPrefixToLinks('tr', tr),
sl: addPrefixToLinks('sl', sl),
};
4 changes: 0 additions & 4 deletions docs/.vitepress/locales/it.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ export default {
text: 'Esempi',
link: '/examples'
},
{
text: 'Demo',
link: 'https://demo.dragomano.ru/'
},
{
text: 'Changelog',
link: '/changelog'
Expand Down
6 changes: 1 addition & 5 deletions docs/.vitepress/locales/nl.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ export default {
link: '/examples'
},
{
text: 'Demo',
link: 'https://demo.dragomano.ru/'
},
{
text: 'Wijzigingslogboek',
text: 'Changelog',
link: '/changelog'
}
],
Expand Down
4 changes: 0 additions & 4 deletions docs/.vitepress/locales/pl.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ export default {
text: 'Przykłady',
link: '/examples'
},
{
text: 'Demo',
link: 'https://demo.dragomano.ru/'
},
{
text: 'Lista zmian',
link: '/changelog'
Expand Down
4 changes: 0 additions & 4 deletions docs/.vitepress/locales/ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ export default {
text: 'Примеры',
link: '/examples'
},
{
text: 'Демонстрация',
link: 'https://demo.dragomano.ru/'
},
{
text: 'Обновления',
link: '/changelog'
Expand Down
65 changes: 65 additions & 0 deletions docs/.vitepress/locales/sl.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
export default {
label: 'Slovenščina',
// https://gist.github.com/Josantonius/b455e315bc7f790d14b136d61d9ae469
lang: 'sl',
title: 'Light Portal dokumentacija',
description: 'Spletna dokumentacija za Light Portal',
themeConfig: {
nav: [
{
text: 'Domov',
link: '/'
},
{
text: 'Predstavitev',
link: '/intro'
},
{
text: 'Primeri',
link: '/examples'
},
{
text: 'Dnevnik sprememb',
link: '/changelog'
}
],
outline: { label: 'Na tej strani' },
docFooter: {
prev: 'Prejšnja stran',
next: 'Naslednja stran'
},
darkModeSwitchLabel: 'Videz',
lightModeSwitchTitle: 'Preklopi na svetlo temo',
darkModeSwitchTitle: 'Preklopi na temno temo',
sidebarMenuLabel: 'Meni',
returnToTopLabel: 'Nazaj na vrh',
langMenuLabel: 'Spremeni jezik',
notFound: {
title: 'STRAN NI NAJDENA',
quote: 'Ampak če ne spremeniš svoje smeri in če nadaljuješ z iskanjem, lahko končaš tam, kamor si namenjen.',
linkLabel: 'pojdi na začetno stran',
linkText: 'Vrni me domov'
},
search: {
options: {
translations: {
button: {
buttonText: 'Išči',
buttonAriaLabel: 'Išči'
},
modal: {
displayDetails: 'Prikaži podroben seznam',
resetButtonTitle: 'Ponastavi iskanje',
backButtonTitle: 'Zapri iskanje',
noResultsText: 'Ni rezultatov za',
footer: {
selectText: 'izbrati',
navigateText: 'navigirati',
closeText: 'zapreti'
}
}
}
}
}
}
};
6 changes: 1 addition & 5 deletions docs/.vitepress/locales/tr.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ export default {
link: '/examples'
},
{
text: 'Demo',
link: 'https://demo.dragomano.ru/'
},
{
text: 'Değişiklikler',
text: 'Değişiklik günlüğü',
link: '/changelog'
}
],
Expand Down
4 changes: 0 additions & 4 deletions docs/.vitepress/locales/uk.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ export default {
text: 'Приклади',
link: '/examples'
},
{
text: 'Демо',
link: 'https://demo.dragomano.ru/'
},
{
text: 'Список змін',
link: '/changelog'
Expand Down
12 changes: 12 additions & 0 deletions docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ html[lang="tr"] {
--vp-code-copy-copied-text-content: 'Kopyalandı';
}

html[lang="ru"] {
--vp-code-copy-copied-text-content: 'Kopirano';
}

.content-container {
max-width: 100% !important;
}
Expand All @@ -58,6 +62,14 @@ html[lang="tr"] {
display: none;
}

.box .icon {
text-shadow: 4px 4px 16px #000000;
}

img.VPImage {
filter: drop-shadow(5px 5px 10px #000000);
}

@media (max-width: 400px) {
.VPNavBar .container {
max-width: none;
Expand Down
2 changes: 1 addition & 1 deletion docs/src/ar/getting-started/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ outline:

### الوضع المستقل

هذا هو الوضع الذي يمكنك فيه تحديد الصفحة الرئيسية الخاصة بك (حتى إذا كانت على موقع آخر)، وإزالة العناصر غير الضرورية من القائمة الرئيسية (قائمة المستخدمين، التقويم، إلخ). انظر `portal.php` في المنتدى الجذر على سبيل المثال.
This is a mode where you can specify your own home page, and remove unnecessary items from the main menu (user list, calendar, etc.). انظر `portal.php` في المنتدى الجذر على سبيل المثال.

### الأذونات

Expand Down
2 changes: 1 addition & 1 deletion docs/src/de/getting-started/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Um den Inhalt der Portal-Startseite zu ändern, wählen Sie den passenden "Porta

### Autonomer Modus

Dies ist ein Modus, in dem Sie Ihre eigene Homepage festlegen können (auch wenn sie auf einer anderen Seite ist), und entfernen Sie unnötige Elemente aus dem Hauptmenü (Benutzerliste, Kalender, etc.). Siehe zum Beispiel `portal.php` im Forum root .
This is a mode where you can specify your own home page, and remove unnecessary items from the main menu (user list, calendar, etc.). Siehe zum Beispiel `portal.php` im Forum root .

### Berechtigungen

Expand Down
2 changes: 1 addition & 1 deletion docs/src/el/getting-started/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ outline:

### Ανεξάρτητη λειτουργία

Αυτή είναι μια λειτουργία όπου μπορείτε να καθορίσετε τη δική σας αρχική σελίδα (ακόμα και αν βρίσκεται σε άλλη τοποθεσία) και να αφαιρέσετε τα περιττά στοιχεία από το κύριο μενού (λίστα χρηστών, ημερολόγιο κ.λπ.). Δείτε το "portal.php" στη ρίζα του φόρουμ για παράδειγμα.
Αυτή είναι μια λειτουργία όπου μπορείτε να καθορίσετε τη δική σας αρχική σελίδα και να αφαιρέσετε τα περιττά στοιχεία από το κύριο μενού (λίστα χρηστών, ημερολόγιο κ.λ.π.). Δείτε το "portal.php" στη ρίζα του φόρουμ για παράδειγμα.

### Δικαιώματα

Expand Down
2 changes: 1 addition & 1 deletion docs/src/es/getting-started/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Para cambiar el contenido de la página de inicio del portal, seleccione el modo

### Modo independiente

Este es un modo en el que puedes especificar tu propia página de inicio (incluso si está en otro sitio), y eliminar elementos innecesarios del menú principal (lista de usuarios, calendario, etc.). Vea `portal.php` en la raíz del foro por ejemplo.
This is a mode where you can specify your own home page, and remove unnecessary items from the main menu (user list, calendar, etc.). Vea `portal.php` en la raíz del foro por ejemplo.

### Permisos

Expand Down
2 changes: 1 addition & 1 deletion docs/src/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ lead: If you want to add your site into this list, just send me a message via <e
import ExampleArea from './ExampleArea.vue'
</script>

<ExampleArea />
<ExampleArea />
2 changes: 1 addition & 1 deletion docs/src/fr/getting-started/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Pour modifier le contenu de la page d'accueil du portail, sélectionnez le mode

### Mode autonome

Il s'agit d'un mode où vous pouvez spécifier votre propre page d'accueil (même si c'est sur un autre site), et supprimer les éléments inutiles du menu principal (liste d'utilisateurs, calendrier, etc.). Voir `portal.php` à la racine du forum par exemple.
This is a mode where you can specify your own home page, and remove unnecessary items from the main menu (user list, calendar, etc.). Voir `portal.php` à la racine du forum par exemple.

### Permissions

Expand Down
2 changes: 1 addition & 1 deletion docs/src/getting-started/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ To change the content of the portal home page, select the appropriate "the porta

### Standalone mode

This is a mode where you can specify your own home page (even if it is on another site), and remove unnecessary items from the main menu (user list, calendar, etc.). See `portal.php` in the forum root for example.
This is a mode where you can specify your own home page, and remove unnecessary items from the main menu (user list, calendar, etc.). See `portal.php` in the forum root for example.

### Permissions

Expand Down
2 changes: 1 addition & 1 deletion docs/src/it/getting-started/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Per modificare il contenuto della home page del portale, selezionare la desidera

### Modalità Standalone

Questa è una modalità in cui puoi specificare la tua home page (anche se si trova su un altro sito) e rimuovere voci non necessarie dal menu principale (utenti, calendario, ecc.). Vedi ad esempio il file `portal.php` nella root del forum.
Questa è una modalità in cui puoi specificare la tua home page e rimuovere voci non necessarie dal menu principale (utenti, calendario, ecc.). Vedi ad esempio il file `portal.php` nella root del forum.

### Permessi

Expand Down
2 changes: 1 addition & 1 deletion docs/src/it/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ Non c'è molto da dire qui. Light Portal puoi installarlo come qualsiasi altra m

Se il tuo hosting è troppo "intelligente" con i permessi e i file del portale non sono stati decompressi durante l'installazione, devi estrarre manualmente le cartelle `Themes` e `Sources` dall'archivio della mod nella cartella del forum (dove si trovano le stesse cartelle Themes e Sources, così come i file `cron.php`, `SSI.php`, `Settings.php`, ecc) ed impostare le autorizzazioni appropriate. Molto spesso è "644", "664" o "666" per i file e "755", "775" o "777" per le cartelle.

Inoltre devi estrarre il file `database.php` dall'archivio della mod alla radice del tuo forum, impostarne i diritti di esecuzione (`666`) e accedervi tramite il browser (devi aver effettuato l'accesso come amministratore del forum) Questo file contiene le istruzioni per la creazione delle tabelle utilizzate dal portale. Questo file contiene le istruzioni per la creazione delle tabelle utilizzate dal portale.
Inoltre devi estrarre il file `database.php` dall'archivio della mod alla radice del tuo forum, impostarne i diritti di esecuzione (`666`) e accedervi tramite il browser (devi aver effettuato l'accesso come amministratore del forum). Questo file contiene le istruzioni per la creazione delle tabelle utilizzate dal portale.
2 changes: 1 addition & 1 deletion docs/src/nl/getting-started/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Om de inhoud van de homepagina van het portaal te wijzigen, selecteer je de juis

### Alleenstaande modus

Dit is een modus waar u uw eigen startpagina kunt opgeven (zelfs als het op een andere site staat), en verwijder onnodige items uit het hoofdmenu (gebruikerslijst, kalender, etc.). Zie `portal.php` in de forum hoofdmap voor bijvoorbeeld.
This is a mode where you can specify your own home page, and remove unnecessary items from the main menu (user list, calendar, etc.). Zie `portal.php` in de forum hoofdmap voor bijvoorbeeld.

### Machtigingen

Expand Down
6 changes: 3 additions & 3 deletions docs/src/pl/blocks/create-new.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ order: 2

# Dodaj wtyczkę

Aby dodać blok, po prostu kliknij na niego. Na początku możesz tworzyć bloki trzech typów: PHP, HTML i BBCode. Jeśli potrzebujesz innych, najpierw [włącz niezbędne wtyczki](../plugins/manage) typu `block`.
Aby dodać blok, po prostu kliknij. Na początku możesz tworzyć bloki trzech typów: PHP, HTML i BBCode. Jeśli potrzebujesz innych, najpierw [włącz niezbędne wtyczki](../plugins/manage) typu `block`.

W zależności od typu bloku dostępne będą różne ustawienia, rozprzestrzeniane na różne karty.

## Content tab
## Karta zawartości

Tutaj możesz skonfigurować:

Expand Down Expand Up @@ -37,7 +37,7 @@ Tutaj możesz skonfigurować:

![Appearance tab](appearance_tab.png)

## Tuning tab
## Karta tuning

Tunery specyficzne dla bloku są zazwyczaj dostępne na karcie **Tuning**.

Expand Down
2 changes: 1 addition & 1 deletion docs/src/pl/blocks/impex.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Krótki opis interfejsu dla eksportu i importu wtyczek portalu
order: 3
---

# Wywóz i import
# Eksport i import

Strony portalu mogą być zapisane w specjalnym pliku, do przeniesienia na inne forum lub do przywrócenia po czystej instalacji forum.

Expand Down
6 changes: 3 additions & 3 deletions docs/src/pl/blocks/manage.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ Dla każdego bloku wyświetlana jest jego ikona, notatka lub tytuł, typ, obszar

Dla każdej strony dostępne są następujące działania:

- Zmień priorytet - wewnątrz każdego panelu możesz ustawić kolejność bloków
- Zmień priorytet, wewnątrz każdego panelu możesz ustawić kolejność bloków
- Przełącz status (włącz lub wyłączone)
- Klonuj - tworzenie nowego bloku, który kopiuje bieżący
- Edytuj - zmień ustawienia określonego bloku
- Klonuj, tworzenie nowego bloku, który kopiuje bieżący
- Edytuj, zmień ustawienia określonego bloku
- Usuń
2 changes: 1 addition & 1 deletion docs/src/pl/examples.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Przykłady witryny
description: Informacje o witrynach korzystających z wtyczki Light Portal
description: Informacje o witrynach korzystających ze wtyczki Light Portal
layout: page
subtitle: Strony korzystające z Light Portal
lead: Jeśli chcesz dodać swoją witrynę do tej listy, po prostu wyślij mi wiadomość za pośrednictwem obszaru <em>Administrator -> Portal -> Ustawienia -> Opinie</em> na swoim forum.
Expand Down
Loading

0 comments on commit 4dec466

Please sign in to comment.