mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 05:53:39 -04:00
Fixed use of i18n in popover
This commit is contained in:
parent
09422910f7
commit
8a8d8c9d23
1 changed files with 7 additions and 7 deletions
|
@ -72,16 +72,16 @@ module.exports = class ClansView extends RootView
|
|||
@supermodel.addRequestResource('user_names', options, 0).load()
|
||||
|
||||
setupPrivateInfoPopover: ->
|
||||
popoverTitle = "<h3>" + data-i18n="teachers.sub_includes_7" + "</h3>"
|
||||
popoverTitle = "<h3>" + $.i18n.t('teachers.sub_includes_7') + "</h3>"
|
||||
popoverContent = "<ul>"
|
||||
popoverContent += "<li><span style='font-weight:bold;'>" + data-i18n="clans.track_concepts1" + "</span> " + data-i18n="clans.track_concepts2b"
|
||||
popoverContent += "<li>" + data-i18n="clans.track_concepts3b"
|
||||
popoverContent += "<li>" + data-i18n="clans.track_concepts4b" + " <span style='font-weight:bold;'>" + data-i18n="clans.track_concepts5" + "</span>"
|
||||
popoverContent += "<li>" + data-i18n="clans.track_concepts6b"
|
||||
popoverContent += "<li><span style='font-weight:bold;'>" + data-i18n="clans.track_concepts7" + "</span> " + data-i18n="clans.track_concepts8"
|
||||
popoverContent += "<li><span style='font-weight:bold;'>" + $.i18n.t('clans.track_concepts1') + "</span> " + $.i18n.t('clans.track_concepts2b')
|
||||
popoverContent += "<li>" + $.i18n.t('clans.track_concepts3b')
|
||||
popoverContent += "<li>" + $.i18n.t('clans.track_concepts4b') + " <span style='font-weight:bold;'>" + $.i18n.t('clans.track_concepts5') + "</span>"
|
||||
popoverContent += "<li>" + $.i18n.t('clans.track_concepts6b')
|
||||
popoverContent += "<li><span style='font-weight:bold;'>" + $.i18n.t('clans.track_concepts7') + "</span> " + $.i18n.t('clans.track_concepts8')
|
||||
popoverContent += "</ul>"
|
||||
popoverContent += "<p><img src='/images/pages/clans/dashboard_preview.png' height='400'></p>"
|
||||
popoverContent += "<p>" + data-i18n="clans.private_require_sub" + "</p>"
|
||||
popoverContent += "<p>" + $.i18n.t('clans.private_require_sub') + "</p>"
|
||||
@$el.find('.private-more-info').popover(
|
||||
animation: true
|
||||
html: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue