Skip to content

Commit

Permalink
uploaded and tested locally
Browse files Browse the repository at this point in the history
  • Loading branch information
DaryaTarasowa committed Sep 18, 2017
1 parent c31bf7e commit 493881f
Show file tree
Hide file tree
Showing 13 changed files with 297 additions and 69 deletions.
3 changes: 1 addition & 2 deletions actions/loadIntl.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
export default {

loadIntlMessages(context, locale, done) {
//console.log('locaaaaleeeee:' + locale);
let messages = require('../intl/' + locale+ '.json');
let locale_file = {
'locales': [locale],
'messages' : messages
};
context.dispatch('LOAD_INTL_SERVER', locale_file);
context.dispatch('LOAD_INTL_MESSAGES', locale_file);
done();
}

Expand Down
25 changes: 25 additions & 0 deletions client.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,31 @@ function loadLocaleData(locale) {
}
break;

//french
case 'fr':

if (!hasIntl) {

require.ensure([
'intl/locale-data/jsonp/fr',
'react-intl/locale-data/fr'
], (require) => {
require('intl/locale-data/jsonp/fr');
addLocaleData(require('react-intl/locale-data/fr'));
debug('Intl and ReactIntl locale-data for %s has been downloaded', locale);
resolve();
}, 'locale-fr');
}
else {
require.ensure([
'react-intl/locale-data/fr'
], (require) => {
addLocaleData(require('react-intl/locale-data/fr'));
debug('ReactIntl locale-data for %s has been downloaded', locale);
resolve();
}, 'locale-fr-no-intl');
}
break;

default:
if (!hasIntl) {
Expand Down
4 changes: 2 additions & 2 deletions intl/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"home.reuse_step2": "Adjunta diapositivas y presentaciones a tu presentación",
"home.reuse_step2_desc": "Afig diapositives des d'altres presentacions usant la funció Adjuntar. També pots Adjuntar una presentació per a embeure un conjunt de diapositives i convertir-les en una sub-presentació.",
"home.reuse_step3": "Col·labora per a millorar la teua presentació",
"home.reuse_step3_desc": "Usa Grups per veure una presentació a pantalla completa. Inclou un cronòmetre i una vista amb les notes de l'orador. ",
"home.reuse_step3_desc": "Usa {strong} per veure una presentació a pantalla completa. Inclou un cronòmetre i una vista amb les notes de l'orador. ",
"home.3": "3. Presenta, Comparteix i Comunica",
"home.3.desc": "Hi ha moltes formes en que tu i els teus estudiants podeu connectar-se i interactuar amb les diapositives i les presentacions. ",
"home.3.step_1": "Usa {strong} per veure una presentació a pantalla completa. Inclou un cronòmetre i una vista amb les notes de l'orador. ",
Expand All @@ -35,7 +35,7 @@
"home.3.strong2": "Compartir presentacions",
"home.3.step_3": "Afig {strong} a les presentacions i a les diapositives per interactuar amb la resta d'estudiants. ",
"home.3.strong3": "Comentaris",
"home.3.step_4": "{strong} les presentacions en els formats PDF, ePub o SCORM",
"home.3.step_4": "{strong} les presentacions en els formats PDF, ePub o SCROM",
"home.3.strong4": "Descarrega",
"home.start": "Començar",
"home.signup": "Registra't per a obtenir un compte de SlideWiki",
Expand Down
49 changes: 49 additions & 0 deletions intl/cy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"carousel.create_alt": "Create slides with SlideWiki.",
"carousel.reuse_alt": "Repurpose & Reuse Educational Content through open educational resources.",
"carousel.collaborative_alt": "Collaborative Content Authoring.",
"carousel.communities_alt": "Supporting Knowledge Communities.",
"carousel.menu.title": "Discover SlideWiki",
"carousel.menu.1": "Create Online Slide Decks",
"carousel.menu.1_desc": "Use our slide creator or import your existing slides to form online HTML slide decks.",
"carousel.menu.2": "Reuseable Educational Content",
"carousel.menu.2_desc": "Discover a wide range of open educational slides and courses.",
"carousel.menu.3": "Collaborative Content Authoring",
"carousel.menu.3_desc": "Create slides online together with peers and colleagues through our collaborative editing features.",
"carousel.menu.4": "Supporting Knowledge Communities",
"carousel.menu.4_desc": "Using our search and tags features discover content and authors who share your interests.",
"home.slogan": "SlideWiki...Create, Share and Enjoy Presentations",
"home.welcome": "Welcome to SlideWiki",
"home.1": "1. Create a deck",
"home.create": "Start creating your own slide deck by selecting the Add deck button.",
"home.add_button": "Add deck",
"home.create_desc1": "Create a new deck or import existing slides from PowerPoint (*.pptx) or OpenDocument Presentation (*.odp) files. Your imported slides will be converted into HTML slides to allow you to continue to edit and add new slides.",
"home.create_desc2": "Need more inspiration to make your own slides? Why not search or browse throughexisting SlideWiki decks.",
"home.2": "2. Reuse, Repurpose and Collaborate",
"home.reuse": "Want to enhance your decks? SlideWiki allows you to create your own slides based on decks that have been published on SlideWiki.",
"home.reuse_step1": "Create a copy of a deck",
"home.reuse_step1_desc": "Use the Fork function to create your own copy of an existing deck.",
"home.reuse_step2": "Append slides and decks to your deck",
"home.reuse_step2_desc": "Add slides from other decks using the Append function. Or Append a deck to embed a set of slides as a sub-deck.",
"home.reuse_step3": "Collaborate to improve your deck",
"home.reuse_step3_desc": "Use Groups to allow colleagues, peers and associates to collaborate with editing and enhancing your deck.",
"home.3": "3. Present, Share and Communicate",
"home.3.desc": "There are many ways that you and your students can engage and interact with slides and decks.",
"home.3.step_1": "Use the {strong} to view a deck as a slideshow. Includes a timer and speaker notes' view.",
"home.3.strong1": "Presentation mode",
"home.3.step_2": "{strong} via social media or email.",
"home.3.strong2": "Share decks",
"home.3.step_3": "Add {strong} to decks and slides to interact with other learners.",
"home.3.strong3": "Comments",
"home.3.step_4": "{strong} decks in PDF, ePub or SCROM format.",
"home.3.strong4": "Download",
"home.start": "Get Started",
"home.signup": "Sign up for a SlideWiki account",
"home.signup_desc": "Create an account to start creating and sharing your decks",
"home.learn": "Learn about SlideWiki",
"home.learn_desc": "Find out more about SlideWiki's features and how it can be used to create, share and adapt slides, decks and open educational resources.",
"home.findout": "Find out about the SlideWiki project",
"home.findout_desc": "SlideWiki is an open source development project, funded from the European Union's Horizon 2020 research and innovation programme. The project involves 17 partners to develop, test and trial SlideWiki. To find out more or get involved visit the {link}.",
"home.linlk_project": "project webiste",
"home.featured": "Featured decks"
}
2 changes: 1 addition & 1 deletion intl/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"home.3.strong2": "Μοιραστείτε δέσμες παρουσιάσεων ",
"home.3.step_3": "Προσθέστε {strong} σε δέσμες και διαφάνειες για να αλληλεπιδράσετε με άλλους μαθητές.",
"home.3.strong3": "Σχόλια",
"home.3.step_4": "{strong} δέσμες παρουσιάσεων σε τύπους αρχείων PDF, ePub ή SCORM.",
"home.3.step_4": "{strong} δέσμες παρουσιάσεων σε τύπους αρχείων PDF, ePub ή SCROM.",
"home.3.strong4": "Λήψη",
"home.start": "Πως να ξεκινήσετε",
"home.signup": "Δημιουργήστε ένα λογαριασμό στο SlideWiki",
Expand Down
39 changes: 37 additions & 2 deletions intl/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,35 @@
"carousel.menu.3_desc": "Create slides online together with peers and colleagues through our collaborative editing features.",
"carousel.menu.4": "Supporting Knowledge Communities",
"carousel.menu.4_desc": "Using our search and tags features discover content and authors who share your interests.",
"contactUs.swal_title": "Contact Us",
"contactUs.checkType_text": "Please, please select the type of feedback",
"contactUs.swal_button": "Ok",
"contactUs.checkEmail_text": "Please, use a valid email address",
"contactUs.checkSummary_text": "Please, provide us a summary of your issue",
"contactUs.checkCaptcha_text": "Please, confirm you are not a bot",
"contactUs.typeOption_suggestion": "Suggestion",
"contactUs.typeOption_support": "Support Issue",
"contactUs.typeOption_account": "Account Issue",
"contactUs.typeOption_other": "Other",
"contactUs.form_explanation": "If you wish to contact us, please complete the form below. If you wish to report an issue with a particular deck, please use the Reporting button on the deck.",
"contactUs.form_subheader": "Feedback",
"contactUs.form_type_label": "Type of report:",
"contactUs.form_type_placeholder": "Select type of report",
"contactUs.form_firstName_label": "First Name:",
"contactUs.form_firstName_placeholder": "First name",
"contactUs.form_lastName_label": "Last Name:",
"contactUs.form_lastName_placeholder": "Last name",
"contactUs.form_email_label": "Email:",
"contactUs.form_email_placeholder": "[email protected]",
"contactUs.form_summary_label": "Summary:",
"contactUs.form_summary_placeholder": "Please, write us a one-sentence summary",
"contactUs.form_description_label": "Description:",
"contactUs.form_description_placeholder": "Please, give us more information about.",
"contactUs.form_button": "Send Feedback",
"contactUs.send_swal_text": "Feedback sent. Thank you!",
"contactUs.send_swal_button": "Close",
"contactUs.send_swal_error_text": "An error occoured while contacting us. Please try again later.",
"contactUs.send_swal_error_button": "Close",
"home.slogan": "SlideWiki...Create, Share and Enjoy Presentations",
"home.welcome": "Welcome to SlideWiki",
"home.1": "1. Create a deck",
Expand All @@ -35,7 +64,7 @@
"home.3.strong2": "Share decks",
"home.3.step_3": "Add {strong} to decks and slides to interact with other learners.",
"home.3.strong3": "Comments",
"home.3.step_4": "{strong} decks in PDF, ePub or SCORM format.",
"home.3.step_4": "{strong} decks in PDF, ePub or SCROM format.",
"home.3.strong4": "Download",
"home.start": "Get Started",
"home.signup": "Sign up for a SlideWiki account",
Expand All @@ -45,5 +74,11 @@
"home.findout": "Find out about the SlideWiki project",
"home.findout_desc": "SlideWiki is an open source development project, funded from the European Union's Horizon 2020 research and innovation programme. The project involves 17 partners to develop, test and trial SlideWiki. To find out more or get involved visit the {link}.",
"home.linlk_project": "project webiste",
"home.featured": "Featured decks"
"home.featured": "Featured decks",
"userSignIn.errormessage.isSPAM": "Your account was marked as SPAM thus you are not able to sign in. Contact us directly for reactivation.",
"userSignIn.errormessage.notFound": "The credentials are unknown. Please retry with another input.",
"userSignIn.errormessage.deactivatedOrUnactivated": "Your user account either have to be activated via the activation link in your email or is deactivated in general.",
"LoginModal.text.incompleteProviderData": "The data from {provider} was incomplete. In case you want to use this provider, please add an e-mail address at the provider itself and try again at SlideWiki.",
"LoginModal.placeholder.email": "E-Mail",
"LoginModal.placeholder.password": "Password"
}
2 changes: 1 addition & 1 deletion intl/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"home.3.strong2": "Comparte presentaciones",
"home.3.step_3": "Añade {strong} a las presentaciones y a las diapositivas para interactuar con el resto de estudiantes. ",
"home.3.strong3": "Comentarios",
"home.3.step_4": "{strong} las presentaciones en los formatos PDF, ePub o SCORM",
"home.3.step_4": "{strong} las presentaciones en los formatos PDF, ePub o SCROM",
"home.3.strong4": "Descargas",
"home.start": "Empezar",
"home.signup": "Regístrate para obtener una cuenta de SlideWiki",
Expand Down
49 changes: 49 additions & 0 deletions intl/fr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"carousel.create_alt": "Create slides with SlideWiki.",
"carousel.reuse_alt": "Repurpose & Reuse Educational Content through open educational resources.",
"carousel.collaborative_alt": "Collaborative Content Authoring.",
"carousel.communities_alt": "Supporting Knowledge Communities.",
"carousel.menu.title": "Discover SlideWiki",
"carousel.menu.1": "Create Online Slide Decks",
"carousel.menu.1_desc": "Use our slide creator or import your existing slides to form online HTML slide decks.",
"carousel.menu.2": "Reuseable Educational Content",
"carousel.menu.2_desc": "Discover a wide range of open educational slides and courses.",
"carousel.menu.3": "Collaborative Content Authoring",
"carousel.menu.3_desc": "Create slides online together with peers and colleagues through our collaborative editing features.",
"carousel.menu.4": "Supporting Knowledge Communities",
"carousel.menu.4_desc": "Using our search and tags features discover content and authors who share your interests.",
"home.slogan": "SlideWiki...Create, Share and Enjoy Presentations",
"home.welcome": "Welcome to SlideWiki",
"home.1": "1. Create a deck",
"home.create": "Start creating your own slide deck by selecting the Add deck button.",
"home.add_button": "Add deck",
"home.create_desc1": "Create a new deck or import existing slides from PowerPoint (*.pptx) or OpenDocument Presentation (*.odp) files. Your imported slides will be converted into HTML slides to allow you to continue to edit and add new slides.",
"home.create_desc2": "Need more inspiration to make your own slides? Why not search or browse throughexisting SlideWiki decks.",
"home.2": "2. Reuse, Repurpose and Collaborate",
"home.reuse": "Want to enhance your decks? SlideWiki allows you to create your own slides based on decks that have been published on SlideWiki.",
"home.reuse_step1": "Create a copy of a deck",
"home.reuse_step1_desc": "Use the Fork function to create your own copy of an existing deck.",
"home.reuse_step2": "Append slides and decks to your deck",
"home.reuse_step2_desc": "Add slides from other decks using the Append function. Or Append a deck to embed a set of slides as a sub-deck.",
"home.reuse_step3": "Collaborate to improve your deck",
"home.reuse_step3_desc": "Use Groups to allow colleagues, peers and associates to collaborate with editing and enhancing your deck.",
"home.3": "3. Present, Share and Communicate",
"home.3.desc": "There are many ways that you and your students can engage and interact with slides and decks.",
"home.3.step_1": "Use the {strong} to view a deck as a slideshow. Includes a timer and speaker notes' view.",
"home.3.strong1": "Presentation mode",
"home.3.step_2": "{strong} via social media or email.",
"home.3.strong2": "Share decks",
"home.3.step_3": "Add {strong} to decks and slides to interact with other learners.",
"home.3.strong3": "Comments",
"home.3.step_4": "{strong} decks in PDF, ePub or SCROM format.",
"home.3.strong4": "Download",
"home.start": "Get Started",
"home.signup": "Sign up for a SlideWiki account",
"home.signup_desc": "Create an account to start creating and sharing your decks",
"home.learn": "Learn about SlideWiki",
"home.learn_desc": "Find out more about SlideWiki's features and how it can be used to create, share and adapt slides, decks and open educational resources.",
"home.findout": "Find out about the SlideWiki project",
"home.findout_desc": "SlideWiki is an open source development project, funded from the European Union's Horizon 2020 research and innovation programme. The project involves 17 partners to develop, test and trial SlideWiki. To find out more or get involved visit the {link}.",
"home.linlk_project": "project webiste",
"home.featured": "Featured decks"
}
Loading

0 comments on commit 493881f

Please sign in to comment.