diff --git a/frappe/locale/es.po b/frappe/locale/es.po index dc737bc8ba..b916e8caaa 100644 --- a/frappe/locale/es.po +++ b/frappe/locale/es.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: frappe\n" "Report-Msgid-Bugs-To: developers@frappe.io\n" "POT-Creation-Date: 2024-12-01 09:33+0000\n" -"PO-Revision-Date: 2024-12-02 19:38\n" +"PO-Revision-Date: 2024-12-11 20:01\n" "Last-Translator: developers@frappe.io\n" "Language-Team: Spanish\n" "MIME-Version: 1.0\n" @@ -24765,7 +24765,7 @@ msgstr "Hora de inicio" #: frappe/templates/includes/comments/comments.html:8 msgid "Start a new discussion" -msgstr "Empezar un nuevo debate" +msgstr "Empezar una nueva conversación" #: frappe/core/doctype/data_export/exporter.py:22 msgid "Start entering data below this line" @@ -25252,7 +25252,7 @@ msgstr "Título de \"éxito\"" #: frappe/www/update-password.html:68 msgid "Success! You are good to go 👍" -msgstr "¡Éxito! Eres bueno para ir 👍" +msgstr "¡Éxito! La nueva contraseña es correcta 👍" #. Label of the successful_job_count (Int) field in DocType 'RQ Worker' #: frappe/core/doctype/rq_worker/rq_worker.json diff --git a/frappe/locale/fa.po b/frappe/locale/fa.po index c1b7e2d33d..548779e144 100644 --- a/frappe/locale/fa.po +++ b/frappe/locale/fa.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: frappe\n" "Report-Msgid-Bugs-To: developers@frappe.io\n" "POT-Creation-Date: 2024-12-01 09:33+0000\n" -"PO-Revision-Date: 2024-12-02 19:38\n" +"PO-Revision-Date: 2024-12-09 20:01\n" "Last-Translator: developers@frappe.io\n" "Language-Team: Persian\n" "MIME-Version: 1.0\n" @@ -6922,7 +6922,7 @@ msgstr "حذف این سند فقط در حالت توسعه دهنده مجاز #. Label of the delimiter_options (Data) field in DocType 'Data Import' #: frappe/core/doctype/data_import/data_import.json msgid "Delimiter Options" -msgstr "" +msgstr "گزینه های جداکننده" #: frappe/utils/csvutils.py:73 msgid "Delimiter detection failed. Try to enable custom delimiters and adjust the delimiter options as per your data." @@ -15166,7 +15166,7 @@ msgstr "" #: frappe/public/js/frappe/data_import/import_preview.js:290 msgid "Map columns from {0} to fields in {1}" -msgstr "ستون‌های نقشه از {0} تا فیلدها در {1}" +msgstr "نگاشت ستون‌ها از {0} به فیلدها در {1}" #. Description of the 'Dynamic Route' (Check) field in DocType 'Web Page' #: frappe/website/doctype/web_page/web_page.json @@ -16021,7 +16021,7 @@ msgstr "فیلد ضرب" #. Import' #: frappe/core/doctype/data_import/data_import.json msgid "Must be a publicly accessible Google Sheets URL" -msgstr "باید یک URL برای عموم کاربرگ‌نگار باشد" +msgstr "باید یک URL کاربرگ‌نگار در دسترس عموم باشد" #. Description of the 'LDAP Search String' (Data) field in DocType 'LDAP #. Settings' diff --git a/frappe/locale/fr.po b/frappe/locale/fr.po index 8b9670d0ad..83f22358e7 100644 --- a/frappe/locale/fr.po +++ b/frappe/locale/fr.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: frappe\n" "Report-Msgid-Bugs-To: developers@frappe.io\n" "POT-Creation-Date: 2024-12-01 09:33+0000\n" -"PO-Revision-Date: 2024-12-01 19:09\n" +"PO-Revision-Date: 2024-12-08 20:00\n" "Last-Translator: developers@frappe.io\n" "Language-Team: French\n" "MIME-Version: 1.0\n" @@ -4371,7 +4371,7 @@ msgstr "Hachage de chaînage" #: frappe/public/js/frappe/form/templates/form_sidebar.html:11 #: frappe/tests/test_translate.py:98 msgid "Change" -msgstr "Changement" +msgstr "" #: frappe/tests/test_translate.py:99 msgctxt "Coins" diff --git a/frappe/locale/sv.po b/frappe/locale/sv.po index 8678903b09..c09ac5123f 100644 --- a/frappe/locale/sv.po +++ b/frappe/locale/sv.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: frappe\n" "Report-Msgid-Bugs-To: developers@frappe.io\n" "POT-Creation-Date: 2024-12-01 09:33+0000\n" -"PO-Revision-Date: 2024-12-03 19:36\n" +"PO-Revision-Date: 2024-12-11 20:01\n" "Last-Translator: developers@frappe.io\n" "Language-Team: Swedish\n" "MIME-Version: 1.0\n" @@ -4604,7 +4604,7 @@ msgstr "Chatta" #: frappe/website/doctype/web_form_field/web_form_field.json #: frappe/website/doctype/web_template_field/web_template_field.json msgid "Check" -msgstr "Check" +msgstr "Markera" #: frappe/integrations/doctype/webhook/webhook.py:95 msgid "Check Request URL" @@ -8911,7 +8911,7 @@ msgstr "E-post meddelanden hämtas redan från detta konto." #: frappe/email/queue.py:137 msgid "Emails are muted" -msgstr "E-post är Dämpad" +msgstr "E-post är dämpad" #. Description of the 'Send Email Alert' (Check) field in DocType 'Workflow' #: frappe/workflow/doctype/workflow/workflow.json @@ -11280,7 +11280,7 @@ msgstr "Hämta Fält" #: frappe/printing/doctype/letter_head/letter_head.js:32 msgid "Get Header and Footer wkhtmltopdf variables" -msgstr "Hämta wkhtmltopdf variabler för sidhuvud och sidfot" +msgstr "Hämta Sidhuvud och Sidfot wkhtmltopdf variabler" #: frappe/public/js/frappe/form/multi_select_dialog.js:87 msgid "Get Items" @@ -11852,7 +11852,7 @@ msgstr "Sidhuvud, Robotar" #: frappe/printing/doctype/letter_head/letter_head.js:30 msgid "Header/Footer scripts can be used to add dynamic behaviours." -msgstr "Skript för Brevhuvud/Sidfot kan användas för att lägga till dynamisk beteende." +msgstr "Skript för Sidhuvud/Sidfot kan användas för att lägga till dynamisk beteende." #. Label of the webhook_headers (Table) field in DocType 'Webhook' #. Label of the headers (Code) field in DocType 'Webhook Request Log' @@ -20766,7 +20766,7 @@ msgstr "Omdirigera URI" #: frappe/core/doctype/user/user.json #: frappe/integrations/doctype/social_login_key/social_login_key.json msgid "Redirect URL" -msgstr "Omdirigering Adress" +msgstr "Omdirigering URL" #. Description of the 'Default App' (Select) field in DocType 'System Settings' #. Description of the 'Default App' (Select) field in DocType 'User' @@ -25405,7 +25405,7 @@ msgstr "Ändra Tema" #: frappe/templates/includes/navbar/navbar_login.html:17 msgid "Switch To Desk" -msgstr "Ändra till Skrivbord" +msgstr "Växla till Skrivbord" #: frappe/public/js/frappe/ui/capture.js:281 msgid "Switching Camera" @@ -31417,7 +31417,7 @@ msgstr "{0} är inte Direkt Utskrift Mall." #: frappe/public/js/frappe/views/calendar/calendar.js:82 msgid "{0} is not a valid Calendar. Redirecting to default Calendar." -msgstr "{0} är inte en giltig kalender. Omdirigerar till standardkalendern." +msgstr "{0} är inte giltig Kalender. Omdirigerar till standard Kalender." #: frappe/core/doctype/scheduled_job_type/scheduled_job_type.py:63 msgid "{0} is not a valid Cron expression." diff --git a/frappe/locale/tr.po b/frappe/locale/tr.po index 0464e1401e..78087e36da 100644 --- a/frappe/locale/tr.po +++ b/frappe/locale/tr.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: frappe\n" "Report-Msgid-Bugs-To: developers@frappe.io\n" "POT-Creation-Date: 2024-12-01 09:33+0000\n" -"PO-Revision-Date: 2024-12-01 19:09\n" +"PO-Revision-Date: 2024-12-10 20:05\n" "Last-Translator: developers@frappe.io\n" "Language-Team: Turkish\n" "MIME-Version: 1.0\n" @@ -297,7 +297,45 @@ msgid "
\n" " \n" "
\n" "
\n" -msgstr "" +msgstr "
\n" +" Kutudaki Seri listesini düzenleyin. Kurallar:\n" +" \n" +" Örnekler:\n" +" \n" +"
\n" +"
\n" #. Content of the 'Custom HTML Help' (HTML) field in DocType 'Print Format' #: frappe/printing/doctype/print_format/print_format.json @@ -3066,7 +3104,7 @@ msgstr "Belgeleri Kullanıcılara Otomatik Olarak Ata" #. Label of the auto_account_deletion (Int) field in DocType 'Website Settings' #: frappe/website/doctype/website_settings/website_settings.json msgid "Automatically delete account within (hours)" -msgstr "" +msgstr "Hesabı otomatik olarak sil" #. Label of a Card Break in the Tools Workspace #: frappe/automation/workspace/tools/tools.json @@ -3618,7 +3656,7 @@ msgstr "Kalın" #. Option for the 'Comment Type' (Select) field in DocType 'Comment' #: frappe/core/doctype/comment/comment.json msgid "Bot" -msgstr "" +msgstr "Bot" #: frappe/printing/page/print_format_builder/print_format_builder.js:126 msgid "Both DocType and Name required" @@ -3861,7 +3899,7 @@ msgstr "Alana Göre" #: frappe/core/doctype/doctype/doctype.json #: frappe/custom/doctype/customize_form/customize_form.json msgid "By script" -msgstr "" +msgstr "Script ile" #. Label of the bypass_restrict_ip_check_if_2fa_enabled (Check) field in #. DocType 'User' @@ -6856,7 +6894,7 @@ msgstr "Varsayılan Çalışma Alanı" #. Description of the 'Currency' (Link) field in DocType 'System Settings' #: frappe/core/doctype/system_settings/system_settings.json msgid "Default display currency" -msgstr "" +msgstr "Varsayılan Olarak Görüntülenecek Para Birimi" #: frappe/core/doctype/doctype/doctype.py:1379 msgid "Default for 'Check' type of field {0} must be either '0' or '1'" @@ -10951,7 +10989,7 @@ msgstr "Veriyi Biçimlendir" #: frappe/core/doctype/communication/communication.js:70 msgid "Forward" -msgstr "" +msgstr "İlet" #. Label of the forward_to_email (Data) field in DocType 'Contact Us Settings' #: frappe/website/doctype/contact_us_settings/contact_us_settings.json @@ -11006,7 +11044,7 @@ msgstr "Frappe Desteği" #: frappe/website/doctype/web_page/web_page.js:92 msgid "Frappe page builder using components" -msgstr "" +msgstr "Frappe sayfa oluşturucunun kullandığı bileşenşer" #: frappe/public/js/frappe/file_uploader/ImageCropper.vue:112 msgctxt "Image Cropper" @@ -11215,12 +11253,12 @@ msgstr "" #: frappe/custom/doctype/custom_field/custom_field.json #: frappe/custom/doctype/customize_form_field/customize_form_field.json msgid "Geolocation" -msgstr "" +msgstr "Konum" #. Name of a DocType #: frappe/integrations/doctype/geolocation_settings/geolocation_settings.json msgid "Geolocation Settings" -msgstr "" +msgstr "Coğrafi Konum Ayarları" #: frappe/email/doctype/notification/notification.js:219 msgid "Get Alerts for Today" @@ -11575,11 +11613,11 @@ msgstr "Gri" #: frappe/public/js/frappe/ui/filters/filter.js:23 msgid "Greater Than" -msgstr "" +msgstr "Büyüktür" #: frappe/public/js/frappe/ui/filters/filter.js:25 msgid "Greater Than Or Equal To" -msgstr "" +msgstr "Büyüktür ve Eşittir" #. Option for the 'Color' (Select) field in DocType 'DocType State' #. Option for the 'Indicator' (Select) field in DocType 'Kanban Board Column' @@ -15537,7 +15575,7 @@ msgstr "Bellek Kullanımı" #. Option for the 'Type' (Select) field in DocType 'Notification Log' #: frappe/desk/doctype/notification_log/notification_log.json msgid "Mention" -msgstr "" +msgstr "Bahsetme" #. Label of the enable_email_mention (Check) field in DocType 'Notification #. Settings' @@ -18071,7 +18109,7 @@ msgstr "OpenLDAP" #. Option for the 'Delivery Status' (Select) field in DocType 'Communication' #: frappe/core/doctype/communication/communication.json msgid "Opened" -msgstr "" +msgstr "Açıldı" #. Label of the operation (Select) field in DocType 'Activity Log' #: frappe/core/doctype/activity_log/activity_log.json @@ -19187,7 +19225,7 @@ msgstr "Lütfen Yetkilendirme URL'sini girin" #: frappe/integrations/doctype/social_login_key/social_login_key.py:78 msgid "Please enter Base URL" -msgstr "" +msgstr "Lütfen geçerli bir URL girin" #: frappe/integrations/doctype/social_login_key/social_login_key.py:86 msgid "Please enter Client ID before social login is enabled" @@ -20721,7 +20759,7 @@ msgstr "" #. Label of the redirect_uris (Text) field in DocType 'OAuth Client' #: frappe/integrations/doctype/oauth_client/oauth_client.json msgid "Redirect URIs" -msgstr "" +msgstr "Yönlendirilen Bağlantılar" #. Label of the redirect_url (Small Text) field in DocType 'User' #. Label of the redirect_url (Data) field in DocType 'Social Login Key' @@ -23894,7 +23932,7 @@ msgstr "Paylaş" #: frappe/public/js/frappe/form/templates/set_sharing.html:49 msgid "Share this document with" -msgstr "Dökümanı Şu Kişiyle Paylaş" +msgstr "Dökümanı Paylaş" #: frappe/public/js/frappe/form/sidebar/share.js:45 msgid "Share {0} with" diff --git a/frappe/tests/test_translate.py b/frappe/tests/test_translate.py index 44ca4167d2..651c79d897 100644 --- a/frappe/tests/test_translate.py +++ b/frappe/tests/test_translate.py @@ -94,10 +94,26 @@ class TestTranslate(IntegrationTestCase): self.assertEqual(_("Mobile No"), "Mobile No") def test_translation_with_context(self): + t1 = frappe.new_doc("Translation") + t1.language = "fr" + t1.source_text = "Change" + t1.translated_text = "Changement" + t1.save() + + t2 = frappe.new_doc("Translation") + t2.language = "fr" + t2.source_text = "Change" + t2.translated_text = "la monnaie" + t2.context = "Coins" + t2.save() + frappe.local.lang = "fr" self.assertEqual(_("Change"), "Changement") self.assertEqual(_("Change", context="Coins"), "la monnaie") + t1.delete() + t2.delete() + def test_lazy_translations(self): frappe.local.lang = "de" eager_translation = _("Communication")