From 8393058ac15d72be702a6de481d6129aed4bbef3 Mon Sep 17 00:00:00 2001 From: elijah Date: Wed, 19 Jun 2013 00:33:19 -0700 Subject: new ui for tickets --- core/config/initializers/simple_form_bootstrap.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'core/config') diff --git a/core/config/initializers/simple_form_bootstrap.rb b/core/config/initializers/simple_form_bootstrap.rb index 1a22967..c949f5e 100644 --- a/core/config/initializers/simple_form_bootstrap.rb +++ b/core/config/initializers/simple_form_bootstrap.rb @@ -37,6 +37,18 @@ SimpleForm.setup do |config| end end + # + # when you don't want any bootstrap "control-group" or "controls" wrappers. + # + config.wrappers :none, :tag => 'div', :error_class => 'error' do |b| + b.use :html5 + b.use :placeholder + b.use :label + b.use :input + b.use :error, :wrap_with => { :tag => 'span', :class => 'help-inline' } + b.use :hint, :wrap_with => { :tag => 'p', :class => 'help-block' } + end + # Wrappers for forms and inputs using the Twitter Bootstrap toolkit. # Check the Bootstrap docs (http://twitter.github.com/bootstrap) # to learn about the different styles for forms and inputs, -- cgit v1.2.3 From 7d2163263c8e5af7f4d7a2d40cd55eefac188e58 Mon Sep 17 00:00:00 2001 From: elijah Date: Sun, 23 Jun 2013 22:21:55 -0700 Subject: moved app locales to core gem. --- core/config/locales/en.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 core/config/locales/en.yml (limited to 'core/config') diff --git a/core/config/locales/en.yml b/core/config/locales/en.yml new file mode 100644 index 0000000..24a2a13 --- /dev/null +++ b/core/config/locales/en.yml @@ -0,0 +1,25 @@ +en: + no_such_thing: "No such %{thing}." + thing_was_successfully_created: "%{thing} was successfully created." + + overview: "Overview" + user_control_panel: "user control panel" + + created: "Created" + created_by_on: "Created by %{user} on %{time}" + updated: "Updated" + + none: "None" + unknown: "Unknown" + admin: "Admin" + anonymous: "Anonymous" + save: "Save" + changes_saved: "Changes saved successfully." + + download_client: "Download LEAP" + download_client_info: "The LEAP application allows you to use %{provider} services. It is available for Linux, Mac, Windows, and Android." + login_info: "Log in to change your account settings, create support tickets, and manage payments." + signup_info: "Sign up for a new user account via this website (it is better if you use the LEAP application to sign up, but this website works too)." + welcome: "Welcome to %{provider}." + get_help: "Get Help" + help_info: "Can't login? Create a new support ticket anonymously." \ No newline at end of file -- cgit v1.2.3 From 179a6457d4e56052664a6895bb9ab5b721b57352 Mon Sep 17 00:00:00 2001 From: elijah Date: Tue, 2 Jul 2013 23:19:56 -0700 Subject: added strings to core en.yml --- core/config/locales/en.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'core/config') diff --git a/core/config/locales/en.yml b/core/config/locales/en.yml index 24a2a13..38724ca 100644 --- a/core/config/locales/en.yml +++ b/core/config/locales/en.yml @@ -14,12 +14,16 @@ en: admin: "Admin" anonymous: "Anonymous" save: "Save" + add: "Add" + remove: "Remove" changes_saved: "Changes saved successfully." + are_you_sure: "Are you sure? This change cannot be undone." - download_client: "Download LEAP" - download_client_info: "The LEAP application allows you to use %{provider} services. It is available for Linux, Mac, Windows, and Android." + download_client: "Download Bitmask" + download_client_info: "The Bitmask application allows you to use %{provider} services. It is available for Linux, Mac, Windows, and Android." login_info: "Log in to change your account settings, create support tickets, and manage payments." - signup_info: "Sign up for a new user account via this website (it is better if you use the LEAP application to sign up, but this website works too)." + signup_info: "Sign up for a new user account via this website (it is better if you use the Bitmask application to sign up, but this website works too)." welcome: "Welcome to %{provider}." get_help: "Get Help" - help_info: "Can't login? Create a new support ticket anonymously." \ No newline at end of file + help_info: "Can't login? Create a new support ticket anonymously." + example_email: 'user@domain.org' -- cgit v1.2.3 From 7dd56114d8bf6749f140835358de4f8ebeaf81ba Mon Sep 17 00:00:00 2001 From: elijah Date: Sat, 6 Jul 2013 17:18:20 -0700 Subject: minor - i18n text edit --- core/config/locales/en.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'core/config') diff --git a/core/config/locales/en.yml b/core/config/locales/en.yml index 38724ca..25b377a 100644 --- a/core/config/locales/en.yml +++ b/core/config/locales/en.yml @@ -1,6 +1,7 @@ en: no_such_thing: "No such %{thing}." thing_was_successfully_created: "%{thing} was successfully created." + create_thing: "Create %{thing}" overview: "Overview" user_control_panel: "user control panel" -- cgit v1.2.3