French translation of HMI
This commit is contained in:
parent
a12953b6f5
commit
179991490f
165
index.html
165
index.html
@ -28,12 +28,12 @@
|
||||
<!-- ko with: connectDialog -->
|
||||
<div class="connect-dialog dialog" data-bind="visible: visible() && !joinOnly()">
|
||||
<div class="dialog-header">
|
||||
Connect to Server
|
||||
Se connecter au serveur
|
||||
</div>
|
||||
<form data-bind="submit: connect">
|
||||
<table>
|
||||
<tr data-bind="if: $root.config.connectDialog.address">
|
||||
<td>Address</td>
|
||||
<td>Adresse</td>
|
||||
<td><input id="address" type="text" data-bind="value: address" required></td>
|
||||
</tr>
|
||||
<tr data-bind="if: $root.config.connectDialog.port">
|
||||
@ -41,11 +41,11 @@
|
||||
<td><input id="port" type="text" data-bind="value: port" required></td>
|
||||
</tr>
|
||||
<tr data-bind="if: $root.config.connectDialog.username">
|
||||
<td>Username</td>
|
||||
<td>Utilisateur</td>
|
||||
<td><input id="username" type="text" data-bind="value: username" required></td>
|
||||
</tr>
|
||||
<tr data-bind="if: $root.config.connectDialog.password">
|
||||
<td>Password</td>
|
||||
<td>Mot de passe</td>
|
||||
<td><input id="password" type="password" data-bind="value: password"></td>
|
||||
</tr>
|
||||
<tr data-bind="if: $root.config.connectDialog.token">
|
||||
@ -57,8 +57,8 @@
|
||||
<tr data-bind="if: $root.config.connectDialog.token">
|
||||
<td></td>
|
||||
<td>
|
||||
<button class="dialog-submit" type="button" data-bind="enable: selectedTokens().length > 0, click: removeSelectedTokens()">Remove</button>
|
||||
<button class="dialog-submit" type="button" data-bind="enable: tokenToAdd().length > 0, click: addToken()">Add</button>
|
||||
<button class="dialog-submit" type="button" data-bind="enable: selectedTokens().length > 0, click: removeSelectedTokens()">Supprimer</button>
|
||||
<button class="dialog-submit" type="button" data-bind="enable: tokenToAdd().length > 0, click: addToken()">Ajouter</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr data-bind="if: $root.config.connectDialog.token, visible: tokens().length > 0">
|
||||
@ -66,13 +66,13 @@
|
||||
<td><select id="token" multiple="multiple" height="5" data-bind="options:tokens, selectedOptions:selectedTokens"></select></td>
|
||||
</tr>
|
||||
<tr data-bind="if: $root.config.connectDialog.channelName">
|
||||
<td>Channel</td>
|
||||
<td>Canal</td>
|
||||
<td><input id="channelName" type="text" data-bind="value: channelName"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="dialog-footer">
|
||||
<input class="dialog-close" type="button" data-bind="click: hide" value="Cancel">
|
||||
<input class="dialog-submit" type="submit" value="Connect">
|
||||
<input class="dialog-close" type="button" data-bind="click: hide" value="Annuler">
|
||||
<input class="dialog-submit" type="submit" value="Se connecter">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@ -80,7 +80,7 @@
|
||||
<!-- ko with: connectDialog -->
|
||||
<div class="join-dialog dialog" data-bind="visible: visible() && joinOnly()">
|
||||
<div class="dialog-header">
|
||||
Mumble Voice Conference
|
||||
Conférence vocale Mumble
|
||||
</div>
|
||||
<form data-bind="submit: connect">
|
||||
<input class="dialog-submit" type="submit" value="Join Conference">
|
||||
@ -90,57 +90,56 @@
|
||||
<!-- ko with: connectErrorDialog -->
|
||||
<div class="connect-dialog error-dialog dialog" data-bind="visible: visible()">
|
||||
<div class="dialog-header">
|
||||
Failed to connect
|
||||
Échec de la connexion.
|
||||
</div>
|
||||
<form data-bind="submit: connect">
|
||||
<table>
|
||||
<tr>
|
||||
<td colspan=2>
|
||||
<!-- ko if: type() == 0 || type() == 8 -->
|
||||
The connection has been refused.
|
||||
La connection a été refusée.
|
||||
<!-- /ko -->
|
||||
<!-- ko if: type() == 1 -->
|
||||
The server uses an incompatible version.
|
||||
Le serveur utilise une version incompatible.
|
||||
<!-- /ko -->
|
||||
<!-- ko if: type() == 2 -->
|
||||
Your user name was rejected. Maybe try a different one?
|
||||
Votre nom d'utilisateur a été rejeté. Pourriez-vous en essayer un autre ?
|
||||
<!-- /ko -->
|
||||
<!-- ko if: type() == 3 -->
|
||||
The given password is incorrect.
|
||||
The user name you have chosen requires a special one.
|
||||
Le mot de passe donné est incorrect.
|
||||
Le nom d'utilisateur donné en nécessite un.
|
||||
<!-- /ko -->
|
||||
<!-- ko if: type() == 4 -->
|
||||
The given password is incorrect.
|
||||
Le mot de passe donné est incorrect.
|
||||
<!-- /ko -->
|
||||
<!-- ko if: type() == 5 -->
|
||||
The user name you have chosen is already in use.
|
||||
Le nom que vous avez choisi est déjà utilisé.
|
||||
<!-- /ko -->
|
||||
<!-- ko if: type() == 6 -->
|
||||
The server is full.
|
||||
Le serveur est complet.
|
||||
<!-- /ko -->
|
||||
<!-- ko if: type() == 7 -->
|
||||
The server requires you to provide a client certificate
|
||||
which is not supported by this web application.
|
||||
Le serveur requiert un certificat client non supporté par cette application web.
|
||||
<!-- /ko -->
|
||||
<br>
|
||||
The server reports:
|
||||
Le serveur indique :
|
||||
<br>
|
||||
"<span class="connect-error-reason" data-bind="text: reason"></span>"
|
||||
</td>
|
||||
</tr>
|
||||
<tr data-bind="if: type() == 2 || type() == 3 || type() == 5">
|
||||
<td>Username</td>
|
||||
<td>Utilisateur</td>
|
||||
<td><input id="username" type="text" data-bind="value: username" required></td>
|
||||
</tr>
|
||||
<tr data-bind="if: type() == 3 || type() == 4">
|
||||
<td>Password</td>
|
||||
<td>Mot de passe</td>
|
||||
<td><input id="password" type="password" data-bind="value: password" required></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="dialog-footer">
|
||||
<input class="dialog-close" type="button" value="Cancel"
|
||||
<input class="dialog-close" type="button" value="Annuler"
|
||||
data-bind="click: hide, visible: !joinOnly()">
|
||||
<input class="dialog-submit" type="submit" value="Retry">
|
||||
<input class="dialog-submit" type="submit" value="Réessayer">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@ -148,12 +147,12 @@
|
||||
<!-- ko with: connectionInfo -->
|
||||
<div class="connection-info-dialog dialog" data-bind="visible: visible">
|
||||
<div class="dialog-header">
|
||||
Connection Information
|
||||
Informations de connexion
|
||||
</div>
|
||||
<div class="dialog-content">
|
||||
<h3>Version</h3>
|
||||
<!-- ko with: serverVersion -->
|
||||
Protocol
|
||||
Protocole
|
||||
<span data-bind="text: major + '.' + minor + '.' + patch"></span>.
|
||||
<br>
|
||||
<br>
|
||||
@ -164,24 +163,24 @@
|
||||
<br>
|
||||
<!-- /ko -->
|
||||
<!-- ko if: !serverVersion() -->
|
||||
Unknown
|
||||
Inconnu
|
||||
<!-- /ko -->
|
||||
|
||||
<h3>Control channel</h3>
|
||||
<span data-bind="text: latencyMs().toFixed(2)"></span> ms average latency
|
||||
(<span data-bind="text: latencyDeviation().toFixed(2)"></span> deviation)
|
||||
<h3>Canal de contrôle</h3>
|
||||
<span data-bind="text: latencyMs().toFixed(2)"></span> ms de latence moyenne
|
||||
(<span data-bind="text: latencyDeviation().toFixed(2)"></span> déviation)
|
||||
<br>
|
||||
<br>
|
||||
Remote host <span data-bind="text: remoteHost"></span>
|
||||
Hôte distant <span data-bind="text: remoteHost"></span>
|
||||
(port <span data-bind="text: remotePort"></span>)
|
||||
<br>
|
||||
|
||||
<h3>Audio bandwidth</h3>
|
||||
<h3>Bande passante audioh</h3>
|
||||
Maximum <span data-bind="text: (maxBitrate()/1000).toFixed(1)"></span> kbits/s
|
||||
(<span data-bind="text: (maxBandwidth()/1000).toFixed(1)"></span> kbits/s with overhead)
|
||||
(<span data-bind="text: (maxBandwidth()/1000).toFixed(1)"></span> kbits/s avec overhead)
|
||||
<br>
|
||||
Current <span data-bind="text: (currentBitrate()/1000).toFixed(1)"></span> kbits/s
|
||||
(<span data-bind="text: (currentBandwidth()/1000).toFixed(1)"></span> kbits/s with overhead)
|
||||
Courante <span data-bind="text: (currentBitrate()/1000).toFixed(1)"></span> kbits/s
|
||||
(<span data-bind="text: (currentBandwidth()/1000).toFixed(1)"></span> kbits/s avec overhead)
|
||||
<br>
|
||||
Codec: <span data-bind="text: codec"></span>
|
||||
</div>
|
||||
@ -193,7 +192,7 @@
|
||||
<!-- ko with: settingsDialog -->
|
||||
<div class="settings-dialog dialog" data-bind="visible: $data">
|
||||
<div class="dialog-header">
|
||||
Settings
|
||||
Paramètres
|
||||
</div>
|
||||
<form data-bind="submit: $root.applySettings">
|
||||
<table>
|
||||
@ -201,9 +200,9 @@
|
||||
<td>Transmission</td>
|
||||
<td>
|
||||
<select data-bind='value: voiceMode'>
|
||||
<option value="cont">Continuous</option>
|
||||
<option value="vad">Voice Activity</option>
|
||||
<option value="ptt">Push To Talk</option>
|
||||
<option value="cont">Continue</option>
|
||||
<option value="vad">Activité vocale</option>
|
||||
<option value="ptt">Appuyer pour parler</option>
|
||||
</td>
|
||||
</tr>
|
||||
<tr data-bind="visible: voiceMode() == 'vad'">
|
||||
@ -219,13 +218,13 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr data-bind="visible: voiceMode() == 'ptt'">
|
||||
<td>PTT Key</td>
|
||||
<td>Touche d'activation</td>
|
||||
<td>
|
||||
<input type="button" data-bind="value: pttKeyDisplay, click: recordPttKey">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Audio Quality</td>
|
||||
<td>Qualité audio</td>
|
||||
<td><span data-bind="text: (audioBitrate()/1000).toFixed(1)"></span> kbit/s</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -235,7 +234,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Audio per packet</td>
|
||||
<td>Audio par paquet</td>
|
||||
<td><span data-bind="text: msPerPacket"></span> ms</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -257,26 +256,26 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Show Avatars</td>
|
||||
<td>Montrer les avatars</td>
|
||||
<td>
|
||||
<select data-bind='value: showAvatars'>
|
||||
<option value="always">Always</option>
|
||||
<option value="own_channel">Same Channel</option>
|
||||
<option value="linked_channel">Linked Channels</option>
|
||||
<option value="minimal_only">Minimal View</option>
|
||||
<option value="never">Never</option>
|
||||
<option value="always">Toujours</option>
|
||||
<option value="own_channel">Même canal</option>
|
||||
<option value="linked_channel">Canaux liés</option>
|
||||
<option value="minimal_only">Vue minimale</option>
|
||||
<option value="never">Jamais</option>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input type="checkbox" data-bind="checked: userCountInChannelName">
|
||||
Show user count after channel name
|
||||
Montrer le nombre d'utilisateurs du canal
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="dialog-footer">
|
||||
<input class="dialog-close" type="button" data-bind="click: $root.closeSettings" value="Cancel">
|
||||
<input class="dialog-submit" type="submit" value="Apply">
|
||||
<input class="dialog-close" type="button" data-bind="click: $root.closeSettings" value="Annuler">
|
||||
<input class="dialog-submit" type="submit" value="Appliquer">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@ -290,75 +289,75 @@
|
||||
|
||||
<!-- ko with: target -->
|
||||
<li data-bind="css: { disabled: !canChangeMute() }">
|
||||
Mute
|
||||
Silence
|
||||
</li>
|
||||
<li data-bind="css: { disabled: !canChangeDeafen() }">
|
||||
Deafen
|
||||
Sourdine
|
||||
</li>
|
||||
<li data-bind="css: { disabled: !canChangePrioritySpeaker() }">
|
||||
Priority Speaker
|
||||
Priorité haut-parleurs
|
||||
</li>
|
||||
|
||||
<li data-bind="css: { disabled: !canLocalMute() }">
|
||||
Local Mute
|
||||
Silence local
|
||||
</li>
|
||||
<li data-bind="css: { disabled: !canIgnoreMessages() }">
|
||||
Ignore Messages
|
||||
Ignorer les messages
|
||||
</li>
|
||||
|
||||
<li data-bind="css: { disabled: !canChangeComment() }, visible: comment">
|
||||
View Comment
|
||||
Voir le commentaire
|
||||
</li>
|
||||
<!-- ko if: $data === $root.thisUser() -->
|
||||
<li data-bind="css: { disabled: !canChangeComment() }, visible: true">
|
||||
Change Comment
|
||||
Modifier le commentaire
|
||||
</li>
|
||||
<!-- /ko -->
|
||||
<!-- ko if: $data !== $root.thisUser() -->
|
||||
<li data-bind="css: { disabled: !canChangeComment() }, visible: comment">
|
||||
Reset Comment
|
||||
Effacer le commentaire
|
||||
</li>
|
||||
<!-- /ko -->
|
||||
|
||||
<li data-bind="css: { disabled: !canChangeAvatar() }, visible: texture,
|
||||
click: viewAvatar">
|
||||
View Avatar
|
||||
Voir l'avatar
|
||||
</li>
|
||||
<!-- ko if: $data === $root.thisUser() -->
|
||||
<li data-bind="css: { disabled: !canChangeAvatar() }, visible: true,
|
||||
click: changeAvatar">
|
||||
Change Avatar
|
||||
Modifier l'avatar
|
||||
</li>
|
||||
<!-- /ko -->
|
||||
<li data-bind="css: { disabled: !canChangeAvatar() }, visible: texture,
|
||||
click: removeAvatar">
|
||||
Reset Avatar
|
||||
Effacer l'avatar
|
||||
</li>
|
||||
|
||||
<li data-bind="css: { disabled: true }, visible: true">
|
||||
Send Message
|
||||
Envoyer un message
|
||||
</li>
|
||||
<li data-bind="css: { disabled: true }, visible: true">
|
||||
Information
|
||||
Informations
|
||||
</li>
|
||||
|
||||
<li data-bind="visible: $data === $root.thisUser(),
|
||||
css: { checked: selfMute },
|
||||
click: toggleMute">
|
||||
Self Mute
|
||||
Se rendre muet
|
||||
</li>
|
||||
<li data-bind="visible: $data === $root.thisUser(),
|
||||
css: { checked: selfDeaf },
|
||||
click: toggleDeaf">
|
||||
Self Deafen
|
||||
Se mettre en sourdine
|
||||
</li>
|
||||
|
||||
<!-- ko if: $data !== $root.thisUser() -->
|
||||
<li data-bind="css: { disabled: true }, visible: true">
|
||||
Add Friend
|
||||
Ajouter un ami
|
||||
</li>
|
||||
<li data-bind="css: { disabled: true }, visible: false">
|
||||
Remove Friend
|
||||
Supprimer un ami
|
||||
</li>
|
||||
<!-- /ko -->
|
||||
|
||||
@ -374,36 +373,36 @@
|
||||
<li data-bind="visible: users.indexOf($root.thisUser()) === -1,
|
||||
css: { disabled: !canJoin() },
|
||||
click: $root.requestMove.bind($root, $root.thisUser())">
|
||||
Join Channel
|
||||
Rejoindre le canal
|
||||
</li>
|
||||
<li data-bind="css: { disabled: !canAdd() }">
|
||||
Add
|
||||
Ajouter
|
||||
</li>
|
||||
<li data-bind="css: { disabled: !canEdit() }">
|
||||
Edit
|
||||
Éditer
|
||||
</li>
|
||||
<li data-bind="css: { disabled: !canRemove() }">
|
||||
Remove
|
||||
Supprimer
|
||||
</li>
|
||||
|
||||
<li data-bind="css: { disabled: !canLink() }">
|
||||
Link
|
||||
Lier
|
||||
</li>
|
||||
<li data-bind="css: { disabled: !canUnlink() }">
|
||||
Unlink
|
||||
Délier
|
||||
</li>
|
||||
<li data-bind="css: { disabled: !canUnlink() }">
|
||||
Unlink All
|
||||
Tout délier
|
||||
</li>
|
||||
|
||||
<li data-bind="css: { disabled: true }">
|
||||
Copy Mumble URL
|
||||
Copier l'URL de Mumble
|
||||
</li>
|
||||
<li data-bind="css: { disabled: true }">
|
||||
Copy Mumble-Web URL
|
||||
Copier l'URL de Mumble-Web
|
||||
</li>
|
||||
<li data-bind="css: { disabled: !canSendMessage() }">
|
||||
Send Message
|
||||
Envoyer un message
|
||||
</li>
|
||||
|
||||
<!-- /ko -->
|
||||
@ -457,17 +456,17 @@
|
||||
<span data-bind="text: value"></span>
|
||||
</script>
|
||||
<script type="text/html" id="log-welcome-message">
|
||||
Welcome message: <span data-bind="html: message"></span>
|
||||
Message de bienvenue: <span data-bind="html: message"></span>
|
||||
</script>
|
||||
<script type="text/html" id="log-chat-message">
|
||||
<span data-bind="visible: channel">
|
||||
(Channel)
|
||||
(Canal)
|
||||
</span>
|
||||
<span data-bind="template: { name: 'user-tag', data: user }"></span>:
|
||||
<span class="message-content" data-bind="html: message"></span>
|
||||
</script>
|
||||
<script type="text/html" id="log-chat-message-self">
|
||||
To
|
||||
À
|
||||
<span data-bind="template: { if: $data.channel, name: 'channel-tag', data: $data.channel }">
|
||||
</span><span data-bind="template: { if: $data.user, name: 'user-tag', data: $data.user }">
|
||||
</span>:
|
||||
|
12
index.js
12
index.js
@ -542,7 +542,7 @@
|
||||
_this5.remoteHost(host);
|
||||
_this5.remotePort(port);
|
||||
|
||||
log('Connecting to server ', host);
|
||||
log('Connexion au serveur ', host);
|
||||
|
||||
// Note: This call needs to be delayed until the user has interacted with
|
||||
// the page in some way (which at this point they have), see: https://goo.gl/7K7WLu
|
||||
@ -554,12 +554,12 @@
|
||||
password: password,
|
||||
tokens: tokens
|
||||
}).done(function (client) {
|
||||
log('Connected!');
|
||||
log('Connecté');
|
||||
|
||||
_this5.client = client;
|
||||
// Prepare for connection errors
|
||||
client.on('error', function (err) {
|
||||
log('Connection error:', err);
|
||||
log('Erreur de connexion:', err);
|
||||
_this5.resetClient();
|
||||
});
|
||||
|
||||
@ -633,7 +633,7 @@
|
||||
_this5.connectErrorDialog.reason(err.reason);
|
||||
_this5.connectErrorDialog.show();
|
||||
} else {
|
||||
log('Connection error:', err);
|
||||
log('Erreur de connexion:', err);
|
||||
}
|
||||
});
|
||||
};
|
||||
@ -947,10 +947,10 @@
|
||||
}
|
||||
if (target.users) {
|
||||
// Channel
|
||||
return "Type message to channel '" + target.name() + "' here";
|
||||
return "Saisissez un message pour le canal '" + target.name() + "' ici";
|
||||
} else {
|
||||
// User
|
||||
return "Type message to user '" + target.name() + "' here";
|
||||
return "Saisissez un message pour l'utilisateur '" + target.name() + "' ici";
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user