|
Packit Bot |
06c835 |
/* xgettext Desktop Entry backend.
|
|
Packit Bot |
06c835 |
Copyright (C) 2014-2015 Free Software Foundation, Inc.
|
|
Packit Bot |
06c835 |
Written by Daiki Ueno <ueno@gnu.org>, 2014.
|
|
Packit Bot |
06c835 |
|
|
Packit Bot |
06c835 |
This program is free software: you can redistribute it and/or modify
|
|
Packit Bot |
06c835 |
it under the terms of the GNU General Public License as published by
|
|
Packit Bot |
06c835 |
the Free Software Foundation; either version 3 of the License, or
|
|
Packit Bot |
06c835 |
(at your option) any later version.
|
|
Packit Bot |
06c835 |
|
|
Packit Bot |
06c835 |
This program is distributed in the hope that it will be useful,
|
|
Packit Bot |
06c835 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Bot |
06c835 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit Bot |
06c835 |
GNU General Public License for more details.
|
|
Packit Bot |
06c835 |
|
|
Packit Bot |
06c835 |
You should have received a copy of the GNU General Public License
|
|
Packit Bot |
06c835 |
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
|
Packit Bot |
06c835 |
|
|
Packit Bot |
06c835 |
|
|
Packit Bot |
06c835 |
#include <stdio.h>
|
|
Packit Bot |
06c835 |
|
|
Packit Bot |
06c835 |
#include "message.h"
|
|
Packit Bot |
06c835 |
#include "xgettext.h"
|
|
Packit Bot |
06c835 |
|
|
Packit Bot |
06c835 |
|
|
Packit Bot |
06c835 |
#ifdef __cplusplus
|
|
Packit Bot |
06c835 |
extern "C" {
|
|
Packit Bot |
06c835 |
#endif
|
|
Packit Bot |
06c835 |
|
|
Packit Bot |
06c835 |
|
|
Packit Bot |
06c835 |
#define EXTENSIONS_DESKTOP \
|
|
Packit Bot |
06c835 |
{ "desktop", "Desktop" }, \
|
|
Packit Bot |
06c835 |
|
|
Packit Bot |
06c835 |
#define SCANNERS_DESKTOP \
|
|
Packit Bot |
06c835 |
{ "Desktop", extract_desktop, NULL, NULL, NULL, NULL }, \
|
|
Packit Bot |
06c835 |
|
|
Packit Bot |
06c835 |
/* Scan a Desktop Entry file and add its translatable strings to mdlp. */
|
|
Packit Bot |
06c835 |
extern void extract_desktop (FILE *fp, const char *real_filename,
|
|
Packit Bot |
06c835 |
const char *logical_filename,
|
|
Packit Bot |
06c835 |
flag_context_list_table_ty *flag_table,
|
|
Packit Bot |
06c835 |
msgdomain_list_ty *mdlp);
|
|
Packit Bot |
06c835 |
|
|
Packit Bot |
06c835 |
extern void x_desktop_keyword (const char *keyword);
|
|
Packit Bot |
06c835 |
|
|
Packit Bot |
06c835 |
|
|
Packit Bot |
06c835 |
#ifdef __cplusplus
|
|
Packit Bot |
06c835 |
}
|
|
Packit Bot |
06c835 |
#endif
|