Explorar el Código

Support for i18n.

Paulo Reis hace 10 años
padre
commit
a3ee3134b1
Se han modificado 1 ficheros con 6 adiciones y 6 borrados
  1. 6 6
      services/web/app/views/project/editor/pdf.jade

+ 6 - 6
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")}