Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
locale.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2011 at 01:29 UTC
Updated:
6 Feb 2011 at 12:20 UTC
The shortcut 'Find content' in the shortcut bar under the category Content is not translated. See attached screenshot.
The string in the translation file I am using; drupal-7.0.fr.po:
msgid "Find content"
msgstr "Trouver des contenus"shortcut.install has a t() for the string:
function shortcut_install() {
$t = get_t();
// Create an initial default shortcut set.
$shortcut_set = new stdClass();
$shortcut_set->title = $t('Default');
$shortcut_set->links = array(
array(
'link_path' => 'node/add',
'link_title' => $t('Add content'),
'weight' => -20,
),
array(
'link_path' => 'admin/content',
'link_title' => $t('Find content'),
'weight' => -19,
),
);
shortcut_set_save($shortcut_set);
}
Am I missing something here?
| Comment | File | Size | Author |
|---|---|---|---|
| findContentShortcut.png | 3.45 KB | Tor Arne Thune |
Comments
Comment #1
droplet commentedif it imports .po during installation, we need some more improve. otherwise it is duplicate as #1028538: Some shortcut links not translated
Comment #2
Tor Arne Thune commentedMarking this as a duplicate of the issue you linked. Thanks.