Sha256: dc33964c351d69a846d4764da650e9d07e8ed3e187f66bfb1d871d2f5b834409
Contents?: true
Size: 721 Bytes
Versions: 20
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 current_preferences["toolbox_name"] || "default" end # css name of Toolbox def toolbox_css_name current_preferences["toolbox_css_name"] || current_preferences["toolbox_name"] || "default" end end
Version data entries
20 entries across 20 versions & 1 rubygems