summaryrefslogtreecommitdiffstats
path: root/install/ui/sudocmd.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-02-16 12:46:59 -0600
committerAdam Young <ayoung@redhat.com>2011-02-21 15:36:32 -0500
commit4a8c43aa324beff5bebfa9a699b1dc4b29020731 (patch)
tree35d4ed4076e0c8e098946c8d96290f03699657a3 /install/ui/sudocmd.js
parent2e25b2ed27ebe7a0a612d120bda6a23596e21b64 (diff)
downloadfreeipa-4a8c43aa324beff5bebfa9a699b1dc4b29020731.tar.gz
freeipa-4a8c43aa324beff5bebfa9a699b1dc4b29020731.tar.xz
freeipa-4a8c43aa324beff5bebfa9a699b1dc4b29020731.zip
I18n update.
Hard-coded messages through out the code have been replaced by i18n messages obtained from json_metadata and i18n_messages.
Diffstat (limited to 'install/ui/sudocmd.js')
-rw-r--r--install/ui/sudocmd.js11
1 files changed, 5 insertions, 6 deletions
diff --git a/install/ui/sudocmd.js b/install/ui/sudocmd.js
index 1229db7e..b98f2d4d 100644
--- a/install/ui/sudocmd.js
+++ b/install/ui/sudocmd.js
@@ -32,12 +32,12 @@ IPA.entity_factories.sudocmd = function () {
var facet = IPA.sudocmd_search_facet({
'name': 'search',
- 'label': 'Search'
+ 'label': IPA.messages.facets.search
});
var dialog = IPA.sudo.cmd_add_dialog({
'name': 'add',
- 'title': 'Add New SUDO Command'
+ 'title': IPA.messages.objects.sudocmd.add
});
facet.dialog(dialog);
@@ -101,7 +101,7 @@ IPA.sudocmd_details_facet = function (spec) {
var section = IPA.details_list_section({
'name': 'general',
- 'label': 'General'
+ 'label': IPA.messages.details.general
});
that.add_section(section);
@@ -110,13 +110,13 @@ IPA.sudocmd_details_facet = function (spec) {
section = IPA.details_section({
'name': 'groups',
- 'label': 'Groups'
+ 'label': IPA.messages.objects.sudocmd.groups
});
that.add_section(section);
var field = IPA.sudocmd_member_sudocmdgroup_table_widget({
'name': 'memberof',
- 'label': 'Groups',
+ 'label': IPA.messages.objects.sudocmd.groups,
'other_entity': 'sudocmdgroup',
'save_values': false
});
@@ -166,7 +166,6 @@ IPA.sudocmd_member_sudocmdgroup_table_widget = function (spec) {
that.create_column({
name: 'description',
- label: 'Description',
width: '150px'
});