MediaWiki talk:Gadget-MyLangNotify.js
This script, MyLangNotify, is a JavaScript gadget which can be enabled or disabled in your Preferences. |
i18n | Gadget translations:
Within script |
Changes edit
Hi,
I'd suggest the following fix to select the notify message:
Instead of:
if ( ( msg == "" ) || ( msg == undefined ) ) msg = mylangnotify_message['en'] ;
I'd write:
if ( ( msg == "" ) || ( msg == undefined ) ) msg = mylangnotify_message['default'] ;
And I also would define the default message as:
mylangnotify_message['default'] = 'THIS IMAGE DOES NOT APPEAR TO HAVE A DESCRIPTION IN YOUR OWN LANGUAGE! PLEASE ADD ONE...' ;
Best regards from France,
-- AlNo (discuter/talk/hablar/falar) 15:17, 11 September 2007 (UTC)
- Done – Mike.lifeguard | @en.wb 00:37, 11 May 2008 (UTC)
Add cs edit
mylangnotify_message['cs'] = 'Tento obrázek nemá popis v jazyce vašeho rozhraní. Prosím, přidejte jej...' ;
--sevela.p 03:07, 7 February 2008 (UTC)
- Done – Mike.lifeguard | @en.wb 00:37, 11 May 2008 (UTC)
Bonvolu aldoni eo edit
mylangnotify_message['eo'] = 'Al ĉi tiu bildo ŝajne mankas priskribo en Esperanto. Bonvolu aldoni {{eo|priskribon}}. ' ;
And following german example modify also french as follows
mylangnotify_message['fr'] = 'Cette image ne semble pas avoir de description en français... Ajoutez une {{fr|description}} !' ;
Arno Lagrange ✉ 20:49, 29 March 2008 (UTC)
- Both done – Mike.lifeguard | @en.wb 00:37, 11 May 2008 (UTC)
Add occitan, please edit
mylangnotify_message['oc'] = 'Sembla qu'aqueste imatge a pas de descripcion en occitan... Apondètz una {{oc|descripcion}} !' ;
Only display on image pages edit
{{Editprotected}} This gadget only works when viewing an image page, not when viewing its history. It would be good if the test on the first line was changed to also test what action is done. Like this:
if ( wgNamespaceNumber == 6 && wgAction == "view" ) addOnloadHook ( mylangnotify );
Malayalam edit
{{editprotected}}
mylangnotify_message['ml'] = 'ഈ ചിത്രത്തിന്റെ വിവരണം, താങ്കൾ ഉപയോഗിക്കുന്ന സമ്പർക്കമുഖ ഭാഷയിൽ ലഭ്യമല്ല എന്നനുഭവപ്പെടുന്നു. ദയവായി ചേർക്കുമല്ലോ!';
Thank you--Praveen:talk 14:24, 27 December 2010 (UTC)
- Done --Mormegil (talk) 20:28, 28 December 2010 (UTC)
Deutsch edit
Hi, can you please change the German text from Dieses Bild hat anscheinend noch keine Beschreibung in Deutsch! to Dieses Bild hat anscheinend noch keine Beschreibung auf Deutsch!? "in" is not really wrong, but sort of "umgamgssprachlich" and depreciated by many people who care abaout a good writing style. -- H005 12:20, 3 August 2011 (UTC)
Catalan i18n edit
{{editprotected}}
mylangnotify_message['ca'] = 'Aquesta imatge sembla que no té una descripció en català. Podeu afegir-la!';
Please, add Catalan translation. Thanks. --V.Riullop (talk) 11:32, 22 December 2011 (UTC)
- Done -- Common Good (talk) 19:45, 24 December 2011 (UTC)
fa.wiki edit
please add this text for farsi
'fa': 'این نگاره توضیحی به زبان فارسی ندارد لطفاً به آن بیافزائید!',
Add tr edit
mylangnotify_message['tr'] = 'Bu dosya için kullandığınız arabirim dilinde bir açıklama henüz bulunmuyor. Lütfen ekleyebilir misiniz?' ;
Tanks. --i.е. v-mail 02:45, 18 August 2013 (UTC)
- Thank you. −ebraminiotalk 20:51, 18 August 2013 (UTC)
Ukrainian translation edit
'uk': 'Схоже, що це зображення ще не має опису мовою Вашого інтерфейсу. Будь ласка, додайте його!',
Please add the above, thanks!--Piramidion (talk) 20:38, 12 March 2017 (UTC)
- Done Awesome! Thank you! jdx Re: 14:12, 13 March 2017 (UTC)
Russian translation edit
'ru': 'У этого изображения нет описания на вашем языке интерфейса. Пожалуйста, добавьте его!',
Please add the above, thanks! --Kaganer (talk) 17:28, 14 December 2017 (UTC)
- Done Thank you! -- User: Perhelion 00:03, 20 December 2017 (UTC)
Vietnamese translation edit
{{Editprotected}} Please add a Vietnamese translation for this message. Thank you.
'vi': 'Ảnh này dường như không có mô tả bằng ngôn ngữ của bạn. Hãy bổ sung!',
Tân (talk) 20:03, 15 January 2019 (UTC)
- Done Awesome! Thank you! Hedwig in Washington (mail?) 01:05, 16 January 2019 (UTC)
Notification missing edit
The notification, if my language is missing, isn't showing up for me anymore. Or at least not in all pictures. Language "de" and skins Monobook and Vector (under different languages ("de", "en" and "fr") tested. The bigger font in the descriptions is still working in all languages. It looks to me like the testing of "if ($mylangdesc.length)" doesn't work anymore. Mirer (talk) 20:27, 12 January 2022 (UTC)