From: gustav_delius Date: Sat, 21 Aug 2004 15:52:38 +0000 (+0000) Subject: removed some hard-coded strings and a warning from setup page X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e0d46880e7c727387a5be24adb502fc9b100f46e;p=moodle.git removed some hard-coded strings and a warning from setup page --- diff --git a/lang/en/wiki.php b/lang/en/wiki.php index 004457b571..2bac3d9908 100644 --- a/lang/en/wiki.php +++ b/lang/en/wiki.php @@ -1,202 +1,189 @@ -If you however empty a page first, it will get listed here too. Various other database diagnostics are made as well.'; -$string['removepagecheck'] = 'Are you sure that you want to delete these pages ?'; -$string['pagename'] = 'Page name'; -$string['errororreason'] = 'Error or reason'; -$string['listall'] = 'List all'; -$string['listcandidates'] = 'List candidates'; -$string['removeselectedpages'] = 'Remove selected pages'; -$string['disabledpage'] = 'Disabled page'; +$string['chooseadministration'] = '-- Administration --'; +$string['chooseafile'] = 'Choose/upload initial page'; +$string['choosewikilinks'] = '-- Choose Wiki Links --'; +$string['comment'] = 'Comment'; +$string['contentsize'] = 'Content size'; +$string['created'] = 'Created'; +$string['deletemewikiword'] = 'DeleteMe'; +$string['deletemewikiwordfound'] = '$a found on page'; +$string['deletepage'] = 'Delete page'; +$string['deleteversions'] = 'Delete how many last versions'; +$string['deleteversionserror'] = 'Please enter a correct version count.'; +$string['diff'] = 'Diff'; +$string['differences'] = 'Differences between version $a->new_ver and $a->old_ver of $a->pagename.'; +$string['disablecamel'] = 'Disable CamelCase linking'; +$string['disabledpage'] = 'This page is currently not available.'; +$string['doesnotexist'] = 'This page does not yet exist, please click on the edit Button if you would like to create it.'; +$string['downloadaszip'] = 'Downloadable zip archive'; +$string['downloadtimes'] = 'Downloaded $a times'; +$string['dwnlnofiles'] = 'No files uploaded yet.'; +$string['dwnlsection'] = 'Download section'; +$string['editform1'] = 'Try not to worry too much about formatting, it can always be improved later.'; +$string['editform2'] = 'Please write sensibly, and remember that all editing is logged.'; +$string['editthispage'] = 'Edit this page'; +$string['emptypage'] = 'Empty page'; $string['errorbinandtxt'] = 'Flag error: Page of type BIN and TXT'; -$string['errornotype'] = 'Flag error: Neither BIN nor TXT'; $string['errorhtml'] = 'Page of type HTML'; -$string['readonly'] = 'Read only page'; -$string['ownerunknown'] = 'unknown'; +$string['errornotype'] = 'Flag error: Neither BIN nor TXT'; +$string['errororreason'] = 'Error or reason'; $string['errorroandwr'] = 'Flag error: Page is Writeable and Read only'; $string['errorsize'] = 'Page size bigger than 64k'; -$string['emptypage'] = 'Empty page'; +$string['errversionsave'] = 'Sorry, while you edited this page someone else did already save a changed version. Please go back to the previous screen and copy your changes to your computers clipboard to insert it again after you reload the edit screen.'; +$string['ewikiacceptbinary'] = 'Allow binary files'; +$string['ewikiprinttitle'] = 'Print wiki name on every page'; +$string['export'] = 'Export'; +$string['exportformats'] = 'Export formats'; +$string['exportsuccessful'] = 'Export successful.'; +$string['exportto'] = 'Export to'; +$string['fetchback'] = 'Fetch-back'; +$string['file'] = 'File'; +$string['filedownload'] = 'File Download'; +$string['fileisoftype'] = 'File is of type'; +$string['filtername'] = 'Wiki Page Auto-linking'; +$string['flagbin'] = 'BIN'; +$string['flaghtm'] = 'HTM'; +$string['flagoff'] = 'OFF'; +$string['flagro'] = 'RO'; $string['flags'] = 'Flags'; -$string['status'] = 'Status'; $string['flagsset'] = 'Flags changed'; -$string['strippages'] = 'Strip pages'; -$string['strippagecheck'] = 'Are you sure that you want to strip old versions from these pages:'; -$string['nothingtostrip'] = 'There are no pages with more than one version.'; -$string['version'] = 'Version'; -$string['versions'] = 'Versions'; -$string['pagesstripped'] = 'Pages stripped.'; -$string['wrongversionrange'] = '$a is not a correct range!'; -$string['versionrangetoobig'] = 'You cannot delete all versions of a page! The last version should remain.'; -$string['linkok'] = 'OK'; +$string['flagtxt'] = 'TXT'; +$string['flagwr'] = 'WR'; +$string['for'] = 'for'; +$string['forbidden'] = 'You are not authorized to access this page.'; +$string['groups'] = 'Groups'; +$string['hits'] = '$a hits'; +$string['howtooperate'] = 'How to operate'; +$string['howtowiki'] = 'How to wiki'; +$string['html'] = 'HTML-Format'; +$string['htmlmode'] = 'HTML Mode'; +$string['htmlonly'] = 'HTML only'; +$string['index'] = 'Index'; +$string['infoaboutpage'] = 'Information about the page'; +$string['initialcontent'] = 'Choose an Initial Page'; +$string['invalidroot'] = 'You are not authorized to access the current root page so no sitemap can be created.'; +$string['lastchanged'] = 'Last changed on $a'; +$string['lastmodified'] = 'Last modification'; $string['linkdead'] = 'DEAD'; -$string['offline'] = 'OFFLINE'; +$string['linkok'] = 'OK'; +$string['linkschecked'] = 'Links checked'; +$string['listall'] = 'List all'; +$string['listcandidates'] = 'List candidates'; +$string['meta'] = 'Meta data'; +$string['moduledirectory'] = 'Module Directory'; +$string['modulename'] = 'Wiki'; +$string['modulenameplural'] = 'Wikis'; +$string['mostoftenchangedpages'] = 'Most often changed pages'; +$string['mostvisitedpages'] = 'Most visited pages'; +$string['newestpages'] = 'Newest pages'; +$string['noadministrationaction'] = 'No administration action given.'; +$string['nocandidatestoremove'] = 'No candidate pages to remove, choose \'$a\' to show all pages.'; +$string['nochangestorevert'] = 'No changes to revert.'; +$string['nohtml'] = 'No HTML'; $string['nolinksfound'] = 'No links found on page.'; -$string['revertpages'] = 'Revert mass changes'; +$string['noregexp'] = 'This must be a fixed string (you cannot use * or regex), at best use the attackers` IP address or host name, but do not include the port number (because it increased with every http access).'; +$string['notadministratewiki'] = 'You are not allowed to administrate this wiki !'; +$string['nothingtostrip'] = 'There are no pages with more than one version.'; +$string['nowikicreated'] = 'No entries have been created for this wiki.'; +$string['of'] = 'of'; +$string['offline'] = 'OFFLINE'; +$string['optional'] = 'Optional'; +$string['orphanedpage'] = 'Orphaned page'; +$string['orphanedpages'] = 'Orphaned pages'; +$string['otherwikis'] = 'Other Wikis'; +$string['ownerunknown'] = 'unknown'; +$string['pageactions'] = 'Page actions'; +$string['pageindex'] = 'Page Index'; +$string['pageinfo'] = 'Page information'; +$string['pagename'] = 'Page name'; +$string['pagenamechoice'] = '- or -'; +$string['pageslinkingto'] = 'Pages linking to this page'; +$string['pagesremoved'] = 'Pages removed.'; $string['pagesreverted'] = 'Changes reverted'; -$string['revertpagescheck'] = 'Do you really want to revert the following changes:'; +$string['pagesstripped'] = 'Pages stripped.'; +$string['plaintext'] = 'Plain Text'; +$string['preview'] = 'Preview'; +$string['readonly'] = 'Read only page'; +$string['refs'] = 'References'; +$string['removenotice'] = 'Note that only unreferenced pages will be listed here. And because the ewiki engine itself does only limited testing if a page is referenced it may miss some of them here.
If you however empty a page first, it will get listed here too. Various other database diagnostics are made as well.'; +$string['removepagecheck'] = 'Are you sure that you want to delete these pages ?'; +$string['removepages'] = 'Remove pages'; +$string['removeselectedpages'] = 'Remove selected pages'; +$string['revertallsince'] = 'Version diving, also delete changes made after'; $string['revertchanges'] = 'Revert changes'; -$string['versionstodelete'] = 'Version(s) to delete'; -$string['nochangestorevert'] = 'No changes to revert.'; -$string['authorfieldpattern'] = 'Author field pattern'; -$string['noregexp'] = 'This must be a fixed string (you cannot use * or regex), at best use the attackers` IP address or host name, but do not include the port number (because it increased with every http access).'; -$string['changesfield'] = 'Within how many hours from the last change'; -$string['howtooperate'] = 'How to operate'; -$string['authorfieldpatternerror'] = 'Please enter an author.'; -$string['deleteversionserror'] = 'Please enter a correct version count.'; -$string['changesfielderror'] = 'Please enter a correct hour count.'; $string['revertlastonly'] = 'Only, if it was the last change'; -$string['revertallsince'] = 'Version diving, also delete changes made after'; +$string['revertpages'] = 'Revert mass changes'; +$string['revertpagescheck'] = 'Do you really want to revert the following changes:'; $string['revertthe'] = 'Version diving, but only purge the affected one'; -$string['deleteversions'] = 'Delete how many last versions'; -$string['deletepage'] = 'Delete page'; - -# Filter Name -$string['filtername'] = 'Wiki Page Auto-linking'; - - -# Flags, please be careful when translating -$string['flagtxt'] = 'TXT'; -$string['flagbin'] = 'BIN'; -$string['flagoff'] = 'OFF'; -$string['flaghtm'] = 'HTM'; -$string['flagro'] = 'RO'; -$string['flagwr'] = 'WR'; - -# This one has to be a WikiWord !!! -$string['deletemewikiword'] = 'DeleteMe'; -$string['deletemewikiwordfound'] = '$a found on page'; - +$string['safehtml'] = 'Safe HTML'; +$string['save'] = 'Save'; +$string['searchwiki'] = 'Search Wiki'; +$string['setpageflags'] = 'Set page flags'; +$string['sitemap'] = 'Sitemap'; +$string['smfor'] = 'Sitemap for'; +$string['status'] = 'Status'; +$string['strippagecheck'] = 'Are you sure that you want to strip old versions from these pages:'; +$string['strippages'] = 'Strip pages'; +$string['studentadminoptions'] = 'Student admin options'; $string['submit'] = 'Submit'; - -# Ewiki -$string['editform1']='Try not to worry too much about formatting, it can always be improved later.'; -$string['editform2']='Please write sensibly, and remember that all editing is logged.'; -$string['save']='Save'; -$string['preview']='Preview'; -$string['canceledit']='Cancel'; -$string['uploadpicturebutton']='Upload'; -$string['lastchanged']="Last changed on \$a"; -$string['hits'] = "\$a hits"; -$string['changes'] = "\$a changes"; -$string['upload0'] = 'Use this form to upload an arbitrary binary file into the wiki:'; -$string['uplnewnam'] = 'Save with different filename'; -$string['uplok'] = 'Your file was uploaded correctly.'; +$string['tabattachments'] = 'Attachments'; +$string['tabedit'] = 'Edit'; +$string['tabinfo'] = 'Info'; +$string['tablinks'] = 'Links'; +$string['tabview'] = 'View'; +$string['thanksforcontribution'] = 'Thank you for your contribution.'; +$string['thispageisntlinkedfromanywhereelse'] = 'This page isn\'t linked from anywhere else.'; +$string['updatedpages'] = 'Updated pages'; $string['uplerror'] = 'We are sorry, but something went wrong during the file upload.'; -$string['dwnlnofiles'] = 'No files uploaded yet.'; -$string['file'] = 'File'; +$string['uplinsect'] = 'Upload into'; +$string['uplnewnam'] = 'Save with different filename'; +$string['upload0'] = 'Use this form to upload an arbitrary binary file into the wiki:'; $string['uploadedon'] = 'Uploaded on'; -$string['fileisoftype'] = 'File is of type'; -$string['downloadtimes'] = "Downloaded \$a times"; -$string['of'] = 'of'; -$string['comment'] = 'Comment'; -$string['dwnlsection'] = 'Download section'; -$string['infoaboutpage']='Information about the page'; -$string['thanksforcontribution']='Thank you for your contribution.'; -$string['disabledpage']='This page is currently not available.'; -$string['doesnotexist']='This page does not yet exist, please click on the edit Button if you would like to create it.'; -$string['errversionsave']='Sorry, while you edited this page someone else did already save a changed version. Please go back to the previous screen and copy your changes to your computers clipboard to insert it again after you reload the edit screen.'; -$string['forbidden']='You are not authorized to access this page.'; -$string['binimgtoolarge']='Image file is too large!'; -$string['binnoimg']='This is an inacceptable file format!'; -$string['browse']='Browse'; -$string['fetchback']='Fetch-back'; -$string['differences']="Differences between version \$a->new_ver and \$a->old_ver of \$a->pagename."; -$string['diff']='Diff'; -$string['author']='Author'; -$string['created']='Created'; -$string['lastmodified']='Last modification'; -$string['meta']='Meta data'; -$string['refs']='References'; -$string['contentsize']='Content size'; -$string['pageslinkingto']="Pages linking to this page"; -$string['viewsmfor']="View sitemap for"; -$string['smfor']="Sitemap for"; -$string['cannotchangepage']="This page cannot be changed."; -$string['errversionsave']="Sorry, while you edited this page someone else did already save a changed version. Please go back to the previous screen and copy your changes to your computers clipboard to insert it again after you reload the edit screen."; -$string['uplinsect']="Upload into"; -$string['invalidroot']="You are not authorized to access the current root page so no sitemap can be created."; -$string['thispageisntlinkedfromanywhereelse'] = 'This page isn\'t linked from anywhere else.'; - -$string['wikiexportcomment']='Here you can configure the export to your needs.'; -$string['wikiexport']='Export pages'; -$string['exportformats']='Export formats'; -$string['export']='Export'; -$string['withbinaries']='Include binary content'; -$string['withvirtualpages']='Include Wiki-Links'; -$string['plaintext']='Plain Text'; -$string['html']='HTML-Format'; -$string['downloadaszip']='Downloadable zip archive'; -$string['moduledirectory']='Module Directory'; -$string['exportto']='Export to'; -$string['exportsuccessful']='Export successful.'; -$string['index']='Index'; +$string['uploadpicturebutton'] = 'Upload'; +$string['uplok'] = 'Your file was uploaded correctly.'; +$string['version'] = 'Version'; +$string['versionrangetoobig'] = 'You cannot delete all versions of a page! The last version should remain.'; +$string['versions'] = 'Versions'; +$string['versionstodelete'] = 'Version(s) to delete'; +$string['viewpage'] = 'View Page'; +$string['viewsmfor'] = 'View sitemap for'; +$string['wantedpages'] = 'Wanted pages'; +$string['wikidefaultpagename'] = 'WikiIndex'; +$string['wikiexport'] = 'Export pages'; +$string['wikiexportcomment'] = 'Here you can configure the export to your needs.'; +$string['wikilinkoptions'] = 'Wiki auto-linking options'; +$string['wikilinks'] = 'Wiki Links'; +$string['wikiname'] = 'Page Name'; +$string['wikistartederror'] = 'Wiki already has entries - can\'t change.'; +$string['wikitype'] = 'Type'; +$string['wikiusage'] = 'Wiki usage'; +$string['withbinaries'] = 'Include binary content'; +$string['withvirtualpages'] = 'Include Wiki-Links'; +$string['wrongversionrange'] = '$a is not a correct range!'; -$string['tabedit']='Edit'; -$string['tabview']='View'; -$string['tabinfo']='Info'; -$string['tablinks']='Links'; -$string['tabattachments']='Attachments'; ?> diff --git a/mod/wiki/mod.html b/mod/wiki/mod.html index 21d925c405..cdd42908fa 100644 --- a/mod/wiki/mod.html +++ b/mod/wiki/mod.html @@ -49,6 +49,9 @@ if (!isset($form->pagename)) { $form->pagename = ''; } + if (!isset($form->disablecamelcase)) { + $form->disablecamelcase = 0; + } # Set other variables if (!isset($id)) { @@ -131,7 +134,7 @@ : disablecamelcase?"CHECKED":""; ?> /> - Disable CamelCase linking.
+
@@ -143,22 +146,22 @@
setpageflags?"CHECKED":""; ?> /> - Allow 'set page flags'
+
strippages?"CHECKED":""; ?> /> - Allow 'strip pages'
+
removepages?"CHECKED":""; ?> /> - Allow 'remove pages'
+
revertchanges?"CHECKED":""; ?> /> - Allow 'revert mass changes'
+
- Optional: + :