From 29f4ef509eb8dff7477746bc7675a45ea217c76d Mon Sep 17 00:00:00 2001 From: Kyzentun Date: Thu, 12 Feb 2015 21:00:34 -0700 Subject: [PATCH] Updated Translators section. Updated ScreenCredits in default. --- .../BGAnimations/ScreenCredits overlay.lua | 13 +- .../_fallback/Scripts/04 CreditsHelpers.lua | 11 +- .../BGAnimations/ScreenCredits overlay.lua | 174 +++--------- Themes/default/Languages/fr.ini | 253 ++++++++++++++++++ 4 files changed, 306 insertions(+), 145 deletions(-) create mode 100644 Themes/default/Languages/fr.ini diff --git a/Themes/_fallback/BGAnimations/ScreenCredits overlay.lua b/Themes/_fallback/BGAnimations/ScreenCredits overlay.lua index 845316d96c..5c27afd6c1 100644 --- a/Themes/_fallback/BGAnimations/ScreenCredits overlay.lua +++ b/Themes/_fallback/BGAnimations/ScreenCredits overlay.lua @@ -20,8 +20,9 @@ -- StepManiaCredits is defined in _fallback/Scripts/04 CreditsHelpers.lua. -local lineOn = cmd(zoom,0.875;strokecolor,color("#444444");shadowcolor,color("#444444");shadowlength,3) -local sectionOn = cmd(diffuse,color("#88DDFF");strokecolor,color("#446688");shadowcolor,color("#446688");shadowlength,3) +local line_on = cmd(zoom,0.875;strokecolor,color("#444444");shadowcolor,color("#444444");shadowlength,1) +local section_on = cmd(diffuse,color("#88DDFF");strokecolor,color("#446688");shadowcolor,color("#446688");shadowlength,1) +local subsection_on = cmd(diffuse,color("#88DDFF");strokecolor,color("#446688");shadowcolor,color("#446688");shadowlength,1) local item_padding_start = 4; local line_height= 30 -- Tell the credits table the line height so it can use it for logo sizing. @@ -38,9 +39,13 @@ local creditScroller = Def.ActorScroller { -- Add sections with padding. for section in ivalues(StepManiaCredits.Get()) do - StepManiaCredits.AddLineToScroller(creditScroller, section.name, sectionOn) + StepManiaCredits.AddLineToScroller(creditScroller, section.name, section_on) for name in ivalues(section) do - StepManiaCredits.AddLineToScroller(creditScroller, name) + if name.type == "subsection" then + StepManiaCredits.AddLineToScroller(creditScroller, name, subsection_on) + else + StepManiaCredits.AddLineToScroller(creditScroller, name, line_on) + end end StepManiaCredits.AddLineToScroller(creditScroller) StepManiaCredits.AddLineToScroller(creditScroller) diff --git a/Themes/_fallback/Scripts/04 CreditsHelpers.lua b/Themes/_fallback/Scripts/04 CreditsHelpers.lua index 185e032a24..b97cbd86e7 100644 --- a/Themes/_fallback/Scripts/04 CreditsHelpers.lua +++ b/Themes/_fallback/Scripts/04 CreditsHelpers.lua @@ -50,11 +50,14 @@ local stepmania_credits= { { name= "Translators", "John Reactor (Polish)", - "Jarosław Pietras (Polish update for 5.0.5)", "DHalens (Spanish)", - "Alejandro G. de la Muñoza (Spanish update for 5.0.5)", "@Niler_jp (Japanese)", - "Deamon007 (Dutch)" + "Deamon007 (Dutch)", + {type= "subsection", name= "5.0.5 update"}, + "Kevin O. (Thumbsy) (Dutch)", + "Grégory Doche (French)", + "Jarosław Pietras (Polish)", + "Alejandro G. de la Muñoza (Spanish)", }, { name= "Other Contributors", @@ -170,7 +173,7 @@ local special_logos= { OnCommand= function(self) self:GetParent():GetChild("name"):distort(.25) -- minecraft is broken, -kyz end - } + }, } -- Go through the credits and swap in the special logos. diff --git a/Themes/default/BGAnimations/ScreenCredits overlay.lua b/Themes/default/BGAnimations/ScreenCredits overlay.lua index 56b525eb64..8048c57fab 100644 --- a/Themes/default/BGAnimations/ScreenCredits overlay.lua +++ b/Themes/default/BGAnimations/ScreenCredits overlay.lua @@ -1,154 +1,54 @@ -local function Fooled() - local phrases = { - "hornswaggled", - "bamboozled", - "hoodwinked", - "swindled", - "duped", - "hoaxed", - "fleeced", - "shafted", - "caboodled", - "beguiled", - "finagled", - "two-timed", - "suckered", - "flimflammed" - } - return phrases[math.random(#phrases)] -end +-- To add a section to the credits, use the following: +-- local theme_credits= { +-- name= "Theme Credits", -- the name of your section +-- "Me", -- The people you want to list in your section. +-- "Myself", +-- "My other self", +-- {logo= "pro_dude", name= "Pro self"}, -- Someone who has a logo image. +-- -- This logo image would be "Graphics/CreditsLogo pro_dude.png". +-- } +-- StepManiaCredits.AddSection(theme_credits) +-- +-- If you want to add your section after an existing section, use the following: +-- StepManiaCredits.AddSection(theme_credits, 7) +-- +-- Or position can be the name of a section to insert after: +-- StepManiaCredits.AddSection(theme_credits, "Special Thanks") +-- +-- Or if you want to add your section before a section: +-- StepManiaCredits.AddSection(theme_credits, "Special Thanks", true) -local ssc = { - "AJ Kelly as freem", - "Jonathan Payne (Midiman)", - "Colby Klein (shakesoda)", -} +-- StepManiaCredits is defined in _fallback/Scripts/04 CreditsHelpers.lua. -local sm_ssc = { - "Jason Felds (wolfman2000)", -- Timing Segments, Split Timing, optimization - "Thai Pangsakulyanont (theDtTvB)", -- BMS, Split Timing, optimization - "Alberto Ramos (Daisuke Master)", - "Jack Walstrom (FSX)", -} - -local stepmania = { - "Chris Danford", - "Glenn Maynard", - "Steve Checkoway", - -- and various other contributors -} - -local oitg = { - "infamouspat", - "Mark Cannon (vyhd)", -} - -local contrib = { - "Aldo Fregoso (Aldo_MX)", -- delays and much more. StepMania AMX creator - "A.C (@waiei)", -- custom scoring fixes + Hybrid scoring - "cerbo", -- lua bindings and other fun stuff - "cesarmades", -- pump/cmd* noteskins - "Chris Eldridge (kurisu)", -- dance-threepanel stepstype support - "Christophe Goulet-LeBlanc (Kommisar)", -- songs - "corec", -- various fixes - "galopin", -- piu PlayStation2 usb mat support - "gholms", -- automake 1.11 support - "juanelote", -- SongManager:GetSongGroupByIndex, JumpToNext/PrevGroup logic mods - "Kaox", -- pump/default noteskin - "NitroX72", -- pump/frame noteskin - "Petriform", -- default theme music - "桜為小鳩/Sakurana-Kobato (@sakuraponila)", -- custom scoring fixes - "Samuel Kim (1a2a3a2a1a)", -- various beat mode fixes - "hanubeki (@803832)", -- beginner helper fix, among various other things - "v1toko", -- x-mode from StepNXA - "Alfred Sorenson", -- new lua bindings - "Mark Seymour (Azure)", -- various graphics work -} - -local translators = { - "John Reactor (Polish)", - "DHalens (Spanish)", - "@Niler_jp (Japanese)", - "Deamon007 (Dutch)" -} - -local thanks = { - "A Pseudonymous Coder", -- support - "Bill Shillito (DM Ashura)", -- Music (not yet though) - "cpubasic13", -- testing (a lot) - "Dreamwoods", - "Jason Bolt (LightningXCE)", - "Jousway", -- Noteskins - "Luizsan", -- creator of Delta theme - "Matt1360", -- Automake magic + oitg bro - "Renard", - "Ryan McKanna (Plaguefox)", - "Sta Kousin", --help with Japanese bug reports -} - -local shoutout = { - "The Lua team", -- lua project lead or some shit. super nerdy but oh hell. - "Mojang AB", -- minecraft forever -freem - "Wolfire Games", -- piles of inspiration - "NAKET Coder", - "Ciera Boyd", -- you bet your ass I'm putting my girlfriend in the credits - --Image(), -- we should have some logos probably to look super pro - "#KBO", - "Celestia Radio", -- LOVE AND TOLERANCE - "You showed us... your ultimate dance!", -} - -local copyright = { - "StepMania is released under the terms of the MIT license.", - "If you paid for the program you've been " .. Fooled() .. ".", - "All content is the sole property of their respectful owners." -} - -local sections = { - { "the spinal shark collective (project lead)", ssc }, - { "sm-ssc Team", sm_ssc }, - { "StepMania Team", stepmania }, - { "OpenITG Team", oitg }, - { "Translators", translators }, - { "Other Contributors", contrib }, - { "Special Thanks", thanks }, - { "Shoutouts", shoutout }, - { "Copyright", copyright }, -} - --- To add people or sections modify the above. - -local lineOn = cmd(zoom,0.875;strokecolor,color("#444444");shadowcolor,color("#444444");shadowlength,3) -local sectionOn = cmd(diffuse,color("#88DDFF");strokecolor,color("#446688");shadowcolor,color("#446688");shadowlength,3) +local line_on = cmd(zoom,0.875;strokecolor,color("#444444");shadowcolor,color("#444444");shadowlength,1) +local section_on = cmd(diffuse,color("#88DDFF");strokecolor,color("#446688");shadowcolor,color("#446688");shadowlength,1) +local subsection_on = cmd(diffuse,color("#88DDFF");strokecolor,color("#446688");shadowcolor,color("#446688");shadowlength,1) local item_padding_start = 4; +local line_height= 30 +-- Tell the credits table the line height so it can use it for logo sizing. +StepManiaCredits.SetLineHeight(line_height) local creditScroller = Def.ActorScroller { SecondsPerItem = 0.5; NumItemsToDraw = 40; TransformFunction = function( self, offset, itemIndex, numItems) - self:y(30*offset) + self:y(line_height*offset) end; OnCommand = cmd(scrollwithpadding,item_padding_start,15); } -local function AddLine( text, command ) - local text = Def.ActorFrame{ - LoadFont("Common normal")..{ - Text = text or ""; - OnCommand = command or lineOn; - } - } - table.insert( creditScroller, text ) -end - -- Add sections with padding. -for section in ivalues(sections) do - AddLine( section[1], sectionOn ) - for name in ivalues(section[2]) do - AddLine( name ) +for section in ivalues(StepManiaCredits.Get()) do + StepManiaCredits.AddLineToScroller(creditScroller, section.name, section_on) + for name in ivalues(section) do + if name.type == "subsection" then + StepManiaCredits.AddLineToScroller(creditScroller, name, subsection_on) + else + StepManiaCredits.AddLineToScroller(creditScroller, name, line_on) + end end - AddLine() - AddLine() + StepManiaCredits.AddLineToScroller(creditScroller) + StepManiaCredits.AddLineToScroller(creditScroller) end creditScroller.BeginCommand=function(self) diff --git a/Themes/default/Languages/fr.ini b/Themes/default/Languages/fr.ini new file mode 100644 index 0000000000..c28a56869c --- /dev/null +++ b/Themes/default/Languages/fr.ini @@ -0,0 +1,253 @@ +[Screen] +HelpText=&BACK; Quitter &START; Lancer &SELECT; Options &MENULEFT;&MENURIGHT;&MENUUP;&MENUDOWN; Changer + +[ScreenWithMenuElements] +HelpText=&BACK; Quitter &START; Lancer &MENULEFT;&MENURIGHT; Changer +StageCounter=Niveau %s +EventStageCounter=Niveau %03i + +[ScreenTitleMenu] +HelpText=&BACK; Quitter &START; Lancer &MENUUP;&MENUDOWN; Changer +Network OK=Réseau OK +Offline=Déconnecté +Connected to %s=Connecté à %s +CurrentGametype=Type de jeu actuel : %s +LifeDifficulty=Difficulté de vie : %s +TimingDifficulty=Difficulté timing : %s +%i Songs (%i Groups), %i Courses=%i Chansons (%i Groupes), %i Courses + +[ScreenTitleJoin] +HelpText=Appuyer sur &START; pour jouer +HelpTextJoin=Appuyer sur &START; pour jouer +HelpTextWait=Insérer des jetons ! +EventMode=Event Mode +JointPremiumMain=Joint Premium +JointPremiumSecondary=2 joueurs peuvent jouer avec 1 jeton ! +DoublesPremiumMain=Doubles Premium +DoublesPremiumSecondary=Jouer doublement pour 1 jeton ! + +[ScreenCaution] +HelpText=&START; Suivant + +[ScreenDemonstration] +Demonstration=Démonstration +%s - %s [from %s]=%s - %s\n[from %s] + +[ScreenQuickSetupOverview] +Explanation=L'installation rapide est un moyen facile d'avoir le paramétrage communément utilisé. + +[ScreenProfileLoad] +HelpText=... Chargement des profils, veuillez patienter ... + +[ScreenSelectProfile] +%d Song Played=%d chansons jouées +%d Songs Played=%d chansons jouées +PressStart=Appuyer sur &START; pour jouer. +HelpText=&MENUUP;&MENUDOWN; Changer de profil &START; Lancer &BACK; Revenir + +[ScreenSelectMaster] +HelpText=&BACK; Quitter &START; Lancer &MENULEFT;&MENURIGHT; Changer + +[ScreenSelectPlayMode] +HelpText=&BACK; Quitter &START; Lancer &MENULEFT;&MENURIGHT; Changer +EasyExplanation=Mode débutant. +HardExplanation=Mode expert. +OldNormalExplanation=Ni trop facile, ni trop difficile. +NormalExplanation=Jouer sur vos chansons préférées ! +RaveExplanation=Combattre un ami ou un ennemi ! +NonstopExplanation=Plusieurs chansons à la suite +OniExplanation=Tester vos performances. +EndlessExplanation=Je ne veux pas m'arrêter de jouer ! + +[ScreenSelectPlayStyle] +HelpText=&BACK; Quitter &START; Lancer &MENULEFT;&MENURIGHT; Changer + +[ScreenGameInformation] +HelpText=&BACK; Quitter &START; Passer + +[ScreenSelectMusic] +NEW!=NEW! +Press Start For Options=Appuyer sur &START; pour les options +Entering Options=Accéder aux options +HelpText=&BACK; Quitter &START; Lancer &SELECT; Magic Codes &MENULEFT;&MENURIGHT; Changer::&AUXWHITE;+[KEY] Trier [KEY] +AlternateHelpText=&SELECT;+&MENULEFT;&MENURIGHT; Changer la difficulté &SELECT;+&START; Trier rapidement + +[ScreenSelectCourse] +HelpText=&BACK; Quitter &START; Lancer &SELECT; Magic Codes &MENULEFT;&MENURIGHT; Changer::&UP;&DOWN;&UP;&DOWN; pour d'autres type de jeu + +[ScreenOptions] +HelpText=&BACK; Quitter &START; Lancer &SELECT; Remonter &MENULEFT;&MENURIGHT;&MENUUP;&MENUDOWN; Changer +Disqualified=Le score ne sera pas comptabilisé ! + +[ScreenStageInformation] +HelpText= + +[ScreenGameplay] +HelpText= + +[ScreenHeartEntry] +Enter Heart Rate=Saisir la fréquence +Song Length=Longueur de la chanson +Heart Rate=Fréquence + +[ScreenEvaluation] +HelpText=&BACK; Quitter &START; Lancer &MENULEFT;+&MENURIGHT; ou &SELECT; Immédiat +LifeDifficulty=Difficulté de vie : %s +TimingDifficulty=Difficulté de cadence : %s +MachineRecord=Record #%i! +PersonalRecord=Record personnel #%i! +ITG DP:=ITG DP: +MIGS DP:=MIGS DP: + +[ScreenContinue] +HelpText=&START; Chrono + +[OptionTitles] +AutoSetStyle=Auto Set Style +NotePosition=Note Positions +ComboOnRolls=Rolls Increment Combo +ComboUnderField=Combo Under Field + +GameplayShowScore=Afficher le Score +GameplayShowStepsDisplay=Afficher les mesures +ShowLotsaOptions=Densité Options +LongFail=Fail Length +FlashyCombo=Combo Flashy +GameplayFooter=Gameplay Footer +FancyUIBG=Fond fantaisiste +TimingDisplay=Affichage Timing + +[OptionExplanations] +AutoSetStyle=Permettre au jeu de lister tous les modes de jeu pour un ou deux joueurs au lieu d'un seul mode. Peut nécessiter un redémarrage de StepMania (ou appuyez sur Maj + F2). +NotePosition=Paramétrer où les cibles des flêches seront affichées. +ComboOnRolls=Choose if rolls should increment the combo or not. If you change this option, you will need to reload the metrics (via Shift+F2) for it to take effect. +ComboUnderField=Détermine si les combos doivent s'afficher ou non sous les flêches. + +GameplayShowScore=Afficher ou masquer le score en cours de jeu. +GameplayShowStepsDisplay=Afficher ou masquer les mesures en cours de jeu. +ShowLotsaOptions=Choisir le nombre d'options/modes possibles. &oq;Few&cq; garde le minimum. &oq;Many&cq; ajoute les différents modes. +LongFail=Choisir entre le original "Long" sm-ssc fail or the "Short" fail adopted later. +FlashyCombo=Choisir si les combos doivent être affichés ou non. +GameplayFooter=Si activé, alors une zone en bas d'écran masque les flêches( score DDR). +FancyUIBG=Bascule dans le mode "Fantaise". "Off" est recommandé sur les PC les plus anciens. Les changements prendront effet sur l'écran titre. +TimingDisplay=Bascule l'affichage of timing segments sur la barre de progression de la chanson. + +ScoringType=Definir comment la note est calculée. Si vous avez selectionne "Special", vous pouvez choisir "Special Scoring Mode" dans les options de Thêmes. + +Speed=Ajuste la vitesse à laquelle les flêches arrivent sur la cible +Accel=Change la manière dont les flêches se rapprochent de la cible. +Effect=Change la taille ou le mouvement des flêches et/ou des cibles. +Appearance=Contrôle la visibilité des flêches. +Turn=Modifie la chorégraphie en ajustant la position des flêches. +Insert=Ajoute des flêches tapées à la chorégraphie. +Holds=Modifie des flêches tapées en flêches maintenues. +Mines=Ajoute ou supprime des mines. +PlayerAutoPlay=Joue automatiquement La chorégraphie. +ScoreDisplay=Change la présentation du score. +ProTiming=Change la façon dont les jugements sont affichés. +Scroll=Ajuster le débit de flêches pour atteindre l'objectif. +NoteSkins=Change l'apparence des flêches. +Handicap=Supprime des flêches mais celà ne comptabilisera pas un high score. +Hide=Masque Les cibles, les jugements et le fond. +Persp=Change l'orientation des flêches. +Steps=Ajuste la difficulté des pas. +Characters=Dancing buddies. +SaveToProfileHelp=Nécéssite l'enregistrement du profil. +MusicRateHelp=Joue la chanson sur un rythme plus rapide. + +[StepsListDisplayRow StepsType] +Dance_Single=4 +Dance_Double=8 +Dance_Couple=8 +Dance_Solo=6 +Dance_Routine=8 +Dance_Threepanel=3 +Pump_Single=5 +Pump_Double=10 +Pump_Halfdouble=6 +Pump_Couple=5 +Pump_Routine=10 +Kb7_Single=7 +Ez2_Single=ES +Ez2_Double=ED +Ez2_Real=ER +Para_Single=PS +Ds3ddx_Single=XS +Bm_Single5=5 +Bm_Double5=10 +Bm_Single7=7 +Bm_Double7=14 +Maniax_Single=MS +Maniax_Double=MD +Techno_Single4=4 +Techno_Single5=5 +Techno_Single8=8 +Techno_Double4=D4 +Techno_Double5=D5 +Techno_Double8=D8 +Pnm_Five=5 +Pnm_Nine=9 +Guitar_Five=5 +Karaoke=V +Lights_Cabinet=! + +[ScreenHowToInstallSongs] +BodyHeader=Comment obtenir de nouvelles chansons pour Stepmania et les installer +Finding Songs=Où trouver des chansons +Installing Songs=Comment installer des chansons +Importing Songs=Importer depuis une ancienne installation de Stepmania +Reload Songs=Recharger la liste des chansons +Exit=Revenir au menu précédent + +Explanation-WhereToFind=Ouvrir une page web pour trouver des chansons pour StepMania. +Explanation-HowToInstall=Ouvrir une page web pour expliquer l'installation de nouvelle chanson. +Explanation-AdditionalFolders=Si vous avez déjà installé StepMania, vous pouvez utiliser un dossier supplémentaire dans les Préférences pour les charger dans StepMania 5. +Explanation-ReloadSongs=Recharger la liste des chansons. Celà est obligatoire si vous avez ajouter, déplacer ou supprimer des chansons alors que StepMania était lancé. +Explanation-Exit=Revenir au menu précédent + +[OptionNames] +Custom=Special +Many=Beaucoup +Few=Peu +Normal=Normal +Lower=Lower +Short=Court +Long=Long + +[ScreenTestInput] +HelpText=Maintenir &BACK; ou &START; pour quitter + +[PaneDisplay] +Taps=Taps +Jumps=Sauts +Holds=Holds +Mines=Mines +Hands=Mains +Rolls=Rolls +Lifts=Lifts +Fakes=Fakes +S=S +V=V +A=A +F=F +C=C + +[ScreenMapControllers] +Exit=Quitter + +[ScreenGameOver] +GAME OVER=PERDU +Play again soon!=Revenez jouer ! + +[ScreenHowToPlay] +How To Play StepMania=Comment jouer à StepMania +Information=Informations + +Feet=Vous allez utiliser vos pieds pour jouer ! +Tap=Lorsque la flêche arrive à ce niveau, \nappuyer sur la flêches correspondante. +Jump=Appuyer sur deux flêches en même temps ! +Miss=Si vous faites plusieurs erreurs d'affilée, \nvotre jauge diminuera jusqu'à perdre la partie ! + + +[Protiming] +MS=MS