[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] [PATCHv2 0/2] Support Desktop Entry files
From: |
Daiki Ueno |
Subject: |
[bug-gettext] [PATCHv2 0/2] Support Desktop Entry files |
Date: |
Mon, 17 Mar 2014 18:38:40 +0900 |
Changes from v1:
- Add basic tests
I've also created a sample project to demonstrate this feature:
https://gitorious.org/gettext/hello-gtk3/
- Interpret character escapes and lists
- msgfmt now takes one locale at a time
Please disregard the awkward idea in the previous post.
Daiki Ueno (2):
xgettext: Add support for Desktop Entry files
msgfmt: Add support for Desktop Entry files
gettext-tools/doc/msgfmt.texi | 31 ++
gettext-tools/doc/xgettext.texi | 8 +-
gettext-tools/src/Makefile.am | 9 +-
gettext-tools/src/msgfmt.c | 82 ++++-
gettext-tools/src/read-desktop.c | 651 +++++++++++++++++++++++++++++++++
gettext-tools/src/read-desktop.h | 123 +++++++
gettext-tools/src/write-desktop.c | 219 +++++++++++
gettext-tools/src/write-desktop.h | 44 +++
gettext-tools/src/x-desktop.c | 190 ++++++++++
gettext-tools/src/x-desktop.h | 47 +++
gettext-tools/src/xgettext.c | 8 +-
gettext-tools/tests/Makefile.am | 2 +
gettext-tools/tests/msgfmt-desktop-1 | 82 +++++
gettext-tools/tests/xgettext-desktop-1 | 64 ++++
14 files changed, 1551 insertions(+), 9 deletions(-)
create mode 100644 gettext-tools/src/read-desktop.c
create mode 100644 gettext-tools/src/read-desktop.h
create mode 100644 gettext-tools/src/write-desktop.c
create mode 100644 gettext-tools/src/write-desktop.h
create mode 100644 gettext-tools/src/x-desktop.c
create mode 100644 gettext-tools/src/x-desktop.h
create mode 100755 gettext-tools/tests/msgfmt-desktop-1
create mode 100755 gettext-tools/tests/xgettext-desktop-1
--
1.8.4.2