http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88006
Revision: 88006 Author: mglaser Date: 2011-05-13 16:25:45 +0000 (Fri, 13 May 2011) Log Message: ----------- bug 28868 removed page number in longdesc in pagedtiffhandler and put in total count of pages Modified Paths: -------------- trunk/extensions/PagedTiffHandler/PagedTiffHandler.i18n.php trunk/extensions/PagedTiffHandler/PagedTiffHandler_body.php Modified: trunk/extensions/PagedTiffHandler/PagedTiffHandler.i18n.php =================================================================== --- trunk/extensions/PagedTiffHandler/PagedTiffHandler.i18n.php 2011-05-13 16:23:17 UTC (rev 88005) +++ trunk/extensions/PagedTiffHandler/PagedTiffHandler.i18n.php 2011-05-13 16:25:45 UTC (rev 88006) @@ -28,7 +28,7 @@ 'tiff_size_error' => 'The reported file size does not match the actual file size.', 'tiff_script_detected' => 'The uploaded file contains scripts.', 'tiff_bad_file' => 'The uploaded file contains errors: $1', - 'tiff-file-info-size' => 'page $5, $1 × $2 pixels, file size: $3, MIME type: $4', + 'tiff-file-info-size' => '$1 × $2 pixels, file size: $3, MIME type: $4, pages: $5', ); /** Message documentation (Message documentation) @@ -199,7 +199,7 @@ 'tiff_size_error' => 'Die übergebene Größe der Datei stimmt nicht mit der tatsächlichen überein.', 'tiff_script_detected' => 'Die hochgeladene Datei enthält Skripte.', 'tiff_bad_file' => 'Die hochgeladene Datei ist fehlerhaft: $1', - 'tiff-file-info-size' => 'Seite $5, $1 × $2 Pixel, Dateigröße: $3, MIME-Typ: $4', + 'tiff-file-info-size' => '$1 × $2 Pixel, Dateigröße: $3, MIME-Typ: $4, Seiten: $5', ); /** Lower Sorbian (Dolnoserbski) Modified: trunk/extensions/PagedTiffHandler/PagedTiffHandler_body.php =================================================================== --- trunk/extensions/PagedTiffHandler/PagedTiffHandler_body.php 2011-05-13 16:23:17 UTC (rev 88005) +++ trunk/extensions/PagedTiffHandler/PagedTiffHandler_body.php 2011-05-13 16:25:45 UTC (rev 88006) @@ -523,7 +523,7 @@ $wgLang->formatNum( $metadata['page_data'][$page]['height'] ), $wgLang->formatSize( $image->getSize() ), $image->getMimeType(), - $page + $wgLang->formatNum( $metadata['page_count'] ) ); } return true; _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs