1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-26 22:44:25 +02:00

refactor(core): Decouple content and plugins from default package #267

This commit is contained in:
Awilum
2019-11-13 18:30:47 +03:00
parent 2cb9adef3c
commit f1e305c28a
3 changed files with 7 additions and 4 deletions

View File

@@ -99,7 +99,7 @@ class Forms
data-toggle="pill" href="#pills-' . $key . '"
role="tab"
aria-controls="pills-' . $key . '"
aria-selected="' . ($key === 'main' ? 'true' : 'false') . '">' . $section['title'] . '</a>
aria-selected="' . ($key === 'main' ? 'true' : 'false') . '">' . __($section['title']) . '</a>
</li>';
}

View File

@@ -3,7 +3,7 @@ default_field: title
icon: 'far fa-file-alt'
sections:
main:
title: Main
title: admin_main
fields:
title:
title: admin_title
@@ -26,14 +26,14 @@ sections:
type: datetimepicker
size: 4/12
seo:
title: Seo
title: admin_seo
fields:
description:
title: admin_description
type: textarea
size: 12
menu:
title: Menu
title: admin_menu
fields:
menu_item_title:
title: admin_menu_item_title

View File

@@ -261,6 +261,9 @@ admin_published_at: "Published at"
admin_licence: "Licence"
admin_plugin: "Plugin"
admin_icon: "Icon"
admin_menu: "Menu"
admin_seo: "Seo"
admin_main: "Main"
admin_help_text_for_settings_site_title_label: "Title for your site."
admin_help_text_for_settings_site_robots_label: "Robots settings for your site."
admin_help_text_for_settings_site_keywords_label: "Keywords for your site."