Norio Suzuki 9 rokov pred
rodič
commit
a31cb42d33
1 zmenil súbory, kde vykonal 4 pridanie a 4 odobranie
  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() {
   pageSchema.statics.getGrantLabels = function() {
     var grantLabels = {};
     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;
     return grantLabels;
   };
   };