Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio block capability now enables/disables media upload's media sources #3523

Merged
merged 19 commits into from
Jun 3, 2021
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Unreleased
------
* [***] Audio block now available on WP.com sites on the free plan. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/3523]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I moved this entry to the unreleased section as this PR won't be included in 1.54.0.


1.54.0
------
* [**] a11y: Bug fix: Allow stepper cell to be selected by screenreader [https://github.com/wordpress-mobile/gutenberg-mobile/pull/3362]
Expand Down
50 changes: 1 addition & 49 deletions bundle/android/strings.xml

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions bundle/ios/App.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle/ios/App.js.map

Large diffs are not rendered by default.

47 changes: 0 additions & 47 deletions bundle/ios/GutenbergNativeTranslations.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Foundation

private func dummy() {
_ = NSLocalizedString(" audio file", comment: "translators: displays audio file extension. e.g. MP3 audio file")
_ = NSLocalizedString("'%s' is not fully-supported", comment: "translators: Missing block alert title. %s: The localized block name")
_ = NSLocalizedString("%1$s transformed to %2$s", comment: "translators: 1: From block title, e.g. Paragraph. 2: To block title, e.g. Header.")
_ = NSLocalizedString("%1$s. %2$s is %3$s %4$s.", comment: "translators: accessibility text. Inform about current value. %1$s: Control label %2$s: setting label (example: width), %3$s: Current value. %4$s: value measurement unit (example: pixels)")
Expand All @@ -20,16 +19,13 @@ private func dummy() {
_ = NSLocalizedString("Add Block Before", comment: "")
_ = NSLocalizedString("ADD BLOCK HERE", comment: "")
_ = NSLocalizedString("Add button text", comment: "")
_ = NSLocalizedString("Add caption", comment: "")
_ = NSLocalizedString("ADD IMAGE", comment: "")
_ = NSLocalizedString("Add image or video", comment: "")
_ = NSLocalizedString("ADD IMAGE OR VIDEO", comment: "")
_ = NSLocalizedString("Add label…", comment: "")
_ = NSLocalizedString("ADD LINK", comment: "")
_ = NSLocalizedString("Add link text", comment: "")
_ = NSLocalizedString("Add link to %s", comment: "translators: %s: social link name e.g: \"Instagram\".")
_ = NSLocalizedString("Add paragraph block", comment: "")
_ = NSLocalizedString("Add text…", comment: "")
_ = NSLocalizedString("Add this email link", comment: "")
_ = NSLocalizedString("Add this link", comment: "")
_ = NSLocalizedString("Add this telephone link", comment: "")
Expand All @@ -39,34 +35,25 @@ private func dummy() {
_ = NSLocalizedString("ADD VIDEO", comment: "")
_ = NSLocalizedString("Alt Text", comment: "")
_ = NSLocalizedString("An unknown error occurred. Please try again.", comment: "")
_ = NSLocalizedString("Attachment page", comment: "")
_ = NSLocalizedString("Audio caption. %s", comment: "translators: accessibility text. %s: Audio caption.")
_ = NSLocalizedString("Audio caption. Empty", comment: "translators: accessibility text. Empty Audio caption.")
_ = NSLocalizedString("audio file", comment: "translators: displays audio file extension. e.g. MP3 audio file")
_ = NSLocalizedString("Audio Player", comment: "")
_ = NSLocalizedString("Audio settings", comment: "")
_ = NSLocalizedString("Auto", comment: "")
_ = NSLocalizedString("Autoplay", comment: "")
_ = NSLocalizedString("Block cannot be rendered inside itself.", comment: "")
_ = NSLocalizedString("Block copied", comment: "translators: displayed right after the block is copied.")
_ = NSLocalizedString("Block cut", comment: "translators: displayed right after the block is cut.")
_ = NSLocalizedString("Block duplicated", comment: "translators: displayed right after the block is duplicated.")
_ = NSLocalizedString("Block has been deleted or is unavailable.", comment: "")
_ = NSLocalizedString("Block pasted", comment: "translators: displayed right after the block is pasted.")
_ = NSLocalizedString("Block removed", comment: "translators: displayed right after the block is removed.")
_ = NSLocalizedString("Block settings", comment: "")
_ = NSLocalizedString("Border Radius", comment: "")
_ = NSLocalizedString("Border Settings", comment: "")
_ = NSLocalizedString("Briefly describe the link to help screen reader user", comment: "")
_ = NSLocalizedString("Browser default", comment: "")
_ = NSLocalizedString("Button inside", comment: "")
_ = NSLocalizedString("Button Link URL", comment: "")
_ = NSLocalizedString("Button outside", comment: "")
_ = NSLocalizedString("Button position", comment: "")
_ = NSLocalizedString("Button width", comment: "")
_ = NSLocalizedString("Cancel search", comment: "")
_ = NSLocalizedString("Change block position", comment: "")
_ = NSLocalizedString("Change heading level", comment: "")
_ = NSLocalizedString("CHOOSE A FILE", comment: "")
_ = NSLocalizedString("Choose audio", comment: "")
_ = NSLocalizedString("Choose file", comment: "")
Expand All @@ -75,17 +62,11 @@ private func dummy() {
_ = NSLocalizedString("Choose image or video", comment: "")
_ = NSLocalizedString("Choose images", comment: "")
_ = NSLocalizedString("Choose video", comment: "")
_ = NSLocalizedString("Clear Media", comment: "")
_ = NSLocalizedString("Clear search", comment: "")
_ = NSLocalizedString("Code", comment: "")
_ = NSLocalizedString("Column settings", comment: "")
_ = NSLocalizedString("Columns Settings", comment: "")
_ = NSLocalizedString("Convert to regular blocks", comment: "")
_ = NSLocalizedString("Copied block", comment: "")
_ = NSLocalizedString("Copy block", comment: "")
_ = NSLocalizedString("Copy file URL", comment: "")
_ = NSLocalizedString("Cover", comment: "")
_ = NSLocalizedString("Crop image to fill entire column", comment: "")
_ = NSLocalizedString("Crosspost", comment: "")
_ = NSLocalizedString("Current placeholder text is", comment: "")
_ = NSLocalizedString("Current unit is %s", comment: "translators: accessibility text. Inform about current unit value. %s: Current unit value.")
Expand All @@ -94,7 +75,6 @@ private func dummy() {
_ = NSLocalizedString("Customize Gradient", comment: "")
_ = NSLocalizedString("Cut block", comment: "")
_ = NSLocalizedString("Describe the purpose of the image. Leave empty if the image is purely decorative. ", comment: "")
_ = NSLocalizedString("Dimensions", comment: "")
_ = NSLocalizedString("Dismiss", comment: "")
_ = NSLocalizedString("Display post date", comment: "")
_ = NSLocalizedString("Double tap and hold to edit", comment: "")
Expand Down Expand Up @@ -130,7 +110,6 @@ private func dummy() {
_ = NSLocalizedString("Edit cover media", comment: "")
_ = NSLocalizedString("Edit file", comment: "")
_ = NSLocalizedString("Edit focal point", comment: "")
_ = NSLocalizedString("Edit image", comment: "")
_ = NSLocalizedString("Edit media", comment: "")
_ = NSLocalizedString("Edit using web editor", comment: "")
_ = NSLocalizedString("Edit video", comment: "")
Expand All @@ -145,15 +124,12 @@ private func dummy() {
_ = NSLocalizedString("Featured", comment: "")
_ = NSLocalizedString("File block settings", comment: "")
_ = NSLocalizedString("File name", comment: "")
_ = NSLocalizedString("Fixed background", comment: "")
_ = NSLocalizedString("Gallery caption. %s", comment: "translators: accessibility text. %s: gallery caption.")
_ = NSLocalizedString("Gradient Type", comment: "")
_ = NSLocalizedString("Heading %d", comment: "translators: %s: heading level e.g: \"1\", \"2\", \"3\"")
_ = NSLocalizedString("Help button", comment: "")
_ = NSLocalizedString("Help icon", comment: "")
_ = NSLocalizedString("Hide keyboard", comment: "")
_ = NSLocalizedString("Hide search heading", comment: "")
_ = NSLocalizedString("image %1$d of %2$d in gallery", comment: "translators: 1: the order number of the image. 2: the total number of images.")
_ = NSLocalizedString("Image caption. %s", comment: "translators: accessibility text. %s: image caption.")
_ = NSLocalizedString("Image Link URL", comment: "")
_ = NSLocalizedString("Image settings", comment: "")
Expand All @@ -162,19 +138,12 @@ private func dummy() {
_ = NSLocalizedString("Inside", comment: "")
_ = NSLocalizedString("Invalid URL. Audio file not found.", comment: "")
_ = NSLocalizedString("Link inserted", comment: "")
_ = NSLocalizedString("Link label", comment: "")
_ = NSLocalizedString("Link Settings", comment: "")
_ = NSLocalizedString("Link text", comment: "")
_ = NSLocalizedString("Link to", comment: "")
_ = NSLocalizedString("Link To", comment: "")
_ = NSLocalizedString("Lock icon", comment: "")
_ = NSLocalizedString("Loop", comment: "")
_ = NSLocalizedString("Media & Text settings", comment: "")
_ = NSLocalizedString("Media area", comment: "")
_ = NSLocalizedString("Media file", comment: "")
_ = NSLocalizedString("Media options", comment: "translators: %s: block title e.g: \"Paragraph\".")
_ = NSLocalizedString("Mention", comment: "")
_ = NSLocalizedString("Metadata", comment: "")
_ = NSLocalizedString("Minimum height", comment: "")
_ = NSLocalizedString("Move block down", comment: "")
_ = NSLocalizedString("Move block down from row %1$s to row %2$s", comment: "translators: accessibility text. %1: current block position (number). %2: next block position (number)")
Expand All @@ -198,15 +167,11 @@ private func dummy() {
_ = NSLocalizedString("Note: Column layout may vary between themes and screen sizes", comment: "")
_ = NSLocalizedString("Number of columns", comment: "")
_ = NSLocalizedString("Only show excerpt", comment: "")
_ = NSLocalizedString("Opacity", comment: "")
_ = NSLocalizedString("OPEN", comment: "")
_ = NSLocalizedString("Open Block Actions Menu", comment: "")
_ = NSLocalizedString("Open link in a browser", comment: "")
_ = NSLocalizedString("Open Settings", comment: "")
_ = NSLocalizedString("Optional placeholder…", comment: "")
_ = NSLocalizedString("Outside", comment: "")
_ = NSLocalizedString("Overlay", comment: "")
_ = NSLocalizedString("Page break", comment: "")
_ = NSLocalizedString("Page break block. %s", comment: "translators: accessibility text. %s: Page break text.")
_ = NSLocalizedString("Page title. %s", comment: "translators: accessibility text. %s: text content of the page title.")
_ = NSLocalizedString("Page title. Empty", comment: "translators: accessibility text. empty page title.")
Expand All @@ -216,16 +181,12 @@ private func dummy() {
_ = NSLocalizedString("Post meta settings", comment: "")
_ = NSLocalizedString("Post title. %s", comment: "translators: accessibility text. %s: text content of the post title.")
_ = NSLocalizedString("Post title. Empty", comment: "translators: accessibility text. empty post title.")
_ = NSLocalizedString("Preload", comment: "")
_ = NSLocalizedString("Problem displaying block", comment: "")
_ = NSLocalizedString("Problem opening the audio", comment: "")
_ = NSLocalizedString("Problem opening the video", comment: "")
_ = NSLocalizedString("Read more", comment: "")
_ = NSLocalizedString("Remove", comment: "")
_ = NSLocalizedString("Replace audio", comment: "")
_ = NSLocalizedString("Replace Current Block", comment: "")
_ = NSLocalizedString("Replace file", comment: "")
_ = NSLocalizedString("Replace image", comment: "")
_ = NSLocalizedString("Replace image or video", comment: "")
_ = NSLocalizedString("Replace video", comment: "")
_ = NSLocalizedString("Reusable blocks aren't editable on WordPress for Android", comment: "")
Expand All @@ -241,13 +202,8 @@ private func dummy() {
_ = NSLocalizedString("Search settings", comment: "")
_ = NSLocalizedString("Select a color", comment: "")
_ = NSLocalizedString("Select a layout", comment: "")
_ = NSLocalizedString("Shortcode", comment: "")
_ = NSLocalizedString("Show download button", comment: "")
_ = NSLocalizedString("Show media on left", comment: "")
_ = NSLocalizedString("Show media on right", comment: "")
_ = NSLocalizedString("Show post content", comment: "")
_ = NSLocalizedString("Slash inserter results", comment: "translators: Slash inserter autocomplete results")
_ = NSLocalizedString("Size", comment: "")
_ = NSLocalizedString("Sorting and filtering", comment: "")
_ = NSLocalizedString("Start writing…", comment: "")
_ = NSLocalizedString("Take a Photo", comment: "")
Expand All @@ -266,12 +222,9 @@ private func dummy() {
_ = NSLocalizedString("Use icon button", comment: "")
_ = NSLocalizedString("Video caption. %s", comment: "translators: accessibility text. %s: video caption.")
_ = NSLocalizedString("Video caption. Empty", comment: "translators: accessibility text. Empty video caption.")
_ = NSLocalizedString("Video settings", comment: "")
_ = NSLocalizedString("We are working hard to add more blocks with each release.", comment: "")
_ = NSLocalizedString("What is alt text?", comment: "")
_ = NSLocalizedString("Width Settings", comment: "")
_ = NSLocalizedString("WordPress Media Library", comment: "")
_ = NSLocalizedString("Write code…", comment: "")
_ = NSLocalizedString("Write title…", comment: "")
_ = NSLocalizedString("X-Axis Position", comment: "")
_ = NSLocalizedString("Y-Axis Position", comment: "")