String change request in views.py
Sorry, my knowledge of Python is limited.
For the following sentence, I need to change the word order to translate it into Turkish properly. As far as I know, Python does not allow changing the string order with the $
sign.
_("Statistics successfully updated for branch %s of module %s") % (branch.name, branch.module.name),
https://gitlab.gnome.org/Infrastructure/damned-lies/-/blob/master/stats/views.py?ref_type=heads#L206
Could you use a named variable, as shown in the following example?
msg += gettext(" Additionally, the synchronization with the %(name)s branch succeeded.") % {"name": main_branch.name}