aboutsummaryrefslogtreecommitdiff
path: root/mod/ecml/languages/en.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-15 17:07:13 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-15 17:07:13 +0000
commit18d00e176826a353503f889bb8ea157e5228304b (patch)
tree2627deb9fbf4f67d542100445953bed181e6fa00 /mod/ecml/languages/en.php
parent08b4a8007503f580ebe85527124b452de5832dd3 (diff)
downloadelgg-18d00e176826a353503f889bb8ea157e5228304b.tar.gz
elgg-18d00e176826a353503f889bb8ea157e5228304b.tar.bz2
Added granular access for views in ECML.
Added 'usage' on keyword info. Updated docs. git-svn-id: http://code.elgg.org/elgg/trunk@5747 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/ecml/languages/en.php')
-rw-r--r--mod/ecml/languages/en.php43
1 files changed, 40 insertions, 3 deletions
diff --git a/mod/ecml/languages/en.php b/mod/ecml/languages/en.php
index d93c7236a..2d1b873ad 100644
--- a/mod/ecml/languages/en.php
+++ b/mod/ecml/languages/en.php
@@ -13,9 +13,31 @@ $english = array(
'ecml' => 'ECML',
'ecml:help' => 'ECML Help',
- /**
- * Key words
- */
+
+ // views
+ 'ecml:views:annotation_generic_comment' => 'Comments',
+
+ // keywords
+ 'ecml:keywords:desc:entity' => 'Displays a list of any Elgg entity.',
+ 'ecml:keywords:usage:entity' => '[[entity]] supports all options in elgg_get_entities()',
+
+ 'ecml:keywords:desc:view' => 'Displays any Elgg view.',
+ 'ecml:keywords:usage:view' => '[[view src="valid/view" arg1=value1 arg2=value2]]',
+
+ 'ecml:keywords:desc:googlemaps' => 'Embed a Google Map.',
+ 'ecml:keywords:usage:entity' => '[[googlemaps src="URL"]] Use the link code from Google Maps as the src.',
+
+ 'ecml:keywords:desc:slideshare' => 'Embed a Slideshare slide.',
+ 'ecml:keywords:usage:entity' => '[[slideshare id="slideshare_id"]] Use the Wordpress.com embed code, but make sure there are two [s and ]s surrounding it!',
+
+ 'ecml:keywords:desc:vimeo' => 'Embed a Vimeo video.',
+ 'ecml:keywords:usage:videmo' => '[[videmo src="URL"]] Use a standard Vimeo URL as the source.',
+
+ 'ecml:keywords:desc:youtube' => 'Embed a YouTube video.',
+ 'ecml:keywords:usage:entity' => '[[youtube src="URL"]] Use a standard YouTube URL as the source.',
+
+
+ // keyword help
'ecml:keywords_title' => 'Keywords',
'ecml:keywords_instructions' =>
'Keywords are replaced with content when viewed. They must be surrounded by
@@ -36,6 +58,21 @@ $english = array(
<p>Ex: To show a text input with a default value:<br />
[[view: input/text, value=This is a default value]]</p>',
+
+ // admin
+ 'ecml:admin:admin' => 'ECML Permissions',
+ 'ecml:admin:instruction' =>
+
+'ECML allows users you easily embed views, entities, and 3rd party applications into their content
+on your site by using ECML keywords. There are some ECML keywords that you may want to restrict
+in certain areas of your site. To disable a keyword for a section of your site, check the box in the
+grid below.
+',
+
+ 'ecml:admin:permissions_saved' => 'ECML permissions saved.',
+ 'ecml:admin:cannot_save_permissions' => 'Cannot save ECML permissions!',
+
+
);
add_translation('en', $english); \ No newline at end of file