X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=popup-wifidirect%2Finclude%2Fwfd-app-strings.h;h=87482533af8b84382bbfac32c4f9f58c66ff405e;hb=2c84dc621ee5bd4d6a67ee10cb61b2256b44a236;hp=e58a799a62f5f421c035a86f44ddaebad65387e5;hpb=d78b6a702fb987794bfb8e272e58e423ae584300;p=apps%2Fnative%2Fug-wifi-direct.git diff --git a/popup-wifidirect/include/wfd-app-strings.h b/popup-wifidirect/include/wfd-app-strings.h old mode 100644 new mode 100755 index e58a799..8748253 --- a/popup-wifidirect/include/wfd-app-strings.h +++ b/popup-wifidirect/include/wfd-app-strings.h @@ -1,67 +1,47 @@ /* - * Copyright 2012 Samsung Electronics Co., Ltd - * - * Licensed under the Flora License, Version 1.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.tizenopensource.org/license - * - * 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. - */ +* WiFi-Direct UG +* +* Copyright 2012 Samsung Electronics Co., Ltd -/* - * This file declares strings for wifi direct popup application. - * - * @file wfd-app-strings.h - * @author Sungsik Jang (sungsik.jang@samsung.com) - * @version 0.1 - */ +* Licensed under the Flora License, Version 1.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at -#ifndef __WFD_APP_STRING_H__ -#define __WFD_APP_STRING_H__ +* http://www.tizenopensource.org/license -#ifdef __cplusplus -extern "C" -{ -#endif +* 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. +* +*/ -#define WFD_STR_HEADER _("WiFi Direct") -#define WFD_STR_HEADER_CONNECTED _("WiFi Direct connected") -#define WFD_STR_HEADER_DEACTIVATING _("Deactivating WiFi Direct...") -#define WFD_STR_HEADER_CANCEL_CONNECT _("Canceling connection...") -#define WFD_STR_HEADER_DEFAULT _("Wi-Fi") -#define WFD_STR_BUTN_YES _("Yes") -#define WFD_STR_BUTN_NO _("No") -#define WFD_STR_BTN_OK _("OK") -#define WFD_STR_BTN_CLOSE _("Close") -#define WFD_STR_BTN_CANCEL _("Cancel") -#define WFD_STR_POP_APRV_CONNECT4 "Connect with %s in %d sec?" -#define WFD_STR_POP_ENTER_PIN "Enter PIN" -#define WFD_STR_POP_INVALID_PIN "PIN is not valid." +#ifndef __WFD_APP_STRING_H__ +#define __WFD_APP_STRING_H__ -#define WFD_STR_POP_PROG_CONNECT _("Connecting...") -#define WFD_STR_POP_PROG_CONNECT_WITH_PIN "Connecting...
"\ - "PIN:" +#ifdef __cplusplus +extern "C" { +#endif -#define WFD_STR_POP_PROG_CANCEL _("Canceling...") -#define WFD_STR_POP_NOTI_CONNECTED _("Connected") -#define WFD_STR_POP_NOTI_DISCONNECTED _("Disconnected") -#define WFD_STR_POP_FAIL_CONNECT "An error has occurred during
"\ - "connecting" -#define WFD_STR_POP_FAIL_TIMEOUT "Connection timeout" +#if 1 +/* Text should be translated. */ +#define IDS_WFD_POP_CONNECTED "Connected to %s" +#define IDS_WFD_POP_CONNECT_FAILED "Connect to %s failed" +#define IDS_WFD_POP_DISCONNECTED "Disconnected to %s" -#define WFD_STR_TITLE_MAIN _("WiFi Direct") +#define IDS_WFD_POP_CONNECT_Q "Connect with %s?" +#define IDS_WFD_POP_CONNECTING_WITH_KEYPAD "Connect with %s in %d secs. Enter PIN to connect to %s" +#define IDS_WFD_POP_ENTER_PIN "Connect with %s in %d secs" +#define IDS_WFD_POP_ENTER_PIN_WITH_KEYPAD "%s is requesting a Wi-Fi Direct connection. Allow?" +#define IDS_WFD_POP_CONNECTING_WITH_PIN "Connect with %s in %d secs. PIN: %s" +#endif #ifdef __cplusplus } #endif -#endif /* __WFD_APP_STRING_H__ */ +#endif /* __WFD_APP_STRING_H__ */