Update missing translation in Survey Module
This commit is contained in:
parent
bc7ad1356a
commit
607f414b41
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
<!-- Tiltle -->
|
<!-- Tiltle -->
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label muted" for="">Title</label>
|
<label class="control-label muted" for=""><%= t('survey.title') %></label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<div class="input-append">
|
<div class="input-append">
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
</div>
|
</div>
|
||||||
<!-- Description -->
|
<!-- Description -->
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label muted">Description</label>
|
<label class="control-label muted"><%= t('survey.description') %></label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<div class="tab-content textarea-lang">
|
<div class="tab-content textarea-lang">
|
||||||
<div class="btn-group" data-toggle="buttons-radio">
|
<div class="btn-group" data-toggle="buttons-radio">
|
||||||
|
@ -65,14 +65,14 @@
|
||||||
</div>
|
</div>
|
||||||
<!-- start date -->
|
<!-- start date -->
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label muted" for="account">Start Date</label>
|
<label class="control-label muted" for="account"><%= t('survey.postdate') %></label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<%= f.datetime_picker :postdate, :no_label => true %>
|
<%= f.datetime_picker :postdate, :no_label => true %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- end date -->
|
<!-- end date -->
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label muted" for="account">End Date</label>
|
<label class="control-label muted" for="account"><%= t('survey.deadline') %></label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<%= f.datetime_picker :deadline, :no_label => true %>
|
<%= f.datetime_picker :deadline, :no_label => true %>
|
||||||
</div>
|
</div>
|
||||||
|
@ -80,20 +80,20 @@
|
||||||
|
|
||||||
<!-- redirect mode -->
|
<!-- redirect mode -->
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label muted" for="redirectMode">Redirect Mode</label>
|
<label class="control-label muted" for="redirectMode"><%= t('survey.redirect_mode') %></label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<label class="checkbox">
|
<label class="checkbox">
|
||||||
<!-- <input name="survey[redirect_mode]" type="hidden" value="0" />
|
<!-- <input name="survey[redirect_mode]" type="hidden" value="0" />
|
||||||
<input id="survey_redirect_mode" name="survey[redirect_mode]" type="checkbox" value="1" /> -->
|
<input id="survey_redirect_mode" name="survey[redirect_mode]" type="checkbox" value="1" /> -->
|
||||||
<%= f.check_box :redirect_mode %>
|
<%= f.check_box :redirect_mode %>
|
||||||
The surveys is an external link
|
<%= t('survey.is_external') %>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- redirect url -->
|
<!-- redirect url -->
|
||||||
|
|
||||||
<div class="control-group redirect-url hide">
|
<div class="control-group redirect-url hide">
|
||||||
<label class="control-label muted" for="survey_redirect_url">Redirect URL</label>
|
<label class="control-label muted" for="survey_redirect_url"><%= t('survey.extern_link') %></label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<%= f.text_field :redirect_url, :class=>"input-xlarge", :placeholder=>"Redirect URL" %>
|
<%= f.text_field :redirect_url, :class=>"input-xlarge", :placeholder=>"Redirect URL" %>
|
||||||
</div>
|
</div>
|
||||||
|
@ -108,7 +108,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-actions">
|
<div class="form-actions">
|
||||||
<button type="button" class="btn btn-success add-question">Add Question</button>
|
<button type="button" class="btn btn-success add-question"><%= t('survey.add') %></button>
|
||||||
<%= f.submit t('save'), :class=>'btn btn-primary' %>
|
<%= f.submit t('save'), :class=>'btn btn-primary' %>
|
||||||
<%= link_to t('cancel'), get_go_back, :class=>"btn" %>
|
<%= link_to t('cancel'), get_go_back, :class=>"btn" %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<script id="template-survery" type="text/x-tmpl">
|
<script id="template-survery" type="text/x-tmpl">
|
||||||
<div class="attributes" data-index="${_l}" data-question="${_ques}">
|
<div class="attributes" data-index="${_l}" data-question="${_ques}">
|
||||||
<div class="attributes-header clearfix">
|
<div class="attributes-header clearfix">
|
||||||
<a class="btn btn-mini pull-right btn-danger delete" href="#"><i class="icon-trash"></i> Delete</a>
|
<a class="btn btn-mini pull-right btn-danger delete" href="#"><i class="icon-trash"></i> <%= t('survey_question.delete') %></a>
|
||||||
<input class="should_destroy" id="${_destroy[0]}" name="${_destroy[1]}" type="hidden">
|
<input class="should_destroy" id="${_destroy[0]}" name="${_destroy[1]}" type="hidden">
|
||||||
<input id="${_sequence[0]}" class="sequence" name="${_sequence[1]}" type="hidden" value="${_sequence[2]}">
|
<input id="${_sequence[0]}" class="sequence" name="${_sequence[1]}" type="hidden" value="${_sequence[2]}">
|
||||||
{{if _id}}
|
{{if _id}}
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="attributes-body">
|
<div class="attributes-body">
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label muted" for="">Question Title</label>
|
<label class="control-label muted" for=""><%= t('survey_question.title') %></label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<div class="input-append">
|
<div class="input-append">
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label muted">Description </label>
|
<label class="control-label muted"><%= t('survey_question.description') %></label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<div class="tab-content textarea-lang">
|
<div class="tab-content textarea-lang">
|
||||||
<div class="btn-group" data-toggle="buttons-radio">
|
<div class="btn-group" data-toggle="buttons-radio">
|
||||||
|
@ -47,15 +47,15 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label muted" for="">Type </label>
|
<label class="control-label muted" for=""><%= t('survey_question.type') %> </label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<select class="type-selector" id="${_type[0]}" name="${_type[1]}" >
|
<select class="type-selector" id="${_type[0]}" name="${_type[1]}" >
|
||||||
<option value="0" {{if _type[2] == 0}}selected="selected"{{/if}}>Oneline</option>
|
<option value="0" {{if _type[2] == 0}}selected="selected"{{/if}}><%= t('survey_question.oneline') %></option>
|
||||||
<option value="1" {{if _type[2] == 1}}selected="selected"{{/if}}>Multi-line</option>
|
<option value="1" {{if _type[2] == 1}}selected="selected"{{/if}}><%= t('survey_question.multiline') %></option>
|
||||||
<option value="2" {{if _type[2] == 2}}selected="selected"{{/if}}>Radio</option>
|
<option value="2" {{if _type[2] == 2}}selected="selected"{{/if}}><%= t('survey_question.radio') %></option>
|
||||||
<option value="3" {{if _type[2] == 3}}selected="selected"{{/if}}>Check</option>
|
<option value="3" {{if _type[2] == 3}}selected="selected"{{/if}}><%= t('survey_question.check') %></option>
|
||||||
<option value="4" {{if _type[2] == 4}}selected="selected"{{/if}}>Select</option>
|
<option value="4" {{if _type[2] == 4}}selected="selected"{{/if}}><%= t('survey_question.select') %></option>
|
||||||
<option value="5" {{if _type[2] == 5}}selected="selected"{{/if}}>Radio Group</option>
|
<option value="5" {{if _type[2] == 5}}selected="selected"{{/if}}><%= t('survey_question.radiogroup') %></option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -64,13 +64,13 @@
|
||||||
|
|
||||||
|
|
||||||
<div class="control-group rgl">
|
<div class="control-group rgl">
|
||||||
<label for="" class="control-label muted">Radio Group Label</label>
|
<label for="" class="control-label muted"><%= t('survey_question.radiogroup_label') %></label>
|
||||||
<div class="controls add-input">
|
<div class="controls add-input">
|
||||||
<div class="add-target">
|
<div class="add-target">
|
||||||
|
|
||||||
|
|
||||||
<p class="add-btn">
|
<p class="add-btn">
|
||||||
<a href="#" class="btn btn-mini btn-primary"><i class="icons-plus"></i> Add</a>
|
<a href="#" class="btn btn-mini btn-primary"><i class="icons-plus"></i> <%= t('survey_question.add') %></a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -79,13 +79,13 @@
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
<div class="control-group options">
|
<div class="control-group options">
|
||||||
<label for="" class="control-label muted">Options List</label>
|
<label for="" class="control-label muted"><%= t('survey_question.options_lists') %></label>
|
||||||
<div class="controls add-input">
|
<div class="controls add-input">
|
||||||
<div class="add-target">
|
<div class="add-target">
|
||||||
|
|
||||||
|
|
||||||
<p class="add-btn">
|
<p class="add-btn">
|
||||||
<a href="#" class="btn btn-mini btn-primary"><i class="icons-plus"></i> Add</a>
|
<a href="#" class="btn btn-mini btn-primary"><i class="icons-plus"></i> <%= t('survey_question.add') %></a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -96,7 +96,7 @@
|
||||||
<label class="checkbox">
|
<label class="checkbox">
|
||||||
<input name="${_custom_option[1]}" type="hidden" value="${_custom_option[2] << 0}" />
|
<input name="${_custom_option[1]}" type="hidden" value="${_custom_option[2] << 0}" />
|
||||||
<input id="${_custom_option[0]}" type="checkbox" {{if _custom_option[2]}} checked="checked" {{/if}} />
|
<input id="${_custom_option[0]}" type="checkbox" {{if _custom_option[2]}} checked="checked" {{/if}} />
|
||||||
Allow Custom Option
|
<%= t('survey_question.custom_option') %>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -110,7 +110,7 @@
|
||||||
<label class="checkbox">
|
<label class="checkbox">
|
||||||
<input name="${_is_required[1]}" type="hidden" value="${_is_required[2] << 0}" />
|
<input name="${_is_required[1]}" type="hidden" value="${_is_required[2] << 0}" />
|
||||||
<input id="${_is_required[0]}" type="checkbox" {{if _is_required[2]}} checked="checked" {{/if}} />
|
<input id="${_is_required[0]}" type="checkbox" {{if _is_required[2]}} checked="checked" {{/if}} />
|
||||||
Is Required
|
<%= t('survey_question.is_required') %>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -11,9 +11,11 @@ en:
|
||||||
results_count: Results Count
|
results_count: Results Count
|
||||||
update_user: Update User
|
update_user: Update User
|
||||||
question: Question
|
question: Question
|
||||||
|
is_external: The survey is an external link
|
||||||
|
add: Add Question
|
||||||
|
|
||||||
result_type: Result Type (Frontend)
|
result_type: Result Type (Frontend)
|
||||||
extern_link: Extern Link
|
extern_link: External Link
|
||||||
upload_file: Uploaded File
|
upload_file: Uploaded File
|
||||||
|
|
||||||
remove_upload_file: Remove Uploaded File
|
remove_upload_file: Remove Uploaded File
|
||||||
|
@ -70,6 +72,8 @@ en:
|
||||||
option: Option
|
option: Option
|
||||||
custom_option: Allow Custom Option
|
custom_option: Allow Custom Option
|
||||||
use_custom_option: Other
|
use_custom_option: Other
|
||||||
|
add: Add
|
||||||
|
delete: Delete
|
||||||
|
|
||||||
have_not_chart: This type of question havn't chart
|
have_not_chart: This type of question havn't chart
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,8 @@ zh_tw:
|
||||||
results_count: 填寫人數
|
results_count: 填寫人數
|
||||||
update_user: 最後更新者
|
update_user: 最後更新者
|
||||||
question: 問題
|
question: 問題
|
||||||
|
is_external: 這份問卷為外部連結
|
||||||
|
add: 新增題目
|
||||||
|
|
||||||
result_type: 前端結果表示方式
|
result_type: 前端結果表示方式
|
||||||
extern_link: 外部連結
|
extern_link: 外部連結
|
||||||
|
@ -72,6 +74,8 @@ zh_tw:
|
||||||
option: 選項
|
option: 選項
|
||||||
custom_option: 允許自定回答選項
|
custom_option: 允許自定回答選項
|
||||||
use_custom_option: 其他
|
use_custom_option: 其他
|
||||||
|
add: 新增
|
||||||
|
delete: 刪除
|
||||||
|
|
||||||
have_not_chart: 此種類型問題不含結果圖表
|
have_not_chart: 此種類型問題不含結果圖表
|
||||||
|
|
||||||
|
|
Reference in New Issue