There is a bug in the Wikipedia app on Android in the "Activity" tab when using Russian language localization. In the section "Impact of your contributions over time," in the area highlighted in red on the screenshot, it says "59 дней" (meaning "59 days"), while it should be "59 правок" (meaning "59 edits").
Description
Description
Event Timeline
Comment Actions
You should fix this at/on translatewiki - https://translatewiki.net/wiki/Wikimedia:Wikipedia-android-strings-suggested_edits_edit_streak_detail_text/ru
The message is currently
{{PLURAL|one=%d день|few=%d дня|many=%d дней|%d дней}}This comment was removed by Pppery.
Comment Actions
Actually I think this is a real bug in the android app, not related to translatewiki.
longestEditingStreak = impact.longestEditingStreak?.totalEditCountForPeriod ?: 0,
[...]
Hence longestEditingStreak is a number of edits, assuming totalEditCountForPeriod does what it is supposed to do.
val bestStreakString = if (longestEditingStreak > 0) {
pluralStringResource(R.plurals.activity_tab_impact_best_streak_text, longestEditingStreak, longestEditingStreak)However, when you try to decode that resource ...
{{PLURAL|one=%d day|%d days}}It's passing an expected number of days to translatewiki, not a number of edits.
Comment Actions
Good catch -- that number is indeed supposed to be the longest streak of days that you've made edits, not the total edits during those days. Not a problem with the localization, just the incorrect number getting plugged in.
