From 76f8e93228d22bbb7dca882b18f4816753eb8015 Mon Sep 17 00:00:00 2001 From: Lucas Palm Date: Thu, 21 Jan 2016 16:22:48 -0600 Subject: [PATCH] Fixed a few missed translation strings on Theme preview page Under the Developer Dashboard, the Bootstrap Theme Preview has a few strings that are not being translated when they could and should be. Many of the strings are missing the "translate" directive to enable the translation, while others include the directive but are not being translated because of other issues. The translation directive seems not to work when there is another HTML element tag nested inside the outer element containing the translation. As such is the case with the Dropdown elements. The solution to this is to use the translate filter in situations where the directive will not work. This change fixes most of the translation issues on this page. Note: The pseudo translation tool was used to determine what strings are correctly being translated or not. Change-Id: I5aeb9f6212f5ba6a1f4cde0b72cce638937b7138 Closes-Bug: #1536785 --- .../theme-preview/theme-preview.html | 112 +++++++++--------- 1 file changed, 56 insertions(+), 56 deletions(-) diff --git a/openstack_dashboard/contrib/developer/static/dashboard/developer/theme-preview/theme-preview.html b/openstack_dashboard/contrib/developer/static/dashboard/developer/theme-preview/theme-preview.html index 048d2f393e..beac4ff1e9 100644 --- a/openstack_dashboard/contrib/developer/static/dashboard/developer/theme-preview/theme-preview.html +++ b/openstack_dashboard/contrib/developer/static/dashboard/developer/theme-preview/theme-preview.html @@ -5,16 +5,16 @@
@@ -40,9 +40,9 @@