Translation fixes

This commit is contained in:
2013-03-04 09:36:17 +01:00
parent 798281bbe2
commit 730f910881
8 changed files with 26 additions and 3 deletions
@@ -44,7 +44,7 @@ function currency(num) {
return Qwaiter.currency(num);
}
$(function(){
$locale = Qstorage.getItem('locale') || 'en';
//$locale = Qstorage.getItem('locale') || 'en';
if(Qstorage.getItem('message')){
var container = $('.alert-success');
var msg_finder = Qstorage.getItem('message');
+1 -1
View File
@@ -22,7 +22,7 @@ module ApplicationHelper
super(*args)
end
def are_you_sure?(record)
def are_you_sure?(record = nil)
t('helpers.links.are_you_sure')
end
+1
View File
@@ -18,6 +18,7 @@ html lang="en"
link href="/favicon.ico" rel="shortcut icon"
javascript:
var $locale = '#{I18n.locale}';
var supplier_id = '#{current_supplier.id}';
var data_host = '';
var event_host = '#{event_host}';
@@ -10,6 +10,7 @@
= label_tag "product-checker-#{product.id}", product.display
br
.control-group
= label_tag nil, ProductCategory.human_attribute_name(:week_days), class: 'control-label'
.controls
#week_days-group.btn-group data-toggle="buttons-checkbox"
span#full_day-controller.icon.icon-time
@@ -5,7 +5,7 @@
ul#product-category-list data-update-url=sort_suppliers_product_categories_path
- for product_category in @product_categories
= content_tag_for :li, product_category do
span.handle [drag]
span.handle.icon-move.icon-white
span.name= link_to product_category.name, [:suppliers, product_category]
.pull-right.actions
= link_to t('helpers.links.edit'), [:edit, :suppliers, product_category], class: 'btn btn-mini'