From a3ee3134b1c37c2589c81f0e94a30a884c843f37 Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Tue, 26 Jul 2016 11:56:15 +0100 Subject: [PATCH] Support for i18n. --- services/web/app/views/project/editor/pdf.jade | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/services/web/app/views/project/editor/pdf.jade b/services/web/app/views/project/editor/pdf.jade index 8033f4aa16..3fe04c41dc 100644 --- a/services/web/app/views/project/editor/pdf.jade +++ b/services/web/app/views/project/editor/pdf.jade @@ -149,35 +149,35 @@ div.full-size.pdf(ng-controller="PdfController") href ) #{translate("answer_no")} .card-hint-extra-feedback(ng-hide="!showNegFeedbackUI || feedbackSent") - p.card-hint-extra-feedback-label Can you help us understand why this hint wasn't helpful? + p.card-hint-extra-feedback-label #{translate("log_hint_ask_extra_feedback")} .radio: label input( type="radio" ng-model="negFeedbackReason" value="{{ logHintsNegFeedbackValues.DIDNT_UNDERSTAND }}" ) - | I didn’t understand the hint + | #{translate("log_hint_extra_feedback_didnt_understand")} .radio: label input( type="radio" ng-model="negFeedbackReason" value="{{ logHintsNegFeedbackValues.NOT_APPLICABLE }}" ) - | I can’t apply this solution to my document + | #{translate("log_hint_extra_feedback_not_applicable")} .radio: label input( type="radio" ng-model="negFeedbackReason" value="{{ logHintsNegFeedbackValues.INCORRECT }}" ) - | This doesn’t fix the error + | #{translate("log_hint_extra_feedback_incorrect")} .radio: label input( type="radio" ng-model="negFeedbackReason" value="{{ logHintsNegFeedbackValues.OTHER }}" ) - | Other: + | #{translate("log_hint_extra_feedback_other")} textarea.form-control( ng-show="negFeedbackReason === logHintsNegFeedbackValues.OTHER" ng-model="negFeedbackReasonFreeText" @@ -187,7 +187,7 @@ div.full-size.pdf(ng-controller="PdfController") button.btn.btn-default.btn-sm.pull-right( ng-disabled="!negFeedbackReason" ng-click="trackLogHintsNegFeedbackDetails(entry.ruleId, negFeedbackReason, negFeedbackReasonFreeText); feedbackSent = true;" - ) Submit + ) #{translate("log_hint_extra_feedback_submit")} .card-hint-feedback(ng-show="feedbackSent") label.card-hint-feedback-label #{translate("log_hint_feedback_gratitude")}