1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00

Portuguese adapted in app.*.pt.yml files

This commit is contained in:
Alex Coelho 2017-06-01 12:33:52 -03:00
parent 0ac53733c9
commit 3358ea227e
10 changed files with 8 additions and 117 deletions

View File

@ -1,69 +0,0 @@
# Add application configuration variables here, as shown below.
POSTGRES_HOST: localhost
POSTGRES_PASSWORD:
REDIS_HOST: localhost
ELASTICSEARCH_HOST: localhost
SECRET_KEY_BASE: 83daf5e7b80d990f037407bab78dff9904aaf3c195a50f84fa8695a22287e707dfbd9524b403b1dcf116ae1d8c06844c3d7ed942564e5b46be6ae3ead93a9d30
STRIPE_API_KEY:
STRIPE_PUBLISHABLE_KEY:
STRIPE_CURRENCY: 'eur'
INVOICE_PREFIX: Demo-FabLab-facture
FABLAB_WITHOUT_PLANS: 'false'
FABLAB_WITHOUT_SPACES: 'true'
DEFAULT_MAIL_FROM: Fab Manager Demo <noreply@fab-manager.com>
# For prod & staging env only
DEFAULT_HOST: fab-manager.com
DEFAULT_PROTOCOL: https
DELIVERY_METHOD: smtp
SMTP_ADDRESS:
SMTP_PORT: '587'
SMTP_USER_NAME:
SMTP_PASSWORD:
GA_ID: ''
##
ADMIN_EMAIL: 'admin@fab-manager.com'
ADMIN_PASSWORD: 'adminadmin'
DISQUS_SHORTNAME:
TWITTER_NAME: 'FablabGrenoble'
TWITTER_CONSUMER_KEY: ''
TWITTER_CONSUMER_SECRET: ''
TWITTER_ACCESS_TOKEN: ''
TWITTER_ACCESS_TOKEN_SECRET: ''
FACEBOOK_APP_ID: ''
RAILS_LOCALE: 'fr'
APP_LOCALE: 'fr'
MOMENT_LOCALE: 'fr'
SUMMERNOTE_LOCALE: 'fr-FR'
ANGULAR_LOCALE: 'fr-fr'
MESSAGEFORMAT_LOCALE: 'fr'
FULLCALENDAR_LOCALE: 'fr'
ELASTICSEARCH_LANGUAGE_ANALYZER: 'french'
TIME_ZONE: 'Paris'
WEEK_STARTING_DAY: 'monday'
D3_DATE_FORMAT: '%d/%m/%y'
UIB_DATE_FORMAT: 'dd/MM/yyyy'
EXCEL_DATE_FORMAT: 'dd/mm/yyyy'
OPENLAB_APP_SECRET:
OPENLAB_APP_ID:
OPENLAB_BASE_URI: 'https://openprojects.fab-manager.com'
LOG_LEVEL: 'debug'
ALLOWED_EXTENSIONS: pdf ai eps cad math svg stl dxf dwg obj step iges igs 3dm 3dmf doc docx png ino scad fcad skp sldprt sldasm slddrw slddrt tex latex ps
ALLOWED_MIME_TYPES: application/pdf application/postscript application/illustrator image/x-eps image/svg+xml application/sla application/dxf application/acad application/dwg application/octet-stream application/step application/iges model/iges x-world/x-3dmf application/vnd.openxmlformats-officedocument.wordprocessingml.document image/png text/x-arduino text/plain application/scad application/vnd.sketchup.skp application/x-koan application/vnd-koan koan/x-skm application/vnd.koan application/x-tex application/x-latex
# 10485760 = 10 megabytes
MAX_IMAGE_SIZE: '10485760'

View File

@ -1,39 +0,0 @@
development:
adapter: postgresql
host: localhost
encoding: unicode
database: fabmanager_development
pool: 25
username: sleede
password: sleede
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
adapter: postgresql
host: localhost
encoding: unicode
database: fabmanager_test
pool: 25
username: sleede
password: sleede
staging:
adapter: postgresql
host: localhost
encoding: unicode
database: fabmanager_development
pool: 25
username: sleede
password: sleede
production:
adapter: postgresql
host: localhost
encoding: unicode
database: fabmanager_development
pool: 25
username: sleede
password: sleede

View File

@ -1,4 +1,4 @@
pt-BR:
pt:
app:
admin:
machines_new:

View File

@ -1,4 +1,4 @@
pt-BR:
pt:
app:
logged:
profileCompletion:

View File

@ -1,4 +1,4 @@
pt-BR:
pt:
app:
public:
common:
@ -208,7 +208,7 @@ pt-BR:
more_information: "Mais informação"
your_subscription_expires_on_the_DATE: "Sua inscrição expira em {{DATE}}" # angular interpolation
my_group: "Meu grupo"
his_group: "{GENDER, select, masculino{Ele} feminino{Ela} outro{Esses}} grupo" # messageFormat interpolation
his_group: "{GENDER, select, male{Ele} female{Ela} other{Esses}} group" # messageFormat interpolation
he_wants_to_change_group: "{ROLE, select, admin{O usuário quer} other{Eu quero}} trocar de grupo" # messageFormat interpolation
change_my_group: "Mudar {ROLE, select, admin{{GENDER, select, male{dele} female{dela} other{esses}}} other{meu}} grupo" # messageFormat interpolation
your_subscription_has_expired_on_the_DATE: "Sua inscrição expirou em {{DATE}}" # angular interpolation

View File

@ -1,4 +1,4 @@
pt-BR:
pt:
app:
shared:
buttons:

View File

@ -1,6 +1,6 @@
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n
pt-BR:
pt:
devise:
confirmations:
confirmed: "Sua conta foi confirmada com sucesso."

View File

@ -1,4 +1,4 @@
pt-BR:
pt:
layouts:
notifications_mailer:
see_you_later: "Te vejo em breve em {GENDER, select, other{the}}" # messageFormat interpolation

View File

@ -1,4 +1,4 @@
pt-BR:
pt:
duration:
# subscription plan duration

View File

@ -79,7 +79,6 @@ function $translateMessageFormatInterpolation($translateSanitization, $cacheFact
$translateInterpolator.setLocale = function (locale) {
$mf = $cache.get(locale);
if (!$mf) {
locale = locale == "pt-BR" ? "br" : locale;
$mf = new MessageFormat(locale);
$cache.put(locale, $mf);
}