Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: kissifrot/BestWishes
base: baf7e77bf3
...
head fork: kissifrot/BestWishes
compare: 08f58d85e1
  • 2 commits
  • 10 files changed
  • 0 commit comments
  • 1 contributor
8 index.php
View
@@ -11,11 +11,19 @@
if(BwUser::checkSession()) {
$user = BwUser::getInstance();
$disp = new BwSessionDisplay($user->getTheme()->shortName, $user);
+ // Adjust the welcome message
+ $welcomeMsg = sprintf(_('Welcome <b>%s</b>'), $user->name);
+ if(!empty($_SESSION['last_login'])) {
+ $welcomeMsg .= sprintf(_(', your last visit was on %s'), date(_('m/d/Y'), strtotime($_SESSION['last_login'])));
+ }
+ $disp->assign('lngUserWelcomeMessage', $welcomeMsg);
} else {
$disp = new BwDisplay(BwConfig::get('theme', 'default'));
}
// Translation strings
+$disp->assign('lngHomeInstructions', _('Choose a list to show in the left menu'));
$disp->assign('lngPasswordForgot', _('Forgot your password?'));
+$disp->assign('lngToLogin', _('To log in:'));
$disp->assign('lngLoginLabel', _('Login:'));
$disp->assign('lngLoginAction', _('Login'));
$disp->assign('lngPasswordLabel', _('Password:'));
3  lib/BwDisplay.class.php
View
@@ -49,12 +49,13 @@ public function __construct($theme = null)
$this->assign('lists', BwList::getAll());
// Translated strings
+
$this->assign('lngHomeLogin', _('Home/Login'));
$this->assign('lngHome', _('Home'));
+ $this->assign('lngBwDesciption', _('Management/visualization of wishlists'));
$this->assign('lngLists', _('Lists:'));
$this->assign('lngOptions', _('Options'));
$this->assign('lngLogout', _('Logout'));
- $this->assign('lngLogout', _('Logout'));
$this->assign('lngChangeOptions', _('Change your options'));
$this->assign('lngDateFormat', _('m/d/Y'));
$this->assign('lngPleaseWait', _('Please wait...'));
6 lib/BwUser.class.php
View
@@ -44,6 +44,9 @@ public function getTheme()
return $this->theme;
}
+ /**
+ *
+ */
public function login($username = '', $password = '')
{
$usernameTrim = trim($username);
@@ -293,6 +296,9 @@ private function storeAttributes($sqlResult)
$this->listParams = array();
}
+ /**
+ * Setup the session variables
+ */
private function setupSession()
{
$_SESSION['user_id'] = (int)$this->id;
2  lib/BwVersion.class.php
View
@@ -1,7 +1,7 @@
<?php
final class BwVersion
{
- const VERSION = '0.4';
+ const VERSION = '0.5';
protected static $_lastestVersion;
163 locale/en_US/LC_MESSAGES/bestwishes.po
View
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: BestWishes 0.1\n"
+"Project-Id-Version: BestWishes 0.5\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-03-29 19:18+0100\n"
-"PO-Revision-Date: 2012-03-29 19:23+0100\n"
+"POT-Creation-Date: 2012-03-30 18:25+0100\n"
+"PO-Revision-Date: 2012-03-30 18:26+0100\n"
"Last-Translator: Philippe Villiers <kissifrot@gmail.com>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -23,19 +23,19 @@ msgstr ""
#: lib/BwAdminDisplay.class.php:28
#: lib/BwAdminDisplay.class.php:40
-#: lib/BwDisplay.class.php:109
+#: lib/BwDisplay.class.php:110
msgid "Delete it"
msgstr ""
#: lib/BwAdminDisplay.class.php:29
#: lib/BwAdminDisplay.class.php:41
-#: lib/BwDisplay.class.php:110
+#: lib/BwDisplay.class.php:111
msgid "Cancel"
msgstr ""
#: lib/BwAdminDisplay.class.php:30
#: lib/BwAdminDisplay.class.php:42
-#: lib/BwDisplay.class.php:111
+#: lib/BwDisplay.class.php:112
msgid "Confirmation"
msgstr ""
@@ -48,239 +48,242 @@ msgstr ""
msgid "Are you sure you want to delete this user? His/her belonging list(s) will be deleted too"
msgstr ""
-#: lib/BwDisplay.class.php:52
+#: lib/BwDisplay.class.php:53
msgid "Home/Login"
msgstr ""
-#: lib/BwDisplay.class.php:53
+#: lib/BwDisplay.class.php:54
msgid "Home"
msgstr ""
-#: lib/BwDisplay.class.php:54
+#: lib/BwDisplay.class.php:55
+msgid "Management/visualization of wishlists"
+msgstr ""
+
+#: lib/BwDisplay.class.php:56
msgid "Lists:"
msgstr ""
-#: lib/BwDisplay.class.php:55
+#: lib/BwDisplay.class.php:57
msgid "Options"
msgstr ""
-#: lib/BwDisplay.class.php:56
-#: lib/BwDisplay.class.php:57
+#: lib/BwDisplay.class.php:58
msgid "Logout"
msgstr ""
-#: lib/BwDisplay.class.php:58
+#: lib/BwDisplay.class.php:59
msgid "Change your options"
msgstr ""
-#: lib/BwDisplay.class.php:59
+#: lib/BwDisplay.class.php:60
msgid "m/d/Y"
msgstr ""
-#: lib/BwDisplay.class.php:60
+#: lib/BwDisplay.class.php:61
msgid "Please wait..."
msgstr ""
-#: lib/BwDisplay.class.php:61
+#: lib/BwDisplay.class.php:62
msgid "Confirm"
msgstr ""
-#: lib/BwDisplay.class.php:62
+#: lib/BwDisplay.class.php:63
msgid "Could not load this tab"
msgstr ""
-#: lib/BwDisplay.class.php:91
+#: lib/BwDisplay.class.php:92
msgid "Possible actions:"
msgstr ""
-#: lib/BwDisplay.class.php:92
+#: lib/BwDisplay.class.php:93
msgid "(This list is still empty)"
msgstr ""
-#: lib/BwDisplay.class.php:93
+#: lib/BwDisplay.class.php:94
msgid "Details"
msgstr ""
-#: lib/BwDisplay.class.php:94
+#: lib/BwDisplay.class.php:95
msgid "Delete"
msgstr ""
-#: lib/BwDisplay.class.php:95
+#: lib/BwDisplay.class.php:96
msgid "Add"
msgstr ""
-#: lib/BwDisplay.class.php:96
-#: lib/BwDisplay.class.php:140
-#: lib/BwDisplay.class.php:143
+#: lib/BwDisplay.class.php:97
+#: lib/BwDisplay.class.php:141
+#: lib/BwDisplay.class.php:144
msgid "Edit"
msgstr ""
-#: lib/BwDisplay.class.php:97
+#: lib/BwDisplay.class.php:98
msgid "Delete category"
msgstr ""
-#: lib/BwDisplay.class.php:98
+#: lib/BwDisplay.class.php:99
msgid "Mark as bought"
msgstr ""
-#: lib/BwDisplay.class.php:99
+#: lib/BwDisplay.class.php:100
msgid "Mark as received"
msgstr ""
-#: lib/BwDisplay.class.php:100
-#: lib/BwDisplay.class.php:102
+#: lib/BwDisplay.class.php:101
+#: lib/BwDisplay.class.php:103
msgid "You cannot edit this gift name"
msgstr ""
-#: lib/BwDisplay.class.php:101
+#: lib/BwDisplay.class.php:102
msgid "Edit this gift name"
msgstr ""
-#: lib/BwDisplay.class.php:103
+#: lib/BwDisplay.class.php:104
msgid "The max edits count was reached for this gift, you cannot edit it anymore"
msgstr ""
-#: lib/BwDisplay.class.php:104
+#: lib/BwDisplay.class.php:105
msgid "The category name is too short"
msgstr ""
-#: lib/BwDisplay.class.php:105
+#: lib/BwDisplay.class.php:106
msgid "The gift name is too short"
msgstr ""
-#: lib/BwDisplay.class.php:106
+#: lib/BwDisplay.class.php:107
msgid "Are you sure you want to delete this gift? It cannot be undone"
msgstr ""
-#: lib/BwDisplay.class.php:107
+#: lib/BwDisplay.class.php:108
msgid "Deleting this category will delete all its gifts too. Are you sure?"
msgstr ""
-#: lib/BwDisplay.class.php:108
+#: lib/BwDisplay.class.php:109
msgid "Add anyway"
msgstr ""
-#: lib/BwDisplay.class.php:112
+#: lib/BwDisplay.class.php:113
msgid "Purchase confirmation"
msgstr ""
-#: lib/BwDisplay.class.php:113
+#: lib/BwDisplay.class.php:114
msgid "Confirm purchase"
msgstr ""
-#: lib/BwDisplay.class.php:114
+#: lib/BwDisplay.class.php:115
msgid "Tips:"
msgstr ""
-#: lib/BwDisplay.class.php:115
+#: lib/BwDisplay.class.php:116
msgid "Comment <em>(optional)</em>:"
msgstr ""
-#: lib/BwDisplay.class.php:116
+#: lib/BwDisplay.class.php:117
msgid "Gift:"
msgstr ""
-#: lib/BwDisplay.class.php:117
+#: lib/BwDisplay.class.php:118
msgid "Purchase information"
msgstr ""
-#: lib/BwDisplay.class.php:118
+#: lib/BwDisplay.class.php:119
msgid "Are you sure you want to mark this gift as received? The gift won't be visible after"
msgstr ""
-#: lib/BwDisplay.class.php:119
+#: lib/BwDisplay.class.php:120
msgid "Added on:"
msgstr ""
-#: lib/BwDisplay.class.php:120
+#: lib/BwDisplay.class.php:121
msgid "Purchase date:"
msgstr ""
-#: lib/BwDisplay.class.php:121
+#: lib/BwDisplay.class.php:122
msgid "Purchase info"
msgstr ""
-#: lib/BwDisplay.class.php:122
+#: lib/BwDisplay.class.php:123
msgid "Bought by:"
msgstr ""
-#: lib/BwDisplay.class.php:123
+#: lib/BwDisplay.class.php:124
msgid "On:"
msgstr ""
-#: lib/BwDisplay.class.php:124
+#: lib/BwDisplay.class.php:125
msgid "Comment:"
msgstr ""
-#: lib/BwDisplay.class.php:125
+#: lib/BwDisplay.class.php:126
msgid "Gift name:"
msgstr ""
-#: lib/BwDisplay.class.php:126
+#: lib/BwDisplay.class.php:127
msgid "Category name:"
msgstr ""
-#: lib/BwDisplay.class.php:127
+#: lib/BwDisplay.class.php:128
msgid "Gift category:"
msgstr ""
-#: lib/BwDisplay.class.php:130
+#: lib/BwDisplay.class.php:131
msgid "To add a category:<br />-&nbsp;Fill its name<br />-&nbsp;Click on the &#8220;Add the category&#8221; button below"
msgstr ""
-#: lib/BwDisplay.class.php:131
+#: lib/BwDisplay.class.php:132
msgid "To add a gift:<br />-&nbsp;Fill its name<br />-&nbsp;Choose its category<br />-&nbsp;If it does not exist, create it using &#8220;Add a category to the list&#8221; above<br />-&nbsp;Click on the &#8220;Add the gift&#8221; just below"
msgstr ""
-#: lib/BwDisplay.class.php:132
+#: lib/BwDisplay.class.php:133
#, php-format
msgid "To delete a gift, click on the %s icon next to it."
msgstr ""
-#: lib/BwDisplay.class.php:134
+#: lib/BwDisplay.class.php:135
#, php-format
msgid "To delete a category, click on the %s icon next to it.<br />%s Deleting a category will delete all its gifts."
msgstr ""
-#: lib/BwDisplay.class.php:136
+#: lib/BwDisplay.class.php:137
msgid "To add a surprise gift:<br />-&nbsp;Fill its name<br />-&nbsp;Choose its category<br />-&nbsp;Click on the &#8220;Add the gift&#8221; just below"
msgstr ""
-#: lib/BwDisplay.class.php:139
+#: lib/BwDisplay.class.php:140
#, php-format
msgid "To edit a gift name, click on the %s icon to the left of it.<br />Once you have finished the edition, click anywhere in the page or use Enter key to validate the modification(s)."
msgstr ""
-#: lib/BwDisplay.class.php:142
+#: lib/BwDisplay.class.php:143
#, php-format
msgid "To edit a gift name, click on the %s icon to the left of it.<br />Once you have finished the edition, click anywhere in the page or use Enter key to validate the modification(s).<br />%s The modifications allowed are limited."
msgstr ""
-#: lib/BwDisplay.class.php:147
+#: lib/BwDisplay.class.php:148
msgid "Add a category to the list"
msgstr ""
-#: lib/BwDisplay.class.php:148
+#: lib/BwDisplay.class.php:149
msgid "Add a gift (in an already existing category) to the list"
msgstr ""
-#: lib/BwDisplay.class.php:149
+#: lib/BwDisplay.class.php:150
msgid "Edit a gift's name"
msgstr ""
-#: lib/BwDisplay.class.php:150
+#: lib/BwDisplay.class.php:151
msgid "Delete a gift"
msgstr ""
-#: lib/BwDisplay.class.php:151
+#: lib/BwDisplay.class.php:152
msgid "Delete a category"
msgstr ""
-#: lib/BwDisplay.class.php:152
+#: lib/BwDisplay.class.php:153
msgid "Add a surprise gift (in an already existing category) to the list"
msgstr ""
-#: lib/BwDisplay.class.php:153
+#: lib/BwDisplay.class.php:154
msgid "Display the list as PDF"
msgstr ""
@@ -536,23 +539,41 @@ msgstr ""
msgid "Could not update this alert"
msgstr ""
-#: index.php:18
+#: index.php:15
+#, php-format
+msgid "Welcome <b>%s</b>"
+msgstr ""
+
+#: index.php:17
+#, php-format
+msgid ", your last visit was on %s"
+msgstr ""
+
+#: index.php:24
+msgid "Choose a list to show in the left menu"
+msgstr ""
+
+#: index.php:25
#: login.php:29
msgid "Forgot your password?"
msgstr ""
-#: index.php:19
+#: index.php:26
+msgid "To log in:"
+msgstr ""
+
+#: index.php:27
#: login.php:30
msgid "Login:"
msgstr ""
-#: index.php:20
+#: index.php:28
#: login.php:31
#: login.php:34
msgid "Login"
msgstr ""
-#: index.php:21
+#: index.php:29
#: login.php:32
msgid "Password:"
msgstr ""
BIN  locale/fr_FR/LC_MESSAGES/bestwishes.mo
View
Binary file not shown
173 locale/fr_FR/LC_MESSAGES/bestwishes.po
View
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: BestWishes 0.1\n"
+"Project-Id-Version: BestWishes 0.5\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-03-29 19:18+0100\n"
-"PO-Revision-Date: 2012-03-29 19:21+0100\n"
+"POT-Creation-Date: 2012-03-30 18:25+0100\n"
+"PO-Revision-Date: 2012-03-30 18:30+0100\n"
"Last-Translator: Philippe Villiers <kissifrot@gmail.com>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -23,19 +23,19 @@ msgstr "Etes-vous sûr(e) de vouloir supprimer cette liste ?"
#: lib/BwAdminDisplay.class.php:28
#: lib/BwAdminDisplay.class.php:40
-#: lib/BwDisplay.class.php:109
+#: lib/BwDisplay.class.php:110
msgid "Delete it"
msgstr "Supprimer"
#: lib/BwAdminDisplay.class.php:29
#: lib/BwAdminDisplay.class.php:41
-#: lib/BwDisplay.class.php:110
+#: lib/BwDisplay.class.php:111
msgid "Cancel"
msgstr "Annuler"
#: lib/BwAdminDisplay.class.php:30
#: lib/BwAdminDisplay.class.php:42
-#: lib/BwDisplay.class.php:111
+#: lib/BwDisplay.class.php:112
msgid "Confirmation"
msgstr "Confirmation"
@@ -48,239 +48,242 @@ msgstr "Vous devez remplir correctement les champs"
msgid "Are you sure you want to delete this user? His/her belonging list(s) will be deleted too"
msgstr "Etes-vous sûr(e) de vouloir supprimer cet utilisateur ? Sa/ses liste(s)"
-#: lib/BwDisplay.class.php:52
+#: lib/BwDisplay.class.php:53
msgid "Home/Login"
msgstr "Accueil/Connexion"
-#: lib/BwDisplay.class.php:53
+#: lib/BwDisplay.class.php:54
msgid "Home"
msgstr "Accueil"
-#: lib/BwDisplay.class.php:54
+#: lib/BwDisplay.class.php:55
+msgid "Management/visualization of wishlists"
+msgstr "Gestion/visualisation des listes de souhaits"
+
+#: lib/BwDisplay.class.php:56
msgid "Lists:"
msgstr "Listes :"
-#: lib/BwDisplay.class.php:55
+#: lib/BwDisplay.class.php:57
msgid "Options"
msgstr "Options"
-#: lib/BwDisplay.class.php:56
-#: lib/BwDisplay.class.php:57
+#: lib/BwDisplay.class.php:58
msgid "Logout"
msgstr "Déconnexion"
-#: lib/BwDisplay.class.php:58
+#: lib/BwDisplay.class.php:59
msgid "Change your options"
msgstr "Changez vos options"
-#: lib/BwDisplay.class.php:59
+#: lib/BwDisplay.class.php:60
msgid "m/d/Y"
msgstr "d/m/Y"
-#: lib/BwDisplay.class.php:60
+#: lib/BwDisplay.class.php:61
msgid "Please wait..."
msgstr "Veuillez patienter..."
-#: lib/BwDisplay.class.php:61
+#: lib/BwDisplay.class.php:62
msgid "Confirm"
msgstr "Confirmer"
-#: lib/BwDisplay.class.php:62
+#: lib/BwDisplay.class.php:63
msgid "Could not load this tab"
msgstr "Impossible de charger cet onglet"
-#: lib/BwDisplay.class.php:91
+#: lib/BwDisplay.class.php:92
msgid "Possible actions:"
msgstr "Actions possibles :"
-#: lib/BwDisplay.class.php:92
+#: lib/BwDisplay.class.php:93
msgid "(This list is still empty)"
msgstr "(La liste est encore vide)"
-#: lib/BwDisplay.class.php:93
+#: lib/BwDisplay.class.php:94
msgid "Details"
msgstr "Détails"
-#: lib/BwDisplay.class.php:94
+#: lib/BwDisplay.class.php:95
msgid "Delete"
msgstr "Supprimer"
-#: lib/BwDisplay.class.php:95
+#: lib/BwDisplay.class.php:96
msgid "Add"
msgstr "Ajouter"
-#: lib/BwDisplay.class.php:96
-#: lib/BwDisplay.class.php:140
-#: lib/BwDisplay.class.php:143
+#: lib/BwDisplay.class.php:97
+#: lib/BwDisplay.class.php:141
+#: lib/BwDisplay.class.php:144
msgid "Edit"
msgstr "Modifier"
-#: lib/BwDisplay.class.php:97
+#: lib/BwDisplay.class.php:98
msgid "Delete category"
msgstr "Supprimer la catégorie"
-#: lib/BwDisplay.class.php:98
+#: lib/BwDisplay.class.php:99
msgid "Mark as bought"
msgstr "Marquer comme acheté"
-#: lib/BwDisplay.class.php:99
+#: lib/BwDisplay.class.php:100
msgid "Mark as received"
msgstr "Marquer comme reçu"
-#: lib/BwDisplay.class.php:100
-#: lib/BwDisplay.class.php:102
+#: lib/BwDisplay.class.php:101
+#: lib/BwDisplay.class.php:103
msgid "You cannot edit this gift name"
msgstr "Vous ne pouvez pas éditer ce nom de cadeau"
-#: lib/BwDisplay.class.php:101
+#: lib/BwDisplay.class.php:102
msgid "Edit this gift name"
msgstr "Éditer le nom de ce cadeau"
-#: lib/BwDisplay.class.php:103
+#: lib/BwDisplay.class.php:104
msgid "The max edits count was reached for this gift, you cannot edit it anymore"
msgstr "Le nombre maximum d'édition a été atteint pour ce cadeau, vous ne pouvez plus le modifier"
-#: lib/BwDisplay.class.php:104
+#: lib/BwDisplay.class.php:105
msgid "The category name is too short"
msgstr "Le nom de la catégorie est trop court"
-#: lib/BwDisplay.class.php:105
+#: lib/BwDisplay.class.php:106
msgid "The gift name is too short"
msgstr "Le nom du cadeau est trop court"
-#: lib/BwDisplay.class.php:106
+#: lib/BwDisplay.class.php:107
msgid "Are you sure you want to delete this gift? It cannot be undone"
msgstr "Êtes-vous sûr(e) de vouloir supprimer ce cadeau ? La suppression est irréversible"
-#: lib/BwDisplay.class.php:107
+#: lib/BwDisplay.class.php:108
msgid "Deleting this category will delete all its gifts too. Are you sure?"
msgstr "Supprimer cette catégorie supprimera tous ses cadeaux. Êtes-vous sûr(e) ?"
-#: lib/BwDisplay.class.php:108
+#: lib/BwDisplay.class.php:109
msgid "Add anyway"
msgstr "Ajouter quand même"
-#: lib/BwDisplay.class.php:112
+#: lib/BwDisplay.class.php:113
msgid "Purchase confirmation"
msgstr "Confirmation d'achat"
-#: lib/BwDisplay.class.php:113
+#: lib/BwDisplay.class.php:114
msgid "Confirm purchase"
msgstr "Confirmer l'achat"
-#: lib/BwDisplay.class.php:114
+#: lib/BwDisplay.class.php:115
msgid "Tips:"
msgstr "Astuces :"
-#: lib/BwDisplay.class.php:115
+#: lib/BwDisplay.class.php:116
msgid "Comment <em>(optional)</em>:"
msgstr "Commentaire <em>(optionel)</em>:"
-#: lib/BwDisplay.class.php:116
+#: lib/BwDisplay.class.php:117
msgid "Gift:"
msgstr "Cadeau :"
-#: lib/BwDisplay.class.php:117
+#: lib/BwDisplay.class.php:118
msgid "Purchase information"
msgstr "Information sur l'achat"
-#: lib/BwDisplay.class.php:118
+#: lib/BwDisplay.class.php:119
msgid "Are you sure you want to mark this gift as received? The gift won't be visible after"
msgstr "Êtes-vous sûr(e) de vouloir marquer ce cadeau comme acheté ? Le cadeau ne sera plus visible"
-#: lib/BwDisplay.class.php:119
+#: lib/BwDisplay.class.php:120
msgid "Added on:"
msgstr "Ajouté le :"
-#: lib/BwDisplay.class.php:120
+#: lib/BwDisplay.class.php:121
msgid "Purchase date:"
msgstr "Date d'achat :"
-#: lib/BwDisplay.class.php:121
+#: lib/BwDisplay.class.php:122
msgid "Purchase info"
msgstr "Information sur l'achat"
-#: lib/BwDisplay.class.php:122
+#: lib/BwDisplay.class.php:123
msgid "Bought by:"
msgstr "Acheté par :"
-#: lib/BwDisplay.class.php:123
+#: lib/BwDisplay.class.php:124
msgid "On:"
msgstr "Le :"
-#: lib/BwDisplay.class.php:124
+#: lib/BwDisplay.class.php:125
msgid "Comment:"
msgstr "Commentaire :"
-#: lib/BwDisplay.class.php:125
+#: lib/BwDisplay.class.php:126
msgid "Gift name:"
msgstr "Nom du cadeau :"
-#: lib/BwDisplay.class.php:126
+#: lib/BwDisplay.class.php:127
msgid "Category name:"
msgstr "Nom de la catégorie"
-#: lib/BwDisplay.class.php:127
+#: lib/BwDisplay.class.php:128
msgid "Gift category:"
msgstr "Catégorie du cadeau :"
-#: lib/BwDisplay.class.php:130
+#: lib/BwDisplay.class.php:131
msgid "To add a category:<br />-&nbsp;Fill its name<br />-&nbsp;Click on the &#8220;Add the category&#8221; button below"
msgstr "Pour ajouter une catégorie :<br />-&nbsp;Remplissez son nom<br />-&nbsp;Cliquez sur le bouton &#8220;Ajouter la catégoriey&#8221; ci-dessous"
-#: lib/BwDisplay.class.php:131
+#: lib/BwDisplay.class.php:132
msgid "To add a gift:<br />-&nbsp;Fill its name<br />-&nbsp;Choose its category<br />-&nbsp;If it does not exist, create it using &#8220;Add a category to the list&#8221; above<br />-&nbsp;Click on the &#8220;Add the gift&#8221; just below"
msgstr "Pour ajouter un cadeau :<br />-&nbsp;Remplissez son nom<br />-&nbsp;Choisissez sa catégorie<br />-&nbsp;Si elle n'existe pas, créez-la en utilisant &#8220;Ajouter une catégorie à la liste&#8221; ci-dessus<br />-&nbsp;Cliquez sur le bouton &#8220;Ajouter le cadeau&#8221; ci-dessous"
-#: lib/BwDisplay.class.php:132
+#: lib/BwDisplay.class.php:133
#, php-format
msgid "To delete a gift, click on the %s icon next to it."
msgstr "Pour supprimer un cadeau, cliquez sur l'icône %s à côté de celui-ci"
-#: lib/BwDisplay.class.php:134
+#: lib/BwDisplay.class.php:135
#, php-format
msgid "To delete a category, click on the %s icon next to it.<br />%s Deleting a category will delete all its gifts."
msgstr "Pour supprimer une catégorie, cliquez sur l'icône %s à côté de celle-ci.<br />%s Supprimer une catégorie supprimera tous ses cadeaux."
-#: lib/BwDisplay.class.php:136
+#: lib/BwDisplay.class.php:137
msgid "To add a surprise gift:<br />-&nbsp;Fill its name<br />-&nbsp;Choose its category<br />-&nbsp;Click on the &#8220;Add the gift&#8221; just below"
msgstr "Pour ajouter un cadeau surprise :<br />-&nbsp;Remplissez son nom<br />-&nbsp;Choisissez sa catégorie<br />-&nbsp;Cliquez sur le bouton &#8220;Ajouter le cadeau&#8221; ci-dessous"
-#: lib/BwDisplay.class.php:139
+#: lib/BwDisplay.class.php:140
#, php-format
msgid "To edit a gift name, click on the %s icon to the left of it.<br />Once you have finished the edition, click anywhere in the page or use Enter key to validate the modification(s)."
msgstr "Pour éditerr le nom d'un cadeau, cliquez sur l'icône %s à la gauche de son nom.<br >Une fois que vous avez terminé l'édition, cliquez n'importe où dans la page ou utilisez la touche Entrée pour valider la modification."
-#: lib/BwDisplay.class.php:142
+#: lib/BwDisplay.class.php:143
#, php-format
msgid "To edit a gift name, click on the %s icon to the left of it.<br />Once you have finished the edition, click anywhere in the page or use Enter key to validate the modification(s).<br />%s The modifications allowed are limited."
msgstr "Pour éditerr le nom d'un cadeau, cliquez sur l'icône %s à la gauche de son nom.<br >Une fois que vous avez terminé l'édition, cliquez n'importe où dans la page ou utilisez la touche Entrée pour valider la modification.<br />%s Les modifications autorisées sont limitées."
-#: lib/BwDisplay.class.php:147
+#: lib/BwDisplay.class.php:148
msgid "Add a category to the list"
msgstr "Ajouter une catégorie à la liste"
-#: lib/BwDisplay.class.php:148
+#: lib/BwDisplay.class.php:149
msgid "Add a gift (in an already existing category) to the list"
msgstr "Ajouter un cadeau (dans une catégorie préexistante) à la liste"
-#: lib/BwDisplay.class.php:149
+#: lib/BwDisplay.class.php:150
msgid "Edit a gift's name"
msgstr "Editer le nom d'un cadeau"
-#: lib/BwDisplay.class.php:150
+#: lib/BwDisplay.class.php:151
msgid "Delete a gift"
msgstr "Supprimer un cadeau"
-#: lib/BwDisplay.class.php:151
+#: lib/BwDisplay.class.php:152
msgid "Delete a category"
msgstr "Supprimer une catégorie"
-#: lib/BwDisplay.class.php:152
+#: lib/BwDisplay.class.php:153
msgid "Add a surprise gift (in an already existing category) to the list"
msgstr "Ajouter un cadeau surprise (dans une catégorie préexistante) à la liste"
-#: lib/BwDisplay.class.php:153
+#: lib/BwDisplay.class.php:154
msgid "Display the list as PDF"
msgstr "Afficher la liste comme PDF"
@@ -492,7 +495,7 @@ msgstr "Affichage d'une liste : liste de %s"
#: list_show.php:55
#, php-format
msgid "Next event (%s): "
-msgstr "Prochain évènement (%s) :"
+msgstr "Prochain évènement (%s) : "
#: a_list_show.php:57
#: list_show.php:57
@@ -536,26 +539,44 @@ msgstr "Alerte mise à jour"
msgid "Could not update this alert"
msgstr "Impossible de mettre à jour cette alerte"
-#: index.php:18
+#: index.php:15
+#, php-format
+msgid "Welcome <b>%s</b>"
+msgstr "Bienvenue <b>%s</b>"
+
+#: index.php:17
+#, php-format
+msgid ", your last visit was on %s"
+msgstr ", votre dernière visite était le %s"
+
+#: index.php:24
+msgid "Choose a list to show in the left menu"
+msgstr "Choisissez une liste à voir dans le menu de gauche"
+
+#: index.php:25
#: login.php:29
msgid "Forgot your password?"
msgstr "Vous avez oublié votre mot de passe ?"
-#: index.php:19
+#: index.php:26
+msgid "To log in:"
+msgstr "Pour vous connecter :"
+
+#: index.php:27
#: login.php:30
msgid "Login:"
-msgstr ""
+msgstr "Identifiant :"
-#: index.php:20
+#: index.php:28
#: login.php:31
#: login.php:34
msgid "Login"
-msgstr ""
+msgstr "Se connecter"
-#: index.php:21
+#: index.php:29
#: login.php:32
msgid "Password:"
-msgstr ""
+msgstr "Mot de passe :"
#: install.php:42
msgid "Welcome"
@@ -602,7 +623,7 @@ msgstr "liste de %s"
#: admin/adm_lists.php:22
msgid "Lists management"
-msgstr ""
+msgstr "Gestion des listes"
#: admin/adm_lists.php:26
msgid "(Select an user)"
1  theme/default/tpl/header.tpl
View
@@ -5,6 +5,7 @@
<!--<meta http-equiv="Content-Language" content="fr" />-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex, nofollow" />
+ <meta name="description" content="{$lngBwDesciption}" />
<link rel="stylesheet" type="text/css" href="{$themeWebDir}/css/general.css" />
<link rel="stylesheet" type="text/css" href="{$themeWebDir}/css/jquery-ui.css" />
12 theme/default/tpl/home.tpl
View
@@ -1,16 +1,12 @@
-<strong>Management/visualization of wishlists</strong><br />
+<strong>{$lngBwDesciption}</strong><br />
{if $sessionOk}
<p>
- {if !empty($userLastLogin) }
- Welcome <b>{$user->name}</b>, your last visit was on {$userLastLogin|date_format:$lngDateFormat}
- {else}
- Welcome <b>{$user->name}</b>
- {/if}
+ {$lngUserWelcomeMessage}
</p>
- <p>Choose a list to show in the left menu</p>
+ <p>{$lngHomeInstructions}</p>
{else}
-<p>Choose a list to show in the left menu</p>
+<p>{$lngHomeInstructions}</p>
<div style="width: 300px; margin-left: auto; margin-right: auto; text-align: center">
{include file='login_form.tpl'}
</div>
2  theme/default/tpl/login_form.tpl
View
@@ -1,7 +1,7 @@
{if !empty($message)}
{include file='error_message.tpl'}
{/if}
-<br />To log in:</strong>
+<br />{$lngToLogin}</strong>
<form name="login" method="post" action="login.php">
<table border="0" width="300" cellpadding="5">
<tr><td align="left">&nbsp;&nbsp;{$lngLoginLabel}&nbsp;</td><td>

No commit comments for this range

Something went wrong with that request. Please try again.