dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "SpecialMovepage: Convert form to use OOUI controls"
[lhc/web/wiklou.git]
/
tests
/
qunit
/
suites
/
resources
/
jquery
/
jquery.localize.test.js
diff --git
a/tests/qunit/suites/resources/jquery/jquery.localize.test.js
b/tests/qunit/suites/resources/jquery/jquery.localize.test.js
index
3ef2790
..
c503fc9
100644
(file)
--- a/
tests/qunit/suites/resources/jquery/jquery.localize.test.js
+++ b/
tests/qunit/suites/resources/jquery/jquery.localize.test.js
@@
-76,8
+76,8
@@
html = '<div><span title-msg="title"><html:msg key="label" /></span></div>';
$lc = $( html ).localize( {
keys: {
html = '<div><span title-msg="title"><html:msg key="label" /></span></div>';
$lc = $( html ).localize( {
keys: {
-
'title'
: 'foo-' + x + '-title',
-
'label'
: 'foo-' + x + '-label'
+
title
: 'foo-' + x + '-title',
+
label
: 'foo-' + x + '-label'
}
} ).find( 'span' );
}
} ).find( 'span' );
@@
-88,7
+88,7
@@
html = '<div><span><html:msg key="foo-welcome" /></span></div>';
$lc = $( html ).localize( {
params: {
html = '<div><span><html:msg key="foo-welcome" /></span></div>';
$lc = $( html ).localize( {
params: {
- 'foo-welcome': [
sitename, 'yesterday'
]
+ 'foo-welcome': [
sitename, 'yesterday'
]
}
} ).find( 'span' );
}
} ).find( 'span' );
@@
-100,12
+100,12
@@
$lc = $( html ).localize( {
prefix: 'foo-',
keys: {
$lc = $( html ).localize( {
prefix: 'foo-',
keys: {
-
'title'
: x + '-title',
-
'label'
: x + '-label'
+
title
: x + '-title',
+
label
: x + '-label'
},
params: {
},
params: {
-
'title': [sitename, '3 minutes ago'
],
-
'label': [sitename, '3 minutes ago'
]
+
title: [ sitename, '3 minutes ago'
],
+
label: [ sitename, '3 minutes ago'
]
}
} ).find( 'span' );
}
} ).find( 'span' );