lightnet 3.4.2 → 3.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# lightnet
|
|
2
2
|
|
|
3
|
+
## 3.4.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#259](https://github.com/LightNetDev/LightNet/pull/259) [`7e61913`](https://github.com/LightNetDev/LightNet/commit/7e61913cf49863807c25cfdb379a878e47642b03) Thanks [@smn-cds](https://github.com/smn-cds)! - Change language selector icon from "scripts" to "web" icon.
|
|
8
|
+
|
|
9
|
+
- [#259](https://github.com/LightNetDev/LightNet/pull/259) [`7e61913`](https://github.com/LightNetDev/LightNet/commit/7e61913cf49863807c25cfdb379a878e47642b03) Thanks [@smn-cds](https://github.com/smn-cds)! - Change icon of share button, make it consistent with open button.
|
|
10
|
+
|
|
3
11
|
## 3.4.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
# LightNet
|
|
2
2
|
|
|
3
|
-
Share the message of Jesus and strengthen believers worldwide.
|
|
3
|
+
Share the message of Jesus and strengthen believers worldwide.
|
|
4
4
|
|
|
5
|
-
LightNet
|
|
5
|
+
LightNet empowers ministries to run their own digital media libraries. They can easily share content in the heart language of the communities they serve - including videos, audio, images, and documents.
|
|
6
|
+
|
|
7
|
+
It is built as an integration for the [Astro framework](https://astro.build), enabling the creation of statically generated sites that can be hosted on any file server. These sites are fast, easily extendable, and fully support internationalization.
|
|
6
8
|
|
|
7
9
|
## Documentation
|
|
8
10
|
|
package/package.json
CHANGED
|
@@ -27,7 +27,7 @@ function currentPathWithLocale(locale: string) {
|
|
|
27
27
|
|
|
28
28
|
{
|
|
29
29
|
translations.length > 1 && (
|
|
30
|
-
<Menu icon="mdi--
|
|
30
|
+
<Menu icon="mdi--web" label="ln.header.select-language">
|
|
31
31
|
{translations.map(({ label, locale, active, href }) => (
|
|
32
32
|
<MenuItem href={href} hreflang={locale} active={active}>
|
|
33
33
|
{label}
|
|
@@ -18,11 +18,6 @@ const content = createContentMetadata(item.data.content[0])
|
|
|
18
18
|
target={content.target}
|
|
19
19
|
hreflang={item.data.language}
|
|
20
20
|
>
|
|
21
|
-
{
|
|
22
|
-
content.canBeOpened
|
|
23
|
-
? Astro.locals.i18n.t(openActionLabel)
|
|
24
|
-
: Astro.locals.i18n.t("ln.details.download")
|
|
25
|
-
}
|
|
26
21
|
{
|
|
27
22
|
content.isExternal && (
|
|
28
23
|
<Icon
|
|
@@ -31,4 +26,9 @@ const content = createContentMetadata(item.data.content[0])
|
|
|
31
26
|
/>
|
|
32
27
|
)
|
|
33
28
|
}
|
|
29
|
+
{
|
|
30
|
+
content.canBeOpened
|
|
31
|
+
? Astro.locals.i18n.t(openActionLabel)
|
|
32
|
+
: Astro.locals.i18n.t("ln.details.download")
|
|
33
|
+
}
|
|
34
34
|
</a>
|
|
@@ -10,7 +10,7 @@ interface Props {
|
|
|
10
10
|
class="flex cursor-pointer items-center justify-center gap-2 rounded-2xl bg-gray-200 px-6 py-3 font-bold uppercase text-gray-600 shadow-sm hover:bg-gray-300"
|
|
11
11
|
class:list={[Astro.props.className]}
|
|
12
12
|
id="share-btn"
|
|
13
|
-
><Icon className="mdi--share
|
|
13
|
+
><Icon className="mdi--share" ariaLabel="" />
|
|
14
14
|
{Astro.locals.i18n.t("ln.details.share")}</button
|
|
15
15
|
>
|
|
16
16
|
<div
|