Fix i18n
This commit is contained in:
parent
7456210772
commit
612a715efc
@ -121,7 +121,7 @@ $i18n['confirm'] = 'Confirm';
|
||||
$i18n['a_bill'] = 'a bill';
|
||||
$i18n['doesnt_exist'] = "doesn't exist";
|
||||
$i18n['deleted_user'] = 'Deleted user';
|
||||
$i18n['confirm_payback'] = "Are you sure you want to confirm this payback? This action can't be undone easily.";
|
||||
$i18n['confirm_global_payback'] = "Are you sure you want to confirm this payback? This action can't be undone easily.";
|
||||
$i18n['go_back_list_global_paybacks'] = 'Go back to global paybacks list';
|
||||
$i18n['submit'] = 'Submit';
|
||||
|
||||
|
@ -121,7 +121,7 @@ $i18n['confirm'] = 'Confirmer';
|
||||
$i18n['a_bill'] = 'une dépense';
|
||||
$i18n['doesnt_exist'] = "n'existe pas";
|
||||
$i18n['deleted_user'] = 'Utilisateur supprimé';
|
||||
$i18n['confirm_payback'] = "Êtes-vous sûr de vouloir confirmer ce remboursement ? Cette action ne peut pas être annulée simplement.";
|
||||
$i18n['confirm_global_payback'] = "Êtes-vous sûr de vouloir confirmer ce remboursement ? Cette action ne peut pas être annulée simplement.";
|
||||
$i18n['go_back_list_global_paybacks'] = 'Retour à la liste des remboursements globaux';
|
||||
$i18n['submit'] = 'Envoyer';
|
||||
|
||||
|
@ -1188,7 +1188,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
if($balances[$user1->getId()][$user2->getId()] == 0) {
|
||||
if(abs($balances[$user1->getId()][$user2->getId()]) < 0.01) {
|
||||
$balances[$user1->getId()][$user2->getId()] = '-';
|
||||
$balances[$user2->getId()][$user1->getId()] = '-';
|
||||
}
|
||||
|
@ -75,8 +75,8 @@
|
||||
amount INT(11),
|
||||
from_user INT(11),
|
||||
FOREIGN KEY (from_user) REFERENCES '.$mysql_prefix.'Users(id) ON DELETE CASCADE,
|
||||
to_user INT(11)
|
||||
FOREIGN KEY (to_user) REFERENCES '.$mysql_prefix.'Users(id) ON DELETE CASCADE,
|
||||
to_user INT(11),
|
||||
FOREIGN KEY (to_user) REFERENCES '.$mysql_prefix.'Users(id) ON DELETE CASCADE
|
||||
) DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci');
|
||||
|
||||
// Create table "GlobalPaybacks"
|
||||
|
@ -41,7 +41,7 @@
|
||||
{else}
|
||||
<td>
|
||||
{if condition="$table[$key1][$key2] != 0"}
|
||||
<a href="?do=confirm_global_paybacks&from={$key1}&to={$key2}&payback_id={$global_paybacks->getId()}&token={$token}" title="Confirm payback" onclick="return confirm("{$i18n['confirm_payback']}");">{$table[$key1][$key2]}</a>
|
||||
<a href="?do=confirm_global_paybacks&from={$key1}&to={$key2}&payback_id={$global_paybacks->getId()}&token={$token}" title="Confirm payback" onclick="return confirm("{$i18n['confirm_global_payback']}");">{$table[$key1][$key2]}</a>
|
||||
{else}
|
||||
-
|
||||
{/if}
|
||||
|
Loading…
Reference in New Issue
Block a user