User:Lloffiwr/AjaxQuickDelete.js

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
// Invoke automated jsHint-validation on save: A feature on Wikimedia Commons
// Interested? See [[:commons:MediaWiki:JSValidator.js]] or [[:commons:Help:JSValidator]].
// <nowiki>
/*global $:false, mw:false*/

// Translatable strings
$.extend(true, window.AjaxQuickDelete.i18n, {
	toolboxLinkDelete: "Enwebu i'w dileu",
	toolboxLinkDiscuss: "Enwebu categori i'w drafod",

	// GUI reason prompt form
	reasonForDeletion: "Pam y dylai'r ffeil hon gael ei dileu?",
	reasonForDiscussion: "Pam bod gofyn trafod y categori hwn?",
	moreInformation: "Mwy o wybodaeth",
	loading: "Wrthi'n llwytho...",

	keptAfterDR: "Cadwyd y dudalen hon ar ôl trafod cais i'w dileu. Cysylltwch â'r gweinyddwr a'i chadwodd cyn ei hail-enwebu, os gwelwch yn dda.",
	hasTalkpage: "Mae tudalen sgwrs ar gael. Ystyriwch ei darllen neu ychwanegu sylwadau ati.",
	mentionedInDR: "Ystyriwch ddarllen y drafodaeth ar ddileu'r ffeil –%PAGE%– sy'n cysylltu i'r dudalen hon.",
	mentionedInForum: "Mae'r dudalen hon yn ran o drafodaeth ar %PAGE%.",

	// Labels
	previewLabel: "Rhagolwg:",
	submitButtonLabel: "Ymlaen",
	cancelButtonLabel: "Canslo",
	abortButtonLabel: "Terfynu'n gynnar",
	reportButtonLabel: "Cyflwyno adroddiad yn awtomatig",
	retryButtonLabel: "Ailgeisio",
	ignoreButtonLabel: "Anwybyddu a pharhau",
	inverseButtonLabel: "Gwrthdroi. Cadw hon a dileu'r llall",
	swapImagesButtonLabel: "Cyfnewid er mwyn eu cymharu",
	overlayButtonLabel: "Gosod un ar ben y llall i'w cymharu",

	// GUI progress messages
	preparingToEdit: "Wrthi'n paratoi cyn golygu'r tudalennau... ",
	creatingNomination: "Wrthi'n dechrau tudalen enwebu... ",
	listingNomination: "Wrthi'n ychwanegu'r dudalen enwebu i'r rhestr ddyddiol... ",
	addingAnyTemplate: "Wrthi'n ychwanegu nodyn i'r dudalen... ",
	notifyingUploader: "Wrthi'n hysbysu %USER%... ",

	// Extended version
	toolboxLinkSource: "Dim ffynhonnell",
	toolboxLinkLicense: "Dim trwydded",
	toolboxLinkPermission: "Dim caniatâd",
	toolboxLinkCopyvio: "Cyflwyno adroddiad am dorri hawlfraint",
	reasonForCopyvio: "Pam fod y ffeil hon yn torri hawlfraint?",

	// For moving files
	notAllowed: "Nid yw'r gallu angenrheidiol gennych i symud ffeiliau",
	reasonForMove: "Pam ydych chi am symud y ffeil hon?",
	moveDestination: "Beth fydd enw newydd y ffeil?",
	moveOtherDestination: "Mae'r enw a roddoch yn cael ei ddefnyddio'n barod. Dewiswch enw newydd, os gwelwch yn dda.",
	checkFileExists: "Yn gwirio a yw'r ffeil ar gael",
	movingFile: "Yn symud y ffeil",
	replacingUsage: "Yn gorchymyn CommonsDelinker i'w ddisodli ymhobman ei defnyddir",
	dropdownMove: "Symud a Disodli",
	leaveRedirect: "Gadael ailgyfeiriad:",
	moveAndReplace: "Symud ffeil a'i disodli ymhobman ei defnyddir",

	// For declining any request
	removingTemplate: "Tynnu nodyn i ffwrdd",
	declineRequest: "Pam ydych chi am wrthod y cais?",
	anyDecline: "Gwrthod y cais",

	//For Duplicates
	deletingFile: "Dileu'r ffeil",
	compareDetails: "Cymharwch y delweddau cyn cyfuno'r disgrifiadau. Y ddelwedd â'r testun praff bydd yn cael ei ddileu.",
	mergeDescription: "Cyfunwch ddisgrifiadau'r ffeiliau nawr, os gwelwch yn dda",
	redirectingFile: "Yn ailgyfeirio'r ffeil",
	savingDescription: "Yn cadw'r manylion newydd",

	// Errors
	errorDlgTitle: "Gwall",
	genericFailure: "Cafwyd gwall wrth geisio gyflawni'r weithred yr holwyd amdani. ",
	taskFailure: {
		listUploaders: "An error occurred while determining the " + (mw.config.get('wgNamespaceNumber') === 6 ? " uploader(s) of this file" : "creator of this page") + ".",
		loadPages: "Cafwyd gwall wrth baratoi i enwebu'r dudalen hon i'w dileu.",
		prependDeletionTemplate: "Cafwyd gwall wrth ychwanegu'r nodyn {{delete}} i'r dudalen hon.",
		createRequestSubpage: "Cafwyd gwall wrth ddechrau isdudalen i'r cais.",
		listRequestSubpage: "Cafwyd gwall wrth ychwanegu'r cais dileu at lòg heddiw.",
		notifyUploaders: "An error occurred while notifying the " + (mw.config.get('wgNamespaceNumber') === 6 ? " uploader(s) of this file" : "creator of this page") + ".",
		movePage: "Cafwyd gwall wrth symud y dudalen.",
		deletePage: "Cafwyd gwall wrth ddileu'r dudalen."
	},
	addTemplateByHand: "To nominate this content for deletion, please edit the page to add the {{delete}} template and follow the instructions shown on it.",
	completeRequestByHand: "Please follow the instructions on the deletion notice to complete the request.",
	errorDetails: "A detailed description of the error is shown below:",
	errorReport: "Manually report the error here or click on <tt>Report automatically</tt> to send an automatic error-report.",
	tagWas: "The tag to be inserted into this page was "
});
$(document).triggerHandler('translationLoaded', ['AjaxQuickDelete', 'cy']);
// </nowiki>