mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CookieWarning
synced 2024-11-27 15:40:16 +00:00
i18n: Make the OK button label translateable
Change-Id: Idb7cb249b582f0bf15f1ea6ec1d0aece5c9efdc5
This commit is contained in:
parent
b8686223e5
commit
a6d1e1f11a
|
@ -7,5 +7,6 @@
|
|||
"cookiewarning-info": "Cookies help us deliver our services. By using our services, you agree to our use of cookies.",
|
||||
"cookiewarning-desc": "Provides a notice at the top of the page about cookies.",
|
||||
"cookiewarning-moreinfo-label": "More information",
|
||||
"cookiewarning-more-link": "-"
|
||||
"cookiewarning-more-link": "-",
|
||||
"cookiewarning-ok-label": "OK"
|
||||
}
|
||||
|
|
|
@ -7,5 +7,6 @@
|
|||
"cookiewarning-info": "Information message for visitors of the wiki, informing them that this wiki uses cookies.",
|
||||
"cookiewarning-desc": "{{desc|name=CookieWarning|url=https://www.mediawiki.org/wiki/Extension:CookieWarning}}",
|
||||
"cookiewarning-moreinfo-label": "Label for the \"More information\" link in the cookiewarning information bar.",
|
||||
"cookiewarning-more-link": "{{notranslate}}\nUsed as an on-wiki way to edit the target of the more information link."
|
||||
"cookiewarning-more-link": "{{notranslate}}\nUsed as an on-wiki way to edit the target of the more information link.",
|
||||
"cookiewarning-ok-label": "The label for the \"OK\" button in the cookiewarning information bar."
|
||||
}
|
||||
|
|
|
@ -73,7 +73,7 @@ class CookieWarningHooks {
|
|||
$moreLink .
|
||||
Html::openElement( 'form', array( 'method' => 'POST' ) ) .
|
||||
Html::submitButton(
|
||||
'OK',
|
||||
$sk->msg( 'cookiewarning-ok-label' )->text(),
|
||||
array(
|
||||
'name' => 'disablecookiewarning',
|
||||
'class' => 'mw-cookiewarning-dismiss'
|
||||
|
|
Loading…
Reference in a new issue