Skip to content

Commit

Permalink
Merge pull request #5373 from grandoc/develop
Browse files Browse the repository at this point in the history
internationalization of code comment
  • Loading branch information
eldy committed Jun 20, 2016
2 parents 74f1994 + 0cc9904 commit a4d4cb2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions htdocs/adherents/card.php
Expand Up @@ -554,7 +554,7 @@
$result=$object->create($user);
if ($result > 0)
{
// Fundation categories
// Foundation categories
$memcats = GETPOST('memcats', 'array');
$object->setCategories($memcats);

Expand Down Expand Up @@ -1567,12 +1567,12 @@ function initfieldrequired()
if (! $adht->cotisation)
{
print $langs->trans("SubscriptionNotRecorded");
if ($object->statut > 0) print " ".img_warning($langs->trans("Late")); // Affiche picto retard uniquement si non brouillon et non resilie
if ($object->statut > 0) print " ".img_warning($langs->trans("Late")); // displays delay Pictogram only if not a draft and not terminated
}
else
{
print $langs->trans("SubscriptionNotReceived");
if ($object->statut > 0) print " ".img_warning($langs->trans("Late")); // Affiche picto retard uniquement si non brouillon et non resilie
if ($object->statut > 0) print " ".img_warning($langs->trans("Late")); // displays delay Pictogram only if not a draft and not terminated
}
}
print '</td></tr>';
Expand Down
8 changes: 4 additions & 4 deletions htdocs/admin/commande.php
Expand Up @@ -166,8 +166,8 @@
{
if (dolibarr_set_const($db, "COMMANDE_ADDON_PDF",$value,'chaine',0,'',$conf->entity))
{
// La constante qui a ete lue en avant du nouveau set
// on passe donc par une variable pour avoir un affichage coherent
// The constant that was read before the new set
// We therefore requires a variable to have a coherent view
$conf->global->COMMANDE_ADDON_PDF = $value;
}

Expand All @@ -181,8 +181,8 @@

else if ($action == 'setmod')
{
// TODO Verifier si module numerotation choisi peut etre active
// par appel methode canBeActivated
// TODO Check if numbering module chosen can be activated
// by calling method canBeActivated

dolibarr_set_const($db, "COMMANDE_ADDON",$value,'chaine',0,'',$conf->entity);
}
Expand Down

0 comments on commit a4d4cb2

Please sign in to comment.