[Kimchi-devel] [PATCH] [Wok] Moved i18n variable from htmlStr
Samuel Guimarães
sguimaraes943 at gmail.com
Fri May 20 13:38:49 UTC 2016
Reviewed-by: Samuel Guimarães <sguimaraes943 at gmail.com>
Tested-by: Samuel Guimarães <sguimaraes943 at gmail.com>
Thanks!
2016-05-20 2:42 GMT-03:00 <pkulkark at linux.vnet.ibm.com>:
> From: Pooja Kulkarni <pkulkark at 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 at 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 at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/kimchi-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20160520/79d4b553/attachment.html>
More information about the Kimchi-devel
mailing list