mirror of
https://github.com/grocy/grocy.git
synced 2025-10-15 09:46:03 +00:00
Use named arguments for all gettext strings which have more than 1 argument (again closes #161)
This commit is contained in:
@@ -107,7 +107,7 @@ $(document).on('click', '.track-charge-cycle-button', function(e)
|
||||
}
|
||||
|
||||
Grocy.FrontendHelpers.EndUiBusy();
|
||||
toastr.success(__t('Tracked charge cycle of battery %s on %s', batteryName, trackedTime));
|
||||
toastr.success(__t('Tracked charge cycle of battery %1$s on %2$s', batteryName, trackedTime));
|
||||
RefreshContextualTimeago();
|
||||
RefreshStatistics();
|
||||
},
|
||||
|
Reference in New Issue
Block a user