summaryrefslogtreecommitdiff
path: root/platform/www/lib/plugins/textinsert/lang/en
diff options
context:
space:
mode:
Diffstat (limited to 'platform/www/lib/plugins/textinsert/lang/en')
-rw-r--r--platform/www/lib/plugins/textinsert/lang/en/intro.txt16
-rw-r--r--platform/www/lib/plugins/textinsert/lang/en/lang.php31
l---------platform/www/lib/plugins/textinsert/lang/en/macros.php1
-rw-r--r--platform/www/lib/plugins/textinsert/lang/en/settings.php3
4 files changed, 51 insertions, 0 deletions
diff --git a/platform/www/lib/plugins/textinsert/lang/en/intro.txt b/platform/www/lib/plugins/textinsert/lang/en/intro.txt
new file mode 100644
index 0000000..a89d5e5
--- /dev/null
+++ b/platform/www/lib/plugins/textinsert/lang/en/intro.txt
@@ -0,0 +1,16 @@
+This panel enables you to add and delete macros and their replacement texts, and to edit them after they have been saved. A macro name can contain letters, numbers, underscores, hyphens and periods. For example: ''Macro_one.txt''. The replacement texts can accept HTML and can be of any length.
+
+You can add up to six macros at a time. The sixth is a text area which will allow for extended texts.
+Enter the macro name in the **Macro** column and the texts which they represent in the
+**Substitution** column.
+
+
+Deletions are unlimited; check off the box(es) next the macro(s) to be deleted and click
+the **Delete** button at the bottom of the screen. Editing is done through the Edit screen, where you are presented
+with all your macros. You can edit the texts of any number of macros.
+
+
+The macro list will not refresh until after you have submitted your edits, additions, or deletions
+by clicking the appropriate button at the bottom of the screen.
+
+
diff --git a/platform/www/lib/plugins/textinsert/lang/en/lang.php b/platform/www/lib/plugins/textinsert/lang/en/lang.php
new file mode 100644
index 0000000..7a01bc6
--- /dev/null
+++ b/platform/www/lib/plugins/textinsert/lang/en/lang.php
@@ -0,0 +1,31 @@
+<?php
+/**
+ * English language file
+ *
+ * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
+ * @author Myron turner <turnermm02@shaw.ca>
+ */
+
+// for admin plugins, the menu prompt to be displayed in the admin menu
+// if set here, the plugin doesn't need to override the getMenuText() method
+$lang['menu'] = 'TextInsert Macro Replacement Plugin';
+
+$lang['btn_add'] = 'Add';
+$lang['btn_del'] = 'Delete';
+$lang['btn_edit'] = 'Submit Edits';
+
+$lang['label_list'] = "Macro List";
+$lang['label_add'] = "Add Macros";
+$lang['label_del'] = "Delete Macros";
+$lang['label_edit'] = "Edit Macros";
+
+$lang['col_subst'] = 'Macro Substitution';
+$lang['add_macros'] = 'Add Macros';
+$lang['delete_macros'] = 'Delete Macros';
+$lang['edit_macros'] = 'Edit Macros';
+$lang['view_macros'] = 'View Macro List';
+$lang['hide_macros'] = 'Hide Macro List';
+$lang['hide_info'] = 'Close Info';
+$lang['show_info'] = 'Show Info';
+$lang['not_found'] = 'macro was not found in the macros database';
+
diff --git a/platform/www/lib/plugins/textinsert/lang/en/macros.php b/platform/www/lib/plugins/textinsert/lang/en/macros.php
new file mode 120000
index 0000000..21b1645
--- /dev/null
+++ b/platform/www/lib/plugins/textinsert/lang/en/macros.php
@@ -0,0 +1 @@
+../../../../../../i18n/textinsert_strings.php \ No newline at end of file
diff --git a/platform/www/lib/plugins/textinsert/lang/en/settings.php b/platform/www/lib/plugins/textinsert/lang/en/settings.php
new file mode 100644
index 0000000..4083a83
--- /dev/null
+++ b/platform/www/lib/plugins/textinsert/lang/en/settings.php
@@ -0,0 +1,3 @@
+<?php
+$lang['stdreplace'] = 'Accept standard macro replacements as used in namespace templates';
+$lang['farm'] = 'If this is a farm and you and would like each animal to have its own macro database, please select this option; otherwise all animals will share the same (i.e. the farmer\'s) database.';