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
app
|
@ -2,7 +2,7 @@ extends /templates/core/modal-base
|
||||||
block modal-header-content
|
block modal-header-content
|
||||||
#victory-header.out
|
#victory-header.out
|
||||||
#victory-title
|
#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")
|
img(src="/images/pages/play/level/modal/victory_word.png", draggable="false")
|
||||||
else
|
else
|
||||||
h1(data-i18n="play_level.victory") Victory
|
h1(data-i18n="play_level.victory") Victory
|
||||||
|
|
|
@ -955,7 +955,7 @@ forest = [
|
||||||
type: 'hero'
|
type: 'hero'
|
||||||
id: 'the-mighty-sand-yak'
|
id: 'the-mighty-sand-yak'
|
||||||
original: '5480b9d01bf0b10000711c5f'
|
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:
|
nextLevels:
|
||||||
continue: 'oasis'
|
continue: 'oasis'
|
||||||
disabled: not me.isAdmin()
|
disabled: not me.isAdmin()
|
||||||
|
|
Reference in a new issue