Fix spelling mistake on file preview pages

This commit is contained in:
Starbeamrainbowlabs 2016-08-22 17:46:13 +01:00
parent 6267fe79d4
commit 28f79e5e2d
4 changed files with 4 additions and 3 deletions

View File

@ -30,6 +30,7 @@
- Prevented the page index data for parent pages from disappearing when a child page is edited (#98) - Prevented the page index data for parent pages from disappearing when a child page is edited (#98)
- Fixed file uploading when the data storage directory not the current directory (#100) - Fixed file uploading when the data storage directory not the current directory (#100)
- Fixed pressing the edit button on pages that have a single quote in their name - Fixed pressing the edit button on pages that have a single quote in their name
- Fixed a spelling mistake on the file preview page - I'm sure I fixed that before...!
## v0.12 ## v0.12

View File

@ -3121,7 +3121,7 @@ register_module([
switch($fileTypeDisplay) switch($fileTypeDisplay)
{ {
case "image": case "image":
$dimensionsKey = $mime_type !== "image/svg+xml" ? "Original demensions" : "Native size"; $dimensionsKey = $mime_type !== "image/svg+xml" ? "Original dimensions" : "Native size";
$fileInfo[$dimensionsKey] = "$dimensions[0] x $dimensions[1]"; $fileInfo[$dimensionsKey] = "$dimensions[0] x $dimensions[1]";
break; break;
} }

View File

@ -77,7 +77,7 @@
"author": "Starbeamrainbowlabs", "author": "Starbeamrainbowlabs",
"description": "Adds the ability to upload files to Pepperminty Wiki. Uploaded files act as pages and have the special 'File\/' prefix.", "description": "Adds the ability to upload files to Pepperminty Wiki. Uploaded files act as pages and have the special 'File\/' prefix.",
"id": "feature-upload", "id": "feature-upload",
"lastupdate": 1471882985, "lastupdate": 1471884248,
"optional": false "optional": false
}, },
{ {

View File

@ -445,7 +445,7 @@ register_module([
switch($fileTypeDisplay) switch($fileTypeDisplay)
{ {
case "image": case "image":
$dimensionsKey = $mime_type !== "image/svg+xml" ? "Original demensions" : "Native size"; $dimensionsKey = $mime_type !== "image/svg+xml" ? "Original dimensions" : "Native size";
$fileInfo[$dimensionsKey] = "$dimensions[0] x $dimensions[1]"; $fileInfo[$dimensionsKey] = "$dimensions[0] x $dimensions[1]";
break; break;
} }