aboutsummaryrefslogtreecommitdiff
path: root/mod/ecml/languages
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-13 19:13:36 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-13 19:13:36 +0000
commit444fb4e8a3e5189868b8b12c5fdccc4bef6868fc (patch)
tree2df668e1e079d354006938b2f6a0528b2b22d09b /mod/ecml/languages
parentece80595836be086201629824bceeae05892cd55 (diff)
downloadelgg-444fb4e8a3e5189868b8b12c5fdccc4bef6868fc.tar.gz
elgg-444fb4e8a3e5189868b8b12c5fdccc4bef6868fc.tar.bz2
First version of ecml.
git-svn-id: http://code.elgg.org/elgg/trunk@5722 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/ecml/languages')
-rw-r--r--mod/ecml/languages/en.php41
1 files changed, 41 insertions, 0 deletions
diff --git a/mod/ecml/languages/en.php b/mod/ecml/languages/en.php
new file mode 100644
index 000000000..d93c7236a
--- /dev/null
+++ b/mod/ecml/languages/en.php
@@ -0,0 +1,41 @@
+<?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',
+
+ /**
+ * Key words
+ */
+ 'ecml:keywords_title' => 'Keywords',
+ 'ecml:keywords_instructions' =>
+ 'Keywords are replaced with content when viewed. They must be surrounded by
+ two 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>',
+);
+
+add_translation('en', $english); \ No newline at end of file