* Remove hard coded colons from upload form code, add them into message file
authorRaimond Spekking <raymond@users.mediawiki.org>
Thu, 28 Jun 2007 21:43:02 +0000 (21:43 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Thu, 28 Jun 2007 21:43:02 +0000 (21:43 +0000)
includes/SpecialUpload.php
languages/messages/MessagesDe.php
languages/messages/MessagesEn.php

index ff8091b..a1f5771 100644 (file)
@@ -777,13 +777,13 @@ class UploadForm {
                <table border='0'>
                <tr>
          {$this->uploadFormTextTop}
-                       <td align='right' valign='top'><label for='wpUploadFile'>{$sourcefilename}:</label></td>
+                       <td align='right' valign='top'><label for='wpUploadFile'>{$sourcefilename}</label></td>
                        <td align='left'>
                                {$filename_form}
                        </td>
                </tr>
                <tr>
-                       <td align='right'><label for='wpDestFile'>{$destfilename}:</label></td>
+                       <td align='right'><label for='wpDestFile'>{$destfilename}</label></td>
                        <td align='left'>
                                <input tabindex='2' type='text' name='wpDestFile' id='wpDestFile' size='40' value="$encDestName" />
                        </td>
@@ -803,7 +803,7 @@ EOT
                if ( $licenseshtml != '' ) {
                        global $wgStylePath;
                        $wgOut->addHTML( "
-                       <td align='right'><label for='wpLicense'>$license:</label></td>
+                       <td align='right'><label for='wpLicense'>$license</label></td>
                        <td align='left'>
                                <script type='text/javascript' src=\"$wgStylePath/common/upload.js\"></script>
                                <select name='wpLicense' id='wpLicense' tabindex='4'
@@ -824,12 +824,12 @@ EOT
                        $uploadsource = htmlspecialchars( $this->mCopyrightSource );
 
                        $wgOut->addHTML( "
-                               <td align='right' nowrap='nowrap'><label for='wpUploadCopyStatus'>$filestatus:</label></td>
+                               <td align='right' nowrap='nowrap'><label for='wpUploadCopyStatus'>$filestatus</label></td>
                                        <td><input tabindex='5' type='text' name='wpUploadCopyStatus' id='wpUploadCopyStatus' 
                                          value=\"$copystatus\" size='40' /></td>
                        </tr>
                        <tr>
-                               <td align='right'><label for='wpUploadCopyStatus'>$filesource:</label></td>
+                               <td align='right'><label for='wpUploadCopyStatus'>$filesource</label></td>
                                        <td><input tabindex='6' type='text' name='wpUploadSource' id='wpUploadCopyStatus' 
                                          value=\"$uploadsource\" size='40' /></td>
                        </tr>
index bb771d0..e0ff4b1 100644 (file)
@@ -998,11 +998,11 @@ Bitte beachten Sie, dass, genau wie bei normalen Seiteninhalten, andere Benutzer
 'uploadlog'                   => 'Datei-Logbuch',
 'uploadlogpage'               => 'Datei-Logbuch',
 'uploadlogpagetext'           => 'Dies ist das Logbuch der hochgeladenen Dateien, siehe auch [[{{ns:special}}:Newimages]].',
-'filename'                    => 'Dateiname',
+'filename'                    => 'Dateiname:',
 'filedesc'                    => 'Beschreibung',
 'fileuploadsummary'           => 'Beschreibung/Quelle:',
-'filestatus'                  => 'Copyright-Status',
-'filesource'                  => 'Quelle',
+'filestatus'                  => 'Copyright-Status:',
+'filesource'                  => 'Quelle:',
 'uploadedfiles'               => 'Hochgeladene Dateien',
 'ignorewarning'               => 'Warnung ignorieren und Datei speichern.',
 'ignorewarnings'              => 'Warnungen ignorieren',
@@ -1040,8 +1040,8 @@ Falls es sich um ein Bild gehandelt hat, so können Sie mit <tt><nowiki>[[</nowi
 'uploadscripted'              => 'Diese Datei enthält HTML- oder Scriptcode, der irrtümlich von einem Webbrowser ausgeführt werden könnte.',
 'uploadcorrupt'               => 'Die Datei ist beschädigt oder hat einen falschen Namen. Bitte überprüfen Sie die Datei und laden Sie sie erneut hoch.',
 'uploadvirus'                 => 'Diese Datei enthält einen Virus! Details: $1',
-'sourcefilename'              => 'Quelldatei',
-'destfilename'                => 'Zielname',
+'sourcefilename'              => 'Quelldatei:',
+'destfilename'                => 'Zielname:',
 'watchthisupload'             => 'Diese Seite beobachten',
 'filewasdeleted'              => 'Eine Datei mit diesem Namen wurde schon einmal hochgeladen und zwischenzeitlich wieder gelöscht. Bitte prüfen Sie zuerst den Eintrag im $1, bevor Sie die Datei wirklich speichern.',
 
@@ -1058,7 +1058,7 @@ Falls es sich um ein Bild gehandelt hat, so können Sie mit <tt><nowiki>[[</nowi
 'upload-curl-error28'      => 'Zeitüberschreitung beim Hochladen',
 'upload-curl-error28-text' => 'Die Seite braucht zu lange für eine Antwort. Prüfen Sie, ob die Seite online ist, warten Sie einen kurzen Moment und versuchen Sie es dann erneut. Es kann sinnvoll sein, einen erneuten Versuch zu einer anderen Zeit zu probieren..',
 
-'license'            => 'Lizenz',
+'license'            => 'Lizenz:',
 'nolicense'          => 'keine Vorauswahl',
 'upload_source_url'  => ' (gültige, öffentlich zugängliche URL)',
 'upload_source_file' => ' (eine Datei auf Ihrem Computer)',
index 32a3b2c..866735c 100644 (file)
@@ -1360,8 +1360,8 @@ To include the image in a page, use a link in the form
 'filename'                    => 'Filename',
 'filedesc'                    => 'Summary',
 'fileuploadsummary'           => 'Summary:',
-'filestatus'                  => 'Copyright status',
-'filesource'                  => 'Source',
+'filestatus'                  => 'Copyright status:',
+'filesource'                  => 'Source:',
 'uploadedfiles'               => 'Uploaded files',
 'ignorewarning'               => 'Ignore warning and save file anyway.',
 'ignorewarnings'              => 'Ignore any warnings',
@@ -1400,8 +1400,8 @@ created and by whom, and anything else you may know about it. If this is an imag
 'uploadscripted'              => 'This file contains HTML or script code that may be erroneously be interpreted by a web browser.',
 'uploadcorrupt'               => 'The file is corrupt or has an incorrect extension. Please check the file and upload again.',
 'uploadvirus'                 => 'The file contains a virus! Details: $1',
-'sourcefilename'              => 'Source filename',
-'destfilename'                => 'Destination filename',
+'sourcefilename'              => 'Source filename:',
+'destfilename'                => 'Destination filename:',
 'watchthisupload'             => 'Watch this page',
 'filewasdeleted'              => 'A file of this name has been previously uploaded and subsequently deleted. You should check the $1 before proceeding to upload it again.',
 
@@ -1418,7 +1418,7 @@ created and by whom, and anything else you may know about it. If this is an imag
 'upload-curl-error28'      => 'Upload timeout',
 'upload-curl-error28-text' => 'The site took too long to respond. Please check the site is up, wait a short while and try again. You may want to try at a less busy time.',
 
-'license'            => 'Licensing',
+'license'            => 'Licensing:',
 'nolicense'          => 'None selected',
 'licenses'           => '-', # don't translate or duplicate this message to other languages
 'upload_source_url'  => ' (a valid, publicly accessible URL)',