Skip to content

Commit

Permalink
Add a menu XML
Browse files Browse the repository at this point in the history
Fixed a typo
  • Loading branch information
roland-d committed Dec 23, 2016
1 parent a2f160d commit 86ce642
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions component/components/com_foo/language/en-GB/en-GB.com_foo.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
;
; Foo language file
;

; Menu options
COM_FOO_FOO="Foo page"
COM_FOO_FOO_DESC_MENU="Show the foo page"
8 changes: 8 additions & 0 deletions component/components/com_foo/views/foo/tmpl/default.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<metadata>
<layout title="COM_FOO_FOO">
<message>
<![CDATA[COM_FOO_FOO_DESC_MENU]]>
</message>
</layout>
</metadata>
2 changes: 1 addition & 1 deletion plugin/language/en-GB/en-GB.plg_system_foo.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
;

PLG_FOO="[PROJECT_NAME]"
PLG_FOO_XML_DESCRIPTION="Foo Module"
PLG_FOO_XML_DESCRIPTION="Foo Plugin"
PLG_FOO_SAMPLE_LABEL="Sample parameter"
PLG_FOO_SAMPLE_DESCRIPTION="Sample description"

0 comments on commit 86ce642

Please sign in to comment.