From b600b9e1fcdaaabcae35a1a76d073af356f29b8f Mon Sep 17 00:00:00 2001 From: Bohung Date: Wed, 13 Oct 2021 17:23:06 +0800 Subject: [PATCH] Change go back button. --- app/views/surveys/answer_success.html.erb | 2 +- config/locales/en.yml | 1 + config/locales/zh_tw.yml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/surveys/answer_success.html.erb b/app/views/surveys/answer_success.html.erb index 26bb245..a0a028b 100644 --- a/app/views/surveys/answer_success.html.erb +++ b/app/views/surveys/answer_success.html.erb @@ -48,4 +48,4 @@

<%= t('survey.answer_success')%>

<% end %> -Go Back \ No newline at end of file +"><%=t("survey.go_back")%> \ No newline at end of file diff --git a/config/locales/en.yml b/config/locales/en.yml index 775933f..1ff7bb6 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -5,6 +5,7 @@ en: type: '0': "Total" '1': "Average" + go_back: Go Back weight: Weight taken_survey: "Taken Survey" please_login_first: "Please login first!" diff --git a/config/locales/zh_tw.yml b/config/locales/zh_tw.yml index ddc9cab..d6fa5a6 100644 --- a/config/locales/zh_tw.yml +++ b/config/locales/zh_tw.yml @@ -7,6 +7,7 @@ zh_tw: type: '0': "總分" '1': "平均" + go_back: 回上一頁 weight: 權重 taken_survey: "填寫問卷" please_login_first: "請先登入網站!"