Updating title, so one knows who's move each tab is
authorJaroslav Tulach <jaroslav.tulach@apidesign.org>
Fri, 18 Sep 2009 07:33:06 +0200
changeset 93af00332a19d9
parent 92 de3dd5710a5c
child 94 54d1f3879d0f
Updating title, so one knows who's move each tab is
freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/Bundle.properties
freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/Bundle_cs.properties
freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt
     1.1 --- a/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/Bundle.properties	Fri Sep 18 07:16:47 2009 +0200
     1.2 +++ b/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/Bundle.properties	Fri Sep 18 07:33:06 2009 +0200
     1.3 @@ -1,6 +1,9 @@
     1.4  TITLE=<a href="http://en.wikipedia.org/wiki/Quoridor">Quoridor</a> Community Server
     1.5  copyright=<a href="http://en.wikipedia.org/wiki/Quoridor">Quoridor</a> Community Server, Version {0}, (c) Jaroslav Tulach 2009
     1.6  
     1.7 +Waiting=Waiting for {0}
     1.8 +YourTurn=Your Turn!
     1.9 +
    1.10  gameWhiteBlack={0} vs. {1}
    1.11  LastMove=Last move {1,choice,\
    1.12    0#second|\
     2.1 --- a/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/Bundle_cs.properties	Fri Sep 18 07:16:47 2009 +0200
     2.2 +++ b/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/Bundle_cs.properties	Fri Sep 18 07:33:06 2009 +0200
     2.3 @@ -1,5 +1,9 @@
     2.4  TITLE=Komunitn\u00ED server <a href="http://cs.wikipedia.org/wiki/Quoridor">Quoridor</a>
     2.5  copyright=Komunitn\u00ED server <a href="http://cs.wikipedia.org/wiki/Quoridor">Quoridor</a>, Verze {0}, napsal Jaroslav Tulach roku 2009
     2.6 +
     2.7 +
     2.8 +Waiting=\u010Cek\u00E1 se na {0}
     2.9 +YourTurn=T\u00E1hni!
    2.10  gameWhiteBlack={0} proti {1}
    2.11  GAME_MOVE=Na tahu
    2.12  GAME_WAIT=\u010Cek\u00E1 se na tah
     3.1 --- a/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt	Fri Sep 18 07:16:47 2009 +0200
     3.2 +++ b/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt	Fri Sep 18 07:33:06 2009 +0200
     3.3 @@ -1,7 +1,13 @@
     3.4  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
     3.5  <html>
     3.6    <head>
     3.7 -    <title></title>
     3.8 +    <title>
     3.9 +      <#if user = doc.game.@currentPlayer>
    3.10 +         ${bundle.YourTurn}
    3.11 +      <#else>
    3.12 +         ${bundle("Waiting", doc.game.@currentPlayer?string)}
    3.13 +      </#if>
    3.14 +    </title>
    3.15      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    3.16      <#if user != doc.game.@currentPlayer >
    3.17          <meta http-equiv="REFRESH" content="60;URL=/games/${doc.game.id.@id}">