From 88ef694f006728d87132d537a058371dbb410504 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Sun, 11 Nov 2018 11:01:57 +0800 Subject: [PATCH] www --- package.json | 4 +- src/src/i18n/cn.json | 159 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 162 insertions(+), 1 deletion(-) create mode 100644 src/src/i18n/cn.json diff --git a/package.json b/package.json index ba7ce4d..0530e2d 100644 --- a/package.json +++ b/package.json @@ -49,6 +49,8 @@ }, "license": "CC-BY-NC-4.0", "dependencies": { - "react-beautiful-dnd": "^9.0.2" + "react": "^16.4.2", + "react-beautiful-dnd": "^9.0.2", + "react-dom": "^16.4.2" } } diff --git a/src/src/i18n/cn.json b/src/src/i18n/cn.json new file mode 100644 index 0000000..af6b628 --- /dev/null +++ b/src/src/i18n/cn.json @@ -0,0 +1,159 @@ +{ + "-": "-", + "Add custom URL": "Add custom URL", + "Adjusting Command": "Adjusting Command", + "All files will be accepted": "All files will be accepted", + "All instances": "All instances", + "All lights off": "All lights off", + "All lights on": "All lights on", + "App settings": "App settings", + "Cancel": "Cancel", + "Changes are not saved.": "Changes are not saved.", + "Changes not saved!": "Changes not saved!", + "Chart": "Chart", + "Close": "Close", + "Control ID is empty": "Control ID is empty", + "Crop": "Crop", + "Crop image": "Crop image", + "Current": "Current", + "Current Type": "Current Type", + "Custom URL": "Custom URL", + "Decision Value": "Decision Value", + "Delete": "Delete", + "Discard changes": "Discard changes", + "Drag direction": "Drag direction", + "Drop some files here or click...": "Drop some files here or click...", + "Environment values": "Environment values", + "Error": "Error", + "Favorites": "Favorites", + "Functions": "Functions", + "Humidity": "Humidity", + "Ignore changes?": "Ignore changes?", + "Illumination": "Illumination", + "Instances": "Instances", + "Listening...": "Listening...", + "Logout": "Logout", + "Lock state": "Lock state", + "Menu instances": "Instances", + "No Motion": "No Motion", + "No elements": "No elements", + "Not saved!": "Not saved!", + "Nothing here": "Nothing here", + "Off": "Off", + "On": "On", + "On Time": "On interval", + "Others": "Others", + "Percent": "Percent", + "Precip.": "Precip.", + "Press Cont": "Continuous press", + "Pressure": "Pressure", + "Relock Delay": "Relock Delay", + "Rooms": "Rooms", + "SABOTAGE": "Sabotage", + "SET_TEMPERATURE": "Set temperature", + "Save": "Save", + "Select action": "Select action", + "Select action!": "Select action!", + "Show %s values": "Show %s values", + "Some files will be rejected": "Some files will be rejected", + "Speech recognition running...": "Speech recognition running...", + "State": "State", + "Stay edit": "Stay edit", + "Update to": "Update to", + "Valve State": "Valve State", + "Voltage": "Voltage", + "Weather": "Weather", + "Wind": "Wind", + "add indicator": "add indicator", + "alive": "Alive", + "Color temperature": "Color temperature", + "HUE": "HUE", + "background": "Background", + "backgroundColor": "Background color", + "close": "close", + "closed": "closed", + "color": "Color", + "colorOff": "OFF color", + "colorOn": "ON color", + "connected": "connected", + "connecting": "connecting", + "debug": "Debug to console", + "default": "Default", + "disabled": "disabled", + "done": "done", + "doubleSize": "Double width of tile", + "dow_Fr": "Fr", + "dow_Mo": "Mo", + "dow_Sa": "Sa", + "dow_Su": "Su", + "dow_Th": "Th", + "dow_Tu": "Tu", + "dow_We": "We", + "enabled": "enabled", + "fire": "fire", + "fullWidth": "Full width dialog", + "group": "group", + "hideIcon": "Hide camera icon", + "icon": "Icon", + "iconOff": "Icon OFF", + "ignoreIndicators": "Ignore indicators", + "instances": "Show instances", + "isImage": "URL is a picture", + "km/h": "km/h", + "loading...": "loading...", + "loadingBackground": "Loading screen background", + "mbar": "mbar", + "menuBackground": "Menu background", + "menuColor": "Menu background", + "month_Apr": "Apr", + "month_Aug": "Aug", + "month_Dec": "Dec", + "month_Feb": "Feb", + "month_Jan": "Jan", + "month_Jul": "Jul", + "month_Jun": "Jun", + "month_Mai": "Mai", + "month_Mar": "Mar", + "month_Nov": "Nov", + "month_Oct": "Oct", + "month_Sep": "Sep", + "mute": "mute", + "name": "Name", + "newLine": "New group - new line", + "opened": "opened", + "read app config": "reading app configuration", + "read config": "reading configuration", + "read objects": "reading objects", + "running": "running", + "sent": "sent", + "start instance": "start instance", + "startEnum": "Start page", + "stop instance": "stop instance", + "stopped": "stopped", + "tilted": "tilted", + "title": "Title", + "unknown": "unknown", + "unmute": "unmute", + "update": "Update interval (ms)", + "updateInDialog": "Update interval in dialog (ms)", + "useDefaultIcon": "Use default icon", + "Re-sync objects": "Re-sync objects", + "text2command": "text2command", + "noCache": "Always load objects", + "wind_E": "E", + "wind_ENE": "ENE", + "wind_ESE": "ESE", + "wind_N": "N", + "wind_NE": "NE", + "wind_NNE": "NNE", + "wind_NNW": "NNW", + "wind_NW": "NW", + "wind_S": "S", + "wind_SE": "SE", + "wind_SSE": "SSE", + "wind_SSW": "SSW", + "wind_SW": "SW", + "wind_W": "W", + "wind_WNW": "WNW", + "wind_WSW": "WSW" +} \ No newline at end of file