From d46423e3b4b59cc3105dee62939bfa1772dcf7ff Mon Sep 17 00:00:00 2001 From: foiv Date: Fri, 20 Sep 2024 10:44:40 +0300 Subject: [PATCH] Refine input and output behavior of blocks --- .gitignore | 3 +- blockly_unix_database.db | Bin 49152 -> 65536 bytes index.html | 6 +-- public/blocks/catBlock.js | 4 +- public/blocks/dateBlock.js | 1 - public/blocks/dfBlock.js | 1 - public/blocks/echoBlock.js | 7 ++- public/blocks/headBlock.js | 4 +- public/blocks/hostnameBlock.js | 1 - public/blocks/killBlock.js | 2 - public/blocks/lnBlock.js | 1 - public/blocks/mkdirBlock.js | 1 - public/blocks/mvBlock.js | 1 - public/blocks/pingBlock.js | 1 - public/blocks/psBlock.js | 1 - public/blocks/rmBlock.js | 2 - public/blocks/sleepBlock.js | 2 - public/blocks/tailBlock.js | 2 +- public/blocks/touchBlock.js | 2 - public/blocks/uptimeBlock.js | 1 - public/blocks/whoBlock.js | 1 - public/js/el.js | 80 +++++++++++++++---------------- public/js/en.js | 83 +++++++++++++++++---------------- 23 files changed, 92 insertions(+), 115 deletions(-) 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 1ed492283e2cac731d4fae47b1287e350d20d14d..e841c4eba3afc54f1c4b69a104a7bd2d07f7dfc7 100644 GIT binary patch literal 65536 zcmeHQU2Nmnb(Y6tkH?P3+isFcx=mM>Jsr!IERy<{=E&toFWm=*nS`;ah zlx_KMv9t0ZX@Rth_8|rGP^9lIwh7P%-9;aozOn&c%f$-|H5+;i^vSzL&*GGomMVu6;eZp$l{rY6g%)oQWa6fG9m zto=N&db74^X{uX)!YcGJD1N)M^O2>s;}@1r&z-;O`a##XJATpmFL%C){&oJc^OsLJ z74OCrz!bm~z!bm~z!bm~xNa2aeAM)LGxr2zq5m{<-ZP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?4BDzWJvayhEsz8*nnWU2F0<6vY*%jYIDPHecYFJvk|u_{xbl6Z;3`kUA3wbfL8p8kzrBDKuv2d*6Y5wCv8xz4qLZ7`0b9k?uul^e;kZ1FU4ZD1}@u=7=s7IdG#CP}G$c hF9q$$;U854;5e`+h>RK}1$dOj5`$sZC@}K`{vT3FaLWJy delta 1912 zcmd^A%~Kj@7++N6LlDg%R?}9pzziwK?y|eAyrdH}(tx633}G|@fwC&)OJT7Pz=E1i zdkga(a>-=c|DXw{o_b6FgHC69NHRV3(itaCukE`mrqgK;a_-JNv%@~$zvp>=G@C=s z=HTP2S`UU{8YFU2+Ez~P!5opL=c%VR_2`TE3?We?5v^1my|*dr7>(J{7ok@(vO)N| zVAN=l1{=e$(O09^&iL5-qly+YAjgh|K$dWs-E#@zN9}dc~)2Vl{;<1IWU-_Zo#dta__zD_##D4G{xhW4~gpb~~YtYZO>(N~NM}@Xey(g9^&r z&EbsLOO2Y_=d&kEIg*=o=e;iY`}wpU#itm+vVfvaOd|^H%NeB-CRS+Jtc-YkkwAn< z#@B+I^?Y{UR}O;IQV$nS>V=}vdne6jQzabK@FKsyDYzam%IxsZ2UFMfyw}}1AsqNDA1!;*)iM{0WF>QHLArM% z*_so@+JZkZ?{!uV(nP7e8c#*SlC7(E8r?G!Ph%S9qnZiAdxxOWUI^yu%ERFNcG7+~ zhQr5;LHJAbJvdpPxb%=24p7YTwo-vTnp7$KX>0 wf3w>CV;a!iz;w@aH#*}+Qm2lO_J?A30&YMf6sfqjKi?5?0tjM6fA32A3x^mk*8l(j 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