mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 16:44:55 +00:00
Use named arguments for all gettext strings which have more than 1 argument (again closes #161)
This commit is contained in:
@@ -168,7 +168,7 @@ $('.input-group-qu').on('change', function(e)
|
||||
|
||||
if (factor > 1)
|
||||
{
|
||||
$('#qu-conversion-info').text(__t('This means 1 %s purchased will be converted into %s %s in stock', $("#qu_id_purchase option:selected").text(), (1 * factor).toString(), $("#qu_id_stock option:selected").text()));
|
||||
$('#qu-conversion-info').text(__t('This means 1 %1$s purchased will be converted into %2$s %3$s in stock', $("#qu_id_purchase option:selected").text(), (1 * factor).toString(), $("#qu_id_stock option:selected").text()));
|
||||
$('#qu-conversion-info').removeClass('d-none');
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user