Permalink
Browse files

New configuration option "languages"

  • Loading branch information...
jdavid committed Aug 24, 2017
1 parent a84666f commit 649f2fc765f3acbe3a1fbb6694bfe105529a5ab3
Showing with 507 additions and 18 deletions.
  1. +1 −0 Makefile
  2. +1 −0 README.md
  3. +2 −1 config.json.sample.full
  4. +1 −1 js/messages.json
  5. +1 −1 js/t.js
  6. +484 −0 locales/en.po
  7. +7 −7 locales/fr.po
  8. +8 −8 locales/messages.pot
  9. +2 −0 webpack.config.js
View
@@ -41,5 +41,6 @@ rebuildsearch:
gettext:
python gettext.py
msgmerge -U locales/en.po locales/messages.pot
msgmerge -U locales/fr.po locales/messages.pot
npm run stonejs -- build --merge locales/*.po js/messages.json
View
@@ -59,6 +59,7 @@ If unsure, leave them empty.
* `googleanalyticsaccount`: enables Google Analytics.
* `mailchimp`: mailchimp-related configuration. If set, new users will be added to a mailing list.
* `metricsaddresses`: comma separated whitelist of addresses from where the `/metrics` endpoint is accessible
* `languages`: list of languages for the user interface
## Build & Run
View
@@ -36,5 +36,6 @@
"listid": "",
"datacenter": ""
},
"googleanalyticsaccount": ""
"googleanalyticsaccount": "",
"languages": ["en"]
}
View
@@ -1 +1 @@
{"fr":{"plural-forms":"nplurals=2; plural=(n > 1);","messages":{"A walkthrough is playing or recording in a different window or tab. Do not close this window.":["Une visite guidée est en cours d'exectution ou d'enregistrement dans une autre fenêtre ou un autre onglet. Ne fermez pas cette fenetre ou cet onlget"],"Abort walkthrough":["Mettre fin à la visite guidée\t"],"Add new site":["Add new site"],"Advanced settings":["Réglages avancés"],"Are you sure that you want to delete this walkthrough?":["Etes vous certain de vouloir supprimer cette visite guidée?"],"Authentication":["Identification"],"Back":["Revenir"],"Cancel":["Annuler"],"Cancel walkthrough":["Annuler la visite guidée"],"Click":[""],"Close":["Fermer"],"Code":["Code"],"Command":["Commande"],"Connect":["Connecter"],"Continue":["Poursuivez"],"Create your Walkthrough GIF":["Create your Walkthrough GIF"],"Delete":["Supprimer"],"Description":["Description"],"Disable":["Désactiver"],"Disable 2-factor authentication":["Désactiver l'identification en 2 étapes"],"Download from GitHub":[""],"E-mail":[""],"Edit":["Modifier"],"Edit walkthrough":["Modifier la visite guidée"],"Email":["e-mail"],"Embed codes":["Embed codes"],"Embed these results":["Embed these results"],"Enable 2-factor authentication":["Activer l'identification en 2 étapes"],"Failed to open the popup automatically.":["Echec de l'ouverture automatique du pop-up"],"Finish & Save":["Finish & Save"],"First argument":["Premier argument"],"Forgot your password?":["Mot de passe oublié ?"],"Generate my code!":["Generer mon code !"],"Generate my embed code!":["Generate my embed code!"],"Generate your personalized embed code to record and play walkthroughs":["Generate your personalized embed code to record and play walkthroughs"],"Get help":["Demande d'assistance"],"Help center":["Centre d'assistance"],"Highlight":["Surligner"],"Invalid url":["Invalid url"],"It looks like you haven't got a Walkthrough yet. Add an embed code first to your site.":["It looks like you haven't got a Walkthrough yet. Add an embed code first to your site."],"Loading ...":["Chargement en cours ..."],"Log in":["S'identifier"],"Log in with {label}":[""],"My Profile":[""],"My Walkthroughs":["My Walkthroughs"],"Name":["Nom"],"New again:":["Renouveller"],"New to WalkHub?":["Bienvenue à Walkhub"],"New:":["Nouveau"],"Next":["Suivant"],"Off":["Inactif"],"Old:":["Vieux"],"On":["Actif"],"Open":["Ouvrir"],"Open walkthrough manually":["Ouverture manuelle de la visite guidée"],"Password":["Mot de passe"],"Password change":["Changement de mot de passe"],"Password confirm":["Confirmation du mot de passe"],"Play":["Lancer"],"Play walkthrough":["Lancer la visite guidée"],"Position":["Position"],"Record":["Enregistrer"],"Record button":["Bouton Enregistrer"],"Record walkthrough":["Enregistrer la visite guidée"],"Record walkthroughs and play them on top of websites":["Record walkthroughs and play them on top of websites"],"Recorded steps":["Etapes enregistrées"],"Recorder embed code":["Recorder embed code"],"Recovery email has been sent.":["Recovery email has been sent."],"Register":["S'inscrire"],"Request a one-time login link":["Request a one-time login link"],"Reset":["Ré-initialisation"],"Reset form":["Ré-initialiser le formulaire"],"Save":["Enregistrer"],"Screening gif":["Screening gif"],"Screening widget":["Screening widget"],"Search":["Recherche"],"Second argument":["Second argument"],"Select":[""],"Sign in":[""],"Sign up for free":["Inscription gratuite"],"Starting URL":["URL de démarrage"],"Steps":["Etapes"],"Suggestions: ":[""],"The site might not be compatible with this walkhub":["Ce site peut ne pas être compatible avec cette visite guidée"],"The walkthrough is recorded on an HTTP website. Playing the walkthrough will temporarly reload the page in HTTP.":["La visite guidée s'effectue sur un site non sécurisé (HTTP)"],"The {number}. bubble is not found. Go to the {editlink} form to repair it. Technical info: {locator}":[""],"The {number}. bubble is not found. Report it to the owner.":[""],"This walkthrough is only enabled in popup mode":["Cette visite guidée s'effectue obligatoirement en mode pop-up"],"Title":["Titre"],"To enable WalkHub, you need to place this code so that it will be rendered on every page":["To enable WalkHub, you need to place this code so that it will be rendered on every page"],"Token":["Token"],"Two-factor authentication":["Identification en 2 étapes"],"Type":[""],"Untitled walkthrough":["Visite guidée sans titre"],"Update your Walkthrough GIF":["Update your Walkthrough GIF"],"Verification email has been sent.":["Verification email has been sent"],"Verify":["Verifier"],"Walkthrough":["Visite guidée"],"Walkthrough on {domain}":["Walkthroughs on the site"],"Walkthroughs on the site":["Walkthroughs on the site"],"Welcome to WalkHub!":["Bienvenue à Walkhub"],"Your Walkthrough will be recorded in a new browser tab, just close the tab when you are finished.":["Your Walkthrough will be recorded in a new browser tab, just close the tab when you are finished."],"bottom left":[""],"bottom right":[""],"email":["e-mail"],"none":[""],"top left":[""],"top right":[""],"website url":["UURL du site web"],"{label} log in":[""],"{verb} in {label}":[""],"{verb} on {argument}":["Second argument"]}}}
{"en":{"plural-forms":"nplurals=2; plural=n != 1;","messages":{"A walkthrough is playing or recording in a different window or tab. Do not close this window.":[""],"Abort walkthrough":[""],"Add new site":[""],"Advanced settings":[""],"Are you sure that you want to delete this walkthrough?":[""],"Authentication":[""],"Back":[""],"Cancel":[""],"Cancel walkthrough":[""],"Click":[""],"Close":[""],"Code":[""],"Command":[""],"Connect":[""],"Continue":[""],"Create your Walkthrough GIF":[""],"Delete":[""],"Description":[""],"Disable":[""],"Disable 2-factor authentication":[""],"Download from GitHub":[""],"E-mail":[""],"Edit":[""],"Edit walkthrough":[""],"Email":[""],"Embed codes":[""],"Embed these results":[""],"Enable 2-factor authentication":[""],"Failed to open the popup automatically.":[""],"Finish & Save":[""],"First argument":[""],"Forgot your password?":[""],"Generate my code!":[""],"Generate my embed code!":[""],"Generate your personalized embed code to record and play walkthroughs":[""],"Get help":[""],"Help center":[""],"Highlight":[""],"Invalid url":[""],"It looks like you haven't got a Walkthrough yet. Add an embed code first to your site.":[""],"Loading ...":[""],"Log in":[""],"Log in with {label}":[""],"My Profile":[""],"My Walkthroughs":[""],"Name":[""],"New again:":[""],"New to WalkHub?":[""],"New:":[""],"Next":[""],"Off":[""],"Old:":[""],"On":[""],"Open":[""],"Open walkthrough manually":[""],"Password":[""],"Password change":[""],"Password confirm":[""],"Play":[""],"Play walkthrough":[""],"Position":[""],"Record":[""],"Record button":[""],"Record walkthrough":[""],"Record walkthroughs and play them on top of websites":[""],"Recorded steps":[""],"Recorder embed code":[""],"Recovery email has been sent.":[""],"Register":[""],"Request a one-time login link":[""],"Reset":[""],"Reset form":[""],"Save":[""],"Screening gif":[""],"Screening widget":[""],"Search":[""],"Second argument":[""],"Select":[""],"Sign in":[""],"Sign up for free":[""],"Starting URL":[""],"Steps":[""],"Suggestions: ":[""],"The site might not be compatible with this walkhub":[""],"The walkthrough is recorded on an HTTP website. Playing the walkthrough will temporarly reload the page in HTTP.":[""],"The {number}. bubble is not found. Go to the {editlink} form to repair it. Technical info: {locator}":[""],"The {number}. bubble is not found. Report it to the owner.":[""],"This walkthrough is only enabled in popup mode":[""],"Title":[""],"To enable WalkHub, you need to place this code so that it will be rendered on every page":[""],"Token":[""],"Two-factor authentication":[""],"Type":[""],"Untitled walkthrough":[""],"Update your Walkthrough GIF":[""],"Verification email has been sent.":[""],"Verify":[""],"Walkthrough":[""],"Walkthrough on {domain}":[""],"Walkthroughs on the site":[""],"Welcome to WalkHub!":[""],"Your Walkthrough will be recorded in a new browser tab, just close the tab when you are finished.":[""],"bottom left":[""],"bottom right":[""],"email":[""],"none":[""],"top left":[""],"top right":[""],"website url":[""],"{label} log in":[""],"{verb} in {label}":[""],"{verb} on {argument}":[""]}},"fr":{"plural-forms":"nplurals=2; plural=(n > 1);","messages":{"A walkthrough is playing or recording in a different window or tab. Do not close this window.":["Une visite guidée est en cours d'exectution ou d'enregistrement dans une autre fenêtre ou un autre onglet. Ne fermez pas cette fenetre ou cet onlget"],"Abort walkthrough":["Mettre fin à la visite guidée\t"],"Add new site":["Add new site"],"Advanced settings":["Réglages avancés"],"Are you sure that you want to delete this walkthrough?":["Etes vous certain de vouloir supprimer cette visite guidée?"],"Authentication":["Identification"],"Back":["Revenir"],"Cancel":["Annuler"],"Cancel walkthrough":["Annuler la visite guidée"],"Click":[""],"Close":["Fermer"],"Code":["Code"],"Command":["Commande"],"Connect":["Connecter"],"Continue":["Poursuivez"],"Create your Walkthrough GIF":["Create your Walkthrough GIF"],"Delete":["Supprimer"],"Description":["Description"],"Disable":["Désactiver"],"Disable 2-factor authentication":["Désactiver l'identification en 2 étapes"],"Download from GitHub":[""],"E-mail":[""],"Edit":["Modifier"],"Edit walkthrough":["Modifier la visite guidée"],"Email":["e-mail"],"Embed codes":["Embed codes"],"Embed these results":["Embed these results"],"Enable 2-factor authentication":["Activer l'identification en 2 étapes"],"Failed to open the popup automatically.":["Echec de l'ouverture automatique du pop-up"],"Finish & Save":["Finish & Save"],"First argument":["Premier argument"],"Forgot your password?":["Mot de passe oublié ?"],"Generate my code!":["Generer mon code !"],"Generate my embed code!":["Generate my embed code!"],"Generate your personalized embed code to record and play walkthroughs":["Generate your personalized embed code to record and play walkthroughs"],"Get help":["Demande d'assistance"],"Help center":["Centre d'assistance"],"Highlight":["Surligner"],"Invalid url":["Invalid url"],"It looks like you haven't got a Walkthrough yet. Add an embed code first to your site.":["It looks like you haven't got a Walkthrough yet. Add an embed code first to your site."],"Loading ...":["Chargement en cours ..."],"Log in":["S'identifier"],"Log in with {label}":[""],"My Profile":[""],"My Walkthroughs":["My Walkthroughs"],"Name":["Nom"],"New again:":["Renouveller"],"New to WalkHub?":["Bienvenue à Walkhub"],"New:":["Nouveau"],"Next":["Suivant"],"Off":["Inactif"],"Old:":["Vieux"],"On":["Actif"],"Open":["Ouvrir"],"Open walkthrough manually":["Ouverture manuelle de la visite guidée"],"Password":["Mot de passe"],"Password change":["Changement de mot de passe"],"Password confirm":["Confirmation du mot de passe"],"Play":["Lancer"],"Play walkthrough":["Lancer la visite guidée"],"Position":["Position"],"Record":["Enregistrer"],"Record button":["Bouton Enregistrer"],"Record walkthrough":["Enregistrer la visite guidée"],"Record walkthroughs and play them on top of websites":["Record walkthroughs and play them on top of websites"],"Recorded steps":["Etapes enregistrées"],"Recorder embed code":["Recorder embed code"],"Recovery email has been sent.":["Recovery email has been sent."],"Register":["S'inscrire"],"Request a one-time login link":["Request a one-time login link"],"Reset":["Ré-initialisation"],"Reset form":["Ré-initialiser le formulaire"],"Save":["Enregistrer"],"Screening gif":["Screening gif"],"Screening widget":["Screening widget"],"Search":["Recherche"],"Second argument":["Second argument"],"Select":[""],"Sign in":[""],"Sign up for free":["Inscription gratuite"],"Starting URL":["URL de démarrage"],"Steps":["Etapes"],"Suggestions: ":[""],"The site might not be compatible with this walkhub":["Ce site peut ne pas être compatible avec cette visite guidée"],"The walkthrough is recorded on an HTTP website. Playing the walkthrough will temporarly reload the page in HTTP.":["La visite guidée s'effectue sur un site non sécurisé (HTTP)"],"The {number}. bubble is not found. Go to the {editlink} form to repair it. Technical info: {locator}":[""],"The {number}. bubble is not found. Report it to the owner.":[""],"This walkthrough is only enabled in popup mode":["Cette visite guidée s'effectue obligatoirement en mode pop-up"],"Title":["Titre"],"To enable WalkHub, you need to place this code so that it will be rendered on every page":["To enable WalkHub, you need to place this code so that it will be rendered on every page"],"Token":["Token"],"Two-factor authentication":["Identification en 2 étapes"],"Type":[""],"Untitled walkthrough":["Visite guidée sans titre"],"Update your Walkthrough GIF":["Update your Walkthrough GIF"],"Verification email has been sent.":["Verification email has been sent"],"Verify":["Verifier"],"Walkthrough":["Visite guidée"],"Walkthrough on {domain}":["Walkthroughs on the site"],"Walkthroughs on the site":["Walkthroughs on the site"],"Welcome to WalkHub!":["Bienvenue à Walkhub"],"Your Walkthrough will be recorded in a new browser tab, just close the tab when you are finished.":["Your Walkthrough will be recorded in a new browser tab, just close the tab when you are finished."],"bottom left":[""],"bottom right":[""],"email":["e-mail"],"none":[""],"top left":[""],"top right":[""],"website url":["UURL du site web"],"{label} log in":[""],"{verb} in {label}":[""],"{verb} on {argument}":["Second argument"]}}}
View
@@ -18,7 +18,7 @@ import messages from 'messages.json';
var Stone = require("stonejs");
Stone.addCatalogs(messages);
Stone.setBestMatchingLocale();
Stone.setBestMatchingLocale(LANGUAGES);
export var t = Stone.gettext;
Oops, something went wrong.

0 comments on commit 649f2fc

Please sign in to comment.