From: Pooja Kulkarni <pkulkark@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@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@ovirt.org
http://lists.ovirt.org/mailman/listinfo/kimchi-devel