-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
changes: consolidate action names #10135
Conversation
46808bb
to
0b56a27
Compare
I prefer these changes:
I am not sure about the last one. Please note there is a typo in Trasnlation |
@urbalazs Thanks for the feedback, I've applied your suggestions. |
weblate/trans/models/change.py
Outdated
# Using pgettext to differentiate from the plural | ||
# Translators: Name of event in the history | ||
( | ||
ACTION_NEW_STRING, | ||
pgettext_lazy("Name of event in the history", "New string to translate"), | ||
pgettext_lazy("Name of event in the history", "String added"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are two String added
after changing New string added
to String added
. It is needed to distinguish these two events.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, I think it's time to drop this event. Tracked separately at #10153
72c106a
to
90d0bf8
Compare
It was really doing just aggregation which can now be handled in the notification subsystem. Notification now triggers on ACTION_NEW_UNIT and is doing digests for users who had instant notification up to now. Fixes WeblateOrg#10153
Consistently use noun + verb past. Fixes WeblateOrg#9824
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #10135 +/- ##
==========================================
+ Coverage 90.86% 91.04% +0.18%
==========================================
Files 537 529 -8
Lines 55661 55507 -154
Branches 8832 8798 -34
==========================================
- Hits 50576 50536 -40
+ Misses 3536 3417 -119
- Partials 1549 1554 +5
|
Proposed changes
Consistently use noun + verb past.
Fixes #9824
Checklist
Other information