Updated i18n

This commit is contained in:
Imperadeiro98 2015-05-16 14:45:51 +01:00
parent 74380cc94a
commit a2b846e3fd

View file

@ -3,33 +3,33 @@ extends /templates/base
block content
p
input.create-clan-name(type='text' placeholder='New clan name')
input.create-clan-name(type='text', data-i18n="[placeholder]clans.new_name", placeholder='New clan name')
p
textarea.create-clan-description(rows=2, placeholder='New clan description')
textarea.create-clan-description(rows=2, data-i18n="[placeholder]clans.new_description", placeholder='New clan description')
p
input(type='checkbox').private-clan-checkbox
span.spl Make clan private
span.spl(data-i18n="clans.make_private") Make clan private
span.spl (
a.private-more-info subscribers only
a.private-more-info(data-i18n="clans.subs_only") subscribers only
span )
p
button.btn.btn-success.create-clan-btn Create New Clan
button.btn.btn-success.create-clan-btn(data-i18n="clans.create_clan") Create New Clan
div(role='tabpanel')
ul.nav.nav-tabs(role='tablist')
li.active(role='presentation')
a(href='#public-clans' aria-controls='public-clans', role='tab', data-toggle='tab') Public Clans
a(href='#public-clans', aria-controls='public-clans', role='tab', data-toggle='tab', data-i18n="clans.public_clans") Public Clans
li(role='presentation')
a(href='#my-clans' aria-controls='my-clans', role='tab', data-toggle='tab') My Clans
a(href='#my-clans', aria-controls='my-clans', role='tab', data-toggle='tab', data-i18n="clans.my_clans") My Clans
.tab-content
.tab-pane.active#public-clans(role='tabpanel')
table.table.table-striped.table-condensed
thead
tr
th Clan Name
th Heroes
th Chieftain
th(data-i18n="clans.clan_name") Clan Name
th(data-i18n="play.heroes") Heroes
th(data-i18n="clans.chieftain") Chieftain
th
tbody
if publicClans.length
@ -48,18 +48,18 @@ block content
a(href="/user/#{clan.get('ownerID')}") Anoner
td
if myClanIDs.indexOf(clan.id) < 0
button.btn.btn-success.join-clan-btn(data-id="#{clan.id}") Join Clan
button.btn.btn-success.join-clan-btn(data-id="#{clan.id}", data-i18n="clans.join_clan") Join Clan
else if clan.get('ownerID') !== me.id
button.btn.btn-xs.btn-warning.leave-clan-btn(data-id="#{clan.id}") Leave Clan
button.btn.btn-xs.btn-warning.leave-clan-btn(data-id="#{clan.id}", data-i18n="clans.leave_clan") Leave Clan
.tab-pane#my-clans(role='tabpanel')
table.table.table-striped.table-condensed
thead
tr
th Clan Name
th Heroes
th Chieftain
th Type
th(data-i18n="clans.clan_name") Clan Name
th(data-i18n="play.heroes") Heroes
th(data-i18n="clans.chieftain") Chieftain
th(data-i18n="clans.type") Type
th
tbody
if myClans.length
@ -79,4 +79,4 @@ block content
td= clan.get('type')
td
if clan.get('ownerID') !== me.id
button.btn.btn-xs.btn-warning.leave-clan-btn(data-id="#{clan.id}") Leave Clan
button.btn.btn-xs.btn-warning.leave-clan-btn(data-id="#{clan.id}", data-i18n="clans.leave_clan") Leave Clan