diff --git a/locale/de_DE.js b/locale/de_DE.js index d528e4899..d76376f49 100644 --- a/locale/de_DE.js +++ b/locale/de_DE.js @@ -103,7 +103,7 @@ Use \`Array.forEach()\` to return a \`function\` that uses \`Function.apply()\` `, 'comments': [`// Logs 'clicked docs' when clicked.`], - 'hash': '2d8eba637f445e60525f33ebc004a70e40b06ab4bc13f8262652535008cbb40c' + 'hash': '2d8eba637f445e60525f33ebc004a70e40b06ab4bc13f8262652535008cbb40c => 00a2fdef0a5cfdf4e4e634937306e9f9851d11491f406e3ea209d9d0141bacae' }, 'bindKey' : { 'description': `### bindKey diff --git a/locale/de_DE_log b/locale/de_DE_log index c58b8ffc0..6dd0219d4 100644 --- a/locale/de_DE_log +++ b/locale/de_DE_log @@ -1,3 +1,6 @@ -Thu Feb 08 2018 13:51:53 GMT+0200 (GTB Standard Time) -Hash changes: 0 +Thu Feb 08 2018 14:27:35 GMT+0200 (GTB Standard Time) +Hash changes: 1 +Snippet name:bindAll + Old hash: 2d8eba637f445e60525f33ebc004a70e40b06ab4bc13f8262652535008cbb40c + New hash: 00a2fdef0a5cfdf4e4e634937306e9f9851d11491f406e3ea209d9d0141bacae diff --git a/locale/el_GR.js b/locale/el_GR.js index e644ea470..95606a4aa 100644 --- a/locale/el_GR.js +++ b/locale/el_GR.js @@ -5,14 +5,14 @@ module.exports = { 'anagrams' : { 'description': `### anagrams -⚠️ **WARNING**: This function's execution time increases exponentially with each character. Anything more than 8 to 10 characters will cause your browser to hang as it tries to solve all the different combinations. +⚠️ **ΠΡΟΣΟΧΗ**: Ο χρόνος εκτέλεσης αυτής της συνάρτησης αυξάνει εκθετικά για κάθε χαρακτήρα. Οτιδήποτε περισσότερο από 8 με 10 χαρακτήρες θα κολλήσει το browser ενώ προσπαθεί να επιλύσει όλους τους πιθανούς συνδυασμούς. -Generates all anagrams of a string (contains duplicates). +Παράγει όλους τους αναγραμματισμούς μιας συμβολοσειράς (περιλαμβάνει διπλοτυπίες). -Use recursion. -For each letter in the given string, create all the partial anagrams for the rest of its letters. -Use \`Array.map()\` to combine the letter with each partial anagram, then \`Array.reduce()\` to combine all anagrams in one array. -Base cases are for string \`length\` equal to \`2\` or \`1\`. +Χρησιμοποιεί αναδρομή. +Για κάθε γράμμα στη συμβολοσειρά, δημιουργούνται όλοι οι μερικοί αναγραμματισμοί για τα υπόλοιπά του γράμματα. +Χρησιμοποιείται η \`Array.map()\` για να συνδυαστεί κάθε γράμμα με κάθε μερικό αναγραμματισμό, έπειτα η \`Array.reduce()\` για να συνδυάσει όλους τους αναγραμματισμούς σε ένα πίνακα. +Οι βασικές περιπτώσεις είναι συμβολοσειρές με \`length\` ίσο με \`2\` ή \`1\`. `, 'comments': [`// ['abc','acb','bac','bca','cab','cba']`], @@ -21,9 +21,9 @@ Base cases are for string \`length\` equal to \`2\` or \`1\`. 'arrayToHtmlList' : { 'description': `### arrayToHtmlList -Converts the given array elements into \`
  • \` tags and appends them to the list of the given id. +Μετατρέπει τα στοιχεία ενός πίνακα σε ετικέτες \`
  • \` και τις προσθέτει στο τέλος της λίστα με το δεδομένο id. -Use \`Array.map()\` and \`document.querySelector()\` to create a list of html tags. +Χρησιμοποιείται η \`Array.map()\` και η \`document.querySelector()\` για να δημιουργηθεί μια λίστα με ετικέτες html. `, 'comments': [], @@ -32,9 +32,9 @@ Use \`Array.map()\` and \`document.querySelector()\` to create a list of html ta 'ary' : { 'description': `### ary -Creates a function that accepts up to \`n\` arguments, ignoring any additional arguments. +Δημιουργεί μια συνάρτηση που δέχεται μέχρι \`n\` ορίσματα, αγνοώντας οποιαδήποτε επιπλέον ορίσματα. -Call the provided function, \`fn\`, with up to \`n\` arguments, using \`Array.slice(0,n)\` and the spread operator (\`...\`). +Καλείται η δεδομένη συνάρτηση, \`fn\`, χρησιμοποιώντας μέχρι \`n\` ορίσματα, κάνοντας χρήση της \`Array.slice(0,n)\` και του τελεστή spread (\`...\`). `, 'comments': [`// [6, 8, 10]`], @@ -43,9 +43,9 @@ Call the provided function, \`fn\`, with up to \`n\` arguments, using \`Array.sl 'atob' : { 'description': `### atob -Decodes a string of data which has been encoded using base-64 encoding. +Αποκωδικοποιεί μια συμβολοσειρά δεδομένων που έχει κωδικοποιηθεί με κωδικοποίηση base-64. -Create a \`Buffer\` for the given string with base-64 encoding and use \`Buffer.toString('binary')\` to return the decoded string. +Δημιουργείται ένα \`Buffer\` για τη δεδομένη συμβολοσειρά με κωδικοποίηση base-64 και χρησιμοποιείται η \`Buffer.toString('binary')\` για να επιστρέψει την αποκωδικοποιημένη συμβολοσειρά. `, 'comments': [`// 'foobar'`], @@ -54,9 +54,9 @@ Create a \`Buffer\` for the given string with base-64 encoding and use \`Buffer. 'attempt' : { 'description': `### attempt -Attempts to invoke a function with the provided arguments, returning either the result or the caught error object. +Επιχειρεί να καλέσει τη συνάρτηση με τα δεδομένα ορίσματα, επιστρέφοντας είτε το αποτέλεσμα ή το αντικείμενο σφάλματος. -Use a \`try... catch\` block to return either the result of the function or an appropriate error. +Χρησιμοποιείται ένα block \`try... catch\` για να επιστραφεί είτε το αποτέλεσμα της συνάρτησης ή ένα κατάλληλο σφάλμα. `, 'comments': [`// elements = []`], @@ -65,9 +65,9 @@ Use a \`try... catch\` block to return either the result of the function or an a 'average' : { 'description': `### average -Returns the average of two or more numbers. +Επιστρέφει τη μέση τιμή δυο ή περισσότερων αριθμών. -Use \`Array.reduce()\` to add each value to an accumulator, initialized with a value of \`0\`, divide by the \`length\` of the array. +Χρησιμοποιείται η \`Array.reduce()\` για να προσθέσει κάθε τιμή σε ένα αθροιστή με αρχική τιμή το \`0\` και γίνεται διαίρεση με το \`length\` του πίνακα. `, 'comments': [`// 2`,`// 2`], @@ -76,9 +76,9 @@ Use \`Array.reduce()\` to add each value to an accumulator, initialized with a v 'averageBy' : { 'description': `### averageBy -Returns the average of an array, after mapping each element to a value using the provided function. +Επιστρέφει τη μέση τιμή ενός πίνακα, αφού γίνει map κάθε στοιχείο σε μια τιμή χρησιμοποιώντας τη δεδομένη συνάρτηση. -Use \`Array.map()\` to map each element to the value returned by \`fn\`, \`Array.reduce()\` to add each value to an accumulator, initialized with a value of \`0\`, divide by the \`length\` of the array. +Χρησιμοποιείται η \`Array.map()\` για να γίνει map κάθε στοιχείο στην τιμή που επιστρέφεται από την \`fn\`, η \`Array.reduce()\` για να προσθέσει κάθε τιμή σε ένα αθροιστή με αρχική τιμή το \`0\` και γίνεται διαίρεση με το \`length\` του πίνακα. `, 'comments': [`// 5`,`// 5`], @@ -87,10 +87,10 @@ Use \`Array.map()\` to map each element to the value returned by \`fn\`, \`Array 'bind' : { 'description': `### bind -Creates a function that invokes \`fn\` with a given context, optionally adding any additional supplied parameters to the beginning of the arguments. +Δημιουργεί μία συνάρτηση που καλεί την \`fn\` με ένα δεδομένο context, προαιρετικά προσθέτονας οποιεσδήποτε επιπλέον παραμέτρους δίνονται στην αρχή των ορισμάτων. -Return a \`function\` that uses \`Function.apply()\` to apply the given \`context\` to \`fn\`. -Use \`Array.concat()\` to prepend any additional supplied parameters to the arguments. +Επιστρέφει ένα \`function\` που χρησιμοποιεί τη \`Function.apply()\` για να συνδέσει το δεδομένο \`context\` στην \`fn\`. +Χρησιμοποιείται η \`Array.concat()\` για να προσθέσει στην αρχή των ορισμάτων οποιεσδήποτε επιπλέον παραμέτρους δίνονται. `, 'comments': [`// 'hi fred!'`], @@ -99,19 +99,21 @@ Use \`Array.concat()\` to prepend any additional supplied parameters to the argu 'bindAll' : { 'description': `### bindAll -Use \`Array.forEach()\` to return a \`function\` that uses \`Function.apply()\` to apply the given context (\`obj\`) to \`fn\` for each function specified. +Συνδέει μεθόδους ενός αντικειμένου με το ίδιο το αντικείμενο, αντικαθιστώντας την υπάρχουσα μέθοδο. + +Χρησιμοποιείται η \`Array.forEach()\` για να επιστρέψει ένα \`function\` που χρησιμοποιεί τη \`Function.apply()\` για να εφαρμόσει το δεδομένο context (\`obj\`) στην \`fn\` για κάθε συνάρτηση που έχει οριστεί. `, - 'comments': [`// Logs 'clicked docs' when clicked.`], - 'hash': '2d8eba637f445e60525f33ebc004a70e40b06ab4bc13f8262652535008cbb40c' + 'comments': [`// Καταγράφει 'clicked docs' όταν γίνει κλικ.`], + 'hash': '00a2fdef0a5cfdf4e4e634937306e9f9851d11491f406e3ea209d9d0141bacae' }, 'bindKey' : { 'description': `### bindKey -Creates a function that invokes the method at a given key of an object, optionally adding any additional supplied parameters to the beginning of the arguments. +Δημιουργεί μία συνάρτηση που καλεί τη μέθοδο στο δεδομένο key ενός αντικειμένου, προαιρετικά προσθέτονας οποιεσδήποτε επιπλέον παραμέτρους δίνονται στην αρχή των ορισμάτων. -Return a \`function\` that uses \`Function.apply()\` to bind \`context[fn]\` to \`context\`. -Use \`Array.concat()\` to prepend any additional supplied parameters to the arguments. +Επιστρέφει ένα \`function\` που χρησιμοποιεί τη \`Function.apply()\` για να συνδέσει το \`context[fn]\` στο \`context\`. +Χρησιμοποιείται η \`Array.concat()\` για να προσθέσει στην αρχή των ορισμάτων οποιεσδήποτε επιπλέον παραμέτρους δίνονται. `, 'comments': [`// 'hi fred!'`], @@ -120,9 +122,9 @@ Use \`Array.concat()\` to prepend any additional supplied parameters to the argu 'bottomVisible' : { 'description': `### bottomVisible -Returns \`true\` if the bottom of the page is visible, \`false\` otherwise. +Επιστρέφει \`true\` αν το κάτω μέρος της σελίδας είναι ορατό, αλλιώς \`false\`. -Use \`scrollY\`, \`scrollHeight\` and \`clientHeight\` to determine if the bottom of the page is visible. +Χρησιμοποιούνται τα \`scrollY\`, \`scrollHeight\` και \`clientHeight\`για να προσδιοριστεί αν το κάτω μέρος της σελίδας είναι ορατό. `, 'comments': [`// true`], @@ -131,7 +133,7 @@ Use \`scrollY\`, \`scrollHeight\` and \`clientHeight\` to determine if the botto 'btoa' : { 'description': `### btoa -Creates a base-64 encoded ASCII string from a String object in which each character in the string is treated as a byte of binary data. +Δημιουργεί a base-64 encoded ASCII string from a String αντικείμενο in which each character in the string is treated as a byte of binary data. Create a \`Buffer\` for the given string with binary encoding and use \`Buffer.toString('base64')\` to return the encoded string. @@ -142,7 +144,7 @@ Create a \`Buffer\` for the given string with binary encoding and use \`Buffer.t 'byteSize' : { 'description': `### byteSize -Returns the length of a string in bytes. +Επιστρέφει the length of a string in bytes. Convert a given string to a [\`Blob\` Object](https://developer.mozilla.org/en-US/docs/Web/API/Blob) and find its \`size\`. @@ -155,7 +157,7 @@ Convert a given string to a [\`Blob\` Object](https://developer.mozilla.org/en-U Given a key and a set of arguments, call them when given a context. Primarily useful in composition. -Use a closure to call a stored key with stored arguments. +Χρησιμοποιείται a closure to call a stored key with stored arguments. `, 'comments': [`//[ 2, 4, 6 ]`,`//[ 2, 4, 6 ]`], @@ -166,8 +168,8 @@ Use a closure to call a stored key with stored arguments. Capitalizes the first letter of a string. -Use array destructuring and \`String.toUpperCase()\` to capitalize first letter, \`...rest\` to get array of characters after first letter and then \`Array.join('')\` to make it a string again. -Omit the \`lowerRest\` parameter to keep the rest of the string intact, or set it to \`true\` to convert to lowercase. +Χρησιμοποιείται πίνακα destructuring and \`String.toUpperCase()\` to capitalize first letter, \`...rest\` to get πίνακα of characters after first letter and then \`Array.join('')\` to make it a string again. +Omit the \`lowerRest\` parameter to keep the rest of the string intact,ήset it to \`true\` to convert to lowercase. `, 'comments': [`// 'FooBar'`,`// 'Foobar'`], @@ -178,7 +180,7 @@ Omit the \`lowerRest\` parameter to keep the rest of the string intact, or set i Capitalizes the first letter of every word in a string. -Use \`String.replace()\` to match the first character of each word and \`String.toUpperCase()\` to capitalize it. +Χρησιμοποιείται \`String.replace()\` to match the first character of each word and \`String.toUpperCase()\` to capitalize it. `, 'comments': [`// 'Hello World!'`], @@ -187,9 +189,9 @@ Use \`String.replace()\` to match the first character of each word and \`String. 'castArray' : { 'description': `### castArray -Casts the provided value as an array if it's not one. +Casts the provided value as an πίνακα if it's not one. -Use \`Array.isArray()\` to determine if \`val\` is an array and return it as-is or encapsulated in an array accordingly. +Χρησιμοποιείται \`Array.isArray()\` to determine if \`val\` is an πίνακα and return it as-isήencapsulated in an πίνακα accordingly. `, 'comments': [`// ['foo']`,`// [1]`], @@ -200,7 +202,7 @@ Use \`Array.isArray()\` to determine if \`val\` is an array and return it as-is Chains asynchronous functions. -Loop through an array of functions containing asynchronous events, calling \`next\` when each asynchronous event has completed. +Loop through an πίνακα of functions containing asynchronous events, calling \`next\` when each asynchronous event has completed. `, 'comments': [], @@ -209,11 +211,11 @@ Loop through an array of functions containing asynchronous events, calling \`nex 'chunk' : { 'description': `### chunk -Chunks an array into smaller arrays of a specified size. +Chunks an πίνακα into smaller arrays of a specified size. -Use \`Array.from()\` to create a new array, that fits the number of chunks that will be produced. -Use \`Array.slice()\` to map each element of the new array to a chunk the length of \`size\`. -If the original array can't be split evenly, the final chunk will contain the remaining elements. +Χρησιμοποιείται \`Array.from()\` to create a new array, that fits the number of chunks that will be produced. +Χρησιμοποιείται \`Array.slice()\` to map each element of the new πίνακα to a chunk the length of \`size\`. +If the original πίνακα can't be split evenly, the final chunk will contain the remaining elements. `, 'comments': [`// [[1,2],[3,4],[5]]`], @@ -236,7 +238,7 @@ Otherwise, return the nearest number in the range. Clones a regular expression. -Use \`new RegExp()\`, \`RegExp.source\` and \`RegExp.flags\` to clone the given regular expression. +Χρησιμοποιείται \`new RegExp()\`, \`RegExp.source\` and \`RegExp.flags\` to clone the given regular expression. `, 'comments': [`// /lorem ipsum/gi`], @@ -245,9 +247,9 @@ Use \`new RegExp()\`, \`RegExp.source\` and \`RegExp.flags\` to clone the given 'coalesce' : { 'description': `### coalesce -Returns the first non-null/undefined argument. +Επιστρέφει the first non-null/undefined argument. -Use \`Array.find()\` to return the first non \`null\`/\`undefined\` argument. +Χρησιμοποιείται \`Array.find()\` to return the first non \`null\`/\`undefined\` argument. `, 'comments': [`// ""`], @@ -256,9 +258,9 @@ Use \`Array.find()\` to return the first non \`null\`/\`undefined\` argument. 'coalesceFactory' : { 'description': `### coalesceFactory -Returns a customized coalesce function that returns the first argument that returns \`true\` from the provided argument validation function. +Επιστρέφει a customized coalesce συνάρτηση that returns the first argument that returns \`true\` from the provided argument validation function. -Use \`Array.find()\` to return the first argument that returns \`true\` from the provided argument validation function. +Χρησιμοποιείται \`Array.find()\` to return the first argument that returns \`true\` from the provided argument validation function. `, 'comments': [`// "Waldo"`], @@ -267,7 +269,7 @@ Use \`Array.find()\` to return the first argument that returns \`true\` from the 'collectInto' : { 'description': `### collectInto -Changes a function that accepts an array into a variadic function. +Changes a συνάρτηση that accepts an πίνακα into a variadic function. Given a function, return a closure that collects all inputs into an array-accepting function. @@ -280,7 +282,7 @@ Given a function, return a closure that collects all inputs into an array-accept Add special characters to text to print in color in the console (combined with \`console.log()\`). -Use template literals and special characters to add the appropriate color code to the string output. +Χρησιμοποιείται template literals and special characters to add the appropriate color code to the string output. For background colors, add a special character that resets the background color at the end of the string. `, @@ -292,7 +294,7 @@ For background colors, add a special character that resets the background color Removes falsey values from an array. -Use \`Array.filter()\` to filter out falsey values (\`false\`, \`null\`, \`0\`, \`""\`, \`undefined\`, and \`NaN\`). +Χρησιμοποιείται \`Array.filter()\` to filter out falsey values (\`false\`, \`null\`, \`0\`, \`""\`, \`undefined\`, and \`NaN\`). `, 'comments': [`// [ 1, 2, 3, 'a', 's', 34 ]`], @@ -301,10 +303,10 @@ Use \`Array.filter()\` to filter out falsey values (\`false\`, \`null\`, \`0\`, 'compose' : { 'description': `### compose -Performs right-to-left function composition. +Performs right-to-left συνάρτηση composition. -Use \`Array.reduce()\` to perform right-to-left function composition. -The last (rightmost) function can accept one or more arguments; the remaining functions must be unary. +Χρησιμοποιείται \`Array.reduce()\` to perform right-to-left συνάρτηση composition. +The last (rightmost) συνάρτηση can accept oneήmore arguments; the remaining functions must be unary. `, 'comments': [`// 15`], @@ -313,10 +315,10 @@ The last (rightmost) function can accept one or more arguments; the remaining fu 'composeRight' : { 'description': `### composeRight -Performs left-to-right function composition. +Performs left-to-right συνάρτηση composition. -Use \`Array.reduce()\` to perform left-to-right function composition. -The first (leftmost) function can accept one or more arguments; the remaining functions must be unary. +Χρησιμοποιείται \`Array.reduce()\` to perform left-to-right συνάρτηση composition. +The first (leftmost) συνάρτηση can accept oneήmore arguments; the remaining functions must be unary. `, 'comments': [`// 9`], @@ -325,10 +327,10 @@ The first (leftmost) function can accept one or more arguments; the remaining fu 'converge' : { 'description': `### converge -Accepts a converging function and a list of branching functions and returns a function that applies each branching function to the arguments and the results of the branching functions are passed as arguments to the converging function. +Accepts a converging συνάρτηση and a list of branching functions and returns a συνάρτηση that applies each branching συνάρτηση to the ορίσματα and the results of the branching functions are passed as ορίσματα to the converging function. -Use \`Array.map()\` and \`Function.apply()\` to apply each function to the given arguments. -Use the spread operator (\`...\`) to call \`coverger\` with the results of all other functions. +Χρησιμοποιείται \`Array.map()\` and \`Function.apply()\` to apply each συνάρτηση to the given arguments. +Χρησιμοποιείται the spread operator (\`...\`) to call \`coverger\` with the results of all other functions. `, 'comments': [`// 4`], @@ -340,8 +342,8 @@ Use the spread operator (\`...\`) to call \`coverger\` with the results of all o Copy a string to the clipboard. Only works as a result of user action (i.e. inside a \`click\` event listener). Create a new \`