itizawa 5 лет назад
Родитель
Сommit
7ddb4129c9

+ 2 - 1
resource/locales/en-US/translation.json

@@ -245,7 +245,8 @@
       "unlinked": "Redirect pages to this page have been deleted.",
       "restricted": "Access to this page is restricted",
       "stale": "More than {{count}} year has passed since last update.",
-      "stale_plural": "More than {{count}} years has passed since last update."
+      "stale_plural": "More than {{count}} years has passed since last update.",
+      "expiration": "Share link will expire <strong>%s</strong>."
     }
   },
   "page_edit": {

+ 2 - 1
resource/locales/ja/translation.json

@@ -243,7 +243,8 @@
       "duplicated": "このページは <code>%s</code> から複製されました。",
       "unlinked": "このページへのリダイレクトは削除されました。",
       "restricted": "このページの閲覧は制限されています",
-      "stale": "このページは最終更新日から{{count}}年以上が経過しています。"
+      "stale": "このページは最終更新日から{{count}}年以上が経過しています。",
+      "expiration": "シェアリンクの有効期限は <strong>%s</strong> です。"
     }
   },
   "page_edit": {

+ 1 - 1
src/server/views/layout-growi/shared_page.html

@@ -18,7 +18,7 @@
   <div class="row" id="is-shared-page">
     <div class="col-sm-12">
       <p class="alert alert-pink py-3 px-4">
-        <i class="icon-fw icon-link"></i><strong>{{ expiration|date('Y-m-d H:i:s') }}</strong>
+        <i class="icon-fw icon-link"></i>{{ t('page_page.notice.expiration', expiration|date('Y-m-d H:i:s')) }}
       </p>
     </div>
     <div class="col grw-page-content-container">