From 59509ce883e1d68e56122d76b62e5746cdfc81df Mon Sep 17 00:00:00 2001 From: Cheton Wu Date: Sun, 24 Sep 2017 23:47:09 +0800 Subject: [PATCH] Prepare for Dutch (Netherlands) language --- README.md | 5 +- i18n.config.js | 1 + src/app/i18n/nl/config.json | 3 + src/app/i18n/nl/resource.json | 4 + .../containers/Settings/General/General.jsx | 1 + src/web/i18n/nl/controller.json | 44 ++ src/web/i18n/nl/gcode.json | 41 ++ src/web/i18n/nl/resource.json | 445 ++++++++++++++++++ 8 files changed, 542 insertions(+), 2 deletions(-) create mode 100755 src/app/i18n/nl/config.json create mode 100755 src/app/i18n/nl/resource.json create mode 100644 src/web/i18n/nl/controller.json create mode 100644 src/web/i18n/nl/gcode.json create mode 100644 src/web/i18n/nl/resource.json diff --git a/README.md b/README.md index d9e993c69..b0bb583ea 100644 --- a/README.md +++ b/README.md @@ -237,13 +237,14 @@ Locale | Language | Status | Contributors [de](https://github.com/cncjs/cncjs/tree/master/src/web/i18n/de) | Deutsch (German) | ✔ | [Thorsten Godau](https://github.com/dl9sec) [es](https://github.com/cncjs/cncjs/tree/master/src/web/i18n/es) | Español (Spanish) | ✔ | [Juan Biondi](https://github.com/yeyeto2788) [fr](https://github.com/cncjs/cncjs/tree/master/src/web/i18n/fr) | Français (French) | ✔ | [Simon Maillard](https://github.com/maisim), [CorentinBrulé](https://github.com/CorentinBrule) -[it](https://github.com/cncjs/cncjs/tree/master/src/web/i18n/it) | Italiano (Italian) | ✔ | [vince87](https://github.com/vince87) [hu](https://github.com/cncjs/cncjs/tree/master/src/web/i18n/hu) | Magyar (Hungarian) | ✔ | Sipos Péter +[it](https://github.com/cncjs/cncjs/tree/master/src/web/i18n/it) | Italiano (Italian) | ✔ | [vince87](https://github.com/vince87) +[ja](https://github.com/cncjs/cncjs/tree/master/src/web/i18n/ja) | 日本語 (Japanese) | ✔ | [Naoki Okamoto](https://github.com/toonaoki) +[nl](https://github.com/cncjs/cncjs/tree/master/src/web/i18n/nl) | Nederlands (Netherlands) | | [pt-br](https://github.com/cncjs/cncjs/tree/master/src/web/i18n/pt-br) | Português (Brasil) | ✔ | [cmsteinBR](https://github.com/cmsteinBR) [ru](https://github.com/cncjs/cncjs/tree/master/src/web/i18n/ru) | Ру́сский (Russian) | ✔ | [Denis Yusupov](https://github.com/minithc) [zh-tw](https://github.com/cncjs/cncjs/tree/master/src/web/i18n/zh-tw) | 繁體中文 (Traditional Chinese) | ✔ | [Cheton Wu](https://github.com/cheton) [zh-cn](https://github.com/cncjs/cncjs/tree/master/src/web/i18n/zh-cn) | 简体中文 (Simplified Chinese) | ✔ | [Mandy Chien](https://github.com/MandyChien), [Terry Lee](https://github.com/TerryShampoo) -[ja](https://github.com/cncjs/cncjs/tree/master/src/web/i18n/ja) | 日本語 (Japanese) | ✔ | [Naoki Okamoto](https://github.com/toonaoki) ## Donate diff --git a/i18n.config.js b/i18n.config.js index ae58a6dd8..60fe0007b 100644 --- a/i18n.config.js +++ b/i18n.config.js @@ -8,6 +8,7 @@ module.exports = { 'hu', // Hungarian 'it', // Italian 'ja', // Japanese + 'nl', // Nederlands 'pt-br', // Portuguese (Brazil) 'ru', // Russian 'zh-cn', // Simplified Chinese diff --git a/src/app/i18n/nl/config.json b/src/app/i18n/nl/config.json new file mode 100755 index 000000000..8ab9f898d --- /dev/null +++ b/src/app/i18n/nl/config.json @@ -0,0 +1,3 @@ +{ + "dir": "ltr" +} diff --git a/src/app/i18n/nl/resource.json b/src/app/i18n/nl/resource.json new file mode 100755 index 000000000..615421bae --- /dev/null +++ b/src/app/i18n/nl/resource.json @@ -0,0 +1,4 @@ +{ + "loading": "Bezig met laden...", + "title": "CNCjs" +} diff --git a/src/web/containers/Settings/General/General.jsx b/src/web/containers/Settings/General/General.jsx index 64acc6228..2aaebf3c9 100644 --- a/src/web/containers/Settings/General/General.jsx +++ b/src/web/containers/Settings/General/General.jsx @@ -93,6 +93,7 @@ class General extends PureComponent { + diff --git a/src/web/i18n/nl/controller.json b/src/web/i18n/nl/controller.json new file mode 100644 index 000000000..66bfd59a2 --- /dev/null +++ b/src/web/i18n/nl/controller.json @@ -0,0 +1,44 @@ +{ + "TinyG": { + "machineState": { + "initializing": "", + "ready": "", + "alarm": "", + "stop": "", + "end": "", + "run": "", + "hold": "", + "probe": "", + "cycle": "", + "homing": "", + "jog": "", + "interlock": "", + "shutdown": "", + "panic": "" + } + }, + "Grbl": { + "activeState": { + "idle": "", + "run": "", + "hold": "", + "door": "", + "home": "", + "sleep": "", + "alarm": "", + "check": "" + } + }, + "Smoothie": { + "activeState": { + "idle": "", + "run": "", + "hold": "", + "door": "", + "home": "", + "sleep": "", + "alarm": "", + "check": "" + } + } +} diff --git a/src/web/i18n/nl/gcode.json b/src/web/i18n/nl/gcode.json new file mode 100644 index 000000000..f4a95a636 --- /dev/null +++ b/src/web/i18n/nl/gcode.json @@ -0,0 +1,41 @@ +{ + "Rapid Move (G0)": "", + "Linear Move (G1)": "", + "CW Arc (G2)": "", + "CCW Arc (G3)": "", + "Probing (G38.2)": "", + "Probing (G38.3)": "", + "Probing (G38.4)": "", + "Probing (G38.5)": "", + "Cancel Mode (G80)": "", + "P1 (G54)": "", + "P2 (G55)": "", + "P3 (G56)": "", + "P4 (G57)": "", + "P5 (G58)": "", + "P6 (G59)": "", + "XY Plane (G17)": "", + "XZ Plane (G18)": "", + "YZ Plane (G19)": "", + "Inches (G20)": "", + "Millimeters (G21)": "", + "Exact Path (G61)": "", + "Exact Stop (G61.1)": "", + "Continuous (G64)": "", + "Absolute (G90)": "", + "Relative (G91)": "", + "Inverse Time (G93)": "", + "Units/Min (G94)": "", + "Active Tool Offset (G43.1)": "", + "No Tool Offset (G49)": "", + "Program Stop (M0)": "", + "Optional Program Stop (M1)": "", + "Program End (M2)": "", + "Program End and Rewind (M30)": "", + "Spindle On, CW (M3)": "", + "Spindle On, CCW (M4)": "", + "Spindle Off (M5)": "", + "Mist Coolant On (M7)": "", + "Flood Coolant On (M8)": "", + "Coolant Off (M9)": "" +} diff --git a/src/web/i18n/nl/resource.json b/src/web/i18n/nl/resource.json new file mode 100644 index 000000000..56a42ff54 --- /dev/null +++ b/src/web/i18n/nl/resource.json @@ -0,0 +1,445 @@ +{ + "Records: {{from}} - {{to}} / {{total}}": "", + "Records: {{total}}": "", + "{{pageLength}} per page": "", + "New update available": "", + "Command succeeded": "", + "Command failed ({{err}})": "", + "Restore Defaults": "", + "Are you sure you want to restore the default settings?": "", + "My Account": "", + "Signed in as {{name}}": "", + "Account": "", + "Sign Out": "", + "Options": "", + "Command": "", + "Show notifications": "", + "Help": "", + "Report an issue": "", + "Cycle Start": "", + "Feedhold": "", + "Homing": "", + "Sleep": "", + "Unlock": "", + "Reset": "", + "Authentication failed.": "", + "Error": "", + "Sign in to {{name}}": "", + "Username": "", + "Password": "", + "Sign In": "", + "Forgot your password?": "", + "A web-based interface for CNC milling controller running Grbl, Smoothieware, or TinyG": "", + "Learn more": "", + "Downloads": "", + "Checking for updates...": "", + "A new version of {{name}} is available": "", + "Version {{version}}": "", + "Latest version": "", + "You already have the newest version of {{name}}": "", + "New": "", + "Account status": "", + "Name": "", + "Confirm Password": "", + "Cancel": "", + "OK": "", + "An unexpected error has occurred.": "", + "Loading...": "", + "No data to display": "", + "Enabled": "", + "Disabled": "", + "Date Modified": "", + "Action": "", + "Edit Account": "", + "Delete Account": "", + "Delete": "", + "Are you sure you want to delete the account?": "", + "Update": "", + "Old Password": "", + "Change Password": "", + "New Password": "", + "Commands": "", + "Title": "", + "and more...": "", + "Are you sure you want to delete this item?": "", + "Events": "", + "Event": "", + "Choose an event": "", + "Startup (System only)": "", + "Open a serial port (System only)": "", + "Close a serial port (System only)": "", + "G-code: Load": "", + "G-code: Unload": "", + "G-code: Start": "", + "G-code: Stop": "", + "G-code: Pause": "", + "G-code: Resume": "", + "Feed Hold": "", + "Run Macro": "", + "Load Macro": "", + "Trigger": "", + "Choose an trigger": "", + "System": "", + "G-code": "", + "Startup": "", + "Open a serial port": "", + "Close a serial port": "", + "Automatically check for updates": "", + "Language": "", + "Save Changes": "", + "General": "", + "Workspace": "", + "About": "", + "The account name is already being used. Choose another name.": "", + "Passwords do not match.": "", + "Settings": "", + "Import": "", + "Are you sure you want to overwrite the workspace settings?": "", + "Import Error": "", + "Invalid file format.": "", + "Export": "", + "Fork Widget": "", + "Are you sure you want to fork this widget?": "", + "Remove Widget": "", + "Are you sure you want to remove this widget?": "", + "On": "", + "Off": "", + "Visualizer Widget": "", + "This widget visualizes a G-code file and simulates the tool path.": "", + "Connection Widget": "", + "This widget lets you establish a connection to a serial port.": "", + "Console Widget": "", + "This widget lets you read and write data to the CNC controller connected to a serial port.": "", + "Grbl Widget": "", + "This widget shows the Grbl state and provides Grbl specific features.": "", + "Smoothie Widget": "", + "This widget shows the Smoothie state and provides Smoothie specific features.": "", + "TinyG Widget": "", + "This widget shows the TinyG state and provides TinyG specific features.": "", + "Axes Widget": "", + "This widget shows the XYZ position. It includes jog controls, homing, and axis zeroing.": "", + "G-code Widget": "", + "This widget shows the current status of G-code commands.": "", + "Laser Widget": "", + "This widget allows you control laser intensity and turn the laser on/off.": "", + "Macro Widget": "", + "This widget can use macros to automate routine tasks.": "", + "Probe Widget": "", + "This widget helps you use a touch plate to set your Z zero offset.": "", + "Spindle Widget": "", + "This widget provides the spindle control.": "", + "Custom Widget": "", + "This widget gives you a communication interface for creating your own widget.": "", + "Webcam Widget": "", + "This widget lets you monitor a webcam.": "", + "Widgets": "", + "Server has stopped working": "", + "A problem caused the server to stop working correctly. Check out the server status and try again.": "", + "Reload": "", + "Drop G-code file here": "", + "Manage Widgets ({{inactiveCount}})": "", + "Collapse All": "", + "Expand All": "", + "Corrupted workspace settings": "", + "The workspace settings have become corrupted or invalid. Click Restore Defaults to restore default settings and continue.": "", + "Download workspace settings": "", + "Close": "", + "This field is required.": "", + "Passwords should be equal.": "", + "mm": "", + "in": "", + "deg": "", + "Axis": "", + "Machine Position": "", + "Work Position": "", + "Temporary Offsets (G92)": "", + "Zero Out Temporary Offsets (G92 X0 Y0 Z0)": "", + "Un-Zero Out Temporary Offsets (G92.1 X0 Y0 Z0)": "", + "Work Coordinate System (G54)": "", + "Work Coordinate System (G55)": "", + "Work Coordinate System (G56)": "", + "Work Coordinate System (G57)": "", + "Work Coordinate System (G58)": "", + "Work Coordinate System (G59)": "", + "Go To Work Zero (G0 X0 Y0 Z0)": "", + "Zero Out Work Offsets (G10 L20 P1 X0 Y0 Z0)": "", + "Zero Out Work Offsets (G10 L20 P2 X0 Y0 Z0)": "", + "Zero Out Work Offsets (G10 L20 P3 X0 Y0 Z0)": "", + "Zero Out Work Offsets (G10 L20 P4 X0 Y0 Z0)": "", + "Zero Out Work Offsets (G10 L20 P5 X0 Y0 Z0)": "", + "Zero Out Work Offsets (G10 L20 P6 X0 Y0 Z0)": "", + "Machine Coordinate System (G53)": "", + "Go To Machine Zero (G53 G0 X0 Y0 Z0)": "", + "Set Machine Zero (G28.3 X0 Y0 Z0)": "", + "Homing Sequence (G28.2 X0 Y0 Z0)": "", + "Edit": "", + "Go To Work Zero On X Axis (G0 X0)": "", + "Zero Out Work X Axis (G10 L20 P1 X0)": "", + "Zero Out Work X Axis (G10 L20 P2 X0)": "", + "Zero Out Work X Axis (G10 L20 P3 X0)": "", + "Zero Out Work X Axis (G10 L20 P4 X0)": "", + "Zero Out Work X Axis (G10 L20 P5 X0)": "", + "Zero Out Work X Axis (G10 L20 P6 X0)": "", + "Go To Machine Zero On X Axis (G53 G0 X0)": "", + "Zero Out Machine X Axis (G28.3 X0)": "", + "Home Machine X Axis (G28.2 X0)": "", + "Zero Out Temporary X Axis (G92 X0)": "", + "Un-Zero Out Temporary X Axis (G92.1 X0)": "", + "Go To Work Zero On Y Axis (G0 Y0)": "", + "Zero Out Work Y Axis (G10 L20 P1 Y0)": "", + "Zero Out Work Y Axis (G10 L20 P2 Y0)": "", + "Zero Out Work Y Axis (G10 L20 P3 Y0)": "", + "Zero Out Work Y Axis (G10 L20 P4 Y0)": "", + "Zero Out Work Y Axis (G10 L20 P5 Y0)": "", + "Zero Out Work Y Axis (G10 L20 P6 Y0)": "", + "Go To Machine Zero On Y Axis (G53 G0 Y0)": "", + "Zero Out Machine Y Axis (G28.3 Y0)": "", + "Home Machine Y Axis (G28.2 Y0)": "", + "Zero Out Temporary Y Axis (G92 Y0)": "", + "Un-Zero Out Temporary Y Axis (G92.1 Y0)": "", + "Go To Work Zero On Z Axis (G0 Z0)": "", + "Zero Out Work Z Axis (G10 L20 P1 Z0)": "", + "Zero Out Work Z Axis (G10 L20 P2 Z0)": "", + "Zero Out Work Z Axis (G10 L20 P3 Z0)": "", + "Zero Out Work Z Axis (G10 L20 P4 Z0)": "", + "Zero Out Work Z Axis (G10 L20 P5 Z0)": "", + "Zero Out Work Z Axis (G10 L20 P6 Z0)": "", + "Go To Machine Zero On Z Axis (G53 G0 Z0)": "", + "Zero Out Machine Z Axis (G28.3 Z0)": "", + "Home Machine Z Axis (G28.2 Z0)": "", + "Zero Out Temporary Z Axis (G92 Z0)": "", + "Un-Zero Out Temporary Z Axis (G92.1 Z0)": "", + "Go To Work Zero On A Axis (G0 A0)": "", + "Zero Out Work A Axis (G10 L20 P1 A0)": "", + "Zero Out Work A Axis (G10 L20 P2 A0)": "", + "Zero Out Work A Axis (G10 L20 P3 A0)": "", + "Zero Out Work A Axis (G10 L20 P4 A0)": "", + "Zero Out Work A Axis (G10 L20 P5 A0)": "", + "Zero Out Work A Axis (G10 L20 P6 A0)": "", + "Go To Machine Zero On A Axis (G53 G0 A0)": "", + "Zero Out Machine A Axis (G28.3 A0)": "", + "Home Machine A Axis (G28.2 A0)": "", + "Zero Out Temporary A Axis (G92 A0)": "", + "Un-Zero Out Temporary A Axis (G92.1 A0)": "", + "Axes": "", + "Keypad jogging": "", + "Expand": "", + "Collapse": "", + "More": "", + "Enter Full Screen": "", + "Exit Full Screen": "", + "User Defined": "", + "Custom distance for every move operation": "", + "Increase custom distance by one unit": "", + "Decrease custom distance by one unit": "", + "Move X- Y+": "", + "Move Y+": "", + "Move X+ Y+": "", + "Move Z+": "", + "Move A+": "", + "Go To Work Zero": "", + "Move X-": "", + "Move To XY Zero (G0 X0 Y0)": "", + "Move X+": "", + "Move To Z Zero (G0 Z0)": "", + "Move To A Zero (G0 A0)": "", + "Go To Machine Zero": "", + "Move X- Y-": "", + "Move Y-": "", + "Move X+ Y-": "", + "Move Z-": "", + "Move A-": "", + "Predefined Position": "", + "Go To Predefined Position 1 (G28)": "", + "Go To Predefined Position 2 (G30)": "", + "Set Predefined Position 1 (G28.1)": "", + "Set Predefined Position 2 (G30.1)": "", + "Right": "", + "Left": "", + "Up": "", + "Down": "", + "Page Up": "", + "Page Down": "", + "Right Square Bracket": "", + "Left Square Bracket": "", + "0.1x Move": "", + "Alt": "", + "10x Move": "", + "⇧ Shift": "", + "X-axis": "", + "Y-axis": "", + "Z-axis": "", + "A-axis": "", + "Custom Commands": "", + "Axes Settings": "", + "ShuttleXpress": "", + "Feed Rate Range: {{min}} - {{max}} mm/min": "", + "Repeat Rate: {{hertz}}Hz": "", + "60 Times per Second": "", + "45 Times per Second": "", + "30 Times per Second": "", + "15 Times per Second": "", + "10 Times per Second": "", + "5 Times per Second": "", + "2 Times per Second": "", + "Once Every Second": "", + "Distance Overshoot: {{overshoot}}x": "", + "Manufacturer: {{manufacturer}}": "", + "Port": "", + "No ports available": "", + "Choose a port": "", + "Refresh": "", + "Baud rate": "", + "Choose a baud rate": "", + "Connect automatically": "", + "Open": "", + "Error opening serial port '{{- port}}'": "", + "Connection": "", + "No serial connection": "", + "Connected to {{-port}} with a baud rate of {{baudrate}}": "", + "Console": "", + "Clear all": "", + "URL not configured": "", + "The widget is currently disabled": "", + "Enable": "", + "Disable": "", + "URL": "", + "Min": "", + "Max": "", + "Dimension": "", + "Sent": "", + "Received": "", + "Start Time": "", + "Elapsed Time": "", + "Finish Time": "", + "Remaining Time": "", + "Controller State": "", + "Controller Settings": "", + "Hide": "", + "Show": "", + "Queue Reports": "", + "Planner Buffer": "", + "Receive Buffer": "", + "Status Reports": "", + "State": "", + "Feed Rate": "", + "Spindle": "", + "Tool Number": "", + "Modal Groups": "", + "Motion": "", + "Coordinate": "", + "Plane": "", + "Distance": "", + "Units": "", + "Program": "", + "Coolant": "", + "Status Report (?)": "", + "Check G-code Mode ($C)": "", + "Homing ($H)": "", + "Kill Alarm Lock ($X)": "", + "Sleep ($SLP)": "", + "Help ($)": "", + "Settings ($$)": "", + "View G-code Parameters ($#)": "", + "View G-code Parser State ($G)": "", + "View Build Info ($I)": "", + "View Startup Blocks ($N)": "", + "Laser": "", + "Laser Intensity Control": "", + "Laser Test": "", + "Power (%)": "", + "Test duration": "", + "ms": "", + "Maximum value": "", + "Laser Off": "", + "New Macro": "", + "Macro Name": "", + "Macro Commands": "", + "Macro Variables": "", + "Edit Macro": "", + "Delete Macro": "", + "Are you sure you want to delete this macro?": "", + "Yes": "", + "No": "", + "Are you sure you want to load this macro?": "", + "Macro": "", + "No macros": "", + "Run": "", + "Probe": "", + "mm/min": "", + "in/min": "", + "Probe Command": "", + "G38.2 probe toward workpiece, stop on contact, signal error if failure": "", + "G38.3 probe toward workpiece, stop on contact": "", + "G38.4 probe away from workpiece, stop on loss of contact, signal error if failure": "", + "G38.5 probe away from workpiece, stop on loss of contact": "", + "Probe Depth": "", + "Probe Feedrate": "", + "Touch Plate Thickness": "", + "Retraction Distance": "", + "Z-Probe": "", + "Apply tool length offset": "", + "Run Z-Probe": "", + "Spindle Speed": "", + "RPM": "", + "Queue Flush (%)": "", + "Kill Job (^d)": "", + "Clear Alarm ($clear)": "", + "Show System Settings": "", + "Show All Settings": "", + "List Self Tests": "", + "Power Management": "", + "Enable Motors": "", + "Disable Motors": "", + "Motor {{n}}": "", + "Velocity": "", + "Line": "", + "Path": "", + "G-code not loaded": "", + "Inches (G20)": "", + "Millimeters (G21)": "", + "Work Coordinate System": "", + "Enable 3D View": "", + "Disable 3D View": "", + "3D View": "", + "Projection": "", + "Perspective Projection": "", + "Orthographic Projection": "", + "Scene Objects": "", + "Display G-code Filename": "", + "Hide Coordinate System": "", + "Show Coordinate System": "", + "Hide Grid Line Numbers": "", + "Show Grid Line Numbers": "", + "Hide Toolhead": "", + "Show Toolhead": "", + "File folder": "", + "{{extname}} File": "", + "File": "", + "3D rendering": "", + "Reset Position": "", + "Zoom In": "", + "Zoom Out": "", + "Move the camera": "", + "Rotate the camera": "", + "Watch Directory": "", + "Date modified": "", + "Type": "", + "Size": "", + "Load G-code": "", + "Upload G-code": "", + "Browse...": "", + "Pause": "", + "Stop": "", + "Webcam": "", + "Webcam Settings": "", + "Media Source": "", + "Use a built-in camera or a connected webcam": "", + "Use a M-JPEG stream over HTTP": "", + "Webcam is off": "", + "Rotate Left": "", + "Rotate Right": "", + "Flip Horizontally": "", + "Flip Vertically": "", + "Crosshair": "" +}