1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-23 18:53:36 +02:00

Removed API doc from translations and updated FR translation

This commit is contained in:
Laurent Cozic 2018-09-29 13:29:07 +01:00
parent 12da48c756
commit 53d7a51cb0
9 changed files with 30 additions and 29 deletions

View File

@ -15,8 +15,6 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.1.1\n" "X-Generator: Poedit 2.1.1\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
msgid "To delete a tag, untag the associated notes." msgid "To delete a tag, untag the associated notes."
msgstr "" msgstr ""

View File

@ -712,7 +712,7 @@ msgid "No"
msgstr "Non" msgstr "Non"
msgid "Token has been copied to the clipboard!" msgid "Token has been copied to the clipboard!"
msgstr "" msgstr "Le code d'authentification a été copié dans le presse-papiers !"
msgid "The web clipper service is enabled and set to auto-start." msgid "The web clipper service is enabled and set to auto-start."
msgstr "Le service du Web Clipper est activé et démarrera automatiquement." msgstr "Le service du Web Clipper est activé et démarrera automatiquement."
@ -764,20 +764,21 @@ msgstr ""
"Téléchargez et installez le module complémentaire correspondant à votre " "Téléchargez et installez le module complémentaire correspondant à votre "
"navigateur :" "navigateur :"
#, fuzzy
msgid "Advanced options" msgid "Advanced options"
msgstr "Montrer les options avancées" msgstr "Options avancées"
msgid "Authorisation token:" msgid "Authorisation token:"
msgstr "" msgstr "Code d'authentification :"
msgid "Copy token" msgid "Copy token"
msgstr "" msgstr "Copier le code"
msgid "" msgid ""
"This authorisation token is only needed to allow third-party applications to " "This authorisation token is only needed to allow third-party applications to "
"access Joplin." "access Joplin."
msgstr "" msgstr ""
"Ce code d'authentification est nécessaire uniquement pour permettre aux "
"logiciels tiers d'accéder aux données de Joplin."
msgid "Check synchronisation configuration" msgid "Check synchronisation configuration"
msgstr "Vérifier config synchronisation" msgstr "Vérifier config synchronisation"

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -319,10 +319,10 @@ Current translations:
![](https://joplin.cozic.net/images/flags/country-4x3/hr.png) | Croatian | [hr_HR](https://github.com/laurent22/joplin/blob/master/CliClient/locales/hr_HR.po) | Hrvoje Mandić (trbuhom@net.hr) | 51% ![](https://joplin.cozic.net/images/flags/country-4x3/hr.png) | Croatian | [hr_HR](https://github.com/laurent22/joplin/blob/master/CliClient/locales/hr_HR.po) | Hrvoje Mandić (trbuhom@net.hr) | 51%
![](https://joplin.cozic.net/images/flags/country-4x3/cz.png) | Czech | [cs_CZ](https://github.com/laurent22/joplin/blob/master/CliClient/locales/cs_CZ.po) | Lukas Helebrandt (lukas@aiya.cz) | 80% ![](https://joplin.cozic.net/images/flags/country-4x3/cz.png) | Czech | [cs_CZ](https://github.com/laurent22/joplin/blob/master/CliClient/locales/cs_CZ.po) | Lukas Helebrandt (lukas@aiya.cz) | 80%
![](https://joplin.cozic.net/images/flags/country-4x3/dk.png) | Dansk | [da_DK](https://github.com/laurent22/joplin/blob/master/CliClient/locales/da_DK.po) | Morten Juhl-Johansen Zölde-Fejér (mjjzf@syntaktisk. | 82% ![](https://joplin.cozic.net/images/flags/country-4x3/dk.png) | Dansk | [da_DK](https://github.com/laurent22/joplin/blob/master/CliClient/locales/da_DK.po) | Morten Juhl-Johansen Zölde-Fejér (mjjzf@syntaktisk. | 82%
![](https://joplin.cozic.net/images/flags/country-4x3/de.png) | Deutsch | [de_DE](https://github.com/laurent22/joplin/blob/master/CliClient/locales/de_DE.po) | Michael Sonntag (ms@editorei.de) | 97% ![](https://joplin.cozic.net/images/flags/country-4x3/de.png) | Deutsch | [de_DE](https://github.com/laurent22/joplin/blob/master/CliClient/locales/de_DE.po) | Michael Sonntag (ms@editorei.de) | 98%
![](https://joplin.cozic.net/images/flags/country-4x3/gb.png) | English | [en_GB](https://github.com/laurent22/joplin/blob/master/CliClient/locales/en_GB.po) | | 100% ![](https://joplin.cozic.net/images/flags/country-4x3/gb.png) | English | [en_GB](https://github.com/laurent22/joplin/blob/master/CliClient/locales/en_GB.po) | | 100%
![](https://joplin.cozic.net/images/flags/country-4x3/es.png) | Español | [es_ES](https://github.com/laurent22/joplin/blob/master/CliClient/locales/es_ES.po) | Fernando Martín (f@mrtn.es) | 97% ![](https://joplin.cozic.net/images/flags/country-4x3/es.png) | Español | [es_ES](https://github.com/laurent22/joplin/blob/master/CliClient/locales/es_ES.po) | Fernando Martín (f@mrtn.es) | 97%
![](https://joplin.cozic.net/images/flags/country-4x3/fr.png) | Français | [fr_FR](https://github.com/laurent22/joplin/blob/master/CliClient/locales/fr_FR.po) | Laurent Cozic | 98% ![](https://joplin.cozic.net/images/flags/country-4x3/fr.png) | Français | [fr_FR](https://github.com/laurent22/joplin/blob/master/CliClient/locales/fr_FR.po) | Laurent Cozic | 100%
![](https://joplin.cozic.net/images/flags/es/galicia.png) | Galician | [gl_ES](https://github.com/laurent22/joplin/blob/master/CliClient/locales/gl_ES.po) | Marcos Lans (marcoslansgarza@gmail.com) | 80% ![](https://joplin.cozic.net/images/flags/es/galicia.png) | Galician | [gl_ES](https://github.com/laurent22/joplin/blob/master/CliClient/locales/gl_ES.po) | Marcos Lans (marcoslansgarza@gmail.com) | 80%
![](https://joplin.cozic.net/images/flags/country-4x3/it.png) | Italiano | [it_IT](https://github.com/laurent22/joplin/blob/master/CliClient/locales/it_IT.po) | | 95% ![](https://joplin.cozic.net/images/flags/country-4x3/it.png) | Italiano | [it_IT](https://github.com/laurent22/joplin/blob/master/CliClient/locales/it_IT.po) | | 95%
![](https://joplin.cozic.net/images/flags/country-4x3/nl.png) | Nederlands | [nl_NL](https://github.com/laurent22/joplin/blob/master/CliClient/locales/nl_NL.po) | Heimen Stoffels (vistausss@outlook.com) | 97% ![](https://joplin.cozic.net/images/flags/country-4x3/nl.png) | Nederlands | [nl_NL](https://github.com/laurent22/joplin/blob/master/CliClient/locales/nl_NL.po) | Heimen Stoffels (vistausss@outlook.com) | 97%

View File

@ -2,7 +2,7 @@ const { uuid } = require('lib/uuid.js');
const { promiseChain } = require('lib/promise-utils.js'); const { promiseChain } = require('lib/promise-utils.js');
const { time } = require('lib/time-utils.js'); const { time } = require('lib/time-utils.js');
const { Database } = require('lib/database.js'); const { Database } = require('lib/database.js');
const { _ } = require('lib/locale.js'); const { sprintf } = require('sprintf-js');
const structureSql = ` const structureSql = `
CREATE TABLE folders ( CREATE TABLE folders (
@ -160,17 +160,19 @@ class JoplinDatabase extends Database {
return output; return output;
} }
fieldDescription(tableName, fieldName) { fieldDescription(tableName, fieldName) {
const sp = sprintf;
if (!this.tableDescriptions_) { if (!this.tableDescriptions_) {
this.tableDescriptions_ = { this.tableDescriptions_ = {
notes: { notes: {
parent_id: _('ID of the notebook that contains this note. Change this ID to move the note to a different notebook.'), parent_id: sp('ID of the notebook that contains this note. Change this ID to move the note to a different notebook.'),
body: _('The note body, in Markdown. May also contain HTML.'), body: sp('The note body, in Markdown. May also contain HTML.'),
is_conflict: _('Tells whether the note is a conflict or not.'), is_conflict: sp('Tells whether the note is a conflict or not.'),
is_todo: _('Tells whether this note is a todo or not.'), is_todo: sp('Tells whether this note is a todo or not.'),
todo_due: _('When the todo is due. An alarm will be triggered on that date.'), todo_due: sp('When the todo is due. An alarm will be triggered on that date.'),
todo_completed: _('Tells whether todo is completed or not. This is a timestamp in milliseconds.'), todo_completed: sp('Tells whether todo is completed or not. This is a timestamp in milliseconds.'),
source_url: _('The full URL where the note comes from.'), source_url: sp('The full URL where the note comes from.'),
}, },
folders: {}, folders: {},
resources: {}, resources: {},
@ -182,11 +184,11 @@ class JoplinDatabase extends Database {
for (let i = 0; i < baseItems.length; i++) { for (let i = 0; i < baseItems.length; i++) {
const n = baseItems[i]; const n = baseItems[i];
const singular = n.substr(0, n.length - 1); const singular = n.substr(0, n.length - 1);
this.tableDescriptions_[n].title = _('The %s title.', singular); this.tableDescriptions_[n].title = sp('The %s title.', singular);
this.tableDescriptions_[n].created_time = _('When the %s was created.', singular); this.tableDescriptions_[n].created_time = sp('When the %s was created.', singular);
this.tableDescriptions_[n].updated_time = _('When the %s was last updated.', singular); this.tableDescriptions_[n].updated_time = sp('When the %s was last updated.', singular);
this.tableDescriptions_[n].user_created_time = _('When the %s was created. It may differ from created_time as it can be manually set by the user.', singular); this.tableDescriptions_[n].user_created_time = sp('When the %s was created. It may differ from created_time as it can be manually set by the user.', singular);
this.tableDescriptions_[n].user_updated_time = _('When the %s was last updated. It may differ from updated_time as it can be manually set by the user.', singular); this.tableDescriptions_[n].user_updated_time = sp('When the %s was last updated. It may differ from updated_time as it can be manually set by the user.', singular);
} }
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -547,7 +547,7 @@ $$
<td>Deutsch</td> <td>Deutsch</td>
<td><a href="https://github.com/laurent22/joplin/blob/master/CliClient/locales/de_DE.po">de_DE</a></td> <td><a href="https://github.com/laurent22/joplin/blob/master/CliClient/locales/de_DE.po">de_DE</a></td>
<td>Michael Sonntag (ms@editorei.de)</td> <td>Michael Sonntag (ms@editorei.de)</td>
<td>97%</td> <td>98%</td>
</tr> </tr>
<tr> <tr>
<td><img src="https://joplin.cozic.net/images/flags/country-4x3/gb.png" alt=""></td> <td><img src="https://joplin.cozic.net/images/flags/country-4x3/gb.png" alt=""></td>
@ -568,7 +568,7 @@ $$
<td>Français</td> <td>Français</td>
<td><a href="https://github.com/laurent22/joplin/blob/master/CliClient/locales/fr_FR.po">fr_FR</a></td> <td><a href="https://github.com/laurent22/joplin/blob/master/CliClient/locales/fr_FR.po">fr_FR</a></td>
<td>Laurent Cozic</td> <td>Laurent Cozic</td>
<td>98%</td> <td>100%</td>
</tr> </tr>
<tr> <tr>
<td><img src="https://joplin.cozic.net/images/flags/es/galicia.png" alt=""></td> <td><img src="https://joplin.cozic.net/images/flags/es/galicia.png" alt=""></td>