Skip to content

Commit 2e01214

Browse files
committed
Translations
1 parent 3850d47 commit 2e01214

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

src/templates/_edit/_sidebar.twig

Lines changed: 1 addition & 1 deletion
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>

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)