Skip to content

Commit e47d042

Browse files
committed
Merge branch 'develop-v5' into v5
2 parents e21030f + 468cdad commit e47d042

File tree

8 files changed

+57
-40
lines changed

8 files changed

+57
-40
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Create Release
2+
run-name: Create release for ${{ github.event.client_payload.version }}
3+
4+
on:
5+
repository_dispatch:
6+
types:
7+
- craftcms/new-release
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
steps:
15+
- uses: ncipollo/release-action@v1
16+
with:
17+
body: ${{ github.event.client_payload.notes }}
18+
makeLatest: ${{ github.event.client_payload.latest }}
19+
name: ${{ github.event.client_payload.version }}
20+
prerelease: ${{ github.event.client_payload.prerelease }}
21+
tag: ${{ github.event.client_payload.tag }}

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## 5.0.1 - 2024-02-14
8+
### Fixed
9+
- Fixed missing Dutch translations
10+
11+
712
## 5.0.0 - 2024-02-10
813
### Added
914
- Finished Craft 5 release

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "studioespresso/craft-navigate",
3-
"description": "Navigation plugin for Craft 3",
3+
"description": "Navigation plugin for Craft CMS",
44
"type": "craft-plugin",
5-
"version": "5.0.0",
5+
"version": "5.0.1",
66
"keywords": [
77
"craft",
88
"cms",
@@ -13,8 +13,8 @@
1313
"menus"
1414
],
1515
"support": {
16-
"docs": "https://github.com/studioespresso/craft3-navigate/blob/master/README.md",
17-
"issues": "https://github.com/studioespresso/craft3-navigate/issues"
16+
"docs": "https://github.com/studioespresso/craft-navigate/blob/v5/README.md",
17+
"issues": "https://github.com/studioespresso/craft-navigate/issues"
1818
},
1919
"license": "proprietary",
2020
"authors": [
@@ -45,7 +45,7 @@
4545
"handle": "navigate",
4646
"hasCpSettings": true,
4747
"hasCpSection": true,
48-
"changelogUrl": "https://raw.githubusercontent.com/studioespresso/craft3-navigate/master/CHANGELOG.md",
48+
"changelogUrl": "https://raw.githubusercontent.com/studioespresso/craft-navigate/v5/CHANGELOG.md",
4949
"components": {
5050
"navigate": "studioespresso\\navigate\\services\\NavigateService",
5151
"nodes": "studioespresso\\navigate\\services\\NodesService"

src/icon.svg

Lines changed: 14 additions & 27 deletions
Loading

src/templates/_edit/_sidebar.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div id="settings" class="meta">
22
<div class="field" id="slug-field">
33
<div class="heading">
4-
<label id="handle-label" for="handle">{{ 'Handle'|t('navigate') }}</label>
4+
<label id="handle-label" for="handle">{{ 'Handle'|t('app') }}</label>
55
</div>
66
<div class="input ltr">
77
<span>{{ navigation.handle }}</span>
@@ -22,7 +22,7 @@
2222
<label id="handle-label" for="handle">{{ "Documentation"|t('navigate') }}</label>
2323
</div>
2424
<div class="input ltr">
25-
<span>{{ "Click <a href='https://github.com/studioespresso/craft-navigate' target='_blank'>here</a> for templating and configuration options"|t('navigate')|raw }}</span>
25+
<span>{{ "Click <a href='https://github.com/studioespresso/craft-navigate' rel='noopener' target='_blank'>here</a> for templating and configuration options"|t('navigate')|raw }}</span>
2626
</div>
2727
</div>
2828
{% endif %}

src/templates/_includes/_node.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<span class="title">{{ node.name }}</span>
2828
{% endif %}
2929
{% elseif node.type == 'Url' %}
30-
<a href="{{ node.url }}" target="_blank">
30+
<a href="{{ node.url }}" rel="noopener" target="_blank">
3131
<span class="title settings" data-id="{{ node.id }}">{{ node.name }}</span>
3232
</a>
3333
<small>{{ node.url }}</small>

src/templates/_index.twig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,20 +41,20 @@
4141
menu: {
4242
showItems: false,
4343
menuBtnTitle: 'Settings'|t('app'),
44-
label: 'Edit settings',
44+
label: 'Edit settings'|t('navigate'),
4545
url: url('navigate/settings/' ~ nav.id)
4646
},
4747
}]) %}
4848
{% endfor %}
4949
{% set actions = [] %}
5050
{% set columns = [
51-
{ name: '__slot:title', title: "Name" },
52-
{ name: '__slot:handle', title: "Handle" },
51+
{ name: '__slot:title', title: "Name"|t('app') },
52+
{ name: '__slot:handle', title: "Handle"|t('app') },
5353
] %}
5454

5555
{% if craft.app.config.general.allowAdminChanges %}
5656
{% set columns = columns|merge([
57-
{ name: '__slot:menu', title: "Settings" }
57+
{ name: '__slot:menu', title: "Settings"|t('app') }
5858
]) %}
5959

6060
{# {% set actions = [#}

src/translations/nl/navigate.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
'URL' => 'Link',
3333
'Classes' => 'Classes',
3434
'Title' => 'Titel',
35+
'Heading' => 'Hoofding',
36+
'Category' => 'Categorie',
37+
'Asset' => 'Bestand',
38+
'Edit settings' => 'Instellingen wijzigen',
3539
'What this navigation will be called in the CP.' => 'Naam van deze navigatie in het CP.',
3640
'Handle' => 'Handle',
3741
'How you’ll refer to this field in the templates.' => 'Naam van deze navigatie in de templates',
@@ -66,5 +70,5 @@
6670
'Enable this navigation for these site groups' => 'Maak deze navigatie beschikbaar voor volgende site groepen',
6771
'...' => '...',
6872
'Documentation' => 'Documentatie',
69-
"Click <a href='https://github.com/studioespresso/craft-navigate' target='_blank'>here</a> for templating and configuration options" => "Klik <a href='https://github.com/studioespresso/craft-navigate' target='_blank'>hier</a> om template en configuratie opties te bekijken",
73+
"Click <a href='https://github.com/studioespresso/craft-navigate' rel='noopener' target='_blank'>here</a> for templating and configuration options" => "Klik <a href='https://github.com/studioespresso/craft-navigate' rel='noopener' target='_blank'>hier</a> om template en configuratie opties te bekijken",
7074
];

0 commit comments

Comments
 (0)