ব্যবহারকারী:Johnuniq/Translation

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে

Convert template and modules

The above modules have been updated to match the current versions at enwiki (Module version 3, 2014-04-08). Johnuniq (আলাপ) ০৬:১৬, ৮ এপ্রিল ২০১৪ (ইউটিসি)

Archives of this page
Some no-longer-needed material has been archived:

Messages[সম্পাদনা]

I have updated Module:Convert/text to the latest version. One large change concerns how error messages are displayed. In the new system, the message is rather subtle and you need to hover the mouse over the error message to see more information. Examples of messages, with documentation, can be seen at en:Help:Convert messages. Each message links to a section on that page. In due course, you can copy the help page, then translate it, then edit convert/text to change the name to match the local title.

I copied the messages that were translated last year. Please check the following which shows the current en message and the bn message from last year. It's likely that some of the en messages have been slightly rearranged, and the bn text may need similar rearrangement. There is one new message, cvt_bad_frac which applies to the new |frac=N option (N is a number like 8 to have the output display a fraction rounded to the nearest eighth). Please edit the new convert/text module to fix any problems, or edit the table below and tell me when it is complete. In these messages, %s is replaced with a string (text) showing the invalid input. Johnuniq (আলাপ) ০৪:৩০, ৮ এপ্রিল ২০১৪ (ইউটিসি)

Message code Message at en Message at bn
cvt_bad_num Value "%s" must be a number মান "%s" অবশ্যই সংখ্যা হতে হবে
cvt_big_prec Precision "%s" is too large "%s"-এর নির্ভুলতা অত্যন্ত বড়
cvt_invalid_num Number has overflowed সংখ্যা অত্যন্ত বড় বা অত্যন্ত ছোট
cvt_no_num Needs the number to be converted মান প্রয়োজন
cvt_no_num2 Needs another number for a range আরেকটি মান প্রয়োজন
cvt_bad_frac frac "%s" must be an integer above 1
cvt_bad_prec Precision "%s" must be an integer প্যারামিটার "%s" স্পষ্টত অবশ্যই পূর্ণসংখ্যা সংখ্যা হতে হবে
cvt_bad_sigfig sigfig "%s" must be a positive integer প্যারামিটার sigfig "%s" অবশ্যই ধনাত্মক পূর্ণসংখ্যা সংখ্যা হতে হবে
cvt_empty_option Ignored empty option "%s" খালিভূক্তি "%s" উপেক্ষিত হয়েছে
cvt_no_spell Spelling is not available বানান দুষ্প্রাপ্য
cvt_unknown_option Ignored invalid option "%s" অবৈধ সুবিধা "%s" উপেক্ষিত হয়েছে
cvt_bad_default Unit "%s" has an invalid default একক "%s" পূর্বনির্ধারিত অবৈধ ত্রুটি
cvt_bad_unit Unit "%s" is invalid here এখানে একক "%s" অবৈধ
cvt_no_default Unit "%s" has no default output unit একক "%s"-এর পূর্ব-নির্ধারিত আউটপুট একক নেই
cvt_no_unit Needs name of unit এককের নাম প্রয়োজন
cvt_unknown Unit name "%s" is not known একক "%s" অজানা
cvt_mismatch Cannot convert "%s" to "%s" "%s" থেকে "%s" রূপান্তর অসম্ভব
cvt_bug_convert Bug: Cannot convert between specified units বাগ:নির্দিষ্ট এককে রূপান্তর সম্ভব নয়
cvt_lookup Unit "%s" is incorrectly defined একক "%s" ত্রুটিপূর্ণভাবে সংজ্ঞায়িত হয়েছে

At all_messages, more translations are needed:

  • cvt_format determines the appearance of an error message; the message contains three "Convert"; I suggest not changing the first one, but you may want to translate the second two.
  • The text under "Link text" needs translation, for example 'invalid number'.

Following are some error messages to demonstrate:

The pop-up text that appears when the mouse is held over the last message is in Module:Convert/data. Johnuniq (আলাপ) ০৬:৫৩, ৮ এপ্রিল ২০১৪ (ইউটিসি)

Module:Convert/text Translations done --Aftab1995 (আলাপ) ১৬:১৫, ৮ এপ্রিল ২০১৪ (ইউটিসি)

Categories[সম্পাদনা]

Another change concern the categories. The old system used four categories:

  • general বিষয়শ্রেণী:রূপান্তরজনিত ত্রুটি
  • mismatch বিষয়শ্রেণী:অসামঞ্জস্য মাত্রায় রূপান্তর
  • option বিষয়শ্রেণী:অবৈধ সুবিধায় রূপান্তর
  • unknown বিষয়শ্রেণী:অজানা এককে রূপান্তর

Enwiki uses two categories:

However, I recommend just one category. Not many errors occur, and it is not useful to have them split into two categories. What name would you want for one error category? If you want, have two categories, in which case two names are needed. By the way, the new modules have a different default: error categories are only added to articles (not templates or other pages). Johnuniq (আলাপ) ০৬:০১, ৮ এপ্রিল ২০১৪ (ইউটিসি)

👍 পছন্দ One category is better. Please add general error category বিষয়শ্রেণী:রূপান্তরজনিত ত্রুটি. --Aftab1995 (আলাপ) ১৬:১৫, ৮ এপ্রিল ২০১৪ (ইউটিসি)
OK, I entered the one category, and (in this section) unlinked the categories that are not used to remove the red links. Someone should create the category page as a tracking category (usually that means making it a hidden category). Perhaps you or Bellayet would like to do that. It looks like everything is finished for now, thanks. I'll probably return in a few days to update makeunits and the master list of units. When I do that I'll add a note to this page about how you can fix unit definitions. Johnuniq (আলাপ) ০২:৩৪, ৯ এপ্রিল ২০১৪ (ইউটিসি)

Hyphenation[সম্পাদনা]

At enwiki, the "adj" option (adjectival) can be used to make a unit use the singular name, and to use a hyphen. An optional "mid" word can be inserted. Following are three examples showing text copied from enwiki, and the same three examples live here:

  • {{convert|125|ft}} → 125 feet (38 m)
  • {{convert|125|ft|adj=on}} → 125-foot (38 m)
  • {{convert|125|ft||adj=mid|-long}} → 125-foot-long (38 m)
  • {{convert|125|ft}} → ১২৫ ফুট (৩৮ মি)
  • {{convert|125|ft|adj=on}} → ১২৫-ফুট (৩৮ মি)
  • {{convert|125|ft||adj=mid|-long}} → ১২৫-ফুট-long (৩৮ মি)

It is now possible to disable hyphenation. Do you want that? Johnuniq (আলাপ) ০৪:৪৭, ৮ এপ্রিল ২০১৪ (ইউটিসি)

I think, no need to disable this option. --Aftab1995 (আলাপ) ১৬:১৫, ৮ এপ্রিল ২০১৪ (ইউটিসি)