Show cool victory text image for players with language defaulted to English.

This commit is contained in:
Nick Winter 2014-12-09 19:23:11 -08:00
parent 0b36e15c50
commit b65bc2dd39
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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()