Skip to content

Translate file library/__main__.po#1125

Open
skpanagiotis wants to merge 6 commits intopython:3.14from
skpanagiotis:library-main
Open

Translate file library/__main__.po#1125
skpanagiotis wants to merge 6 commits intopython:3.14from
skpanagiotis:library-main

Conversation

@skpanagiotis
Copy link
Collaborator

Ποιο issue κλείνει το συγκεκριμένο PR;

Closes #1044

Περιγραφή του PR

  • Translate file library/main.po
  • Update main.txt

Copy link
Contributor

@vadal vadal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good translation! I have some suggestions, mainly for consistency with existing files.

"detail below. If you're new to Python modules, see the tutorial section :"
"ref:`tut-modules` for an introduction."
msgstr ""
"Και οι δύο αυτοί μηχανισμοί σχετίζονται με τα αρχεία μονάδων (modules) της "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"Και οι δύο αυτοί μηχανισμοί σχετίζονται με τα αρχεία μονάδων (modules) της "
"Και οι δύο αυτοί μηχανισμοί σχετίζονται με τα modules της "

"Και οι δύο αυτοί μηχανισμοί σχετίζονται με τα αρχεία μονάδων (modules) της "
"Python· τον τρόπο με τον οποίο οι χρήστες αλληλεπιδρούν με αυτά και τον "
"τρόπο με τον οποίο αλληλεπιδρούν μεταξύ τους. Εξηγούνται λεπτομερώς "
"παρακάτω. Εάν είστε νέος στα αρχεία μονάδων της Python, δείτε την ενότητα "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"παρακάτω. Εάν είστε νέος στα αρχεία μονάδων της Python, δείτε την ενότητα "
"παρακάτω. Εάν είστε νέος στα Python modules, δείτε την ενότητα "

"the name of the top-level environment of the program, which can be checked "
"using the ``__name__ == '__main__'`` expression; and"
msgstr ""
"το όνομα του πεδίου ονομάτων κορυφαίου επιπέδου του προγράμματος, το οποίο "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"το όνομα του πεδίου ονομάτων κορυφαίου επιπέδου του προγράμματος, το οποίο "
"το όνομα του πεδίου ονομάτων ανωτέρου επιπέδου του προγράμματος, το οποίο "

#: library/__main__.rst:2
msgid ":mod:`!__main__` --- Top-level code environment"
msgstr ""
msgstr ":mod:`!__main__` --- Περιβάλλον κώδικα κορυφαίου επιπέδου"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
msgstr ":mod:`!__main__` --- Περιβάλλον κώδικα κορυφαίου επιπέδου"
msgstr ":mod:`!__main__` --- Περιβάλλον κώδικα ανωτέρου επιπέδου"

Πρόταση για consistency με τα άλλα αρχεία

"However, if the module is executed in the top-level code environment, its "
"``__name__`` is set to the string ``'__main__'``."
msgstr ""
"Ωστόσο, εάν το module εκτελείται στο περιβάλλον κώδικα κορυφαίου επιπέδου, "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"Ωστόσο, εάν το module εκτελείται στο περιβάλλον κώδικα κορυφαίου επιπέδου, "
"Ωστόσο, εάν το module εκτελείται στο περιβάλλον κώδικα ανωτέρου επιπέδου, "

#: library/__main__.rst:297
msgid "Example usage of this module could be as follows::"
msgstr ""
"Παράδειγμα χρήσης αυτού του αρχείου μονάδας θα μπορούσε να είναι ως εξής::"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"Παράδειγμα χρήσης αυτού του αρχείου μονάδας θα μπορούσε να είναι ως εξής::"
"Ένα παράδειγμα χρήσης αυτού του module θα μπορούσε να είναι το εξής::"

"with status code 0, indicating success:"
msgstr ""
"Ο κωδικός εξόδου του προγράμματος θα ήταν 1, υποδεικνύοντας ένα σφάλμα. "
"Αποσχολιάζοντας τη γραμμή με ``my_name = \"Dinsdale\"`` διορθώνει το "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"Αποσχολιάζοντας τη γραμμή με ``my_name = \"Dinsdale\"`` διορθώνει το "
"Αποσχολιάζοντας τη γραμμή ``my_name = \"Dinsdale\"`` διορθώνεται το "

"this work?"
msgstr ""
"Σημειώστε ότι η εισαγωγή του ``__main__`` δεν προκαλεί κανένα πρόβλημα με "
"την ακούσια εκτέλεση κώδικα κορυφαίου επιπέδου που προορίζεται για χρήση σε "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"την ακούσια εκτέλεση κώδικα κορυφαίου επιπέδου που προορίζεται για χρήση σε "
"την ακούσια εκτέλεση κώδικα ανωτέρου επιπέδου που προορίζεται για χρήση σε "

"είναι παρόν στο :data:`sys.modules`, η Python το περνάει στο ``namely``. "
"Δείτε :ref:`Special considerations for __main__ <import-dunder-main>` στην "
"αναφορά του συστήματος εισαγωγής για λεπτομέρειες σχετικά με το πώς "
"λειτουργεί αυτό."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"λειτουργεί αυτό."
"λειτουργεί."

"The Python REPL is another example of a \"top-level environment\", so "
"anything defined in the REPL becomes part of the ``__main__`` scope::"
msgstr ""
"Το REPL της Python είναι ένα ακόμη παράδειγμα \"πεδίου ονομάτων κορυφαίου "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"Το REPL της Python είναι ένα ακόμη παράδειγμα \"πεδίου ονομάτων κορυφαίου "
"Το REPL της Python είναι ένα ακόμη παράδειγμα \"πεδίου ονομάτων ανωτέρου "

Copy link
Contributor

@vadal vadal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good translation! I have some suggestions, mainly for consistency with existing files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[3.14] Translate library/__main__.po

2 participants