aboutsummaryrefslogtreecommitdiff
path: root/mod/ecml/languages/en.php
blob: 2b9b9118b70b89f55a89f96fa37293bcc64d6879 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?php
/**
 * Language definitions for ECML
 *
 * @package ecml
 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
 * @author Curverider Ltd
 * @copyright Curverider Ltd 2008-2010
 * @link http://elgg.org/
 */

$english = array(
	'ecml' => 'ECML',
	'ecml:help' => 'ECML Help',


	// 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.',

	'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
		square brackets ([ and ]).  You can build your own or use the ones listed below.
		Hover over a keyword to read its description.',

	'ecml:keywords_instructions_more' =>
		'
		<p>You can build your own keywords for views and entities.</p>

		<p>[entity: type=type, subtype=subtype, owner=username, limit=number]<br />

		EX: To show 5 blog posts by admin:<br />
		[entity: type=object, subtype=blog, owner=admin, limit=5]</p>

		<p>You can also specify a valid Elgg view:<br />
		[view: elgg_view, name=value]</p>

		<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);