Skip to content

Commit

Permalink
add translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mara-Li committed Jan 24, 2024
1 parent 2bc9f84 commit 1b3416b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,10 @@
"desc": "Allows you to reopen the settings on the previously used tab",
"title": "Save tab"
},
"set": {
"desc": "Choose the property key you want to use to link the property of a file to another, without rewrite them each time. Work only for file linked by a wikilink in the frontmatter.",
"title": "Set of options"
},
"shareKey": {
"all": {
"desc": "Share all files regardless of the state of the share key of the notes",
Expand Down
4 changes: 4 additions & 0 deletions src/i18n/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,10 @@
"desc": "Permet de rouvrir les paramètres sur l'onglet précédemment utilisé",
"title": "Sauvegarder l'onglet"
},
"set": {
"desc": "Choisissez la clé de propriété que vous souhaitez utiliser pour lier la propriété d'un fichier à un autre, sans les réécrire à chaque fois. Ne fonctionne que pour les fichiers liés par un lien wiki dans le frontmatter.",
"title": "Set d'options"
},
"shareKey": {
"all": {
"desc": "Autoriser le partage de tous les fichiers et ignorer l'état de la clé de partage",
Expand Down
4 changes: 2 additions & 2 deletions src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1100,8 +1100,8 @@ export class GithubPublisherSettingsTab extends PluginSettingTab {
);

new Setting(this.settingsPage)
.setName("Set of options")
.setDesc("Choose the property key you want to use to link the property of a file to another, without rewrite them each time.")
.setName(i18next.t("settings.plugin.set.title"))
.setDesc(i18next.t("settings.plugin.set.desc"))
.addText((text) =>
text
.setPlaceholder("Set")
Expand Down

0 comments on commit 1b3416b

Please sign in to comment.