diff --git a/public/blocks/fileEndStartBlock.js b/public/blocks/fileEndStartBlock.js index 2c2fe25..0813377 100644 --- a/public/blocks/fileEndStartBlock.js +++ b/public/blocks/fileEndStartBlock.js @@ -27,7 +27,6 @@ var fileEndStartBlock = { output: 'fileWildcard', style: 'File inputs', - nextStatement: 'Action', tooltip: '%{BKY_FILE_END_START_WILDCHARS_TOOLTIP}', helpUrl: '%{BKY_FILE_END_START_WILDCHARS_HELPURL} ' // URL to further information or documentation. }; diff --git a/public/blocks/filenameBlock.js b/public/blocks/filenameBlock.js index 6340feb..05fcc4a 100644 --- a/public/blocks/filenameBlock.js +++ b/public/blocks/filenameBlock.js @@ -11,7 +11,6 @@ var filenameBlock = { ], output: 'filename', style: 'File inputs', - nextStatement: 'Action', tooltip: '%{BKY_FILENAME_TOOLTIP}', helpUrl: '%{BKY_FILENAME_HELPURL}' // URL to further information or documentation. }; diff --git a/public/blocks/gzipBlock.js b/public/blocks/gzipBlock.js index 862547f..ab4586a 100644 --- a/public/blocks/gzipBlock.js +++ b/public/blocks/gzipBlock.js @@ -14,8 +14,7 @@ var gzipBlock = { five: '-5', seven: '-7', eight: '-8', - suffix: '-S str', - verbose: '-v' + suffix: '-S str' } ], message0: '%{BKY_GZIP_FILE}', @@ -63,14 +62,6 @@ var gzipBlock = { text: '' // empty text for user to define path } ], - message4: '%{BKY_GZIP_VERBOSE}', - args4: [ - { - type: 'field_checkbox', - name: 'verbose', - checked: false // by default it's disabled - } - ], style: 'File Operations', extensions: ['integer_validation'], previousStatement: 'Action', diff --git a/public/blocks/lnBlock.js b/public/blocks/lnBlock.js index 957a29f..661dd31 100644 --- a/public/blocks/lnBlock.js +++ b/public/blocks/lnBlock.js @@ -8,7 +8,6 @@ var lnBlock = { symbolic: '-s', force: '-f', interactive: '-i', - verbose: '-v', follow_symlink: '-L', no_symlink_follow: '-P' } @@ -37,17 +36,8 @@ var lnBlock = { checked: false // by default it's disabled } ], - message4: '%{BKY_LN_VERBOSE}', + message4: '%{BKY_LN_SOURCE}: %1 %{BKY_LN_TARGET}: %2', args4: [ - { - type: 'field_checkbox', - name: 'verbose', - checked: false // by default it's disabled - } - ], - - message5: '%{BKY_LN_SOURCE}: %1 %{BKY_LN_TARGET}: %2', - args5: [ { type: 'field_input', name: 'SOURCE', @@ -60,7 +50,6 @@ var lnBlock = { } ], style: 'File Operations', - previousStatement: 'Action', nextStatement: 'Action', tooltip: '%{BKY_LN_TOOLTIP}', helpUrl: 'https://linux.die.net/man/1/ln' diff --git a/public/blocks/lsBlock.js b/public/blocks/lsBlock.js index 1dd5520..65ec3e4 100644 --- a/public/blocks/lsBlock.js +++ b/public/blocks/lsBlock.js @@ -44,7 +44,6 @@ var lsBlock = { } ], style: 'Directory Operations', - previousStatement: 'Action', nextStatement: 'Action', tooltip: '%{BKY_LS_TOOLTIP}', helpUrl: '' // URL to further information or documentation. diff --git a/public/blocks/mkdirBlock.js b/public/blocks/mkdirBlock.js index 8a47793..70626f2 100644 --- a/public/blocks/mkdirBlock.js +++ b/public/blocks/mkdirBlock.js @@ -3,29 +3,20 @@ var mkdirBlock = { category: 'Directory Operations', unix_description: [ { - parents: '-p', - verbose: '-v' + parents: '-p' } ], message0: '%{BKY_MKDIR_MESSAGE}', - message1: '%{BKY_MKDIR_MULTIPLE_DIRECTORIES}', - message2: '%{BKY_MKDIR_CREATE_SUBDIRECTORIES}', - args2: [ - { - type: 'field_checkbox', - name: 'parents', - checked: false // by default it's disabled - } - ], - message3: '%{BKY_MKDIR_LIST_DIRECTORIES}', + message1: '%{BKY_MKDIR_SAME_LEVEL_DIRECTORIES}', + message2: '%{BKY_MKDIR_MULTIPLE_DIRECTORIES}', + message3: '%{BKY_MKDIR_CREATE_SUBDIRECTORIES}', args3: [ { type: 'field_checkbox', - name: 'verbose', + name: 'parents', checked: false // by default it's disabled } ], - message4: '%{BKY_MKDIR_WRITE_DIRECTORY}', args4: [ { @@ -34,9 +25,7 @@ var mkdirBlock = { text: '............' } ], - style: 'Directory Operations', - previousStatement: 'Action', 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 657c96b..7f937bd 100644 --- a/public/blocks/mvBlock.js +++ b/public/blocks/mvBlock.js @@ -6,7 +6,6 @@ var mvBlock = { { not_prompt_confirmation: '-f', prompt_confirmation: '-i', - verbose: '-v', not_overwrite: '-n' } ], @@ -26,24 +25,16 @@ var mvBlock = { checked: false } ], - message3: '%{BKY_MV_VERBOSE}', + message3: '%{BKY_MV_NOT_OVERWRITE}', args3: [ - { - type: 'field_checkbox', - name: 'verbose', - checked: false - } - ], - message4: '%{BKY_MV_NOT_OVERWRITE}', - args4: [ { type: 'field_checkbox', name: 'not_overwrite', checked: false } ], - message5: '%{BKY_MV_SOURCE}: %1 %{BKY_MV_DEST}: %2', - args5: [ + message4: '%{BKY_MV_SOURCE}: %1 %{BKY_MV_DEST}: %2', + args4: [ { type: 'field_input', name: 'SOURCE', @@ -56,7 +47,6 @@ var mvBlock = { } ], style: 'File Operations', - previousStatement: 'Action', nextStatement: 'Action', tooltip: 'Μετακινεί ή μετονομάζει αρχεία.', helpUrl: 'https://linux.die.net/man/1/mv' diff --git a/public/blocks/rmBlock.js b/public/blocks/rmBlock.js index efa2e93..a10ae7c 100644 --- a/public/blocks/rmBlock.js +++ b/public/blocks/rmBlock.js @@ -8,9 +8,7 @@ var rmBlock = { request_confirmation: '-i', remove_directory: '-d', recursive: '-R', - verbose: '-v', - undelete: '-W', - no_cross_mount: '-x' + undelete: '-W' } ], message1: '%{BKY_RM_FORCE}', @@ -45,22 +43,6 @@ var rmBlock = { checked: false } ], - message5: '%{BKY_RM_VERBOSE}', - args5: [ - { - type: 'field_checkbox', - name: 'verbose', - checked: false - } - ], - message6: '%{BKY_RM_NO_CROSS_MOUNT}', - args6: [ - { - type: 'field_checkbox', - name: 'no_cross_mount', - checked: false - } - ], extensions: [], style: 'File Operations', previousStatement: 'Action', diff --git a/public/js/el.js b/public/js/el.js index 2c66a2a..b331882 100644 --- a/public/js/el.js +++ b/public/js/el.js @@ -115,7 +115,6 @@ Blockly.Msg['GZIP_FILE'] = '%1 Αρχείο'; Blockly.Msg['GZIP_KEEP_ORIGINAL_FILE'] = 'Διατήρηση αρχικού αρχείου %1'; Blockly.Msg['GZIP_LEVEL_OF_COMPRESSION'] = 'Επίπεδο συμπίεσης %1'; Blockly.Msg['GZIP_CHANGE_SUFFIX'] = 'Aλλαγή κατάληξης απο .gz σε'; -Blockly.Msg['GZIP_VERBOSE'] = 'Εμφάνισε πληροφορίες %1'; Blockly.Msg['GZIP_TOOLTIP'] = 'Συμπίεση/αποσυμπίεση αρχείου'; Blockly.Msg['GZIP_HELPURL'] = 'https://www.google.com/'; Blockly.Msg['HEAD_MESSAGE'] = 'Πρώτα στοιχεία αρχείου'; @@ -136,15 +135,15 @@ Blockly.Msg['LN_SOURCE'] = 'Αρχείο προέλευσης'; Blockly.Msg['LN_TARGET'] = 'Αρχείο προορισμού'; Blockly.Msg['LN_FORCE'] = 'Επιβολή αντικατάστασης %1'; Blockly.Msg['LN_INTERACTIVE'] = 'Προτροπή πριν από την αντικατάσταση %1'; -Blockly.Msg['LN_VERBOSE'] = 'Εμφάνιση των αρχείων κατά την επεξεργασία %1'; Blockly.Msg['LN_TOOLTIP'] = 'Δημιουργεί συνδέσμους αρχείων. Υποστηρίζει συμβολικούς συνδέσμους, αναγκαστική αντικατάσταση και λεπτομερή έξοδο.'; Blockly.Msg['MKDIR_MESSAGE'] = 'Δημιουργία καταλόγου'; Blockly.Msg['MKDIR_MULTIPLE_DIRECTORIES'] = - 'Για πολλαπλούς καταλόγους χωρίστε με κενό'; + 'Διαχωρίστε τους υποκαταλόγους με κάθετους (/)'; +Blockly.Msg['MKDIR_SAME_LEVEL_DIRECTORIES'] = + 'Διαχωρίστε τους καταλόγους στο ίδιο επίπεδο με κενά'; Blockly.Msg['MKDIR_CREATE_SUBDIRECTORIES'] = 'Δημιουργήστε επίσης καταλόγους γονέων %1'; -Blockly.Msg['MKDIR_LIST_DIRECTORIES'] = 'Λίστα δημιουργημένων καταλόγων %1'; Blockly.Msg['MKDIR_WRITE_DIRECTORY'] = 'Γράψτε όνομα καταλόγου ή διαδρομή %1'; Blockly.Msg['MKDIR_TOOLTIP'] = 'Δημιουργία καταλόγου'; Blockly.Msg['MKDIR_HELPURL'] = 'https://www.google.com/'; @@ -152,7 +151,6 @@ Blockly.Msg['MV_MESSAGE'] = 'Μετακίνηση αρχείων'; Blockly.Msg['MV_NOT_PROMPT_CONFIRMATION'] = 'Μην ζητήσεις επιβεβαίωση %1'; Blockly.Msg['MV_PROMPT_CONFIRMATION'] = 'Ζήτα επιβεβαίωση προτού εκτελεστεί η εντολή %1'; -Blockly.Msg['MV_VERBOSE'] = 'Λεπτομερής αναφορά %1'; Blockly.Msg['MV_NOT_OVERWRITE'] = 'Μη αντικατάσταση αρχείου %1'; Blockly.Msg['MV_SOURCE'] = 'Αρχείο προέλευσης'; Blockly.Msg['MV_DEST'] = 'Τοποθεσία προορισμού'; @@ -618,9 +616,6 @@ Blockly.Msg['RM_REQUEST_CONFIRMATION'] = 'Ζητήστε επιβεβαίωση πριν την αφαίρεση αρχείου(ων) %1'; Blockly.Msg['RM_REMOVE_DIRECTORIES'] = 'Αφαίρεση καταλόγων %1'; Blockly.Msg['RM_RECURSIVE'] = 'Αφαίρεση αναδρομικά %1'; -Blockly.Msg['RM_VERBOSE'] = - 'Λειτουργία αναλυτικών πληροφοριών (εμφάνιση αφαιρεθέντων αρχείων) %1'; -Blockly.Msg['RM_NO_CROSS_MOUNT'] = 'Μην διασχίσετε σημεία σύνδεσης %1'; Blockly.Msg['RM_TOOLTIP'] = 'Αφαιρεί αρχεία και καταλόγους με βάση τις καθορισμένες επιλογές.'; @@ -876,7 +871,7 @@ Blockly.Msg['TAIL_HELPURL'] = 'https://www.google.com/'; Blockly.Msg['TEE'] = 'Αποθήκευση σε αρχείο &\n και συνέχιση επεξεργασίας\n'; Blockly.Msg['TEE_APPEND'] = 'Προσθήκη στο αρχείο %1\n'; -Blockly.Msg['TEE_NAME'] = 'Δώστε όνομα αρχείου %1'; +Blockly.Msg['TEE_NAME'] = 'Όνομα αρχείου %1'; Blockly.Msg['TEE_TOOLTIP'] = 'Το εργαλείο tee αντιγράφει την τυπική είσοδο στην τυπική έξοδο, κάνοντας ένα αντίγραφο σε ένα ή περισσότερα αρχεία.'; Blockly.Msg['TEE_HELPURL'] = 'https://www.google.com/'; @@ -917,7 +912,7 @@ Blockly.Msg['TOUCH_TOOLTIP'] = '\nΠαράδειγμα: Για 12 Ιανουαρίου 2024, ώρα 14:30 UTC, η μορφή θα είναι: 2024-01-12T14:30:00Z.'; Blockly.Msg['TOUCH_HELPURL'] = 'https://www.google.com/'; -Blockly.Msg['UNIQ'] = 'Αφαίρεση διπλότυπων γραμμών στο αρχείο\n'; +Blockly.Msg['UNIQ'] = 'Αναγνώριση διπλότυπων γραμμών στο αρχείο\n'; Blockly.Msg['UNIQ_COUNT'] = 'Μέτρηση των εμφανίσεων των \n γραμμών που αφαιρέθηκαν %1'; Blockly.Msg['UNIQ_CASE'] = ' Χωρίς διάκριση πεζών-κεφαλαίων %1'; diff --git a/public/js/en.js b/public/js/en.js index 9021989..e001a09 100644 --- a/public/js/en.js +++ b/public/js/en.js @@ -112,7 +112,6 @@ Blockly.Msg['GZIP_FILE'] = '%1 file'; Blockly.Msg['GZIP_KEEP_ORIGINAL_FILE'] = 'Keep original file %1'; Blockly.Msg['GZIP_LEVEL_OF_COMPRESSION'] = 'Level of compression %1'; Blockly.Msg['GZIP_CHANGE_SUFFIX'] = 'Change suffix from .gz to'; -Blockly.Msg['GZIP_VERBOSE'] = 'Τurn on verbose mode %1'; Blockly.Msg['GZIP_TOOLTIP'] = 'File compress/decompress'; Blockly.Msg['GZIP_HELPURL'] = 'https://www.google.com/'; Blockly.Msg['HEAD_MESSAGE'] = 'First elements of file'; @@ -131,24 +130,23 @@ Blockly.Msg['LN_MESSAGE'] = 'Link files'; Blockly.Msg['LN_SYMBOLIC_LINK'] = 'Create symbolic link %1'; Blockly.Msg['LN_FORCE'] = 'Force overwrite %1'; Blockly.Msg['LN_INTERACTIVE'] = 'Prompt before overwrite %1'; -Blockly.Msg['LN_VERBOSE'] = 'Show files as they are processed %1'; Blockly.Msg['LN_SOURCE'] = 'Source'; Blockly.Msg['LN_TARGET'] = 'Target'; Blockly.Msg['LN_TOOLTIP'] = 'Creates file links. Supports symbolic links, force overwrite, and verbose output.'; Blockly.Msg['MKDIR_MESSAGE'] = 'Create directory'; Blockly.Msg['MKDIR_MULTIPLE_DIRECTORIES'] = - 'For multiple directories separate with space'; + 'Separate nested directories with forward slashes (/)'; +Blockly.Msg['MKDIR_SAME_LEVEL_DIRECTORIES'] = + 'Separate directories at the same level with spaces'; Blockly.Msg['MKDIR_CREATE_SUBDIRECTORIES'] = 'Create also parent directories %1'; -Blockly.Msg['MKDIR_LIST_DIRECTORIES'] = 'List directories created %1'; Blockly.Msg['MKDIR_WRITE_DIRECTORY'] = 'Write directory or path %1'; Blockly.Msg['MKDIR_TOOLTIP'] = 'Create directory'; Blockly.Msg['MKDIR_HELPURL'] = 'https://www.google.com/'; Blockly.Msg['MV_MESSAGE'] = 'Move files'; Blockly.Msg['MV_NOT_PROMPT_CONFIRMATION'] = 'Do not prompt for confirmation %1'; Blockly.Msg['MV_PROMPT_CONFIRMATION'] = 'Prompt for confirmation %1'; -Blockly.Msg['MV_VERBOSE'] = 'Verbose mode %1'; Blockly.Msg['MV_NOT_OVERWRITE'] = 'Do not overwrite %1'; Blockly.Msg['MV_SOURCE'] = 'Source'; Blockly.Msg['MV_DEST'] = 'Destination'; @@ -605,8 +603,6 @@ Blockly.Msg['RM_REQUEST_CONFIRMATION'] = 'Request confirmation before removing file(s) %1'; Blockly.Msg['RM_REMOVE_DIRECTORIES'] = 'Remove directories %1'; Blockly.Msg['RM_RECURSIVE'] = 'Remove recursively %1'; -Blockly.Msg['RM_VERBOSE'] = 'Verbose mode (show removed files) %1'; -Blockly.Msg['RM_NO_CROSS_MOUNT'] = 'Do not cross mount points %1'; Blockly.Msg['RM_TOOLTIP'] = 'Removes files and directories based on specified options.'; Blockly.Msg['TEXT_APPEND_HELPURL'] = @@ -847,9 +843,9 @@ Blockly.Msg['TAIL_DESC'] = 'Descending order %1'; Blockly.Msg['TAIL_TOOLTIP'] = 'Output the last parts of files'; Blockly.Msg['TAIL_HELPURL'] = 'https://www.google.com/'; -Blockly.Msg['TEE'] = 'Save to file &\n and continue processing\n'; +Blockly.Msg['TEE'] = 'Save to file &\n pass through for further processing\n'; Blockly.Msg['TEE_APPEND'] = 'Append to file %1\n'; -Blockly.Msg['TEE_NAME'] = 'Give file name %1'; +Blockly.Msg['TEE_NAME'] = 'File name %1'; Blockly.Msg['TEE_TOOLTIP'] = 'The tee utility copies standard input to standard output, making a copy in zero or more files.'; Blockly.Msg['TEE_HELPURL'] = 'https://www.google.com/'; @@ -888,7 +884,7 @@ Blockly.Msg['TOUCH_TOOLTIP'] = '\nExample: For January 12, 2024, at 14:30 UTC, the format would be: 2024-01-12T14:30:00Z.'; Blockly.Msg['TOUCH_HELPURL'] = 'https://www.google.com/'; -Blockly.Msg['UNIQ'] = 'Find duplicate lines in file\n'; +Blockly.Msg['UNIQ'] = 'Identify duplicate lines in file\n'; Blockly.Msg['UNIQ_COUNT'] = 'Count the occurencies of \n duplicates lines removed %1'; Blockly.Msg['UNIQ_CASE'] = 'Case sensitive %1';