Adding translation test files and a button to translate

This commit is contained in:
Yann Kervran 2024-11-27 16:41:24 +01:00
parent 83ed424327
commit ba8e660588
5 changed files with 235 additions and 200 deletions

View file

@ -5,368 +5,374 @@
# #
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# #
#, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Storytelling Assistant\n" "Project-Id-Version: Storytelling Assistant\n"
"POT-Creation-Date: \n" "POT-Creation-Date: \n"
"PO-Revision-Date: \n" "PO-Revision-Date: 2024-11-27 15:34+0000\n"
"Last-Translator: \n" "Last-Translator: YannK <yann@kervran.org>\n"
"Language-Team: \n" "Language-Team: English <https://sabir.numenaute.org/projects/"
"storytellin-assistant/translations/en/>\n"
"Language: en\n" "Language: en\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.5\n" "Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.8.3\n"
#: main.tscn #: main.tscn
msgid "Who people think character is" msgid "Who people think character is"
msgstr "" msgstr "Who people think character is"
#: main.tscn #: main.tscn
msgid "Who character think he is" msgid "Who character think he is"
msgstr "" msgstr "Who character think he is"
#: main.tscn #: main.tscn
msgid "Character is actually\n" msgid "Character is actually\n"
msgstr "" msgstr "Character is actually\n"
#: main.tscn #: main.tscn
msgid "Slogan" msgid "Slogan"
msgstr "" msgstr "Slogan"
#: main.tscn #: main.tscn
msgid "Motivation" msgid "Motivation"
msgstr "" msgstr "Motivation"
#: main.tscn #: main.tscn
msgid "Goal" msgid "Goal"
msgstr "" msgstr "Goal"
#: main.tscn #: main.tscn
msgid "Fear" msgid "Fear"
msgstr "" msgstr "Fear"
#: main.tscn #: main.tscn
msgid "Strategy" msgid "Strategy"
msgstr "" msgstr "Strategy"
#: main.tscn #: main.tscn
msgid "Weakness" msgid "Weakness"
msgstr "" msgstr "Weakness"
#: main.tscn #: main.tscn
msgid "Problem handling" msgid "Problem handling"
msgstr "" msgstr "Problem handling"
#: main.tscn #: main.tscn
msgid "Traits" msgid "Traits"
msgstr "" msgstr "Traits"
#: main.tscn #: main.tscn
msgid "Keep psychology" msgid "Keep psychology"
msgstr "" msgstr "Keep psychology"
#: main.tscn #: main.tscn
msgid "Keep traits" msgid "Keep traits"
msgstr "" msgstr "Keep traits"
#: resources/psychotype/creator.tres #: resources/psychotype/creator.tres
msgid "CREATOR__TXT_0" msgid "CREATOR__TXT_0"
msgstr "" msgstr "Creator"
msgid "CREATOR__TXT_1" msgid "CREATOR__TXT_1"
msgstr "" msgstr "Let's make it happen"
msgid "CREATOR__TXT_2" msgid "CREATOR__TXT_2"
msgstr "" msgstr "To create important and lasting things"
msgid "CREATOR__TXT_3" msgid "CREATOR__TXT_3"
msgstr "" msgstr "To accomplish a great project"
msgid "CREATOR__TXT_4" msgid "CREATOR__TXT_4"
msgstr "" msgstr "Poor vision or poor execution"
msgid "CREATOR__TXT_5" msgid "CREATOR__TXT_5"
msgstr "" msgstr "Develop your artistic and control skills"
msgid "CREATOR__TXT_6" msgid "CREATOR__TXT_6"
msgstr "" msgstr "Perfectionism, bad choices"
msgid "CREATOR__TXT_7" msgid "CREATOR__TXT_7"
msgstr "" msgstr "Trying to integrate it as part of the solution"
#: resources/psychotype/explorer.tres #: resources/psychotype/explorer.tres
msgid "EXPLORER__TXT_0" msgid "EXPLORER__TXT_0"
msgstr "" msgstr "Explorer"
msgid "EXPLORER__TXT_1" msgid "EXPLORER__TXT_1"
msgstr "" msgstr "Don't lock me in"
msgid "EXPLORER__TXT_2" msgid "EXPLORER__TXT_2"
msgstr "" msgstr "The freedom to discover who you are by travelling the world"
msgid "EXPLORER__TXT_3" msgid "EXPLORER__TXT_3"
msgstr "" msgstr "To have a better, more authentic, fuller life"
msgid "EXPLORER__TXT_4" msgid "EXPLORER__TXT_4"
msgstr "" msgstr "Confinement, conformity and inner emptiness"
msgid "EXPLORER__TXT_5" msgid "EXPLORER__TXT_5"
msgstr "" msgstr ""
"Travel, seek out and experience new things, avoid boredom and conformity"
msgid "EXPLORER__TXT_6" msgid "EXPLORER__TXT_6"
msgstr "" msgstr "Wander aimlessly, become an outcas"
msgid "EXPLORER__TXT_7" msgid "EXPLORER__TXT_7"
msgstr "" msgstr "Running away"
#: resources/psychotype/guardian_angel.tres #: resources/psychotype/guardian_angel.tres
msgid "GUARDIAN_ANGEL__TXT_0" msgid "GUARDIAN_ANGEL__TXT_0"
msgstr "" msgstr "Guardian Angel"
msgid "GUARDIAN_ANGEL__TXT_1" msgid "GUARDIAN_ANGEL__TXT_1"
msgstr "" msgstr "Love thy neighbour"
msgid "GUARDIAN_ANGEL__TXT_2" msgid "GUARDIAN_ANGEL__TXT_2"
msgstr "" msgstr "Protect and care for others"
msgid "GUARDIAN_ANGEL__TXT_3" msgid "GUARDIAN_ANGEL__TXT_3"
msgstr "" msgstr "Help others"
msgid "GUARDIAN_ANGEL__TXT_4" msgid "GUARDIAN_ANGEL__TXT_4"
msgstr "" msgstr "Selfishness and ingratitude"
msgid "GUARDIAN_ANGEL__TXT_5" msgid "GUARDIAN_ANGEL__TXT_5"
msgstr "" msgstr "Doing things for others"
msgid "GUARDIAN_ANGEL__TXT_6" msgid "GUARDIAN_ANGEL__TXT_6"
msgstr "" msgstr "Tendency to martyr, to be exploited"
msgid "GUARDIAN_ANGEL__TXT_7" msgid "GUARDIAN_ANGEL__TXT_7"
msgstr "" msgstr "Taking care of those who are hurt"
#: resources/psychotype/heros.tres #: resources/psychotype/heros.tres
msgid "HEROS__TXT_0" msgid "HEROS__TXT_0"
msgstr "" msgstr "Hero"
msgid "HEROS__TXT_1" msgid "HEROS__TXT_1"
msgstr "" msgstr "Where there's a will, there's a way"
msgid "HEROS__TXT_2" msgid "HEROS__TXT_2"
msgstr "" msgstr "Prove your worth through courageous deeds"
msgid "HEROS__TXT_3" msgid "HEROS__TXT_3"
msgstr "" msgstr "Demonstrate your ability to improve the world"
msgid "HEROS__TXT_4" msgid "HEROS__TXT_4"
msgstr "" msgstr "Weakness, vulnerability, being a coward"
msgid "HEROS__TXT_5" msgid "HEROS__TXT_5"
msgstr "" msgstr "To be as strong and competent as possible"
msgid "HEROS__TXT_6" msgid "HEROS__TXT_6"
msgstr "" msgstr "Arrogance, perpetually looking for a fight"
msgid "HEROS__TXT_7" msgid "HEROS__TXT_7"
msgstr "" msgstr "Don't move, face it"
#: resources/psychotype/innocent.tres #: resources/psychotype/innocent.tres
msgid "INNOCENT__TXT_0" msgid "INNOCENT__TXT_0"
msgstr "" msgstr "Innocent"
msgid "INNOCENT__TXT_1" msgid "INNOCENT__TXT_1"
msgstr "" msgstr "In search of happiness"
msgid "INNOCENT__TXT_2" msgid "INNOCENT__TXT_2"
msgstr "" msgstr "To reach heaven"
msgid "INNOCENT__TXT_3" msgid "INNOCENT__TXT_3"
msgstr "" msgstr "To be happy"
msgid "INNOCENT__TXT_4" msgid "INNOCENT__TXT_4"
msgstr "" msgstr "Being abandoned for causing harm"
msgid "INNOCENT__TXT_5" msgid "INNOCENT__TXT_5"
msgstr "" msgstr "Do the right thing, conform"
msgid "INNOCENT__TXT_6" msgid "INNOCENT__TXT_6"
msgstr "" msgstr "Lend the same naivety to others"
msgid "INNOCENT__TXT_7" msgid "INNOCENT__TXT_7"
msgstr "" msgstr "Refuse it, seek help"
#: resources/psychotype/leader.tres #: resources/psychotype/leader.tres
msgid "LEADER__TXT_0" msgid "LEADER__TXT_0"
msgstr "" msgstr "Leader"
msgid "LEADER__TXT_1" msgid "LEADER__TXT_1"
msgstr "" msgstr "Power isn't the important thing, it's the only thing"
msgid "LEADER__TXT_2" msgid "LEADER__TXT_2"
msgstr "" msgstr "Control, order, harmony"
msgid "LEADER__TXT_3" msgid "LEADER__TXT_3"
msgstr "" msgstr "To create a family, a prosperous and successful community"
msgid "LEADER__TXT_4" msgid "LEADER__TXT_4"
msgstr "" msgstr "Chaos, being overthrown"
msgid "LEADER__TXT_5" msgid "LEADER__TXT_5"
msgstr "" msgstr "To exercise power"
msgid "LEADER__TXT_6" msgid "LEADER__TXT_6"
msgstr "" msgstr "Authoritarianism, inability to delegate"
msgid "LEADER__TXT_7" msgid "LEADER__TXT_7"
msgstr "" msgstr "Looking for its constructive aspects"
#: resources/psychotype/lover.tres #: resources/psychotype/lover.tres
msgid "LOVER__TXT_0" msgid "LOVER__TXT_0"
msgstr "" msgstr "Lover"
msgid "LOVER__TXT_1" msgid "LOVER__TXT_1"
msgstr "" msgstr "You are the only one"
msgid "LOVER__TXT_2" msgid "LOVER__TXT_2"
msgstr "" msgstr "Intimacy and sensualit"
msgid "LOVER__TXT_3" msgid "LOVER__TXT_3"
msgstr "" msgstr "To be connected with people, work, the environment they love"
msgid "LOVER__TXT_4" msgid "LOVER__TXT_4"
msgstr "" msgstr "To be alone, a trophy wife, unwanted, unloved"
msgid "LOVER__TXT_5" msgid "LOVER__TXT_5"
msgstr "" msgstr "Make yourself as attractive as possible, physically and emotionally"
msgid "LOVER__TXT_6" msgid "LOVER__TXT_6"
msgstr "" msgstr "Losing your identity by trying to please"
msgid "LOVER__TXT_7" msgid "LOVER__TXT_7"
msgstr "" msgstr "Loving the worry"
#: resources/psychotype/mad.tres #: resources/psychotype/mad.tres
msgid "MAD__TXT_0" msgid "MAD__TXT_0"
msgstr "" msgstr "Fool"
msgid "MAD__TXT_1" msgid "MAD__TXT_1"
msgstr "" msgstr "You only live once"
msgid "MAD__TXT_2" msgid "MAD__TXT_2"
msgstr "" msgstr "Live the moment with intensity"
msgid "MAD__TXT_3" msgid "MAD__TXT_3"
msgstr "" msgstr "To have a good time, without taking yourself too seriously"
msgid "MAD__TXT_4" msgid "MAD__TXT_4"
msgstr "" msgstr "Being bored, boring others"
msgid "MAD__TXT_5" msgid "MAD__TXT_5"
msgstr "" msgstr "Play, joke, be funny"
msgid "MAD__TXT_6" msgid "MAD__TXT_6"
msgstr "" msgstr "Frivolity, wasting time"
msgid "MAD__TXT_7" msgid "MAD__TXT_7"
msgstr "" msgstr "Playing with"
#: resources/psychotype/magician.tres #: resources/psychotype/magician.tres
msgid "MAGICIAN__TXT_0" msgid "MAGICIAN__TXT_0"
msgstr "" msgstr "Magician"
msgid "MAGICIAN__TXT_1" msgid "MAGICIAN__TXT_1"
msgstr "" msgstr "I make things happen"
msgid "MAGICIAN__TXT_2" msgid "MAGICIAN__TXT_2"
msgstr "" msgstr "Master the fundamental laws of the universe"
msgid "MAGICIAN__TXT_3" msgid "MAGICIAN__TXT_3"
msgstr "" msgstr "Make dreams come true"
msgid "MAGICIAN__TXT_4" msgid "MAGICIAN__TXT_4"
msgstr "" msgstr "Unintended negative consequences"
msgid "MAGICIAN__TXT_5" msgid "MAGICIAN__TXT_5"
msgstr "" msgstr "Develop an innovative project and stick to it"
msgid "MAGICIAN__TXT_6" msgid "MAGICIAN__TXT_6"
msgstr "" msgstr "Becoming manipulative"
msgid "MAGICIAN__TXT_7" msgid "MAGICIAN__TXT_7"
msgstr "" msgstr "Transforming a problem"
#: resources/psychotype/ordinary.tres #: resources/psychotype/ordinary.tres
msgid "ORDINARY__TXT_0" msgid "ORDINARY__TXT_0"
msgstr "" msgstr "Ordinary"
msgid "ORDINARY__TXT_1" msgid "ORDINARY__TXT_1"
msgstr "" msgstr "All human beings are equal"
msgid "ORDINARY__TXT_2" msgid "ORDINARY__TXT_2"
msgstr "" msgstr "Connect with others"
msgid "ORDINARY__TXT_3" msgid "ORDINARY__TXT_3"
msgstr "" msgstr "To belong"
msgid "ORDINARY__TXT_4" msgid "ORDINARY__TXT_4"
msgstr "" msgstr "Being left out"
msgid "ORDINARY__TXT_5" msgid "ORDINARY__TXT_5"
msgstr "" msgstr "Develop ordinary qualities, be pragmatic, realistic"
msgid "ORDINARY__TXT_6" msgid "ORDINARY__TXT_6"
msgstr "" msgstr ""
"Willing to lose oneself in order to blend in or make connections, however "
"superficial"
msgid "ORDINARY__TXT_7" msgid "ORDINARY__TXT_7"
msgstr "" msgstr "Becomes the victim"
#: resources/psychotype/rebel.tres #: resources/psychotype/rebel.tres
msgid "REBEL__TXT_0" msgid "REBEL__TXT_0"
msgstr "" msgstr "Rebel"
msgid "REBEL__TXT_1" msgid "REBEL__TXT_1"
msgstr "" msgstr "Rules are made to be broken"
msgid "REBEL__TXT_2" msgid "REBEL__TXT_2"
msgstr "" msgstr "Revenge or revolution"
msgid "REBEL__TXT_3" msgid "REBEL__TXT_3"
msgstr "" msgstr "To overthrow what doesn't suit us"
msgid "REBEL__TXT_4" msgid "REBEL__TXT_4"
msgstr "" msgstr "To be powerless or useless"
msgid "REBEL__TXT_5" msgid "REBEL__TXT_5"
msgstr "" msgstr "Deconstruct, destroy or shock"
msgid "REBEL__TXT_6" msgid "REBEL__TXT_6"
msgstr "" msgstr "Being on the wrong side, criminalising yourself"
msgid "REBEL__TXT_7" msgid "REBEL__TXT_7"
msgstr "" msgstr ""
"Accepting to see yourself destroyed by the problem, hoping for metamorphosis"
#: resources/psychotype/wise.tres #: resources/psychotype/wise.tres
msgid "WISE__TXT_0" msgid "WISE__TXT_0"
msgstr "" msgstr "Wise"
msgid "WISE__TXT_1" msgid "WISE__TXT_1"
msgstr "" msgstr "The truth will set you free"
msgid "WISE__TXT_2" msgid "WISE__TXT_2"
msgstr "" msgstr "Discover the truth"
msgid "WISE__TXT_3" msgid "WISE__TXT_3"
msgstr "" msgstr "Use your intelligence, analysis, to understand the world"
msgid "WISE__TXT_4" msgid "WISE__TXT_4"
msgstr "" msgstr "To be fooled, misinformed or ignored"
msgid "WISE__TXT_5" msgid "WISE__TXT_5"
msgstr "" msgstr ""
"Seeking information and knowledge, reflection and understanding processes"
msgid "WISE__TXT_6" msgid "WISE__TXT_6"
msgstr "" msgstr "Spending time studying but never acting"
msgid "WISE__TXT_7" msgid "WISE__TXT_7"
msgstr "" msgstr "Transcending the problem"

View file

@ -5,19 +5,20 @@
# #
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# #
#, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Storytelling Assistant\n" "Project-Id-Version: Storytelling Assistant\n"
"POT-Creation-Date: \n" "POT-Creation-Date: \n"
"PO-Revision-Date: \n" "PO-Revision-Date: 2024-11-27 15:34+0000\n"
"Last-Translator: \n" "Last-Translator: YannK <yann@kervran.org>\n"
"Language-Team: \n" "Language-Team: French <https://sabir.numenaute.org/projects/"
"storytellin-assistant/translations/fr/>\n"
"Language: fr\n" "Language: fr\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.5\n" "Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 5.8.3\n"
#: main.tscn #: main.tscn
msgid "Who people think character is" msgid "Who people think character is"
@ -98,275 +99,280 @@ msgstr "Tenter de l'intégrer comme partie de la solution"
#: resources/psychotype/explorer.tres #: resources/psychotype/explorer.tres
msgid "EXPLORER__TXT_0" msgid "EXPLORER__TXT_0"
msgstr "" msgstr "Explorateur"
msgid "EXPLORER__TXT_1" msgid "EXPLORER__TXT_1"
msgstr "" msgstr "Ne m'enferme pas"
msgid "EXPLORER__TXT_2" msgid "EXPLORER__TXT_2"
msgstr "" msgstr "La liberté de découvrir qui on est en parcourant le monde"
msgid "EXPLORER__TXT_3" msgid "EXPLORER__TXT_3"
msgstr "" msgstr "Avoir une vie meilleure, plus authentique, plus remplie"
msgid "EXPLORER__TXT_4" msgid "EXPLORER__TXT_4"
msgstr "" msgstr "L'enfermement, la conformité et le vide intérieur"
msgid "EXPLORER__TXT_5" msgid "EXPLORER__TXT_5"
msgstr "" msgstr ""
"Voyager, chercher et expérimenter de nouvelles choses, éviter l'ennui et le "
"conformisme"
msgid "EXPLORER__TXT_6" msgid "EXPLORER__TXT_6"
msgstr "" msgstr "Déambuler sans but, devenir un paria"
msgid "EXPLORER__TXT_7" msgid "EXPLORER__TXT_7"
msgstr "" msgstr "Fuir"
#: resources/psychotype/guardian_angel.tres #: resources/psychotype/guardian_angel.tres
msgid "GUARDIAN_ANGEL__TXT_0" msgid "GUARDIAN_ANGEL__TXT_0"
msgstr "" msgstr "Ange-Gardien"
msgid "GUARDIAN_ANGEL__TXT_1" msgid "GUARDIAN_ANGEL__TXT_1"
msgstr "" msgstr "Aime ton prochain"
msgid "GUARDIAN_ANGEL__TXT_2" msgid "GUARDIAN_ANGEL__TXT_2"
msgstr "" msgstr "Protéger et soigner les autres"
msgid "GUARDIAN_ANGEL__TXT_3" msgid "GUARDIAN_ANGEL__TXT_3"
msgstr "" msgstr "Aider les autres"
msgid "GUARDIAN_ANGEL__TXT_4" msgid "GUARDIAN_ANGEL__TXT_4"
msgstr "" msgstr "L'égoïsme et l'ingratitude"
msgid "GUARDIAN_ANGEL__TXT_5" msgid "GUARDIAN_ANGEL__TXT_5"
msgstr "" msgstr "Faire des choses pour son prochain"
msgid "GUARDIAN_ANGEL__TXT_6" msgid "GUARDIAN_ANGEL__TXT_6"
msgstr "" msgstr "Tendance au martyr, à se faire exploiter"
msgid "GUARDIAN_ANGEL__TXT_7" msgid "GUARDIAN_ANGEL__TXT_7"
msgstr "" msgstr "Prendre soin de ceux que cela blesse"
#: resources/psychotype/heros.tres #: resources/psychotype/heros.tres
msgid "HEROS__TXT_0" msgid "HEROS__TXT_0"
msgstr "" msgstr "Héros"
msgid "HEROS__TXT_1" msgid "HEROS__TXT_1"
msgstr "" msgstr "Quand on veut, on peut"
msgid "HEROS__TXT_2" msgid "HEROS__TXT_2"
msgstr "" msgstr "Prouver sa valeur par des actes courageux"
msgid "HEROS__TXT_3" msgid "HEROS__TXT_3"
msgstr "" msgstr "Démontrer sa capacité à améliorer le monde"
msgid "HEROS__TXT_4" msgid "HEROS__TXT_4"
msgstr "" msgstr "La faiblesse, la vulnérabilité, être froussard"
msgid "HEROS__TXT_5" msgid "HEROS__TXT_5"
msgstr "" msgstr "Être aussi fort et compétent que possible"
msgid "HEROS__TXT_6" msgid "HEROS__TXT_6"
msgstr "" msgstr "Arrogance, perpétuellement en recherche d'un combat à mene"
msgid "HEROS__TXT_7" msgid "HEROS__TXT_7"
msgstr "" msgstr "Ne pas bouger, l'affronter"
#: resources/psychotype/innocent.tres #: resources/psychotype/innocent.tres
msgid "INNOCENT__TXT_0" msgid "INNOCENT__TXT_0"
msgstr "" msgstr "Innocent"
msgid "INNOCENT__TXT_1" msgid "INNOCENT__TXT_1"
msgstr "" msgstr "En quête du bonheur"
msgid "INNOCENT__TXT_2" msgid "INNOCENT__TXT_2"
msgstr "" msgstr "Accéder au paradis"
msgid "INNOCENT__TXT_3" msgid "INNOCENT__TXT_3"
msgstr "" msgstr "Être heureux"
msgid "INNOCENT__TXT_4" msgid "INNOCENT__TXT_4"
msgstr "" msgstr "Être abandonné pour avoir causé du mal"
msgid "INNOCENT__TXT_5" msgid "INNOCENT__TXT_5"
msgstr "" msgstr "Faire les choses bien, conformes"
msgid "INNOCENT__TXT_6" msgid "INNOCENT__TXT_6"
msgstr "" msgstr "Prêter aux autres cette même naïveté"
msgid "INNOCENT__TXT_7" msgid "INNOCENT__TXT_7"
msgstr "" msgstr "Le refuser, chercher de l'aide"
#: resources/psychotype/leader.tres #: resources/psychotype/leader.tres
msgid "LEADER__TXT_0" msgid "LEADER__TXT_0"
msgstr "" msgstr "Meneur"
msgid "LEADER__TXT_1" msgid "LEADER__TXT_1"
msgstr "" msgstr "Le pouvoir n'est pas la chose importante, c'est la seule chose"
msgid "LEADER__TXT_2" msgid "LEADER__TXT_2"
msgstr "" msgstr "Le contrôle, l'ordre, l'harmonie"
msgid "LEADER__TXT_3" msgid "LEADER__TXT_3"
msgstr "" msgstr "Créer une famille, une communauté prospère et couronnée de succès"
msgid "LEADER__TXT_4" msgid "LEADER__TXT_4"
msgstr "" msgstr "Le chaos, se faire renverser"
msgid "LEADER__TXT_5" msgid "LEADER__TXT_5"
msgstr "" msgstr "Exercer le pouvoir"
msgid "LEADER__TXT_6" msgid "LEADER__TXT_6"
msgstr "" msgstr "Autoritarisme, impossibilité de déléguer"
msgid "LEADER__TXT_7" msgid "LEADER__TXT_7"
msgstr "" msgstr "Chercher ses aspects constructeurs"
#: resources/psychotype/lover.tres #: resources/psychotype/lover.tres
msgid "LOVER__TXT_0" msgid "LOVER__TXT_0"
msgstr "" msgstr "Amoureux"
msgid "LOVER__TXT_1" msgid "LOVER__TXT_1"
msgstr "" msgstr "Tu es l'unique"
msgid "LOVER__TXT_2" msgid "LOVER__TXT_2"
msgstr "" msgstr "L'intimité et la sensualité"
msgid "LOVER__TXT_3" msgid "LOVER__TXT_3"
msgstr "" msgstr "Être relié avec les gens, le travail, l'environnement qu'ils aiment"
msgid "LOVER__TXT_4" msgid "LOVER__TXT_4"
msgstr "" msgstr "Être seul, une potiche, non désiré, pas aimé"
msgid "LOVER__TXT_5" msgid "LOVER__TXT_5"
msgstr "" msgstr "Se rendre le plus attractif possible, physiquement et émotionnellement"
msgid "LOVER__TXT_6" msgid "LOVER__TXT_6"
msgstr "" msgstr "Perdre son identité en cherchant à plaire"
msgid "LOVER__TXT_7" msgid "LOVER__TXT_7"
msgstr "" msgstr "Aimer le souci"
#: resources/psychotype/mad.tres #: resources/psychotype/mad.tres
msgid "MAD__TXT_0" msgid "MAD__TXT_0"
msgstr "" msgstr "Fou"
msgid "MAD__TXT_1" msgid "MAD__TXT_1"
msgstr "" msgstr "On ne vit qu'une fois"
msgid "MAD__TXT_2" msgid "MAD__TXT_2"
msgstr "" msgstr "Vivre l'instant avec intensité"
msgid "MAD__TXT_3" msgid "MAD__TXT_3"
msgstr "" msgstr "Prendre du bon temps, sans se prendre trop au sérieux"
msgid "MAD__TXT_4" msgid "MAD__TXT_4"
msgstr "" msgstr "S'ennuyer, ennuyer les autres"
msgid "MAD__TXT_5" msgid "MAD__TXT_5"
msgstr "" msgstr "Jouer, plaisanter, être drôle"
msgid "MAD__TXT_6" msgid "MAD__TXT_6"
msgstr "" msgstr "Frivolité, perdre son temps"
msgid "MAD__TXT_7" msgid "MAD__TXT_7"
msgstr "" msgstr "Jouer avec"
#: resources/psychotype/magician.tres #: resources/psychotype/magician.tres
msgid "MAGICIAN__TXT_0" msgid "MAGICIAN__TXT_0"
msgstr "" msgstr "Magicien"
msgid "MAGICIAN__TXT_1" msgid "MAGICIAN__TXT_1"
msgstr "" msgstr "Je fais advenir les choses"
msgid "MAGICIAN__TXT_2" msgid "MAGICIAN__TXT_2"
msgstr "" msgstr "Maîtriser les lois fondamentales de l'univers"
msgid "MAGICIAN__TXT_3" msgid "MAGICIAN__TXT_3"
msgstr "" msgstr "Rendre les rêves réels"
msgid "MAGICIAN__TXT_4" msgid "MAGICIAN__TXT_4"
msgstr "" msgstr "Des conséquences négatives imprévues"
msgid "MAGICIAN__TXT_5" msgid "MAGICIAN__TXT_5"
msgstr "" msgstr "Développer un projet novateur et s'y tenir"
msgid "MAGICIAN__TXT_6" msgid "MAGICIAN__TXT_6"
msgstr "" msgstr "Devenir manipulateur"
msgid "MAGICIAN__TXT_7" msgid "MAGICIAN__TXT_7"
msgstr "" msgstr "Le transformer"
#: resources/psychotype/ordinary.tres #: resources/psychotype/ordinary.tres
msgid "ORDINARY__TXT_0" msgid "ORDINARY__TXT_0"
msgstr "" msgstr "Ordinaire"
msgid "ORDINARY__TXT_1" msgid "ORDINARY__TXT_1"
msgstr "" msgstr "Tous les êtres humains se valent"
msgid "ORDINARY__TXT_2" msgid "ORDINARY__TXT_2"
msgstr "" msgstr "Se connecter aux autres"
msgid "ORDINARY__TXT_3" msgid "ORDINARY__TXT_3"
msgstr "" msgstr "Appartenir"
msgid "ORDINARY__TXT_4" msgid "ORDINARY__TXT_4"
msgstr "" msgstr "Être mis à l'écart"
msgid "ORDINARY__TXT_5" msgid "ORDINARY__TXT_5"
msgstr "" msgstr "Développer des qualités ordinaires, être pragmatique, réaliste"
msgid "ORDINARY__TXT_6" msgid "ORDINARY__TXT_6"
msgstr "" msgstr ""
"Prêt à se perdre pour se confondre ou établir des liens, même superficiels"
msgid "ORDINARY__TXT_7" msgid "ORDINARY__TXT_7"
msgstr "" msgstr "En devient la victime"
#: resources/psychotype/rebel.tres #: resources/psychotype/rebel.tres
msgid "REBEL__TXT_0" msgid "REBEL__TXT_0"
msgstr "" msgstr "Rebelle"
msgid "REBEL__TXT_1" msgid "REBEL__TXT_1"
msgstr "" msgstr "Les règles sont faites pour être brisées"
msgid "REBEL__TXT_2" msgid "REBEL__TXT_2"
msgstr "" msgstr "La vengeance ou la révolution"
msgid "REBEL__TXT_3" msgid "REBEL__TXT_3"
msgstr "" msgstr "Renverser ce qui ne nous convient pas"
msgid "REBEL__TXT_4" msgid "REBEL__TXT_4"
msgstr "" msgstr "Être impuissant ou inutile"
msgid "REBEL__TXT_5" msgid "REBEL__TXT_5"
msgstr "" msgstr "Déconstruire, détruire ou choquer"
msgid "REBEL__TXT_6" msgid "REBEL__TXT_6"
msgstr "" msgstr "Passer du mauvais côté, se criminaliser"
msgid "REBEL__TXT_7" msgid "REBEL__TXT_7"
msgstr "" msgstr ""
"Accepter de se voir détruit par le problème, en espérant la métamorphose"
#: resources/psychotype/wise.tres #: resources/psychotype/wise.tres
msgid "WISE__TXT_0" msgid "WISE__TXT_0"
msgstr "" msgstr "Sage"
msgid "WISE__TXT_1" msgid "WISE__TXT_1"
msgstr "" msgstr "La vérité te libérera"
msgid "WISE__TXT_2" msgid "WISE__TXT_2"
msgstr "" msgstr "Découvrir la vérité"
msgid "WISE__TXT_3" msgid "WISE__TXT_3"
msgstr "" msgstr "Utiliser son intelligence, l'analyse, pour comprendre le monde"
msgid "WISE__TXT_4" msgid "WISE__TXT_4"
msgstr "" msgstr "Se faire berner, être mal renseigné ou ignorer"
msgid "WISE__TXT_5" msgid "WISE__TXT_5"
msgstr "" msgstr ""
"Chercher l'information et le savoir, la réflexion et comprendre les processus"
msgid "WISE__TXT_6" msgid "WISE__TXT_6"
msgstr "" msgstr "Passer son temps à étudier sans jamais agir"
msgid "WISE__TXT_7" msgid "WISE__TXT_7"
msgstr "" msgstr "Transcender le problème"

11
main.gd
View file

@ -14,12 +14,15 @@ extends Control
@onready var traits: Control = $Traits @onready var traits: Control = $Traits
@onready var keep_psy: CheckBox = $Roll/Keep_psy @onready var keep_psy: CheckBox = $Roll/Keep_psy
@onready var keep_traits: CheckBox = $Roll/Keep_traits @onready var keep_traits: CheckBox = $Roll/Keep_traits
@onready var language_choice: MenuButton = $Language
# Called when the node enters the scene tree for the first time. # Called when the node enters the scene tree for the first time.
func _ready() -> void: func _ready() -> void:
lets_roll(seed) lets_roll(seed)
roll_dice.pressed.connect(_on_roll_dice_pressed) roll_dice.pressed.connect(_on_roll_dice_pressed)
language_choice.get_popup().connect("id_pressed", _on_menu_language_selected)
func _process(delta: float) -> void: func _process(delta: float) -> void:
# Roll new result" # Roll new result"
if Input.is_action_just_pressed("roll"): if Input.is_action_just_pressed("roll"):
@ -63,3 +66,11 @@ func lets_roll(chosen_seed: int) -> void:
func update_language(new_language: String) -> void: func update_language(new_language: String) -> void:
TranslationServer.set_locale(new_language) TranslationServer.set_locale(new_language)
emit_signal("language_changed", new_language) emit_signal("language_changed", new_language)
# Fonction appelée lorsque l'utilisateur sélectionne une option
func _on_menu_language_selected(id: int) -> void:
match id:
0:
TranslationServer.set_locale("fr")
1:
TranslationServer.set_locale("en")

View file

@ -227,3 +227,15 @@ offset_right = 280.0
offset_bottom = 103.0 offset_bottom = 103.0
theme = ExtResource("2_vc4v2") theme = ExtResource("2_vc4v2")
text = "Keep traits" text = "Keep traits"
[node name="Language" type="MenuButton" parent="."]
layout_mode = 0
offset_left = 1048.0
offset_top = 600.0
offset_right = 1132.0
offset_bottom = 631.0
text = "Language"
item_count = 2
popup/item_0/text = "FRENCH"
popup/item_1/text = "ENGLISH"
popup/item_1/id = 1

View file

@ -34,4 +34,4 @@ roll={
locale/translation_remaps={} locale/translation_remaps={}
locale/translations=PackedStringArray("res://i18n/storytelling_assistant_fr.po", "res://i18n/storytelling_assistant_en.po") locale/translations=PackedStringArray("res://i18n/storytelling_assistant_fr.po", "res://i18n/storytelling_assistant_en.po")
locale/translations_pot_files=PackedStringArray("res://main.tscn", "res://psyline.tscn", "res://traits.tscn") locale/translations_pot_files=PackedStringArray("res://main.tscn", "res://psyline.tscn", "res://traits.tscn")
locale/test="ens" locale/test="fr"