I've found a small bug in the code re: the translation of the "Connect" text of the facebook button.
On the row 250, as part of the fbconnect_render_button the code for setting the 'text' array part is:
function fbconnect_render_button($attr = array()) {
list($size, $length) = explode('_', variable_get('fbconnect_button', NULL));
$default_attr = array(
'text' => variable_get('fbconnect_button_text', t('Connect')),
'size' => $size,
'onlogin' => 'facebook_onlogin_ready();',
'background' => 'dark',
'v' => 2,
);
It should read, instead:
function fbconnect_render_button($attr = array()) {
list($size, $length) = explode('_', variable_get('fbconnect_button', NULL));
$default_attr = array(
'text' => t(variable_get('fbconnect_button_text', 'Connect')),
'size' => $size,
'onlogin' => 'facebook_onlogin_ready();',
'background' => 'dark',
'v' => 2,
);
Hope it helps
Comments
Comment #1
YK85 commentedTranslation would help many multilingual sites. Especially as Facebook is so global =)
Comment #2
hkirsman commentedPatch for the latest version.