MediaWiki talk:Gadget-AbstractWikipediaDraggableVoting
Origin
editThis gadget is based on the code by Amir for the MediaWiki logo contest, made internationalisable for fun and profit. Jdforrester (WMF) (talk) 20:49, 21 October 2020 (UTC)
- Thanks for using the code! Hope that was useful. Amir (talk) 21:41, 21 October 2020 (UTC)
How to translate
editThe gadget's labels are stored in a JSON page per language. To make a translation:
- Make a copy of the raw wikitext:
- On this page:
- Add a sub-section with your language (and language code if you know it)
- Paste the copy
- Wrap it in
<pre>...</pre>
tags for simplicity - Translate the English message-strings into your language.
- Add a
{{ping|Jdforrester (WMF)}}
template, and your signature, to ping us. - Save.
- Note: The translations must include every string – any missing entries will cause it to not work.
If you have any questions, please ping me in a new section below. Thanks! Quiddity (WMF) (talk) 21:25, 21 October 2020 (UTC)
List of existing translations
edit- Gadget-AbstractWikipediaDraggableVoting.i18n.ar.json
- Gadget-AbstractWikipediaDraggableVoting.i18n.bn.json
- Gadget-AbstractWikipediaDraggableVoting.i18n.cs.json
- Gadget-AbstractWikipediaDraggableVoting.i18n.de.json
- Gadget-AbstractWikipediaDraggableVoting.i18n.en-gb.json
- Gadget-AbstractWikipediaDraggableVoting.i18n.en.json
- Gadget-AbstractWikipediaDraggableVoting.i18n.es.json
- Gadget-AbstractWikipediaDraggableVoting.i18n.fr.json
- Gadget-AbstractWikipediaDraggableVoting.i18n.gu.json
- Gadget-AbstractWikipediaDraggableVoting.i18n.he.json
- Gadget-AbstractWikipediaDraggableVoting.i18n.hi.json
- Gadget-AbstractWikipediaDraggableVoting.i18n.id.json
- Gadget-AbstractWikipediaDraggableVoting.i18n.ja.json
- Gadget-AbstractWikipediaDraggableVoting.i18n.pl.json
- Gadget-AbstractWikipediaDraggableVoting.i18n.pt-br.json
- Gadget-AbstractWikipediaDraggableVoting.i18n.pt.json
- Gadget-AbstractWikipediaDraggableVoting.i18n.th.json
- Gadget-AbstractWikipediaDraggableVoting.i18n.uk.json
- Gadget-AbstractWikipediaDraggableVoting.i18n.zh-hans.json
British English (en-gb) translation
edit- Example translation request
Please add this translation for en-gb:
{ "gadget-logo-voting-label": "Submit {{GENDER:|your}} vote", "gadget-logo-voting-editsummary": "Voted using the vote gadget", "gadget-logo-voting-noticetext": "Please re-order the options below in {{GENDER:|your}} order of preference.", "gadget-logo-voting-voteprompt": "{{GENDER:|Your}} vote:", "gadget-logo-voting-messagetext": "{{GENDER:|Your}} vote has been recorded. Thank you! {{GENDER:|You}} will be re-directed soon.", "gadget-logo-voting-login": "Please log in first", "gadget-logo-voting-error": "{{GENDER:|Your}} edit could not be saved" }
@Jdforrester (WMF): Thank you! Quiddity (WMF) (talk) 21:24, 21 October 2020 (UTC)
Brazilian portuguese (pt-br) translation
edit{ "gadget-logo-voting-label": "Enviar {{GENDER:|seu}} voto", "gadget-logo-voting-editsummary": "Votado usando o gadget de voto", "gadget-logo-voting-noticetext": "Reordene as opções abaixo na {{GENDER:|sua}} ordem de preferência.", "gadget-logo-voting-voteprompt": "{{GENDER:|Seu}} voto:", "gadget-logo-voting-messagetext": "{{GENDER:|Seu}} voto foi salvado. Obrigado! {{GENDER:|Você}} será redirecionado em breve.", "gadget-logo-voting-login": "Por favor, entre primeiro", "gadget-logo-voting-error": "{{GENDER:|Sua}} edição não pôde ser salva" }
@Jdforrester (WMF): --Eduaddad (talk) 18:02, 22 October 2020 (UTC)
- Done – https://meta.wikimedia.org/wiki/MediaWiki:Gadget-AbstractWikipediaDraggableVoting.i18n.pt-br.json Can the same be used for
pt
too? Jdforrester (WMF) (talk) 18:53, 22 October 2020 (UTC)- "redirecionado" should be feminized to "redirecionada" according to GENDER (The terms "seu" or "sua" do not need this).
- Note that I have doubts about entre ("enter" in English, ambiguous) to correctly translate the verb "login", it should be conecte-se, or faça login, as in Por favor, faça o login para comentar ("please login to comment"). verdy_p (talk) 00:21, 23 October 2020 (UTC)
French [fr] translation
edit{ "gadget-logo-voting-label": "Soumettre votre vote", "gadget-logo-voting-editsummary": "A voté en utilisant le gadget de vote", "gadget-logo-voting-noticetext": "Veuillez arranger les options ci-dessous dans l’ordre de vos préférences.", "gadget-logo-voting-voteprompt": "Votre vote :", "gadget-logo-voting-messagetext": "Votre vote a été enregistré. Merci ! Vous allez être redirigé{{GENDER:||e}}.", "gadget-logo-voting-login": "Veuillez d’abord vous connecter", "gadget-logo-voting-error": "Votre modification n’a pas pu être enregistrée" }
- This normally applies to all French variants (fr-be, fr-ca, fr-ch, fr-fr, fr-lu, fr-mc, fr-ad, fr-cm, ...), as there's no known lexical adaptation needed here (most often for numbers only, in Belgium, Switzerland, or DR Congo). Note: GENDER is not used except in one case.
@Jdforrester (WMF): Thank you! verdy_p (talk) 00:13, 23 October 2020 (UTC)
- @Verdy p: Done. Thank you. Jdforrester (WMF) (talk) 16:02, 23 October 2020 (UTC)
Czech (cs) translation
edit{ "gadget-logo-voting-label": "Odeslat váš hlas", "gadget-logo-voting-editsummary": "Odhlasováno pomocí hlasovacího udělátka", "gadget-logo-voting-noticetext": "Uspořádejte možnosti níže do pořadí podle toho, jak se vám líbí.", "gadget-logo-voting-voteprompt": "Váš hlas:", "gadget-logo-voting-messagetext": "Váš hlas byl zaznamenán. Děkujeme vám! Brzy budete {{GENDER:přesměrován|přesměrována|přesměrováni}}.", "gadget-logo-voting-login": "Nejprve se prosím přihlaste", "gadget-logo-voting-error": "Vaši editaci se nepodařilo uložit" }
@Jdforrester (WMF): --Mormegil (cs) 12:36, 23 October 2020 (UTC)
- @Mormegil: Done. Thank you. Jdforrester (WMF) (talk) 16:03, 23 October 2020 (UTC)
Ukrainian (uk)
edit{ "gadget-logo-voting-label": "Додайте свій голос", "gadget-logo-voting-editsummary": "Проголосовано через додаток голосування", "gadget-logo-voting-noticetext": "Будь ласка, поставте опції нижче в тому порядку, в якому ви віддаєте їм перевагу.", "gadget-logo-voting-voteprompt": "Ваш голос:", "gadget-logo-voting-messagetext": "Ваш голос записано. Дякуємо! Невдовзі вас буде перенаправлено.", "gadget-logo-voting-login": "Спочатку, будь ласка, увійдіть в систему", "gadget-logo-voting-error": "Не вдалося зберегти ваш голос" }
@Jdforrester (WMF): -- Ата (talk) 13:00, 23 October 2020 (UTC)
- @Ата: Done. Thank you. Jdforrester (WMF) (talk) 16:03, 23 October 2020 (UTC)
Polish (pl) translation
edit{
"gadget-logo-voting-label": "Oddaj {{GENDER:|swój}} głos",
"gadget-logo-voting-editsummary": "Zagłosowano za pomocą gadżetu",
"gadget-logo-voting-noticetext": "Ustaw kolejność poniższych opcji zgodnie ze {{GENDER:|swoimi}} preferencjami.",
"gadget-logo-voting-voteprompt": "{{GENDER:|Twój}} głos:",
"gadget-logo-voting-messagetext": "{{GENDER:|Twój}} głos został zapisany. Dziękujemy! Za chwilę zostaniesz przekierowan{{GENDER:|y|a}}.",
"gadget-logo-voting-login": "Najpierw się zaloguj",
"gadget-logo-voting-error": "{{GENDER:|Twoja}} edycja nie mogła zostać zapisana"
}
Wargo (talk) 15:06, 23 October 2020 (UTC)
- @Wargo: Done. Thank you. Jdforrester (WMF) (talk) 16:04, 23 October 2020 (UTC)
Indonesian (id) translation
edit{ "gadget-logo-voting-label": "Berikan suara Anda", "gadget-logo-voting-editsummary": "Memberikan suara menggunakan perkakas pemungutan suara", "gadget-logo-voting-noticetext": "Mohon urutkan kembali pilihan-pilihan di bawah sesuai dengan urutan kesukaan Anda.", "gadget-logo-voting-voteprompt": "Suara Anda:", "gadget-logo-voting-messagetext": "Suara Anda telah dicatat. Terima kasih! Anda akan segera dialihkan.", "gadget-logo-voting-login": "Harap masuk log terlebih dahulu", "gadget-logo-voting-error": "Suntingan Anda tidak bisa disimpan" }
@Jdforrester (WMF): Daud Iffa (talk) 03:11, 27 October 2020 (UTC)
- @Daud I.F. Argana Done Thank you. Jdforrester (WMF) (talk) 15:38, 27 October 2020 (UTC)
Thai (th) translations
edit{ "gadget-logo-voting-label": "บันทึกการลงคะแนนของคุณ", "gadget-logo-voting-editsummary": "ลงคะแนนโดยใช้แกดแจดโหวต", "gadget-logo-voting-noticetext": "กรุณาเรียงลำดับตัวเลือกด้านล่างตามลำดับที่คุณชื่นชอบ", "gadget-logo-voting-voteprompt": "คุณเลือก:", "gadget-logo-voting-messagetext": "การลงคะแนนของคุณถูกบันทึกเรียบร้อย ขอบขอบคุณ! คุณจะถูกเปลี่ยนทางในไม่ช้า", "gadget-logo-voting-login": "กรุณาเข้าสู่ระบบ", "gadget-logo-voting-error": "การแก้ไขของคุณไม่สามารถบันทึกได้" }
I removed GENDER: tags so I know that would not be problems right? Patsagorn Y. (Talk) 03:17, 27 October 2020 (UTC)
- @Patsagorn Y. Done Yes, you don't need to use
{{GENDER|}}
unless your language needs it. Thank you. Jdforrester (WMF) (talk) 15:40, 27 October 2020 (UTC)
Arabic (ar) translation
edit{ "gadget-logo-voting-label": "إرسال صوت{{GENDER:|ك}}", "gadget-logo-voting-editsummary": "جرى التصويت باستخدام نبيطة التصويت", "gadget-logo-voting-noticetext": "يرجى إعادة ترتيب الخيارات التالية حسب الترتيب الذي تفضل.", "gadget-logo-voting-voteprompt": "صوت{{GENDER:|ك}}", "gadget-logo-voting-messagetext": "سجلنا صوت{{GENDER:|ك}}. شكرا ل{{GENDER:|ك}}! سوف تجري إعادة توجيه{{GENDER:|ك}} قريبا.", "gadget-logo-voting-login": "يرجى تسجيل الدخول أولا", "gadget-logo-voting-error": "لم يمكن حفظ تعديل{{GENDER:|ك}}" }
Haytham Abulela talk 03:42, 27 October 2020 (UTC)
- @Haytham abulela Done Thank you. Jdforrester (WMF) (talk) 15:41, 27 October 2020 (UTC)
Gujarati (gu) translation
edit{ "gadget-logo-voting-label": "તમારો મત ઉમેરો", "gadget-logo-voting-editsummary": "મત ગેજેટના ઉપયોગથી મત અપાયો", "gadget-logo-voting-noticetext": "કૃપા કરીને તમારી પસંદગીના ક્રમમાં નીચેના વિકલ્પોને ફરીથી ગોઠવો.", "gadget-logo-voting-voteprompt": "તમારો મત:", "gadget-logo-voting-messagetext": "તમારો મત નોંધવામાં આવ્યો છે. આભાર! તમને ટૂંક સમયમાં દિશાનિર્દેશ કરી દેવામાં આવશે.", "gadget-logo-voting-login": "પહેલા પ્રવેશ કરવા વિનંતી", "gadget-logo-voting-error": "તમારું સંપાદન પ્રકાશિત થઈ શક્યું નથી" }
@Jdforrester (WMF): Thanks! -- CptViraj (talk) 05:01, 27 October 2020 (UTC)
- Thanks to KartikMistry for the fix. -- CptViraj (talk) 08:48, 27 October 2020 (UTC)
- @CptViraj (and @KartikMistry) Done Thank you. Jdforrester (WMF) (talk) 15:42, 27 October 2020 (UTC)
Hebrew (he) translation
edit{ "gadget-logo-voting-label": "{{GENDER:|שלח|שלחי}} את ההצבעה שלך", "gadget-logo-voting-editsummary": "ההצבעה בוצעה בעזרת חפיץ (גאדג'ט) ההצבעה", "gadget-logo-voting-noticetext": "יש לסדר את האפשרויות שלהלן לפי סדר העדפותיך.", "gadget-logo-voting-voteprompt": "{{GENDER:|הצבעתה|הצבעת}}:", "gadget-logo-voting-messagetext": "הצבעתך נקלטה. תודה רבה! בקרוב {{GENDER:|תופנה|תופני}} לדף.", "gadget-logo-voting-login": "תחילה יש להירשם", "gadget-logo-voting-error": "לא ניתן לשמור את עריכתך" }
@Jdforrester (WMF): - yona B. (D) 08:45, 27 October 2020 (UTC)
- @יונה בנדלאק Done Thank you. Jdforrester (WMF) (talk) 15:43, 27 October 2020 (UTC)
Japanese (ja) translation
edit{ "gadget-logo-voting-label": "{{GENDER:|あなた}}の票を入れてください", "gadget-logo-voting-editsummary": "投票ガジェットを使って投票しました", "gadget-logo-voting-noticetext": "{{GENDER:|あなた}}が選んだ優先順位を選択肢に付けてください。", "gadget-logo-voting-voteprompt": "{{GENDER:|あなた}}の投票:", "gadget-logo-voting-messagetext": "{{GENDER:|あなた}}の票を記録しました。お疲れさまでした。まもなく{{GENDER:|}}画面が遷移します。", "gadget-logo-voting-login": "まずログインしてください", "gadget-logo-voting-error": "{{GENDER:|あなたの}}編集は保存できませんでした" }
Omotecho (talk) 09:46, 27 October 2020 (UTC)
- @Omotecho Done Thank you. Jdforrester (WMF) (talk) 15:43, 27 October 2020 (UTC)
Spanish (es) translation
edit{
"gadget-logo-voting-label": "Envía tu voto",
"gadget-logo-voting-editsummary": "Voto realizado usando el accesorio de votación",
"gadget-logo-voting-noticetext": "Organiza las siguientes opciones en tu orden de preferencia.",
"gadget-logo-voting-voteprompt": "Tu voto:",
"gadget-logo-voting-messagetext": "Tu voto ha sido guardado. ¡Gracias! En breve serás {{GENDER:|redirigido|redirigida}}.",
"gadget-logo-voting-login": "Accede primero",
"gadget-logo-voting-error": "Tu edición no pudo guardarse"
}
@Jdforrester. Thanks! Sgd. —Hasley 15:19, 27 October 2020 (UTC)
- @Hasley Done Thank you. Jdforrester (WMF) (talk) 15:44, 27 October 2020 (UTC)
Chinese (zh-hans) translation
edit{
"gadget-logo-voting-label": "投下 您的一票", "gadget-logo-voting-editsummary": "使用投票小工具做出的投票", "gadget-logo-voting-noticetext": "请按照 您 的偏好调整各选项的先后顺序。", "gadget-logo-voting-voteprompt": "您的 一票:", "gadget-logo-voting-messagetext": "您的一票已记录。 您 很快会被转接。", "gadget-logo-voting-login": "请先登入。", "gadget-logo-voting-error": "您的编辑无法记录"
}
--Camouflaged Mirage (talk) 15:57, 27 October 2020 (UTC)
- @Camouflaged Mirage Done Thank you. Jdforrester (WMF) (talk) 15:59, 27 October 2020 (UTC)
- Jdforrester (WMF) Is it okay if the json did not have the gender template? My original text have it, but it can't display somewhat on pages, hope it won't affect the system. Camouflaged Mirage (talk) 16:02, 27 October 2020 (UTC)
- @Camouflaged Mirage Yes, that's fine. You only need to have
{{GENDER}}
if your translations need it. We always include it in English as a prompt for translators. Thank you again! Jdforrester (WMF) (talk) 16:03, 27 October 2020 (UTC)- Jdforrester (WMF) Oh I see, thanks for the confirmation. :) Camouflaged Mirage (talk) 16:05, 27 October 2020 (UTC)
- @Camouflaged Mirage Yes, that's fine. You only need to have
- Jdforrester (WMF) Is it okay if the json did not have the gender template? My original text have it, but it can't display somewhat on pages, hope it won't affect the system. Camouflaged Mirage (talk) 16:02, 27 October 2020 (UTC)
Hindi (hi) translation
edit{ "gadget-logo-voting-label": "अपना मतदान दें", "gadget-logo-voting-editsummary": "मतदान उपकरण का उपयोग करते हुये मतदान किया", "gadget-logo-voting-noticetext": "कृपया निम्नलिखित विकल्पों को अपनी वरियता के अनुसार पुनः क्रमित करें।", "gadget-logo-voting-voteprompt": "आपका मतदान:", "gadget-logo-voting-messagetext": "आपका मतदान पूर्ण हुआ। धन्यवाद! आपको शीघ्र ही पुनर्निर्देशित किया जायेगा।", "gadget-logo-voting-login": "कृपया पहले लॉग-इन करें", "gadget-logo-voting-error": "आपका सम्पादन सहेजा नहीं जा सका" }
@Jdforrester (WMF):☆★Sanjeev Kumar (talk) 04:13, 29 October 2020 (UTC)
- @संजीव कुमार Done Thank you! Jdforrester (WMF) (talk) 15:12, 29 October 2020 (UTC)
Bangla (bn) translation
edit{
"gadget-logo-voting-label": "আপনার ভোট প্রদান করুন", "gadget-logo-voting-editsummary": "ভোট গ্যাজেট ব্যবহারের মাধ্যমে ভোট দেয়া হয়েছে", "gadget-logo-voting-noticetext": "অনুগ্রহ করে আপনার পছন্দের ভিত্তিতে নিচের অপশনগুলো পুনরায় সাজিয়ে নিন।", "gadget-logo-voting-voteprompt": "আপনার ভোট:", "gadget-logo-voting-messagetext": "আপনার ভোট গৃহীত হয়েছে। ধন্যবাদ! শীঘ্রই আপনি পুনর্নির্দেশিত হবেন।", "gadget-logo-voting-login": "অনুগ্রহ করে শুরুতে প্রবেশ করুন", "gadget-logo-voting-error": "আপনার সম্পাদনাটি সংরক্ষণ করা সম্ভব হয়নি"
}
@Jdforrester (WMF): — ANKAN (talk) 18:01, 6 November 2020 (UTC)
- Done Thank you. Jdforrester (WMF) (talk) 20:02, 6 November 2020 (UTC)