From 3aee7cb6eaeee1cd1fd7c96ad3b97d8c118998c9 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 16 Jun 2015 07:34:27 +1000 Subject: [PATCH] fix locales --- .../discourse/initializers/extend-for-solved-button.js.es6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/javascripts/discourse/initializers/extend-for-solved-button.js.es6 b/assets/javascripts/discourse/initializers/extend-for-solved-button.js.es6 index 93b2c63..ae4d4a7 100644 --- a/assets/javascripts/discourse/initializers/extend-for-solved-button.js.es6 +++ b/assets/javascripts/discourse/initializers/extend-for-solved-button.js.es6 @@ -73,10 +73,10 @@ export default { position = visibleButtons.length - 2; } if (canAccept) { - visibleButtons.splice(position,0,new Button('acceptAnswer', 'accepted_answer.accept_answer', 'check-square-o', {className: 'unaccepted'})); + visibleButtons.splice(position,0,new Button('acceptAnswer', 'solved.accept_answer', 'check-square-o', {className: 'unaccepted'})); } if (canUnaccept || accepted) { - var locale = canUnaccept ? 'accepted_answer.unaccept_answer' : 'accepted_answer.accepted_answer'; + var locale = canUnaccept ? 'solved.unaccept_answer' : 'solved.accepted_answer'; visibleButtons.splice(position,0,new Button( 'unacceptAnswer', locale,