You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rows.append(TextRow(title:NSLocalizedString("File name", comment:"Label for the file name for a media asset (image / video)"), value: media.filename ??""))
107
-
rows.append(TextRow(title:NSLocalizedString("File type", comment:"Label for the file type (.JPG, .PNG, etc) for a media asset (image / video)"), value: presenter.fileType ??""))
rows.append(TextRow(title:NSLocalizedString("Dimensions", comment:"Label for the dimensions in pixels for a media asset (image / video)"), value: presenter.dimensions))
rows.append(TextRow(title:NSLocalizedString("Uploaded", comment:"Label for the date a media asset (image / video) was uploaded"), value: media.creationDate?.toMediumString()??""))
@@ -142,7 +145,7 @@ final class MediaItemViewController: UITableViewController {
142
145
privatefunc handleDeletedMedia(){
143
146
SVProgressHUD.setDefaultMaskType(.clear)
144
147
SVProgressHUD.setMinimumDismissTimeInterval(1.0)
145
-
SVProgressHUD.showError(withStatus:NSLocalizedString("This media item has been deleted.", comment:"Message displayed in Media Library if the user attempts to edit a media asset (image / video) after it has been deleted."))
@@ -197,7 +200,7 @@ final class MediaItemViewController: UITableViewController {
197
200
controller.player?.play()
198
201
})
199
202
}elseiflet _ = error {
200
-
SVProgressHUD.showError(withStatus:NSLocalizedString("Unable to load video.", comment:"Error shown when the app fails to load a video from the user's media library."))
@@ -263,9 +266,9 @@ final class MediaItemViewController: UITableViewController {
263
266
}
264
267
265
268
letalertController=UIAlertController(title:nil,
266
-
message:NSLocalizedString("Are you sure you want to permanently delete this item?", comment:"Message prompting the user to confirm that they want to permanently delete a media item. Should match Calypso."), preferredStyle:.alert)
267
-
alertController.addCancelActionWithTitle(NSLocalizedString("Cancel", comment:"Verb. Button title. Tapping cancels an action."))
268
-
alertController.addDestructiveActionWithTitle(NSLocalizedString("Delete", comment:"Title for button that permanently deletes a media item (photo / video)"), handler:{ action in
SVProgressHUD.showError(withStatus:NSLocalizedString("Unable to delete media item.", comment:"Text displayed in HUD if there was an error attempting to delete a media item."))
SVProgressHUD.showError(withStatus:NSLocalizedString("Unable to save media item.", comment:"Text displayed in HUD when a media item's metadata (title, etc) couldn't be saved."))
staticleturl=NSLocalizedString("siteMedia.details.url", value:"URL", comment:"Title for the URL field")
477
+
staticlettitle=NSLocalizedString("siteMedia.details.title", value:"Title", comment:"Noun. Label for the title of a media asset (image / video)")
478
+
staticletcaption=NSLocalizedString("siteMedia.details.caption", value:"Caption", comment:"Noun. Label for the caption for a media asset (image / video)")
479
+
staticletdescription=NSLocalizedString("siteMedia.details.description", value:"Description", comment:"Label for the description for a media asset (image / video)")
480
+
staticletaltText=NSLocalizedString("siteMedia.details.altText", value:"Alt Text", comment:"Label for the alt for a media asset (image)")
481
+
staticletfileName=NSLocalizedString("siteMedia.details.fileName", value:"File Name", comment:"Label for the file name for a media asset (image / video)")
482
+
staticletfileType=NSLocalizedString("siteMedia.details.fileType", value:"File Type", comment:"Label for the file type (.JPG, .PNG, etc) for a media asset (image / video)")
483
+
staticletfileSize=NSLocalizedString("siteMedia.details.fileSize", value:"File Size", comment:"Label for the file size for a media asset (image / video)")
484
+
staticletdimensions=NSLocalizedString("siteMedia.details.dimensions", value:"Dimensions", comment:"Label for the dimensions in pixels for a media asset (image / video)")
485
+
staticletuploaded=NSLocalizedString("siteMedia.details.uploaded", value:"Uploaded", comment:"Label for the date a media asset (image / video) was uploaded")
486
+
staticlettrash=NSLocalizedString("siteMedia.details.trash", value:"Trash", comment:"Accessibility label for trash buttons in nav bars")
487
+
staticletmediaDeleted=NSLocalizedString("siteMedia.details.mediaDeleted", value:"This media item has been deleted.", comment:"Message displayed in Media Library if the user attempts to edit a media asset (image / video) after it has been deleted.")
488
+
staticletunableToLoadVideo=NSLocalizedString("siteMedia.details.unableToLoadVideo", value:"Unable to load video.", comment:"Error shown when the app fails to load a video from the user's media library.")
489
+
staticletdeleteConfirmation=NSLocalizedString("siteMedia.details.deleteConfirmation", value:"Are you sure you want to permanently delete this item?", comment:"Message prompting the user to confirm that they want to permanently delete a media item. Should match Calypso.")
490
+
staticletcancel=NSLocalizedString("siteMedia.details.cancel", value:"Cancel", comment:"Verb. Button title. Tapping cancels an action.")
491
+
staticletdelete=NSLocalizedString("siteMedia.details.delete", value:"Delete", comment:"Title for button that permanently deletes a media item (photo / video)")
492
+
staticletdeleting=NSLocalizedString("siteMedia.details.deleting", value:"Deleting...", comment:"Text displayed in HUD while a media item is being deleted.")
493
+
staticletdeleted=NSLocalizedString("siteMedia.details.deleted", value:"Deleted!", comment:"Text displayed in HUD after successfully deleting a media item")
494
+
staticletunableToDeleteMedia=NSLocalizedString("siteMedia.details.unableToDeleteMedia", value:"Unable to delete media item.", comment:"Text displayed in HUD if there was an error attempting to delete a media item.")
495
+
staticletunableToSaveMedia=NSLocalizedString("siteMedia.details.unableToSaveMedia", value:"Unable to save media item.", comment:"Text displayed in HUD when a media item's metadata (title, etc) couldn't be saved.")
496
+
497
+
enumHints{
498
+
staticletimageTitle=NSLocalizedString("siteMedia.hints.imageTitle", value:"Image title", comment:"Hint for image title on image settings.")
499
+
staticletimageCaption=NSLocalizedString("siteMedia.hints.imageCaption", value:"Image Caption", comment:"Hint for image caption on image settings.")
500
+
staticletimageDescription=NSLocalizedString("siteMedia.hints.imageDescription", value:"Image Description", comment:"Hint for image description on image settings.")
501
+
staticletimageAlt=NSLocalizedString("siteMedia.hints.imageAlt", value:"Image Alt", comment:"Hint for image alt on image settings.")
0 commit comments