Skip to content
This repository has been archived by the owner on Aug 24, 2020. It is now read-only.

Commit

Permalink
Mark some other texts for translation
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavid committed Aug 18, 2017
1 parent 9fe4713 commit 8f45b77
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 6 deletions.
5 changes: 3 additions & 2 deletions js/client/walkthrough/bubble.js
Expand Up @@ -20,6 +20,7 @@ import {MAXIMUM_ZINDEX} from "util";
import editDialog from "client/walkthrough/editdialog";
import EventAbsorber from "client/walkthrough/eventabsorber";
import LocatorGenerator from "client/walkthrough/locator_generator";
import {t} from "t";

class Bubble {

Expand Down Expand Up @@ -111,7 +112,7 @@ class Bubble {

this.nextButton = $("<a />")
.attr("href", "#")
.text("Next")
.text(t("Next"))
.addClass("wtbubble-button")
.addClass("wtbubble-next")
.addClass("wtbubble-button")
Expand All @@ -130,7 +131,7 @@ class Bubble {
.attr("href", "#")
.addClass("wtbubble-edit")
.addClass("wtbubble-button")
.text("Edit")
.text(t("Edit"))
.click(function (event) {
event.preventDefault();
that.editdialog = new editDialog(that.step, that.contentWrapper);
Expand Down
3 changes: 2 additions & 1 deletion js/client/walkthrough/editdialog.js
Expand Up @@ -16,6 +16,7 @@

import $ from "jquery";
import Bubble from "client/walkthrough/bubble";
import {t} from "t";

class editDialog {

Expand Down Expand Up @@ -217,7 +218,7 @@ class editDialog {
this.controller.client.getSuggestions(this.step.cmd, this.step.arg0, this.step.arg1, function (data) {
suggestionwrapper
.show()
.append($("<p/>").text("Suggestions: "));
.append($("<p/>").text(t("Suggestions: ")));
for (var i in data) {
if (data.hasOwnProperty(i)) {
$("<p />")
Expand Down
2 changes: 1 addition & 1 deletion js/messages.json
@@ -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"],"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"],"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 Walkthroughs":["My Walkthroughs"],"Name":["Nom"],"New again:":["Renouveller"],"New to WalkHub?":["Bienvenue à Walkhub"],"New:":["Nouveau"],"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"],"Sign in":[""],"Sign up for free":["Inscription gratuite"],"Starting URL":["URL de démarrage"],"Steps":["Etapes"],"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)"],"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"],"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."],"email":["e-mail"],"website url":["UURL du site web"],"{label} log in":[""]}}}
{"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"],"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"],"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 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"],"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)"],"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"],"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."],"email":["e-mail"],"website url":["UURL du site web"],"{label} log in":[""]}}}
12 changes: 10 additions & 2 deletions locales/fr.po
Expand Up @@ -104,8 +104,8 @@ msgstr "Désactiver l'identification en 2 étapes"
msgid "E-mail"
msgstr ""

#: js/components/profile.js:57 js/components/walkthrough.js:66
#: js/components/walkthrough.js:69
#: js/client/walkthrough/bubble.js:134 js/components/profile.js:57
#: js/components/walkthrough.js:66 js/components/walkthrough.js:69
msgid "Edit"
msgstr "Modifier"

Expand Down Expand Up @@ -214,6 +214,10 @@ msgstr "Bienvenue à Walkhub"
msgid "New:"
msgstr "Nouveau"

#: js/client/walkthrough/bubble.js:115
msgid "Next"
msgstr "Suivant"

#: js/components/onoff.js:25
msgid "Off"
msgstr "Inactif"
Expand Down Expand Up @@ -340,6 +344,10 @@ msgstr "URL de démarrage"
msgid "Steps"
msgstr "Etapes"

#: js/client/walkthrough/editdialog.js:221
msgid "Suggestions: "
msgstr ""

#: js/components/record.js:69
msgid "The site might not be compatible with this walkhub"
msgstr "Ce site peut ne pas être compatible avec cette visite guidée"
Expand Down
9 changes: 9 additions & 0 deletions locales/messages.pot
Expand Up @@ -106,6 +106,7 @@ msgstr ""
msgid "E-mail"
msgstr ""

#: js/client/walkthrough/bubble.js:134
#: js/components/profile.js:57
#: js/components/walkthrough.js:66
#: js/components/walkthrough.js:69
Expand Down Expand Up @@ -216,6 +217,10 @@ msgstr ""
msgid "New:"
msgstr ""

#: js/client/walkthrough/bubble.js:115
msgid "Next"
msgstr ""

#: js/components/onoff.js:25
msgid "Off"
msgstr ""
Expand Down Expand Up @@ -344,6 +349,10 @@ msgstr ""
msgid "Steps"
msgstr ""

#: js/client/walkthrough/editdialog.js:221
msgid "Suggestions: "
msgstr ""

#: js/components/record.js:69
msgid "The site might not be compatible with this walkhub"
msgstr ""
Expand Down

0 comments on commit 8f45b77

Please sign in to comment.