Comments (9)
Comment Author: @mathjazz
*** Bug #1310480 has been marked as a duplicate of this bug. ***
from pontoon.
Comment Author: @mathjazz
*** Bug #1324350 has been marked as a duplicate of this bug. ***
from pontoon.
Comment Author: @mathjazz
Possibly the most common reason for stats discrepancies currently is caused by duplicate approved translations submitted for the same string within a locale. It shouldn't be to hard to fix this when counting stats, but we should prevent duplicate submissions in first place.
from pontoon.
Comment Author: @mathjazz
*** Bug #1357176 has been marked as a duplicate of this bug. ***
from pontoon.
Comment Author: @TheoChevalier
Commenting here, because I think I’m seeing something related, but different from the temporary stats issue that is solved at next sync.
Thunderbird is displayed as 100% - 0 missing strings, several days after strings have landed: https://pontoon.mozilla.org/fr/thunderbird/ while we can see the strings here https://pontoon.mozilla.org/fr/thunderbird/all-resources/?status=missing
If people are not paying attention to Elmo (which is the case…), they could theoretically miss deadlines.
from pontoon.
Comment Author: @mathjazz
Thanks for reporting, Théo!
This type of error seems to be the subset of type #1 mentioned above. When translated strings are removed, we fail to reduce the number of translated strings in stats - and as a consequence, we also fail to increase the number of missing strings. In this subset case, the number of added and removed strings is the same, so we should 0 missing strings if the file was previously translated.
I've found two occurences:
https://hg.mozilla.org/users/m_owca.info/thunderbird-central/rev/318639affa08
https://hg.mozilla.org/users/m_owca.info/firefox-central/diff/37193f8be622/devtools/client/aboutdebugging.properties
For now, I've fixed stats by running calculate_stats() for all of the affected files for all locales.
I'm taking this bug now, because as you mentioned, it could have quite critical implications.
from pontoon.
Comment Author: @mathjazz
An observation for projects with in-context l10n: stats for the Subpage can be OK, while stats for ProjectLocale aren't.
Such situations (along with some other mentioned above) are likely to get fixed on the following sync.
from pontoon.
Comment Author: @github-actions
Commit pushed to master at https://github.com/mozilla/pontoon
747d91a
Bug #1310668: Recalculate stats when sync completes (#621)
from pontoon.
Comment Author: @mathjazz
This ^^ works well for now, but is obviously just a temporary fix.
from pontoon.
Related Issues (20)
- Can't save term translation after updating the term's text in DB HOT 1
- Update Django to the latest patch release
- Prefetch `latest_translation__approved_user` to speed up Latest Activity data
- Include more activities in Latest activity column
- Optimize logic to retrieve Resources in the Localization dashboard
- Add search field to Tags dashboards
- Refactor and redesign Tags Admin
- Enable opt-in consents for email communication and create an Unsubscribe page
- Integrate debug_sql()
- Hitting a server error when accessing a Tag page of a Tag without any resoures associated to it
- Strings updated in INI file keep validated in pontoon HOT 2
- Headers on /contributors and /insights pages are cached
- Allow admins to disable users from their profile, and provide a motivation HOT 1
- Regularly purge unused database data HOT 9
- Docs are failing to build
- Docs are failing to build due to conflicting dependencies
- Increase cache hit rate
- Speed up Project Notifications tab
- String displayed even if not matching filters
- Add an option to filter strings by creation date
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pontoon.