Update translations.

This commit is contained in:
BoHung Chiu 2021-07-29 10:51:25 +08:00
parent 9c2e126aa8
commit 7cb8dc00b1
3 changed files with 3 additions and 1 deletions

View File

@ -89,7 +89,7 @@
<%#= f.hidden_field :time_offset, :id=>"weather_timeoffset" %>
<% referer = request.referer rescue nil %>
<% referer = get_referer_url if referer.blank? || request.host != URI.parse(URI.encode(referer)).host %>
<%= f.submit t('save'), class: 'btn btn-primary' %>
<%= f.submit t('ruling_weather.save'), class: 'btn btn-primary' %>
<input type="hidden" name="referer_url" value="<%= referer %>">
<%= link_to t('cancel'), referer, :class=>"btn" %>
</div>

View File

@ -5,6 +5,7 @@ en:
module_name:
ruling_weather: Weather
ruling_weather:
save: Save
none: None
format: Format
ruling_weather: Weather

View File

@ -5,6 +5,7 @@ zh_tw:
module_name:
ruling_weather: 天氣
ruling_weather:
save: 儲存
none:
format: 格式
ruling_weather: 天氣