diff --git a/app/assets/javascripts/controllers/admin/events.coffee b/app/assets/javascripts/controllers/admin/events.coffee index 5d782709d..9ad119404 100644 --- a/app/assets/javascripts/controllers/admin/events.coffee +++ b/app/assets/javascripts/controllers/admin/events.coffee @@ -204,11 +204,11 @@ Application.Controllers.controller "newEventController", ["$scope", "$state", 'E ## Possible types of recurrences for an event $scope.recurrenceTypes = [ - {label: 'Aucune', value: 'none'}, - {label: 'Tous les jours', value: 'day'}, - {label: 'Chaque semaine', value: 'week'}, - {label: 'Chaque mois', value: 'month'}, - {label: 'Chaque année', value: 'year'} + {label: 'None', value: 'none'}, + {label: 'Everyday', value: 'day'}, + {label: 'Every week', value: 'week'}, + {label: 'Each month', value: 'month'}, + {label: 'Every year', value: 'year'} ] ## Using the EventsController diff --git a/app/assets/javascripts/controllers/application.coffee.erb b/app/assets/javascripts/controllers/application.coffee.erb index 49cefa6db..98dfd64d5 100644 --- a/app/assets/javascripts/controllers/application.coffee.erb +++ b/app/assets/javascripts/controllers/application.coffee.erb @@ -136,7 +136,7 @@ Application.Controllers.controller 'ApplicationController', ["$rootScope", "$sco type: 'danger' ] .result['finally'](null).then (user) -> - growl.addInfoMessage('Votre mot de passe a bien été modifié.') + growl.addInfoMessage('Your password has been changed.') Auth.login().then (user) -> $scope.setCurrentUser(user) , (error) -> @@ -272,7 +272,7 @@ Application.Controllers.controller 'ApplicationController', ["$rootScope", "$sco # Authentication failed... $scope.alerts = [] $scope.alerts.push - msg: 'E-mail ou mot de passe incorrect.' + msg: 'Incorrect Email or password.' type: 'danger' # handle modal behaviors. The provided reason will be used to define the following actions @@ -314,12 +314,12 @@ Application.Controllers.controller 'ApplicationController', ["$rootScope", "$sco $modalInstance.close() .error -> $scope.alerts.push - msg: "Votre adresse email n'existe pas." + msg: "Your email address does not exist." type: 'danger' ] .result['finally'](null).then -> - growl.addInfoMessage('Vous allez recevoir sous quelques minutes un e-mail vous indiquant comment réinitialiser votre mot de passe.') + growl.addInfoMessage('You will receive an email within a few minutes telling you how to reset your password.') # otherwise the user just closed the modal diff --git a/app/assets/javascripts/controllers/main_nav.coffee.erb b/app/assets/javascripts/controllers/main_nav.coffee.erb index 0f05d63c9..5d440c86d 100644 --- a/app/assets/javascripts/controllers/main_nav.coffee.erb +++ b/app/assets/javascripts/controllers/main_nav.coffee.erb @@ -9,23 +9,23 @@ Application.Controllers.controller "mainNavController", ["$scope", "$location", $scope.navLinks = [ { state: 'app.public.home' - linkText: 'Accueil' + linkText: 'Home' linkIcon: 'home' } { state: 'app.public.machines_list' - linkText: 'Liste des machines' + linkText: 'Our Machines' linkIcon: 'gears' } { state: 'app.public.events_list' - linkText: 'Liste des stages et ateliers' + linkText: 'List of events and workshops' linkIcon: 'tags' } { state: 'app.public.projects_list' - linkText: 'Galerie de projets' + linkText: 'Project Gallery' linkIcon: 'th' } ] @@ -34,22 +34,22 @@ Application.Controllers.controller "mainNavController", ["$scope", "$location", $scope.adminNavLinks = [ { state: 'app.admin.members' - linkText: 'Suivi utilisateurs' + linkText: 'Review users' linkIcon: 'users' } { state: 'app.admin.events' - linkText: 'Suivi stages et ateliers' + linkText: 'Review courses and workshops' linkIcon: 'tags' } { state: 'app.public.machines_list' - linkText: 'Gérer les machines' + linkText: 'Manage machinery' linkIcon: 'cogs' } { state: 'app.admin.project_elements' - linkText: 'Gérer les éléments Projets' + linkText: 'Manage Projects' linkIcon: 'tasks' } ] diff --git a/app/assets/javascripts/controllers/projects.coffee b/app/assets/javascripts/controllers/projects.coffee index 4fa8f55ae..ab4a8041a 100644 --- a/app/assets/javascripts/controllers/projects.coffee +++ b/app/assets/javascripts/controllers/projects.coffee @@ -104,9 +104,9 @@ class ProjectsController ## - # This will remove the given file from the project's CAO attachements list. If the file was previously uploaded + # This will remove the given file from the project's CAD attachements list. If the file was previously uploaded # to the server, it will be marked for deletion on the server. Otherwise, it will be simply truncated from - # the CAO attachements array. + # the CAD attachements array. # @param file {Object} the file to delete ## $scope.deleteFile = (file) -> @@ -247,7 +247,7 @@ Application.Controllers.controller "newProjectController", ["$scope", "$state", $scope.method = 'post' ## Button litteral text value - $scope.submitName = 'Enregistrer comme brouillon' + $scope.submitName = 'Save as a draft' ## Default project parameters $scope.project = @@ -281,7 +281,7 @@ Application.Controllers.controller "editProjectController", ["$scope", "$state", $scope.method = 'put' ## Button litteral text value - $scope.submitName = 'Enregistrer' + $scope.submitName = 'Save' ## Retrieve the project's details, if an error occured, redirect the user to the projects list page $scope.project = Project.get {id: $stateParams.id} diff --git a/app/assets/javascripts/services/dialogs.coffee.erb b/app/assets/javascripts/services/dialogs.coffee.erb index d10983921..8d5f22fc0 100644 --- a/app/assets/javascripts/services/dialogs.coffee.erb +++ b/app/assets/javascripts/services/dialogs.coffee.erb @@ -7,8 +7,8 @@ Application.Services.factory 'dialogs', ["$modal", ($modal) -> size: 'sm' resolve: object: -> - title: 'Titre de confirmation' - msg: 'Message de confiramtion' + title: 'As confirmation' + msg: 'Confirmation message' controller: ['$scope', '$modalInstance', '$state', 'object', ($scope, $modalInstance, $state, object) -> $scope.object = object $scope.ok = -> diff --git a/app/assets/templates/admin/events/index.html.erb b/app/assets/templates/admin/events/index.html.erb index fa538b729..2cca311c3 100644 --- a/app/assets/templates/admin/events/index.html.erb +++ b/app/assets/templates/admin/events/index.html.erb @@ -7,13 +7,13 @@
-

Les Stages et ateliers du Fab Lab

+

Fablab XinFab courses and workshops

- Ajouter un évènement + Add an event
@@ -24,16 +24,16 @@
- + @@ -44,19 +44,19 @@ {{ event.title }} - +
TitreTitle Dates
- Du {{event.start_date | amDateFormat:'DD/MM/YYYY'}} au {{event.end_date | amDateFormat:'DD/MM/YYYY'}} + From {{event.start_date | amDateFormat:'DD/MM/YYYY'}} to {{event.end_date | amDateFormat:'DD/MM/YYYY'}}
- Toute la journée + All day long - De {{event.start_date | date:'HH:mm'}} - à + From {{event.start_date | date:'HH:mm'}} + to {{event.end_date | date:'HH:mm'}}
<%#
-

Utilisateur : {{ user.name }}

+

User : {{ user.name }}

@@ -17,7 +17,7 @@
- Annuler + Cancel
@@ -43,7 +43,7 @@ diff --git a/app/assets/templates/admin/members/index.html.erb b/app/assets/templates/admin/members/index.html.erb index ed0a9e35e..dd8cb86dd 100644 --- a/app/assets/templates/admin/members/index.html.erb +++ b/app/assets/templates/admin/members/index.html.erb @@ -7,7 +7,7 @@
-

Liste des membres

+

Members list

@@ -20,15 +20,15 @@
- +
- + @@ -36,15 +36,15 @@ - + - + - + - + @@ -59,7 +59,7 @@ diff --git a/app/assets/templates/admin/members/new.html.erb b/app/assets/templates/admin/members/new.html.erb index 9a141a64b..86ca7dfd8 100644 --- a/app/assets/templates/admin/members/new.html.erb +++ b/app/assets/templates/admin/members/new.html.erb @@ -9,7 +9,7 @@
-

Ajouter un membre

+

Add Member

@@ -17,7 +17,7 @@
- Annuler + Cancel
@@ -42,7 +42,7 @@ diff --git a/app/assets/templates/admin/project_elements/index.html.erb b/app/assets/templates/admin/project_elements/index.html.erb index 3254f262f..a3bf3421c 100644 --- a/app/assets/templates/admin/project_elements/index.html.erb +++ b/app/assets/templates/admin/project_elements/index.html.erb @@ -7,7 +7,7 @@
-

Gestion des éléments projets

+

Project elements management

@@ -21,12 +21,12 @@
- +
Nom Last name Prénom First name Email Tel. Phone Type utilisateur User type
- + @@ -49,7 +49,7 @@
NomTitle
- - + + - + @@ -89,7 +89,7 @@
NomTitle
- + - + @@ -135,7 +135,7 @@
-

Tableau de bord

+

Dashboard

diff --git a/app/assets/templates/dashboard/profile.html.erb b/app/assets/templates/dashboard/profile.html.erb index b22152862..7258407c5 100644 --- a/app/assets/templates/dashboard/profile.html.erb +++ b/app/assets/templates/dashboard/profile.html.erb @@ -13,18 +13,18 @@
{{user.name}}
{{user.email}}
-
Dernière activité le {{user.last_sign_in_at | amDateFormat: 'Do MMMM '}}
+
Last Active {{user.last_sign_in_at | amDateFormat: 'Do MMMM '}}
-

Projets

+

Projects

  • {{p.name}}
-
Aucun projet
+
No projects
@@ -34,7 +34,7 @@
-

Éditer votre profil

+

Edit your profile

@@ -45,7 +45,7 @@
diff --git a/app/assets/templates/dashboard/projects.html.erb b/app/assets/templates/dashboard/projects.html.erb index 4e464b939..12060092b 100644 --- a/app/assets/templates/dashboard/projects.html.erb +++ b/app/assets/templates/dashboard/projects.html.erb @@ -9,12 +9,12 @@
-
Vous n'avez aucun projet.
+
You have no projects.
-

{{project.name}}

{{project.author_id == currentUser.id ? 'Auteur' : 'Collaborateur'}} +

{{project.name}}

{{project.author_id == currentUser.id ? 'Author' : 'Contributor'}}
@@ -36,14 +36,14 @@
-

Machines et matériaux

+

Machines and materials

Machines :

  • {{m.name}}
-

Matériaux :

+

Materials :

  • {{c.name}}
@@ -54,7 +54,7 @@
-

Les collaborateurs

+

The collaborators

  • diff --git a/app/assets/templates/events/_form.html.erb b/app/assets/templates/events/_form.html.erb index 26c028d36..7f050ffbf 100644 --- a/app/assets/templates/events/_form.html.erb +++ b/app/assets/templates/events/_form.html.erb @@ -10,16 +10,16 @@
    - +
    - Titre est obligatoire + Title is mandatory
    - +
    @@ -29,7 +29,7 @@
    - Choisir une image Modifier + Choose Image Edit
    @@ -41,12 +41,12 @@
    - Description est obligatoire + Description is mandatory
    - +
    @@ -56,13 +56,13 @@
    {{file.attachment}}
    - Parcourir - Modifier + Browse + Edit
    - Ajouter un nouveau fichier + Add a new file
    @@ -80,7 +80,7 @@
    -

    Type d'évènement

    +

    Event type

    @@ -92,23 +92,23 @@
    -

    Dates et horaires

    +

    Dates and times

    - +
    - +
    - +
    - +
    - +
    @@ -159,12 +159,12 @@
    - +
    - et se terminera le + and ends
    @@ -179,21 +179,21 @@
    -

    Tarifs et disponibilités

    +

    Prices and availability

    - +
    - 0 = gratuit + 0 = free
    - +
    @@ -202,7 +202,7 @@
    - +
    diff --git a/app/assets/templates/events/edit.html.erb b/app/assets/templates/events/edit.html.erb index 567220629..5616fc12a 100644 --- a/app/assets/templates/events/edit.html.erb +++ b/app/assets/templates/events/edit.html.erb @@ -9,7 +9,7 @@
    -

    Editer l'évènement

    +

    Edit event

    diff --git a/app/assets/templates/events/index.html.erb b/app/assets/templates/events/index.html.erb index f45e17024..0fbd51118 100644 --- a/app/assets/templates/events/index.html.erb +++ b/app/assets/templates/events/index.html.erb @@ -7,13 +7,13 @@
    -

    Les Stages et ateliers du Fab Lab

    +

    Fablab XinFab courses and workshops

    @@ -34,7 +34,7 @@

    {{event.title}}

    {{event.start_date | amDateFormat:'DD/MM'}} au {{event.end_date | amDateFormat:'DD/MM'}}

    -
    Plein tarif: {{event.amount}}€ / Tarif réduit: {{event.reduced_amount}}€
    +
    Full price: {{event.amount}}€ / Tarif réduit: {{event.reduced_amount}}€
    @@ -51,7 +51,7 @@ diff --git a/app/assets/templates/events/new.html.erb b/app/assets/templates/events/new.html.erb index cc1e1d15f..93ec1f5fc 100644 --- a/app/assets/templates/events/new.html.erb +++ b/app/assets/templates/events/new.html.erb @@ -9,7 +9,7 @@
    -

    Ajouter un évènement

    +

    Add an event

    diff --git a/app/assets/templates/events/show.html.erb b/app/assets/templates/events/show.html.erb index aab9e43c4..8a52d6880 100644 --- a/app/assets/templates/events/show.html.erb +++ b/app/assets/templates/events/show.html.erb @@ -17,7 +17,7 @@
    - éditer + edit
    @@ -35,7 +35,7 @@ {{event.title}}
    -

    Description de l'évènement

    +

    Event description

    @@ -46,7 +46,7 @@
    {{event.event_files_attributes.length}} -

    Documents à télécharger

    +

    Download documents

      @@ -58,7 +58,7 @@
      -

      Informations

      +

      Information

      @@ -66,22 +66,22 @@
      {{event.categories[0].name}}
      Dates :
      -
      Début: {{event.start_date | amDateFormat:'DD/MM/YYYY'}}
      Fin: {{event.end_date | amDateFormat:'DD/MM/YYYY'}}
      -
      Horaires :
      +
      Start: {{event.start_date | amDateFormat:'DD/MM/YYYY'}}
      Ends: {{event.end_date | amDateFormat:'DD/MM/YYYY'}}
      +
      Hours :
      Toute la journée
      -
      De {{event.start_date | amDateFormat:'HH:mm'}} à {{event.end_date | amDateFormat:'HH:mm'}}
      +
      From {{event.start_date | amDateFormat:'HH:mm'}} to {{event.end_date | amDateFormat:'HH:mm'}}
      -
      Plein tarif : {{ event.amount }} €
      -
      Tarif réduit* : {{ event.reduced_amount }} €
      +
      Full price : {{ event.amount }} €
      +
      Reduced price* : {{ event.reduced_amount }} €
      -
      Places disponibles: {{event.nb_total_places}}
      +
      Available seats: {{event.nb_total_places}}
      -
      Entrée libre
      +
      Free admission
      @@ -89,7 +89,7 @@
    diff --git a/app/assets/templates/home.html.erb b/app/assets/templates/home.html.erb index a3e0b331f..fe6817dea 100644 --- a/app/assets/templates/home.html.erb +++ b/app/assets/templates/home.html.erb @@ -2,7 +2,7 @@
    -

    Les derniers projets documentés

    +

    The last documented projects

    @@ -19,14 +19,14 @@
    -

    Les derniers tweets

    +

    The last tweets

      @@ -38,7 +38,8 @@
      -

      Derniers membres inscrits

      +

      Latest Members +

      @@ -55,11 +56,11 @@
      - +
      - +
      @@ -67,7 +68,7 @@
    -

    Les prochains ateliers et stages du fablab Tous les événements

    +

    The next fablab workshops and courses All events

    @@ -93,25 +94,25 @@
    -
    Du {{event.start_date | amDateFormat:'DD/MM'}} au {{event.end_date | amDateFormat:'DD/MM'}}
    +
    From {{event.start_date | amDateFormat:'DD/MM'}} to {{event.end_date | amDateFormat:'DD/MM'}}
    -
    Toute la journéeDe {{event.start_date | date:'HH:mm'}} à {{event.end_date | date:'HH:mm'}}
    +
    All day longDe {{event.start_date | date:'HH:mm'}} à {{event.end_date | date:'HH:mm'}}
    - Entrée Libre - Entrée Gratuite{{event.amount}} € Plein tarif
    {{event.reduced_amount}} € Tarif réduit
    -
    Événement complet.
    + Free entry + Free admission{{event.amount}} ¥ Full price
    {{event.reduced_amount}} ¥ Reduced price
    +
    Event full.
    -
    Consulter
    +
    Check
    diff --git a/app/assets/templates/machines/_form.html.erb b/app/assets/templates/machines/_form.html.erb index c2199c55c..16715cb98 100644 --- a/app/assets/templates/machines/_form.html.erb +++ b/app/assets/templates/machines/_form.html.erb @@ -8,15 +8,15 @@ {{alert.msg}}
    - +
    - - Le Nom est obligatoire. + + The name is mandatory.
    - +
    @@ -26,9 +26,9 @@
    - Ajouter un visuel Modifier + Add image Edit - Supprimer + Remove
    @@ -39,20 +39,20 @@
    - La Description est obligatoire. + The description is mandatory.
    - +
    - Les Caractéristiques techniques sont obligatoires. + Les Technical specifications are mandatory.
    - +
    @@ -62,13 +62,13 @@
    {{file.attachment}}
    - Joindre un fichier - Modifier + Attach a file + Modify
    - Ajouter une pièce jointe + Add attachment
    diff --git a/app/assets/templates/machines/index.html.erb b/app/assets/templates/machines/index.html.erb index 5d8a31e15..c553a5f12 100644 --- a/app/assets/templates/machines/index.html.erb +++ b/app/assets/templates/machines/index.html.erb @@ -7,13 +7,13 @@
    -

    Les machines du FabLab

    +

    FabLab XinFab's Machines

    @@ -42,7 +42,7 @@
    - Consulter + Check
    diff --git a/app/assets/templates/machines/show.html.erb b/app/assets/templates/machines/show.html.erb index 44607baf6..02d8abc26 100644 --- a/app/assets/templates/machines/show.html.erb +++ b/app/assets/templates/machines/show.html.erb @@ -16,7 +16,7 @@
    - Éditer + Edit
    @@ -44,7 +44,7 @@
    -

    Caractéristiques techniques

    +

    Technical specifications

    @@ -55,7 +55,7 @@
    {{machine.machine_files_attributes.length}} -

    Fichiers à télécharger

    +

    Download Files

      @@ -67,7 +67,7 @@
      -

      Projets utilisant la machine

      +

      Projects using the machine

        diff --git a/app/assets/templates/members/index.html.erb b/app/assets/templates/members/index.html.erb index ba1471c9b..22ecaa199 100644 --- a/app/assets/templates/members/index.html.erb +++ b/app/assets/templates/members/index.html.erb @@ -7,7 +7,7 @@
    -

    Les membres du Fab Lab

    +

    Members of Fablab XinFab

    @@ -17,14 +17,14 @@
    - +
  • NomTitle
    - - + + @@ -42,7 +42,7 @@ diff --git a/app/assets/templates/members/show.html.erb b/app/assets/templates/members/show.html.erb index 6f96db99c..5b8150641 100644 --- a/app/assets/templates/members/show.html.erb +++ b/app/assets/templates/members/show.html.erb @@ -15,7 +15,7 @@ @@ -47,7 +47,7 @@
    - Dernière activité + Last Active
    le {{user.last_sign_in_at | amDateFormat: 'Do MMMM '}}
    @@ -57,11 +57,11 @@
    - Logiciels de conception maîtrisés + Skills
    {{user.profile.software_mastered}}
    - Centres d'intérêts + Interests
    {{user.profile.interest}}
    @@ -76,14 +76,14 @@ diff --git a/app/assets/templates/notifications/index.html.erb b/app/assets/templates/notifications/index.html.erb index 4acf09641..953a9e210 100644 --- a/app/assets/templates/notifications/index.html.erb +++ b/app/assets/templates/notifications/index.html.erb @@ -7,7 +7,7 @@
    -

    Centre de notifications

    +

    Alert Center

    @@ -19,14 +19,14 @@
    - +
    AvatarUtilisateurPseudoUserNickname Email
    - + @@ -42,7 +42,7 @@ - +
    DateIntituléeEntitled
    Aucune nouvelle notification.No new notification.
    @@ -72,14 +72,14 @@
    Aucune notification archivée.No archived notification.
    - Charger les notifications suivantes... + Load the following notifications... diff --git a/app/assets/templates/projects/_form.html.erb b/app/assets/templates/projects/_form.html.erb index aa48be9c9..e36856c47 100644 --- a/app/assets/templates/projects/_form.html.erb +++ b/app/assets/templates/projects/_form.html.erb @@ -10,16 +10,16 @@
    - +
    - Nom est obligatoire + Title is mandatory
    - +
    @@ -29,9 +29,9 @@
    - Ajouter un visuel Modifier + Add image Edit - Supprimer + Remove
    @@ -39,7 +39,7 @@
    - +
    @@ -49,13 +49,13 @@
    {{file.attachment}}
    - Parcourir - Modifier + Browse + Edit
    - Ajouter un nouveau fichier + Add a new file
    @@ -64,38 +64,38 @@
    - Description est obligatoire + Description is mandatory
    - +
    - Étape {{ $index+1 }}/{{project.project_steps_attributes.length}} + Step {{ $index+1 }}/{{project.project_steps_attributes.length}} - +
    - Ajouter une imageModifier l'image + Add an imageEdit Image {{step.project_step_image}}
    - Supprimer l'étape + Delete step
    - Ajouter une nouvelle étape + Add a new step
    @@ -105,7 +105,7 @@

    - Vous n'êtes pas inscrit au FAB LAB ?
    - Créer un compte
    + Aren't you registerd in Fablab XinFab?
    + Create an account

    diff --git a/app/assets/templates/shared/header.html.erb b/app/assets/templates/shared/header.html.erb index c7c1c6143..52ee0b98a 100644 --- a/app/assets/templates/shared/header.html.erb +++ b/app/assets/templates/shared/header.html.erb @@ -8,10 +8,10 @@ diff --git a/app/assets/templates/shared/leftnav.html.erb b/app/assets/templates/shared/leftnav.html.erb index e29d204f6..828b81c93 100644 --- a/app/assets/templates/shared/leftnav.html.erb +++ b/app/assets/templates/shared/leftnav.html.erb @@ -6,9 +6,9 @@