- Timestamp:
- Oct 5, 2019, 2:23:25 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 11 added
- 5 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Languages/Game2048.cs.po
r20 r21 23 23 24 24 #: tcore.anew.caption 25 #, fuzzy26 25 msgctxt "tcore.anew.caption" 27 26 msgid "New..." … … 35 34 #: tcore.aundo.caption 36 35 msgid "Undo" 37 msgstr " "36 msgstr "Vrátit zpět" 38 37 39 38 #: tformabout.buttonclose.caption … … 152 151 153 152 #: ugame.swinmessage 154 msgid "You won! Do you want to continue to play?" 155 msgstr "Vyhrál jsi! Chceš pokračovat ve hře?" 156 153 msgid "You reached %d and won! You can continue to play to get higher score." 154 msgstr "Dosáhl jsi %d a vyhrál! Můžeš pokračovat ve hře k dosažení vyššího skóre." -
trunk/Languages/Game2048.po
r20 r21 141 141 142 142 #: ugame.swinmessage 143 msgid "You won! Do you want to continue to play?"143 msgid "You reached %d and won! You can continue to play to get higher score." 144 144 msgstr "" 145 145 -
trunk/UCore.pas
r20 r21 54 54 procedure TCore.DataModuleCreate(Sender: TObject); 55 55 begin 56 {$IFDEF Linux} 57 // If installed in Linux system then use installation directory for po files 58 if Application.ExeName = '/usr/bin/Game2048' then 59 Translator1.POFilesFolder := '/usr/share/Game2048/languages'; 60 {$ENDIF} 61 56 62 Randomize; 57 63 Game := TGame.Create; -
trunk/UGame.pas
r20 r21 98 98 SGameOverMessage = 'Game over!'; 99 99 SWinCaption = 'Win'; 100 SWinMessage = 'You won! Do you want to continue to play?';100 SWinMessage = 'You reached %d and won! You can continue to play to get higher score.'; 101 101 SScore = 'Score'; 102 102 STopScore = 'Top score'; … … 265 265 procedure TGame.Win; 266 266 begin 267 if MessageDlg(SWinCaption, SWinMessage, mtConfirmation, 268 mbYesNo, 0) = mrNo then begin 269 Running := False; 270 end; 267 MessageDlg(SWinCaption, Format(SWinMessage, [WinScore]), mtInformation, [mbOk], 0); 271 268 end; 272 269 … … 658 655 FBoardUndo.LoadFromRegistry(TRegistryContext.Create(RegContext.RootKey, RegContext.Key + '\BoardUndo')); 659 656 Board.LoadFromRegistry(TRegistryContext.Create(RegContext.RootKey, RegContext.Key + '\Board')); 657 DoChange; 660 658 end; 661 659
Note:
See TracChangeset
for help on using the changeset viewer.