Adding Ollama Support

This commit is contained in:
Lucas Bock
2024-10-12 18:44:23 -05:00
parent 1bed63a4af
commit 6e25780b25
53 changed files with 2260 additions and 1079 deletions

View File

@ -38,7 +38,7 @@ msgstr "<0>Κατασκεύασα το Reactive Resume κυρίως μόνος
msgid "<0>I'm sure the app is not perfect, but I'd like for it to be.</0><1>If you faced any issues while creating your resume, or have an idea that would help you and other users in creating your resume more easily, drop an issue on the repository or send me an email about it.</1>"
msgstr "<0>Είμαι βέβαιος ότι η εφαρμογή δεν είναι τέλεια, αλλά θα ήθελα να είναι. </0><1>Αν αντιμετωπίσατε προβλήματα κατά τη δημιουργία του βιογραφικού σας, ή έχετε κάποια ιδέα που μπορεί να βοηθήσει εσάς ή άλλους για να δημιουργήσετε το βιογραφικό πιο εύκολα, στείλτε μου ένα email σχετικά με αυτό. </1>"
#: apps/client/src/pages/dashboard/settings/_sections/openai.tsx:126
#: apps/client/src/pages/dashboard/settings/_sections/openai.tsx:205
msgid "<0>Note: </0>By utilizing the OpenAI API, you acknowledge and accept the <1>terms of use</1> and <2>privacy policy</2> outlined by OpenAI. Please note that Reactive Resume bears no responsibility for any improper or unauthorized utilization of the service, and any resulting repercussions or liabilities solely rest on the user."
msgstr "<0>Σημείωση: </0>Χρησιμοποιώντας το API του OpenAI, αναγνωρίζετε και αποδέχεστε τους <1>όρους χρήσης</1> και την <2>πολιτική απορρήτου</2> που περιγράφονται από το OpenAI. Σημειώστε ότι η Reactive Resume δεν φέρει καμία ευθύνη για οποιαδήποτε ακατάλληλη ή μη εξουσιοδοτημένη χρήση της υπηρεσίας, και οποιεσδήποτε επακόλουθες επιπτώσεις ή ευθύνες βαρύνουν αποκλειστικά τον χρήστη."
@ -146,10 +146,6 @@ msgstr "Οποιοσδήποτε διαθέτει τον σύνδεσμο μπο
msgid "Anyone with this link can view and download the resume. Share it on your profile or with recruiters."
msgstr "Οποιοσδήποτε με αυτόν τον σύνδεσμο μπορεί να δει και να κατεβάσει το βιογραφικό σημείωμα. Μοιραστείτε το στο προφίλ σας ή με τους υπεύθυνους προσλήψεων."
#: apps/client/src/pages/dashboard/settings/_sections/openai.tsx:83
msgid "API Key"
msgstr "Kλειδί API"
#: apps/client/src/pages/builder/sidebars/left/sections/shared/section-dialog.tsx:124
msgid "Are you sure you want to delete this item?"
msgstr "Είστε σίγουροι ότι θέλετε να διαγράψετε αυτό το στοιχείο;"
@ -209,6 +205,10 @@ msgstr "Εφεδρικός κωδικός"
msgid "Backup Codes may contain only lowercase letters or numbers, and must be exactly 10 characters."
msgstr "Οι κωδικοί αντιγράφων ασφαλείας μπορούν να περιέχουν μόνο πεζά γράμματα ή αριθμούς και πρέπει να είναι ακριβώς 10 χαρακτήρες."
#: apps/client/src/pages/dashboard/settings/_sections/openai.tsx:133
msgid "Base URL"
msgstr ""
#: apps/client/src/pages/builder/sidebars/left/index.tsx:55
msgctxt "The basics section of a resume consists of User's Picture, Full Name, Location etc."
msgid "Basics"
@ -575,7 +575,7 @@ msgstr "Παραλλαγές γραμματοσειράς"
msgid "For example, information regarding which companies you sent this resume to or the links to the job descriptions can be noted down here."
msgstr "Για παράδειγμα, πληροφορίες σχετικά με τις εταιρείες στις οποίες στείλατε το βιογραφικό σας ή τους συνδέσμους προς τις περιγραφές θέσεων εργασίας μπορούν να σημειωθούν εδώ."
#: apps/client/src/pages/dashboard/settings/_sections/openai.tsx:107
#: apps/client/src/pages/dashboard/settings/_sections/openai.tsx:186
msgid "Forget"
msgstr "Ξεχάστε το"
@ -914,10 +914,18 @@ msgstr "Μάρτιος 2023 - Παρόν"
msgid "Margin"
msgstr "Περιθώρια"
#: apps/client/src/pages/dashboard/settings/_sections/openai.tsx:159
msgid "Max Tokens"
msgstr ""
#: apps/client/src/pages/home/sections/features/index.tsx:48
msgid "MIT License"
msgstr "MIT License"
#: apps/client/src/pages/dashboard/settings/_sections/openai.tsx:146
msgid "Model"
msgstr ""
#: apps/client/src/pages/auth/register/page.tsx:98
#: apps/client/src/pages/builder/sidebars/left/dialogs/custom-section.tsx:58
#: apps/client/src/pages/builder/sidebars/left/dialogs/interests.tsx:48
@ -961,6 +969,10 @@ msgstr "Σημείωση: Αυτό θα καταστήσει το λογαρια
msgid "Notes"
msgstr "Σημειώσεις"
#: apps/client/src/pages/dashboard/settings/_sections/openai.tsx:101
msgid "Ollama Integration"
msgstr ""
#: apps/client/src/pages/auth/verify-otp/page.tsx:82
msgid "One-Time Password"
msgstr "Κωδικός πρόσβασης μίας χρήσης"
@ -982,13 +994,17 @@ msgstr "Άνοιγμα"
msgid "Open Source"
msgstr "Ανοικτού Κώδικα"
#: apps/client/src/services/openai/change-tone.ts:30
#: apps/client/src/services/openai/fix-grammar.ts:28
#: apps/client/src/services/openai/improve-writing.ts:28
#: apps/client/src/pages/dashboard/settings/_sections/openai.tsx:120
msgid "OpenAI / Ollama API Key"
msgstr ""
#: apps/client/src/services/openai/change-tone.ts:34
#: apps/client/src/services/openai/fix-grammar.ts:32
#: apps/client/src/services/openai/improve-writing.ts:32
msgid "OpenAI did not return any choices for your text."
msgstr "Το OpenAI δεν επέστρεψε καμία επιλογή για το κείμενό σας."
#: apps/client/src/pages/dashboard/settings/_sections/openai.tsx:52
#: apps/client/src/pages/dashboard/settings/_sections/openai.tsx:77
#: apps/client/src/pages/home/sections/features/index.tsx:52
msgid "OpenAI Integration"
msgstr "Ενσωμάτωση OpenAI"
@ -1213,6 +1229,14 @@ msgstr "Στρογγυλεμένο"
msgid "Save Changes"
msgstr "Αποθήκευση Αλλαγών;"
#: apps/client/src/pages/dashboard/settings/_sections/openai.tsx:180
msgid "Save Locally"
msgstr ""
#: apps/client/src/pages/dashboard/settings/_sections/openai.tsx:180
msgid "Saved"
msgstr ""
#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:168
msgid "Scan the QR code below with your authenticator app to setup 2FA on your account."
msgstr "Σαρώστε τον παρακάτω κωδικό QR με την εφαρμογή ελέγχου ταυτότητας για να ρυθμίσετε τον 2FA στο λογαριασμό σας."
@ -1376,18 +1400,10 @@ msgstr "Στατιστικά"
msgid "Statistics are available only for public resumes."
msgstr "Τα στατιστικά στοιχεία είναι διαθέσιμα μόνο για δημόσια βιογραφικά σημειώματα."
#: apps/client/src/pages/dashboard/settings/_sections/openai.tsx:101
msgid "Store Locally"
msgstr "Αποθηκεύστε τοπικά"
#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:162
msgid "Store your backup codes securely"
msgstr "Αποθηκεύστε τους κωδικούς αντιγράφων ασφαλείας σας με ασφάλεια"
#: apps/client/src/pages/dashboard/settings/_sections/openai.tsx:101
msgid "Stored"
msgstr "Αποθηκευμένες"
#: apps/client/src/pages/builder/sidebars/left/dialogs/awards.tsx:101
#: apps/client/src/pages/builder/sidebars/left/dialogs/certifications.tsx:95
#: apps/client/src/pages/builder/sidebars/left/dialogs/custom-section.tsx:128
@ -1433,10 +1449,14 @@ msgstr "Αναφορές πελατών"
msgid "Text Color"
msgstr "Χρώματα κειμένου"
#: apps/client/src/pages/dashboard/settings/_sections/openai.tsx:25
#: apps/client/src/pages/dashboard/settings/_sections/openai.tsx:26
msgid "That doesn't look like a valid OpenAI API key."
msgstr "Αυτό δεν μοιάζει με έγκυρο κλειδί API του OpenAI."
#: apps/client/src/pages/dashboard/settings/_sections/openai.tsx:30
msgid "That doesn't look like a valid URL"
msgstr ""
#: apps/client/src/pages/dashboard/settings/_sections/security.tsx:34
msgid "The passwords you entered do not match."
msgstr "Οι κωδικοί πρόσβασης που εισάγατε δεν ταιριάζουν"
@ -1660,7 +1680,11 @@ msgstr "Μπορείτε να προσθέσετε πολλαπλές λέξει
msgid "You can also enter your username."
msgstr "Μπορείτε επίσης να εισάγετε το όνομα χρήστη σας."
#: apps/client/src/pages/dashboard/settings/_sections/openai.tsx:54
#: apps/client/src/pages/dashboard/settings/_sections/openai.tsx:105
msgid "You can integrate with Ollama simply by setting the API key to `sk-1234567890abcdef` and the Base URL to your Ollama URL, i.e. `http://localhost:11434/v1`. You can also pick and choose models and set the max tokens."
msgstr ""
#: apps/client/src/pages/dashboard/settings/_sections/openai.tsx:79
msgid "You can make use of the OpenAI API to help you generate content, or improve your writing while composing your resume."
msgstr "Μπορείτε να χρησιμοποιήσετε το OpenAI API για να σας βοηθήσει να δημιουργήσετε περιεχόμενο, ή να βελτιώσετε το γράψιμό σας, ενώ συνθέτετε το βιογραφικό σας."
@ -1668,7 +1692,7 @@ msgstr "Μπορείτε να χρησιμοποιήσετε το OpenAI API γ
msgid "You can track the number of views your resume has received, or how many people have downloaded the resume by enabling public sharing."
msgstr "Μπορείτε να παρακολουθείτε τον αριθμό των προβολών που έχει λάβει το βιογραφικό σας, ή πόσοι άνθρωποι έχουν κατεβάσει το βιογραφικό ενεργοποιώντας την κοινή χρήση του κοινού."
#: apps/client/src/pages/dashboard/settings/_sections/openai.tsx:60
#: apps/client/src/pages/dashboard/settings/_sections/openai.tsx:85
msgid "You have the option to <0>obtain your own OpenAI API key</0>. This key empowers you to leverage the API as you see fit. Alternatively, if you wish to disable the AI features in Reactive Resume altogether, you can simply remove the key from your settings."
msgstr "Έχετε την επιλογή <0>αποκτήστε το δικό σας κλειδί OpenAI API</0>. Αυτό το κλειδί σας δίνει τη δυνατότητα να αξιοποιήσετε το API όπως σας φαίνεται κατάλληλο. Εναλλακτικά, αν θέλετε να απενεργοποιήσετε τις λειτουργίες τεχνητής νοημοσύνης στο Reume ενεργό συνολικά, μπορείτε απλά να αφαιρέσετε το κλειδί από τις ρυθμίσεις σας."
@ -1685,7 +1709,7 @@ msgstr "Έχετε email!"
msgid "Your account and all your data has been deleted successfully. Goodbye!"
msgstr "Ο λογαριασμός σας και όλα τα δεδομένα σας έχουν διαγραφεί επιτυχώς. Goodbye!"
#: apps/client/src/pages/dashboard/settings/_sections/openai.tsx:116
#: apps/client/src/pages/dashboard/settings/_sections/openai.tsx:195
msgid "Your API key is securely stored in the browser's local storage and is only utilized when making requests to OpenAI via their official SDK. Rest assured that your key is not transmitted to any external server except when interacting with OpenAI's services."
msgstr "Το κλειδί API σας αποθηκεύεται με ασφάλεια στον τοπικό αποθηκευτικό χώρο του προγράμματος περιήγησης και χρησιμοποιείται μόνο όταν κάνει αιτήσεις στο OpenAI μέσω του επίσημου SDK. Να είστε βέβαιοι ότι το κλειδί σας δεν μεταδίδεται σε κανέναν εξωτερικό διακομιστή εκτός όταν αλληλεπιδρά με τις υπηρεσίες του OpenAI."
@ -1708,4 +1732,3 @@ msgstr "Μεγέθυνση"
#: apps/client/src/pages/builder/_components/toolbar.tsx:100
msgid "Zoom Out"
msgstr "Σμίκρυνση"