From 988658df7c77d65ec50639968bd8edec99067e8c Mon Sep 17 00:00:00 2001 From: denniscuflat Date: Thu, 5 Jan 2012 01:08:45 +0000 Subject: [PATCH] Most of the labels on "gameconfigform" and "gameplayform" were translated. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2229 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- applications/tappytux/gameconfigform.lfm | 82 ++++++++++++------------ applications/tappytux/gameconfigform.pas | 28 ++++++-- applications/tappytux/gameplayform.lfm | 12 ++-- 3 files changed, 71 insertions(+), 51 deletions(-) diff --git a/applications/tappytux/gameconfigform.lfm b/applications/tappytux/gameconfigform.lfm index 8aba9e869..61173d78d 100644 --- a/applications/tappytux/gameconfigform.lfm +++ b/applications/tappytux/gameconfigform.lfm @@ -1,7 +1,7 @@ object formConfig: TformConfig - Left = 290 + Left = 151 Height = 432 - Top = 192 + Top = 561 Width = 582 Caption = 'TappyTux Loader' ClientHeight = 432 @@ -13,10 +13,10 @@ object formConfig: TformConfig Visible = True object comboGameType: TComboBox Left = 9 - Height = 21 + Height = 23 Top = 38 Width = 183 - ItemHeight = 0 + ItemHeight = 15 OnChange = comboGameTypeChange TabOrder = 0 Text = 'GameType' @@ -31,9 +31,9 @@ object formConfig: TformConfig end object labelWordlist: TLabel Left = 212 - Height = 17 + Height = 16 Top = 16 - Width = 93 + Width = 79 Caption = 'Select Wordlist' ParentColor = False end @@ -47,37 +47,37 @@ object formConfig: TformConfig end object labelSettings: TLabel Left = 432 - Height = 17 + Height = 16 Top = 16 - Width = 52 + Width = 43 Caption = 'Settings' ParentColor = False end object lblSound: TLabel - Left = 367 - Height = 17 - Top = 72 - Width = 63 + Left = 368 + Height = 16 + Top = 80 + Width = 53 Caption = 'Sound FX' Font.Style = [fsBold] ParentColor = False ParentFont = False end object lblMusic: TLabel - Left = 367 - Height = 17 - Top = 104 - Width = 40 + Left = 368 + Height = 16 + Top = 112 + Width = 33 Caption = 'Music' Font.Style = [fsBold] ParentColor = False ParentFont = False end object lblLevel: TLabel - Left = 367 - Height = 17 - Top = 132 - Width = 93 + Left = 368 + Height = 16 + Top = 144 + Width = 79 Caption = 'Starting Level' Font.Style = [fsBold] ParentColor = False @@ -85,10 +85,10 @@ object formConfig: TformConfig end object comboSound: TComboBox Left = 464 - Height = 21 - Top = 68 + Height = 23 + Top = 72 Width = 104 - ItemHeight = 0 + ItemHeight = 15 Items.Strings = ( 'ON' 'OFF' @@ -98,10 +98,10 @@ object formConfig: TformConfig end object comboMusic: TComboBox Left = 464 - Height = 21 - Top = 96 + Height = 23 + Top = 105 Width = 104 - ItemHeight = 0 + ItemHeight = 15 Items.Strings = ( 'ON' 'OFF' @@ -111,10 +111,10 @@ object formConfig: TformConfig end object comboLevel: TComboBox Left = 464 - Height = 21 - Top = 128 + Height = 23 + Top = 137 Width = 104 - ItemHeight = 0 + ItemHeight = 15 Items.Strings = ( '1' '2' @@ -132,9 +132,9 @@ object formConfig: TformConfig end object lblCredits: TLabel Left = 432 - Height = 17 + Height = 16 Top = 200 - Width = 46 + Width = 38 Caption = 'Credits' ParentColor = False end @@ -210,17 +210,17 @@ object formConfig: TformConfig end object labelGameType: TLabel Left = 9 - Height = 17 + Height = 16 Top = 16 - Width = 72 - Caption = 'Game type:' + Width = 64 + Caption = 'Game Type:' ParentColor = False end - object lblLevel1: TLabel + object lblLanguage: TLabel Left = 367 - Height = 17 - Top = 46 - Width = 66 + Height = 16 + Top = 47 + Width = 54 Caption = 'Language' Font.Style = [fsBold] ParentColor = False @@ -228,10 +228,10 @@ object formConfig: TformConfig end object comboLanguage: TComboBox Left = 464 - Height = 21 - Top = 42 + Height = 23 + Top = 40 Width = 104 - ItemHeight = 0 + ItemHeight = 15 ItemIndex = 0 Items.Strings = ( 'English' diff --git a/applications/tappytux/gameconfigform.pas b/applications/tappytux/gameconfigform.pas index d79e32055..f4a73917c 100644 --- a/applications/tappytux/gameconfigform.pas +++ b/applications/tappytux/gameconfigform.pas @@ -25,7 +25,7 @@ type comboLevel: TComboBox; labelGameType: TLabel; labelWordlist: TLabel; - lblLevel1: TLabel; + lblLanguage: TLabel; labelSettings: TLabel; lblSound: TLabel; lblMusic: TLabel; @@ -78,15 +78,35 @@ begin case comboLanguage.ItemIndex of 0: // english begin - labelGameType.Caption := 'Game type:'; + labelGameType.Caption := 'Game Type'; + //labelWordlist.Caption := 'Select Wordlist'; labelSettings.Caption := 'Settings'; + lblLanguage.Caption := 'Language'; + lblSound.Caption := 'SoundFX'; + lblMusic.Caption := 'Music'; + lblLevel.Caption := 'Starting Level'; + lblCredits.Caption := 'Credits'; buttonLoad.Caption := 'Play'; + formTappyTuxGame.LabelLevels.Caption := 'Level'; + formTappyTuxGame.LabelScore.Caption := 'Score'; + formTappyTuxGame.LabelLives.Caption := 'Lives'; + formTappyTuxGame.btnExit.Caption := 'Exit'; end; 1: // portuguese begin - labelGameType.Caption := 'Tipo do jogo:'; + labelGameType.Caption := 'Tipo de Jogo'; + //labelWordlist.Caption := 'Selecione Lista de Palavras'; labelSettings.Caption := 'Configurações'; - buttonLoad.Caption := 'Iniciar o Jogo'; + lblLanguage.Caption := 'Idioma'; + lblSound.Caption := 'Efeitos Sonoros'; + lblMusic.Caption := 'Música'; + lblLevel.Caption := 'Nível de início'; + lblCredits.Caption := 'Créditos'; + buttonLoad.Caption := 'Jogar'; + formTappyTuxGame.LabelLevels.Caption := 'Nível'; + formTappyTuxGame.LabelScore.Caption := 'Pontos'; + formTappyTuxGame.LabelLives.Caption := 'Vidas'; + formTappyTuxGame.btnExit.Caption := 'Sair'; end; end; end; diff --git a/applications/tappytux/gameplayform.lfm b/applications/tappytux/gameplayform.lfm index f42771063..bb4456980 100644 --- a/applications/tappytux/gameplayform.lfm +++ b/applications/tappytux/gameplayform.lfm @@ -1,7 +1,7 @@ object formTappyTuxGame: TformTappyTuxGame - Left = 388 + Left = 362 Height = 425 - Top = 172 + Top = 361 Width = 621 Caption = 'Tappy Tux' ClientHeight = 425 @@ -22,7 +22,7 @@ object formTappyTuxGame: TformTappyTuxGame end object Answer: TEdit Left = 104 - Height = 22 + Height = 23 Top = 392 Width = 514 OnKeyPress = AnswerKeyPress @@ -84,7 +84,7 @@ object formTappyTuxGame: TformTappyTuxGame end object Level: TEdit Left = 8 - Height = 22 + Height = 23 Top = 64 Width = 76 ReadOnly = True @@ -92,7 +92,7 @@ object formTappyTuxGame: TformTappyTuxGame end object Score: TEdit Left = 8 - Height = 22 + Height = 23 Top = 152 Width = 76 ReadOnly = True @@ -100,7 +100,7 @@ object formTappyTuxGame: TformTappyTuxGame end object Lives: TEdit Left = 8 - Height = 22 + Height = 23 Top = 232 Width = 76 ReadOnly = True