MediaWiki talk:Gadget-MyLangNotify.js

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search


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)[reply]

Done – Mike.lifeguard | @en.wb 00:37, 11 May 2008 (UTC)[reply]

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)[reply]

Done – Mike.lifeguard | @en.wb 00:37, 11 May 2008 (UTC)[reply]

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)[reply]

Add occitan, please[edit]

mylangnotify_message['oc'] = 'Sembla qu'aqueste imatge a pas de descripcion en occitan... Apondètz una {{oc|descripcion}} !' ;

Cedric31 (talk) 11:59, 3 July 2009 (UTC)[reply]

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 );

/Ö 16:06, 13 September 2009 (UTC)[reply]

✓ Done Kwj2772 (msg) 15:25, 14 September 2009 (UTC)[reply]

Malayalam[edit]

{{editprotected}}

mylangnotify_message['ml'] = 'ഈ ചിത്രത്തിന്റെ വിവരണം, താങ്കൾ ഉപയോഗിക്കുന്ന സമ്പർക്കമുഖ ഭാഷയിൽ ലഭ്യമല്ല എന്നനുഭവപ്പെടുന്നു. ദയവായി ചേർക്കുമല്ലോ!';

Thank you--Praveen:talk 14:24, 27 December 2010 (UTC)[reply]

✓ Done --Mormegil (talk) 20:28, 28 December 2010 (UTC)[reply]

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)[reply]

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)[reply]

✓ Done -- Common Good (talk) 19:45, 24 December 2011 (UTC)[reply]

fa.wiki[edit]

please add this text for farsi

		'fa': 'این نگاره توضیحی به زبان فارسی ندارد لطفاً به آن بیافزائید!',

Reza1615 (talk) 20:13, 14 February 2013 (UTC)[reply]

✓ Done  ■ MMXX talk 21:03, 17 February 2013 (UTC)[reply]

Add tr[edit]

{{Editprotected}}

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)[reply]

✓  Thank you.ebraminiotalk 20:51, 18 August 2013 (UTC)[reply]

Ukrainian translation[edit]

{{Editprotected}}

		'uk': 'Схоже, що це зображення ще не має опису мовою Вашого інтерфейсу. Будь ласка, додайте його!',

Please add the above, thanks!--Piramidion (talk) 20:38, 12 March 2017 (UTC)[reply]

✓ Done Awesome! Thank you! jdx Re: 14:12, 13 March 2017 (UTC)[reply]

Russian translation[edit]

{{Editprotected}}

		'ru': 'У этого изображения нет описания на вашем языке интерфейса. Пожалуйста, добавьте его!',

Please add the above, thanks! --Kaganer (talk) 17:28, 14 December 2017 (UTC)[reply]

✓ Done Thank you! -- User: Perhelion 00:03, 20 December 2017 (UTC)[reply]

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)[reply]

✓ Done Awesome! Thank you! Hedwig in Washington (mail?) 01:05, 16 January 2019 (UTC)[reply]

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)[reply]