summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrasoon Singh <prasoon.16@samsung.com>2016-12-21 12:05:23 +0530
committerPrasoon Singh <prasoon.16@samsung.com>2016-12-21 12:05:23 +0530
commitef42c716ecd376ff2f7067b590d283dd155dee78 (patch)
treeedc68b39901d5055e726483c8dd4fe4d857f7241
parent35e70b05c28bcf400d39b26d582922f9495f1b09 (diff)
downloadaccessibility-setting-ef42c716ecd376ff2f7067b590d283dd155dee78.tar.gz
accessibility-setting-ef42c716ecd376ff2f7067b590d283dd155dee78.tar.bz2
accessibility-setting-ef42c716ecd376ff2f7067b590d283dd155dee78.zip
Change-Id: Id0165ec6ef8c36fd1674239c2d9b4740d86d8c0a
-rw-r--r--include/setting-accessibility.h2
-rw-r--r--src/setting-accessibility-menu.c4
-rw-r--r--src/setting-accessibility-vision.c4
-rw-r--r--src/setting-accessibility.c2
4 files changed, 5 insertions, 7 deletions
diff --git a/include/setting-accessibility.h b/include/setting-accessibility.h
index a1ab39f..b5881e6 100644
--- a/include/setting-accessibility.h
+++ b/include/setting-accessibility.h
@@ -28,7 +28,7 @@
#define VCONFKEY_SETAPPL_ACCESSIBILITY_TTS "db/setting/accessibility/tts"
#define SETTING_ACCESSIBILITY_PACKAGE_NAME "accessibility-setting"
#define EDJE_PATH TZ_SYS_RO_APP_D"/org.tizen.accessibility-setting/res/edje/accessibility-setting.edj"
-#define _(s) dgettext(SETTING_ACCESSIBILITY_PACKAGE_NAME, s)
+#define access_gettext(s) dgettext(SETTING_ACCESSIBILITY_PACKAGE_NAME, s)
typedef enum {
SETTING_ACCESSIBILITY_MENU_TITLE,
diff --git a/src/setting-accessibility-menu.c b/src/setting-accessibility-menu.c
index 502f9e5..21956d1 100644
--- a/src/setting-accessibility-menu.c
+++ b/src/setting-accessibility-menu.c
@@ -44,12 +44,12 @@ __setting_accessibility_menu_itc_text_get_cb(void *data, Evas_Object *obj, const
switch (pItemData->menu) {
//Title
case SETTING_ACCESSIBILITY_MENU_TITLE:
- snprintf(szText, sizeof(szText), "%s", _("IDS_ST_BODY_ACCESSIBILITY"));
+ snprintf(szText, sizeof(szText), "%s", access_gettext("IDS_ST_BODY_ACCESSIBILITY"));
break;
//Vision
case SETTING_ACCESSIBILITY_MENU_VISION:
- snprintf(szText, sizeof(szText), "%s", _("IDS_ST_HEADER_VISION"));
+ snprintf(szText, sizeof(szText), "%s", access_gettext("IDS_ST_HEADER_VISION"));
break;
default:
diff --git a/src/setting-accessibility-vision.c b/src/setting-accessibility-vision.c
index 1fa3d66..66e6a59 100644
--- a/src/setting-accessibility-vision.c
+++ b/src/setting-accessibility-vision.c
@@ -34,12 +34,12 @@ __setting_accessibility_vision_itc_text_get_cb(void *data, Evas_Object *obj, con
switch (pItemData->menu) {
// Title
case SETTING_ACCESSIBILITY_VISION_TITLE:
- snprintf(szText, sizeof(szText), "%s", _("IDS_ST_HEADER_VISION"));
+ snprintf(szText, sizeof(szText), "%s", access_gettext("IDS_ST_HEADER_VISION"));
break;
// Screen reader
case SETTING_ACCESSIBILITY_VISION_SCREEN_READER:
- snprintf(szText, sizeof(szText), "%s", _("IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME"));
+ snprintf(szText, sizeof(szText), "%s", access_gettext("IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME"));
break;
default:
diff --git a/src/setting-accessibility.c b/src/setting-accessibility.c
index bcd1ef0..d087708 100644
--- a/src/setting-accessibility.c
+++ b/src/setting-accessibility.c
@@ -153,7 +153,6 @@ app_control(app_control_h app_control, void *data)
static void
app_pause(void *data)
{
- SettingAccessibilityAppData *ad = (SettingAccessibilityAppData *)data;
DBG("");
/* Take necessary actions when application becomes invisible. */
}
@@ -161,7 +160,6 @@ app_pause(void *data)
static void
app_resume(void *data)
{
- SettingAccessibilityAppData *ad = (SettingAccessibilityAppData *)data;
DBG("");
/* Take necessary actions when application becomes visible. */
}