1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
/*
* 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.
*/
#ifndef __PHONE_TEXT_H__
#define __PHONE_TEXT_H__
#include <libintl.h>
enum {
PHTEXT_DIALER,
PHTEXT_FAVORITES,
PHTEXT_VOICE_MAIL,
PHTEXT_LOGS,
PHTEXT_REQUEST_FAIL,
PHTEXT_REQUEST_SUCCESS,
PHTEXT_EMERGENCY_CALL,
PHTEXT_NO_LOGS,
PHTEXT_NO_FAVORITES,
PHTEXT_EXCEED_NUM_MAX_LENGTH,
PHTEXT_DELETING_LOGS,
PHTEXT_DELETING_FAVORITES,
PHTEXT_INITIALIZING,
};
enum {
PHTEXT_SELECT_LOGS,
PHTEXT_CHANGE_CONTACT,
};
enum {
PH_GET_TEXT_BASIC,
PH_GET_TEXT_BASE_OP,
};
const char* phone_get_text(int op, int type);
#define T_(op, type) phone_get_text(op, type)
enum {
PH_SYS_SK_OK,
PH_SYS_SK_EDIT,
PH_SYS_SK_DELETE,
PH_SYS_SK_CANCEL,
PH_SYS_BODY_CALL,
PH_SYS_BODY_MESSAGE,
PH_SYS_BODY_UNKNOWN,
PH_SYS_BODY_SELECT_ALL,
PH_SYS_BODY_CONTACTS,
PH_SYS_BODY_DETAILS,
PH_SYS_BODY_REMOVE,
PH_SYS_POP_FAIL,
PH_SYS_POP_FAILED,
PH_SYS_POP_CLOSE,
PH_SYS_POP_REMOVED,
PH_SYS_POP_DELETED,
PH_SYS_POP_INCORRECT_PASSWORD,
PH_SYS_POP_ALREDY_EXISTS,
PH_SYS_POP_SELECTED,
PH_SYS_OPT_ADD_TO_CONTACTS,
PH_SYS_BODY_TODAY,
PH_SYS_BODY_YESTERDAY,
PH_SYS_BODY_PREVIOUS,
PH_SYS_BODY_NONAME,
};
const char* phone_get_system_string(int type);
#define S_(text) phone_get_system_string(text)
#endif //__PHONE_TEXT_H__
|