Skip to content

Commit

Permalink
Merge pull request #264 from dragomano/v2.9.2
Browse files Browse the repository at this point in the history
Update to 2.9.2
  • Loading branch information
dragomano authored Feb 6, 2025
2 parents 7f17dc3 + 4dec466 commit c6454a9
Show file tree
Hide file tree
Showing 234 changed files with 2,908 additions and 1,802 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
/configs export-ignore
/docs export-ignore
/resources export-ignore
/tests export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/*.md export-ignore
/build.properties export-ignore
/build.xml export-ignore
/composer.json export-ignore
/composer.lock export-ignore
/eslint.config.js export-ignore
/package.json export-ignore
/pnpm-lock.yaml export-ignore
/rector.php export-ignore
1 change: 1 addition & 0 deletions .github/crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ files:
'/docs/src/fr',
'/docs/src/cs',
'/docs/src/sv',
'/docs/src/sl',
],
},
]
2 changes: 1 addition & 1 deletion .github/workflows/crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

- name: Crowdin Action
if: env.CROWDIN_API_TOKEN != null
uses: crowdin/github-action@v1
uses: crowdin/github-action@v2
with:
upload_sources: true
upload_translations: false
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ src/Themes/default/scripts/light_portal/*
!**/Plugins/**/langs/english.php

*.zip
*.tgz
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
[![](https://img.shields.io/badge/Demo-Forum-brightgreen.svg)](https://demo.dragomano.ru)
[![](https://img.shields.io/badge/Docs-Site-orange.svg)](https://dragomano.github.io/Light-Portal/)

- **Tested on:** 8.1.31, 8.4.1 / MariaDB 11.2.2, PostgreSQL 17.0
- **Languages:** Russian, English, Polish, Spanish, French, Turkish, Ukrainian, German, Italian, Portuguese, Greek, Czech, Danish, Dutch, Norwegian, Swedish, Arabic
- **Tested on:** 8.2.27 / MariaDB 11.2.2
- **Translations:** Russian, Polish, Spanish, French, Turkish, Ukrainian, German, Italian, Portuguese, Greek, Czech, Danish, Dutch, Norwegian, Swedish, Arabic, Slovenian

## Description ([обзор на русском](https://dragomano.ru/mods/light-portal))

Expand Down
23 changes: 9 additions & 14 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,15 @@
</if>
</target>
<target name="standard_edition" depends="update_version">
<delete file="light_portal_${release.version}.zip" quiet="true" />
<zip destfile="light_portal_${release.version}.zip">
<delete file="light_portal_${release.version}.tgz" quiet="true" />
<tar destfile="light_portal_${release.version}.tgz" compression="gzip">
<fileset dir=".">
<include name="LICENSE" />
</fileset>
<fileset dir="./src">
<include name="Themes/**" />
<exclude name="**/.idea/**" />
<exclude name="Themes/default/css/light_portal/plugins.css" />
<exclude name="Themes/default/scripts/light_portal/dev/**" />
<exclude name="Themes/default/scripts/light_portal/app*" />
<exclude name="Themes/default/scripts/light_portal/plugins.js" />
<include name="Sources/**" />
<exclude name="Sources/index.php" />
Expand Down Expand Up @@ -75,11 +73,11 @@
<include name="package-info.xml" />
<include name="*.php" />
</fileset>
</zip>
</tar>
</target>
<target name="dev_edition" depends="update_version">
<delete file="light_portal_${release.version}_dev_edition.zip" quiet="true" />
<zip destfile="light_portal_${release.version}_dev_edition.zip">
<delete file="light_portal_${release.version}_dev_edition.tgz" quiet="true" />
<tar destfile="light_portal_${release.version}_dev_edition.tgz" compression="gzip">
<fileset dir=".">
<include name="LICENSE" />
</fileset>
Expand All @@ -88,7 +86,6 @@
<exclude name="Themes/default/languages/**" />
<exclude name="**/.idea/**" />
<exclude name="Themes/default/css/light_portal/plugins.css" />
<exclude name="Themes/default/scripts/light_portal/app*" />
<exclude name="Themes/default/scripts/light_portal/plugins.js" />
<include name="Sources/**" />
<exclude name="Sources/index.php" />
Expand All @@ -112,11 +109,11 @@
<include name="Sources/LightPortal/Plugins/*/langs/english.php" />
<include name="Sources/LightPortal/Plugins/*/langs/index.php" />
</fileset>
</zip>
</tar>
</target>
<target name="geek_edition" depends="update_version">
<delete file="light_portal_${release.version}_geek_edition.zip" quiet="true" />
<zip destfile="light_portal_${release.version}_geek_edition.zip">
<delete file="light_portal_${release.version}_geek_edition.tgz" quiet="true" />
<tar destfile="light_portal_${release.version}_geek_edition.tgz" compression="gzip">
<fileset dir=".">
<include name="LICENSE" />
</fileset>
Expand All @@ -125,8 +122,6 @@
<exclude name="Themes/default/languages/**" />
<exclude name="**/.idea/**" />
<exclude name="Themes/default/css/light_portal/plugins.css" />
<exclude name="Themes/default/scripts/light_portal/dev/**" />
<exclude name="Themes/default/scripts/light_portal/app*" />
<exclude name="Themes/default/scripts/light_portal/plugins.js" />
<include name="Sources/**" />
<exclude name="Sources/index.php" />
Expand All @@ -145,6 +140,6 @@
<fileset dir="./src">
<include name="Sources/LightPortal/Plugins/*.php" />
</fileset>
</zip>
</tar>
</target>
</project>
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
"ext-dom": "*"
},
"require-dev": {
"rector/rector": "^2.0",
"phing/phing": "3.*"
"pear/archive_tar": "^1.5",
"phing/phing": "3.*",
"rector/rector": "^2.0"
},
"config": {
"platform": {
Expand Down
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
Loading

0 comments on commit c6454a9

Please sign in to comment.