Skip to content

Commit

Permalink
removed unnecessary translations
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketBabe committed Jan 13, 2015
1 parent e9df858 commit ace987f
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 52 deletions.
2 changes: 1 addition & 1 deletion app/views/base/captcha.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
@trans.clickOnTheBoardToMakeYourMove()
<br /><br />
@defining(netBaseUrl + routes.Round.watcher(captcha.gameId, captcha.white.fold("white", "black"))) { url =>
@trans.help(): <a class="hint--bottom" data-hint="View the solution" target="_blank" href="@url">@url</a>
@trans.help() <a class="hint--bottom" data-hint="View the solution" target="_blank" href="@url">@url</a>
}
<div class="result success" data-icon="E"> @trans.checkmate()</div>
<div class="result failure" data-icon="k"> @trans.notACheckmate()</div>
Expand Down
14 changes: 7 additions & 7 deletions app/views/base/layout.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
<span data-icon="u">&nbsp;@langName(lang)</span>
</a>
<form action="@routes.I18n.select" method="POST" class="language_links dropdown" data-url="@staticUrl("trans/refs.json")?v=@assetVersion">
<li><a href="@routes.I18n.contribute">@trans.helpTranslateLichess()</a></li>
<li><a href="@routes.I18n.contribute">Help translate Lichess!</a></li>
</form>
</div>
@ctx.me.map { me =>
Expand Down Expand Up @@ -195,11 +195,11 @@ <h1>
<div id="footer_wrap">
<div class="footer">
<div class="right">
<a href="http://github.com/ornicar/lila" target="_blank">@trans.sourceCode()</a> |
<a href="@routes.Main.developers">@trans.developers()</a><br />
<a href="@routes.Page.contact">@trans.contact()</a> |
<a href="@routes.Page.thanks">@trans.thanks()</a> |
<a href="@routes.Page.tos">@trans.termsOfService()</a>
<a href="http://github.com/ornicar/lila" target="_blank">Source Code</a> |
<a href="@routes.Main.developers">Developers</a><br />
<a href="@routes.Page.contact">Contact</a> |
<a href="@routes.Page.thanks">Thanks</a> |
<a href="@routes.Page.tos">ToS</a>
</div>
<div class="center">
<a href="@routes.Donation.index" class="button">@trans.donate()</a>
Expand All @@ -209,7 +209,7 @@ <h1>
<a href="@routes.Wiki.home" title="@trans.learnMoreAboutLichess()">Wiki</a><br />
<a href="@routes.WorldMap.index" title="@trans.realTimeWorldMapOfChessMoves()">@trans.map()</a> |
<a href="@routes.Monitor.index">Monitor</a> |
<a href="@routes.Page.helpLichess">@trans.contribute() lichess.org</a>
<a href="@routes.Page.helpLichess">Help lichess.org</a>
</div>
</div>
}
Expand Down
2 changes: 1 addition & 1 deletion app/views/forum/categ/show.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<td class="right">@topic.nbReplies.localize</td>
<td class="last_post">
@topic.lastPost.map { post =>
<a href="@routes.ForumTopic.show(categ.slug, topic.slug, topic.lastPage)#@post.number">@momentFromNow(post.createdAt)</a><br />@trans.by() @Html(authorName(post))
<a href="@routes.ForumTopic.show(categ.slug, topic.slug, topic.lastPage)#@post.number">@momentFromNow(post.createdAt)</a><br />@trans.by(Html(authorName(post)))
}
</td>
</tr>
Expand Down
4 changes: 2 additions & 2 deletions app/views/forum/topic/show.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<span class="mod postip">@post.ip</span>
}
@if(isGrantedMod(categ.slug)) {
<a class="mod thin delete button" href="@routes.ForumPost.delete(categ.slug, post.id)" data-icon="q"> @trans.delete()</a>
<a class="mod thin delete button" href="@routes.ForumPost.delete(categ.slug, post.id)" data-icon="q"> Delete</a>
}
</div>
<p class="message">@autoLink(post.text)</p>
Expand All @@ -47,7 +47,7 @@
}
@if(isGrantedMod(categ.slug)) {
<form class="mod" method="post" action="@routes.ForumTopic.close(categ.slug, topic.slug)">
<button class="button">@topic.closed.fold(trans.reopenTheTopic(), trans.closeTheTopic())</button>
<button class="button">@topic.closed.fold("Reopen the topic", "Close the topic")</button>
</form>
}

Expand Down
2 changes: 1 addition & 1 deletion app/views/i18n/contribute.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

@i18n.layout(
title = "Contribute to translations") {
<h1 class="lichess_title">@trans.helpTranslateLichess()</h1>
<h1 class="lichess_title">Help translate Lichess!</h1>
Lichess is OpenSource and needs contributors to get better.
<br />
@if(ctx.req.flash.get("success").isDefined) {
Expand Down
4 changes: 2 additions & 2 deletions app/views/team/edit.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ <h1>@title</h1>
@base.select(form("open"), Seq(0 -> trans.aConfirmationIsRequiredToJoin.str(), 1 -> trans.anyoneCanJoin.str()))
</label>
<label>
<span>@trans.ircChannel()</span>
@base.select(form("irc"), Seq(0 -> trans.no.str(), 1 -> trans.yes.str()))
<span>IRC channel</span>
@base.select(form("irc"), Seq(0 -> "No", 1 -> "Yes"))
</label>
<label>
<span>@trans.location()</span>
Expand Down
4 changes: 2 additions & 2 deletions app/views/team/form.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ <h1>@trans.newTeam()</h1>
@base.select(form("open"), Seq(0 -> trans.aConfirmationIsRequiredToJoin.str(), 1 -> trans.anyoneCanJoin.str()))
</label>
<label>
<span>@trans.ircChannel()</span>
@base.select(form("irc"), Seq(0 -> trans.no.str(), 1 -> trans.yes.str()))
<span>IRC channel</span>
@base.select(form("irc"), Seq(0 -> "No", 1 -> "Yes"))
</label>
<label>
<span>@trans.location()</span>
Expand Down
15 changes: 3 additions & 12 deletions conf/messages
Original file line number Diff line number Diff line change
Expand Up @@ -321,20 +321,18 @@ coordinates=Coordinates
openings=Openings
latestUpdates=Latest updates
tournamentWinners=Tournament winners
name=-Name
name=Name
description=Description
ircChannel=IRC channel
no=No
yes=Yes
help=Help
help=Help:
createANewTopic=Create a new topic
topics=Topics
posts=Posts
lastPost=Last post
views=Views
replies=Replies
replyToThisTopic=Reply to this topic
delete=Delete
reply=Reply
message=Message
createTheTopic=Create the topic
Expand All @@ -349,21 +347,14 @@ insult=Insult
troll=Troll
other=Other
reportDescriptionHelp=Paste the link to the game(s) and explain what is wrong about this user behavior.
by=by
by=by %s
thisTopicIsNowClosed=This topic is now closed.
theming=Theming
helpTranslateLichess=Help translate Lichess!
sourceCode=Source Code
developers=Developers
contact=Contact
thanks=Thanks
termsOfService=ToS
donate=Donate
blog=Blog
map=Map
realTimeWorldMapOfChessMoves=Real time world map of chess moves
questionsAndAnswers=Questions & Answers
contribute=Help
notes=Notes
typePrivateNotesHere=Type private notes here
gameDisplay=Game display
Expand Down
15 changes: 3 additions & 12 deletions conf/messages.sv
Original file line number Diff line number Diff line change
Expand Up @@ -323,18 +323,16 @@ latestUpdates=Senaste uppdateringarna
tournamentWinners=Turneringsvinnare
name=Namn
description=Beskrivning
ircChannel=IRC-kanal
no=Nej
yes=Ja
help=Hjälp
help=Hjälp:
createANewTopic=Skapa ett nytt ämne
topics=Ämnen
posts=Inlägg
lastPost=Senaste inlägget
views=Visningar
replies=Svar
replyToThisTopic=Svara på ämnet
delete=Radera
reply=Svara
message=Meddelande
createTheTopic=Skapa ämnet
Expand All @@ -347,23 +345,16 @@ whatIsIheMatter=Vad är problemet?
cheat=Fusk
insult=Förolämpning
troll=Troll
other=Överigt
other=Övrigt
reportDescriptionHelp=Klistra in länken till spelet och förklara vad som är fel med den här användarens beteende.
by=av
by=av %s
thisTopicIsNowClosed=Det här ämnet är nu stängt.
theming=Teman
helpTranslateLichess=Hjälp till att översätta Lichess!
sourceCode=Källkod
developers=Utvecklare
contact=Kontakt
thanks=Tack
termsOfService=Användarvillkor
donate=Donera
blog=Blogg
map=Karta
realTimeWorldMapOfChessMoves=Världskarta över schackdrag i realtid
questionsAndAnswers=Frågor & Svar
contribute=Hjälp
notes=Anteckningar
typePrivateNotesHere=Skriv privata anteckningar här
gameDisplay=Spelutseende
Expand Down
Loading

0 comments on commit ace987f

Please sign in to comment.