Skip to content

Commit aab45cd

Browse files
committed
gr_GR translation
1 parent ea8723d commit aab45cd

File tree

1 file changed

+43
-43
lines changed

1 file changed

+43
-43
lines changed

translations/gr_GR/readme.md

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -173,17 +173,17 @@
173173
- Χρησιμοποιείτε [Editorconfig](http://editorconfig.org/) όποτε μπορείτε. Υποστηρίζει τα περισσότερα IDEs και διαχειρίζεται τις πεισσότερες ρυθμίσεις για τους κενούς χώρους.
174174

175175

176-
2. <a name="spacing">Beautiful Syntax</a>
176+
2. <a name="spacing">Όμορφο Συντακτικό</a>
177177

178178
A. Parens, Braces, Linebreaks
179179

180180
```javascript
181181

182-
// if/else/for/while/try always have spaces, braces and span multiple lines
183-
// this encourages readability
182+
// if/else/for/while/try πάντα έχουν κενά, braces and span πολλαπλές γραμμές
183+
// προωθεί το readability
184184

185185
// 2.A.1.1
186-
// Examples of really cramped syntax
186+
// παραδείγματα από πραγματικά πυκνό συντακτικό
187187

188188
if(condition) doSomething();
189189

@@ -193,7 +193,7 @@
193193

194194

195195
// 2.A.1.1
196-
// Use whitespace to promote readability
196+
// Χρησιμοποιείστε τα κενά για να προωθήσετε το readability
197197

198198
if ( condition ) {
199199
// statements
@@ -207,7 +207,7 @@
207207
// statements
208208
}
209209

210-
// Even better:
210+
// Ακόμα καλύτερα:
211211

212212
var i,
213213
length = 100;
@@ -256,40 +256,40 @@
256256
257257
258258
// 2.B.1.2
259-
// Using only one `var` per scope (function) or one `var` for each variable,
260-
// promotes readability and keeps your declaration list free of clutter.
261-
// Using one `var` per variable you can take more control of your versions
262-
// and makes it easier to reorder the lines.
263-
// One `var` per scope makes it easier to detect undeclared variables
264-
// that may become implied globals.
265-
// Choose better for your project and never mix them.
266-
267-
// Bad
259+
// Χρησιμοποιώντας ένα `var` ανά scope (function) ή ένα `var` για κάθε μεταβλητή,
260+
// προωθείτε το readability και κρατιέται το declaration list χωρίς ακαταστασία.
261+
// Χρησιμοποιώντας ένα `var` ανά μεταβλητή έχετε καλύτερο έλεγχο των versions
262+
// και κάνει ευκολότερο να μετακινείτε τις γραμμές.
263+
// Ένα `var` ανά scope κάνει ευκολότερο το να βρίσκετε undeclared variables
264+
// που μπορεί να γίνουν implied globals.
265+
// Διαλέξτε καλύτερα για το project σας και ποτέ μην τα αναμιγνύετε.
266+
267+
// Κακό
268268
var foo = "",
269269
bar = "";
270270
var qux;
271271
272-
// Good
272+
// Καλό
273273
var foo = "";
274274
var bar = "";
275275
var qux;
276276
277-
// or..
277+
// ή αλλιώς..
278278
var foo = "",
279279
bar = "",
280280
qux;
281281
282-
// or..
283-
var // Comment on these
282+
// ή..
283+
var // Comment σε αυτά
284284
foo = "",
285285
bar = "",
286286
quux;
287287
288288
// 2.B.1.3
289-
// var statements should always be in the beginning of their respective scope (function).
289+
// var statements πρέπει να είναι πάντα στην αρχή του respective scope (function).
290290
291291
292-
// Bad
292+
// κακό
293293
function foo() {
294294
295295
// some statements here
@@ -298,7 +298,7 @@
298298
qux;
299299
}
300300
301-
// Good
301+
// καλό
302302
function foo() {
303303
var bar = "",
304304
qux;
@@ -307,9 +307,9 @@
307307
}
308308
309309
// 2.B.1.4
310-
// const and let, from ECMAScript 6, should likewise be at the top of their scope (block).
310+
// const και let, από το ECMAScript 6, πρέπει να είναι στην αρχή του scope (block) τους.
311311
312-
// Bad
312+
// κακό
313313
function foo() {
314314
let foo,
315315
bar;
@@ -318,7 +318,7 @@
318318
// statements
319319
}
320320
}
321-
// Good
321+
// καλό
322322
function foo() {
323323
let foo;
324324
if ( condition ) {
@@ -336,7 +336,7 @@
336336
337337
}
338338
339-
// Usage
339+
// Χρήση
340340
foo( arg1, argN );
341341
342342
@@ -346,7 +346,7 @@
346346
return number * number;
347347
}
348348
349-
// Usage
349+
// Χρήση
350350
square( 10 );
351351
352352
// Really contrived continuation passing style
@@ -367,8 +367,8 @@
367367
};
368368
369369
// Function Expression with Identifier
370-
// This preferred form has the added value of being
371-
// able to call itself and have an identity in stack traces:
370+
// Αυτή η χρήση έχει το πλεονέκτημα ότι μπορεί να καλεσθέι
371+
// από τον εαυτό της και έχει ένα identity στα stack traces:
372372
var factorial = function factorial( number ) {
373373
if ( number < 2 ) {
374374
return 1;
@@ -385,7 +385,7 @@
385385
this.options = options;
386386
}
387387
388-
// Usage
388+
// Χρήση
389389
var fooBar = new FooBar({ a: "alpha" });
390390
391391
fooBar.options;
@@ -394,41 +394,41 @@
394394
```
395395

396396

397-
C. Exceptions, Slight Deviations
397+
C. Εξαιρέσεις, ελαφρές αποκλίσεις
398398

399399
```javascript
400400
401401
// 2.C.1.1
402402
// Functions with callbacks
403403
foo(function() {
404-
// Note there is no extra space between the first paren
405-
// of the executing function call and the word "function"
404+
// Προσέξτε ότι δεν υπάρχει έξτρα κενό ανάμεσα στο πρώτο paren
405+
// του executing function call και της λέξης "function"
406406
});
407407
408-
// Function accepting an array, no space
408+
// Function δεχόμενο ένα array, όχι κενό
409409
foo([ "alpha", "beta" ]);
410410
411411
// 2.C.1.2
412-
// Function accepting an object, no space
412+
// Function δεχόμενο ένα object, όχι κενό
413413
foo({
414414
a: "alpha",
415415
b: "beta"
416416
});
417417
418-
// Single argument string literal, no space
418+
// Single argument string literal, όχι κενό
419419
foo("bar");
420420
421-
// Expression parens, no space
421+
// Expression parens, όχι κενό
422422
if ( !("foo" in obj) ) {
423423
obj = (obj.bar || defaults).baz;
424424
}
425425
426426
```
427427

428-
D. Consistency Always Wins
428+
D. Η συνέπεια πάντα κερδίζει
429429

430-
In sections 2.A-2.C, the whitespace rules are set forth as a recommendation with a simpler, higher purpose: consistency.
431-
It's important to note that formatting preferences, such as "inner whitespace" should be considered optional, but only one style should exist across the entire source of your project.
430+
Στα κεφάλαια 2.A-2.C, οι κανόνες των κενών ορίζονται ως σύσταση με έναν απλούστερο, ψηλότερο σκοπό: η συνέπεια.
431+
Είναι σημαντικό να σημειώσουμε πως τα formatting preferences, όπως το "inner whitespace" πρέπει να θεωρούνται προαιρετικά, αλλά ένα στυλ πρέπει να υπάρχει σε όλο το project σας.
432432

433433
```javascript
434434
@@ -456,11 +456,11 @@
456456

457457
E. Quotes
458458

459-
Whether you prefer single or double shouldn't matter, there is no difference in how JavaScript parses them. What **ABSOLUTELY MUST** be enforced is consistency. **Never mix quotes in the same project. Pick one style and stick with it.**
459+
Είτε προτιμάτε μονά ή διπλά δεν πειράζειμ δεν υπάρχει διαφορά στο πως η Javascript τα διαβάζει. Αυτό που **ΟΠΩΣ ΚΑΙ ΔΗΠΟΤΕ ΠΡΕΠΕΙ** να ενισχυθεί είναι η συνέπεια. **Ποτέ μην χρησιμοποιείτε και τα δυο στο ίδιο project. Διαλέξτε ένα στυλ και ακολουθείστε αυτο.**
460460

461-
F. End of Lines and Empty Lines
461+
F. Τέλος γραμμών και κενές γραμμές
462462

463-
Whitespace can ruin diffs and make changesets impossible to read. Consider incorporating a pre-commit hook that removes end-of-line whitespace and blanks spaces on empty lines automatically.
463+
Το κενό μπορεί να καταστρέψει τα diffs και να τα κάνει αδύνατο να διαβαστούν. Σκεφτείτε να συμπεριλαμβάνετε ένα pre-commit hook που θα διαγράφει το end-of-line κενό και τα blanks spaces στις κενές γραμμές αυτόματα.
464464

465465
3. <a name="type">Type Checking (Courtesy jQuery Core Style Guidelines)</a>
466466

0 commit comments

Comments
 (0)