mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-05-05 02:46:11 +02:00
i18n-ed auto reload text
This commit is contained in:
parent
b99132d67b
commit
0be4de84b7
@ -24,7 +24,7 @@
|
||||
self.fetchLogs();
|
||||
var $log = $(".log", self.$el);
|
||||
$log.scrollTop($log[0].scrollHeight);
|
||||
}, 1000);
|
||||
}, 3000);
|
||||
} else {
|
||||
clearInterval(timer);
|
||||
}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
<div id="fluent-log" logUrl="<%= log_tail_fluentd_agent_path(fluentd) %>">
|
||||
<pre>
|
||||
<button class="btn btn-primary" v-on="click: fetchLogs"><%= t "terms.reload_log" %></button> <input type="text" v-model="limit" size="4" v-on="keyup: fetchLogs | key enter" />
|
||||
<input type="checkbox" v-model="autoFetch" /> 自動更新
|
||||
<label><input type="checkbox" v-model="autoFetch" /> <%= t "terms.auto_reload", seconds: 3 %> </label>
|
||||
|
||||
<div class="log"><span v-repeat="logs">{{ $value }}
|
||||
</span></div></pre>
|
||||
|
||||
@ -32,6 +32,7 @@ en:
|
||||
confirm_body: |
|
||||
Really %{action}?
|
||||
reload_log: Reload fluend log
|
||||
auto_reload: "Auto Reload(every %{seconds} seconds)"
|
||||
|
||||
plugins:
|
||||
notice_restart_for_config_edit: "NOTICE: fluentd will restart after update config"
|
||||
|
||||
@ -32,6 +32,7 @@ ja:
|
||||
confirm_body: |
|
||||
%{action}しますか?
|
||||
reload_log: fluentdのログを更新
|
||||
auto_reload: "自動更新(%{seconds}秒ごと)"
|
||||
|
||||
plugins:
|
||||
notice_restart_for_config_edit: ※更新するとfluentdが再起動されます
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user