Yes and No translated into true and false??? this fixes it

This commit is contained in:
Yuki 2015-06-09 00:31:37 +05:30
parent d28f64adf1
commit 3afaf3222d
3 changed files with 6 additions and 7 deletions

View file

@ -8,8 +8,8 @@ $(document).on "click", "a[data-action=ab-destroy]", (ev) ->
type: "warning"
showCancelButton: true
confirmButtonColor: "#DD6B55"
confirmButtonText: translate('views.actions.yes')
cancelButtonText: translate('views.actions.no')
confirmButtonText: translate('views.actions.y')
cancelButtonText: translate('views.actions.n')
closeOnConfirm: true
, ->
$.ajax

View file

@ -8,8 +8,8 @@ $(document).on "click", "a[data-action=ab-question-destroy]", (ev) ->
type: "warning"
showCancelButton: true
confirmButtonColor: "#DD6B55"
confirmButtonText: translate('views.actions.yes')
cancelButtonText: translate('views.actions.no')
confirmButtonText: translate('views.actions.y')
cancelButtonText: translate('views.actions.n')
closeOnConfirm: true
, ->
$.ajax

View file

@ -66,7 +66,6 @@ en:
title: "Really report this %{type}?"
text: "A moderator will review your report and decide what happens.\nIf you'd like, you can also specify a reason."
input: "Specify a reason..."
flash:
ban:
error: "I'm sorry, %{name}, I'm afraid I can't do that."
@ -282,8 +281,8 @@ en:
cancel: "Cancel"
close: "Close"
done: "Done"
yes: "Yes"
no: "No"
y: "Yes"
n: "No"
sessions:
destroy: "Logout"
create: "Sign in"