From: <lpa...@us...> - 2012-05-12 02:58:59
|
Revision: 8295 http://planeshift.svn.sourceforge.net/planeshift/?rev=8295&view=rev Author: lpancallo Date: 2012-05-12 02:58:53 +0000 (Sat, 12 May 2012) Log Message: ----------- Added more translation capabilities, including table column names, and popup windows. Modified Paths: -------------- trunk/lang/english/stringtable.xml trunk/lang/italian/stringtable.xml trunk/src/common/paws/pawslistbox.cpp trunk/src/common/paws/pawsstringpromptwindow.cpp trunk/src/common/paws/pawsyesnobox.cpp Modified: trunk/lang/english/stringtable.xml =================================================================== --- trunk/lang/english/stringtable.xml 2012-05-12 01:47:32 UTC (rev 8294) +++ trunk/lang/english/stringtable.xml 2012-05-12 02:58:53 UTC (rev 8295) @@ -42,8 +42,8 @@ <item orig="Dismiss" trans="" /> <item orig="Spell Casting" trans="" /> <item orig="Stack Count" trans="" /> + <item orig="Examine" trans="" /> <item orig="Torso" trans="" /> - <item orig="Examine" trans="Esamina" /> <item orig=" unanswered petitions." trans="" /> <item orig="Talk to people in your sector." trans="" /> <item orig="Right Finger" trans="" /> @@ -54,26 +54,26 @@ <item orig="Tellself outline colour" trans="" /> <item orig="Log Out" trans="" /> <item orig="male " trans="" /> + <item orig="Active" trans="" /> + <item orig="alliance text colour" trans="" /> <item orig="Description" trans="" /> - <item orig="alliance text colour" trans="" /> - <item orig="Active" trans="" /> <item orig="Creatures:" trans="" /> <item orig="says" trans="dice" /> <item orig="Chose Color (c)" trans="" /> <item orig="View" trans="" /> <item orig="PATHS" trans="" /> <item orig="Wait" trans="" /> + <item orig="Shadows" trans="" /> <item orig="Previous Icon (PgUp)" trans="" /> - <item orig="Shadows" trans="" /> <item orig="Unclaim" trans="" /> <item orig="Server:" trans="" /> + <item orig="Exit PlaneShift" trans="" /> <item orig="Enable Shadows" trans="" /> - <item orig="Exit PlaneShift" trans="" /> <item orig="Escalation Level:" trans="" /> + <item orig="Notify when members login/logout" trans="" /> <item orig="Insert Note" trans="" /> - <item orig="Notify when members login/logout" trans="" /> + <item orig="P. stamina" trans="" /> <item orig="Talk to someone privately." trans="" /> - <item orig="P. stamina" trans="" /> <item orig="Magic Skills List:" trans="" /> <item orig="Quest" trans="" /> <item orig="House:" trans="" /> @@ -118,8 +118,8 @@ <item orig="each values 250 Tria" trans="" /> <item orig="npcinternal outline colour" trans="" /> <item orig="Merchant" trans="" /> + <item orig="Auction" trans="" /> <item orig="Account User Name:" trans="" /> - <item orig="Auction" trans="" /> <item orig="set invisible" trans="" /> <item orig="You currently have no petitions." trans="" /> <item orig="Edit Mode (F2)" trans="" /> @@ -134,8 +134,8 @@ <item orig="The server is locked!" trans="" /> <item orig="Weak Pickupable" trans="" /> <item orig="Mount" trans="" /> + <item orig="Are you sure you want to upload? You have 2 CP left." trans="" /> <item orig="Quest & Events Notebook" trans="" /> - <item orig="Are you sure you want to upload? You have 2 CP left." trans="" /> <item orig="You will now ignore %s." trans="" /> <item orig="Study" trans="" /> <item orig="Private notes" trans="" /> @@ -143,8 +143,8 @@ <item orig="Tell Alignment" trans="" /> <item orig="Enable NPC" trans="" /> <item orig="Change name" trans="" /> + <item orig="Getting Characters" trans="" /> <item orig="set invincible" trans="" /> - <item orig="Getting Characters" trans="" /> <item orig="Introduce yourself" trans="" /> <item orig="Main tab" trans="" /> <item orig="Unknown command" trans="" /> @@ -182,8 +182,8 @@ <item orig="Mesh:" trans="" /> <item orig="Right Hand" trans="" /> <item orig="Resolution" trans="" /> + <item orig="Refresh MOTD" trans="" /> <item orig="Gender:" trans="" /> - <item orig="Refresh MOTD" trans="" /> <item orig="Login" trans="" /> <item orig="Z:" trans="" /> <item orig="Use basic chat window (need reload)" trans="" /> @@ -197,8 +197,8 @@ <item orig="NPC_my text colour" trans="" /> <item orig="Full Mesh" trans="" /> <item orig="NPC_narrate shadow colour" trans="" /> + <item orig="I am leaving" trans="" /> <item orig="alliance outline colour" trans="" /> - <item orig="I am leaving" trans="" /> <item orig="Circles available to deposit." trans="" /> <item orig="Train" trans="" /> <item orig="Exchange items" trans="" /> @@ -213,8 +213,8 @@ " /> <item orig="Count" trans="" /> <item orig="Enter the command(s):" trans="" /> + <item orig="Chat" trans="" /> <item orig="Month:" trans="" /> - <item orig="Chat" trans="" /> <item orig="NPC_me outline colour" trans="" /> <item orig="Mute on focus loss" trans="" /> <item orig="Aggressive" trans="" /> @@ -225,8 +225,8 @@ <item orig="Rank" trans="" /> <item orig="Spawn item" trans="" /> <item orig="Enable guild" trans="" /> + <item orig="o&clock" trans="" /> <item orig="Group stats" trans="" /> - <item orig="o&clock" trans="" /> <item orig="Construct" trans="" /> <item orig="Give Kill Experience" trans="" /> <item orig="Own combat stance changes" trans="" /> @@ -243,8 +243,8 @@ <item orig="Tria" trans="" /> <item orig="Group text color" trans="" /> <item orig="1 Tria" trans="" /> + <item orig="No Petitions." trans="" /> <item orig="The number of trias that you may exchange." trans="" /> - <item orig="No Petitions." trans="" /> <item orig="Filter" trans="" /> <item orig="New" trans="" /> <item orig="Mute sounds on focus loss" trans="" /> @@ -261,8 +261,8 @@ <item orig="Say Alignment" trans="" /> <item orig="set viewall" trans="" /> <item orig="Combat" trans="" /> + <item orig="Say outline colour" trans="" /> <item orig="Default last chat" trans="" /> - <item orig="Say outline colour" trans="" /> <item orig="Path" trans="" /> <item orig="each values 1 Tria" trans="" /> <item orig="Delete Selected Character" trans="" /> @@ -271,11 +271,11 @@ <item orig="Are you sure you want to upload your character?" trans="" /> <item orig="Enable Chat Bubbles" trans="" /> <item orig="Transfer to inventory" trans="" /> + <item orig="Own attacks that fail to penetrate the armor" trans="" /> + <item orig="Magic" trans="" /> <item orig="Get Reward" trans="Ottieni ricompensa" /> - <item orig="Magic" trans="" /> - <item orig="Own attacks that fail to penetrate the armor" trans="" /> + <item orig="You have " trans="" /> <item orig="Credits" trans="" /> - <item orig="You have " trans="" /> <item orig="details" trans="" /> <item orig="HP" trans="" /> <item orig="Physical Stamina" trans="" /> @@ -286,8 +286,8 @@ <item orig="Chat - TabCompletion" trans="" /> <item orig=" " trans="" /> <item orig="CHARACTER CREATION" trans="" /> + <item orig="Alliance:" trans="" /> <item orig="Glyphs" trans="" /> - <item orig="Alliance:" trans="" /> <item orig="Various Skill description:" trans="" /> <item orig="Buddy list" trans="" /> <item orig="100%" trans="" /> @@ -322,8 +322,8 @@ <item orig="tells you" trans="" /> <item orig="Ambiguous name:" trans="" /> <item orig="Load (l)" trans="" /> + <item orig="Password:" trans="" /> <item orig="Life" trans="" /> - <item orig="Password:" trans="" /> <item orig="female " trans="" /> <item orig="ALL" trans="" /> <item orig="Currently, there are no petitions." trans="" /> @@ -693,6 +693,7 @@ <item orig="Main chat brackets" trans="" /> <item orig="Assemble Slot" trans="" /> <item orig="set givekillexp" trans="" /> + <item orig="Login_top" trans="Login" /> <item orig="You can not ignore yourself." trans="" /> <item orig="Members" trans="" /> <item orig="Shout text colour" trans="" /> Modified: trunk/lang/italian/stringtable.xml =================================================================== --- trunk/lang/italian/stringtable.xml 2012-05-12 01:47:32 UTC (rev 8294) +++ trunk/lang/italian/stringtable.xml 2012-05-12 02:58:53 UTC (rev 8295) @@ -28,6 +28,7 @@ <item orig="Guild info" trans="Info Gilda" /> <item orig="Buy" trans="Compra" /> <item orig="Guild message of the day (A short message):" trans="Messaggio del giorno della gilda:" /> + <item orig="Petition" trans="" /> <item orig="Modifiers" trans="Modificatori" /> <item orig="Actions sounds" trans="Suoni Azioni" /> <item orig="Combine items in container" trans="" /> @@ -42,8 +43,9 @@ <item orig="Buffs" trans="" /> <item orig="Creatures" trans="Creature" /> <item orig="Dismiss" trans="" /> + <item orig="Spell Casting" trans="" /> <item orig="Stack Count" trans="" /> - <item orig="Spell Casting" trans="" /> + <item orig="Last online" trans="" /> <item orig="Torso" trans="Torso" /> <item orig="Examine" trans="Esamina" /> <item orig=" unanswered petitions." trans=" petizioni non risposte." /> @@ -82,6 +84,7 @@ <item orig="P. stamina" trans="Resistenza F." /> <item orig="Magic Skills List:" trans="" /> <item orig="Quest" trans="" /> + <item orig="Pos" trans="" /> <item orig="House:" trans="Casa:" /> <item orig="First name must contain more than two letters" trans="" /> <item orig="System Base" trans="Sistema Base" /> @@ -177,6 +180,14 @@ <item orig="Autoexec" trans="" /> <item orig="NPC_my Alignment" trans="Allineamento NPC_my" /> <item orig="Skin Colour" trans="Colore Pelle" /> + <item orig="IMPORTANT: The following graphical options are available ONLY in the PlaneShift launcher. If you want to change any of those, you need to close this client, and relaunch PlaneShift. In the Launcher window, click on 'Settings' and 'Settings/Graphics'. + +- Full screen or windowed mode (launcher only) +- Resolution of the screen (launcher only) +- Increase or lower graphical quality (launcher only) + +We suggest you to try different settings and see what's best for your hardware." trans="" /> + <item orig="Effects sounds" trans="" /> <item orig="Master:" trans="" /> <item orig="Last name must contain more than two letters" trans="" /> <item orig="View Stats" trans="" /> @@ -208,6 +219,7 @@ <item orig="Spell Description:" trans="Descrizione magia:" /> <item orig="Petition Info" trans="Informazioni sulla petizione" /> <item orig="%s has invited you to join a group. Click Yes to accept or No to reject." trans="%s ti ha invitato ad aggregarti a un gruppo. Clicca Sì per accettare e No per rifiutare." /> + <item orig="Glyph" trans="" /> <item orig="You must select a petition from the list in order to cancel it." trans="Devi selezionare una petizione della lista per poterla cancellare." /> <item orig="Alliance" trans="Alleanza" /> <item orig="Are you sure you want to upload? " trans="" /> @@ -232,6 +244,7 @@ <item orig=" Do you really wish to leave Yliakum?" trans=" Vuoi veramente lasciare Yliakum?" /> + <item orig="Last Name" trans="" /> <item orig="Count" trans="Conto" /> <item orig="Enter the command(s):" trans="Inserire i comandi:" /> <item orig="Month:" trans="Mese:" /> @@ -277,6 +290,7 @@ <item orig="Exchange all items" trans="" /> <item orig="Add Linked" trans="Aggiungi collegato" /> <item orig="keyboard" trans="Tastiera" /> + <item orig="Type" trans="" /> <item orig="Research Magic" trans="" /> <item orig="The number of trias you wish to withdraw." trans="" /> <item orig="Activity:" trans="Attività:" /> @@ -308,6 +322,7 @@ <item orig="Physical Stamina" trans="Resistenza Fisica" /> <item orig="You have entered edit mode." trans="" /> <item orig="%s shouts: %s" trans="%s urla: %s" /> + <item orig="Leader" trans="" /> <item orig="Quality:" trans="Qualità:" /> <item orig="No server running at the moment" trans="Non ci sono server attivi in questo momento" /> <item orig="Chat - TabCompletion" trans="" /> @@ -317,6 +332,7 @@ <item orig="Glyphs" trans="Glyph" /> <item orig="Alliance:" trans="Alleanza:" /> <item orig="Various Skill description:" trans="" /> + <item orig="First Name" trans="" /> <item orig="Buddy list" trans="Lista amici" /> <item orig="100%" trans="" /> <item orig="Strength on the lock" trans="" /> @@ -369,6 +385,7 @@ <item orig="Active Magic" trans="Magia Attiva" /> <item orig="Normal" trans="" /> <item orig="Insert Measure" trans="" /> + <item orig="Level" trans="" /> <item orig="Quest Testing" trans="Quest test" /> <item orig="alliance Alignment" trans="Allineamento alleanza" /> <item orig="Year:" trans="Anno:" /> @@ -387,6 +404,7 @@ <item orig="shouts" trans="" /> <item orig="Others' attacks that are dodged" trans="" /> <item orig="Basic chat" trans="" /> + <item orig="Mesh" trans="" /> <item orig="Combat music" trans="Musica di combattimento" /> <item orig="Enable shout" trans="" /> <item orig="Own attacks (Successful ones)" trans="" /> @@ -450,6 +468,7 @@ <item orig="Eighth" trans="" /> <item orig="Sharp" trans="" /> <item orig="Convert password" trans="" /> + <item orig="Created Date" trans="" /> <item orig="Auction shadow colour" trans="" /> <item orig="OOC" trans="" /> <item orig="List Attributes" trans="Elenca attributi" /> @@ -479,6 +498,7 @@ <item orig="The number of hexas that you may exchange." trans="" /> <item orig="%s asks: %s" trans="%s chiede: %s" /> <item orig="Play/Stop" trans="" /> + <item orig="Lvl" trans="" /> <item orig="1" trans="" /> <item orig="Invisible" trans="Invisibile" /> <item orig="CHARACTER SELECT" trans="SELEZIONE PERSONAGGIO" /> @@ -540,6 +560,7 @@ Changing the language can be done ONLY in the PlaneShift Launcher. To do this you should close this client, and relaunch PlaneShift. In the Launcher you should change the 'Language' dropdown." trans="" /> <item orig="Back_inv" trans="Schiena" /> <item orig="Crafting" trans="" /> + <item orig="Gnd" trans="" /> <item orig="DescOC" trans="" /> <item orig="Welcome to PlaneShift!" trans="Benvenuto su PlaneShift!" /> <item orig="Delete" trans="Cancella" /> @@ -584,6 +605,7 @@ <item orig="NPC" trans="" /> <item orig="Music Volume" trans="Volume Musica" /> <item orig="Mother:" trans="" /> + <item orig="Online" trans="" /> <item orig="Defend me !" trans="Difendimi!" /> <item orig="Spell List:" trans="" /> <item orig="FPS cap:" trans="" /> @@ -638,6 +660,7 @@ <item orig="Fade Speed:" trans="" /> <item orig="My Alignment" trans="Mio allineamento" /> <item orig="Labels visibility" trans="" /> + <item orig="Player" trans="" /> <item orig="Trigger:" trans="" /> <item orig="Refresh List" trans="Aggiorna lista" /> <item orig="Character Name" trans="Nome Personaggio" /> @@ -745,6 +768,7 @@ <item orig="Assemble Slot" trans="" /> <item orig="set givekillexp" trans="" /> <item orig="Add Petition" trans="" /> + <item orig="Login_top" trans="Connessione" /> <item orig="You can not ignore yourself." trans="Non puoi ignorare te stesso.." /> <item orig="Members" trans="Membri" /> <item orig="Shout text colour" trans="" /> @@ -769,6 +793,9 @@ <item orig="Char Name" trans="Nome personaggio" /> <item orig="Create Text (t)" trans="" /> <item orig="Number of Siblings" trans="" /> + <item orig="In this section you can configure the keys associated to actions, for example the keys used for movement. + +You can also change the commands sent by each mouse button." trans="" /> <item orig="New Character" trans="Nuovo Personaggio" /> <item orig="Magic Skill description:" trans="" /> <item orig="npcinternal Alignment" trans="" /> @@ -801,6 +828,7 @@ <item orig="Quest Responses" trans="" /> <item orig="Next Icon (PgDn)" trans="" /> <item orig="Instance:" trans="" /> + <item orig="Warning! this will PERMANENTLY DELETE your character. Are you sure you want to continue?" trans="" /> <item orig="Actions" trans="" /> <item orig="Chat - Filters" trans="Chat - Filtri" /> <item orig="Amount to withdraw" trans="Ammonto da ritirare" /> @@ -861,6 +889,8 @@ <item orig="Game Board" trans="" /> <item orig="Delete Selected (del)" trans="" /> <item orig="each values 50 Tria" trans="" /> + <item orig="Status" trans="" /> + <item orig="Id" trans="" /> <item orig="Name:" trans="Nome:" /> <item orig="Discard" trans="" /> <item orig="Y:" trans="S:" /> @@ -910,11 +940,13 @@ <item orig="npcinternal text colour" trans="" /> <item orig="Boots" trans="" /> <item orig="Allow the client to send a newly hashed password to the server (check: http://tinyurl.com/5smsz5l )" trans="" /> + <item orig="Poly" trans="" /> <item orig="Completed" trans="completate" /> <item orig="none" trans="niente" /> <item orig="Alternates" trans="" /> <item orig="Skills and stats" trans="Abilità" /> <item orig="Save (s)" trans="" /> + <item orig="Sector" trans="" /> <item orig="Save MOTD" trans="salva MOTD" /> <item orig="network" trans="network" /> <item orig="Interface" trans="Interfaccia" /> @@ -928,6 +960,7 @@ <item orig="Failed" trans="" /> <item orig="Welcome to" trans="" /> <item orig="Enable spell checker in chat window" trans="" /> + <item orig="GM" trans="" /> <item orig="Realm" trans="Reame" /> <item orig="cancelled." trans="cancellata." /> <item orig="closed." trans="chiusa." /> Modified: trunk/src/common/paws/pawslistbox.cpp =================================================================== --- trunk/src/common/paws/pawslistbox.cpp 2012-05-12 01:47:32 UTC (rev 8294) +++ trunk/src/common/paws/pawslistbox.cpp 2012-05-12 02:58:53 UTC (rev 8295) @@ -1545,8 +1545,10 @@ // create the real title widget pawsTextBox *innerWidget = new pawsTextBox; - innerWidget->SetName( def[column].widgetNode->GetAttributeValue("name") ); - innerWidget->SetText( def[column].widgetNode->GetAttributeValue("name") ); + csString name = def[column].widgetNode->GetAttributeValue("name"); + name = PawsManager::GetSingleton().Translate(name); + innerWidget->SetName( name ); + innerWidget->SetText( name ); csRef<iDocumentAttribute> atr = def[column].widgetNode->GetAttribute("visible"); if (atr) Modified: trunk/src/common/paws/pawsstringpromptwindow.cpp =================================================================== --- trunk/src/common/paws/pawsstringpromptwindow.cpp 2012-05-12 01:47:32 UTC (rev 8294) +++ trunk/src/common/paws/pawsstringpromptwindow.cpp 2012-05-12 02:58:53 UTC (rev 8295) @@ -57,7 +57,7 @@ inputWidget = new pawsMultilineEditTextBox(); pawsMultilineEditTextBox *editBox = dynamic_cast<pawsMultilineEditTextBox*> (inputWidget); editBox->SetRelativeFrameSize(width, height); - editBox->SetText(string); + editBox->SetText(PawsManager::GetSingleton().Translate(string)); if(maxlen) editBox->SetMaxLength(maxlen); } Modified: trunk/src/common/paws/pawsyesnobox.cpp =================================================================== --- trunk/src/common/paws/pawsyesnobox.cpp 2012-05-12 01:47:32 UTC (rev 8294) +++ trunk/src/common/paws/pawsyesnobox.cpp 2012-05-12 02:58:53 UTC (rev 8295) @@ -157,7 +157,7 @@ { pawsYesNoBox* dialog = dynamic_cast <pawsYesNoBox*> (PawsManager::GetSingleton().FindWidget("YesNoWindow")); dialog->SetNotify( notify ); - dialog->SetText( text ); + dialog->SetText( PawsManager::GetSingleton().Translate(text) ); dialog->SetID( yesID, noID ); dialog->Show(); PawsManager::GetSingleton().SetModalWidget( dialog ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |