Browse Source

Merge pull request #163 from stevecyj/dev

(fix):change dir of zh_TW json files,recover files in en
Ahmad Kholid 3 years ago
parent
commit
dfb1dc56dc
4 changed files with 208 additions and 67 deletions
  1. 62 62
      src/locales/en/newtab.json
  2. 5 5
      src/locales/en/popup.json
  3. 128 0
      src/locales/zh-TW/newtab.json
  4. 13 0
      src/locales/zh-TW/popup.json

+ 62 - 62
src/locales/en/newtab.json

@@ -1,127 +1,127 @@
 {
 {
   "home": {
   "home": {
-    "viewAll": "檢視全部"
+    "viewAll": "View all"
   },
   },
   "settings": {
   "settings": {
     "language": {
     "language": {
-      "label": "語言",
-      "helpTranslate": "找不到你的語言嗎? 請協助我們翻譯。",
-      "reloadPage": "重整頁面使其生效"
+      "label": "Language",
+      "helpTranslate": "Can't find your language? Help translate.",
+      "reloadPage": "Reload the page to take effect"
     }
     }
   },
   },
   "workflow": {
   "workflow": {
-    "import": "匯入工作流",
-    "new": "新增工作流",
-    "delete": "刪除工作流",
-    "name": "工作流名稱",
-    "rename": "重新命名工作流",
-    "add": "建立工作流",
-    "clickToEnable": "點擊啟用",
+    "import": "Import workflow",
+    "new": "New workflow",
+    "delete": "Delete workflow",
+    "name": "Workflow name",
+    "rename": "Rename workflow",
+    "add": "Add workflow",
+    "clickToEnable": "Click to enable",
     "dataColumns": {
     "dataColumns": {
-      "title": "資料欄位",
-      "placeholder": "搜尋或建立欄位",
+      "title": "Data columns",
+      "placeholder": "Search or add column",
       "column": {
       "column": {
-        "name": "欄位名稱",
-        "type": "資料型別"
+        "name": "Column name",
+        "type": "Data type"
       }
       }
     },
     },
     "sidebar": {
     "sidebar": {
-      "workflowIcon": "工作流圖示"
+      "workflowIcon": "Workflow icon"
     },
     },
     "editor": {
     "editor": {
-      "zoomIn": "放大",
-      "zoomOut": "縮小",
-      "resetZoom": "重設縮放",
-      "duplicate": "複製"
+      "zoomIn": "Zoom in",
+      "zoomOut": "Zoom out",
+      "resetZoom": "Reset zoom",
+      "duplicate": "Duplicate"
     },
     },
     "settings": {
     "settings": {
       "onError": {
       "onError": {
-        "title": "工作流發生錯誤",
+        "title": "On workflow error",
         "items": {
         "items": {
-          "keepRunning": "繼續執行",
-          "stopWorkflow": "停止工作流"
+          "keepRunning": "Keep running",
+          "stopWorkflow": "Stop workflow"
         }
         }
       },
       },
       "timeout": {
       "timeout": {
-        "title": "工作流超時 (毫秒)"
+        "title": "Workflow timeout (milliseconds)"
       }
       }
     }
     }
   },
   },
   "collection": {
   "collection": {
-    "description": "依序執行工作流",
-    "new": "新增集合",
-    "delete": "刪除集合",
-    "add": "建立集合",
-    "rename": "重新命名集合",
-    "flow": "工作流",
-    "dragDropText": "拖曳工作流或區塊至此",
+    "description": "Execute your workflows in sequence",
+    "new": "New collection",
+    "delete": "Delete collection",
+    "add": "Add collection",
+    "rename": "Rename collection",
+    "flow": "Flow",
+    "dragDropText": "Drop a workflow or block in here",
     "options": {
     "options": {
       "atOnce": {
       "atOnce": {
-        "title": "立即執行集合中的所有工作流",
-        "description": "使用此選項不會執行區塊"
+        "title": "Execute all workflows in the collection at once",
+        "description": "Block not gonna executed when using this option"
       }
       }
     },
     },
     "globalData": {
     "globalData": {
-      "note": "這將覆蓋工作流的全域資料"
+      "note": "This will overwrite the global data of the workflow"
     }
     }
   },
   },
   "log": {
   "log": {
-    "goBack": "返回 \"{name}\" 紀錄",
-    "startedDate": "開始日期",
-    "duration": "期間",
-    "selectAll": "全選",
-    "deselectAll": "取消全選",
-    "deleteSelected": "刪除選取的紀錄",
+    "goBack": "Go back to \"{name}\" log",
+    "startedDate": "Started date",
+    "duration": "Duration",
+    "selectAll": "Select all",
+    "deselectAll": "Deselect all",
+    "deleteSelected": "Delete selected logs",
     "types": {
     "types": {
-      "stop": "工作流停止",
-      "finish": "工作流完成"
+      "stop": "Workflow is stopped",
+      "finish": "Finish"
     },
     },
     "messages": {
     "messages": {
-      "workflow-disabled": "工作流已禁用",
-      "stop-timeout": "工作流因逾時而停止",
+      "workflow-disabled": "Workflow is disabled",
+      "stop-timeout": "Workflow is stopped because of timeout",
       "no-iframe-id": "Can't find Frame ID for the frame element with \"{selector}\" selector",
       "no-iframe-id": "Can't find Frame ID for the frame element with \"{selector}\" selector",
       "no-tab": "Can't connect to a tab, use \"New tab\" or \"Active tab\" block before using the \"{name}\" block."
       "no-tab": "Can't connect to a tab, use \"New tab\" or \"Active tab\" block before using the \"{name}\" block."
     },
     },
     "description": {
     "description": {
       "text": "{status} on {date} in {duration}",
       "text": "{status} on {date} in {duration}",
       "status": {
       "status": {
-        "success": "成功",
-        "error": "失敗",
-        "stopped": "停止"
+        "success": "Succeeded",
+        "error": "Failed",
+        "stopped": "Stopped"
       }
       }
     },
     },
     "delete": {
     "delete": {
-      "title": "刪除紀錄",
-      "description": "確定要刪除所有選取的紀錄嗎?"
+      "title": "Delete log",
+      "description": "Are you sure want to delete all the selected logs?"
     },
     },
     "exportData": {
     "exportData": {
-      "title": "匯出資料",
+      "title": "Export data",
       "types": {
       "types": {
         "json": "JSON",
         "json": "JSON",
         "csv": "CSV",
         "csv": "CSV",
-        "plain-text": "純文字"
+        "plain-text": "Plain text"
       }
       }
     },
     },
     "filter": {
     "filter": {
-      "title": "篩選",
-      "byStatus": " status",
+      "title": "Filter",
+      "byStatus": "By status",
       "byDate": {
       "byDate": {
-        "title": " date",
+        "title": "By date",
         "items": {
         "items": {
-          "lastDay": "最後1天",
-          "last7Days": "最後7天",
-          "last30Days": "最後30天"
+          "lastDay": "Last day",
+          "last7Days": "Last seven days",
+          "last30Days": "Last thirty days"
         }
         }
       }
       }
     }
     }
   },
   },
   "components": {
   "components": {
     "pagination": {
     "pagination": {
-      "text1": "顯示",
-      "text2": "項, 總共 {count} 項",
-      "nextPage": "下一頁",
-      "currentPage": "目前頁數",
-      "prevPage": "上一頁",
+      "text1": "Showing",
+      "text2": "items out of {count}",
+      "nextPage": "Next page",
+      "currentPage": "Current page",
+      "prevPage": "Previous page",
       "of": "of {page}"
       "of": "of {page}"
     }
     }
   }
   }

+ 5 - 5
src/locales/en/popup.json

@@ -1,13 +1,13 @@
 {
 {
   "home": {
   "home": {
     "elementSelector": {
     "elementSelector": {
-      "name": "元素選擇器",
-      "noAccess": "無權訪問這個網站"
+      "name": "Element selector",
+      "noAccess": "Don't have access to this site"
     },
     },
     "workflow": {
     "workflow": {
-      "new": "新增工作流",
-      "rename": "重新命名工作流",
-      "delete": "刪除工作流"
+      "new": "New workflow",
+      "rename": "Rename workflow",
+      "delete": "Delete workflow"
     }
     }
   }
   }
 }
 }

+ 128 - 0
src/locales/zh-TW/newtab.json

@@ -0,0 +1,128 @@
+{
+  "home": {
+    "viewAll": "檢視全部"
+  },
+  "settings": {
+    "language": {
+      "label": "語言",
+      "helpTranslate": "找不到你的語言嗎? 請協助我們翻譯。",
+      "reloadPage": "重整頁面使其生效"
+    }
+  },
+  "workflow": {
+    "import": "匯入工作流",
+    "new": "新增工作流",
+    "delete": "刪除工作流",
+    "name": "工作流名稱",
+    "rename": "重新命名工作流",
+    "add": "建立工作流",
+    "clickToEnable": "點擊啟用",
+    "dataColumns": {
+      "title": "資料欄位",
+      "placeholder": "搜尋或建立欄位",
+      "column": {
+        "name": "欄位名稱",
+        "type": "資料型別"
+      }
+    },
+    "sidebar": {
+      "workflowIcon": "工作流圖示"
+    },
+    "editor": {
+      "zoomIn": "放大",
+      "zoomOut": "縮小",
+      "resetZoom": "重設縮放",
+      "duplicate": "複製"
+    },
+    "settings": {
+      "onError": {
+        "title": "工作流發生錯誤",
+        "items": {
+          "keepRunning": "繼續執行",
+          "stopWorkflow": "停止工作流"
+        }
+      },
+      "timeout": {
+        "title": "工作流超時 (毫秒)"
+      }
+    }
+  },
+  "collection": {
+    "description": "依序執行工作流",
+    "new": "新增集合",
+    "delete": "刪除集合",
+    "add": "建立集合",
+    "rename": "重新命名集合",
+    "flow": "工作流",
+    "dragDropText": "拖曳工作流或區塊至此",
+    "options": {
+      "atOnce": {
+        "title": "立即執行集合中的所有工作流",
+        "description": "使用此選項不會執行區塊"
+      }
+    },
+    "globalData": {
+      "note": "這將覆蓋工作流的全域資料"
+    }
+  },
+  "log": {
+    "goBack": "返回 \"{name}\" 紀錄",
+    "startedDate": "開始日期",
+    "duration": "期間",
+    "selectAll": "全選",
+    "deselectAll": "取消全選",
+    "deleteSelected": "刪除選取的紀錄",
+    "types": {
+      "stop": "工作流停止",
+      "finish": "工作流完成"
+    },
+    "messages": {
+      "workflow-disabled": "工作流已禁用",
+      "stop-timeout": "工作流因逾時而停止",
+      "no-iframe-id": "Can't find Frame ID for the frame element with \"{selector}\" selector",
+      "no-tab": "Can't connect to a tab, use \"New tab\" or \"Active tab\" block before using the \"{name}\" block."
+    },
+    "description": {
+      "text": "{status} on {date} in {duration}",
+      "status": {
+        "success": "成功",
+        "error": "失敗",
+        "stopped": "停止"
+      }
+    },
+    "delete": {
+      "title": "刪除紀錄",
+      "description": "確定要刪除所有選取的紀錄嗎?"
+    },
+    "exportData": {
+      "title": "匯出資料",
+      "types": {
+        "json": "JSON",
+        "csv": "CSV",
+        "plain-text": "純文字"
+      }
+    },
+    "filter": {
+      "title": "篩選",
+      "byStatus": "依 status",
+      "byDate": {
+        "title": "依 date",
+        "items": {
+          "lastDay": "最後1天",
+          "last7Days": "最後7天",
+          "last30Days": "最後30天"
+        }
+      }
+    }
+  },
+  "components": {
+    "pagination": {
+      "text1": "顯示",
+      "text2": "項, 總共 {count} 項",
+      "nextPage": "下一頁",
+      "currentPage": "目前頁數",
+      "prevPage": "上一頁",
+      "of": "of {page}"
+    }
+  }
+}

+ 13 - 0
src/locales/zh-TW/popup.json

@@ -0,0 +1,13 @@
+{
+  "home": {
+    "elementSelector": {
+      "name": "元素選擇器",
+      "noAccess": "無權訪問這個網站"
+    },
+    "workflow": {
+      "new": "新增工作流",
+      "rename": "重新命名工作流",
+      "delete": "刪除工作流"
+    }
+  }
+}