|
|
@@ -1,6 +1,6 @@
|
|
|
{% extends '../layout/admin.html' %}
|
|
|
|
|
|
-{% block html_title %}カスタマイズ · {% endblock %}
|
|
|
+{% block html_title %}{{ t('Customize') }} {% endblock %}
|
|
|
|
|
|
{% block html_additional_headers %}
|
|
|
<!-- CodeMirror -->
|
|
|
@@ -18,7 +18,7 @@
|
|
|
{% block layout_header %}
|
|
|
<div class="header-wrap">
|
|
|
<header id="page-header">
|
|
|
- <h1 class="title" id="">カスタマイズ</h1>
|
|
|
+ <h1 class="title" id="">{{ t('Customize') }} </h1>
|
|
|
</header>
|
|
|
</div>
|
|
|
{% endblock %}
|
|
|
@@ -47,7 +47,7 @@
|
|
|
|
|
|
<form action="/_api/admin/customize/behavior" method="post" class="form-horizontal" id="cutombehaviorSettingForm" role="form">
|
|
|
<fieldset>
|
|
|
- <legend>挙動</legend>
|
|
|
+ <legend>{{ t('customize_page.Behavior') }}</legend>
|
|
|
|
|
|
<div class="form-group">
|
|
|
<div class="col-xs-6">
|
|
|
@@ -83,7 +83,7 @@
|
|
|
<div class="form-group">
|
|
|
<div class="col-xs-offset-5 col-xs-6">
|
|
|
<input type="hidden" name="_csrf" value="{{ csrf() }}">
|
|
|
- <button type="submit" class="btn btn-primary">更新</button>
|
|
|
+ <button type="submit" class="btn btn-primary">{{ t('Update') }}</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
@@ -93,7 +93,7 @@
|
|
|
|
|
|
<form action="/_api/admin/customize/layout" method="post" class="form-horizontal" id="cutomlayoutSettingForm" role="form">
|
|
|
<fieldset>
|
|
|
- <legend>レイアウト</legend>
|
|
|
+ <legend>{{ t('customize_page.Layout') }}</legend>
|
|
|
|
|
|
<div class="form-group">
|
|
|
<div class="col-xs-6">
|
|
|
@@ -136,7 +136,7 @@
|
|
|
<div class="form-group">
|
|
|
<div class="col-xs-offset-5 col-xs-6">
|
|
|
<input type="hidden" name="_csrf" value="{{ csrf() }}">
|
|
|
- <button type="submit" class="btn btn-primary">更新</button>
|
|
|
+ <button type="submit" class="btn btn-primary">{{ t('Update') }}</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
@@ -146,50 +146,50 @@
|
|
|
|
|
|
<form action="/_api/admin/customize/features" method="post" class="form-horizontal" id="customfeaturesSettingForm" role="form">
|
|
|
<fieldset>
|
|
|
- <legend>機能</legend>
|
|
|
- <p class="well">機能の有効/無効を選択できます。</p>
|
|
|
+ <legend>{{ t('customize_page.Function') }}</legend>
|
|
|
+ <p class="well">{{ t("customize_page.function_choose") }}</p>
|
|
|
|
|
|
<div class="form-group">
|
|
|
- <label for="settingForm[customize:isEnabledTimeline]" class="col-xs-3 control-label">タイムライン機能</label>
|
|
|
+ <label for="settingForm[customize:isEnabledTimeline]" class="col-xs-3 control-label">{{ t('customize_page.Timeline function') }}</label>
|
|
|
<div class="col-xs-9">
|
|
|
<div class="btn-group btn-toggle" data-toggle="buttons">
|
|
|
<label class="btn btn-default {% if settingForm['customize:isEnabledTimeline'] %}active{% endif %}" data-active-class="primary">
|
|
|
<input name="settingForm[customize:isEnabledTimeline]" value="true" type="radio"
|
|
|
- {% if true === settingForm['customize:isEnabledTimeline'] %}checked{% endif %}> 有効
|
|
|
+ {% if true === settingForm['customize:isEnabledTimeline'] %}checked{% endif %}> {{ t('Valid') }}
|
|
|
</label>
|
|
|
<label class="btn btn-default {% if !settingForm['customize:isEnabledTimeline'] %}active{% endif %}" data-active-class="primary">
|
|
|
<input name="settingForm[customize:isEnabledTimeline]" value="false" type="radio"
|
|
|
- {% if !settingForm['customize:isEnabledTimeline'] %}checked{% endif %}> 無効
|
|
|
+ {% if !settingForm['customize:isEnabledTimeline'] %}checked{% endif %}> {{ t('Invalid') }}
|
|
|
</label>
|
|
|
</div>
|
|
|
|
|
|
<p class="help-block">
|
|
|
- 配下ページのタイムラインを表示できます。
|
|
|
+ {{ t("customize_page.subpage_display") }}
|
|
|
</p>
|
|
|
<p class="help-block">
|
|
|
- 配下ページが多い場合はページロード時のパフォーマンスが落ちます。<br>
|
|
|
- 無効化することでリストページの表示を高速化できます。
|
|
|
+ {{ t("customize_page.performance_decrease") }}<br>
|
|
|
+ {{ t("customize_page.list_page_display") }}
|
|
|
</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="form-group">
|
|
|
- <label for="settingForm[customize:isSavedStatesOfTabChanges]" class="col-xs-3 control-label">タブ変更をブラウザ履歴に保存</label>
|
|
|
+ <label for="settingForm[customize:isSavedStatesOfTabChanges]" class="col-xs-3 control-label">{{ t("customize_page.tab_switch") }}</label>
|
|
|
<div class="col-xs-9">
|
|
|
<div class="btn-group btn-toggle" data-toggle="buttons">
|
|
|
<label class="btn btn-default {% if settingForm['customize:isSavedStatesOfTabChanges'] %}active{% endif %}" data-active-class="primary">
|
|
|
<input name="settingForm[customize:isSavedStatesOfTabChanges]" value="true" type="radio"
|
|
|
- {% if true === settingForm['customize:isSavedStatesOfTabChanges'] %}checked{% endif %}> 有効
|
|
|
+ {% if true === settingForm['customize:isSavedStatesOfTabChanges'] %}checked{% endif %}> {{ t('Valid') }}
|
|
|
</label>
|
|
|
<label class="btn btn-default {% if !settingForm['customize:isSavedStatesOfTabChanges'] %}active{% endif %}" data-active-class="primary">
|
|
|
<input name="settingForm[customize:isSavedStatesOfTabChanges]" value="false" type="radio"
|
|
|
- {% if !settingForm['customize:isSavedStatesOfTabChanges'] %}checked{% endif %}> 無効
|
|
|
+ {% if !settingForm['customize:isSavedStatesOfTabChanges'] %}checked{% endif %}> {{ t('Invalid') }}
|
|
|
</label>
|
|
|
</div>
|
|
|
|
|
|
<p class="help-block">
|
|
|
- 編集タブやヒストリータブ等の切り替えをブラウザ履歴に保存し、ブラウザの戻る/進む操作の対象にします。<br>
|
|
|
- 無効化することで、ページ遷移のみを戻る/進む操作の対象にすることができます。
|
|
|
+ {{ t("customize_page.save_edit") }}<br>
|
|
|
+ {{ t("customize_page.by_invalidating") }}
|
|
|
</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -197,7 +197,7 @@
|
|
|
<div class="form-group">
|
|
|
<div class="col-xs-offset-3 col-xs-6">
|
|
|
<input type="hidden" name="_csrf" value="{{ csrf() }}">
|
|
|
- <button type="submit" class="btn btn-primary">更新</button>
|
|
|
+ <button type="submit" class="btn btn-primary">{{ t('Update') }}</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
@@ -243,11 +243,11 @@
|
|
|
|
|
|
<form action="/_api/admin/customize/css" method="post" class="form-horizontal" id="cutomcssSettingForm" role="form">
|
|
|
<fieldset>
|
|
|
- <legend>カスタムヘッダーCSS</legend>
|
|
|
+ <legend>{{ t('customize_page.Custom CSS') }}</legend>
|
|
|
|
|
|
<p class="well">
|
|
|
- システム全体に適用されるCSSを記述できます。<code><header></code> タグ内に展開されます。<br>
|
|
|
- 変更の反映はページの更新が必要です。
|
|
|
+ {{ t("customize_page.write_CSS") }}<br>
|
|
|
+ {{ t("customize_page.reflect_change") }}
|
|
|
</p>
|
|
|
|
|
|
<div class="form-group">
|
|
|
@@ -258,7 +258,7 @@
|
|
|
<div class="col-xs-12">
|
|
|
<p class="help-block text-right">
|
|
|
<i class="fa fa-fw fa-keyboard-o" aria-hidden="true"></i>
|
|
|
- Ctrl+Space でコード補完
|
|
|
+ {{ t("customize_page.ctrl_space") }}
|
|
|
</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -266,7 +266,7 @@
|
|
|
<div class="form-group">
|
|
|
<div class="col-xs-offset-5 col-xs-6">
|
|
|
<input type="hidden" name="_csrf" value="{{ csrf() }}">
|
|
|
- <button type="submit" class="btn btn-primary">更新</button>
|
|
|
+ <button type="submit" class="btn btn-primary">{{ t('Update') }}</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
@@ -276,11 +276,11 @@
|
|
|
|
|
|
<form action="/_api/admin/customize/script" method="post" class="form-horizontal" id="cutomscriptSettingForm" role="form">
|
|
|
<fieldset>
|
|
|
- <legend>カスタムスクリプト</legend>
|
|
|
+ <legend>{{ t('customize_page.Custom script') }}</legend>
|
|
|
|
|
|
<p class="well">
|
|
|
- システム全体に適用されるJavaScriptを記述できます。<code><body></code> タグ内の最後に展開されます。<br>
|
|
|
- 変更の反映はページの更新が必要です。
|
|
|
+ {{ t("customize_page.write_java") }}<br>
|
|
|
+ {{ t("customize_page.reflect_change") }}
|
|
|
</p>
|
|
|
|
|
|
<p class="help-block">
|
|
|
@@ -316,7 +316,7 @@ window.addEventListener('load', (event) => {
|
|
|
<div class="col-xs-12">
|
|
|
<p class="help-block text-right">
|
|
|
<i class="fa fa-fw fa-keyboard-o" aria-hidden="true"></i>
|
|
|
- Ctrl+Space でコード補完
|
|
|
+ {{ t("customize_page.ctrl_space") }}
|
|
|
</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -324,7 +324,7 @@ window.addEventListener('load', (event) => {
|
|
|
<div class="form-group">
|
|
|
<div class="col-xs-offset-5 col-xs-6">
|
|
|
<input type="hidden" name="_csrf" value="{{ csrf() }}">
|
|
|
- <button type="submit" class="btn btn-primary">更新</button>
|
|
|
+ <button type="submit" class="btn btn-primary">{{ t('Update') }}</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
|