Sha256: 34ee2ac79752103c2682ac930f7d81506b593d947cf574d592026b18afde519c
Contents?: true
Size: 721 Bytes
Versions: 8
Compression:
Stored size: 721 Bytes
Contents
# -*- coding: utf-8 -*- module ApplicationHelper def modal_css_class "modal hide#{raspberrypi? ? '' : ' fade'}" end # default locale name for Blockly messages def blockly_message_default_locale_name 'en_us' end # Blocklyのメッセージのlocaleの名前を返す # # Blocklyではenがen_usであるため def blockly_message_locale_name if I18n.locale.to_s == 'en' 'en_us' else I18n.locale end end # name of Toolbox def toolbox_name SmalrubyEditor::Config.toolbox_name || 'default' end # css name of Toolbox def toolbox_css_name SmalrubyEditor::Config.toolbox_css_name || SmalrubyEditor::Config.toolbox_name || 'default' end end
Version data entries
8 entries across 8 versions & 1 rubygems