Explorar o código

Modify page Model

Norio Suzuki %!s(int64=9) %!d(string=hai) anos
pai
achega
a31cb42d33
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      lib/models/page.js

+ 4 - 4
lib/models/page.js

@@ -329,10 +329,10 @@ module.exports = function(crowi) {
 
   pageSchema.statics.getGrantLabels = function() {
     var grantLabels = {};
-    grantLabels[GRANT_PUBLIC]     = '公開';
-    grantLabels[GRANT_RESTRICTED] = 'リンクを知っている人のみ';
-    //grantLabels[GRANT_SPECIFIED]  = '特定ユーザーのみ';
-    grantLabels[GRANT_OWNER]      = '自分のみ';
+    grantLabels[GRANT_PUBLIC]     = 'Public'; // 公開
+    grantLabels[GRANT_RESTRICTED] = 'Only who know the link'; // リンクを知っている人のみ
+    //grantLabels[GRANT_SPECIFIED]  = 'Specified users'; // 特定ユーザーのみ
+    grantLabels[GRANT_OWNER]      = 'Only me'; // 自分のみ
 
     return grantLabels;
   };