Extension:ProtectText/ProtectText.i18n.php

From MediaWiki.org
Jump to navigation Jump to search
<?php

/**
 * Internationalisation file for the ProtectSection extension
 *
 * @addtogroup Extensions
 */

$messages = array();

/* English (John Erling Blad) */
$messages['en'] = array(
	'protecttext_remove' => 
		'You tried to add protection to a text fragment, or protect an existing text fragment, and are not the sole contributor of the complete text.',
	'protecttext_add' => 
		'You tried to remove protection from a text fragment, or remove a protected text fragment, and are not the sole contributor of the complete text.',
	'protecttext_modify' => 
		'You tried to modify a protected text fragment, and are not the sole contributor of the complete text.'
);

/* Norwegian (John Erling Blad) */
$messages['no'] = array(
	'protecttext_remove' => 
		'Du forsøkte å legge til et beskyttet tekstfragment, eller å beskytte et eksisterende tekstfragment, uten at du er eneste bidragsyter til den fullstendige teksten.',
	'rotecttext_add' => 
		'Du forsøkte å fjerne beskyttelse fra et tekstfragment, eller å fjerne et eksisterende tekstfragment, uten at du er eneste bidragsyter til den fullstendige teksten.',
	'protecttext_modify' => 
		'Du forsøkte å endre et beskyttet tekstfragment, uten at du er eneste bidragsyter til den fullstendige teksten.'
);

Alternative PHP module[edit]

The below 2 json modules belong to the different ProtectABC.php

NOTE: the file names are changed, to assure that no installation error could happen

Source of i18n/en.json[edit]

The below data should be copied into an new file ........ /extensions/ProtectABCText/i18n/en.json

{
	"@metadata": {
		"authors": [
			"Jan Boer",
			"QBox4u"
		]
	},
	"protecttext_add": 			"You are not granted to add protection to a text fragment, or protect an existing text fragment",
	"protecttext_modify": 		"You are not granted to modify the ABC text enclosed by the tag: <protectABC> ABC text </ protectABC> or try to remove the tags",
	"protecttext_remove": 		"You are not granted to remove the protection from a text fragment, or remove a protected text fragment",
	"protecttext_rejected": 	"All modifications will be therefore rejected. Please press cancel !!!!!!"
}

Source of i18n/hz.json[edit]

The below data should be copied into an new file ........ /extensions/ProtectABCText/i18n/zh.json

{
	"@metadata": {
		"authors": [
			"Jan Boer",
			"QBox4u"
		]
	},
	"protecttext_add": 			"你是不是授予保護添加到一個文本片段,或保護現有文本片段",
	"protecttext_modify": 		"您無權修改的標籤包圍的ABC文本:<protectABC> ABC文字</ protectABC>或試圖刪除標記",
	"protecttext_remove": 		"你是不是授予從文本片段刪除保護或刪除保護的文本片段",
	"protecttext_rejected": 	"所有的修改都將因此拒絕。請按取消!!!!!!"
}