templates = app.templates arrow = """""" templates.sidebarDoc = (doc, options = {}) -> link = """""" if options.disabled link += """#{__ 'enable'}""" else link += arrow link += """#{doc.release}""" if doc.release link += """#{doc.name}""" link += " #{doc.version}" if options.fullName or options.disabled and doc.version link + "" templates.sidebarType = (type) -> """#{arrow}#{type.count}#{$.escape type.name}""" templates.sidebarEntry = (entry) -> """#{$.escape entry.name}""" templates.sidebarResult = (entry) -> addons = if entry.isIndex() and app.disabledDocs.contains(entry.doc) """#{__ 'enable'}""" else """""" addons += """#{entry.doc.short_version}""" if entry.doc.version and not entry.isIndex() """#{addons}#{$.escape entry.name}""" templates.sidebarNoResults = -> html = """
#{_ en: "No results.", ja: "ヒットしませんでした。"}
""" html += _( en: """
Note: documentations must be enabled to appear in the search.
""" ja: """
ノート: 検索で表示するには、ドキュメントを有効 にすることが必要です。
""" ) unless app.isSingleDoc() or app.disabledDocs.isEmpty() html templates.sidebarPageLink = (count) -> """#{_ en: "Show more", ja: "もっと見る"}\u2026 (#{count})""" templates.sidebarLabel = (doc, options = {}) -> label = """""" templates.sidebarVersionedDoc = (doc, versions, options = {}) -> html = """
#{arrow}#{doc.name}
#{versions}
""" templates.sidebarDisabled = (options) -> customize = _ en: "Customize", ja: "カスタマイズ" """
#{arrow}Disabled (#{options.count}) #{customize}
""" templates.sidebarDisabledList = (html) -> """
#{html}
""" templates.sidebarDisabledVersionedDoc = (doc, versions) -> """#{arrow}#{doc.name}
#{versions}
""" templates.docPickerHeader = -> """
#{__ 'documentation'} #{__ 'enable'}
""" templates.docPickerNote = en: """
Tip: for faster and better search results, select only the docs you need.
Vote for new documentation """ ja: """
Tip: 検索結果を速くよくするには、必要なドキュメントだけ選択してください。
新しいドキュメントを投票する """