Skip to content

Commit 72bd90f

Browse files
committed
gr_GR translation
1 parent 89aa4e2 commit 72bd90f

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

translations/gr_GR/readme.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -720,91 +720,91 @@
720720
```javascript
721721
722722
// 4.1.1
723-
// When only evaluating that an array has length,
724-
// instead of this:
723+
// Όταν ελέγχετε αν ένα array έχει length,
724+
// αντί για αυτό:
725725
if ( array.length > 0 ) ...
726726
727-
// ...evaluate truthiness, like this:
727+
// ...να ελέγχετε το truthiness, με αυτόν τον τρόπο:
728728
if ( array.length ) ...
729729
730730
731731
// 4.1.2
732-
// When only evaluating that an array is empty,
733-
// instead of this:
732+
// Όταν ελέγχετε ότι ένα array είναι empty,
733+
// αντί για αυτό:
734734
if ( array.length === 0 ) ...
735735
736-
// ...evaluate truthiness, like this:
736+
// ...να ελέγχετε το truthiness, με αυτόν τον τρόπο:
737737
if ( !array.length ) ...
738738
739739
740740
// 4.1.3
741-
// When only evaluating that a string is not empty,
742-
// instead of this:
741+
// Όταν ελέγχετε ότι ένα string δεν είναι empty,
742+
// αντί για αυτό:
743743
if ( string !== "" ) ...
744744
745-
// ...evaluate truthiness, like this:
745+
// ...να ελέγχετε το truthiness, με αυτόν τον τρόπο:
746746
if ( string ) ...
747747
748748
749749
// 4.1.4
750-
// When only evaluating that a string _is_ empty,
751-
// instead of this:
750+
// Όταν ελέγχετε ότι ένα string _είναι_ empty,
751+
// αντί για αυτό:
752752
if ( string === "" ) ...
753753
754-
// ...evaluate falsy-ness, like this:
754+
// ...να ελέγχετε το falsy-ness, με αυτόν τον τρόπο:
755755
if ( !string ) ...
756756
757757
758758
// 4.1.5
759-
// When only evaluating that a reference is true,
760-
// instead of this:
759+
// Όταν ελέγχετε ότι ένα reference είναι true,
760+
// αντί για αυτό:
761761
if ( foo === true ) ...
762762
763-
// ...evaluate like you mean it, take advantage of built in capabilities:
763+
// ...να το ελέγχετε σαν να το εννωείτε, Επωφεληθείτε από τις ενσωματωμένες δυνατότητες:
764764
if ( foo ) ...
765765
766766
767767
// 4.1.6
768-
// When evaluating that a reference is false,
769-
// instead of this:
768+
// Όταν ελέγχετε ότι ένα reference είναι false,
769+
// αντί για αυτό:
770770
if ( foo === false ) ...
771771
772-
// ...use negation to coerce a true evaluation
772+
// ...να χρησιμποιείτε negation για να κάνετε coerce ένα true evaluation
773773
if ( !foo ) ...
774774
775-
// ...Be careful, this will also match: 0, "", null, undefined, NaN
776-
// If you _MUST_ test for a boolean false, then use
775+
// ...Προσοχή, αυτό θα ισχύει και για: 0, "", null, undefined, NaN
776+
// Αν _ΠΡΕΠΕΙ_ να ελέγξετε ένα boolean false, τότε να χρησιμποιείτε
777777
if ( foo === false ) ...
778778
779779
780780
// 4.1.7
781-
// When only evaluating a ref that might be null or undefined, but NOT false, "" or 0,
782-
// instead of this:
781+
// Όταν ελέγχετε έμα ref που μπορεί να είναι null ή undefined, αλλά ΟΧΙ false, "" or 0,
782+
// αντί για αυτό:
783783
if ( foo === null || foo === undefined ) ...
784784
785-
// ...take advantage of == type coercion, like this:
785+
// ...εκμεταλευτείτε το == type coercion, με αυτόν τον τρόπο:
786786
if ( foo == null ) ...
787787
788-
// Remember, using == will match a `null` to BOTH `null` and `undefined`
789-
// but not `false`, "" or 0
788+
// Να θυμάστε πως η χρήση == θα ταιριάξει ένα `null` και στο `null` και στο `undefined`
789+
// αλλά όχι `false`, "" ή 0
790790
null == undefined
791791
792792
```
793-
ALWAYS evaluate for the best, most accurate result - the above is a guideline, not a dogma.
793+
Πάντα να ελέγχετε για το καλύτερο, πιο ακριβές αποτέλεσμα - τα παραπάνω είναι μια κατευθυντήρια γραμμή, όχι ένα δόγμα.
794794

795795
```javascript
796796
797797
// 4.2.1
798-
// Type coercion and evaluation notes
798+
// Type coercion και evaluation notes
799799
800-
// Prefer `===` over `==` (unless the case requires loose type evaluation)
800+
// Να προτιμάρε `===` αντί για `==` (εκτός και αν αυτή η περίπτωση απαιτεί loose type evaluation)
801801
802-
// === does not coerce type, which means that:
802+
// === δεν κάνει coerce το type, που σημαίνει ότι:
803803
804804
"1" === 1;
805805
// false
806806
807-
// == does coerce type, which means that:
807+
// == κάνει coerce type, που σημαίνει ότι:
808808
809809
"1" == 1;
810810
// true

0 commit comments

Comments
 (0)