mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-17 19:12:33 -05:00
Have campaign-view translate campaign name normally
This commit is contained in:
parent
a168ee905c
commit
be11c47e17
1 changed files with 1 additions and 4 deletions
|
@ -200,10 +200,7 @@ if view.showAds()
|
||||||
h1#campaign-status.picoctf-hide
|
h1#campaign-status.picoctf-hide
|
||||||
.campaign-status-background
|
.campaign-status-background
|
||||||
.campaign-name
|
.campaign-name
|
||||||
- var fullName = i18n(campaign.attributes, 'fullName')
|
span= i18n(campaign.attributes, 'fullName')
|
||||||
if (me.get('preferredLanguage', true) || 'en-US').split('-')[0] == 'en' || fullName != campaign.get('fullName')
|
|
||||||
// We have a translation.
|
|
||||||
span= fullName
|
|
||||||
.levels-completed
|
.levels-completed
|
||||||
span= levelsCompleted
|
span= levelsCompleted
|
||||||
| /
|
| /
|
||||||
|
|
Loading…
Reference in a new issue