Moin
21 يوليو 2024، 3:39م
1
متابعةً للنقاش من مشكلة في تجاوز ترجمة الجمع (العدد) :
أعتقد أن اللغة المجرية ليست اللغة الوحيدة المتأثرة بهذا. بعد التحقق من اللغة العبرية بسبب هذا الإشارة إلى وجود مشاكل #bug، فكرت ربما تتأثر لغات أخرى، لذلك بدأت بالبحث عن حالات أخرى.
بعد العثور على حالة أخرى، أتوقع أن تتأثر لغات أخرى.
إعجابَين (2)
david
(David Taylor)
22 يوليو 2024، 12:10م
3
شكراً @Moin !
لقد أجريت هذا التغيير لإيقاف النزيف. سيحد هذا من تأثير عمليات الترجمة الفاشلة بحيث تؤثر فقط على سلاسل _MF بدلاً من تعطيل الموقع بأكمله.
سنواصل البحث عن السبب الجذري، وسنُحدّث هنا عندما نتوصل إلى حل.
11 إعجابًا
loic
(Loïc Guitaut)
25 يوليو 2024، 12:32م
5
لقد قمنا للتو بدمج تصحيح يخفف من ضغط مترجم MessageFormat، مما يسمح بمفاتيح جمع غير صالحة في الرسائل:
main ← loic-handle-bad-mf-pluralization-rules
opened 04:08PM - 24 Jul 24 UTC
We can get translations with invalid plural keys from Crowdin or from custom ove… rrides. Currently, this will raise an error and the locales won’t be outputted at all.
This PR addresses this issue by using the new `strict: false` option of our `messageformat-wrapper` gem, allowing to generate locales even if there are invalid plural keys present.
هذا يجب أن يعالج معظم المشاكل. يجب أن تتبع تصحيحات أخرى قريبًا.
5 إعجابات
loic
(Loïc Guitaut)
26 يوليو 2024، 10:27ص
6
تم دمج تصحيح آخر للتو:
main ← loic-validate-translation-overrides
opened 03:00PM - 25 Jul 24 UTC
Currently, when adding translation overrides, values aren’t validated for MF str… ings. This results in being able to add invalid plural keys or even strings containing invalid syntax.
This PR addresses this issue by compiling the string when saving an override if the key is detected as an MF one.
If there’s an error from the compiler, it’s added to the model errors, which in turn is displayed to the user in the admin UI, helping them to understand what went wrong.
----


سيمنع هذا إنشاء تجاوزات MF غير صالحة في واجهة المستخدم الإدارية.
5 إعجابات
loic
(Loïc Guitaut)
29 يوليو 2024، 1:46م
7
تم دمج طلب السحب هذا للتو:
main ← loic-update-ruby-i18n-pluralization-rules
opened 03:56PM - 26 Jul 24 UTC
The current pluralization rules used by the I18n system in Ruby are obsolete and… don’t follow the official rules available at https://www.unicode.org/cldr/charts/45/supplemental/language_plural_rules.html.
Using https://github.com/ruby-i18n/ruby-cldr, new and updated ones have been generated.
يجب أن تكون قواعد الجمع في Ruby محدثة الآن بتلك الموجودة لدينا في JS
4 إعجابات
j.jaffeux
(Joffrey Jaffeux)
تم إغلاقه في
3 أغسطس 2024، 1:46م
8
تم إغلاق هذا الموضوع تلقائيًا بعد 5 أيام من آخر رد. لم تعد الردود الجديدة مسموح بها.