diff --git a/.gitignore b/.gitignore index 4c30d49..8bb97eb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ node_modules .DS_Store npm-debug.log -.env \ No newline at end of file +.env +.history \ No newline at end of file diff --git a/blockly_unix_database.db b/blockly_unix_database.db index 1ed4922..e841c4e 100644 Binary files a/blockly_unix_database.db and b/blockly_unix_database.db differ diff --git a/index.html b/index.html index 7ec9d85..71f80a0 100644 --- a/index.html +++ b/index.html @@ -337,10 +337,12 @@ { kind: 'block', type: 'tail' }, { kind: 'block', type: 'wc' }, { kind: 'block', type: 'sort' }, + { kind: 'block', type: 'cat' }, { kind: 'block', type: 'uniq' }, { kind: 'block', type: 'cut' }, { kind: 'block', type: 'grep' }, - { kind: 'block', type: 'sed' } + { kind: 'block', type: 'sed' }, + { kind: 'block', type: 'echo' } ] }, { @@ -365,7 +367,6 @@ colour: '#FE9B13', contents: [ { kind: 'block', type: 'gzip' }, - { kind: 'block', type: 'cat' }, { kind: 'block', type: 'touch' }, { kind: 'block', type: 'ln' }, { kind: 'block', type: 'mv' }, @@ -556,7 +557,6 @@ colour: '#009688', contents: [ { kind: 'block', type: 'kill' }, - { kind: 'block', type: 'echo' }, { kind: 'block', type: 'sleep' } ] } diff --git a/public/blocks/catBlock.js b/public/blocks/catBlock.js index c784e2d..ea63078 100644 --- a/public/blocks/catBlock.js +++ b/public/blocks/catBlock.js @@ -1,6 +1,6 @@ var catBlock = { type: 'cat', - category: 'File Operations', + category: 'Text Processing', unix_description: [ { lineNumbers: '-n', @@ -38,7 +38,7 @@ var catBlock = { checked: false } ], - style: 'File Operations', + style: 'Text Processing', previousStatement: 'Action', nextStatement: 'Action', tooltip: '%{BKY_CAT_TOOLTIP}', diff --git a/public/blocks/dateBlock.js b/public/blocks/dateBlock.js index f405941..c785b45 100644 --- a/public/blocks/dateBlock.js +++ b/public/blocks/dateBlock.js @@ -20,7 +20,6 @@ var dateBlock = { extensions: ['integer_validation'], style: 'System Monitoring', - previousStatement: 'Action', nextStatement: 'Action', tooltip: '%{BKY_DATE_TOOLTIP}', helpUrl: '%{BKY_DATE_HELPURL}' diff --git a/public/blocks/dfBlock.js b/public/blocks/dfBlock.js index 792facc..26f6165 100644 --- a/public/blocks/dfBlock.js +++ b/public/blocks/dfBlock.js @@ -49,7 +49,6 @@ var dfBlock = { extensions: ['integer_validation'], style: 'System Monitoring', - previousStatement: 'Action', nextStatement: 'Action', tooltip: '%{BKY_DF_TOOLTIP}', helpUrl: '%{BKY_DF_HELPURL}' diff --git a/public/blocks/echoBlock.js b/public/blocks/echoBlock.js index d658781..134b942 100644 --- a/public/blocks/echoBlock.js +++ b/public/blocks/echoBlock.js @@ -1,7 +1,7 @@ var echoBlock = { type: 'echo', message0: '%{BKY_ECHO}', - category: 'Other Commands', + category: 'Text Processing', unix_description: [ { command: 'str' @@ -12,11 +12,10 @@ var echoBlock = { { type: 'field_input', name: 'echoInput', - text: '' + text: 'Hello World!' } ], - style: 'Other Commands', - previousStatement: 'Action', + style: 'Text Processing', nextStatement: 'Action', tooltip: '%{BKY_ECHO_TOOLTIP}', helpUrl: '%{BKY_ECHO_HELPURL}' // URL to further information or documentation. diff --git a/public/blocks/headBlock.js b/public/blocks/headBlock.js index 77836c5..7c21588 100644 --- a/public/blocks/headBlock.js +++ b/public/blocks/headBlock.js @@ -5,9 +5,7 @@ var headBlock = { unix_description: [ { bytes: '-c', - lines: '-n', - QUIET: '--quiet', - VERBOSE: '--verbose' + lines: '-n' } ], message1: '%{BKY_HEAD_METRIC}', diff --git a/public/blocks/hostnameBlock.js b/public/blocks/hostnameBlock.js index 15c3eb1..736951a 100644 --- a/public/blocks/hostnameBlock.js +++ b/public/blocks/hostnameBlock.js @@ -56,7 +56,6 @@ var hostnameBlock = { extensions: ['integer_validation'], style: 'System Monitoring', - previousStatement: 'Action', nextStatement: 'Action', tooltip: '%{BKY_HOSTNAME_TOOLTIP}', helpUrl: '%{BKY_HOSTNAME_HELPURL}' diff --git a/public/blocks/killBlock.js b/public/blocks/killBlock.js index c667ad9..5acda62 100644 --- a/public/blocks/killBlock.js +++ b/public/blocks/killBlock.js @@ -15,8 +15,6 @@ var killBlock = { } ], style: 'Other Commands', - previousStatement: 'Action', - nextStatement: 'Action', tooltip: '%{BKY_KILL_TOOLTIP}', helpUrl: '%{BKY_KILL_HELPURL}' }; diff --git a/public/blocks/lnBlock.js b/public/blocks/lnBlock.js index 661dd31..d6a8f59 100644 --- a/public/blocks/lnBlock.js +++ b/public/blocks/lnBlock.js @@ -50,7 +50,6 @@ var lnBlock = { } ], style: 'File Operations', - nextStatement: 'Action', tooltip: '%{BKY_LN_TOOLTIP}', helpUrl: 'https://linux.die.net/man/1/ln' }; diff --git a/public/blocks/mkdirBlock.js b/public/blocks/mkdirBlock.js index 70626f2..3ee0436 100644 --- a/public/blocks/mkdirBlock.js +++ b/public/blocks/mkdirBlock.js @@ -26,7 +26,6 @@ var mkdirBlock = { } ], style: 'Directory Operations', - nextStatement: 'Action', tooltip: '%{BKY_MKDIR_TOOLTIP}', helpUrl: '' // URL to further information or documentation. }; diff --git a/public/blocks/mvBlock.js b/public/blocks/mvBlock.js index 7f937bd..3aa0376 100644 --- a/public/blocks/mvBlock.js +++ b/public/blocks/mvBlock.js @@ -47,7 +47,6 @@ var mvBlock = { } ], style: 'File Operations', - nextStatement: 'Action', tooltip: 'Μετακινεί ή μετονομάζει αρχεία.', helpUrl: 'https://linux.die.net/man/1/mv' }; diff --git a/public/blocks/pingBlock.js b/public/blocks/pingBlock.js index 9385721..f64b93a 100644 --- a/public/blocks/pingBlock.js +++ b/public/blocks/pingBlock.js @@ -48,7 +48,6 @@ var pingBlock = { category: 'Network Operations', style: 'Network Operations', - previousStatement: 'Action', nextStatement: 'Action', tooltip: '%{BKY_PING_TOOLTIP}' }; diff --git a/public/blocks/psBlock.js b/public/blocks/psBlock.js index 4de0f94..4bc2be4 100644 --- a/public/blocks/psBlock.js +++ b/public/blocks/psBlock.js @@ -58,7 +58,6 @@ var psBlock = { extensions: ['integer_validation'], style: 'System Monitoring', - previousStatement: 'Action', nextStatement: 'Action', tooltip: '%{BKY_PS_TOOLTIP}', helpUrl: '%{BKY_PS_HELPURL}' // URL to further information or documentation. diff --git a/public/blocks/rmBlock.js b/public/blocks/rmBlock.js index a10ae7c..e1ab116 100644 --- a/public/blocks/rmBlock.js +++ b/public/blocks/rmBlock.js @@ -45,8 +45,6 @@ var rmBlock = { ], extensions: [], style: 'File Operations', - previousStatement: 'Action', - nextStatement: 'Action', tooltip: '%{BKY_RM_TOOLTIP}', helpUrl: 'https://linux.die.net/man/1/rm' }; diff --git a/public/blocks/sleepBlock.js b/public/blocks/sleepBlock.js index c8bb00c..97d0fae 100644 --- a/public/blocks/sleepBlock.js +++ b/public/blocks/sleepBlock.js @@ -15,8 +15,6 @@ var sleepBlock = { } ], style: 'Other Commands', - previousStatement: 'Action', - nextStatement: 'Action', tooltip: '%{BKY_SLEEP_TOOLTIP}', helpUrl: 'https://linux.die.net/man/1/sleep' }; diff --git a/public/blocks/tailBlock.js b/public/blocks/tailBlock.js index 9d5bfea..c76afe2 100644 --- a/public/blocks/tailBlock.js +++ b/public/blocks/tailBlock.js @@ -16,7 +16,7 @@ var tailBlock = { type: 'field_dropdown', name: 'metric_type', options: [ - ['elements', 'elements'], + ['lines', 'lines'], ['bytes', 'bytes'] ] } diff --git a/public/blocks/touchBlock.js b/public/blocks/touchBlock.js index bd65477..896dad4 100644 --- a/public/blocks/touchBlock.js +++ b/public/blocks/touchBlock.js @@ -58,8 +58,6 @@ var touchBlock = { ], extensions: ['validate_touch_time_t', 'validate_touch_time_d'], style: 'File Operations', - previousStatement: 'Action', - nextStatement: 'Action', tooltip: '%{BKY_TOUCH_TOOLTIP}', helpUrl: '%{BKY_TOUCH_HELPURL}' // URL to further information or documentation. }; diff --git a/public/blocks/uptimeBlock.js b/public/blocks/uptimeBlock.js index b025a5a..1176686 100644 --- a/public/blocks/uptimeBlock.js +++ b/public/blocks/uptimeBlock.js @@ -39,7 +39,6 @@ var uptimeBlock = { extensions: ['integer_validation'], style: 'System Monitoring', - previousStatement: 'Action', nextStatement: 'Action', tooltip: '%{BKY_UPTIME_TOOLTIP}', helpUrl: '%{BKY_UPTIME_HELPURL}' diff --git a/public/blocks/whoBlock.js b/public/blocks/whoBlock.js index e377642..cac2558 100644 --- a/public/blocks/whoBlock.js +++ b/public/blocks/whoBlock.js @@ -56,7 +56,6 @@ var whoBlock = { extensions: ['integer_validation'], style: 'System Monitoring', - previousStatement: 'Action', nextStatement: 'Action', tooltip: '%{BKY_WHO_TOOLTIP}', helpUrl: '%{BKY_WHO_HELPURL}' diff --git a/public/js/el.js b/public/js/el.js index 9844f61..772496b 100644 --- a/public/js/el.js +++ b/public/js/el.js @@ -54,9 +54,6 @@ Blockly.Msg['CUT_END'] = 'Τέλος : '; Blockly.Msg['CUT_TOOLTIP'] = 'Αποκοπή σε ένα αρχείο ή μια συμβολοσειρά.\nΓια συνεχόμενες αποκοπές χρησιμοποιήστε κόμμα(,) , για αποκοπές εύρους χρησιμοποιήστε παύλα (-)'; Blockly.Msg['CUT_HELPURL'] = 'https://www.google.com/'; -Blockly.Msg['ECHO'] = 'Εγγραφή στην έξοδο'; -Blockly.Msg['ECHO_TOOLTIP'] = 'Εγγραφή παραμέτρων στην τυπική έξοδο'; -Blockly.Msg['ECHO_HELPURL'] = 'https://www.google.com/'; Blockly.Msg['FIELD_NUMBER'] = 'Τρέχων πεδίο'; Blockly.Msg['FIELD_NUMBER_TOOLTIP'] = 'Αντιπροσωπεύει τον τρέχοντα αριθμό πεδίου (στήλη)'; @@ -98,17 +95,17 @@ Blockly.Msg['GREP_CASE_INSENSITIVE'] = 'Χωρίς διάκριση πεζών- Blockly.Msg['GREP_WHOLE_WORD_SEARCH'] = 'Αναζήτηση πλήρους λέξης %1'; Blockly.Msg['GREP_COUNT_MATCHES'] = 'Μέτρηση των αντιστοιχιών %1'; Blockly.Msg['GREP_PATTERN_NEGATION'] = - 'Εμφάνιση γραμμών που δεν ταιριάζουν στο μοτίβο %1'; + 'Έξοδος γραμμών που δεν ταιριάζουν στο μοτίβο %1'; Blockly.Msg['GREP_RECURSIVE_SEARCH'] = 'Αναζήτηση αναδρομικά %1'; -Blockly.Msg['GREP_DISPLAY_LINE_NUMBERS'] = 'Εμφάνιση αριθμών γραμμών %1'; +Blockly.Msg['GREP_DISPLAY_LINE_NUMBERS'] = 'Έξοδος αριθμών γραμμών %1'; Blockly.Msg['GREP_STOP_AFTER_NUM_MATCHES'] = 'Σταμάτησε μετά από %1 αντιστοιχίες'; Blockly.Msg['GREP_MULTIPLE_PATTERN_SEARCH'] = 'Αναζήτηση με πολλαπλά μοτίβα %1'; Blockly.Msg['GREP_PRINT_CONTEXT_BEFORE_MATCH'] = - 'Εμφάνιση %1 γραμμών πριν από την αντιστοιχία %2'; + 'Έξοδος %1 γραμμών πριν από την αντιστοιχία %2'; Blockly.Msg['GREP_PRINT_CONTEXT_AFTER_MATCH'] = - 'Εμφάνιση %1 γραμμών μετά την αντιστοιχία %2'; -Blockly.Msg['GREP_SHOW_FILENAME'] = 'Εμφάνιση ονόματος αρχείου %1'; + 'Έξοδος %1 γραμμών μετά την αντιστοιχία %2'; +Blockly.Msg['GREP_SHOW_FILENAME'] = 'Έξοδος ονόματος αρχείου %1'; Blockly.Msg['GREP_TOOLTIP'] = 'Αναζήτηση σε αρχείο με μοτίβο'; Blockly.Msg['GREP_HELPURL'] = 'https://www.google.com/'; Blockly.Msg['GZIP_FILE'] = '%1 Αρχείο'; @@ -120,13 +117,13 @@ Blockly.Msg['GZIP_HELPURL'] = 'https://www.google.com/'; Blockly.Msg['HEAD_MESSAGE'] = 'Πρώτα στοιχεία αρχείου'; Blockly.Msg['HEAD_METRIC'] = 'Μετρική %1'; Blockly.Msg['HEAD_NUMBER_OF'] = 'Αριθμός %1'; -Blockly.Msg['HEAD_TOOLTIP'] = 'Εμφάνιση του πρώτου μέρους των αρχείων'; +Blockly.Msg['HEAD_TOOLTIP'] = 'Έξοδος του πρώτου μέρους των αρχείων'; Blockly.Msg['HEAD_HELPURL'] = 'https://www.google.com/'; Blockly.Msg['LS_MESSAGE'] = 'Λίστα αρχείων & καταλόγων'; -Blockly.Msg['LS_SHOW_DETAILS'] = 'Εμφάνιση λεπτομερειών %1'; +Blockly.Msg['LS_SHOW_DETAILS'] = 'Έξοδος λεπτομερειών %1'; Blockly.Msg['LS_SUBDIRECTORIES'] = 'Αναζήτηση σε όλους τους υποκαταλόγους %1'; -Blockly.Msg['LS_HIDDEN'] = 'Εμφάνιση κρυφών αρχείων %1'; -Blockly.Msg['LS_REVERSE_ORDER'] = 'Εμφάνιση σε αντίστροφη σειρά %1'; +Blockly.Msg['LS_HIDDEN'] = 'Έξοδος κρυφών αρχείων %1'; +Blockly.Msg['LS_REVERSE_ORDER'] = 'Έξοδος σε αντίστροφη σειρά %1'; Blockly.Msg['LS_TOOLTIP'] = 'Λίστα περιεχομένων καταλόγου'; Blockly.Msg['LS_HELPURL'] = 'https://www.google.com/'; Blockly.Msg['LN_MESSAGE'] = 'Σύνδεση αρχείων'; @@ -921,9 +918,9 @@ Blockly.Msg['UNIQ_COUNT'] = 'Μέτρηση των εμφανίσεων των \n γραμμών που αφαιρέθηκαν %1'; Blockly.Msg['UNIQ_CASE'] = ' Χωρίς διάκριση πεζών-κεφαλαίων %1'; Blockly.Msg['UNIQ_OUTPUT_NON_REPEATED_LINES'] = - 'Εμφάνιση μόνο μη επαναλαμβανόμενων γραμμών %1'; + 'Έξοδος μόνο μη επαναλαμβανόμενων γραμμών %1'; Blockly.Msg['UNIQ_OUTPUT_SINGLE_COPY_OF_REPEATED_LINES'] = - 'Εμφάνιση μόνο ενός αντίγραφου των επαναλαμβανόμενων γραμμών %1'; + 'Έξοδος μόνο ενός αντίγραφου των επαναλαμβανόμενων γραμμών %1'; Blockly.Msg['UNIQ_SKIP_CHARS'] = 'Παράλειψη των πρώτων %1 χαρακτήρων κάθε γραμμής'; Blockly.Msg['UNIQ_TOOLTIP'] = @@ -959,48 +956,47 @@ Blockly.Msg['CATVARIABLES'] = 'Μεταβλητές'; // df command Blockly.Msg['DF'] = 'Χρήση χώρου δίσκου'; -Blockly.Msg['DF_SHOW_FS_TYPE'] = 'Εμφάνιση τύπου συστήματος αρχείων %1'; -Blockly.Msg['DF_SHOW_TOTAL_BLOCKS'] = 'Εμφάνιση συνολικού αριθμού blocks %1'; -Blockly.Msg['DF_SHOW_USED_BLOCKS'] = 'Εμφάνιση χρησιμοποιημένων blocks %1'; -Blockly.Msg['DF_SHOW_AVAILABLE_BLOCKS'] = 'Εμφάνιση διαθέσιμων blocks %1'; +Blockly.Msg['DF_SHOW_FS_TYPE'] = 'Έξοδος τύπου συστήματος αρχείων %1'; +Blockly.Msg['DF_SHOW_TOTAL_BLOCKS'] = 'Έξοδος συνολικού αριθμού blocks %1'; +Blockly.Msg['DF_SHOW_USED_BLOCKS'] = 'Έξοδος χρησιμοποιημένων blocks %1'; +Blockly.Msg['DF_SHOW_AVAILABLE_BLOCKS'] = 'Έξοδος διαθέσιμων blocks %1'; Blockly.Msg['DF_TOOLTIP'] = 'Εκτελεί την εντολή df για εμφάνιση πληροφοριών χρήσης χώρου δίσκου'; Blockly.Msg['DF_HELPURL'] = 'https://man7.org/linux/man-pages/man1/df.1.html'; // uptime command Blockly.Msg['UPTIME'] = 'Χρόνος λειτουργίας συστήματος'; -Blockly.Msg['UPTIME_PRETTY'] = 'Εμφάνιση χρόνου λειτουργίας σε όμορφη μορφή %1'; +Blockly.Msg['UPTIME_PRETTY'] = 'Έξοδος χρόνου λειτουργίας σε όμορφη μορφή %1'; Blockly.Msg['UPTIME_SINCE'] = - 'Εμφάνιση του χρόνου λειτουργίας από την εκκίνηση %1'; -Blockly.Msg['UPTIME_KERNEL_VERSION'] = 'Εμφάνιση της έκδοσης του πυρήνα %1'; + 'Έξοδος του χρόνου λειτουργίας από την εκκίνηση %1'; +Blockly.Msg['UPTIME_KERNEL_VERSION'] = 'Έξοδος της έκδοσης του πυρήνα %1'; Blockly.Msg['UPTIME_TOOLTIP'] = 'Εμφανίζει τον χρόνο λειτουργίας του συστήματος, τον αριθμό των χρηστών και τους μέσους όρους φορτίου'; Blockly.Msg['UPTIME_HELPURL'] = 'https://man7.org/linux/man-pages/man1/uptime.1.html'; // who command -Blockly.Msg['WHO'] = 'Εμφάνιση ποιοι χρήστες είναι συνδεδεμένοι'; -Blockly.Msg['WHO_SHOW_HEADING'] = 'Εμφάνιση πληροφοριών κεφαλίδας %1'; -Blockly.Msg['WHO_SHOW_ALL'] = 'Εμφάνιση όλων των πληροφοριών %1'; -Blockly.Msg['WHO_SHOW_USERS'] = 'Εμφάνιση διεργασιών χρηστών %1'; -Blockly.Msg['WHO_SHOW_BOOT_TIME'] = 'Εμφάνιση τελευταίου χρόνου εκκίνησης %1'; -Blockly.Msg['WHO_SHOW_RUNLEVEL'] = 'Εμφάνιση του τρέχοντος runlevel %1'; +Blockly.Msg['WHO'] = 'Έξοδος ποιοι χρήστες είναι συνδεδεμένοι'; +Blockly.Msg['WHO_SHOW_HEADING'] = 'Έξοδος πληροφοριών κεφαλίδας %1'; +Blockly.Msg['WHO_SHOW_ALL'] = 'Έξοδος όλων των πληροφοριών %1'; +Blockly.Msg['WHO_SHOW_USERS'] = 'Έξοδος διεργασιών χρηστών %1'; +Blockly.Msg['WHO_SHOW_BOOT_TIME'] = 'Έξοδος τελευταίου χρόνου εκκίνησης %1'; +Blockly.Msg['WHO_SHOW_RUNLEVEL'] = 'Έξοδος του τρέχοντος runlevel %1'; Blockly.Msg['WHO_TOOLTIP'] = 'Εμφανίζει ποιοι χρήστες είναι συνδεδεμένοι και σχετικές πληροφορίες συστήματος'; Blockly.Msg['WHO_HELPURL'] = 'https://man7.org/linux/man-pages/man1/who.1.html'; // hostname command -Blockly.Msg['SYSTEM_HOSTNAME_COMMAND'] = 'Εμφάνιση του ονόματος του συστήματος'; -Blockly.Msg['HOSTNAME_SHOW_HOSTNAME'] = - 'Εμφάνιση του ονόματος του συστήματος %1'; +Blockly.Msg['SYSTEM_HOSTNAME_COMMAND'] = 'Έξοδος του ονόματος του συστήματος'; +Blockly.Msg['HOSTNAME_SHOW_HOSTNAME'] = 'Έξοδος του ονόματος του συστήματος %1'; Blockly.Msg['HOSTNAME_SET_HOSTNAME'] = 'Ορισμός του ονόματος του συστήματος σε %1'; Blockly.Msg['HOSTNAME_SHOW_ALIASES'] = - 'Εμφάνιση ψευδωνύμων του ονόματος συστήματος %1'; + 'Έξοδος ψευδωνύμων του ονόματος συστήματος %1'; Blockly.Msg['HOSTNAME_SHOW_IP'] = - 'Εμφάνιση της IP διεύθυνσης που συνδέεται με το όνομα συστήματος %1'; + 'Έξοδος της IP διεύθυνσης που συνδέεται με το όνομα συστήματος %1'; Blockly.Msg['HOSTNAME_SHOW_FQDN'] = - 'Εμφάνιση του πλήρως καταρτισμένου ονόματος τομέα (FQDN) %1'; + 'Έξοδος του πλήρως καταρτισμένου ονόματος τομέα (FQDN) %1'; Blockly.Msg['HOSTNAME_TOOLTIP'] = 'Εμφανίζει ή ορίζει το όνομα του συστήματος και σχετικές πληροφορίες'; Blockly.Msg['HOSTNAME_HELPURL'] = @@ -1008,8 +1004,8 @@ Blockly.Msg['HOSTNAME_HELPURL'] = // date command Blockly.Msg['SYSTEM_DATE_COMMAND'] = - 'Εμφάνιση της τρέχουσας ημερομηνίας και ώρας'; -Blockly.Msg['DATE_UTC_TIME'] = 'Εμφάνιση ώρας σε UTC %1'; + 'Έξοδος της τρέχουσας ημερομηνίας και ώρας'; +Blockly.Msg['DATE_UTC_TIME'] = 'Έξοδος ώρας σε UTC %1'; Blockly.Msg['DATE_TOOLTIP'] = 'Εμφανίζει ή ορίζει την ημερομηνία και ώρα του συστήματος'; Blockly.Msg['DATE_HELPURL'] = @@ -1023,9 +1019,9 @@ Blockly.Msg['KILL_HELPURL'] = 'https://man7.org/linux/man-pages/man1/kill.1.html'; // echo command -Blockly.Msg['ECHO'] = 'Εκτύπωση μηνύματος'; -Blockly.Msg['ECHO_BLOCK'] = 'εκτύπωση μηνύματος %1'; -Blockly.Msg['ECHO_TOOLTIP'] = 'Εκτυπώνει ένα μήνυμα στο τερματικό'; +Blockly.Msg['ECHO'] = 'Εγγραφή στην έξοδο:'; +Blockly.Msg['ECHO_TOOLTIP'] = 'Εγγραφή παραμέτρων στην τυπική έξοδο'; +Blockly.Msg['ECHO_BLOCK'] = '%1'; Blockly.Msg['ECHO_HELPURL'] = 'https://man7.org/linux/man-pages/man1/echo.1.html'; @@ -1038,11 +1034,11 @@ Blockly.Msg['SLEEP_HELPURL'] = // ps command Blockly.Msg['PS'] = 'Κατάσταση διεργασίας'; -Blockly.Msg['PS_SHOW_ALL'] = 'Εμφάνιση όλων των διεργασιών %1'; -Blockly.Msg['PS_SHOW_USER'] = 'Εμφάνιση διεργασιών για χρήστη %1'; -Blockly.Msg['PS_SHOW_PID'] = 'Εμφάνιση διεργασίας με PID %1'; +Blockly.Msg['PS_SHOW_ALL'] = 'Έξοδος όλων των διεργασιών %1'; +Blockly.Msg['PS_SHOW_USER'] = 'Έξοδος διεργασιών για χρήστη %1'; +Blockly.Msg['PS_SHOW_PID'] = 'Έξοδος διεργασίας με PID %1'; Blockly.Msg['PS_FORMAT'] = 'Μορφή εξόδου %1'; -Blockly.Msg['PS_SHOW_THREAD'] = 'Εμφάνιση νημάτων %1'; +Blockly.Msg['PS_SHOW_THREAD'] = 'Έξοδος νημάτων %1'; Blockly.Msg['PS_TOOLTIP'] = 'Εκτελεί την εντολή ps για εμφάνιση πληροφοριών διεργασίας'; Blockly.Msg['PS_HELPURL'] = 'https://man7.org/linux/man-pages/man1/ps.1.html'; diff --git a/public/js/en.js b/public/js/en.js index a58a095..3df49ac 100644 --- a/public/js/en.js +++ b/public/js/en.js @@ -28,12 +28,12 @@ Blockly.Msg['BEGIN_END'] = 'Execute once\n before/after data processing'; Blockly.Msg['BEGIN_END_TOOLTIP'] = 'pattern-directed scanning and processing language'; Blockly.Msg['BEGIN_END_HELPURL'] = 'https://www.google.com/'; -Blockly.Msg['CAT'] = 'Show file'; +Blockly.Msg['CAT'] = 'Output file'; Blockly.Msg['CAT_LINE_NUMBERS'] = 'With line numbers'; Blockly.Msg['CAT_TOOLTIP'] = 'Concatenate and print files'; Blockly.Msg['CAT_SQUEEZE_EMPTY_LINES'] = 'Squeeze empty lines %1'; Blockly.Msg['CAT_END_OF_LINE_WITH_DOLLAR'] = - 'Display non-printing characters \n and display a dollar sign at the end of each line %1'; + 'Output non-printing characters \n and output a dollar sign at the end of each line %1'; Blockly.Msg['CAT_HELPURL'] = 'https://www.google.com/'; Blockly.Msg['CD'] = 'Change directory to'; Blockly.Msg['CD_TOOLTIP'] = 'Concatenate and print files'; @@ -53,9 +53,6 @@ Blockly.Msg['CUT_END'] = 'End : '; Blockly.Msg['CUT_TOOLTIP'] = 'Cut out in a file or a string.\nFor consecutive cuts use comma(,) , for range cuts use hyphen (-)'; Blockly.Msg['CUT_HELPURL'] = 'https://www.google.com/'; -Blockly.Msg['ECHO'] = 'Write to output'; -Blockly.Msg['ECHO_TOOLTIP'] = 'Write arguments to standard output'; -Blockly.Msg['ECHO_HELPURL'] = 'https://www.google.com/'; Blockly.Msg['FIELD_NUMBER'] = 'Current field'; Blockly.Msg['FIELD_NUMBER_TOOLTIP'] = 'Represents the current field (column) number'; @@ -95,13 +92,14 @@ Blockly.Msg['GREP_REGULAR_EXPRESSION_CHECK'] = 'Regular expression %1'; Blockly.Msg['GREP_CASE_INSENSITIVE'] = 'Case insensitive %1'; Blockly.Msg['GREP_WHOLE_WORD_SEARCH'] = 'Whole word search %1'; Blockly.Msg['GREP_COUNT_MATCHES'] = 'Count the matches %1'; -Blockly.Msg['GREP_PATTERN_NEGATION'] = "Show lines that don't match pattern %1"; +Blockly.Msg['GREP_PATTERN_NEGATION'] = + "Output lines that don't match pattern %1"; Blockly.Msg['GREP_RECURSIVE_SEARCH'] = 'Search recursively %1'; -Blockly.Msg['GREP_DISPLAY_LINE_NUMBERS'] = 'Show line numbers %1'; +Blockly.Msg['GREP_DISPLAY_LINE_NUMBERS'] = 'Output line numbers %1'; Blockly.Msg['GREP_STOP_AFTER_NUM_MATCHES'] = 'Stop after %1 matches'; Blockly.Msg['GREP_MULTIPLE_PATTERN_SEARCH'] = 'Search with multiple patterns %1'; -Blockly.Msg['GREP_SHOW_FILENAME'] = 'Show filename %1'; +Blockly.Msg['GREP_SHOW_FILENAME'] = 'Output filename %1'; Blockly.Msg['GREP_PRINT_CONTEXT_BEFORE_MATCH'] = 'Output %1 lines of context before match %2'; Blockly.Msg['GREP_PRINT_CONTEXT_AFTER_MATCH'] = @@ -120,10 +118,10 @@ Blockly.Msg['HEAD_NUMBER_OF'] = 'Number of %1'; Blockly.Msg['HEAD_TOOLTIP'] = 'Output the first part of files'; Blockly.Msg['HEAD_HELPURL'] = 'https://www.google.com/'; Blockly.Msg['LS_MESSAGE'] = 'List files & directories'; -Blockly.Msg['LS_SHOW_DETAILS'] = 'Show details %1'; +Blockly.Msg['LS_SHOW_DETAILS'] = 'Output details %1'; Blockly.Msg['LS_SUBDIRECTORIES'] = 'Search in all subdirectories %1'; -Blockly.Msg['LS_HIDDEN'] = 'Show hidden files %1'; -Blockly.Msg['LS_REVERSE_ORDER'] = 'Show in reverse order %1'; +Blockly.Msg['LS_HIDDEN'] = 'Output hidden files %1'; +Blockly.Msg['LS_REVERSE_ORDER'] = 'Output in reverse order %1'; Blockly.Msg['LS_TOOLTIP'] = 'List directory contents'; Blockly.Msg['LS_HELPURL'] = 'https://www.google.com/'; Blockly.Msg['LN_MESSAGE'] = 'Link files'; @@ -929,53 +927,54 @@ Blockly.Msg['CATVARIABLES'] = 'Variables'; // df command Blockly.Msg['DF'] = 'Disk space usage'; -Blockly.Msg['DF_SHOW_FS_TYPE'] = 'Show file system type %1'; -Blockly.Msg['DF_SHOW_TOTAL_BLOCKS'] = 'Show total block count %1'; -Blockly.Msg['DF_SHOW_USED_BLOCKS'] = 'Show used blocks %1'; -Blockly.Msg['DF_SHOW_AVAILABLE_BLOCKS'] = 'Show available blocks %1'; +Blockly.Msg['DF_SHOW_FS_TYPE'] = 'Output file system type %1'; +Blockly.Msg['DF_SHOW_TOTAL_BLOCKS'] = 'Output total block count %1'; +Blockly.Msg['DF_SHOW_USED_BLOCKS'] = 'Output used blocks %1'; +Blockly.Msg['DF_SHOW_AVAILABLE_BLOCKS'] = 'Output available blocks %1'; Blockly.Msg['DF_TOOLTIP'] = 'Execute the df command to display disk space usage information'; Blockly.Msg['DF_HELPURL'] = 'https://man7.org/linux/man-pages/man1/df.1.html'; // uptime command Blockly.Msg['UPTIME'] = 'System uptime'; -Blockly.Msg['UPTIME_PRETTY'] = 'Display uptime in a pretty format %1'; +Blockly.Msg['UPTIME_PRETTY'] = 'Output uptime in a pretty format %1'; Blockly.Msg['UPTIME_SINCE'] = - 'Show how long the system has been running since boot %1'; -Blockly.Msg['UPTIME_KERNEL_VERSION'] = 'Display the kernel version %1'; + 'Output how long the system has been running since boot %1'; +Blockly.Msg['UPTIME_KERNEL_VERSION'] = 'Output the kernel version %1'; Blockly.Msg['UPTIME_TOOLTIP'] = - 'Displays system uptime, number of users, and load averages'; + 'Output system uptime, number of users, and load averages'; Blockly.Msg['UPTIME_HELPURL'] = 'https://man7.org/linux/man-pages/man1/uptime.1.html'; // who command -Blockly.Msg['WHO'] = 'Display who is logged in'; -Blockly.Msg['WHO_SHOW_HEADING'] = 'Show heading information %1'; -Blockly.Msg['WHO_SHOW_ALL'] = 'Show all information %1'; -Blockly.Msg['WHO_SHOW_USERS'] = 'Show user processes %1'; -Blockly.Msg['WHO_SHOW_BOOT_TIME'] = 'Show last boot time %1'; -Blockly.Msg['WHO_SHOW_RUNLEVEL'] = 'Show current runlevel %1'; +Blockly.Msg['WHO'] = 'Output who is logged in'; +Blockly.Msg['WHO_SHOW_HEADING'] = 'Output heading information %1'; +Blockly.Msg['WHO_SHOW_ALL'] = 'Output all information %1'; +Blockly.Msg['WHO_SHOW_USERS'] = 'Output user processes %1'; +Blockly.Msg['WHO_SHOW_BOOT_TIME'] = 'Output last boot time %1'; +Blockly.Msg['WHO_SHOW_RUNLEVEL'] = 'Output current runlevel %1'; Blockly.Msg['WHO_TOOLTIP'] = 'Displays who is logged in and related system information'; Blockly.Msg['WHO_HELPURL'] = 'https://man7.org/linux/man-pages/man1/who.1.html'; // hostname command -Blockly.Msg['SYSTEM_HOSTNAME_COMMAND'] = 'Show the hostname of the system'; -Blockly.Msg['HOSTNAME_SHOW_HOSTNAME'] = "Show the system's hostname %1"; +Blockly.Msg['SYSTEM_HOSTNAME_COMMAND'] = 'Output the hostname of the system'; +Blockly.Msg['HOSTNAME_SHOW_HOSTNAME'] = "Output the system's hostname %1"; Blockly.Msg['HOSTNAME_SET_HOSTNAME'] = "Set the system's hostname to %1"; -Blockly.Msg['HOSTNAME_SHOW_ALIASES'] = 'Show hostname aliases %1'; -Blockly.Msg['HOSTNAME_SHOW_IP'] = 'Show IP address associated with hostname %1'; +Blockly.Msg['HOSTNAME_SHOW_ALIASES'] = 'Output hostname aliases %1'; +Blockly.Msg['HOSTNAME_SHOW_IP'] = + 'Output IP address associated with hostname %1'; Blockly.Msg['HOSTNAME_SHOW_FQDN'] = - 'Show fully qualified domain name (FQDN) %1'; + 'Output fully qualified domain name (FQDN) %1'; Blockly.Msg['HOSTNAME_TOOLTIP'] = - 'Displays or sets the system hostname and related information'; + 'Output or sets the system hostname and related information'; Blockly.Msg['HOSTNAME_HELPURL'] = 'https://man7.org/linux/man-pages/man1/hostname.1.html'; // date command -Blockly.Msg['SYSTEM_DATE_COMMAND'] = 'Display the current date and time'; -Blockly.Msg['DATE_UTC_TIME'] = 'Display time in UTC %1'; -Blockly.Msg['DATE_TOOLTIP'] = 'Displays or sets the system date and time'; +Blockly.Msg['SYSTEM_DATE_COMMAND'] = 'Output the current date and time'; +Blockly.Msg['DATE_UTC_TIME'] = 'Output time in UTC %1'; +Blockly.Msg['DATE_TOOLTIP'] = 'Outputs or sets the system date and time'; Blockly.Msg['DATE_HELPURL'] = 'https://man7.org/linux/man-pages/man1/date.1.html'; @@ -987,9 +986,10 @@ Blockly.Msg['KILL_HELPURL'] = 'https://man7.org/linux/man-pages/man1/kill.1.html'; // echo command -Blockly.Msg['ECHO'] = 'Print message'; -Blockly.Msg['ECHO_BLOCK'] = 'print message %1'; -Blockly.Msg['ECHO_TOOLTIP'] = 'Print a message to the terminal'; +Blockly.Msg['ECHO'] = 'Write to output:'; +Blockly.Msg['ECHO_BLOCK'] = '%1'; +Blockly.Msg['ECHO_TOOLTIP'] = 'Write arguments to standard output'; +Blockly.Msg['ECHO_HELPURL'] = 'https://www.google.com/'; Blockly.Msg['ECHO_HELPURL'] = 'https://man7.org/linux/man-pages/man1/echo.1.html'; @@ -1002,11 +1002,11 @@ Blockly.Msg['SLEEP_HELPURL'] = // ps command Blockly.Msg['PS'] = 'Process status'; -Blockly.Msg['PS_SHOW_ALL'] = 'Show all processes %1'; -Blockly.Msg['PS_SHOW_USER'] = 'Show processes for user %1'; -Blockly.Msg['PS_SHOW_PID'] = 'Show process by PID %1'; +Blockly.Msg['PS_SHOW_ALL'] = 'Output all processes %1'; +Blockly.Msg['PS_SHOW_USER'] = 'Output processes for user %1'; +Blockly.Msg['PS_SHOW_PID'] = 'Output process by PID %1'; Blockly.Msg['PS_FORMAT'] = 'Output format %1'; -Blockly.Msg['PS_SHOW_THREAD'] = 'Show threads %1'; +Blockly.Msg['PS_SHOW_THREAD'] = 'Output threads %1'; Blockly.Msg['PS_TOOLTIP'] = 'Execute the ps command to display process information'; Blockly.Msg['PS_HELPURL'] = 'https://man7.org/linux/man-pages/man1/ps.1.html'; @@ -1029,4 +1029,5 @@ Blockly.Msg['CURL'] = 'Execute an HTTP request to'; Blockly.Msg['CURL_METHOD'] = 'Choose method'; Blockly.Msg['CURL_HEADER'] = 'Provide custom headers for the request'; Blockly.Msg['CURL_REDIRECTS'] = 'Follow redirects'; + // Journal command