Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Codecrew
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
30
Merge Requests
2
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2980d60c
authored
Sep 01, 2013
by
Antti Jaakkola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i18n
1 parent
6ef8b6d5
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
3 deletions
code/MoyaUtilities/src/fi/codecrew/moya/enums/TournamentStatus.java
code/MoyaWeb/WebContent/tournaments/admin/index.xhtml
code/MoyaWeb/src/fi/codecrew/moya/resources/i18n_en.properties
code/MoyaWeb/src/fi/codecrew/moya/resources/i18n_fi.properties
code/MoyaUtilities/src/fi/codecrew/moya/enums/TournamentStatus.java
View file @
2980d60
...
...
@@ -4,4 +4,16 @@ public enum TournamentStatus {
SETUP
,
IN_PROGRESS
,
COMPLETED
;
private
final
String
key
;
private
static
final
String
I18N_HEADER
=
"bortalApplication.tournamentstatus."
;
private
TournamentStatus
()
{
key
=
I18N_HEADER
+
name
();
}
public
String
getI18nKey
()
{
return
key
;
}
}
code/MoyaWeb/WebContent/tournaments/admin/index.xhtml
View file @
2980d60
...
...
@@ -24,13 +24,13 @@
<f:facet
name=
"header"
>
<h:outputText
value=
"#{i18n['tournament.status']}"
/>
</f:facet>
<h:outputText
value=
"#{
tournament.tournamentStatus
}"
/>
<h:outputText
value=
"#{
i18n[tournament.tournamentStatus.i18nKey]
}"
/>
</p:column>
<p:column>
<f:facet
name=
"header"
>
<h:outputText
value=
"#{i18n['tournament.type']}"
/>
</f:facet>
<h:outputText
value=
"#{
tournament.tournamentType
}"
/>
<h:outputText
value=
"#{
i18n[tournament.tournamentType.i18nKey]
}"
/>
</p:column>
<p:column>
<f:facet
name=
"header"
>
...
...
code/MoyaWeb/src/fi/codecrew/moya/resources/i18n_en.properties
View file @
2980d60
...
...
@@ -159,6 +159,9 @@ bortalApplication.shop.SHOP_TO_OTHERS = Shop to other users
bortalApplication.terminal.CASHIER
=
Access cashier terminal functions
bortalApplication.terminal.CUSTOMER
=
Access client terminal functions
bortalApplication.terminal.SELFHELP
=
Self help terminal
bortalApplication.tournamentstatus.COMPLETED
=
Completed
bortalApplication.tournamentstatus.IN_PROGRESS
=
In progress
bortalApplication.tournamentstatus.SETUP
=
Setup
bortalApplication.user
=
User permissions
bortalApplication.user.ANYUSER
=
All users have this anyways
bortalApplication.user.CREATE_NEW
=
Create new user
...
...
@@ -987,6 +990,7 @@ topnavi.usershop = Shop
tournament.admin.create
=
Create new tournament
tournament.create
=
Create tournament
tournament.edit
=
Edit tournament
tournament.fillamount
=
Places taken
tournament.game
=
Game
tournament.name
=
Tournament name
tournament.playerspermatch_slash_teamsize
=
Players / team size
...
...
code/MoyaWeb/src/fi/codecrew/moya/resources/i18n_fi.properties
View file @
2980d60
...
...
@@ -160,10 +160,13 @@ bortalApplication.shop.SHOP_TO_OTHERS = Saa ostaa tuotteita muille
bortalApplication.terminal.CASHIER
=
Muokata rahastusp
\u
00E4
\u
00E4tteiden toimintoja
bortalApplication.terminal.CUSTOMER
=
Muokata k
\u
00E4vij
\u
00E4p
\u
00E4
\u
00E4tteiden toimintoja
bortalApplication.terminal.SELFHELP
=
Itsepalvelup
\u
00E4
\u
00E4te
bortalApplication.tournamentstatus.COMPLETED
=
P
\u
00E4
\u
00E4ttynyt
bortalApplication.tournamentstatus.IN_PROGRESS
=
K
\u
00E4ynniss
\u
00E4
bortalApplication.tournamentstatus.SETUP
=
Valmistelussa
bortalApplication.user
=
K
\u
00E4ytt
\u
00E4j
\u
00E4oikeudet
bortalApplication.user.ANYUSER
=
AINA kaikilla k
\u
00E4ytt
\u
00E4jill
\u
00E4
bortalApplication.user.CREATE_NEW
=
Voi luoda uuden k
\u
00E4ytt
\u
00E4j
\u
00E4n
bortalApplication.user.INVITE_USERS
=
Voi kutsua
k
\u
00E4ytt
\u
00E4j
\u
00E4ksi
bortalApplication.user.INVITE_USERS
=
Voi kutsua
yst
\u
00E4vi
\u
00E4
bortalApplication.user.LOGGED_IN_USER
=
Kirjautunut k
\u
00E4ytt
\u
00E4j
\u
00E4
bortalApplication.user.LOGIN
=
Voi kirjautua
bortalApplication.user.LOGOUT
=
Voi uloskirjautua
...
...
@@ -970,6 +973,7 @@ topnavi.usershop = Kauppa
tournament.admin.create
=
Luo uusi turnaus
tournament.create
=
Luo turnaus
tournament.edit
=
Muokkaa turnausta
tournament.fillamount
=
Osallistujaa ilmottautunut
tournament.game
=
Peli
tournament.name
=
Turnauksen nimi
tournament.playerspermatch_slash_teamsize
=
Pelaajat / tiimin koko
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment