Explorar o código

made long keys shorter

久保田隼基 %!s(int64=8) %!d(string=hai) anos
pai
achega
2a82f738e0

+ 5 - 2
lib/locales/ja/translation.json

@@ -71,8 +71,8 @@
   "Create under": "<code>%s</code>以下に作成",
   "Management Wiki": "Wiki管理",
   "System Information": "システム情報",
-  "Only Wiki administrator can see this page": "この画面はWiki管理者のみがアクセスできる画面です。",
-  "You can assign administrator from Assign administrator button in the User management page": "「ユーザー管理」から「管理者にする」ボタンを使ってユーザーをWiki管理者に任命することができます。",
+  "wiki_administrator": "この画面はWiki管理者のみがアクセスできる画面です。",
+  "assign_administrator": "「ユーザー管理」から「管理者にする」ボタンを使ってユーザーをWiki管理者に任命することができます。",
   "List of installed plugins": "インストールされているプラグイン一覧",
   "Package name": "パッケージ名",
   "Specified version": "指定バージョン",
@@ -100,6 +100,9 @@
   "The whitelist of registration permission E-mail address": "登録許可メールアドレスの<br>ホワイトリスト",
   "Selecting authentication mechanism": "認証機構選択",
 
+
+  
+ 
   "Show latest": "最新のページを表示",
   "Load latest": "最新版を読み込む",
   "edited this page": "さんがこのページを編集しました。",

+ 2 - 2
lib/views/admin/index.html

@@ -25,8 +25,8 @@
       {% include './widget/menu.html' %}
     </div>
     <div class="col-md-9">
-      <p> {{ t('Only Wiki administrator can see this page') }}<br>
-      {{ t('You can assign administrator from Assign administrator button in the User management page') }}
+      <p> {{ t("wiki_administrator") }}<br>
+      {{ t("assign_administrator") }}
       </p>
 
       <h3>{{ t('System Information') }}</h3>

+ 2 - 2
lib/views/admin/security.html

@@ -5,7 +5,7 @@
 {% block content_head %}
 <div class="header-wrap">
   <header id="page-header">
-    <h1 class="title" id="">カスタマイズ</h1>
+    <h1 class="title" id="">{{ t('Security settings') }}</h1>
   </header>
 </div>
 {% endblock %}
@@ -38,7 +38,7 @@
 
       <form action="/_api/admin/security/general" method="post" class="form-horizontal" id="generalSetting" role="form">
         <fieldset>
-        <legend>{{ t('Basic settings') }}</legend>
+        <legend>{{ t('Security settings') }}</legend>
 
           <div class="form-group">
             <label for="settingForm[security:registrationMode]" class="col-xs-3 control-label">{{ t('Basic authentication') }}</label>