From 493881fd257795b02f56539a3a04b39ce90879bf Mon Sep 17 00:00:00 2001 From: DaryaTarasowa Date: Mon, 18 Sep 2017 13:57:50 +0200 Subject: [PATCH] uploaded and tested locally --- actions/loadIntl.js | 3 +-- client.js | 25 ++++++++++++++++++ intl/ca.json | 4 +-- intl/cy.json | 49 +++++++++++++++++++++++++++++++++++ intl/el.json | 2 +- intl/en.json | 39 ++++++++++++++++++++++++++-- intl/es.json | 2 +- intl/fr.json | 49 +++++++++++++++++++++++++++++++++++ intl/gd.json | 62 ++++++++++++++++++++++++++++++++++----------- intl/it.json | 54 +++++++++++++++++++-------------------- intl/ru.json | 62 ++++++++++++++++++++++++++++++++++----------- intl/sr.json | 2 +- stores/IntlStore.js | 13 +++++++--- 13 files changed, 297 insertions(+), 69 deletions(-) create mode 100644 intl/cy.json create mode 100644 intl/fr.json diff --git a/actions/loadIntl.js b/actions/loadIntl.js index 46c167d9e..5ed48241d 100644 --- a/actions/loadIntl.js +++ b/actions/loadIntl.js @@ -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(); } diff --git a/client.js b/client.js index d2a77167a..75249b1b1 100644 --- a/client.js +++ b/client.js @@ -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) { diff --git a/intl/ca.json b/intl/ca.json index 54f1165b9..eab905214 100644 --- a/intl/ca.json +++ b/intl/ca.json @@ -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. ", @@ -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", diff --git a/intl/cy.json b/intl/cy.json new file mode 100644 index 000000000..bc9c4a50e --- /dev/null +++ b/intl/cy.json @@ -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" +} \ No newline at end of file diff --git a/intl/el.json b/intl/el.json index 919a4dca6..8f43b3da4 100644 --- a/intl/el.json +++ b/intl/el.json @@ -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", diff --git a/intl/en.json b/intl/en.json index 9b04f3852..9b23e45d8 100644 --- a/intl/en.json +++ b/intl/en.json @@ -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": "user@server.com", + "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", @@ -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", @@ -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" } \ No newline at end of file diff --git a/intl/es.json b/intl/es.json index 94fc16e61..cc0849c44 100644 --- a/intl/es.json +++ b/intl/es.json @@ -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", diff --git a/intl/fr.json b/intl/fr.json new file mode 100644 index 000000000..bc9c4a50e --- /dev/null +++ b/intl/fr.json @@ -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" +} \ No newline at end of file diff --git a/intl/gd.json b/intl/gd.json index d857a44be..bc9c4a50e 100644 --- a/intl/gd.json +++ b/intl/gd.json @@ -1,17 +1,49 @@ { - "home.slogan": "Tha SlideWiki ag atharrachadh ciamar a tha sinn a'sgrìobhadh, a'cur a mach agus a'cleachdadh stughan foghlaim.", - "home.welcome": "Fàilte gu SlideWiki", - "home.welcome1": "Dèan, deasaich agus cuir a mach deicean agus stuthan foghlaim eile. Tha an tionndadh as uire SlideWiki a'gabhail a staigh:", - "home.welcome2": "Luchdaich suas agus deasach PowerPoint, no dèan deicean ùra", - "home.welcome3": "Dreach smachd airson deasachadh cairtean agus deicean", - "home.welcome4": "Cuir beachdan air cairtean agus deicean", - "home.welcome5": "Chan eil cothrom aig mòran daoine 's an t-saoghal air stuthan foghlaim.\nCuidich stuthan foghlaim math a dhèanamh air mòran cuspairean agus chànanan:", - "home.welcome6": "Clàradh a steach le SlideWiki", - "home.welcome7": "Rannsaich air SlideWiki airson deicean le cuspairean air a bheil fhios agaibh", - "home.welcome8": "Sgrùdadh stuth deicean agus cuidich len leasachadh", - "home.welcome9": "Cuir ceisteanan fèin-mheasadh gun chairtean (ann an leasachadh)", - "home.welcome10": "Eadar-theangach deicean air cuspairean air a bheil fhios agaibh anns a'chanain agaibh (ann an leasachadh)", - "home.welcome11": "Rannsaich airson taisbeanaidhean agus stuthan foghlaim-d gun cuir sibh ann an SlideWiki", - "home.welcome12": "Oir tha SlideWiki ùr fo leasachadh, cuiridh sinn comasan ùr ris gu cunbhalach. Ma tha ùidh agaibh a bhith ag ionnsachadh mu phròiseact, bu chòir dhuibh a bhith gar leantainn air {link_1} no thigibh a'chèilidh oirnn air {link_2}.", - "home.welcome13": "Fhuair am pròiseact seo maoineachadh bhon Phrògram Frèam an AE airson Rannsachadh agus Ùr-Ghnàthachadh Horizon 2020 le tabhartas-aonta àireamh 688095." + "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" } \ No newline at end of file diff --git a/intl/it.json b/intl/it.json index b17b947d3..88de776a4 100644 --- a/intl/it.json +++ b/intl/it.json @@ -1,49 +1,49 @@ { "carousel.create_alt": "Crea slide con SlideWiki.", - "carousel.reuse_alt": "Riadatta e Riusa Contenuti Educativi attraverso risorse educative aperte.", + "carousel.reuse_alt": "Adatta e Riusa Contenuti Educativi attraverso risorse educative aperte.", "carousel.collaborative_alt": "Authoring Collaborativo di Contenuti.", "carousel.communities_alt": "Sostenere Comunità della Conoscenza.", "carousel.menu.title": "Scopri SlideWiki", - "carousel.menu.1": "Crea Mazzi di Slide Online", - "carousel.menu.1_desc": "Usa il nostro editor per creare slide o importa le tue slide per comporre mazzi di slide in HTML online.", + "carousel.menu.1": "Crea Deck di Slide Online", + "carousel.menu.1_desc": "Usa il nostro editor per creare slide o importa le tue slide per comporre presentazioni online in HTML.", "carousel.menu.2": "Contenuti Educativi Riutilizzabili", "carousel.menu.2_desc": "Scopri un ampia gamma di slide e corsi educativi aperti.", - "carousel.menu.3": "Creazione di Contenuti Collaborativa", - "carousel.menu.3_desc": "Crea slide online insieme con i tuoi pari e colleghi utilizzando le nostre funzioni di editing collaborativo.", + "carousel.menu.3": "Creazione Collaborativa di Contenuti", + "carousel.menu.3_desc": "Crea slide online insieme ad altre persone utilizzando le nostre funzioni di editing collaborativo.", "carousel.menu.4": "Sostenere Comunità della Conoscenza", "carousel.menu.4_desc": "Usando le nostre funzionalità di tag e ricerca per scoprire contenuti ed autori che condividono i tuoi interessi.", - "home.slogan": "SlideWiki...Crea, Condividi e Apprezza le Presentazioni", + "home.slogan": "SlideWIki...Crea e Condividi le Presentazioni!", "home.welcome": "Benvenuti in SlideWiki", - "home.1": "1. Crea un mazzo", - "home.create": "Inizia creando il tuo mazzo di slide selezionando il pulsante Aggiungi mazzo.", - "home.add_button": "Aggiungi mazzo", - "home.create_desc1": "Crea un nuovo mazzo o importa slide esistenti da file PowerPoint (*.pptx) o OpenDocument Presentation (*.odp). Le tue slide importate verranno convertite in formato HTML per permetterti di continuare a modificarle e di aggiungere nuove slide.", - "home.create_desc2": "Ti serve più stimolo per creare le tue slide? Perchè non cercare o sfogliare tra i mazzi esistenti in SlideWiki.", + "home.1": "1. Crea un deck", + "home.create": "Inizia creando il tuo deck di slide selezionando il pulsante Aggiungi deck.", + "home.add_button": "Aggiungi deck", + "home.create_desc1": "Crea un nuovo deck o importa slide esistenti da file PowerPoint (*.pptx) o OpenDocument Presentation (*.odp). Le tue slide importate verranno convertite in formato HTML per permetterti di continuare a modificarle e di aggiungere nuove slide.", + "home.create_desc2": "Ti serve più ispirazione per creare le tue slide? Perchè non cercare o sfogliare tra i deck esistenti in SlideWiki.", "home.2": "2. Riusa, Riadatta e Collabora", - "home.reuse": "Vuoi migliorare i tuoi mazzi? SlideWiki ti permette di creare le tue slide basandoti su mazzi che sono stati precedentement pubblicati in SlideWiki.", - "home.reuse_step1": "Crea una copia di un mazzo", - "home.reuse_step1_desc": "Usa la funzione Biforcazione per creare la tua copia di un mazzo esistente.", - "home.reuse_step2": "Apponi slide e mazzi al tuo mazzo", - "home.reuse_step2_desc": "Aggiungi slide da altri mazzi usando la funzione Apponi. Oppure Apponi un mazzo per includere un insieme di slide come un sotto-mazzo.", - "home.reuse_step3": "Collabora per migliorare il tuo mazzo", - "home.reuse_step3_desc": "Usa i Gruppi per permettere a colleghi, pari e associati di collaborare modificando e migliorando il tuo mazzo.", + "home.reuse": "Vuoi migliorare i tuoi deck? SlideWiki ti permette di creare le tue slide basandoti su deck che sono stati precedentement pubblicati in SlideWiki.", + "home.reuse_step1": "Crea una copia di un deck", + "home.reuse_step1_desc": "Usa la funzione Fork per creare e modificare la tua copia di un deck esistente.", + "home.reuse_step2": "Aggiungi slide e deck al tuo deck", + "home.reuse_step2_desc": "Aggiungi slide da altri deck usando la funzione Append. Oppure usa Append su un deck per includere un insieme di slide come un sotto-deck.", + "home.reuse_step3": "Collabora per migliorare il tuo deck", + "home.reuse_step3_desc": "Usa i Gruppi per permettere a colleghi, pari e associati di collaborare modificando e migliorando il tuo deck.", "home.3": "3. Presenta, Condividi e Comunica", - "home.3.desc": "Ci sono molti modi in cui tu e i tuoi studenti potete approcciare e interagire con slide e mazzi.", - "home.3.step_1": "Usa la {strong} per visualizzare un mazzo come una presentazione. Include un timer e una vista con le note del presentatore.", + "home.3.desc": "Ci sono molti modi in cui tu e i tuoi studenti potete approcciare e interagire con slide e deck.", + "home.3.step_1": "Usa la {strong} per visualizzare un deck come una presentazione. Include un timer e una vista con le note del presentatore.", "home.3.strong1": "Modalità Presentazione", "home.3.step_2": "{strong} via social media o email.", - "home.3.strong2": "Condividi mazzi", - "home.3.step_3": "Aggiungi {strong} a mazzi e slide per interagire con altri studenti.", + "home.3.strong2": "Condividi deck", + "home.3.step_3": "Aggiungi {strong} a deck e slide per interagire con altri studenti.", "home.3.strong3": "Commenti", - "home.3.step_4": "{strong} mazzi in formato PDF, ePub o SCORM.", + "home.3.step_4": "{strong} deck in formato PDF, ePub o SCROM.", "home.3.strong4": "Scarica", "home.start": "Per iniziare", "home.signup": "Registra un account su SlideWiki", - "home.signup_desc": "Crea un account per iniziare a creare e condividere i tuoi mazzi", + "home.signup_desc": "Crea un account per iniziare a creare e condividere i tuoi deck", "home.learn": "Conosci SlideWiki", - "home.learn_desc": "Scopri altro sulle funzionalità di SlideWiki e su come usarle per creare, condividere e adattare slide, mazzi e risorse educative aperte.", + "home.learn_desc": "Scopri altro sulle funzionalità di SlideWiki e su come usarle per creare, condividere e adattare slide, deck e risorse educative aperte.", "home.findout": "Scopri il progetto SlideWiki", - "home.findout_desc": "SlideWiki è un progetto di sviluppo open source, fondato dal programma di ricerca e innovazione European Union's Horizon 2020. Il progetto coinvolge 17 partner nello sviluppo, test e collaudo di SlideWiki. Per scoprire altro o partecipare visita il {link}.", + "home.findout_desc": "SlideWiki è un progetto di sviluppo open source, finanziato dal programma di ricerca e innovazione dell'Unione Europea Horizon 2020. Il progetto coinvolge 17 partner nello sviluppo, test e collaudo di SlideWiki. Per scoprire altro o partecipare visita il {link}.", "home.linlk_project": "sito del progetto", - "home.featured": "Mazzi in primo piano" + "home.featured": "Deck in primo piano" } \ No newline at end of file diff --git a/intl/ru.json b/intl/ru.json index 3fd0601ef..bc9c4a50e 100644 --- a/intl/ru.json +++ b/intl/ru.json @@ -1,17 +1,49 @@ { - "home.slogan": "СлайдВики это революционное приложение позволяющее создавать, обмениваться и использовать образовательные материалы.", - "home.welcome": "Добро пожаловать в СлайдВики", - "home.welcome1": "Создавайте, редактируйте и распространяйте слайдовые презентации и другие открытые образовательные материалы. ", - "home.welcome2": "загрузите и отредактируйте готовые PowerPoint презентации или создайте новые", - "home.welcome3": "слежение за версиями для отдельных слайдов и презентаций", - "home.welcome4": "добавляйте комментарии к слайдам и презентациям", - "home.welcome5": "Множество людей не имеет доступа к качественным учебным материалам.\nПомогите нам создавать отличные учебные материалы, охватывающие как можно больше языков и областей знаний. ", - "home.welcome6": "Зарегестрируйтесь в СлайдВики", - "home.welcome7": "Используйте поиск, чтобы найти презентации из Вашей области знаний. ", - "home.welcome8": "Просмотрите презентации и помогите их улучшить", - "home.welcome9": "Добавьте к слайдам вопросы для самоконтроля (в разработке)", - "home.welcome10": "Переведите презентации на темы, в которых Вы разбираетесь, на Ваш родной язык (в разработке)", - "home.welcome11": "Ищите готовые презентации и материалы для электронного обучения, которые могут быть загружены в СлайдВики", - "home.welcome12": "Так как обновленная платформа СлайдВики находится в раработке, мы регулярно добавляем новые возможности. Чтобы быть в курсе процесса разработки, следите за новостями через {link_1} или посетите {link_2}", - "home.welcome13": "Наш проект получил финансирование благодаря программе ЕС \"Горизонт 2020\", номер грантового соглашения 688095." + "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" } \ No newline at end of file diff --git a/intl/sr.json b/intl/sr.json index 179cbed41..8f0132b05 100644 --- a/intl/sr.json +++ b/intl/sr.json @@ -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 налог.", diff --git a/stores/IntlStore.js b/stores/IntlStore.js index 4f1602e12..6215ef75c 100644 --- a/stores/IntlStore.js +++ b/stores/IntlStore.js @@ -10,12 +10,16 @@ class IntlStore extends BaseStore { this.currentLocale = ''; } - handleLoad(payload) { - this.messages = payload.messages; + handleLoadLocales(payload) { this.locales = payload.locales; this.currentLocale = payload.locales[0]; this.emitChange(); } + handleLoadMessages(payload) { + this.messages = payload.messages; + this.currentLocale = payload.locales[0]; + this.emitChange(); + } getState() { return { @@ -56,7 +60,10 @@ class IntlStore extends BaseStore { IntlStore.storeName = 'IntlStore'; if (!process.env.BROWSER) { - IntlStore.handlers = {'LOAD_INTL_SERVER' : 'handleLoad'}; + IntlStore.handlers = { + 'LOAD_INTL_SERVER' : 'handleLoadLocales', + 'LOAD_INTL_MESSAGES' : 'handleLoadMessages' + }; }else{ IntlStore.handlers = {}; }