From 5053dde5f0da73046bafe6cb3a3b56e978ec3d19 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 10 Mar 2020 18:18:27 +0100 Subject: [PATCH] Update doc mod --- mods/HELP/doc/doc/README.md | 7 +++- mods/HELP/doc/doc/init.lua | 6 ++-- mods/HELP/doc/doc/locale/doc.fr.tr | 52 +++++++++++++++++++++++++++ mods/HELP/doc/doc/locale/template.txt | 2 +- 4 files changed, 63 insertions(+), 4 deletions(-) create mode 100644 mods/HELP/doc/doc/locale/doc.fr.tr diff --git a/mods/HELP/doc/doc/README.md b/mods/HELP/doc/doc/README.md index f95b5f89a..72d2b85fb 100644 --- a/mods/HELP/doc/doc/README.md +++ b/mods/HELP/doc/doc/README.md @@ -4,7 +4,7 @@ can access help pages about various things and the modder can add those pages. The mod itself does not provide any help texts, just the framework. It is the heart of the Help modpack, on which the other Help mods depend. -Current version: 1.1.1 +Current version: 1.2.1 ## For players ### Accessing the help @@ -50,3 +50,8 @@ For custom entities, you may also want to add support for `doc_identifier`. ## License of everything MIT License + +## Translation credits +French: Karamel +German: Wuzzy +Portuguese: BrunoMine diff --git a/mods/HELP/doc/doc/init.lua b/mods/HELP/doc/doc/init.lua index dcb4c7857..4d5f80347 100644 --- a/mods/HELP/doc/doc/init.lua +++ b/mods/HELP/doc/doc/init.lua @@ -17,7 +17,7 @@ doc = {} -- Version number (follows the SemVer specification 2.0.0) doc.VERSION = {} doc.VERSION.MAJOR = 1 -doc.VERSION.MINOR = 0 +doc.VERSION.MINOR = 2 doc.VERSION.PATCH = 1 doc.VERSION.STRING = doc.VERSION.MAJOR.."."..doc.VERSION.MINOR.."."..doc.VERSION.PATCH @@ -657,7 +657,9 @@ end) function doc.formspec_core(tab) if tab == nil then tab = 1 else tab = tostring(tab) end - return "size["..doc.FORMSPEC.WIDTH..","..doc.FORMSPEC.HEIGHT.."]tabheader[0,0;doc_header;".. + return "size["..doc.FORMSPEC.WIDTH..","..doc.FORMSPEC.HEIGHT.."]".. + "style_type[textarea;textcolor=#FFFFFF]".. + "tabheader[0,0;doc_header;".. minetest.formspec_escape(S("Category list")) .. "," .. minetest.formspec_escape(S("Entry list")) .. "," .. minetest.formspec_escape(S("Entry")) .. ";" diff --git a/mods/HELP/doc/doc/locale/doc.fr.tr b/mods/HELP/doc/doc/locale/doc.fr.tr new file mode 100644 index 000000000..f7f33b0f5 --- /dev/null +++ b/mods/HELP/doc/doc/locale/doc.fr.tr @@ -0,0 +1,52 @@ +# textdomain:doc +<=< +>=> +Access to the requested entry has been denied; this entry is secret. You may unlock access by progressing in the game. Figure out on your own how to unlock this entry.=L'accès à cette page a été refusé; cette page est secrète. Vous pouvez débloquer l'accès en progressant dans le jeu. Trouvez comment débloquer cette page. +All entries read.=Toutes les pages sont lues. +All help entries revealed!=Toutes les pages d'aide ont été découvertes ! +All help entries are already revealed.=Toutes les pages d'aide sont déjà découvertes. +Allows you to reveal all hidden help entries with /help_reveal=Vous permet de découvrir toutes les pages d'aide cachées avec /help_reveal +Category list=Liste des catégories +Currently all entries in this category are hidden from you.=Toutes les pages de cette catégories vous sont cachées. +Unlock new entries by progressing in the game.=Débloquez de nouvelles pages en progressant dans le jeu. +Help=Aide +Entry=Page +Entry list=Liste des pages +Error: Access denied.=Erreur : Accès refusé. +Error: No help available.=Erreur : Aucune aide disponible. +# Affichage dans un bouton court +Go to category list=Voir les catégories +Go to entry list=Voir les pages +Help > @1=Aide > @1 +Help > @1 > @2=Aide > @1 > @2 +Help > @1 > (No Entry)=Aide > @1 > (Aucune page) +Help > (No Category)=Aide > (Aucune catégorie) +Hidden entries: @1=Pages cachées : @1 +Nameless entry (@1)=Pages sans nom (@1) +New entries: @1=Nouvelles pages : @1 +New help entry unlocked: @1 > @2=Nouvelles pages d'aide débloquées : @1 +No categories have been registered, but they are required to provide help.=Aucune catégorie n'a été enregistrée, mais elles sont nécessaires pour fournir l'aide. +The Documentation System [doc] does not come with help contents on its own, it needs additional mods to add help content. Please make sure such mods are enabled on for this world, and try again.=Le Système de Documentation [doc] n'est fourni avec aucun contenu d'aide, il a besoin d'autres mods pour ajouter le contenu de l'aide. Vérifiez que de tels mods sont activés pour ce monde, et réessayez. +Number of entries: @1=Nombre de pages : @1 +OK=OK +Open a window providing help entries about Minetest and more=Ouvrire une fenêtre contenant les pages d'aides à propos de Minetest. +Please select a category you wish to learn more about:=Veuillez choisir une catégorie pour laquelle vous souhaitez en savoir plus : +Recommended mods: doc_basics, doc_items, doc_identifier, doc_encyclopedia.=Mods recommandés : doc_basics, doc_items, doc_identifier, doc_encyclopedia. +Reveal all hidden help entries to you=Révéler toutes les pages d'aide cachées pour vous. +Show entry=Voir la page +Show category=Voir la catégorie +Show next entry=Voir la page suivante +Show previous entry=Voir la page précédente +This category does not have any entries.=Cette catégorie ne contient aucune page. +This category has the following entries:=Cette catégorie contient les pages suivantes : +This category is empty.=Cette catégorie est vide. +This is the help.=Ceci est l'aide. +You haven't chosen a category yet. Please choose one in the category list first.=Vous n'avez pas encore choisi de catégorie. Veulliez d'abord en choisir une dans la liste. +You haven't chosen an entry yet. Please choose one in the entry list first.=Vous n'avez pas encore choisi de page. Veuillez d'abord en choisir une dans la liste. +Collection of help texts=Collection des textes d'aide +Notify me when new help is available=Recevoir une notification quand une nouvelle page d'aide est disponible +Play notification sound when new help is available=Jouer un son de notification lorsqu'une nouvelle page d'aide est disponible +Show previous image=Voir l'image précédente +Show previous gallery page=Voir la page précédente de la galerie +Show next image=Voir l'image suivante +Show next gallery page=Voir la page suivante de la galerie diff --git a/mods/HELP/doc/doc/locale/template.txt b/mods/HELP/doc/doc/locale/template.txt index fdeecfdca..517c4286d 100644 --- a/mods/HELP/doc/doc/locale/template.txt +++ b/mods/HELP/doc/doc/locale/template.txt @@ -7,7 +7,7 @@ All help entries revealed!= All help entries are already revealed.= Allows you to reveal all hidden help entries with /help_reveal= Category list= -Currently all entries in this category are hidden from you. +Currently all entries in this category are hidden from you.= Unlock new entries by progressing in the game.= Help= Entry=