Skip to content

Commit d6af6ad

Browse files
committed
CLOUDSTACK-9092: L10n fix in "Add LDAP Account page"
fixed two strings on the "Add LDAP Account page"
1 parent 7e64c12 commit d6af6ad

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

client/WEB-INF/classes/resources/messages.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2214,3 +2214,4 @@ message.removed.ssh.key.pair=Removed a SSH Key Pair
22142214
message.please.select.ssh.key.pair.use.with.this.vm=Please select a ssh key pair you want this VM to use:
22152215
message.configure.firewall.rules.allow.traffic=Configure the rules to allow Traffic
22162216
message.configure.firewall.rules.block.traffic=Configure the rules to block Traffic
2217+
message.ldap.group.import=All The users from the given group name will be imported

ui/dictionary2.jsp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1122,6 +1122,7 @@ under the License.
11221122
'label.ssh.key.pairs': '<fmt:message key="label.ssh.key.pairs" />',
11231123
'message.desc.create.ssh.key.pair': '<fmt:message key="message.desc.create.ssh.key.pair" />',
11241124
'message.removed.ssh.key.pair': '<fmt:message key="message.removed.ssh.key.pair" />',
1125-
'message.please.select.ssh.key.pair.use.with.this.vm': '<fmt:message key="message.please.select.ssh.key.pair.use.with.this.vm" />'
1125+
'message.please.select.ssh.key.pair.use.with.this.vm': '<fmt:message key="message.please.select.ssh.key.pair.use.with.this.vm" />',
1126+
'message.ldap.group.import': '<fmt:message key="message.ldap.group.import" />'
11261127
});
11271128
</script>

ui/scripts/ui-custom/accountsWizard.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
var $table = $wizard.find('.ldap-account-choice tbody');
115115
$("#label_ldap_group_name").live("keypress", function(event) {
116116
if ($table.find("#tr-groupname-message").length === 0) {
117-
$("<tr id='tr-groupname-message'>").appendTo($table).append("<td colspan=\"4\">All The users from the given group name will be imported</td>");
117+
$("<tr id='tr-groupname-message'>").appendTo($table).append("<td colspan=\"4\">"+_l('message.ldap.group.import')+"</td>");
118118
}
119119
$table.find("tr").hide();
120120
$table.find("#tr-groupname-message").show();
@@ -323,7 +323,7 @@
323323
}
324324

325325
return $wizard.dialog({
326-
title: ldapStatus ? _l('Add LDAP Account') : _l('label.add.account'),
326+
title: ldapStatus ? _l('label.add.LDAP.account') : _l('label.add.account'),
327327
width: ldapStatus ? 800 : 330,
328328
height: ldapStatus ? 500 : 500,
329329
closeOnEscape: false,

0 commit comments

Comments
 (0)