Reviewed-by: Samuel Guimarães <sguimaraes943(a)gmail.com>
Tested-by: Samuel Guimarães <sguimaraes943(a)gmail.com>
Thanks!
2016-05-20 2:42 GMT-03:00 <pkulkark(a)linux.vnet.ibm.com>:
From: Pooja Kulkarni <pkulkark(a)linux.vnet.ibm.com>
This patch fixes the issue with
the i18n variable breaking wok
by moving it from htmlStr.
Signed-off-by: Pooja Kulkarni <pkulkark(a)linux.vnet.ibm.com>
---
ui/js/src/wok.list.js | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/ui/js/src/wok.list.js b/ui/js/src/wok.list.js
index d17a3e7..1d4e526 100644
--- a/ui/js/src/wok.list.js
+++ b/ui/js/src/wok.list.js
@@ -43,7 +43,7 @@ wok.widget.List.prototype = (function() {
'<div id="{id}-action-group"
class="wok-list-action-button-container">',
'<div class="dropdown mobile-action">',
'<button class="btn btn-primary
dropdown-toggle" type="button" data-toggle="dropdown"
aria-expanded="false">',
- '<span
class="mobile-action-label">'+i18n['WOKSETT0012M']+'</span>',
+ '<span
class="mobile-action-label">{actions}</span>',
'</button>',
'<ul class="dropdown-menu"
role="menu">',
'</ul>',
@@ -246,7 +246,8 @@ wok.widget.List.prototype = (function() {
loading: i18n.WOKGRD6001M,
message: i18n.WOKGRD6002M,
buttonLabel: i18n.WOKGRD6003M,
- detailedLabel: i18n.WOKGRD6004M
+ detailedLabel: i18n.WOKGRD6004M,
+ actions: i18n.WOKSETT0012M
})).appendTo(container);
this.domNode = domNode;
--
2.1.0
_______________________________________________
Kimchi-devel mailing list
Kimchi-devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/kimchi-devel