sugarlabs / sugar

Sugar GTK shell
GNU General Public License v3.0
255 stars 241 forks source link

Strings with unnamed arguments cannot be properly localised #807

Closed quozl closed 5 years ago

quozl commented 5 years ago

While regenerating the POT file (e.g. 4e551f0330cf9db5023644cf32a9c012f7a119c9), warnings are issued for three source code lines;

src/jarabe/controlpanel/cmd.py:27
src/jarabe/frame/activitiestray.py:627
src/jarabe/view/alerts.py:38

The warnings issued are;

warning: 'msgid' format string with unnamed arguments cannot be properly localized: The translator cannot reorder the arguments. Please consider using a format string with named arguments, and a mapping instead of a tuple for the arguments.