mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 08:10:35 +00:00
Merge "Make 'Search articles' / 'External links' i18n messages"
This commit is contained in:
commit
bb9ed54659
|
@ -1147,6 +1147,8 @@ $wgResourceModules += array(
|
|||
),
|
||||
'messages' => array(
|
||||
'visualeditor-annotationbutton-linknode-tooltip',
|
||||
'visualeditor-linkinspector-button-link-external',
|
||||
'visualeditor-linkinspector-button-link-internal',
|
||||
'visualeditor-linkinspector-description-new-page',
|
||||
'visualeditor-linkinspector-description-redirect',
|
||||
'visualeditor-linkinspector-illegal-title',
|
||||
|
|
|
@ -1173,6 +1173,8 @@
|
|||
],
|
||||
"messages": [
|
||||
"visualeditor-annotationbutton-linknode-tooltip",
|
||||
"visualeditor-linkinspector-button-link-external",
|
||||
"visualeditor-linkinspector-button-link-internal",
|
||||
"visualeditor-linkinspector-description-new-page",
|
||||
"visualeditor-linkinspector-description-redirect",
|
||||
"visualeditor-linkinspector-illegal-title",
|
||||
|
|
|
@ -241,6 +241,8 @@
|
|||
"visualeditor-formatdropdown-format-mw-heading5": "Sub-heading 3",
|
||||
"visualeditor-formatdropdown-format-mw-heading6": "Sub-heading 4",
|
||||
"visualeditor-languages-tool": "Languages",
|
||||
"visualeditor-linkinspector-button-link-external": "External link",
|
||||
"visualeditor-linkinspector-button-link-internal": "Search articles",
|
||||
"visualeditor-linkinspector-description-new-page": "page does not exist yet",
|
||||
"visualeditor-linkinspector-description-redirect": "redirect to $1",
|
||||
"visualeditor-linkinspector-illegal-title": "Invalid page title",
|
||||
|
|
|
@ -250,6 +250,8 @@
|
|||
"visualeditor-formatdropdown-format-mw-heading5": "Item in the MediaWiki formatting dropdown for a level 5 heading (sub-section)\n{{Related|Visualeditor-formatdropdown}}",
|
||||
"visualeditor-formatdropdown-format-mw-heading6": "Item in the MediaWiki formatting dropdown for a level 6 heading (sub-section)\n{{Related|Visualeditor-formatdropdown}}",
|
||||
"visualeditor-languages-tool": "Tool for opening the languages links section of the meta dialog.\n{{Identical|Language}}",
|
||||
"visualeditor-linkinspector-button-link-external": "Button label for entering an external link.",
|
||||
"visualeditor-linkinspector-button-link-internal": "Button label for entering an internal link.",
|
||||
"visualeditor-linkinspector-description-new-page": "Description label for a new page in the link inspector.",
|
||||
"visualeditor-linkinspector-description-redirect": "Description label for a redirect in the link inspector.",
|
||||
"visualeditor-linkinspector-illegal-title": "Warning that the entered text is not a valid page title.",
|
||||
|
|
|
@ -34,8 +34,8 @@ ve.ui.MWLinkTargetInputWidget = function VeUiMWLinkTargetInputWidget( config ) {
|
|||
this.linkTypeSelect = new OO.ui.ButtonSelectWidget( {
|
||||
classes: [ 've-ui-mwLinkTargetInputWidget-linkTypeSelect' ]
|
||||
} ).addItems( [
|
||||
new OO.ui.ButtonOptionWidget( { framed: false, data: 'internal', label: 'Search articles' } ),
|
||||
new OO.ui.ButtonOptionWidget( { framed: false, data: 'external', label: 'External link' } )
|
||||
new OO.ui.ButtonOptionWidget( { framed: false, data: 'internal', label: ve.msg( 'visualeditor-linkinspector-button-link-internal' ) } ),
|
||||
new OO.ui.ButtonOptionWidget( { framed: false, data: 'external', label: ve.msg( 'visualeditor-linkinspector-button-link-external' ) } )
|
||||
] ).connect( this, {
|
||||
select: 'onLinkTypeSelectSelect',
|
||||
choose: 'onLinkTypeSelectChoose'
|
||||
|
|
Loading…
Reference in a new issue