IF(NOT DEFINED EDJEDIR)
SET(EDJEDIR "${PREFIX}/res/edje")
ENDIF(NOT DEFINED EDJEDIR)
+IF(NOT DEFINED LOCALEDIR)
+ SET(LOCALEDIR "${RESDIR}/locale")
+ENDIF(NOT DEFINED LOCALEDIR)
IF(NOT DEFINED PACKAGEDIR)
SET(PACKAGEDIR "/usr/share/packages")
ENDIF(NOT DEFINED PACKAGEDIR)
src/common/listmgr.c
src/common/gridmgr.c
src/common/datamgr.c
- src/common/app_string.c
src/layout/layout_picture.c
src/layout/layout_sound.c
src/layout/layout_channel.c
#define SETTINGS_PACKAGE "settings"
#define SETTINGS_LOCALEDIR "/usr/apps/org.tizen.settings/res/locale"
-
-#ifndef _EDJ
-#define _EDJ(o) elm_layout_edje_get(o)
-#endif
-
#ifdef _
#undef _
#undef N_
COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
DEPENDS ${absPofile}
)
- INSTALL(FILES ${moFile} DESTINATION ${CMAKE_INSTALL_PREFIX}/res/locale/${lang}/LC_MESSAGES RENAME settings.mo)
+ INSTALL(FILES ${moFile} DESTINATION ${LOCALEDIR}/${lang}/LC_MESSAGES RENAME ${PROJECT_NAME}.mo)
SET(moFiles ${moFiles} ${moFile})
ENDFOREACH(pofile)
+++ /dev/null
-/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <Elementary.h>
-
-#include "app_string.h"
-
-char *_gettext(const char *s)
-{
- /* fisrt find in app pg */
-
- if (s == NULL) {
- return "NULL";
- }
-
- char *p = dgettext(SETTINGS_PACKAGE, s);
-
- return p;
-}
-
-