Skip to content

Commit

Permalink
Update translations
Browse files Browse the repository at this point in the history
  • Loading branch information
sampoyigi committed Jul 10, 2018
1 parent 09c975c commit 7656de7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ public function registerComponents()
],
'SamPoyigi\Pages\Components\PageNav' => [
'code' => 'pageNav',
'name' => 'lang:sampoyigi.pages::default.text_component_title',
'description' => 'lang:sampoyigi.pages::default.text_component_desc',
'name' => 'lang:sampoyigi.pages::default.nav.text_component_title',
'description' => 'lang:sampoyigi.pages::default.nav.text_component_desc',
],
];
}
Expand Down
8 changes: 4 additions & 4 deletions components/SitePage.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ public function defineProperties()
{
return [
'slug' => [
'title' => 'rainlab.blog::lang.settings.post_slug',
'description' => 'rainlab.blog::lang.settings.post_slug_description',
'default' => '{{ :slug }}',
'type' => 'string',
'label' => 'sampoyigi.pages::default.label_permalink_slug',
'comment' => 'sampoyigi.pages::default.help_permalink',
'default' => '{{ :slug }}',
'type' => 'text',
],
];
}
Expand Down
7 changes: 6 additions & 1 deletion language/en/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'_text_title' => 'Pages',
'text_tab_general' => 'General',
'text_component_title' => 'Pages Component',
'text_component_desc' => 'Displays a list of pages and links',
'text_component_desc' => 'Displays a page',

'label_heading' => 'Heading',
'text_new_title' => 'Page: New',
Expand Down Expand Up @@ -40,4 +40,9 @@

'help_permalink' => 'Use ONLY alpha-numeric lowercase characters, underscores or dashes and make sure it is unique GLOBALLY.',
'help_navigation' => 'Select where to display a link to this page',

'nav' => [
'text_component_title' => 'Pages Nav Component',
'text_component_desc' => 'Displays a list of pages and links',
],
];

0 comments on commit 7656de7

Please sign in to comment.