summaryrefslogtreecommitdiffstats
path: root/install/ui/navigation.js
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-01-25 19:39:08 -0500
committerAdam Young <ayoung@redhat.com>2011-01-26 10:07:21 -0500
commit2b8cdb2c8d2dc2d115a120604267de7ad54e2c7c (patch)
treef03bef3aac100ad4b6f5cca8d410d7ef00221fa5 /install/ui/navigation.js
parent6cca48cb59951db833ac517aaa1274c19e40c8d8 (diff)
downloadfreeipa-2b8cdb2c8d2dc2d115a120604267de7ad54e2c7c.tar.gz
freeipa-2b8cdb2c8d2dc2d115a120604267de7ad54e2c7c.tar.xz
freeipa-2b8cdb2c8d2dc2d115a120604267de7ad54e2c7c.zip
Tab I18N
Makes the values for the Top level tabs internationizable, and no longer just passes through their names Also uses the I18N values for SUDO and HBAC as the static text in the Action p[anel title
Diffstat (limited to 'install/ui/navigation.js')
-rw-r--r--install/ui/navigation.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/install/ui/navigation.js b/install/ui/navigation.js
index 7ae5b656e..0b8fe528e 100644
--- a/install/ui/navigation.js
+++ b/install/ui/navigation.js
@@ -82,6 +82,9 @@ function nav_generate_tabs(nls, container, tabclass, depth)
var entity = IPA.get_entity(tab.entity);
label = entity.label;
}
+ if (tab.label){
+ label = tab.label;
+ }
var li = nav_create_tab_li(tab.name, label);
ul.append(li);