terminology: Don't declare 'action' variable unless we have gettext

and nls

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-09-11 08:23:12 -04:00
parent 10542a205f
commit 4731d8d826
1 changed files with 2 additions and 1 deletions

View File

@ -1058,13 +1058,14 @@ keyin_remove_config(Config_Keys *key)
int key_bindings_load(Config *config)
{
Shortcut_Action *action = _actions;
Config_Keys *key;
Eina_List *l;
if (!_key_bindings)
{
#if HAVE_GETTEXT && ENABLE_NLS
Shortcut_Action *action = _actions;
while (action->action)
{
action->description = gettext(action->description);