/[winpt]/trunk/Include/wptNLS.h
ViewVC logotype

Annotation of /trunk/Include/wptNLS.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 329 - (hide annotations)
Fri Sep 25 16:08:14 2009 UTC (15 years, 5 months ago) by twoaday
File MIME type: text/plain
File size: 1315 byte(s)


1 werner 37 /* wptNLS.h - NLS headerfile
2 twoaday 329 * Copyright (C) 2001, 2002, 200, 2009 Timo Schulz
3 werner 37 *
4     * This file is part of WinPT.
5     *
6     * WinPT is free software; you can redistribute it and/or modify
7     * it under the terms of the GNU General Public License as published by
8     * the Free Software Foundation; either version 2 of the License, or
9     * (at your option) any later version.
10     *
11     * WinPT is distributed in the hope that it will be useful,
12     * but WITHOUT ANY WARRANTY; without even the implied warranty of
13     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14     * General Public License for more details.
15     */
16    
17     #ifndef WPT_NLS_H
18     #define WPT_NLS_H
19    
20 twoaday 192 #define _(a) gettext (a)
21     #define N_(a) (a)
22    
23     struct lang_table_s {
24     const char *id;
25     const char *name;
26     int langid;
27     };
28    
29 twoaday 176 struct gettext_tab_s {
30     int ctlid;
31     const char *trans;
32     };
33    
34 twoaday 192 extern struct lang_table_s lang_list[];
35 werner 37
36     const char *gettext (const char * msgid);
37 twoaday 279 const char *gettext_get_langid (void);
38 twoaday 329 char* get_locale_name(const char *file);
39 twoaday 176 void gettext_localize_dialog (HWND dlg, struct gettext_tab_s *tab,
40 twoaday 329 const char *title);
41     int gettext_set_file (const char * filename, const char * nls_dir);
42     int gettext_set_user_domain (void);
43     int gettext_domain_needs_refresh (void);
44     void gettext_free_current_domain (void);
45 werner 37
46     #endif /* WPT_NLS_H */

Properties

Name Value
svn:eol-style native

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26