Skip to content

Commit 7c067cd

Browse files
committed
gr_GR translation
1 parent cffb0e8 commit 7c067cd

File tree

1 file changed

+36
-36
lines changed

1 file changed

+36
-36
lines changed

translations/gr_GR/readme.md

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -910,14 +910,14 @@
910910

911911

912912

913-
A. You are not a human code compiler/compressor, so don't try to be one.
913+
A. Δεν είστε code compiler/compressor, οπότε μην προσπαθείτε να είστε ένας.
914914

915-
The following code is an example of egregious naming:
915+
Ο ακόλουθος κώδικας είναι ένα παράδειγμα από ανήκουστη ονομασία:
916916

917917
```javascript
918918
919919
// 6.A.1.1
920-
// Example of code with poor names
920+
// Παράδειγμα κώδικα με φτωχή ονομασία
921921
922922
function q(s) {
923923
return document.querySelectorAll(s);
@@ -926,14 +926,14 @@
926926
for(i=0;i<els.length;i++){a.push(els[i]);}
927927
```
928928

929-
Without a doubt, you've written code like this - hopefully that ends today.
929+
Χωρίς αμφιβολία, έχετε γράψει κώδικα σαν και αυτόν - εύχομαι να τελειώσει σήμερα αυτό.
930930

931-
Here's the same piece of logic, but with kinder, more thoughtful naming (and a readable structure):
931+
Παρακάτω είναι η ίδια λογική, αλλά με πιο καλή ονομασία (ευανάγνωστη δομή):
932932

933933
```javascript
934934
935935
// 6.A.2.1
936-
// Example of code with improved names
936+
// Παράδειγμα κώδικα με βελτιωμένη ονομασία
937937
938938
function query( selector ) {
939939
return document.querySelectorAll( selector );
@@ -950,42 +950,42 @@
950950
951951
```
952952

953-
A few additional naming pointers:
953+
Λίγοι επιπλέον δείκτες ονομασίας:
954954

955955
```javascript
956956
957957
// 6.A.3.1
958-
// Naming strings
958+
// Ονομάζοντας strings
959959
960-
`dog` is a string
960+
`dog` είναι ένα string
961961
962962
963963
// 6.A.3.2
964-
// Naming arrays
964+
// Ονομάζοντας arrays
965965
966-
`dogs` is an array of `dog` strings
966+
`dogs` είναι ένα array από `dog` strings
967967
968968
969969
// 6.A.3.3
970-
// Naming functions, objects, instances, etc
970+
// Ονομάζοντας functions, objects, instances, κλπ
971971
972972
camelCase; function and var declarations
973973
974974
975975
// 6.A.3.4
976-
// Naming constructors, prototypes, etc.
976+
// Ονομάζοντας constructors, prototypes, etc.
977977
978978
PascalCase; constructor function
979979
980980
981981
// 6.A.3.5
982-
// Naming regular expressions
982+
// Ονομάζοντας regular expressions
983983
984984
rDesc = //;
985985
986986
987987
// 6.A.3.6
988-
// From the Google Closure Library Style Guide
988+
// Από το Google Closure Library Style Guide
989989
990990
functionNamesLikeThis;
991991
variableNamesLikeThis;
@@ -996,9 +996,9 @@
996996
997997
```
998998

999-
B. Faces of `this`
999+
B. Περιπτώσεις από το `this`
10001000

1001-
Beyond the generally well known use cases of `call` and `apply`, always prefer `.bind( this )` or a functional equivalent, for creating `BoundFunction` definitions for later invocation. Only resort to aliasing when no preferable option is available.
1001+
Εκτός από τις γενικά γνωστές περιπτώσεις του `call` και του `apply`, πάντα να προτιμάτε το `.bind( this )` ή ένα functional equivalent, για να δημιουργείτε `BoundFunction` definitions για μελλοντική χρήση. Χρησιμοποιείτε μόνο ψευδώνυμα όταν δεν υπάρχει διαθέσιμη επιλογή.
10021002

10031003
```javascript
10041004
@@ -1007,38 +1007,38 @@
10071007
10081008
this.value = null;
10091009
1010-
// open an async stream,
1011-
// this will be called continuously
1010+
// ανοίξτε ένα async stream,
1011+
// αυτό θα καλείαι συνεχόμενα
10121012
stream.read( opts.path, function( data ) {
10131013
1014-
// Update this instance's current value
1015-
// with the most recent value from the
1014+
// Ανανεώστε αυτού του instance την τιμή
1015+
// με την πιο πρόσφατη τιμή από το
10161016
// data stream
10171017
this.value = data;
10181018
10191019
}.bind(this) );
10201020
1021-
// Throttle the frequency of events emitted from
1022-
// this Device instance
1021+
// Πετάξτε τη συχνότητα των συμβάντων που εκπέμπονται από
1022+
// αυτήν την εμφάνιση συσκευής
10231023
setInterval(function() {
10241024
1025-
// Emit a throttled event
1025+
// Εκπέμπει ένα throttled event
10261026
this.emit("event");
10271027
10281028
}.bind(this), opts.freq || 100 );
10291029
}
10301030
1031-
// Just pretend we've inherited EventEmitter ;)
1031+
// Απλά προσποιηθείτε ότι κάναμε inherit EventEmitter ;)
10321032
10331033
```
10341034

1035-
When unavailable, functional equivalents to `.bind` exist in many modern JavaScript libraries.
1035+
Όταν δεν είναι διαθέσιμες, λειτουργικά ισοδύναμα με το `.bind` υπάρχουν σε πολλές σύγχρονες βιβλιοθήκες JavaScript.
10361036

10371037

10381038
```javascript
10391039
// 6.B.2
10401040
1041-
// eg. lodash/underscore, _.bind()
1041+
// πχ. lodash/underscore, _.bind()
10421042
function Device( opts ) {
10431043
10441044
this.value = null;
@@ -1056,7 +1056,7 @@
10561056
}, this), opts.freq || 100 );
10571057
}
10581058
1059-
// eg. jQuery.proxy
1059+
// πχ. jQuery.proxy
10601060
function Device( opts ) {
10611061
10621062
this.value = null;
@@ -1074,7 +1074,7 @@
10741074
}, this), opts.freq || 100 );
10751075
}
10761076
1077-
// eg. dojo.hitch
1077+
// πχ. dojo.hitch
10781078
function Device( opts ) {
10791079
10801080
this.value = null;
@@ -1094,7 +1094,7 @@
10941094
10951095
```
10961096

1097-
As a last resort, create an alias to `this` using `self` as an Identifier. This is extremely bug prone and should be avoided whenever possible.
1097+
Ως έσχατη λύση, δημιουργήστε ένα ψευδώνυμο στο `this 'χρησιμοποιώντας `self` ως αναγνωριστικό. Αυτό είναι εξαιρετικά επιρρεπές στο σφάλμα και θα πρέπει να αποφεύγεται όποτε είναι δυνατόν.
10981098
10991099
```javascript
11001100

@@ -1121,9 +1121,9 @@
11211121
```
11221122

11231123

1124-
C. Use `thisArg`
1124+
C. Χρήση `thisArg`
11251125

1126-
Several prototype methods of ES 5.1 built-ins come with a special `thisArg` signature, which should be used whenever possible
1126+
Αρκετές πρωτότυπες μέθοδοι των ενσωματωμένων ES 5.1 έρχονται με μια ειδική υπογραφή `thisArg`, η οποία θα πρέπει να χρησιμοποιείται όποτε είναι δυνατόν
11271127

11281128
```javascript
11291129
@@ -1135,21 +1135,21 @@
11351135
11361136
Object.keys( obj ).forEach(function( key ) {
11371137
1138-
// |this| now refers to `obj`
1138+
// |this| τώρα αναφέρεται στο `obj`
11391139
11401140
console.log( this[ key ] );
11411141
1142-
}, obj ); // <-- the last arg is `thisArg`
1142+
}, obj ); // <-- το τελευταίο arg είναι το `thisArg`
11431143
1144-
// Prints...
1144+
// Εκτυπώνει...
11451145
11461146
// "foo"
11471147
// "bar"
11481148
// "qux"
11491149
11501150
```
11511151

1152-
`thisArg` can be used with `Array.prototype.every`, `Array.prototype.forEach`, `Array.prototype.some`, `Array.prototype.map`, `Array.prototype.filter`
1152+
`thisArg` μπορεί να χρησιμοποιηθεί με `Array.prototype.every`, `Array.prototype.forEach`, `Array.prototype.some`, `Array.prototype.map`, `Array.prototype.filter`
11531153

11541154
7. <a name="misc">Misc</a>
11551155

0 commit comments

Comments
 (0)