|
23 | 23 | } |
24 | 24 |
|
25 | 25 | $lang = array_merge($lang, array( |
26 | | - 'COPY_PASTE' => 'Source code', |
27 | | - 'COPY_PASTE_EXPLAIN' => 'Here, you can copy the source and paste it into your preferred editor.', |
28 | | - 'SELECT_CODE' => 'Mark all source code', |
| 26 | + 'PASTEBIN_COPY_PASTE' => 'Source code', |
| 27 | + 'PASTEBIN_COPY_PASTE_EXPLAIN' => 'Here, you can copy the source and paste it into your preferred editor.', |
| 28 | + 'PASTEBIN_SELECT_CODE' => 'Mark all source code', |
29 | 29 |
|
30 | | - 'COLON' => ':', |
31 | | - 'ELLIPSIS' => '…', |
| 30 | + 'PASTEBIN_ELLIPSIS' => '…', |
32 | 31 |
|
33 | | - 'DELETE_SNIPPET' => 'Delete entry', |
34 | | - 'DELETE_SNIPPET_CONFIRM' => 'Do you really want to delete the entry entitled “%s”? This cannot be undone.', |
35 | | - 'DELETE_SNIPPET_EXPLAIN' => 'Deletes the entry from the database. This cannot be undone.', |
36 | | - 'DOWNLOAD_SNIPPET' => 'Download as file', |
37 | | - 'DOWNLOAD_SNIPPET_EXPLAIN' => 'Alternatively, you can %sdownload%s the whole entry as a file.', |
| 32 | + 'PASTEBIN_DELETE_SNIPPET' => 'Delete entry', |
| 33 | + 'PASTEBIN_DELETE_SNIPPET_CONFIRM' => 'Do you really want to delete the entry entitled “%s”? This cannot be undone.', |
| 34 | + 'PASTEBIN_DELETE_SNIPPET_EXPLAIN' => 'Deletes the entry from the database. This cannot be undone.', |
| 35 | + 'PASTEBIN_DOWNLOAD_SNIPPET' => 'Download as file', |
| 36 | + 'PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN' => 'Alternatively, you can %sdownload%s the whole entry as a file.', |
38 | 37 |
|
39 | | - 'DISALLOWED_EXTENSION' => 'The file extension %s is not allowed.', |
| 38 | + 'PASTEBIN_DISALLOWED_EXTENSION' => 'The file extension %s is not allowed.', |
40 | 39 |
|
41 | | - 'ERR_NO_BODY' => 'You did not enter any code or a valid file for upload.', |
42 | | - 'ERR_NO_TITLE' => 'You did not enter a title for your entry.', |
43 | | - 'ERR_NO_DESC' => 'You did not enter a description for your entry.', |
| 40 | + 'PASTEBIN_ERR_NO_BODY' => 'You did not enter any code or a valid file for upload.', |
| 41 | + 'PASTEBIN_ERR_NO_TITLE' => 'You did not enter a title for your entry.', |
| 42 | + 'PASTEBIN_ERR_NO_DESC' => 'You did not enter a description for your entry.', |
44 | 43 |
|
45 | | - 'HIGHLIGHT_LANG' => 'Syntax highlighting', |
| 44 | + 'PASTEBIN_HIGHLIGHT_LANG' => 'Syntax highlighting', |
46 | 45 |
|
47 | | - 'LATEST_SNIPPETS' => 'Last entries', |
| 46 | + 'PASTEBIN_LATEST_SNIPPETS' => 'Last entries', |
48 | 47 |
|
49 | | - 'MODERATE_SNIPPET' => 'Edit entry', |
50 | | - 'MODERATE_SNIPPET_EXPLAIN' => 'Edit or delete entry.', |
| 48 | + 'PASTEBIN_MODERATE_SNIPPET' => 'Edit entry', |
| 49 | + 'PASTEBIN_MODERATE_SNIPPET_EXPLAIN' => 'Edit or delete entry.', |
51 | 50 |
|
52 | | - 'NO_VALID_SNIPPET' => 'You did not select a valid entry.', |
53 | | - 'NO_SNIPPETS' => 'There are currently no entries in the pastebin.', |
| 51 | + 'PASTEBIN_NO_VALID_SNIPPET' => 'You did not select a valid entry.', |
| 52 | + 'PASTEBIN_NO_SNIPPETS' => 'There are currently no entries in the pastebin.', |
54 | 53 |
|
55 | 54 | 'PASTEBIN' => 'Pastebin', |
56 | 55 | 'PASTEBIN_AUTH_NO_VIEW' => 'You are not authorized to view this page.', |
|
79 | 78 | 'PASTEBIN_VIEW' => 'View entry - %s', |
80 | 79 | 'PASTEBIN_WRONG_FILESIZE' => 'The file is too large (Maximum file size is %1d %2s)', |
81 | 80 |
|
82 | | - 'PRUNING_MONTHS' => 'Storage duration', |
83 | | - 'PRUNING_MONTH_SHORT' => 'months', |
84 | | - |
85 | | - 'RETURN_PASTEBIN' => '%sReturn to Pastebin%s', |
86 | | - 'RETURN_SNIPPET' => '%sShow entry%s', |
87 | | - |
88 | | - 'SHORT_PRUNABLE' => 'Prunable', |
89 | | - 'INFINITE' => 'Infinite', |
90 | | - 'SNIPPET_NEW' => 'New entry', |
91 | | - 'SNIPPET_DESC' => 'Description', |
92 | | - 'SNIPPET_DOWNLOAD' => 'Download entry', |
93 | | - 'SNIPPET_HILIT' => 'Show highlighted entry', |
94 | | - 'SNIPPET_HIGHLIGHT' => 'Syntax highlighting', |
95 | | - 'SNIPPET_MODERATED' => 'The entry was sucessfully edited.', |
96 | | - 'SNIPPET_TEXT' => 'Your code', |
97 | | - 'SNIPPET_TITLE' => 'Title', |
98 | | - 'SNIPPET_CREATION_TIME' => 'Entry created on', |
99 | | - 'SNIPPET_PRUNE_TIME' => 'Entry will be automatically deleted', |
100 | | - 'SNIPPET_PLAIN' => 'Show simple entry.', |
101 | | - 'SNIPPET_PRUNABLE' => 'Entry prunable', |
102 | | - 'SNIPPET_PRUNABLE_EXPLAIN' => 'If this option is disabled, the entry will not be entered in the monthly list of prunable entries.', |
103 | | - 'SNIPPET_SUBMITTED' => 'Your entry was sucessfully created.', |
| 81 | + 'PASTEBIN_PRUNING_MONTHS' => 'Storage duration', |
| 82 | + 'PASTEBIN_PRUNING_MONTH_SHORT' => 'months', |
| 83 | + |
| 84 | + 'PASTEBIN_RETURN_PASTEBIN' => '%sReturn to Pastebin%s', |
| 85 | + 'PASTEBIN_RETURN_SNIPPET' => '%sShow entry%s', |
| 86 | + |
| 87 | + 'PASTEBIN_SHORT_PRUNABLE' => 'Prunable', |
| 88 | + 'PASTEBIN_INFINITE' => 'Infinite', |
| 89 | + 'PASTEBIN_SNIPPET_NEW' => 'New entry', |
| 90 | + 'PASTEBIN_SNIPPET_DESC' => 'Description', |
| 91 | + 'PASTEBIN_SNIPPET_DOWNLOAD' => 'Download entry', |
| 92 | + 'PASTEBIN_SNIPPET_HILIT' => 'Show highlighted entry', |
| 93 | + 'PASTEBIN_SNIPPET_HIGHLIGHT' => 'Syntax highlighting', |
| 94 | + 'PASTEBIN_SNIPPET_MODERATED' => 'The entry was sucessfully edited.', |
| 95 | + 'PASTEBIN_SNIPPET_TEXT' => 'Your code', |
| 96 | + 'PASTEBIN_SNIPPET_TITLE' => 'Title', |
| 97 | + 'PASTEBIN_SNIPPET_CREATION_TIME' => 'Entry created on', |
| 98 | + 'PASTEBIN_SNIPPET_PRUNE_TIME' => 'Entry will be automatically deleted', |
| 99 | + 'PASTEBIN_SNIPPET_PLAIN' => 'Show simple entry.', |
| 100 | + 'PASTEBIN_SNIPPET_PRUNABLE' => 'Entry prunable', |
| 101 | + 'PASTEBIN_SNIPPET_PRUNABLE_EXPLAIN' => 'If this option is disabled, the entry will not be entered in the monthly list of prunable entries.', |
| 102 | + 'PASTEBIN_SNIPPET_SUBMITTED' => 'Your entry was sucessfully created.', |
104 | 103 | )); |
105 | 104 |
|
106 | 105 | // these are used by geshi |
107 | | -$lang['PASTEBIN_LANGUAGES'] = array( |
108 | | - 'text' => 'Text', |
109 | | - 'php' => 'PHP', |
110 | | - 'sql' => 'SQL', |
111 | | - 'html4strict' => 'HTML', |
112 | | - 'css' => 'CSS', |
113 | | - 'javascript' => 'Javascript', |
114 | | -// 'java' => 'Java', |
115 | | - 'xml' => 'XML', |
116 | | -// 'asp' => 'ASP', |
117 | | -// 'c' => 'C', |
118 | | -// 'cpp' => 'C++', |
119 | | -// 'csharp' => 'C#', |
120 | | - 'perl' => 'Perl', |
121 | | -// 'vb' => 'Visual Basic', |
122 | | - 'diff' => 'Diff', |
123 | | - 'robots' => 'robots.txt', |
124 | | - 'smarty' => 'Smarty', |
| 106 | + $lang['PASTEBIN_LANGUAGES'] = array( |
| 107 | + 'text' => 'Text', |
| 108 | + 'php' => 'PHP', |
| 109 | + 'sql' => 'SQL', |
| 110 | + 'html4strict' => 'HTML', |
| 111 | + 'css' => 'CSS', |
| 112 | + 'javascript' => 'Javascript', |
| 113 | + 'xml' => 'XML', |
| 114 | + 'diff' => 'Diff', |
| 115 | + 'robots' => 'robots.txt', |
125 | 116 |
|
126 | 117 | /** |
127 | 118 | * You can activate further languages by uncommenting any of these lines. |
|
0 commit comments