Skip to content

Commit 6d6bc44

Browse files
committed
Merge branch 'trunk' into issue/16491-fix-percent-sign-localized
2 parents 0a53564 + 7079342 commit 6d6bc44

File tree

161 files changed

+1337
-1122
lines changed

Some content is hidden

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

161 files changed

+1337
-1122
lines changed

Gemfile.lock

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@ GEM
1313
artifactory (3.0.15)
1414
atomos (0.1.3)
1515
aws-eventstream (1.2.0)
16-
aws-partitions (1.568.0)
17-
aws-sdk-core (3.130.0)
16+
aws-partitions (1.631.0)
17+
aws-sdk-core (3.148.0)
1818
aws-eventstream (~> 1, >= 1.0.2)
1919
aws-partitions (~> 1, >= 1.525.0)
2020
aws-sigv4 (~> 1.1)
21-
jmespath (~> 1.0)
22-
aws-sdk-kms (1.55.0)
21+
jmespath (~> 1, >= 1.6.1)
22+
aws-sdk-kms (1.58.0)
2323
aws-sdk-core (~> 3, >= 3.127.0)
2424
aws-sigv4 (~> 1.1)
25-
aws-sdk-s3 (1.113.0)
25+
aws-sdk-s3 (1.114.0)
2626
aws-sdk-core (~> 3, >= 3.127.0)
2727
aws-sdk-kms (~> 1)
2828
aws-sigv4 (~> 1.4)
29-
aws-sigv4 (1.4.0)
29+
aws-sigv4 (1.5.1)
3030
aws-eventstream (~> 1, >= 1.0.2)
3131
babosa (1.0.4)
3232
bigdecimal (1.4.4)
@@ -45,10 +45,10 @@ GEM
4545
rake (>= 12.0.0, < 14.0.0)
4646
domain_name (0.5.20190701)
4747
unf (>= 0.0.5, < 1.0.0)
48-
dotenv (2.7.6)
48+
dotenv (2.8.1)
4949
emoji_regex (3.2.3)
50-
excon (0.92.0)
51-
faraday (1.10.1)
50+
excon (0.92.4)
51+
faraday (1.10.2)
5252
faraday-em_http (~> 1.0)
5353
faraday-em_synchrony (~> 1.0)
5454
faraday-excon (~> 1.1)
@@ -77,7 +77,7 @@ GEM
7777
faraday_middleware (1.2.0)
7878
faraday (~> 1.0)
7979
fastimage (2.2.6)
80-
fastlane (2.205.0)
80+
fastlane (2.210.0)
8181
CFPropertyList (>= 2.3, < 4.0.0)
8282
addressable (>= 2.8, < 3.0.0)
8383
artifactory (~> 3.0)
@@ -116,7 +116,7 @@ GEM
116116
xcodeproj (>= 1.13.0, < 2.0.0)
117117
xcpretty (~> 0.3.0)
118118
xcpretty-travis-formatter (>= 0.0.3)
119-
fastlane-plugin-wpmreleasetoolkit (5.4.0)
119+
fastlane-plugin-wpmreleasetoolkit (5.5.0)
120120
activesupport (~> 5)
121121
bigdecimal (~> 1.4)
122122
buildkit (~> 1.5)
@@ -136,9 +136,9 @@ GEM
136136
git (1.12.0)
137137
addressable (~> 2.8)
138138
rchardet (~> 1.8)
139-
google-apis-androidpublisher_v3 (0.16.0)
140-
google-apis-core (>= 0.4, < 2.a)
141-
google-apis-core (0.7.0)
139+
google-apis-androidpublisher_v3 (0.26.0)
140+
google-apis-core (>= 0.7, < 2.a)
141+
google-apis-core (0.8.0)
142142
addressable (~> 2.5, >= 2.5.1)
143143
googleauth (>= 0.16.2, < 2.a)
144144
httpclient (>= 2.8.1, < 3.a)
@@ -149,17 +149,17 @@ GEM
149149
webrick
150150
google-apis-iamcredentials_v1 (0.13.0)
151151
google-apis-core (>= 0.7, < 2.a)
152-
google-apis-playcustomapp_v1 (0.7.0)
153-
google-apis-core (>= 0.4, < 2.a)
152+
google-apis-playcustomapp_v1 (0.10.0)
153+
google-apis-core (>= 0.7, < 2.a)
154154
google-apis-storage_v1 (0.17.0)
155155
google-apis-core (>= 0.7, < 2.a)
156156
google-cloud-core (1.6.0)
157157
google-cloud-env (~> 1.0)
158158
google-cloud-errors (~> 1.0)
159159
google-cloud-env (1.6.0)
160160
faraday (>= 0.17.3, < 3.0)
161-
google-cloud-errors (1.2.0)
162-
google-cloud-storage (1.38.0)
161+
google-cloud-errors (1.3.0)
162+
google-cloud-storage (1.41.0)
163163
addressable (~> 2.8)
164164
digest-crc (~> 0.4)
165165
google-apis-iamcredentials_v1 (~> 0.1)
@@ -175,17 +175,17 @@ GEM
175175
os (>= 0.9, < 2.0)
176176
signet (>= 0.16, < 2.a)
177177
highline (2.0.3)
178-
http-cookie (1.0.4)
178+
http-cookie (1.0.5)
179179
domain_name (~> 0.5)
180180
httpclient (2.8.3)
181181
i18n (1.12.0)
182182
concurrent-ruby (~> 1.0)
183183
jmespath (1.6.1)
184-
json (2.6.1)
184+
json (2.6.2)
185185
jsonlint (0.3.0)
186186
oj (~> 3)
187187
optimist (~> 3)
188-
jwt (2.4.1)
188+
jwt (2.5.0)
189189
memoist (0.16.2)
190190
mini_magick (4.11.0)
191191
mini_mime (1.1.2)
@@ -201,7 +201,7 @@ GEM
201201
octokit (4.25.1)
202202
faraday (>= 1, < 3)
203203
sawyer (~> 0.9)
204-
oj (3.13.20)
204+
oj (3.13.21)
205205
optimist (3.0.1)
206206
options (2.3.2)
207207
optparse (0.1.1)
@@ -253,11 +253,11 @@ GEM
253253
uber (0.1.0)
254254
unf (0.1.4)
255255
unf_ext
256-
unf_ext (0.0.8.1)
256+
unf_ext (0.0.8.2)
257257
unicode-display_width (1.8.0)
258258
webrick (1.7.0)
259259
word_wrap (1.0.0)
260-
xcodeproj (1.21.0)
260+
xcodeproj (1.22.0)
261261
CFPropertyList (>= 2.3.3, < 4.0)
262262
atomos (~> 0.1.3)
263263
claide (>= 1.0.2, < 2.0)

RELEASE-NOTES.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
*** PLEASE FOLLOW THIS FORMAT: [<priority indicator, more stars = higher priority>] <description> [<PR URL>]
22

3+
20.9
4+
-----
5+
6+
37
20.8
48
-----
59
* [**] Stats: Always use Western Arabic numerals in Arabic languages (previously there was a mix of Eastern and Western Arabic numerals) [https://github.com/wordpress-mobile/WordPress-Android/pull/17160]

WordPress/jetpack_metadata/PlayStoreStrings.po

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ msgstr ""
1111
"Project-Id-Version: Jetpack - Apps - Android - Release Notes\n"
1212

1313
#. translators: Release notes for this version to be displayed in the Play Store. Limit to 500 characters including spaces and commas!
14+
msgctxt "release_note_208"
15+
msgid ""
16+
"20.8:\n"
17+
"We added dynamic widgets to show at-a-glance, all-time, and daily stats on user devices’ home screens.\n"
18+
"Users on multi-author sites can change content authors in post and page settings.\n"
19+
"Arabic language users will see numerals on Stats screens exclusively in Western Arabic numbers.\n"
20+
msgstr ""
21+
1422
msgctxt "release_note_207"
1523
msgid ""
1624
"20.7:\n"
@@ -20,13 +28,6 @@ msgid ""
2028
"- Certain elements of the editor and post settings are now WordPress blue\n"
2129
msgstr ""
2230

23-
msgctxt "release_note_206"
24-
msgid ""
25-
"20.6:\n"
26-
"- You can now log in to the app using an email address that contains a special character.\n"
27-
"- Preloading themes no longer crash the app during Site Creation. Whew.\n"
28-
msgstr ""
29-
3031
#. translators: Title to be displayed in the Play Store. Limit to 30 characters including spaces and commas!
3132
msgctxt "play_store_app_title"
3233
msgid "Jetpack – Website Builder"
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
- Jetpack widgets are now available on your device’s home screen
2-
- Media preview controls are visible in both light and dark mode
3-
- Compose theme’s Login Code screen has better color contrast
4-
- Certain elements of the editor and post settings are now WordPress blue
1+
We added dynamic widgets to show at-a-glance, all-time, and daily stats on user devices’ home screens.
2+
Users on multi-author sites can change content authors in post and page settings.
3+
Arabic language users will see numerals on Stats screens exclusively in Western Arabic numbers.

WordPress/metadata/PlayStoreStrings.po

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ msgstr ""
1111
"Project-Id-Version: Release Notes & Play Store Descriptions\n"
1212

1313
#. translators: Release notes for this version to be displayed in the Play Store. Limit to 500 characters including spaces and commas!
14+
msgctxt "release_note_208"
15+
msgid ""
16+
"20.8:\n"
17+
"Users on multi-author sites can change content authors in post and page settings.\n"
18+
"Arabic language users will now see numerals on Stats screens exclusively in Western Arabic numbers—no more mix and match with Eastern Arabic numbers.\n"
19+
msgstr ""
20+
1421
msgctxt "release_note_207"
1522
msgid ""
1623
"20.7:\n"
@@ -19,14 +26,6 @@ msgid ""
1926
"The Login Code screen in the Compose theme also has better color contrast for more readable text. Shiny.\n"
2027
msgstr ""
2128

22-
msgctxt "release_note_206"
23-
msgid ""
24-
"20.6:\n"
25-
"- You can now log in to the app using an email address that contains a special character.\n"
26-
"- Preloading themes no longer crash the app during Site Creation. Whew.\n"
27-
"- Power up—the Jetpack Powered banner is shown in lists of search results.\n"
28-
msgstr ""
29-
3029
#. translators: Shorter Release notes for this version to be displayed in the Play Store. Limit to 500 characters including spaces and commas!
3130
msgctxt "sample_post_content"
3231
msgid "The best moment of any trip, for me, is when I first step foot off the plane. The whole of the trip is in front me, ripe with possibility."

WordPress/metadata/release_notes.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
We can see clearly now—media preview controls (like the back button) are now visible in both light and dark mode.
2-
3-
The Login Code screen in the Compose theme also has better color contrast for more readable text. Shiny.
1+
Users on multi-author sites can change content authors in post and page settings.
2+
Arabic language users will now see numerals on Stats screens exclusively in Western Arabic numbers—no more mix and match with Eastern Arabic numbers.

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,7 @@
2929

3030
<!-- My Site Initial Tab Default value -->
3131
<string name="initial_screen_entry_value_default_key" translatable="false">@string/initial_screen_entry_value_home</string>
32+
33+
<!-- Share button in Me -->
34+
<string name="me_btn_share">Share Jetpack with a friend</string>
3235
</resources>

WordPress/src/main/java/org/wordpress/android/ui/bloggingprompts/onboarding/BloggingPromptsOnboardingUiStateMapper.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ class BloggingPromptsOnboardingUiStateMapper @Inject constructor() {
2727
)
2828

2929
val trailingLabel = UiStringPluralRes(
30-
R.plurals.my_site_blogging_prompt_card_number_of_answers,
30+
0,
31+
R.string.my_site_blogging_prompt_card_number_of_answers_one,
32+
R.string.my_site_blogging_prompt_card_number_of_answers_other,
3133
dummyRespondents.size
3234
)
3335

WordPress/src/main/java/org/wordpress/android/ui/main/MeFragment.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class MeFragment : Fragment(R.layout.me_fragment), OnScrollToTopListener {
126126
setTitle(packageManager.getActivityInfo(componentName, PackageManager.GET_META_DATA).labelRes)
127127
}
128128
}
129-
129+
130130
if (jetpackBrandingUtils.shouldShowJetpackBranding()) {
131131
jetpackBadge.isVisible = true
132132
if (jetpackBrandingUtils.shouldShowJetpackPoweredBottomSheet()) {
@@ -244,8 +244,7 @@ class MeFragment : Fragment(R.layout.me_fragment), OnScrollToTopListener {
244244
}
245245

246246
private fun MeFragmentBinding.initRecommendUiState() {
247-
// Limiting the feature to WordPress only in this v1
248-
if (recommendTheAppFeatureConfig.isEnabled() && !BuildConfig.IS_JETPACK_APP) {
247+
if (recommendTheAppFeatureConfig.isEnabled()) {
249248
setRecommendLoadingState(false)
250249
recommendTheAppContainer.visibility = View.VISIBLE
251250
rowRecommendTheApp.setOnClickListener {

WordPress/src/main/java/org/wordpress/android/ui/mysite/cards/dashboard/bloggingprompts/BloggingPromptCardBuilder.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ import javax.inject.Inject
1313
class BloggingPromptCardBuilder @Inject constructor() {
1414
fun build(params: BloggingPromptCardBuilderParams) = params.bloggingPrompt?.let {
1515
val trailingLabel = UiStringPluralRes(
16-
R.plurals.my_site_blogging_prompt_card_number_of_answers,
16+
0,
17+
R.string.my_site_blogging_prompt_card_number_of_answers_one,
18+
R.string.my_site_blogging_prompt_card_number_of_answers_other,
1719
params.bloggingPrompt.respondentsCount
1820
)
1921

0 commit comments

Comments
 (0)