Daisuke Takahashi 6 лет назад
Родитель
Сommit
6d65ae11aa

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

@@ -252,8 +252,8 @@
       "duplicated": "This page was duplicated from <code>%s</code>",
       "unlinked": "Redirect pages to this page have been deleted.",
       "restricted": "Access to this page is restricted",
-      "stale": "More than {{years}} year has passed since last update.",
-      "stale_plural": "More than {years}} years has passed since last update."
+      "stale": "More than {{count}} year has passed since last update.",
+      "stale_plural": "More than {{count}} years has passed since last update."
     }
   },
 

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

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

+ 1 - 1
src/server/views/widget/page_alerts.html

@@ -22,7 +22,7 @@
     <div class="alert alert-danger">
     {% endif %}
       <i class="icon-fw icon-hourglass"></i>
-      <strong>{{ t('page_page.notice.stale', { years: page.isStale() }) }}</strong>
+      <strong>{{ t('page_page.notice.stale', { count: page.isStale() }) }}</strong>
     </div>
     {% endif %}