freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/index.fmt
changeset 59 fd7e8e705b75
parent 58 e00be634746c
child 69 90de58894949
     1.1 --- a/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/index.fmt	Fri Sep 04 22:00:04 2009 +0200
     1.2 +++ b/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/index.fmt	Fri Sep 04 23:02:23 2009 +0200
     1.3 @@ -5,10 +5,10 @@
     1.4      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     1.5    </head>
     1.6    <body>
     1.7 -      <h1>Quoridor Community Server</h1>
     1.8 +      <h1>${bundle.TITLE}</h1>
     1.9  
    1.10        <#macro game game>
    1.11 -          ${game.@white} vs. ${game.@black} <a href="/games/${game.@id}/">board</a>
    1.12 +          ${game.@white}${bundle.VS}${game.@black} <a href="/games/${game.@id}/">board</a>
    1.13        </#macro>
    1.14  
    1.15        <#if message?? >
    1.16 @@ -17,7 +17,7 @@
    1.17          </p>
    1.18        </#if>
    1.19  
    1.20 -      <h5>Games where you are expected to move</h5>
    1.21 +      <h5>${bundle.GAME_MOVE}</h5>
    1.22  
    1.23        <ol>
    1.24        <#list doc.gameIds.* as g>
    1.25 @@ -29,7 +29,7 @@
    1.26        </#list>
    1.27        </ol>
    1.28  
    1.29 -      <h5>Won games</h5>
    1.30 +      <h5>${bundle.GAME_WON}</h5>
    1.31  
    1.32        <ol>
    1.33        <#list doc.gameIds.* as g>
    1.34 @@ -44,7 +44,7 @@
    1.35        </#list>
    1.36        </ol>
    1.37  
    1.38 -      <h5>Lost games</h5>
    1.39 +      <h5>${bundle.GAME_LOST}</h5>
    1.40  
    1.41        <ol>
    1.42        <#list doc.gameIds.* as g>
    1.43 @@ -60,12 +60,12 @@
    1.44        </ol>
    1.45  
    1.46        <form action="games/create">
    1.47 -            White: <input type="text" name="white" value="" />
    1.48 -            Black: <input type="text" name="black" value="" />
    1.49 +            ${bundle.WHITE}: <input type="text" name="white" value="" />
    1.50 +            ${bundle.BLACK}: <input type="text" name="black" value="" />
    1.51              <input type="submit" value="Create!" />
    1.52        </form>
    1.53  
    1.54 -      <h5>All Games</h5>
    1.55 +      <h5>${bundle.GAME_ALL}</h5>
    1.56  
    1.57        <ol>
    1.58        <#list doc.gameIds.* as g>