1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00

Merge branch 'dev' for release 2.5.4

This commit is contained in:
Sylvain 2017-05-04 13:00:12 +02:00
commit 090e445695
117 changed files with 24 additions and 114 deletions

View File

@ -1 +1 @@
2.5.3
2.5.4

View File

@ -1,5 +1,10 @@
# Changelog Fab Manager
## v2.5.4 2017 May 4
- Fix a bug: Unable to define application locale other than `fr` or `en`.
- [TODO DEPLOY] add `APP_LOCALE` environment variable (see README.md for configuration details)
## v2.5.3 2017 April 27
- Project view: added responsive support on external images
@ -13,7 +18,7 @@
## v2.5.1 2017 March 28
- hide spaces in admin's credit management if spaces are disabled
- Fix a bug : Can not display training tracking (this bug was introduced in version 2.5.0)
- Fix a bug: Can not display training tracking (this bug was introduced in version 2.5.0)
- [TODO DEPLOY] `rake assets:precompile`
## v2.5.0 2017 March 28

View File

@ -546,6 +546,12 @@ If you are in a development environment, your can keep the default values, other
<a name="i18n-settings"></a>
#### Settings
APP_LOCALE
Configure application's main localization and translation settings.
See `config/locales/app.*.yml` for a list of available locales. Default is **en**.
RAILS_LOCALE
Configure Ruby on Rails localization settings (currency, dates, number formats ...).

View File

@ -30,7 +30,7 @@
Fablab.gaId = "<%= Rails.application.secrets.google_analytics_id %>";
// i18n stuff
Fablab.locale = "<%= I18n.locale %>";
Fablab.locale = "<%= Rails.application.secrets.app_locale %>";
Fablab.moment_locale = "<%= Rails.application.secrets.moment_locale %>";
Fablab.summernote_locale = "<%= Rails.application.secrets.summernote_locale %>";
Fablab.fullcalendar_locale = "<%= Rails.application.secrets.fullcalendar_locale %>";

View File

@ -35,6 +35,7 @@ module Fablab
# /!\ ALL locales SHOULD be configured accordingly with this locale. /!\
#
config.i18n.default_locale = Rails.application.secrets.rails_locale
config.i18n.fallbacks = [Rails.application.secrets.app_locale, :en]
config.assets.paths << Rails.root.join('vendor', 'assets', 'components').to_s

View File

@ -41,6 +41,7 @@ TWITTER_ACCESS_TOKEN_SECRET: ''
FACEBOOK_APP_ID: ''
RAILS_LOCALE: 'fr'
APP_LOCALE: 'fr'
MOMENT_LOCALE: 'fr'
SUMMERNOTE_LOCALE: 'fr-FR'
ANGULAR_LOCALE: 'fr-fr'

View File

@ -1,4 +1,3 @@
---
af:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
ar:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
az:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
be:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
bg:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
bn:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
bs:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
ca:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
cs:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
csb:
date:
abbr_day_names:
- nie

View File

@ -1,4 +1,3 @@
---
cy:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
da:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
de-AT:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
de-CH:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
de-DE:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
de:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
dsb:
date:
abbr_day_names:
- Nj

View File

@ -1,4 +1,3 @@
---
el:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
en-AU:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
en-CA:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
en-GB:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
en-IE:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
en-IN:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
en-NZ:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
en-US:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
en-ZA:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
eo:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
es-419:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
es-AR:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
es-CL:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
es-CO:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
es-CR:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
es-DO:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
es-EC:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
es-ES:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
es-MX:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
es-PA:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
es-PE:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
es-US:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
es-VE:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
es:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
et:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
eu:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
fa:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
fi:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
fr-CA:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
fr-CH:
date:
abbr_day_names:
@ -10,7 +9,7 @@ fr-CH:
- ven
- sam
abbr_month_names:
-
-
- jan.
- fév.
- mar.
@ -36,7 +35,7 @@ fr-CH:
long: "%e %B %Y"
short: "%e %b"
month_names:
-
-
- janvier
- février
- mars
@ -133,6 +132,7 @@ fr-CH:
one: ne fait pas la bonne longueur (doit comporter un seul caractère)
other: ne fait pas la bonne longueur (doit comporter %{count} caractères)
other_than: doit être différent de %{count}
wrong_content_type: "ce type de contenu n'est pas autorisé"
template:
body: 'Veuillez vérifier les champs suivants : '
header:

View File

@ -1,4 +1,3 @@
---
fr-FR:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
fur:
date:
abbr_day_names:
- dom

View File

@ -1,4 +1,3 @@
---
gl:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
"gsw-CH":
date:
abbr_day_names:
- Su

View File

@ -1,4 +1,3 @@
---
he:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
hi-IN:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
hi:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
hr:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
hsb:
date:
abbr_day_names:
- Nj

View File

@ -1,4 +1,3 @@
---
hu:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
id:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
is:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
it-CH:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
it:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
ja:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
km:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
kn:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
ko:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
lb:
date:
abbr_day_names:
- Son

View File

@ -1,4 +1,3 @@
---
lo:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
lt:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
lv:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
mk:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
mn:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
mr-IN:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
ms:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
nb:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
ne:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
nl:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
nn:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
or:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
pa:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
# pap-AW copy of pap-CW and by no means correct. By M. Maduro for Suares & Co
pap-AW:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
# pap-CW by M. Madurao for Suares & Co
pap-CW:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
pl:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
pt-BR:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
pt:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
rm:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
ro:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
ru:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
scr:
date:
abbr_day_names:
- Ned

View File

@ -1,4 +1,3 @@
---
sk:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
sl:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
sq:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
sr:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
sv:
date:
abbr_day_names:

View File

@ -1,4 +1,3 @@
---
sw:
date:
abbr_day_names:

Some files were not shown because too many files have changed in this diff Show More