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

Added fr-FR#6

Merged
bdistin merged 7 commits into
dirigeants:masterfrom
Pandraghon:i18n_fr
Aug 3, 2017
Merged

Added fr-FR#6
bdistin merged 7 commits into
dirigeants:masterfrom
Pandraghon:i18n_fr

Conversation

@Pandraghon
Copy link
Copy Markdown
Member

Klasa will be able to speak french.
Omelette du fromage !

Comment thread src/languages/fr-FR.js Outdated
SETTING_GATEWAY_KEY_NOT_ARRAY: (key) => `La clef '${key}' n'est pas un Array.`,
SETTING_GATEWAY_KEY_NOEXT: (key) => `La clef '${key}' n'existe pas dans le schema de data actuel.`,
SETTING_GATEWAY_INVALID_TYPE: 'Le paramètre \'type\' doit être soit \'add\' ou \'remove\'.',
SETTING_RESOLVER_INVALID_USER: 'Cette clef attend un id ou une instance de User.',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All SETTING_RESOLVER strings were removed in some updates since this pr was opened.

Comment thread src/languages/fr-FR.js Outdated
SETTING_RESOLVER_MINMAX_BOTH: (min, max) => `entre ${min} et ${max}`,
SETTING_RESOLVER_MINMAX_MIN: (min) => `plus que ${min}`,
SETTING_RESOLVER_MINMAX_MAX: (max) => `moins que ${max}`,
ARG_RESOLVER_INVALID_PIECE: (name, piece) => `${name} doit être un nom de ${piece} valide.`,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All ARG_RESOLVER strings were updated to just be RESOLVER, as they now serve both ARG_RESOLVER and SETTING_RESOLVER

Remove SETTING_RESOLVER_X
Change ARG_RESOLVER_X to RESOLVER_X
Copy link
Copy Markdown

@eslachance eslachance left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SVP vérifier mes commentaires et effectuer les modifications appropriées.

Comment thread src/languages/fr-FR.js Outdated
SETTING_RESOLVER_INVALID_ROLE: 'Cette clef attend un id ou une instance de Role.',
SETTING_RESOLVER_INVALID_BOOLEAN: 'Cette clef attend un Boolean.',
SETTING_RESOLVER_STRING_MAXMIN: (err) => `La longueur de la chaîne doit être de ${err} caractères.`,
SETTING_RESOLVER_INVALID_INTEGER: 'Cette clef attend un Integer.',
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Integer" et "Entier" sont utilisé dans cette clé et l'autre, ça pourrait porter à confusion de changer de terme de cette façon.

Comment thread src/languages/fr-FR.js Outdated
SETTING_GATEWAY_KEY_NOT_ARRAY: (key) => `La clef '${key}' n'est pas un Array.`,
SETTING_GATEWAY_KEY_NOEXT: (key) => `La clef '${key}' n'existe pas dans le schema de data actuel.`,
SETTING_GATEWAY_INVALID_TYPE: 'Le paramètre \'type\' doit être soit \'add\' ou \'remove\'.',
SETTING_RESOLVER_INVALID_USER: 'Cette clef attend un id ou une instance de User.',
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Identifiant d'utilisateur", peut-être. Discord eux-même réfèrent à un ID par "Identifiant"

image

C'est toujours mieux d'utiliser les termes déjà traduits par le logiciel!

Termes de Discord:
ID = identifiant
User = Utilisateur
Channel = Salon (textuel, vocal)
Guild = Serveur (eh oui, le UI n'utilise jamais guild !)

Comment thread src/languages/fr-FR.js Outdated
COMMAND_RELOAD_ALL: (type) => `✅ Tous les ${type} ont été rechargés.`,
COMMAND_REBOOT: 'Redémarrage...',
COMMAND_PING: 'Ping?',
COMMAND_PINGPONG: (diff, ping) => `Pong! (L'aller-retour a pris: ${diff}ms. Heartbeat: ${ping}ms.)`,
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Le terme "Pulsation" est accepté par l'office québécois de la langue française, et peut donc être substitué. Je sais bien, l'OQLF n'est pas fr_FR mais c'est mieux que pas de traduction du tout!

Comment thread src/languages/fr-FR.js Outdated
'Veuillez soumettre un problème à <https://github.com/dirigeants/klasa> si vous trouvez un bug.'
],
COMMAND_INFO: [
"Klasa est un framework 'plug-and-play' construit à partir de la librairie Discord.js.",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Un framework n'est pas construit "à partir de" mais bien "étends" une librairie. La phrase semble dire que c'est une version modifiée de la librairie ce qui n'est pas le cas.

Comment thread src/languages/fr-FR.js Outdated
'• "Langages", qui vous permettent de localiser votre bot.',
'',
'Nous aspirons à être un framework personnalisable à 100% pour répondre à tous les publics. Nous faisons de fréquentes mises-à-jour et corrections de bugs.',
'Si vous êtes intéressés par nous, allez sur https://klasa.js.org'
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ouf. On révise cette phrase svp.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Je n'en suis tellement pas fier de celle-là 😖

Comment thread src/languages/fr-FR.js Outdated
COMMAND_CONF_NOVALUE: 'Vous devez fournir une valeur',
COMMAND_CONF_ADDED: (value, key) => `La valeur \`${value}\` a été ajoutée avec succès à la clef : **${key}**`,
COMMAND_CONF_UPDATED: (key, response) => `La clef **${key}** a été mise à jour avec succès : \`${response}\``,
COMMAND_CONF_KEY_NOT_ARRAY: 'Cette clef n\'est pas un tableau. Utilisez plutôt l\'action \'reset\'.',
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Array", c'est plutôt une "matrice" qu'un tableau. Le terme mathématique prime.

@Pandraghon
Copy link
Copy Markdown
Member Author

Thanks for your proofreading, changes made!

Copy link
Copy Markdown

@eslachance eslachance left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some tweaks may be left, they are minor enough to merge this either way.

@Pandraghon Pandraghon deleted the i18n_fr branch August 3, 2017 23:52
@kyranet kyranet added Type: Maintenance Issues and PRs related to the maintenance of a module. Meta: Feature Issues and PRs related to new features. labels Feb 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Meta: Feature Issues and PRs related to new features. Type: Maintenance Issues and PRs related to the maintenance of a module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants