1<?php
2/*
3 * e107 website system
4 *
5 * Copyright (C) 2008-2017 e107 Inc (e107.org)
6 * Released under the terms and conditions of the
7 * GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
8 *
9 */
10// define("LAN_PLUGIN_DOWNLOAD_NAME",	   "Downloads");
11define("LAN_DL_OPTIONS",               "Options"); //FIXME Use Generic
12define("LAN_DL_DOWNLOAD_OPT_GENERAL",  "General");
13define("LAN_DL_DOWNLOAD_OPT_BROKEN",   "Reporting");
14define("LAN_DL_DOWNLOAD_OPT_AGREE",    "Agreements");
15define("LAN_DL_DOWNLOAD_OPT_SECURITY", "Protection");
16define("LAN_DL_UPLOAD",                "Upload"); //FIXME Use Generic
17define("LAN_DL_USE_PHP",               "Use PHP");
18define("LAN_DL_USE_PHP_INFO",          "Checking this will send all download requests through PHP");
19define("LAN_DL_SUBSUB_CAT",            "Show sub-sub-categories");
20define("LAN_DL_SUBSUB_CAT_INFO",       "Checking this will show the sub-sub-categories on the main download page");
21define("LAN_DL_SUBSUB_COUNT",          "Combine category counts");
22define("LAN_DL_SUBSUB_COUNT_INFO",     "Include sub-sub-category counts in sub-category counts");
23define("LAN_DL_BROKENDOWNLOADSREPORTS", "Broken downloads reports");
24
25define("DOWLAN_1",   "Download added to database.");
26define("DOWLAN_2",   "Download updated in database.");
27// define("DOWLAN_3",   "Download deleted.");
28// define("DOWLAN_4",   "Please tick the confirm box to delete the download");
29define("DOWLAN_5",   "There are no download categories defined yet, until you define some you cannot enter any downloads.");
30// define("DOWLAN_6",   "No existing downloads");
31// define("DOWLAN_7",   "Existing Downloads"); //FIXME Use Generic
32define("DOWLAN_8",   "Nothing changed - not saved");
33define("DOWLAN_9",   "Download detail:");
34define("DOWLAN_10",  "Uploads"); //FIXME Use Generic
35define("DOWLAN_11",  "Category"); //FIXME Use Generic
36define("DOWLAN_12",  "Name"); //FIXME Use Generic
37define("DOWLAN_13",  "File");
38// define("DOWLAN_14",  "Enter address if download is an external file");
39define("DOWLAN_15",  "Author"); //FIXME Use Generic
40define("DOWLAN_16",  "Author Email"); //FIXME Use Generic
41define("DOWLAN_17",  "Author Website");
42define("DOWLAN_18",  "Description"); //FIXME Use Generic
43define("DOWLAN_19",  "Main image");
44define("DOWLAN_20",  "Thumbnail image");
45define("DOWLAN_21",  "Status"); //FIXME Use Generic
46define("DOWLAN_22",  "List uploads");
47define("DOWLAN_23",  "File types");
48define("DOWLAN_24",  "Update Download");
49define("DOWLAN_25",  "Submit Download");
50// define("DOWLAN_26",  "Uploads enabled?");
51define("DOWLAN_27",  "Download");
52//define("DOWLAN_28",  "None");//LAN_NONE
53define("DOWLAN_29", "Requested");
54define("DOWLAN_31",  "Categories");
55define("DOWLAN_32",  "Downloads");
56define("DOWLAN_33",  "Are you sure you want to delete this download?"); //FIXME Use Generic
57// define("DOWLAN_34",  "Are you sure you want to delete this download category?"); //FIXME Use Generic
58// define("DOWLAN_35",  "Maximum file size");
59// define("DOWLAN_36",  "deleted"); //FIXME Use Generic
60// define("DOWLAN_37",  "Parent");
61// define("DOWLAN_38",  "No existing categories");
62// define("DOWLAN_39",  "Download categories");
63// define("DOWLAN_40",  "None - main parent");
64// define("DOWLAN_41",  "Icon"); //FIXME Use Generic
65define("DOWLAN_42",  "View Images");
66define("DOWLAN_43",  "Visible to");
67// define("DOWLAN_44",  "Selection will make the category visible to only users in that class");
68// define("DOWLAN_45",  "Create Category"); //FIXME Use Generic
69// define("DOWLAN_46",  "Update Category"); //FIXME Use Generic
70// define("DOWLAN_47",  "Category created"); //FIXME Use Generic
71// define("DOWLAN_48",  "Category Updated"); //FIXME Use Generic
72// define("DOWLAN_49",  "Download Category"); //FIXME Use Generic
73// define("DOWLAN_50",  "Download Category"); //FIXME Use Generic
74// define("DOWLAN_51",  "No public uploads will be permitted if disabled");
75// define("DOWLAN_52",  "Files");
76// define("DOWLAN_53",  "Subcategory");
77// define("DOWLAN_54",  "Subcategories");
78define("DOWLAN_55",  "Number of downloads to display per page");
79define("DOWLAN_56",  "Sort by ");
80// define("DOWLAN_57",  "Clear filters");
81// define("DOWLAN_58",  "Absolute maximum upload size in bytes. Further limited by settings from php.ini, and by the settings in filetypes.xml (upload_max_filesize = %1, post_max_size = %2)");
82define("DOWLAN_59",  "Filename");
83// define("DOWLAN_60",  "Select to allow only certain users to upload");
84// define("DOWLAN_61",  "Permissions");
85define("DOWLAN_62",  "Ascending");
86define("DOWLAN_63",  "Descending");
87define("DOWLAN_64",  "Update Options");
88define("DOWLAN_65",  "Options Updated");
89define("DOWLAN_66",  "Filesize");
90//define("DOWLAN_67",  "ID"); //FIXME Use Generic // LAN_ID
91define("DOWLAN_68",  "File Missing!");
92// define("DOWLAN_69",  "Downloads handled by PHP");
93// define("DOWLAN_70",  "Checking this will send all download requests through PHP.");
94// define("DOWLAN_71",  "This page helps you create a file for managing file upload permissions. The file is saved as ../e107_files/temp/filetypes_.xml, and must be copied to ../e107_admin/filetypes.xml before it takes effect.");
95// define("DOWLAN_72",  "Source for values: ");
96// define("DOWLAN_73",  "Userclass"); //FIXME Use Generic
97// define("DOWLAN_74",  "File extensions");
98// define("DOWLAN_75",  "Max upload size");
99// define("DOWLAN_76",  "Delete"); //FIXME Use Generic
100// define("DOWLAN_77",  "Save and generate file");
101// define("DOWLAN_78",  "Date");
102// define("DOWLAN_79",  "Uploader");
103// define("DOWLAN_80",  "There");
104// define("DOWLAN_81",  "is");
105// define("DOWLAN_82",  "are");
106// define("DOWLAN_83",  "unmoderated public download");
107// define("DOWLAN_84",  "unmoderated public downloads");
108// define("DOWLAN_85",  "This page helps you create a file for managing file upload permissions. The file is saved as <strong>--SOURCE--</strong>, and must be copied to <strong>--DEST--</strong>  before it takes effect.");
109// define("DOWLAN_86",  "Settings written to ");
110// define("DOWLAN_87",  "Now move this file to ");
111// define("DOWLAN_88",  "Error writing file: ");
112// define("DOWLAN_90",  "Add new entry");
113// define("DOWLAN_91",  "Copy to download manager");
114define("DOWLAN_100", "Activate Download Agreement");
115define("DOWLAN_101", "Agreement Text");
116define("DOWLAN_102", "Allow Comments?");
117define("DOWLAN_103", "Remove from Uploads");
118define("DOWLAN_104", "was removed from public uploads");
119define("DOWLAN_105", "Back to Public Uploads");
120define("DOWLAN_106", "May be download by");
121define("DOWLAN_107", "Limit download count");
122define("DOWLAN_108", "Limit download bandwidth");
123define("DOWLAN_109", "every");
124define("DOWLAN_110", "days");
125define("DOWLAN_111", "kb"); //FIXME Use Generic
126define("DOWLAN_112", "Limits");
127define("DOWLAN_113", "Userclass"); //FIXME Use Generic
128define("DOWLAN_114", "Add New Limit");
129define("DOWLAN_115", "Update limits");
130// define("DOWLAN_116", "Limit for that userclass already exists");
131// define("DOWLAN_117", "Limit successfully added");
132// define("DOWLAN_118", "Limit not added - unknown error");
133// define("DOWLAN_119", "Limit successfully removed");
134// define("DOWLAN_120", "Limit not removed - unknown error");
135// define("DOWLAN_121", "Limit successfully updated");
136define("DOWLAN_122", "Inactive");
137define("DOWLAN_123", "Active - File is subject to download limits");
138define("DOWLAN_124", "Active - File is NOT subject to download limits");
139define("DOWLAN_125", "Download limits active");
140// define("DOWLAN_126", "Activation status updated");
141// define("DOWLAN_127", "Only enter filesize if the download is an external file"); // TODO not used?
142define("DOWLAN_128", "Mirrors");
143define("DOWLAN_129", "leave blank if not using mirrors");
144define("DOWLAN_130", "Add another mirror");
145define("DOWLAN_131", "Select local file");
146define("DOWLAN_132", "Please enter mirror to use, then address to download and filesize");
147define("DOWLAN_133", "Mirror updated in database");
148define("DOWLAN_134", "Mirror saved in database");
149define("DOWLAN_135", "Mirror deleted");
150define("DOWLAN_136", "image");
151define("DOWLAN_137", "Are you sure you want to delete this mirror?");
152define("DOWLAN_138", "Existing Mirrors");
153define("DOWLAN_139", "Address");
154define("DOWLAN_140", "Upload local images to e107_files/downloadimages to show them here, or enter full address if image is remote");
155define("DOWLAN_141", "Location");
156define("DOWLAN_142", "Update Mirror");
157define("DOWLAN_143", "Create Mirror");
158define("DOWLAN_144", "No mirrors defined in mirror section.");
159define("DOWLAN_145", "Download visible to");
160define("DOWLAN_146", "Custom Download-denial message or URL");
161// define("DOWLAN_147", "Icon for empty category");
162define("DOWLAN_148", "Check to update date stamp to current time");
163define("DOWLAN_149", "URL"); //FIXME Use Generic
164//define("DOWLAN_150", "Email admin when broken download reported");
165define("DOWLAN_151", "Broken-download reporting available to");
166define("DOWLAN_152", "Couldn't move file");
167define("DOWLAN_153", "Move file into download folder");
168define("DOWLAN_154", "if using mirrors, select how they will be displayed");
169define("DOWLAN_155", "Mirror display type:");
170define("DOWLAN_156", "show mirror list, allow user to choose mirror");
171define("DOWLAN_157", "use random mirror - no user choice");
172// define("DOWLAN_158", "Show sub-sub-categories on main download page");
173// define("DOWLAN_159", "Include sub-sub-category counts in subcategory counts");
174define("DOWLAN_160", "Mirror list order");
175define("DOWLAN_161", "Random");
176// define("DOWLAN_162", "Copy to newspost");
177
178define("DOWLAN_164", "Recent downloads age (in days)");
179define("DOWLAN_165", "Download Maintenance");
180define("DOWLAN_166", "Duplicates");
181define("DOWLAN_167", "Orphans");
182define("DOWLAN_168", "Missing");
183define("DOWLAN_169", "Inactive");
184
185define("DOWLAN_171", "Log");
186define("DOWLAN_172", "No entries");
187define("DOWLAN_173", "Are you sure you want to delete this file?");
188define("DOWLAN_174", "No orphaned files found");
189define("DOWLAN_175", "Local");
190define("DOWLAN_176", "External");
191// define("DOWLAN_177", "Maintenance options");
192define("DOWLAN_178", "No category");
193define("DOWLAN_179", "Select an option from the Maintenance Options menu");
194define("DOWLAN_180", "File size (database/disk)");
195define("DOWLAN_181", "Not readable");
196define("DOWLAN_182", "Timestamp");
197// define("DOWLAN_183", "Advanced search");
198// define("DOWLAN_184", "");
199define("DOWLAN_185", "Files referenced multiple times in the database");
200define("DOWLAN_186", "Files not referenced in the database");
201define("DOWLAN_187", "Database entries referencing non-existent files");
202define("DOWLAN_188", "Database entries marked as inactive");
203define("DOWLAN_189", "Database entires not associated with a category");
204define("DOWLAN_190", "Size differences between database entry and the file itself");
205define("DOWLAN_191", "Downloads log entries");
206define("DOWLAN_192", "Execute selected option");
207define("DOWLAN_193", "Select option");
208// define("DOWLAN_194", "Search"); //FIXME Use Generic
209define("DOWLAN_195", "Mirror type");
210define("DOWLAN_196", "list"); //FIXME Use Generic
211define("DOWLAN_197", "random");
212// define("DOWLAN_198", "Filter"); //FIXME Use Generic
213define("DOWLAN_199", "Submitted by");
214
215// define('DOWLAN_FP_01', 'Front page');
216// define('DOWLAN_FP_02', 'Category list');
217
218
219define("DOWLAN_HELP_1", "Help");
220define("DOWLAN_HELP_2", "<p>Create/edit a download.</p><p>Enter only one of: File, URL or Mirror.</p><p>Ensure you select a category, otherwise your download will not be visible on the downloads page.</p>");
221define("DOWLAN_HELP_3", "Help for cat");
222define("DOWLAN_HELP_4", "Help for opt");
223define("DOWLAN_HELP_5", "Use the maintenance pages to find duplicate downloads, find orphaned files, find missing (broken) entries, manage inactive downloads, refresh file sizes and view the downlaod log.");
224define("DOWLAN_HELP_6", "Help for limits");
225define("DOWLAN_HELP_7", "Help for mirror");
226define("DOWLAN_HELP_8", "Help for upload list");
227define("DOWLAN_HELP_9", "Help for upload types");
228define("DOWLAN_HELP_10", "Help for upload options");
229
230define("DOWLAN_HELP_11", "Click the 'delete' button to delete the report.[br][br]Click the 'view' button to manage the download.[br][br]To be notified of any new reports, please see to the [notify settings].");
231
232// define("DOWLAN_INSTALL_DONE", "Your download plugin is now installed");
233// define("DOWLAN_DESCRIPTION", "This plugin is a fully featured Download system");
234// define("DOWLAN_CAPTION", "Configure Download");
235
236define("LAN_DL_SECURITY_DESCRIPTION", "Downloads can make use of server-side URL protection features to prevent hotlinking and/or enforce link expiry. " .
237	"This section should be configured before the download server is configured to reduce the chance of disruption to downloaders.");
238define("LAN_DL_SECURITY_MODE", "URL protection mode");
239define("LAN_DL_SECURITY_MODE_NONE", "None (Default)");
240define("LAN_DL_SECURITY_MODE_NGINX_SECURELINKMD5", "NGINX secure_link_md5");
241define("LAN_DL_SECURITY_NGINX_SUPPORTED_VARIABLES_TOGGLE", "Click to toggle list of supported NGINX variables");
242define("LAN_DL_SECURITY_NGINX_SECURELINKMD5_EXPRESSION",
243	"<a target='_blank' href='https://nginx.org/en/docs/http/ngx_http_secure_link_module.html#secure_link_md5'>NGINX secure_link_md5 expression</a>");
244define("LAN_DL_SECURITY_NGINX_SECURELINKMD5_EXPRESSION_HELP", "Same expression as configured on the server");
245define("LAN_DL_SECURITY_LINK_EXPIRY", "Duration of validity in seconds");
246define("LAN_DL_SECURITY_LINK_EXPIRY_HELP", "Number of seconds the download link should last after being generated. " .
247	"Only effective if the expression supports expiry time. " .
248    "Defaults to a very long time if this field is left blank.");