From 40ade988ed97a6ea1f23475338f85cc6d8ad0b7b Mon Sep 17 00:00:00 2001 From: stoneliu Date: Fri, 11 Dec 2015 17:00:27 +0800 Subject: [PATCH] Add i18n trans tag for strings in template file There are some strings in template files can not be translated. Add 'trans' tags to be translated by i18n module. The strings include 'Filter', 'All', 'Details', etc. Closes-Bug: #1525113 Change-Id: I9042bd2b1291a8d542ae871a733587ae256e6263 Signed-off-by: stoneliu --- muranodashboard/templates/catalog/app_tile.html | 2 +- muranodashboard/templates/catalog/index.html | 2 +- muranodashboard/templates/services/_data_table.html | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/muranodashboard/templates/catalog/app_tile.html b/muranodashboard/templates/catalog/app_tile.html index 3f9132dd..c50b28b7 100644 --- a/muranodashboard/templates/catalog/app_tile.html +++ b/muranodashboard/templates/catalog/app_tile.html @@ -17,7 +17,7 @@ + class="btn-link">{% trans "Details" %} » diff --git a/muranodashboard/templates/catalog/index.html b/muranodashboard/templates/catalog/index.html index b8c97e4b..83cb6608 100644 --- a/muranodashboard/templates/catalog/index.html +++ b/muranodashboard/templates/catalog/index.html @@ -74,7 +74,7 @@
diff --git a/muranodashboard/templates/services/_data_table.html b/muranodashboard/templates/services/_data_table.html index 379207f2..9eee2fc4 100644 --- a/muranodashboard/templates/services/_data_table.html +++ b/muranodashboard/templates/services/_data_table.html @@ -28,7 +28,7 @@ data-disabled="true" aria-expanded="false" id="envAppsCategoryBtn"> - All + {% trans "All" %}