Skip to content

Commit 409b776

Browse files
committed
Limit Jetpack locales to Mag16 (build.gradle)
See pxLjZ-7b9-p2#comment-19303
1 parent df47e27 commit 409b776

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

WordPress/build.gradle

Lines changed: 4 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.

0 commit comments

Comments
 (0)