Skip to content

Commit

Permalink
Fix contacts popup translation
Browse files Browse the repository at this point in the history
Signed-off-by: Michael M Slusarz <slusarz@horde.org>
  • Loading branch information
joaomachado authored and slusarz committed Jan 8, 2015
1 parent 8270ee8 commit 0ddab31
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imp/js/contacts.js
Expand Up @@ -33,12 +33,12 @@ var ImpContacts = {
new Element('OPTION', { value: s })
.store('header', f)
.insert(
new Element('EM').insert(f + ': ')
new Element('EM').insert(this.text.rcpt[f] + ': ')
)
.insert(s.escapeHTML())
);
}
});
}, this);

$('selected_addresses').appendChild(df);
},
Expand Down
5 changes: 5 additions & 0 deletions imp/lib/Basic/Contacts.php
Expand Up @@ -93,6 +93,11 @@ protected function _init()
$page_output->addInlineJsVars(array_filter(array(
'ImpContacts.initial' => $initial,
'ImpContacts.text' => array(
'rcpt' => array(
'to' => _("To"),
'cc' => _("Cc"),
'bcc' => _("Bcc")
),
'closed' => _("The message being composed has been closed."),
'load_all' => _("Load All Contacts"),
'search' => _("Search"),
Expand Down

0 comments on commit 0ddab31

Please sign in to comment.