From 7f60263eaa907eeda8ab8abc4148c79c4b49b138 Mon Sep 17 00:00:00 2001 From: Crabman77 Date: Thu, 7 Jul 2022 23:52:21 +0200 Subject: [PATCH] =?UTF-8?q?WIP=20id=C3=A9e=20:=20traduire=20les=20messages?= =?UTF-8?q?=20avec=20le=20translator=20pour=20raccourcir=20les=20messages?= =?UTF-8?q?=20affich=C3=A9s=20et=20dans=20une=20seule=20langue.=20Branche?= =?UTF-8?q?=20pour=20test/demonstration.=20Casserait=20la=20compatibilit?= =?UTF-8?q?=C3=A9=20du=20mod=20le=20cas=20=C3=A9cheant=20car=20sp=C3=A9cia?= =?UTF-8?q?lement=20pour=20le=20serveur=20nalc.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- init.lua | 2 +- locale/random_messages.fr.tr | 55 ++++++++++++++++++++++++++++++++++++ locale/template.txt | 55 ++++++++++++++++++++++++++++++++++++ random_messages | 27 ++++++++++++++++++ 4 files changed, 138 insertions(+), 1 deletion(-) create mode 100644 random_messages diff --git a/init.lua b/init.lua index 69722e9..ab3f804 100644 --- a/init.lua +++ b/init.lua @@ -88,7 +88,7 @@ end function random_messages.display_message(message_number) local msg = random_messages.messages[message_number] or message_number if msg then - minetest.chat_send_all(msg) + minetest.chat_send_all(S(msg)) end end diff --git a/locale/random_messages.fr.tr b/locale/random_messages.fr.tr index 333d2b3..e1b4249 100644 --- a/locale/random_messages.fr.tr +++ b/locale/random_messages.fr.tr @@ -6,3 +6,58 @@ View and/or alter the server's random messages=Afficher et/ou modifier les messa ERROR: No such message.=ERREUR : ce message est inexistant. ERROR: No message.=ERREUR : pas de message. ERROR: Invalid command.=ERREUR : Commande invalide. + +Tip: To be able to crafter quarry that are limited on the server, you will need to have experience in mining. Take a look at the awards list.=Astuce : Pour pouvoir crafter des quarry qui sont limités sur le serveur, vous devrez faire preuve d'expérience dans le minage. Jetez un œuil dans la liste des awards.. + +Tip: You can sprint while holding down the "E" key, be careful this will increase your hunger considerably.=Astuce : Vous pouvez sprinter en restant appuyé sur la touche "E", attention cela augmentera votre faim considérablement.. + +Advice: If you don't want to see your house stolen or grieffed then think of the areas.=Conseil : Si vous ne voulez pas voir votre maison volée ou griefée, pensez aux areas !. + +Tip: You can speak with other players from a secure IRC channel #NALC of this server. URL: irc.sys4.fr:669.=Astuce : Vous pouvez parler avec les autres joueurs depuis le canal IRC sécurisé #NALC de ce serveur. URL : irc.sys4.fr:6697. + +Tip: On the #NALC IRC channel you can with "nalc" bot interact with the server from your favorite client program. URL: irc.sys4.fr:669.=Astuce : Sur le canal IRC #NALC vous pouvez, grâce au bot "nalc", interagir avec le serveur depuis votre client IRC favoris. URL : irc.sys4.fr:6697. + +Info: Mana is a resource for using magic or magical objects, no food regenerates it.=Info : La mana est une ressource permettant d'utiliser la magie ou des objets magiques, aucune nourriture ne la régénère.. + +Tip: You can increase your mana by wearing amulets.=Astuce : Vous pouvez accroître votre mana en portant des amulettes.. + +Advice: Craft a "returnmirror" might be a good idea to bypass the limitations on teleportation as "/home" and "/spawn".=Conseil : Fabriquer un "returnmirror" peut être une bonne idée pour contourner les limitations sur les téléportations comme "/home" et "/spawn".. + +Tip: Fishing is a good way to eat fish food, but can also bring you surprises like pieces of equipment/weapons/shields etc...=Astuce : La pêche est un bon moyen de se nourrir, mais peut aussi vous apporter des surprises comme des pièces d'équipements/armes/boucliers/etc.... + +Advice: The wooden fishing pole isn't the best tool to catch fish, try the perfect fishing pole (made with mithril).=Conseil : La canne à pêche en bois n'est pas le meilleur outil pour attraper des poissons, essayez la canne à pêche parfaite (faite en mithril) !. + +Tip: You can use worms, but also fish as bait, with them you will have more chances to get wonderful and rare items.=Astuce : Vous pouvez utiliser des vers de terre, mais aussi des poissons en appâts, avec ces derniers vous aurez plus de chance d'obtenir de magnifiques et rares objets !. + +Tip: The news mod allows you read news with the command "/ news" wich keep you informed of news of the server.=Astuce : Le mod news vous permet grâce à la commande "/news" de vous tenir informé des nouveautés du serveur.. + +Tip: The u_skins mod allow you to change the appearance of your avatar through the icon at the bottom right of your inventory.=Astuce : Le mod u_skins permet de changer l'apparence de votre avatar depuis l'icone en bas à droite de votre inventaire.. + +Tip: The email mod allow you to transmit messages to offline players, use the command "/mail ".=Astuce : Le mod email permet de transmettre des messages à des joueurs hors ligne, utilisez la commande "/mail ".. + +Advice: Don't build a Nether portal without being seriously prepared.=Conseil : Ne construisez pas un portail menant au Nether sans en être vraiment prêt !. + +Advice: You can use the /report command to explain the discover of a bug or to report a problem with another player.=Conseil : Vous pouvez utiliser la commande /report pour expliquer la découverte d'un bug ou rapporter un problème avec un autre joueur.. + +Tip: The deeper you will mine, the more you will find ores, and the more precious they will be.=Astuce : Le plus profond vous creuserez, plus vous trouverez de minerais, et plus précieux ils seront !. + +Tip: Use "/guide" to see the server's guide's menu.=Astuce: Utilisez "/guide" pour voir le menu "guide du serveur".. + +Advice: Equip yourself with appropriate armour according to what you want to focus on, such as speed, impact resistance or radio-activity.=Conseil : Équippez-vous avec des armures adéquates en fonction de ce que vous voulez privilégier comme la vitesse, la résistance au coups ou encore la radio-activité.. + +Info: The contents of the pyramid chests regenerate every 30 minutes.=Info : Le contenue des coffres des pyramides se régénère toutes les 30 minutes.. + +Info: You will find a multitude of treasures scattered in the pyramids, abandoned temples, shipwrecks and underground mines.=Info : Vous trouverez une multitude trésors disséminés dans les pyramides, les temples abandonnés, les épaves de bateaux et les mines souterraines.. + +Tip: You can use the hazmat suit against radioactivity but also to go under water.=Astuce : Vous pouvez utiliser la combinaison de protection contre la radio-activité mais aussi pour aller sous l'eau.. + +WARNING: The server will be public soon, protect your builds. Ask help to the Administrator or a moderator if necessary.=ATTENTION : Le serveur sera prochainement public, protégez vos installations. Demandez de l'aide à l'Administrateur ou a un modérateur si nécessaire.. + +Tip: You can throw snowballs. However, be careful not to abuse it. This can be perceived as a provocation by the person being targeted.=Astuce : Vous pouvez lancer des boules de neiges. Attention toutefois à ne pas en abuser. Cela peut être perçue comme une provocation par celui qui est visé.. + +Tip: You can use /hotbar command to change the size of your items hotbar dynamically in game.=Astuce : Vous pouvez utiliser la commande /hotbar pour changer la taille de votre barre d'items dynamiquement en jeux.. + +Tip: Use /help for a detailled help of .=Astuce : Utilisez /help pour une aide détaillé de .. + +Tip: Use /volume command to adjust the sound levels of sound effects and music.=Astuce : Utilisez la commande /volume pour régler les niveaux sonores des bruitages et de la musique.. + diff --git a/locale/template.txt b/locale/template.txt index 8a5abe4..53fcdb1 100644 --- a/locale/template.txt +++ b/locale/template.txt @@ -6,3 +6,58 @@ View and/or alter the server's random messages= ERROR: No such message.= ERROR: No message.= ERROR: Invalid command.= + +Tip: To be able to crafter quarry that are limited on the server, you will need to have experience in mining. Take a look at the awards list.= + +Tip: You can sprint while holding down the "E" key, be careful this will increase your hunger considerably.= + +Advice: If you don't want to see your house stolen or grieffed then think of the areas.= + +Tip: You can speak with other players from a secure IRC channel #NALC of this server. URL: irc.sys4.fr:669.= + +Tip: On the #NALC IRC channel you can with "nalc" bot interact with the server from your favorite client program. URL: irc.sys4.fr:669.= + +Info: Mana is a resource for using magic or magical objects, no food regenerates it.= + +Tip: You can increase your mana by wearing amulets.= + +Advice: Craft a "returnmirror" might be a good idea to bypass the limitations on teleportation as "/home" and "/spawn".= + +Tip: Fishing is a good way to eat fish food, but can also bring you surprises like pieces of equipment/weapons/shields etc...= + +Advice: The wooden fishing pole isn't the best tool to catch fish, try the perfect fishing pole (made with mithril).= + +Tip: You can use worms, but also fish as bait, with them you will have more chances to get wonderful and rare items.= + +Tip: The news mod allows you read news with the command "/ news" wich keep you informed of news of the server.= + +Tip: The u_skins mod allow you to change the appearance of your avatar through the icon at the bottom right of your inventory.= + +Tip: The email mod allow you to transmit messages to offline players, use the command "/mail ".= + +Advice: Don't build a Nether portal without being seriously prepared.= + +Advice: You can use the /report command to explain the discover of a bug or to report a problem with another player.= + +Tip: The deeper you will mine, the more you will find ores, and the more precious they will be.= + +Tip: Use "/guide" to see the server's guide's menu.= + +Advice: Equip yourself with appropriate armour according to what you want to focus on, such as speed, impact resistance or radio-activity.= + +Info: The contents of the pyramid chests regenerate every 30 minutes.=Info : Le contenue des coffres des pyramides se régénère toutes les 30 minutes.. + +Info: You will find a multitude of treasures scattered in the pyramids, abandoned temples, shipwrecks and underground mines.= + +Tip: You can use the hazmat suit against radioactivity but also to go under water.= + +WARNING: The server will be public soon, protect your builds. Ask help to the Administrator or a moderator if necessary.= + +Tip: You can throw snowballs. However, be careful not to abuse it. This can be perceived as a provocation by the person being targeted.= + +Tip: You can use /hotbar command to change the size of your items hotbar dynamically in game.= + +Tip: Use /help for a detailled help of .= + +Tip: Use /volume command to adjust the sound levels of sound effects and music.= + diff --git a/random_messages b/random_messages new file mode 100644 index 0000000..d57303a --- /dev/null +++ b/random_messages @@ -0,0 +1,27 @@ +Tip: To be able to crafter quarry that are limited on the server, you will need to have experience in mining. Take a look at the awards list. +Tip: You can sprint while holding down the "E" key, be careful this will increase your hunger considerably. +Advice: If you don't want to see your house stolen or grieffed then think of the areas. +Tip: You can speak with other players from a secure IRC channel #NALC of this server. URL: irc.sys4.fr:669. +Tip: On the #NALC IRC channel you can with "nalc" bot interact with the server from your favorite client program. URL: irc.sys4.fr:669. +Info: Mana is a resource for using magic or magical objects, no food regenerates it. +Tip: You can increase your mana by wearing amulets. +Advice: Craft a "returnmirror" might be a good idea to bypass the limitations on teleportation as "/home" and "/spawn". +Tip: Fishing is a good way to eat fish food, but can also bring you surprises like pieces of equipment/weapons/shields etc... +Advice: The wooden fishing pole isn't the best tool to catch fish, try the perfect fishing pole (made with mithril). +Tip: You can use worms, but also fish as bait, with them you will have more chances to get wonderful and rare items. +Tip: The news mod allows you read news with the command "/ news" wich keep you informed of news of the server. +Tip: The u_skins mod allow you to change the appearance of your avatar through the icon at the bottom right of your inventory. +Tip: The email mod allow you to transmit messages to offline players, use the command "/mail ". +Advice: Don't build a Nether portal without being seriously prepared. +Advice: You can use the /report command to explain the discover of a bug or to report a problem with another player. +Tip: The deeper you will mine, the more you will find ores, and the more precious they will be. +Tip: Use "/guide" to see the server's guide's menu. +Advice: Equip yourself with appropriate armour according to what you want to focus on, such as speed, impact resistance or radio-activity. +Info: The contents of the pyramid chests regenerate every 30 minutes. +Info: You will find a multitude of treasures scattered in the pyramids, abandoned temples, shipwrecks and underground mines. +Tip: You can use the hazmat suit against radioactivity but also to go under water. +WARNING: The server will be public soon, protect your builds. Ask help to the Administrator or a moderator if necessary. +Tip: You can throw snowballs. However, be careful not to abuse it. This can be perceived as a provocation by the person being targeted. +Tip: You can use /hotbar command to change the size of your items hotbar dynamically in game. +Tip: Use /help for a detailled help of . +Tip: Use /volume command to adjust the sound levels of sound effects and music.