1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-01 08:26:53 +01:00

Fix minori

This commit is contained in:
Luca 2024-02-22 17:11:22 +01:00
parent 5334747609
commit 6a24c96952
2 changed files with 6 additions and 4 deletions

View File

@ -56,8 +56,9 @@ class InvoiceHook extends CachedManager
$link = base_path().'/controller.php?id_module='.$module->id.'#tab_'.$plugin->id;
}
$message = tr('Ci sono _NUM_ fatture passive da importare', [
'_NUM_' => $count,
$message = tr('_NUM_ fattur_A_ passiv_A_ da importare', [
'_NUM_' => (($count>1) ? tr('Ci sono'): tr('C\'é')).' '.$count,
'_A_' => (($count>1) ? tr('e'): tr('a'))
]);
return [

View File

@ -101,8 +101,9 @@ class ReceiptHook extends Manager
$total_number = $completed_number + (is_array($todo_cache->content) ? count($todo_cache->content) : 0);
// Messaggio di importazione
$message = tr('Sono state importate _NUM_ ricevute su _TOT_', [
'_NUM_' => $completed_number,
$message = tr('_NUM_ ricevut_A_ su _TOT_ totali', [
'_NUM_' => (($completed_number>1) ? tr('Sono state importate'): tr('E\' stata importata')).' '.$completed_number,
'_A_' => (($completed_number>1) ? tr('e'): tr('a')),
'_TOT_' => $total_number,
]);