Jump to content

User talk:BrandonXLF/TodoList.js

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Internationalization

[edit]

Hi, BrandonXLF!

Someone at the Norwegian Bokmål Wikipedia requested a feature that would let you add a todo list, so I found this script via the Tool Hub, and it does pretty much exactly what they want. I want to enable it as a gadget there, but first I had to make some adjustments to make it translatable. You can see the adjustments (+ Norwegian Bokmål and Norwegian Nynorsk translations) in this diff. Would you be willing to add these changes to the main script? I would prefer to include the script from this page in the gadget instead of making a copy, so that any future improvements will be reflected on the Norwegian Bokmål Wikipedia immediately instead of whenever someone notices changes (if anyone would even notice…). Jon Harald Søby (talk) 20:02, 30 November 2021 (UTC)[reply]

@Jon Harald Søby Yeah sure I'll see what I can do. I'm currently making some other adjustments to the script, but I'll get to this as soon as I can. BrandonXLF (talk) 06:59, 5 December 2021 (UTC)[reply]
@BrandonXLF: Thanks! Any ETA? All you'd have to do at the moment is really to just copypaste the content of no:Bruker:Jon_Harald_Søby/TodoList.js over to this page. :-) Jon Harald Søby (talk) 23:35, 11 December 2021 (UTC)[reply]
Yeah ok. I was trying to finish up the other changes, but I just don't have enough time at the moment. I merged your pull request, the on wiki script should be updated as well. BrandonXLF (talk) 03:16, 12 December 2021 (UTC)[reply]
Thank you very much! :-) I will add it as a gadget on the Norwegian Bokmål Wikipedia tomorrow (well, technically later today I guess), as people seem eager to make use of it. :-) Jon Harald Søby (talk) 03:21, 12 December 2021 (UTC)[reply]

Accesskey

[edit]

Hi again BrandonXLF. :-)

Could you consider changing the accesskey for the tool to something other than d? It is interfering with the accesskey to delete a page. When the same accesskey is assigned to two elemnets on the same page, the effect is that using it will only highlight them (alternatingly), so the fact that the TodoList has it as well as the default delete accesskey makes it so that the accesskey is ineffecient for both uses. You can see a list of all accesskeys in use by the software at WP:K; unfortunately there aren't that many free ones. I would suggest to make the accesskey i instead; that's only used for marking an edit as minor when you're in edit mode. You could also optionally disable the accesskey for the script when in edit mode by doing something along the lines of accesskey = $( '[accesskey=i]' ).length ? null : 'i';. Jon Harald Søby (talk) 23:07, 18 December 2021 (UTC)[reply]

Georgian translation

[edit]

Hello @BrandonXLF:! Please, add georgian translation:

			ka: {
				todoPortlet: 'გასაკეთებელი',
				todoHover: 'დააწკაპეთ თქვენი გასაკეთებლების სიის სანახავად',
				saving: 'ინახება…',
				drag: 'გადაადგილება',
				delete: 'წაშლა',
				edit: 'რედაქტირება',
				pageNameUrl: 'გვერდის სახელი ან ბმული',
				comment: 'კომენტარი',
				save: 'შენახვა',
				cancel: 'გაუქმება',
				moreinfo: 'მეტი ინფორმაცია',
				undo: 'უკან დაბრუნება',
				redo: 'წინ დაბრუნება',
				clear: 'გასუფთავება',
				clearConfirm: 'დარწმუნებული ხართ, რომ თქვენი სიის გასუფთავება გსურთ?',
				download: 'ჩამოტვირთვა',
				upload: 'ატვირთვა',
				help: 'დახმარება',
				add: 'დამატება',
				close: 'დახურვა',
				yourList: 'თქვენი გასაკეთებლების სია',
				noPopup: 'გასაკეთებლების სიის გვერდზე ყოფნის დროს შეუძლებელია სიის ფანჯრის გახსნა.',
				addedTime: 'დამატების თარიღი: $dateDate $dateMonth, $dateYear; $dateHours:$dateMinutes'
			}

--გიო ოქრო 20:30, 12 March 2022 (UTC)[reply]

 Done BrandonXLF (talk) 16:56, 13 March 2022 (UTC)[reply]

Fix for Dark mode

[edit]

Hi, BrandonXLF!

Could you please update the script so that it works in dark mode? You can just copy the script that i have edited here: no:User:Tholme/TodoList.js (diff) You can test by adding ?vectornightmode=1&minervanightmode=1 to any page. Tholme (talk) 22:25, 8 July 2024 (UTC)[reply]

@Tholme  Done. Thanks for your patch! BrandonXLF (talk) 06:00, 13 July 2024 (UTC)[reply]