Skip to content

Commit 5980d08

Browse files
committed
Merge branch 'trunk' into revert-17032-Jetpack-focus-Enable-widgets-on-Jetpack-app
2 parents 2321538 + 697e712 commit 5980d08

55 files changed

Lines changed: 147 additions & 1008 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

WordPress/build.gradle

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,10 @@ android {
180180
buildConfigField "boolean", "ENABLE_QRCODE_AUTH_FLOW", "true"
181181

182182
manifestPlaceholders = [magicLinkScheme:"jetpack"]
183+
184+
// Limit string resources to Mag16 only for Jetpack
185+
// Note: this only affects included _locales_; variants for `values-night`, `values-land` and other configs are _still_ preserved in Jetpack and not filtered by this.
186+
resourceConfigurations = ["ar", "de", "es", "fr", "he", "id", "it", "ja", "ko", "nl", "pt-rBR", "ru", "sv", "tr", "zh-rCN", "zh-rTW"]
183187
}
184188

185189
// Used for release/beta testing builds. Usually shouldn't be build locally.
@@ -599,6 +603,16 @@ tasks.register("printAllVersions") {
599603
}
600604
}
601605

606+
tasks.register("printResourceConfigurations") {
607+
doLast {
608+
android.productFlavors.each { flavor ->
609+
if (flavor.dimension == "app") {
610+
println "${flavor.name}: ${flavor.resourceConfigurations}"
611+
}
612+
}
613+
}
614+
}
615+
602616
def checkGradlePropertiesFile() {
603617
def inputFile = file("${rootDir}/gradle.properties")
604618
if (!inputFile.exists()) {

WordPress/src/jetpack/res/values-az/strings.xml

Lines changed: 0 additions & 29 deletions
This file was deleted.

WordPress/src/jetpack/res/values-bg/strings.xml

Lines changed: 0 additions & 29 deletions
This file was deleted.

WordPress/src/jetpack/res/values-cs/strings.xml

Lines changed: 0 additions & 29 deletions
This file was deleted.

WordPress/src/jetpack/res/values-cy/strings.xml

Lines changed: 0 additions & 29 deletions
This file was deleted.

WordPress/src/jetpack/res/values-da/strings.xml

Lines changed: 0 additions & 29 deletions
This file was deleted.

WordPress/src/jetpack/res/values-el/strings.xml

Lines changed: 0 additions & 29 deletions
This file was deleted.

WordPress/src/jetpack/res/values-en-rAU/strings.xml

Lines changed: 0 additions & 29 deletions
This file was deleted.

WordPress/src/jetpack/res/values-en-rCA/strings.xml

Lines changed: 0 additions & 29 deletions
This file was deleted.

WordPress/src/jetpack/res/values-en-rGB/strings.xml

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)