aboutsummaryrefslogtreecommitdiff
path: root/mod/ecml/languages
diff options
context:
space:
mode:
Diffstat (limited to 'mod/ecml/languages')
-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