Last active
August 29, 2015 14:21
-
-
Save gabro/aa395aa1d919286cd45b to your computer and use it in GitHub Desktop.
rapture-i18n + ICU
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object Messages { | |
type IString = I18nString[En with It] | |
val cart: IString = en"Shopping cart" | it"Carrello" | |
val login: IString = en"Login" | it"Accedi" | |
val betReplayedBy: IString = | |
en""" | |
Ticket replayed by {n, plural, | |
=0 {no other players} | |
one {1 other player} | |
others {{n} other player}} | |
""" | | |
it""" | |
Schedina rigiocata da {n, plural, | |
=0 {nessun altro giocatore} | |
one {un altro giocatore} | |
others {{n} altri giocatori}} | |
""" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment