mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-16 00:19:50 -05:00
Show cool victory text image for players with language defaulted to English.
This commit is contained in:
parent
0b36e15c50
commit
b65bc2dd39
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ extends /templates/core/modal-base
|
|||
block modal-header-content
|
||||
#victory-header.out
|
||||
#victory-title
|
||||
if me.get('preferredLanguage') && me.get('preferredLanguage').split('-')[0] == 'en'
|
||||
if !me.get('preferredLanguage') || me.get('preferredLanguage').split('-')[0] == 'en'
|
||||
img(src="/images/pages/play/level/modal/victory_word.png", draggable="false")
|
||||
else
|
||||
h1(data-i18n="play_level.victory") Victory
|
||||
|
|
|
@ -955,7 +955,7 @@ forest = [
|
|||
type: 'hero'
|
||||
id: 'the-mighty-sand-yak'
|
||||
original: '5480b9d01bf0b10000711c5f'
|
||||
description: 'In addition to sand, there are also yaks. Sandy yaks. Yak attack, back to back, man that\'s whack.'
|
||||
description: 'Test your nerves by dodging huge sand yaks on the open dunes!'
|
||||
nextLevels:
|
||||
continue: 'oasis'
|
||||
disabled: not me.isAdmin()
|
||||
|
|
Loading…
Reference in a new issue