Project

General

Profile

Actions

Bug #10331

closed

French language give a Warning: sprintf(): in system_advanced_admin.php

Added by Anthony hesnaux almost 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Category:
Translations
Target version:
Start date:
03/10/2020
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.5.0
Affected Architecture:

Description

Hello all,
If you select French langage and you go to "system_advanced_admin.php" page you have this warning and it's generate crash repport on dashboard

Warning: sprintf(): Argument number must be greater than zero in /usr/local/www/classes/Form/Input.class.php on line 125

can you solve this ?

Thank you

Best Regards

Actions #1

Updated by Jim Pingle almost 5 years ago

  • Category set to Translations
  • Assignee set to Renato Botelho

A string in the French translation file is broken.

It is:

"pour l'interface dans la console permet de réarmer ce paramètre%$3$s"

It should be:

"pour l'interface dans la console permet de réarmer ce paramètre%3$s"

Note the difference is in the sprintf placeholder, which should be %3$s.

Actions #2

Updated by Jim Pingle almost 5 years ago

  • Target version set to 2.4.5
Actions #3

Updated by Renato Botelho almost 5 years ago

Fixed at Zanata and a direct commit to 2.4.5

Actions #4

Updated by Renato Botelho almost 5 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #5

Updated by Jim Pingle almost 5 years ago

  • Status changed from Feedback to New
  • Target version changed from 2.4.5 to 2.5.0
  • Affected Version changed from 2.4.5 to 2.5.0

Working fine on 2.4.5 as of 2.4.5.r.20200311.0600

2.5.0 (2.5.0.a.20200311.0759) still produces an error. Since it's OK on 2.4.5, I'll retarget this to make sure it gets caught before 2.5.0 is done. It should happen naturally next time the translation files are updated there.

Actions #6

Updated by Anthony hesnaux almost 5 years ago

Jim Pingle wrote:

Working fine on 2.4.5 as of 2.4.5.r.20200311.0600

2.5.0 (2.5.0.a.20200311.0759) still produces an error. Since it's OK on 2.4.5, I'll retarget this to make sure it gets caught before 2.5.0 is done. It should happen naturally next time the translation files are updated there.

Hello All,
It's OK for me too.
Thank you for your help.

Best Regards

Anthony

Actions #7

Updated by Renato Botelho almost 5 years ago

Jim Pingle wrote:

Working fine on 2.4.5 as of 2.4.5.r.20200311.0600

2.5.0 (2.5.0.a.20200311.0759) still produces an error. Since it's OK on 2.4.5, I'll retarget this to make sure it gets caught before 2.5.0 is done. It should happen naturally next time the translation files are updated there.

I've fixed string at Zanata, it will work on 2.5.0 after the next round of translation updates

Actions #8

Updated by Renato Botelho over 4 years ago

  • Status changed from New to Feedback
Actions #9

Updated by Renato Botelho over 4 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF