1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 01:54:12 +02:00

Issue #6 Language-file standards. Wrap definitions in double-quotes.

This commit is contained in:
Cameron
2015-07-07 17:43:49 -07:00
parent 483d43a829
commit 6b5d95388f
58 changed files with 1184 additions and 1208 deletions

View File

@@ -43,78 +43,71 @@ define("LWLAN_29", "Same format as menu visibility control. One match per line.
//define("LWLAN_30", "Save options");
define("LWLAN_31", "Add/edit linkword");
//define("LWLAN_32", "Linkword Options");
define("LWLAN_33", 'Title areas');
define("LWLAN_34", 'Item summaries');
define("LWLAN_35", 'Body text');
define("LWLAN_36", 'Descriptions (links etc)');
//define("LWLAN_37", 'Legacy areas');
//define("LWLAN_38", 'Clickable links');
//define("LWLAN_39", 'Unprocessed text');
define("LWLAN_40", 'User-entered titles (e.g. forum)');
define("LWLAN_41", 'User-entered body text (e.g. forum)');
define("LWLAN_33", "Title areas");
define("LWLAN_34", "Item summaries");
define("LWLAN_35", "Body text");
define("LWLAN_36", "Descriptions (links etc)");
//define("LWLAN_37", "Legacy areas");
//define("LWLAN_38", "Clickable links");
//define("LWLAN_39", "Unprocessed text");
define("LWLAN_40", "User-entered titles (e.g. forum)");
define("LWLAN_41", "User-entered body text (e.g. forum)");
// Reserve numbers for further context strings
define('LWLAN_42', '');
define('LWLAN_43', '');
define('LWLAN_44', '');
define('LWLAN_45', '');
define('LWLAN_46', '');
define('LWLAN_47', '');
define('LWLAN_48', '');
define('LWLAN_49', '');
define('LWLAN_50', 'Tooltip');
define('LWLAN_51', 'Inactive');
define('LWLAN_52', 'Linkword only');
define('LWLAN_53', 'Tooltip only');
define('LWLAN_54', 'Linkword and Tooltip');
define('LWLAN_55', 'Open link in new window');
define('LWLAN_56', 'Open in new page');
//define('LWLAN_57', 'Error writing new values');
define('LWLAN_58', 'Pref hook converted to 0.8 format'); // Used in 0.7-compatible stub only
define('LWLAN_59', 'Enable Ajax functionality');
define('LWLAN_60', 'LW ID');
//define('LWLAN_61', 'ID');
define('LWLAN_62', 'Tooltip ID (LW ID)');
define('LWLAN_63', 'Positive integers only');
define('LWLAN_64', 'Suppress link on current page');
define('LWLAN_65', 'When checked, suppresses clickable link if points to current page');
define("LWLAN_50", "Tooltip");
define("LWLAN_51", "Inactive");
define("LWLAN_52", "Linkword only");
define("LWLAN_53", "Tooltip only");
define("LWLAN_54", "Linkword and Tooltip");
define("LWLAN_55", "Open link in new window");
define("LWLAN_56", "Open in new page");
//define("LWLAN_57", "Error writing new values");
define("LWLAN_58", "Pref hook converted to 0.8 format"); // Used in 0.7-compatible stub only
define("LWLAN_59", "Enable Ajax functionality");
define("LWLAN_60", "LW ID");
//define("LWLAN_61", "ID");
define("LWLAN_62", "Tooltip ID (LW ID)");
define("LWLAN_63", "Positive integers only");
define("LWLAN_64", "Suppress link on current page");
define("LWLAN_65", "When checked, suppresses clickable link if points to current page");
// Installation-related
//define('LWLANINS_1', 'Linkwords');
//define('LWLANINS_2', 'This plugin links specified words with a defined link and/or tooltip');
//define('LWLANINS_3', 'Configure LinkWords');
//define('LWLANINS_4', 'To configure please click on the link in the plugins section of the admin front page');
//define('LWLANINS_5', 'Upgrade complete');
//define("LWLANINS_1", "Linkwords");
//define("LWLANINS_2", "This plugin links specified words with a defined link and/or tooltip");
//define("LWLANINS_3", "Configure LinkWords");
//define("LWLANINS_4", "To configure please click on the link in the plugins section of the admin front page");
//define("LWLANINS_5", "Upgrade complete");
// Help text
define('LAN_LW_HELP_00','Linkwords Help');
define('LAN_LW_HELP_01','
define("LAN_LW_HELP_00","Linkwords Help");
define("LAN_LW_HELP_01","
<b>Areas to enable</b><br />
many areas of text have an associated \'context\', and linkwords will only be displayed in areas matching that context.<br /><br />
many areas of text have an associated \"context\", and linkwords will only be displayed in areas matching that context.<br /><br />
<b>Linkwords Disable</b><br />
Linkwords may be disabled on specific pages, or pages matching a pattern. Enter these here (same syntax as for menus), one pattern per line.
If the pattern ends in \'!\', this corresponds to \'end of query\', and is usually an exact match. Otherwise any URL containing the specified string will match.<br />
If the pattern ends in \"!\", this corresponds to \"end of query\", and is usually an exact match. Otherwise any URL containing the specified string will match.<br />
Note that linkwords are <i>never</i> displayed on admin pages.<br /><br />
<b>Enable Ajax Functionality</b><br />
The tooltips can use Ajax to get information for display. This usually requires some custom coding.<br /><br />
<b>Suppress link on current page</b><br />
Usually its pointless for the user to be able to click a link if they\'re already on the page. Tick this box to remove the option,<br />
');
define('LAN_LW_HELP_02','Define the words which become clickable links, or which display text on mouseover, here<br /><br />
Usually its pointless for the user to be able to click a link if they\"re already on the page. Tick this box to remove the option,<br />
");
define("LAN_LW_HELP_02","Define the words which become clickable links, or which display text on mouseover, here<br /><br />
<b><u>Word to Link</u></b><br />
This is case-insensitive. For multiple words mapping to the same links and tooltips, separate them with commas (no spaces)<br /><br />
<b><u>Link</u></b><br />
Define a clickable link here. If its an external link, it [i]must[/i] begin \'http://\'. If its a link within this site, the normal {e_XXX} constants may be used.<br /><br />
Define a clickable link here. If its an external link, it [i]must[/i] begin \"http://\". If its a link within this site, the normal {e_XXX} constants may be used.<br /><br />
<b><u>Tooltip</u></b><br />
This defines the text to be displayed when the user\'s mouse passes over the word.<br /><br />
This defines the text to be displayed when the user\"s mouse passes over the word.<br /><br />
<b><u>LW ID (Tooltip ID)</u></b><br /><br />
This defines an optional numeric ID to be used with Ajax processing. If blank, the database record number is used.<br /><br />
<b><u>Activate?</u></b><br />
Defines which options are active.
');
");

View File

@@ -2,12 +2,12 @@
// Admin log related
define('LAN_AL_LINKWD_00', 'Linkword-related message');
define('LAN_AL_LINKWD_01', 'Linkword Added');
define('LAN_AL_LINKWD_02', 'Linkword Edited');
define('LAN_AL_LINKWD_03', 'Linkword deleted');
define('LAN_AL_LINKWD_04', 'Linkword options updated');
define('LAN_AL_LINKWD_05', 'Linkwords version update'); // Used in 0.7-compatible stub only
define('LAN_AL_LINKWD_06', '');
define("LAN_AL_LINKWD_00", "Linkword-related message");
define("LAN_AL_LINKWD_01", "Linkword Added");
define("LAN_AL_LINKWD_02", "Linkword Edited");
define("LAN_AL_LINKWD_03", "Linkword deleted");
define("LAN_AL_LINKWD_04", "Linkword options updated");
define("LAN_AL_LINKWD_05", "Linkwords version update"); // Used in 0.7-compatible stub only
?>