Skip to content

Commit

Permalink
renamed project (al least on visible parts)
Browse files Browse the repository at this point in the history
  • Loading branch information
e-dot committed Jun 6, 2016
1 parent 47c230b commit cf3f283
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions app.js
Expand Up @@ -36,12 +36,12 @@ i18n.expressBind(app, {
// setup some locales - other locales default to en silently
locales: ['en', 'fr'],
// change the cookie name from 'lang' to 'locale'
cookieName: 'bibliopuce_locale'
cookieName: 'bcblibre_locale'
});

// local variables: title, main menu, etc...
app.locals.config = require('./setup/config');
app.locals.title = app.locals.config.application.title || "Bibliopuce";
app.locals.title = app.locals.config.application.title || "BDC Libre";

// view engine setup
app.set('views', path.join(__dirname, 'views'));
Expand All @@ -64,7 +64,7 @@ app.use('/static', express.static(__dirname + '/public'));
// This is how you'd set a locale from req.cookies.
// Don't forget to set the cookie either on the client or in your Express app.
app.use(function(req, res, next) {
console.log("I18N:setLocaleFromCookie: req.cookies.bibliopuce_locale=%s",req.cookies.bibliopuce_locale);
console.log("I18N:setLocaleFromCookie: req.cookies.bcblibre_locale=%s",req.cookies.bcblibre_locale);
req.i18n.setLocaleFromCookie();
next();
});
Expand Down
4 changes: 2 additions & 2 deletions bin/backup.desktop
Expand Up @@ -5,7 +5,7 @@ Version=1.0
Type=Application
Terminal=true
Icon[fr_FR]=gnome-panel-launcher
Name[fr_FR]=Bibliopuce - Sauvegarde
Name[fr_FR]=BCD Libre - Sauvegarde
Exec=bash /home/bibliopuce/bibliopuce/bin/backup.sh
Name=Bibliopuce - Sauvegarde
Name=BCD Libre - Sauvegarde
Icon=gnome-panel-launcher
4 changes: 2 additions & 2 deletions bin/start.desktop
Expand Up @@ -5,7 +5,7 @@ Version=1.0
Type=Application
Terminal=true
Icon[fr_FR]=gnome-panel-launcher
Name[fr_FR]=Bibliopuce - Démarrage
Name[fr_FR]=BCD Libre - Démarrage
Exec=bash /home/bibliopuce/bibliopuce/bin/start.sh
Name=Bibliopuce - Démarrage
Name=BCD Libre - Démarrage
Icon=gnome-panel-launcher
4 changes: 2 additions & 2 deletions bin/stop.desktop
Expand Up @@ -5,7 +5,7 @@ Version=1.0
Type=Application
Terminal=true
Icon[fr_FR]=gnome-panel-launcher
Name[fr_FR]=Bibliopuce - Arrêt
Name[fr_FR]=BCD Libre - Arrêt
Exec=bash /home/bibliopuce/bibliopuce/bin/stop.sh
Name=Bibliopuce - Arrêt
Name=BCD Libre - Arrêt
Icon=gnome-panel-launcher

0 comments on commit cf3f283

Please sign in to comment.